{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://gxplex.com/api/v1/schema/conformance-fixtures.json",
  "title": "Consumer suite for GXP-OBS v2: fixtures",
  "description": "The document served at /api/v1/conformance/gxp-obs-v2-fixtures.json: records that validate against GXP-OBS v2 and are misread by a consumer that reads the shape and not the statements, each with its question and the readings offered. No expected reading is carried here.",
  "type": "object",
  "properties": {
    "schema_version": {
      "type": "integer",
      "description": "Always 1 under this contract. It increments only when a field is removed or re-typed, which the published contract forbids. Fields have been re-typed with this value unchanged; https://gxplex.com/how/schemas/#history lists each with its commit and its correction."
    },
    "name": {
      "type": "string",
      "description": "The suite document's name, as its address spells it."
    },
    "suite_version": {
      "type": "integer",
      "description": "The suite's own version, independent of the API's `schema_version`."
    },
    "spec": {
      "type": "object",
      "description": "The spec the suite reads: `name`, `version`, `address`, and `sha256` of the bytes served at that address, with `sha256_of` saying so."
    },
    "is": {
      "type": "string",
      "description": "What the document is."
    },
    "readings_at": {
      "type": "string",
      "description": "Where the expected readings are served."
    },
    "hand_written": {
      "type": "string",
      "description": "How the records were made."
    },
    "badge": {
      "type": "object",
      "description": "The badge text, how it is earned, who keeps it, and what it states."
    },
    "fixtures": {
      "type": "array",
      "items": {
        "type": "object"
      },
      "description": "Each with `id`, `trap`, `family`, `records`, `question` and `readings`."
    }
  },
  "required": [
    "schema_version",
    "name",
    "suite_version",
    "spec",
    "is",
    "readings_at",
    "badge",
    "fixtures"
  ],
  "additionalProperties": true
}
