{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/animgen-com/json-schema/animgen-com-admin-notification-input-schema.json",
  "title": "AdminNotificationInput",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/animgen-com-admin-api-openapi.yml#/components/schemas/AdminNotificationInput",
  "properties": {
    "content": {
      "additionalProperties": {
        "$ref": "#/$defs/MessageText"
      },
      "propertyNames": {
        "enum": [
          "en",
          "zh",
          "ja",
          "ko",
          "zh-Hant",
          "de"
        ]
      },
      "type": "object",
      "maxProperties": 6,
      "minProperties": 1,
      "title": "Content"
    },
    "defaultLocale": {
      "type": "string",
      "enum": [
        "en",
        "zh",
        "ja",
        "ko",
        "zh-Hant",
        "de"
      ],
      "title": "Defaultlocale"
    },
    "actionKey": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "account",
            "credits",
            "subscription"
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Actionkey"
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "content",
    "defaultLocale"
  ],
  "$defs": {
    "MessageText": {
      "properties": {
        "title": {
          "type": "string",
          "maxLength": 120,
          "minLength": 1,
          "title": "Title"
        },
        "body": {
          "type": "string",
          "maxLength": 4000,
          "minLength": 1,
          "title": "Body"
        },
        "actionLabel": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 40,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ],
          "title": "Actionlabel"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "title",
        "body"
      ],
      "title": "MessageText"
    }
  }
}