{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "Rejstřík školských právnických osob", "description": "Data rejstříku školských právnických osob", "type": "object", "required": [ "@context", "datumVystupu", "list" ], "properties": { "@context": {"const": "http://msmt.cz/"}, "datumVystupu": { "description": "Datum, kdy byl seznam ŠPO sestaven", "type": "string", "format": "date" }, "list": { "description": "Seznam jednotlivých ŠPO", "type": "array", "items": { "type": "object", "required": [ "ico", "uplnyNazev", "adresa", "platnostNaDobuNeurcitou", "reditel" ], "properties": { "redIzo": { "type": [ "string", "null" ], "maxLength": 50 }, "ico": { "type": "string", "maxLength": 8 }, "uplnyNazev": { "type": "string", "maxLength": 255 }, "zkracenyNazev": { "type": [ "string", "null" ], "maxLength": 255 }, "adresa": {"$ref": "https://lkod.msmt.gov.cz/schemas/adresa-json-schema.jschema"}, "datumVzniku": { "type": "string", "format": "date" }, "platnostNaDobuNeurcitou": {"type": "boolean"}, "datumZruseni": { "type": [ "string", "null" ], "format": "date" }, "pravniDuvodZruseni": { "type": [ "string", "null" ], "maxLength": 50, "description": "Kód právního důvodu zrušení" }, "datumZaniku": { "type": [ "string", "null" ], "format": "date" }, "zrizovatele": { "type": "array", "items": { "oneOf": [ { "type": "object", "required": [ "druhOsoby", "adresa", "nazevOsoby" ], "properties": { "druhOsoby": {"const": "FO"}, "datumNarozeni": { "type": [ "string", "null" ], "format": "date" }, "nazevOsoby": { "type": "string", "maxLength": 255, "description": "Úplný název nebo úplné jméno osoby" }, "adresa": { "type": "string", "maxLength": 255, "description": "Složenina adresy osoby" }, "statutarniOrgany": { "type": "array", "items": {"$ref": "https://lkod.msmt.gov.cz/schemas/osoba-json-schema.jschema"} } } }, { "type": "object", "required": [ "druhOsoby", "pravniForma", "ico", "adresa", "nazevOsoby" ], "properties": { "druhOsoby": {"const": "PO"}, "pravniForma": { "type": "string", "maxLength": 50, "description": "Kód právní formy" }, "ico": { "type": "string", "maxLength": 50 }, "nazevOsoby": { "type": "string", "maxLength": 255, "description": "Úplný název nebo úplné jméno osoby" }, "adresa": { "type": "string", "maxLength": 255, "description": "Složenina adresy osoby" }, "statutarniOrgany": { "type": "array", "items": {"$ref": "https://lkod.msmt.gov.cz/schemas/osoba-json-schema.jschema"} } } } ] } }, "reditel": { "type": [ "object", "null" ], "required": [ "nazevOsoby", "reditelJeStatutar", "adresa" ], "properties": { "nazevOsoby": { "type": "string", "maxLength": 255, "description": "Úplný název nebo úplné jméno osoby" }, "reditelJeStatutar": {"type": "boolean"}, "datumVznikuFunkce": { "type": "string", "format": "date" }, "adresa": { "type": "string", "maxLength": 255, "description": "Složenina adresy osoby" } } }, "clenoveRady": { "type": "array", "items": {"$ref": "https://lkod.msmt.gov.cz/schemas/osoba-json-schema.jschema"} }, "likvidace": { "type": [ "object", "null" ], "required": [ "druhOsobyLikvidator", "datumVstupuDoLikvidace", "adresaLikvidator" ], "properties": { "druhOsobyLikvidator": { "type": "string", "maxLength": 50 }, "datumVstupuDoLikvidace": { "type": "string", "format": "date" }, "adresaLikvidator": { "type": "string", "maxLength": 255, "description": "Složenina adresy osoby" } } }, "konkurz": { "type": [ "object", "null" ], "required": ["datumZahajeniKonkurzu"], "properties": { "datumZahajeniKonkurzu": { "type": "string", "format": "date" }, "datumZruseniKonkurzu": { "type": [ "string", "null" ], "format": "date" }, "duvodZruseniKonkurzu": { "type": [ "string", "null" ], "maxLength": 255 } } } } } } } }