A.1.a vo vrátených údajoch musí byť obsiahnutá informácia, z ktorého ISVS dané údaje pochádzajú. ISVS musí byť identifikované prostredníctvom Jednotného referencovateľného identifikátora
Info | ||
---|---|---|
| ||
Blok kódu | ||
{ "@context":{ "pper { "pper": "https://data.gov.sk/def/ontology/physical-person/", ... }, "@id": "lsub": "https://data.gov.sk/id def/egov ontology/isvs legal-subject/191 ", "@graph": [ { "@id": "loca": "https://rfo data.gov.sk/id/physical-person/2100035451", "@type": def/ontology/location/", "egov": "https://data.gov.sk/def/ontology/physical-person egovernment/PhysicalPerson ", ...Ak referenčný register používa hodnoty číselníkov mimo Centrálneho modelu údajov, alebo je vhodné daný údaj reprezentovať ako položku číselníka napr. pre budúce použitie, na identifikáciu je nutné použiť lokálny referencovateľný identifikátor. |
A.1.b vo vrátených údajoch sú objekty evidencie identifikované prostredníctvom schválených Jednotných referencovateľných identifikátorov,
Info | ||
---|---|---|
| ||
{ "@context": { "pper": " "lau2": "https://data.gov.sk/def/lau2/", "lau1": "https://data.gov.sk/def/lau1/", "uncoutry": "https://data.gov.sk/def/ontology/physical-person uncoutry/", "lsub "name-prefix": "https://data.gov.sk/def/ontology/legal name-subject prefix/", ... }, "@id": "name-suffix": "https://data.gov.sk/id def/egov/isvs/191 name-suffix/", "@graph": [ { "@id": "marital-status": "https://rfo data.gov.sk/id def/physical marital-person status/2100035451 ", "@type "sex": "https://data.gov.sk/def/ontology/physical-person sex/PhysicalPerson ", "foaf:givenName": { "@value": "Rudolf", "@type": "existential-status": "https://data.gov.sk/def/existential-status/", "person-relationship-type": "https://data.gov.sk/def/person-relationship-type/", "person": "http://www.w3.org/2001 ns/XMLSchema#string" }, ... |
A.1.c vo vrátených údajov sú všetky referenčné štrukturálne metadáta (Centrálny model údajov, základné číselníky) identifikované tiež prostredníctvom schválených Jednotných referencovateľných identifikátorov,
Info | ||
---|---|---|
| ||
{ "@context": { "pper": " person#", "address-type": "https://data.gov.sk/def/ontology/physical address-person type/", ... }, "@id": "address": "https://data.gov.sk/id/egov/isvs/191", "@graph": [ { "@id": " physical-address/", "street": "https://rfo data.gov.sk/id/physical-person street/2100035451 ", "@type "isvs": "https://data.gov.sk/def id/ontology egov/physical-person isvs/PhysicalPerson ", "foaf:givenName": { "@value": "Rudolf", "@type": "http://www.w3.org/2001/XMLSchema#string" }, "pper:namePrefix": { "@id": "pers": "https://data.gov.sk/id/pco-physical-person/", "codelist": "https://data.gov.sk/set/codelist/", "rfo": "https://data rfo.gov.sk/def/name-prefix/02", "@type": ontology/rfo/", "rfocodelist": "https://data rfo.gov.sk/def/ontology/physical-person/NamePrefix", "skos:prefLabel": [{ "@language" : "en", "@value" : "Physical Person" }, { "@language" : "sk", "@value" : "Fyzická osoba" }], "skos:inScheme": {"@id": "https://data set/codelist/", "rfocolor": "https://rfo.gov.sk/set/rfocolor/", "rfopersontype": "https://rfo.gov.sk/def/person-type/", "rfopersondataset": "https://rfo.gov.sk/set/codelist rfopersondataset/CL000062", }, }, ... |
A.1.d v prípade, že referenčný register používa rozdielne štrukturálne metadáta, ktoré je možné ztotožniť s referenčnými štrukturálnymi metadátami, je API povinné použiť referenčné štrukturálne metadáta podľa bodu A.1.b.,
A.2. Ak referenčný register obsahuje údaje objektu evidencie, ktoré sú vyhlásené iným referenčným registrom, tak API referenčného registra musí vracať jednotný referencovateľný identifikátor daného externého objektu evidencie. Tento bod platí pre všetky nové projekty začaté po 1.6.2022.
Info | ||
---|---|---|
| ||
{ ... |
A.3 Ak pre bežiace projekty predstavuje splnenie bodu 2. neplánované neúmerné časové úsilie, je pre identifikáciu externého objektu evidencie nutné použiť lokálny referencovateľný identifikátor, ktorý bude v budúcnosti možné stotožniť s jednotným referencovateľným identifikátorom externého objektu evidencie.
Info | ||
---|---|---|
| ||
{ ... |
A.4 Anotácie referenčných štrukturálnych metadát v API odpovediach sú nepovinné, nakoľko je ich možné získať strojovým spôsobom s portálu znalosti.gov.sk.
Info | ||
---|---|---|
| ||
{ "pper:namePrefix": { "skos:prefLabel": [{ "@language" : "en", "@value" : "Physical Person" }, { "@language" : "sk", "@value" : "Fyzická osoba" }], ... } "rdfs:Label": [{ "@language" : "en", "@value" : "Physical Person" }, { "@language" : "sk", "@value" : "Fyzická osoba" } ], { "dct:title": [{ "@language" : "sk", "@value" : "Titul pred menom" }, { "@language" : "en", "@value" : "Title before name" }],
... |
A.5 Ak referenčný register používa hodnoty číselníkov mimo Centrálneho modelu údajov, alebo je vhodné daný údaj reprezentovať ako položku číselníka napr. pre budúce použitie, na identifikáciu je nutné použiť lokálny referencovateľný identifikátor.
Info | ||
---|---|---|
| ||
{ "rfo": "https://rfo.gov.sk/def/ontology/physical-person/", ... "skos:prefLabel": [{ "@language" : "en", "@value" : "brown" }, { "@language" : "sk", "@value" : "hnedá" }], "skos:inScheme": { ... } },...",
"rfopersonrelationship": "https://rfo.gov.sk/id/rfopersonrelationship/",
"schema": "http://schema.org/",
"foaf": "http://xmlns.com/foaf/0.1/",
"adms": "http://www.w3.org/ns/adms#",
"dct": "http://purl.org/dc/terms/",
"skos": "http://www.w3.org/2004/02/skos/core#",
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
"xs": "http://www.w3.org/2001/XMLSchema#"
},
"@id": "isvs:191",
"@graph": [
{
"@id": "pers:2100035451",
"@type": "pper:PhysicalPerson",
"adms:identifier": {
"@type": "adms:Identifier",
"skos:notation": {
"@value": "2100035451",
"@type": "xs:string"
},
"dct:type": {
"@id": "identifiertype:14",
"@type": "egov:IdentifierType",
"skos:prefLabel": {
"@language": "sk",
"@value": "Identifikátor záznamu o osobe"
},
"skos:inScheme": {
"@id": "codelist:CL004001"
}
}
},
"foaf:givenName": {
"@list": [
{
"@type": "xs:string",
"@value": "Rudolf"
},
{
"@type": "xs:string",
"@value": "Elvis"
}
]
},
"foaf:familyName": {
"@value": "Yeti",
"@type": "xs:string"
},
"person:birthName": {
"@value": "Yeti",
"@type": "xs:string"
},
"person:birthDate": {
"@value": "2000-01-01",
"@type": "xs:date"
},
"pper:yearOfBirth": {
"@value": "2000",
"@type": "xs:gYear"
},
"pper:birthNumberCode": {
"@value": "000101/0000",
"@type": "xs:string"
},
"dct:type": {
"@id": "rfopersontype:01",
"skos:prefLabel": {
"@language": "sk",
"@value": "Občan SR s trvalým pobytom"
},
"skos:inScheme": {
"@id": "rfocodelist:01"
}
},
"pper:hasCivilDisability": {
"@value": "false",
"@type": "xs:boolean"
},
"person:placeOfBirth": {
"@type": "loca:Location",
"loca:lau2": {
"@id": "lau2:SK0101528595",
"@type": "loca:LAU2",
"skos:prefLabel": [
{
"@language": "en",
"@value": "Bratislava - The Old Town"
},
{
"@language": "sk",
"@value": "Bratislava - mestská časť Staré Mesto"
}
],
"skos:inScheme": {
"@id": "codelist:CL000025",
"dct:title": [
{
"@language": "en",
"@value": "Bratislava - The Old Town"
},
{
"@language": "sk",
"@value": "Bratislava - mestská časť Staré Mesto"
}
]
}
},
"loca:lau1": {
"@id": "lau1:SK0101",
"@type": "loca:LAU1",
"skos:prefLabel": [
{
"@language": "en",
"@value": "County Bratislava I"
},
{
"@language": "sk",
"@value": "District Bratislava I"
}
],
"skos:inScheme": {
"@id": "codelist:CL000024"
}
},
"loca:unCountry": {
"@id": "uncountry:703",
"@type": "loca:UNCountry",
"skos:prefLabel": [
{
"@language": "en",
"@value": "Slovak Republic"
},
{
"@language": "sk",
"@value": "Slovenská republika"
}
],
"skos:inScheme": {
"@id": "codelist:CL000086"
}
}
},
"person:deathDate": {
"@value": "2088-01-01",
"@type": "xs:date"
},
"pper:yearOfDeath": {
"@value": "2088",
"@type": "xs:gYear"
},
"person:placeOfDeath": {
"@id": "lau2:SK0101528595",
"skos:prefLabel": [
{
"@language": "en",
"@value": "Bratislava - The Old Town"
},
{
"@language": "sk",
"@value": "Bratislava - mestská časť Staré Mesto"
}
],
"skos:inScheme": {
"@id": "codelist:CL000025"
}
},
"pper:namePrefix": [
{
"@id": "name-prefix:01",
"@type": "pper:NamePrefix",
"skos:prefLabel": [
{
"@language": "en",
"@value": "MSc."
},
{
"@language": "sk",
"@value": "Ing."
}
],
"skos:inScheme": {
"@id": "codelist:CL000062"
}
},
{
"@id": "name-prefix:02",
"@type": "pper:NamePrefix",
"skos:prefLabel": [
{
"@language": "en",
"@value": "MSc. Architect"
},
{
"@language": "sk",
"@value": "Ing. arch."
}
],
"skos:inScheme": {
"@id": "codelist:CL000062"
}
}
],
"pper:nameSuffix": {
"@id": "name-suffix:53",
"@type": "pper:NameSufix",
"skos:prefLabel": [
{
"@language": "en",
"@value": "PhD."
},
{
"@language": "sk",
"@value": "PhD."
}
],
"skos:inScheme": {
"@id": "codelist:CL000063"
}
},
"person:residency": {
"@id": "address:123456789",
"@type": "loca:PhysicalAddress",
"locn:addressId": {
"@value": "123456789",
"@type": "xs:string"
},
"schema:validFrom": {
"@value": "2000-01-01",
"@type": "xs:date"
},
"schema:validUntil": {
"@value": "2020-01-01",
"@type": "xs:date"
},
"dct:type": {
"@id": "address-type:100001",
"skos:prefLabel": [
{
"@language": "en",
"@value": "Permanent address"
},
{
"@language": "sk",
"@value": "Trvalý pobyt"
}
],
"skos:inScheme": {
"@id": "codelist:CL010139"
}
},
"loca:street": {
"@id": "street:111111111",
"@type": "loca:Street",
"skos:prefLabel": [
{
"@language": "sk",
"@value": "Štefánikova"
}
],
"skos:inScheme": {
"@id": "codelist:uliceSR"
}
},
"loca:orientationNumber": {
"@value": "16",
"@type": "xs:string"
},
"loca:propertyRegistrationNumber": {
"@value": "3202",
"@type": "xs:string"
},
"loca:district": {
"@id": "district:401468",
"@type": "loca:District",
"skos:prefLabel": [
{
"@language": "en",
"@value": "Bratislava - Ostredky"
},
{
"@language": "sk",
"@value": "Bratislava - Ostredky"
}
],
"skos:inScheme": {
"@id": "codelist:CL010141"
}
},
"loca:lau2": {
"@id": "lau2:SK0101528595",
"@type": "loca:LAU2",
"skos:prefLabel": [
{
"@language": "en",
"@value": "Bratislava - The Old Town"
},
{
"@language": "sk",
"@value": "Bratislava - mestská časť Staré Mesto"
}
],
"skos:inScheme": {
"@id": "codelist:CL000025"
}
},
"loca:lau1": {
"@id": "lau1:SK0101",
"@type": "loca:LAU1",
"skos:prefLabel": [
{
"@language": "en",
"@value": "County Bratislava I"
},
{
"@language": "sk",
"@value": "District Bratislava I"
}
],
"skos:inScheme": {
"@id": "codelist:CL000024"
}
},
"loca:unCountry": {
"@id": "uncountry:703",
"@type": "loca:UNCountry",
"skos:prefLabel": [
{
"@language": "en",
"@value": "Slovak Republic"
},
{
"@language": "sk",
"@value": "Slovenská republika"
}
],
"skos:inScheme": {
"@id": "codelist:CL000086"
}
}
},
"person:citizenship": {
"@id": "uncountry:703",
"skos:prefLabel": {
"@value": "Slovenská republika",
"@language": "sk"
},
"skos:inScheme": {
"@id": "codelist:CL000086"
}
},
"pper:sex": {
"@id": "sex:1",
"@type": "pper:Sex",
"skos:prefLabel": [
{
"@language": "en",
"@value": "male"
},
{
"@language": "sk",
"@value": "muž"
}
],
"skos:inScheme": {
"@id": "codelist:CL003003"
}
},
"pper:maritalStatusType": {
"@id": "marital-status:02",
"@type": "pper:MaritalStatusType",
"skos:prefLabel": [
{
"@language": "en",
"@value": "single"
},
{
"@language": "sk",
"@value": "slobodný, slobodná"
}
],
"skos:inScheme": {
"@id": "codelist:CL004002"
}
},
"pper:existentialStatus": {
"@id": "existential-status:1",
"@type": "pper:ExistentialStatusType",
"skos:prefLabel": [
{
"@language": "en",
"@value": "alive"
},
{
"@language": "sk",
"@value": "živý"
}
],
"skos:inScheme": {
"@id": "codelist:CL004003"
}
},
"rfo:hairColor": {
"@id": "rfocolor:1",
"@type": "rfo:HairColor",
"skos:prefLabel": [
{
"@language": "en",
"@value": "brown"
},
{
"@language": "sk",
"@value": "hnedá"
}
],
"skos:inScheme": {
"@id": "rfocodelist:cl0002"
}
},
"pper:personRelationship": {
"@id": "rfopersonrelationship:2100035451-2100035456",
"@type": "pper:PersonRelationship",
"pper:relatedPerson": {
"@id": "rfoperson:2100035456",
"@type": "pper:PhysicalPerson",
"foaf:givenName": {
"@list": [
{
"@type": "xs:string",
"@value": "Mária"
},
{
"@type": "xs:string",
"@value": "Antoinetta"
}
]
},
"foaf:familyName": {
"@value": "Yetiová",
"@type": "xs:string"
}
},
"schema:validFrom": {
"@value": "2018-01-01",
"@type": "xs:date"
},
"schema:validUntil": {
"@value": "2020-01-01",
"@type": "xs:date"
},
"dct:type": {
"@id": "person-relationship-type:01",
"skos:prefLabel": {
"@language": "sk",
"@value": "manžel, manželka"
},
"skos:inScheme": {
"@id": "codelist:CL004004"
}
},
"pper:marriageCertificate": {
"@type": "pper:MarriageCertificate",
"loca:issuedAt": {
"@id": "lau2:SK0101528595",
"@type": "loca:LAU2",
"skos:prefLabel": [
{
"@language": "en",
"@value": "Bratislava - The Old Town"
},
{
"@language": "sk",
"@value": "Bratislava - mestská časť Staré Mesto"
}
],
"skos:inScheme": {
"@id": "codelist:CL000025"
}
}
}
},
"pper:personRelationship": {
"@id": "rfopersonrelationship:2100035451-1100035000",
"@type": "pper:PersonRelationship",
"pper:relatedPerson": {
"@id": "rfoperson:1100035000",
"@type": "pper:PhysicalPerson",
"foaf:givenName": {
"@list": [
{
"@type": "xs:string",
"@value": "Dušan"
}
]
},
"foaf:familyName": {
"@value": "Yeti",
"@type": "xs:string"
}
},
"schema:validFrom": {
"@value": "1960-01-01",
"@type": "xs:date"
},
"dct:type": {
"@id": "person-relationship-type:02",
"skos:prefLabel": {
"@language": "sk",
"@value": "otec, matka"
},
"skos:inScheme": {
"@id": "codelist:CL004004"
}
}
},
"pper:personRelationship": {
"@id": "rfopersonrelationship:2100035451-2100035000",
"@type": "pper:PersonRelationship",
"pper:relatedPerson": {
"@id": "rfoperson:2100035000",
"@type": "pper:PhysicalPerson",
"foaf:givenName": {
"@list": [
{
"@type": "xs:string",
"@value": "Ján"
}
]
},
"foaf:familyName": {
"@value": "Yeti",
"@type": "xs:string"
}
},
"schema:validFrom": {
"@value": "2000-01-01",
"@type": "xs:date"
},
"dct:type": {
"@id": "person-relationship-type:03",
"skos:prefLabel": {
"@language": "sk",
"@value": "syn, dcéra"
},
"skos:inScheme": {
"@id": "codelist:CL004004"
}
}
},
"rdfs:isDefinedBy": {
"@id": "rfopersondataset:2022-04-13-rpo-person.rdf"
}
},
{
"@id": "pper:PhysicalPerson",
"@type": "owl:Class",
"rdfs:label": [
{
"@language": "en",
"@value": "Physical Person"
},
{
"@language": "sk",
"@value": "Fyzická osoba"
}
],
"rdfs:isDefinedBy": {
"@id": "pper:"
}
},
{
"@id": "pper:sex",
"@type": "owl:ObjectProperty",
"rdfs:label": [
{
"@language": "en",
"@value": "sex"
},
{
"@language": "sk",
"@value": "pohlavie"
}
],
"rdfs:isDefinedBy": {
"@id": "pper:"
}
},
{
"@id": "foaf:familyName",
"@type": "owl:DatatypeProperty",
"rdfs:label": [
{
"@language": "en",
"@value": "family name"
},
{
"@language": "sk",
"@value": "priezvisko"
}
],
"rdfs:isDefinedBy": {
"@id": "foaf:"
}
}
]
} |