{
  "id": "http://json-schema.org/draft-04/schema#",
  "$schema": "http://json-schema.org/draft-04/schema#",
  "title": "rpss",
  "type": "object",
  "description": "Poskytovaná sociální služba",
  "x-docUrl": "https://data.mpsv.cz/web/data/rpss",
  "properties": {
    "polozky": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "portalId": {
            "type": "integer",
            "description": "Jednoznačný identifikátor poskytované sociální služby na portálu JPŘ PSV"
          },
          "id": {
            "type": "string",
            "maxLength": 129
          },
          "identifikator": {
            "type": "string",
            "maxLength": 30,
            "description": "Identifikátor sociální služby. Jedná se o číselný identifikátor zobrazovaný ve veřejném vyhledávání v RPSS."
          },
          "datumPoskytovaniOd": {
            "type": "string",
            "format": "date",
            "description": "Služba je poskytovaná od určitého data"
          },
          "datumPoskytovaniDo": {
            "type": [
              "null",
              "string"
            ],
            "format": "date",
            "description": "Služba je poskytovaná do určitého data"
          },
          "kontaktniAdresy": {
            "type": [
              "array",
              "null"
            ],
            "description": "Kontaktní adresy sociální služby",
            "items": {
              "type": "object",
              "properties": {
                "adresaText": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Kontaktní adresa sociální služby uvedená volným textem",
                  "maxLength": 550
                },
                "adresa": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "cisloDomovni": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "cisloOrientacni": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "maxLength": 41
                    },
                    "dodatekAdresy": {
                      "type": [
                        "null",
                        "string"
                      ],
                      "maxLength": 250,
                      "description": "Adresa - dodatek adresy"
                    },
                    "kodAdresnihoMista": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "psc": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "maxLength": 5
                    },
                    "typCislaDomovniho": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "description": "Adresa - typ domovního čísla, typ stavebního objektu",
                      "x-looseRef": "/od/soubory/ciselniky/typy-stavebniho-objektu.schema.json",
                      "properties": {
                        "id": {
                          "type": "string",
                          "maxLength": 129
                        }
                      },
                      "required": [
                        "id"
                      ]
                    },
                    "kraj": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "x-looseRef": "/od/soubory/ciselniky/kraje.schema.json",
                      "properties": {
                        "id": {
                          "type": "string",
                          "maxLength": 129
                        }
                      },
                      "required": [
                        "id"
                      ]
                    },
                    "okres": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "x-looseRef": "/od/soubory/ciselniky/okresy.schema.json",
                      "properties": {
                        "id": {
                          "type": "string",
                          "maxLength": 129
                        }
                      },
                      "required": [
                        "id"
                      ]
                    },
                    "obec": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "x-looseRef": "/od/soubory/ciselniky/obce.schema.json",
                      "properties": {
                        "id": {
                          "type": "string",
                          "maxLength": 129
                        }
                      },
                      "required": [
                        "id"
                      ]
                    },
                    "mestskyObvodMestskaCast": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "x-looseRef": "/od/soubory/ciselniky/mestske-obvody-mestske-casti.schema.json",
                      "properties": {
                        "id": {
                          "type": "string",
                          "maxLength": 129
                        }
                      },
                      "required": [
                        "id"
                      ]
                    },
                    "mestskyObvodVPraze": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "x-looseRef": "/od/soubory/ciselniky/mestske-obvody-v-praze.schema.json",
                      "properties": {
                        "id": {
                          "type": "string",
                          "maxLength": 129
                        }
                      },
                      "required": [
                        "id"
                      ]
                    },
                    "castObce": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "x-looseRef": "/od/soubory/ciselniky/casti-obci.schema.json",
                      "properties": {
                        "id": {
                          "type": "string",
                          "maxLength": 129
                        }
                      },
                      "required": [
                        "id"
                      ]
                    },
                    "nazevCastiObce": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "maxLength": 1024
                    },
                    "ulice": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "nazev": {
                          "type": "string",
                          "maxLength": 48
                        }
                      },
                      "required": [
                        "nazev"
                      ]
                    }
                  }
                }
              }
            }
          },
          "druhSocialniSluzby": {
            "type": "object",
            "x-looseRef": "/od/soubory/ciselniky/druhy-socialni-sluzby.schema.json",
            "properties": {
              "id": {
                "type": "string",
                "maxLength": 129
              }
            },
            "required": [
              "id"
            ]
          },
          "zarizeni": {
            "type": "array",
            "description": "Zařízení sociální služby",
            "items": {
              "type": "object",
              "properties": {
                "adresaText": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Adresa zařízení uvedená volným textem",
                  "maxLength": 550
                },
                "adresa": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "cisloDomovni": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "cisloOrientacni": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "maxLength": 41
                    },
                    "dodatekAdresy": {
                      "type": [
                        "null",
                        "string"
                      ],
                      "maxLength": 250,
                      "description": "Adresa - dodatek adresy"
                    },
                    "kodAdresnihoMista": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "psc": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "maxLength": 5
                    },
                    "typCislaDomovniho": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "description": "Adresa - typ domovního čísla, typ stavebního objektu",
                      "x-looseRef": "/od/soubory/ciselniky/typy-stavebniho-objektu.schema.json",
                      "properties": {
                        "id": {
                          "type": "string",
                          "maxLength": 129
                        }
                      },
                      "required": [
                        "id"
                      ]
                    },
                    "kraj": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "x-looseRef": "/od/soubory/ciselniky/kraje.schema.json",
                      "properties": {
                        "id": {
                          "type": "string",
                          "maxLength": 129
                        }
                      },
                      "required": [
                        "id"
                      ]
                    },
                    "okres": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "x-looseRef": "/od/soubory/ciselniky/okresy.schema.json",
                      "properties": {
                        "id": {
                          "type": "string",
                          "maxLength": 129
                        }
                      },
                      "required": [
                        "id"
                      ]
                    },
                    "obec": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "x-looseRef": "/od/soubory/ciselniky/obce.schema.json",
                      "properties": {
                        "id": {
                          "type": "string",
                          "maxLength": 129
                        }
                      },
                      "required": [
                        "id"
                      ]
                    },
                    "mestskyObvodMestskaCast": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "x-looseRef": "/od/soubory/ciselniky/mestske-obvody-mestske-casti.schema.json",
                      "properties": {
                        "id": {
                          "type": "string",
                          "maxLength": 129
                        }
                      },
                      "required": [
                        "id"
                      ]
                    },
                    "mestskyObvodVPraze": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "x-looseRef": "/od/soubory/ciselniky/mestske-obvody-v-praze.schema.json",
                      "properties": {
                        "id": {
                          "type": "string",
                          "maxLength": 129
                        }
                      },
                      "required": [
                        "id"
                      ]
                    },
                    "castObce": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "x-looseRef": "/od/soubory/ciselniky/casti-obci.schema.json",
                      "properties": {
                        "id": {
                          "type": "string",
                          "maxLength": 129
                        }
                      },
                      "required": [
                        "id"
                      ]
                    },
                    "nazevCastiObce": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "maxLength": 1024
                    },
                    "ulice": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "nazev": {
                          "type": "string",
                          "maxLength": 48
                        }
                      },
                      "required": [
                        "nazev"
                      ]
                    }
                  }
                },
                "utajenaAdresa": {
                  "type": "boolean"
                },
                "nazev": {
                  "type": "string",
                  "maxLength": 160
                },
                "poskytujeOd": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date",
                  "description": "Datum, od kdy se v zařízení daná služba poskytuje"
                },
                "poskytujeDo": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date",
                  "description": "Datum, do kdy se v zařízení daná služba poskytuje"
                },
                "vedouci": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "titulPred": {
                      "type": [
                        "null",
                        "string"
                      ],
                      "maxLength": 35
                    },
                    "jmeno": {
                      "type": "string",
                      "maxLength": 100
                    },
                    "prijmeni": {
                      "type": "string",
                      "maxLength": 100
                    },
                    "titulZa": {
                      "type": [
                        "null",
                        "string"
                      ],
                      "maxLength": 30
                    }
                  },
                  "required": [
                    "jmeno",
                    "prijmeni"
                  ]
                }
              },
              "required": [
                "utajenaAdresa",
                "nazev"
              ]
            }
          },
          "poskytovatel": {
            "type": "object",
            "description": "Poskytovatel sociální služby",
            "properties": {
              "adresaText": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Adresa poskytovatele uvedená volným textem",
                "maxLength": 550
              },
              "adresa": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "cisloDomovni": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "cisloOrientacni": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "maxLength": 41
                  },
                  "dodatekAdresy": {
                    "type": [
                      "null",
                      "string"
                    ],
                    "maxLength": 250,
                    "description": "Adresa - dodatek adresy"
                  },
                  "kodAdresnihoMista": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "psc": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "maxLength": 5
                  },
                  "typCislaDomovniho": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "description": "Adresa - typ domovního čísla, typ stavebního objektu",
                    "x-looseRef": "/od/soubory/ciselniky/typy-stavebniho-objektu.schema.json",
                    "properties": {
                      "id": {
                        "type": "string",
                        "maxLength": 129
                      }
                    },
                    "required": [
                      "id"
                    ]
                  },
                  "kraj": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "x-looseRef": "/od/soubory/ciselniky/kraje.schema.json",
                    "properties": {
                      "id": {
                        "type": "string",
                        "maxLength": 129
                      }
                    },
                    "required": [
                      "id"
                    ]
                  },
                  "okres": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "x-looseRef": "/od/soubory/ciselniky/okresy.schema.json",
                    "properties": {
                      "id": {
                        "type": "string",
                        "maxLength": 129
                      }
                    },
                    "required": [
                      "id"
                    ]
                  },
                  "obec": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "x-looseRef": "/od/soubory/ciselniky/obce.schema.json",
                    "properties": {
                      "id": {
                        "type": "string",
                        "maxLength": 129
                      }
                    },
                    "required": [
                      "id"
                    ]
                  },
                  "mestskyObvodMestskaCast": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "x-looseRef": "/od/soubory/ciselniky/mestske-obvody-mestske-casti.schema.json",
                    "properties": {
                      "id": {
                        "type": "string",
                        "maxLength": 129
                      }
                    },
                    "required": [
                      "id"
                    ]
                  },
                  "mestskyObvodVPraze": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "x-looseRef": "/od/soubory/ciselniky/mestske-obvody-v-praze.schema.json",
                    "properties": {
                      "id": {
                        "type": "string",
                        "maxLength": 129
                      }
                    },
                    "required": [
                      "id"
                    ]
                  },
                  "castObce": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "x-looseRef": "/od/soubory/ciselniky/casti-obci.schema.json",
                    "properties": {
                      "id": {
                        "type": "string",
                        "maxLength": 129
                      }
                    },
                    "required": [
                      "id"
                    ]
                  },
                  "nazevCastiObce": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "maxLength": 1024
                  },
                  "ulice": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "nazev": {
                        "type": "string",
                        "maxLength": 48
                      }
                    },
                    "required": [
                      "nazev"
                    ]
                  }
                }
              },
              "dic": {
                "type": [
                  "string",
                  "null"
                ],
                "maxLength": 14
              },
              "ico": {
                "type": [
                  "string",
                  "null"
                ],
                "maxLength": 8
              },
              "nazev": {
                "type": "string",
                "maxLength": 160,
                "description": "Název organizace/firmy"
              },
              "statutarniOrgany": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": "object",
                  "properties": {
                    "funkce": {
                      "type": "object",
                      "description": "Funkce statutárního orgánu",
                      "x-looseRef": "/od/soubory/ciselniky/typy-zastoupeni.schema.json",
                      "properties": {
                        "id": {
                          "type": "string",
                          "maxLength": 129
                        }
                      },
                      "required": [
                        "id"
                      ]
                    },
                    "popisFunkce": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "maxLength": 250,
                      "description": "Popis funkce statutárního orgánu volným textem. Vyplněno pouze v případě, že atribut funkce je roven hodnotě Popis."
                    },
                    "titulPred": {
                      "type": [
                        "null",
                        "string"
                      ],
                      "maxLength": 35
                    },
                    "jmeno": {
                      "type": "string",
                      "maxLength": 100
                    },
                    "prijmeni": {
                      "type": "string",
                      "maxLength": 100
                    },
                    "titulZa": {
                      "type": [
                        "null",
                        "string"
                      ],
                      "maxLength": 30
                    }
                  },
                  "required": [
                    "funkce",
                    "jmeno",
                    "prijmeni"
                  ]
                }
              },
              "emaily": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": "object",
                  "properties": {
                    "email": {
                      "type": "string",
                      "maxLength": 254
                    },
                    "poznamka": {
                      "type": [
                        "null",
                        "string"
                      ],
                      "maxLength": 512
                    }
                  },
                  "required": [
                    "email"
                  ]
                }
              },
              "telefony": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": "object",
                  "properties": {
                    "telefon": {
                      "type": "string",
                      "maxLength": 50
                    },
                    "poznamka": {
                      "type": [
                        "null",
                        "string"
                      ],
                      "maxLength": 512
                    }
                  },
                  "required": [
                    "telefon"
                  ]
                }
              },
              "faxy": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": "object",
                  "properties": {
                    "fax": {
                      "type": "string",
                      "maxLength": 50
                    },
                    "poznamka": {
                      "type": [
                        "null",
                        "string"
                      ],
                      "maxLength": 512
                    }
                  },
                  "required": [
                    "fax"
                  ]
                }
              },
              "weby": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": "object",
                  "properties": {
                    "web": {
                      "type": "string",
                      "maxLength": 2048
                    },
                    "poznamka": {
                      "type": [
                        "null",
                        "string"
                      ],
                      "maxLength": 512
                    }
                  },
                  "required": [
                    "web"
                  ]
                }
              }
            },
            "required": [
              "nazev"
            ]
          },
          "emaily": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "object",
              "properties": {
                "email": {
                  "type": "string",
                  "maxLength": 254
                },
                "poznamka": {
                  "type": [
                    "null",
                    "string"
                  ],
                  "maxLength": 512
                }
              },
              "required": [
                "email"
              ]
            }
          },
          "telefony": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "object",
              "properties": {
                "telefon": {
                  "type": "string",
                  "maxLength": 50
                },
                "poznamka": {
                  "type": [
                    "null",
                    "string"
                  ],
                  "maxLength": 512
                }
              },
              "required": [
                "telefon"
              ]
            }
          },
          "faxy": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "object",
              "properties": {
                "fax": {
                  "type": "string",
                  "maxLength": 50
                },
                "poznamka": {
                  "type": [
                    "null",
                    "string"
                  ],
                  "maxLength": 512
                }
              },
              "required": [
                "fax"
              ]
            }
          },
          "weby": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "object",
              "properties": {
                "web": {
                  "type": "string",
                  "maxLength": 2048
                },
                "poznamka": {
                  "type": [
                    "null",
                    "string"
                  ],
                  "maxLength": 512
                }
              },
              "required": [
                "web"
              ]
            }
          },
          "ciloveSkupiny": {
            "type": "array",
            "description": "Údaje o cílových skupinách sociální služby",
            "items": {
              "type": "object",
              "properties": {
                "cilovaSkupina": {
                  "type": "object",
                  "x-looseRef": "/od/soubory/ciselniky/cilove-skupiny-osoby.schema.json",
                  "properties": {
                    "id": {
                      "type": "string",
                      "maxLength": 129
                    }
                  },
                  "required": [
                    "id"
                  ]
                },
                "doplnujiciInformace": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "cilovaSkupina"
              ]
            }
          },
          "vekoveSkupiny": {
            "type": "array",
            "description": "Věkové skupiny sociální služby",
            "items": {
              "type": "object",
              "properties": {
                "vekovaSkupina": {
                  "type": "object",
                  "x-looseRef": "/od/soubory/ciselniky/vekove-skupiny-osoby.schema.json",
                  "properties": {
                    "id": {
                      "type": "string",
                      "maxLength": 129
                    }
                  },
                  "required": [
                    "id"
                  ]
                }
              },
              "required": [
                "vekovaSkupina"
              ]
            }
          },
          "doplnujiciInformaceVekoveSkupiny": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "object",
              "properties": {
                "popis": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "maxLength": 4000
                }
              }
            }
          },
          "formy": {
            "type": "array",
            "description": "Údaje o formách sociální služby",
            "items": {
              "type": "object",
              "properties": {
                "forma": {
                  "type": "object",
                  "x-looseRef": "/od/soubory/ciselniky/formy-soc-sluzby.schema.json",
                  "properties": {
                    "id": {
                      "type": "string",
                      "maxLength": 129
                    }
                  },
                  "required": [
                    "id"
                  ]
                },
                "nepretrzitePoskytovani": {
                  "type": "boolean"
                },
                "casoveRozsahy": {
                  "type": [
                    "array",
                    "null"
                  ],
                  "description": "Údaje o časovém rozsahu sociální služby",
                  "items": {
                    "type": "object",
                    "properties": {
                      "den": {
                        "type": "object",
                        "x-looseRef": "/od/soubory/ciselniky/dny-v-tydnu.schema.json",
                        "properties": {
                          "id": {
                            "type": "string",
                            "maxLength": 129
                          }
                        },
                        "required": [
                          "id"
                        ]
                      },
                      "interval": {
                        "type": "string",
                        "maxLength": 4000
                      }
                    },
                    "required": [
                      "den",
                      "interval"
                    ]
                  }
                },
                "kapacity": {
                  "type": "array",
                  "description": "Údaje o kapacitě sociální služby",
                  "items": {
                    "type": "object",
                    "properties": {
                      "pocet": {
                        "type": "integer",
                        "description": "Počet kapacity daného typu"
                      },
                      "popis": {
                        "type": [
                          "null",
                          "string"
                        ],
                        "description": "Popis kapacity poskytované sociální služby",
                        "maxLength": 4000
                      },
                      "typ": {
                        "type": "object",
                        "x-looseRef": "/od/soubory/ciselniky/typy-kapacity-socialni-sluzby.schema.json",
                        "properties": {
                          "id": {
                            "type": "string",
                            "maxLength": 129
                          }
                        },
                        "required": [
                          "id"
                        ]
                      }
                    },
                    "required": [
                      "pocet",
                      "typ"
                    ]
                  }
                }
              },
              "required": [
                "forma",
                "nepretrzitePoskytovani",
                "kapacity"
              ]
            }
          },
          "rozsirenePusobnostiVKraji": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "object",
              "properties": {
                "kraj": {
                  "type": "object",
                  "x-looseRef": "/od/soubory/ciselniky/kraje.schema.json",
                  "properties": {
                    "id": {
                      "type": "string",
                      "maxLength": 129
                    }
                  },
                  "required": [
                    "id"
                  ]
                }
              },
              "required": [
                "kraj"
              ]
            }
          },
          "doplnkoveUdaje": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "personalniZajisteni": {
                "type": [
                  "array",
                  "null"
                ],
                "description": "Popis personálního zajištění",
                "items": {
                  "type": "object",
                  "properties": {
                    "datum": {
                      "type": "string",
                      "format": "date"
                    },
                    "priloha": {
                      "type": "object",
                      "properties": {
                        "url": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "maxLength": 2048
                        }
                      }
                    }
                  },
                  "required": [
                    "datum",
                    "priloha"
                  ]
                }
              },
              "realizacePoskytovani": {
                "type": [
                  "array",
                  "null"
                ],
                "description": "Popis realizace poskytování slociální služby",
                "items": {
                  "type": "object",
                  "properties": {
                    "datum": {
                      "type": "string",
                      "format": "date"
                    },
                    "priloha": {
                      "type": "object",
                      "properties": {
                        "url": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "maxLength": 2048
                        }
                      }
                    }
                  },
                  "required": [
                    "datum",
                    "priloha"
                  ]
                }
              },
              "kontrolyPlneniRegistracnichPodminek": {
                "type": [
                  "array",
                  "null"
                ],
                "description": "Kontroly plnění registračních podmínek",
                "items": {
                  "type": "object",
                  "properties": {
                    "datum": {
                      "type": "string",
                      "format": "date"
                    },
                    "priloha": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "url": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "maxLength": 2048
                        }
                      }
                    },
                    "ulozeniOpatreni": {
                      "type": "boolean",
                      "description": "Informace, zda bylo uloženo opatření (Ano/Ne)"
                    }
                  },
                  "required": [
                    "datum",
                    "ulozeniOpatreni"
                  ]
                }
              },
              "planyFinancnihoZajisteni": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": "object",
                  "properties": {
                    "datum": {
                      "type": "string",
                      "format": "date"
                    },
                    "priloha": {
                      "type": "object",
                      "properties": {
                        "url": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "maxLength": 2048
                        }
                      }
                    }
                  },
                  "required": [
                    "datum",
                    "priloha"
                  ]
                }
              },
              "dotaceZeStatnihoRozpoctu": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": "object",
                  "properties": {
                    "castka": {
                      "type": "string",
                      "maxLength": 64,
                      "description": "Částka dotace v daném roce v Kč"
                    },
                    "rokDotacnihoRizeni": {
                      "type": "integer",
                      "description": "Rok, ve kterém se uskutečnilo dotační řízení"
                    }
                  },
                  "required": [
                    "castka",
                    "rokDotacnihoRizeni"
                  ]
                }
              },
              "evidovaneInspekce": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": "object",
                  "properties": {
                    "adresaSetreniText": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "maxLength": 250
                    },
                    "adresaSetreni": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "cisloDomovni": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "cisloOrientacni": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "maxLength": 41
                        },
                        "dodatekAdresy": {
                          "type": [
                            "null",
                            "string"
                          ],
                          "maxLength": 250,
                          "description": "Adresa - dodatek adresy"
                        },
                        "kodAdresnihoMista": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "psc": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "maxLength": 5
                        },
                        "typCislaDomovniho": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "description": "Adresa - typ domovního čísla, typ stavebního objektu",
                          "x-looseRef": "/od/soubory/ciselniky/typy-stavebniho-objektu.schema.json",
                          "properties": {
                            "id": {
                              "type": "string",
                              "maxLength": 129
                            }
                          },
                          "required": [
                            "id"
                          ]
                        },
                        "kraj": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "x-looseRef": "/od/soubory/ciselniky/kraje.schema.json",
                          "properties": {
                            "id": {
                              "type": "string",
                              "maxLength": 129
                            }
                          },
                          "required": [
                            "id"
                          ]
                        },
                        "okres": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "x-looseRef": "/od/soubory/ciselniky/okresy.schema.json",
                          "properties": {
                            "id": {
                              "type": "string",
                              "maxLength": 129
                            }
                          },
                          "required": [
                            "id"
                          ]
                        },
                        "obec": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "x-looseRef": "/od/soubory/ciselniky/obce.schema.json",
                          "properties": {
                            "id": {
                              "type": "string",
                              "maxLength": 129
                            }
                          },
                          "required": [
                            "id"
                          ]
                        },
                        "mestskyObvodMestskaCast": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "x-looseRef": "/od/soubory/ciselniky/mestske-obvody-mestske-casti.schema.json",
                          "properties": {
                            "id": {
                              "type": "string",
                              "maxLength": 129
                            }
                          },
                          "required": [
                            "id"
                          ]
                        },
                        "mestskyObvodVPraze": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "x-looseRef": "/od/soubory/ciselniky/mestske-obvody-v-praze.schema.json",
                          "properties": {
                            "id": {
                              "type": "string",
                              "maxLength": 129
                            }
                          },
                          "required": [
                            "id"
                          ]
                        },
                        "castObce": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "x-looseRef": "/od/soubory/ciselniky/casti-obci.schema.json",
                          "properties": {
                            "id": {
                              "type": "string",
                              "maxLength": 129
                            }
                          },
                          "required": [
                            "id"
                          ]
                        },
                        "nazevCastiObce": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "maxLength": 1024
                        },
                        "ulice": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "nazev": {
                              "type": "string",
                              "maxLength": 48
                            }
                          },
                          "required": [
                            "nazev"
                          ]
                        }
                      }
                    },
                    "datumKonceInspekce": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "format": "date",
                      "description": "Datum, kdy byla inspekce ukončena"
                    },
                    "datumKonceSetreni": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "format": "date",
                      "description": "Datum ukončení šetření"
                    },
                    "datumZacatkuInspekce": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "format": "date",
                      "description": "Datum, kdy byla inspekce zahájena"
                    },
                    "datumZacatkuSetreni": {
                      "type": "string",
                      "format": "date",
                      "description": "Datum začátku šetření"
                    },
                    "kontrolniOrgan": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "maxLength": 80
                    },
                    "typInspekce": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "x-looseRef": "/od/soubory/ciselniky/typy-inspekce.schema.json",
                      "properties": {
                        "id": {
                          "type": "string",
                          "maxLength": 129
                        }
                      },
                      "required": [
                        "id"
                      ]
                    },
                    "zjisteniInspekce": {
                      "type": [
                        "array",
                        "null"
                      ],
                      "items": {
                        "type": "object",
                        "properties": {
                          "hodnoceniPlneniPovinnosti": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "description": "Jedná se o velmi dlouhý textový řetězec (> 4000 znaků)",
                            "properties": {
                              "cs": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "cs"
                            ]
                          },
                          "hodnoceniStandarduKvality": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "description": "Jedná se o velmi dlouhý textový řetězec (> 4000 znaků)",
                            "properties": {
                              "cs": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "cs"
                            ]
                          },
                          "kontrolniZjisteniK": {
                            "type": [
                              "object"
                            ],
                            "description": "Jedná se o velmi dlouhý textový řetězec (> 4000 znaků)",
                            "properties": {
                              "cs": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "cs"
                            ]
                          },
                          "terminSplneni": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "description": "Jedná se o velmi dlouhý textový řetězec (> 4000 znaků)",
                            "properties": {
                              "cs": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "cs"
                            ]
                          },
                          "ulozenaOpatreni": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "description": "Jedná se o velmi dlouhý textový řetězec (> 4000 znaků)",
                            "properties": {
                              "cs": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "cs"
                            ]
                          }
                        }
                      }
                    },
                    "plneniPodminek": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "kontrolovanePodminkyCelkem": {
                          "type": "integer",
                          "description": "Celkový počet kontrolovaných registračních podmínek"
                        },
                        "kontrolovanePodminkyNedostatky": {
                          "type": "integer",
                          "description": "Počet podmínek s nedostatky"
                        }
                      },
                      "required": [
                        "kontrolovanePodminkyCelkem",
                        "kontrolovanePodminkyNedostatky"
                      ]
                    },
                    "plneniPovinnosti": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "hodnocenePovinnostiCastecnaNeshoda": {
                          "type": [
                            "integer",
                            "null"
                          ],
                          "description": "Počet hodnocených povinností poskytovatele s neshodou"
                        },
                        "hodnocenePovinnostiCastecnaShoda": {
                          "type": [
                            "integer",
                            "null"
                          ],
                          "description": "Počet hodnocených povinností poskytovatele s částečnou shodou"
                        },
                        "hodnocenePovinnostiCelkem": {
                          "type": "integer",
                          "description": "Celkový počet hodnocených povinností poskytovatele"
                        },
                        "hodnocenePovinnostiNedostatky": {
                          "type": "integer",
                          "description": "Počet povinností s nedostatky"
                        }
                      },
                      "required": [
                        "hodnocenePovinnostiCelkem",
                        "hodnocenePovinnostiNedostatky"
                      ]
                    },
                    "kvalitaPoskytovaneSluzby": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "dosazenyPocetBodu": {
                          "type": "integer"
                        },
                        "komentar": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "cs": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "maxLength": 4000
                            }
                          },
                          "required": [
                            "cs"
                          ]
                        },
                        "maximalniPocetBodu": {
                          "type": "integer",
                          "description": "Maximální počet bodů hodnocených kritérií kvality"
                        },
                        "plneniStandarduKvalityProcento": {
                          "type": "integer",
                          "description": "Plnění standardů kvality sociálních služeb v %"
                        },
                        "plneniStandarduKvalityText": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "cs": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "maxLength": 250
                            }
                          },
                          "required": [
                            "cs"
                          ]
                        },
                        "pocetNesplnenychZasadnichKriterii": {
                          "type": "integer"
                        },
                        "pocetZasadnichKriterii": {
                          "type": "integer",
                          "description": "Celkový počet hodnocených zásadních kritérií"
                        }
                      },
                      "required": [
                        "dosazenyPocetBodu",
                        "maximalniPocetBodu",
                        "plneniStandarduKvalityProcento",
                        "pocetNesplnenychZasadnichKriterii",
                        "pocetZasadnichKriterii"
                      ]
                    }
                  },
                  "required": [
                    "datumZacatkuSetreni"
                  ]
                }
              }
            }
          }
        },
        "required": [
          "portalId",
          "id",
          "identifikator",
          "datumPoskytovaniOd",
          "druhSocialniSluzby",
          "zarizeni",
          "poskytovatel",
          "ciloveSkupiny",
          "vekoveSkupiny",
          "formy"
        ]
      }
    }
  }
}