{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rork/json-schema/rork-age-rating-declaration-update-request-schema.json",
  "title": "AgeRatingDeclarationUpdateRequest",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rork-ageratingdeclarations-api-openapi.yml#/components/schemas/AgeRatingDeclarationUpdateRequest",
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "ageRatingDeclarations"
          ]
        },
        "id": {
          "type": "string"
        },
        "attributes": {
          "type": "object",
          "properties": {
            "advertising": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "alcoholTobaccoOrDrugUseOrReferences": {
              "type": [
                "string",
                "null"
              ],
              "enum": [
                "NONE",
                "INFREQUENT_OR_MILD",
                "FREQUENT_OR_INTENSE",
                "INFREQUENT",
                "FREQUENT",
                null
              ]
            },
            "contests": {
              "type": [
                "string",
                "null"
              ],
              "enum": [
                "NONE",
                "INFREQUENT_OR_MILD",
                "FREQUENT_OR_INTENSE",
                "INFREQUENT",
                "FREQUENT",
                null
              ]
            },
            "gambling": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "gamblingSimulated": {
              "type": [
                "string",
                "null"
              ],
              "enum": [
                "NONE",
                "INFREQUENT_OR_MILD",
                "FREQUENT_OR_INTENSE",
                "INFREQUENT",
                "FREQUENT",
                null
              ]
            },
            "gunsOrOtherWeapons": {
              "type": [
                "string",
                "null"
              ],
              "enum": [
                "NONE",
                "INFREQUENT_OR_MILD",
                "FREQUENT_OR_INTENSE",
                "INFREQUENT",
                "FREQUENT",
                null
              ]
            },
            "healthOrWellnessTopics": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "kidsAgeBand": {
              "$ref": "#/$defs/KidsAgeBand"
            },
            "lootBox": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "medicalOrTreatmentInformation": {
              "type": [
                "string",
                "null"
              ],
              "enum": [
                "NONE",
                "INFREQUENT_OR_MILD",
                "FREQUENT_OR_INTENSE",
                "INFREQUENT",
                "FREQUENT",
                null
              ]
            },
            "messagingAndChat": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "parentalControls": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "profanityOrCrudeHumor": {
              "type": [
                "string",
                "null"
              ],
              "enum": [
                "NONE",
                "INFREQUENT_OR_MILD",
                "FREQUENT_OR_INTENSE",
                "INFREQUENT",
                "FREQUENT",
                null
              ]
            },
            "ageAssurance": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "sexualContentGraphicAndNudity": {
              "type": [
                "string",
                "null"
              ],
              "enum": [
                "NONE",
                "INFREQUENT_OR_MILD",
                "FREQUENT_OR_INTENSE",
                "INFREQUENT",
                "FREQUENT",
                null
              ]
            },
            "sexualContentOrNudity": {
              "type": [
                "string",
                "null"
              ],
              "enum": [
                "NONE",
                "INFREQUENT_OR_MILD",
                "FREQUENT_OR_INTENSE",
                "INFREQUENT",
                "FREQUENT",
                null
              ]
            },
            "socialMedia": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "socialMediaAgeRestricted": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "horrorOrFearThemes": {
              "type": [
                "string",
                "null"
              ],
              "enum": [
                "NONE",
                "INFREQUENT_OR_MILD",
                "FREQUENT_OR_INTENSE",
                "INFREQUENT",
                "FREQUENT",
                null
              ]
            },
            "matureOrSuggestiveThemes": {
              "type": [
                "string",
                "null"
              ],
              "enum": [
                "NONE",
                "INFREQUENT_OR_MILD",
                "FREQUENT_OR_INTENSE",
                "INFREQUENT",
                "FREQUENT",
                null
              ]
            },
            "unrestrictedWebAccess": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "userGeneratedContent": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "violenceCartoonOrFantasy": {
              "type": [
                "string",
                "null"
              ],
              "enum": [
                "NONE",
                "INFREQUENT_OR_MILD",
                "FREQUENT_OR_INTENSE",
                "INFREQUENT",
                "FREQUENT",
                null
              ]
            },
            "violenceRealisticProlongedGraphicOrSadistic": {
              "type": [
                "string",
                "null"
              ],
              "enum": [
                "NONE",
                "INFREQUENT_OR_MILD",
                "FREQUENT_OR_INTENSE",
                "INFREQUENT",
                "FREQUENT",
                null
              ]
            },
            "violenceRealistic": {
              "type": [
                "string",
                "null"
              ],
              "enum": [
                "NONE",
                "INFREQUENT_OR_MILD",
                "FREQUENT_OR_INTENSE",
                "INFREQUENT",
                "FREQUENT",
                null
              ]
            },
            "ageRatingOverride": {
              "type": [
                "string",
                "null"
              ],
              "deprecated": true,
              "enum": [
                "NONE",
                "NINE_PLUS",
                "THIRTEEN_PLUS",
                "SIXTEEN_PLUS",
                "SEVENTEEN_PLUS",
                "UNRATED",
                null
              ]
            },
            "ageRatingOverrideV2": {
              "type": [
                "string",
                "null"
              ],
              "enum": [
                "NONE",
                "NINE_PLUS",
                "THIRTEEN_PLUS",
                "SIXTEEN_PLUS",
                "EIGHTEEN_PLUS",
                "UNRATED",
                null
              ]
            },
            "koreaAgeRatingOverride": {
              "type": [
                "string",
                "null"
              ],
              "enum": [
                "NONE",
                "ALL",
                "TWELVE_PLUS",
                "FIFTEEN_PLUS",
                "NINETEEN_PLUS",
                null
              ]
            },
            "gracRatingClassificationNumber": {
              "type": [
                "string",
                "null"
              ]
            },
            "developerAgeRatingInfoUrl": {
              "type": [
                "string",
                "null"
              ],
              "format": "uri"
            }
          }
        }
      },
      "required": [
        "id",
        "type"
      ]
    }
  },
  "required": [
    "data"
  ],
  "$defs": {
    "KidsAgeBand": {
      "type": "string",
      "enum": [
        "FIVE_AND_UNDER",
        "SIX_TO_EIGHT",
        "NINE_TO_ELEVEN"
      ]
    }
  }
}