{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "bindingId": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    },
    "changes": {
      "type": "object",
      "properties": {"ontologyPackageId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"ontologyPackageVersion":{"type":"integer","minimum":1,"maximum":9007199254740991},"termRef":{"type":"string","minLength":1,"maxLength":500},"termIri":{"anyOf":[{"type":"string","minLength":1,"maxLength":1000},{"type":"null"}]},"termKind":{"type":"string","enum":["class","property","relationship","identity","*"]},"kind":{"default":"materialized","type":"string","enum":["materialized","virtual","asserted","inferred"]},"dataEndpointId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"status":{"default":"draft","type":"string","enum":["draft","active","archived"]},"version":{"default":1,"type":"integer","minimum":1,"maximum":9007199254740991},"priority":{"default":100,"type":"integer","minimum":0,"maximum":9007199254740991},"isDefault":{"default":false,"type":"boolean"},"cardinality":{"default":"unknown","type":"string","enum":["one","optional_one","many","unknown"]},"ownerTeam":{"anyOf":[{"type":"string","minLength":1,"maxLength":100},{"type":"null"}]},"description":{"default":"","type":"string","maxLength":1000},"accessPolicy":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"resolution":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}}
    },
    "idempotencyKey": {
      "type": "string",
      "minLength": 8,
      "maxLength": 200
    },
    "projectId": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    }
  },
  "required": [
    "bindingId",
    "changes",
    "idempotencyKey",
    "projectId"
  ],
  "additionalProperties": false
}
