{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.webgamegame.win/api/organization/v1/schema.json",
  "title": "Night Ash Organization Record",
  "type": "object",
  "required": [
    "schema_version",
    "type",
    "id",
    "name",
    "available_languages",
    "identity",
    "command",
    "directorates",
    "command_cycle",
    "product_states",
    "publication_system",
    "retrieval",
    "integrity"
  ],
  "properties": {
    "schema_version": {
      "const": "1.0"
    },
    "type": {
      "const": "NightAshOrganization"
    },
    "id": {
      "const": "night-ash"
    },
    "name": {
      "const": "Night Ash"
    },
    "available_languages": {
      "type": "array",
      "minItems": 4,
      "uniqueItems": true,
      "items": {
        "enum": [
          "en",
          "tr",
          "ar",
          "fa"
        ]
      }
    },
    "identity": {
      "type": "object"
    },
    "command": {
      "type": "object"
    },
    "directorates": {
      "type": "array",
      "minItems": 6
    },
    "command_cycle": {
      "type": "array",
      "minItems": 6
    },
    "product_states": {
      "type": "array",
      "minItems": 4
    },
    "publication_system": {
      "type": "object"
    },
    "retrieval": {
      "type": "object"
    },
    "integrity": {
      "type": "object"
    }
  }
}
