{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rork/json-schema/rork-accessibility-declaration-create-request-schema.json",
  "title": "AccessibilityDeclarationCreateRequest",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rork-accessibilitydeclarations-api-openapi.yml#/components/schemas/AccessibilityDeclarationCreateRequest",
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "accessibilityDeclarations"
          ]
        },
        "attributes": {
          "type": "object",
          "properties": {
            "deviceFamily": {
              "$ref": "#/$defs/DeviceFamily"
            },
            "supportsAudioDescriptions": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "supportsCaptions": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "supportsDarkInterface": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "supportsDifferentiateWithoutColorAlone": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "supportsLargerText": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "supportsReducedMotion": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "supportsSufficientContrast": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "supportsVoiceControl": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "supportsVoiceover": {
              "type": [
                "boolean",
                "null"
              ]
            }
          },
          "required": [
            "deviceFamily"
          ]
        },
        "relationships": {
          "type": "object",
          "properties": {
            "app": {
              "type": "object",
              "properties": {
                "data": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "enum": [
                        "apps"
                      ]
                    },
                    "id": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "id",
                    "type"
                  ]
                }
              },
              "required": [
                "data"
              ]
            }
          },
          "required": [
            "app"
          ]
        }
      },
      "required": [
        "relationships",
        "attributes",
        "type"
      ]
    }
  },
  "required": [
    "data"
  ],
  "$defs": {
    "DeviceFamily": {
      "type": "string",
      "enum": [
        "IPHONE",
        "IPAD",
        "APPLE_TV",
        "APPLE_WATCH",
        "MAC",
        "VISION"
      ]
    }
  }
}