{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rork/json-schema/rork-accessibility-declaration-response-schema.json",
  "title": "AccessibilityDeclarationResponse",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rork-accessibilitydeclarations-api-openapi.yml#/components/schemas/AccessibilityDeclarationResponse",
  "type": "object",
  "properties": {
    "data": {
      "$ref": "#/$defs/AccessibilityDeclaration"
    },
    "links": {
      "$ref": "#/$defs/DocumentLinks"
    }
  },
  "required": [
    "data",
    "links"
  ],
  "$defs": {
    "AccessibilityDeclaration": {
      "type": "object",
      "title": "AccessibilityDeclaration",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "accessibilityDeclarations"
          ]
        },
        "id": {
          "type": "string"
        },
        "attributes": {
          "type": "object",
          "properties": {
            "deviceFamily": {
              "$ref": "#/$defs/DeviceFamily"
            },
            "state": {
              "type": "string",
              "enum": [
                "DRAFT",
                "PUBLISHED",
                "REPLACED"
              ]
            },
            "supportsAudioDescriptions": {
              "type": "boolean"
            },
            "supportsCaptions": {
              "type": "boolean"
            },
            "supportsDarkInterface": {
              "type": "boolean"
            },
            "supportsDifferentiateWithoutColorAlone": {
              "type": "boolean"
            },
            "supportsLargerText": {
              "type": "boolean"
            },
            "supportsReducedMotion": {
              "type": "boolean"
            },
            "supportsSufficientContrast": {
              "type": "boolean"
            },
            "supportsVoiceControl": {
              "type": "boolean"
            },
            "supportsVoiceover": {
              "type": "boolean"
            }
          }
        },
        "links": {
          "$ref": "#/$defs/ResourceLinks"
        }
      },
      "required": [
        "id",
        "type"
      ]
    },
    "DeviceFamily": {
      "type": "string",
      "enum": [
        "IPHONE",
        "IPAD",
        "APPLE_TV",
        "APPLE_WATCH",
        "MAC",
        "VISION"
      ]
    },
    "DocumentLinks": {
      "type": "object",
      "properties": {
        "self": {
          "type": "string",
          "format": "uri-reference"
        }
      },
      "required": [
        "self"
      ]
    },
    "ResourceLinks": {
      "type": "object",
      "properties": {
        "self": {
          "type": "string",
          "format": "uri-reference"
        }
      }
    }
  }
}