Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.


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
iconfalse
Blok kódu
{
  "@context":
{
    "
 {
    "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/def/
id
ontology/
physical-person
location/
2100035451
",

      "@type

    "egov": "https://data.gov.sk/def/ontology/
physical-person
egovernment/
PhysicalPerson",

...

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/
ontology/physical-person
lau2/",

    "lsub

    "lau1": "https://data.gov.sk/def/
ontology/legal-subject
lau1/",

   ...
  },
 "@id":

    "uncoutry": "https://data.gov.sk/
id
def/
egov/isvs
uncoutry/
191
",

  "@graph": [
    {
      "@id": "

    "name-prefix": "https://
rfo
data.gov.sk/
id
def/
physical
name-
person
prefix/
2100035451
",

      "@type

    "name-suffix": "https://data.gov.sk/def/
ontology/physical
name-
person
suffix/
PhysicalPerson
",


    
 
"
foaf:givenName": {
        "@value": "Rudolf",
        "@type": "http://www.w3.org/2001/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": "
marital-status": "https://data.gov.sk/def/marital-status/",
    "sex": "https://data.gov.sk/def/sex/",
    "existential-status": "https://data.gov.sk/def/existential-status/",
    "person-relationship-type": "https://data.gov.sk/def/
ontology/physical-person/",
  ...
  },
  "@id": "https://data.gov.sk/id/egov/isvs/191",
  "@graph": [
    {
      "@id":
person-relationship-type/",
    "person": "http://www.w3.org/ns/person#",
    "address-type": "https://
rfo
data.gov.sk/
id
def/
physical
address-
person
type/
2100035451
",

      "@type

    "address": "https://data.gov.sk/
def/ontology
id/physical-
person
address/
PhysicalPerson
",

      "foaf:givenName": {
        "@value": "Rudolf",
        "@type": "http://www.w3.org/2001/XMLSchema#string"
      },
      "pper:namePrefix": {
          "@id":

    "street": "https://data.gov.sk/id/street/",
    "isvs": "https://data.gov.sk/
def/name-prefix/02",
          "@type":
id/egov/isvs/",
    "pers": "https://data.gov.sk/
def
id/
ontology/
pco-physical-person/
NamePrefix
",

  
   
  
 
"
skos:prefLabel
codelist":

              [{ "@language" : "en", "@value" : "Physical Person" },

                { "@language" : "sk", "@value" : "Fyzická osoba" }],

           "skos:inScheme": {
            "@id": "https://data
 "https://data.gov.sk/set/codelist/",
    "rfo": "https://rfo.gov.sk/def/ontology/rfo/",
    "rfocodelist": "https://rfo.gov.sk/set/codelist/
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

{
  "@context": {
    "pper": "https://data.gov.sk/def/ontology/physical-person/",
   ...
  },
  "@id": "https://data.gov.sk/id/egov/isvs/191",
  "@graph": [
    {
      "@id": "https://rfo.gov.sk/id/physical-person/2100035451",
      "@type": "https://data.gov.sk/def/ontology/physical-person/PhysicalPerson",
      "pper:residency": {
        "@id": "https://data.gov.sk/id/physical-address/10539221"
      },

...

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

{
  "@context": {
    "pper": "https://data.gov.sk/def/ontology/physical-person/",
   ...
  },
  "@id": "https://data.gov.sk/id/egov/isvs/191",
  "@graph": [
    {
      "@id": "https://rfo.gov.sk/id/physical-person/2100035451",
      "@type": "https://data.gov.sk/def/ontology/physical-person/PhysicalPerson",
      "pper:residency": {
        "@id": "https://rfo.gov.sk/id/physical-address/343452218004523"
      },

...

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

{
  "@context": {
    "pper": "https://data.gov.sk/def/ontology/physical-person/",
   ...
  },
  "@id": "https://data.gov.sk/id/egov/isvs/191",
  "@graph": [
    {
      "@id": "https://rfo.gov.sk/id/physical-person/2100035451",
      "@type": "https://data.gov.sk/def/ontology/physical-person/PhysicalPerson",     

     

"pper:namePrefix": {
          "@id": "https://data.gov.sk/def/name-prefix/02",
          "@type": "https://data.gov.sk/def/ontology/physical-person/NamePrefix",

          "skos:prefLabel":

              [{ "@language" : "en", "@value" : "Physical Person" },

                { "@language" : "sk", "@value" : "Fyzická osoba" }],

      ...
     }, {
      "@id": "https://data.gov.sk/def/ontology/physical-person/PhysicalPerson",

       "rdfs:Label":

  [{
    "@language" : "en",
    "@value" : "Physical Person"
   }, {
    "@language" : "sk",
    "@value" : "Fyzická osoba"
  } ],
},

      {
      "@id": "https://data.gov.sk/set/codelist/CL000062",

       "dct:title":

  [{
    "@language" ",
    "rfocolor": "https://rfo.gov.sk/set/rfocolor/",
    "rfopersontype": "https://rfo.gov.sk/def/person-type/",
    "rfopersondataset": "https://rfo.gov.sk/set/rfopersondataset/",
    "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"
:  "Titul pred menom"    }
      ],
{      "@languagerdfs:isDefinedBy": : "en",{
        "@value@id": "foaf:"
"Title before name"    }],
}, ]
...
},
...