{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "binding": {
      "type": "object",
      "properties": {
        "workspaceId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200
        },
        "projectId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200
        },
        "watchId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200
        },
        "occurrenceId": {
          "type": "string",
          "pattern": "^sha256:[a-f0-9]{64}$"
        },
        "captureId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200
        }
      },
      "required": [
        "workspaceId",
        "projectId",
        "watchId",
        "occurrenceId",
        "captureId"
      ],
      "additionalProperties": {}
    },
    "revision": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991,
      "description": "Optimistic concurrency revision; supply it as expectedRevision on the next write."
    },
    "asOfRevision": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "items": {
      "maxItems": 21,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "definition": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 200,
                "description": "Resource identifier returned by the operation."
              },
              "family": {
                "type": "string",
                "enum": [
                  "organizational",
                  "subtype",
                  "semantic"
                ]
              },
              "name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64
              },
              "color": {
                "anyOf": [
                  {
                    "type": "string",
                    "pattern": "^#[a-fA-F0-9]{6}$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "order": {
                "type": "integer",
                "minimum": 0,
                "maximum": 1000
              },
              "retired": {
                "type": "boolean"
              },
              "parentId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 200
              },
              "taxonomyVersion": {
                "type": "string",
                "minLength": 1,
                "maxLength": 200
              },
              "definition": {
                "type": "string",
                "minLength": 1,
                "maxLength": 1000
              },
              "inclusions": {
                "minItems": 1,
                "maxItems": 8,
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 500
                }
              },
              "exclusions": {
                "minItems": 1,
                "maxItems": 8,
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 500
                }
              },
              "positiveExamples": {
                "minItems": 1,
                "maxItems": 8,
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 500
                }
              },
              "negativeExamples": {
                "minItems": 1,
                "maxItems": 8,
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 500
                }
              },
              "insufficientEvidence": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500
              }
            },
            "required": [
              "id",
              "family",
              "name"
            ],
            "additionalProperties": {}
          },
          "semanticRevision": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "actorId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          },
          "recordedAt": {
            "type": "string",
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
          },
          "retired": {
            "type": "boolean"
          },
          "applicable": {
            "type": "boolean"
          },
          "state": {
            "type": "string",
            "enum": [
              "accepted_manual",
              "customer_metadata"
            ],
            "description": "Saved lifecycle or evidence state, as enumerated for this record."
          }
        },
        "required": [
          "definition",
          "semanticRevision",
          "actorId",
          "recordedAt",
          "retired",
          "applicable",
          "state"
        ],
        "additionalProperties": {},
        "description": "Records in this bounded page."
      },
      "description": "Records in this bounded page."
    },
    "inferenceEffect": {
      "type": "string",
      "const": "none"
    }
  },
  "required": [
    "binding",
    "revision",
    "asOfRevision",
    "items",
    "inferenceEffect"
  ],
  "additionalProperties": {}
}
