{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "kosik": {
      "type": "object",
      "properties": {
        "domeny": {
          "maxItems": 20,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "nazev": {
                "type": "string",
                "minLength": 1,
                "maxLength": 260
              },
              "rezim": {
                "type": "string",
                "enum": [
                  "registrace",
                  "prevod"
                ]
              }
            },
            "required": [
              "nazev",
              "rezim"
            ],
            "additionalProperties": false
          }
        },
        "hostingy": {
          "maxItems": 5,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "tarif": {
                "type": "string",
                "maxLength": 20
              },
              "domena": {
                "type": "string",
                "minLength": 1,
                "maxLength": 260
              },
              "statistiky": {
                "type": "boolean"
              },
              "posta": {
                "type": "object",
                "properties": {
                  "schranek": {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  "jmena": {
                    "maxItems": 100,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 100
                    }
                  }
                },
                "required": [
                  "schranek"
                ],
                "additionalProperties": false
              },
              "aliasy": {
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 260
                }
              }
            },
            "required": [
              "tarif",
              "domena"
            ],
            "additionalProperties": false
          }
        },
        "nino": {
          "type": "object",
          "properties": {
            "podoba": {
              "type": "string",
              "maxLength": 40
            },
            "uzivatelu": {
              "type": "integer",
              "minimum": -9007199254740991,
              "maximum": 9007199254740991
            },
            "dalsichSchranek": {
              "type": "integer",
              "minimum": -9007199254740991,
              "maximum": 9007199254740991
            },
            "sprava": {
              "type": "object",
              "properties": {
                "domena": {
                  "anyOf": [
                    {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 260
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "jmeno": {
                  "type": "string",
                  "maxLength": 64
                }
              },
              "required": [
                "jmeno"
              ],
              "additionalProperties": false
            },
            "domena": {
              "anyOf": [
                {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 260
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "required": [
            "podoba",
            "uzivatelu"
          ],
          "additionalProperties": false
        },
        "kod": {
          "type": "string",
          "maxLength": 40
        },
        "tarif": {
          "type": "string",
          "maxLength": 20
        },
        "statistiky": {
          "type": "boolean"
        },
        "domena": {
          "type": "object",
          "properties": {
            "nazev": {
              "type": "string",
              "minLength": 1,
              "maxLength": 260
            },
            "rezim": {
              "type": "string",
              "enum": [
                "registrace",
                "prevod",
                "vlastni"
              ]
            }
          },
          "required": [
            "nazev",
            "rezim"
          ],
          "additionalProperties": false
        },
        "posta": {
          "type": "object",
          "properties": {
            "schranek": {
              "type": "integer",
              "minimum": -9007199254740991,
              "maximum": 9007199254740991
            },
            "jmena": {
              "maxItems": 100,
              "type": "array",
              "items": {
                "type": "string",
                "maxLength": 100
              }
            }
          },
          "required": [
            "schranek"
          ],
          "additionalProperties": false
        }
      },
      "additionalProperties": false
    },
    "zeme": {
      "type": "string",
      "maxLength": 10
    },
    "zkouska": {
      "type": "boolean",
      "const": true
    }
  },
  "required": [
    "kosik"
  ],
  "additionalProperties": false
}
