Commit b323aa38 authored by James Teow's avatar James Teow
Browse files

Bug 1878818 - Change search-telemetry schema to use the same sub-schema syntax...

Bug 1878818 - Change search-telemetry schema to use the same sub-schema syntax as search-config - r=Standard8, a=dsmith

I think the main issue was the use of ids, but also just to keep things a consistent
between the two in case a team member has to learn how to modify both, it might be
better to use the same syntax.

Differential Revision: https://phabricator.services.mozilla.com/D200754
parent f93dff15
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -270,22 +270,21 @@
          "type": "array",
          "description": "An array of methods for extracting domains from ads.",
          "items": {
            "$ref": "/schemas/extraction"
            "$ref": "#/definitions/extraction"
          }
        },
        "nonAds": {
          "type": "array",
          "description": "An array of methods for extracting domains from non-ads.",
          "items": {
            "$ref": "/schemas/extraction"
            "$ref": "#/definitions/extraction"
          }
        }
      }
    }
  },
  "$defs": {
  "definitions": {
    "extraction": {
      "$id": "/schemas/extraction",
      "anyOf": [
        {
          "type": "object",