Page tree
Skip to end of metadata
Go to start of metadata

download: physical-person.xsd

<?xml version="1.0"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
            targetNamespace="https://data.gov.sk/def/ontology/physical-person/"
            xmlns:pper="https://data.gov.sk/def/ontology/physical-person/"
            xmlns:loca="https://data.gov.sk/def/ontology/location/"
            xmlns:adms="http://www.w3.org/ns/adms#"
            xmlns:dct="http://purl.org/dc/terms/"
            xmlns:schema="https://schema.org/"
            xmlns:skos="http://www.w3.org/2004/02/skos/core#"
            elementFormDefault="qualified">

    <xsd:import namespace="https://schema.org/" schemaLocation="schema.xsd"/>
    <xsd:import namespace="http://www.w3.org/ns/adms#" schemaLocation="adms.xsd"/>
    <xsd:import namespace="https://data.gov.sk/def/ontology/location/" schemaLocation="location.xsd"/>
    <xsd:import namespace="http://purl.org/dc/terms/" schemaLocation="dct.xsd"/>
    <xsd:import namespace="http://www.w3.org/2004/02/skos/core#" schemaLocation="skos.xsd"/>

    <xsd:element name="PhysicalPerson" type="pper:PhysicalPerson"/>
    <xsd:complexType name="PhysicalPerson">
        <xsd:sequence>
            <xsd:element name="givenName" type="xsd:string" minOccurs="0"/>
            <xsd:element name="familyName" type="xsd:string" minOccurs="0"/>
            <xsd:element name="legalName" type="xsd:string" minOccurs="0"/>
            <xsd:element name="alternativeName" type="xsd:string" minOccurs="0"/>
            <xsd:element name="occupationName" type="xsd:string" minOccurs="0"/>
            <xsd:element name="givenFamilyName" type="xsd:string" minOccurs="0"/>
            <xsd:element name="birth" type="pper:birth"  minOccurs="0"/>
            <xsd:element name="death" type="pper:death" minOccurs="0"/>
            <xsd:element name="maritalStatus" type="pper:maritalStatus" minOccurs="0"/>
            <xsd:element name="residence" type="pper:residence" minOccurs="0"/>
        </xsd:sequence>
    </xsd:complexType>

    <xsd:complexType name="birth">
        <xsd:sequence>
            <xsd:element name="Birth" type="pper:Birth"/>
        </xsd:sequence>
    </xsd:complexType>

    <xsd:complexType name="Birth">
        <xsd:sequence>
            <xsd:element name="dateOfBirth" type="xsd:date"/>
            <xsd:element name="placeOfBirth" type="xsd:anyURI"/>
        </xsd:sequence>
    </xsd:complexType>

    <xsd:complexType name="death">
        <xsd:sequence>
            <xsd:element name="death" type="pper:Birth"/>
        </xsd:sequence>
    </xsd:complexType>

    <xsd:complexType name="Death">
        <xsd:sequence>
            <xsd:element name="dateOfDeath" type="xsd:date"/>
            <xsd:element name="placeOfDeath" type="xsd:anyURI"/>
        </xsd:sequence>
    </xsd:complexType>

    <xsd:complexType name="maritalStatus">
        <xsd:sequence>
            <xsd:element name="MaritalStatus" type="pper:MaritalStatus"/>
        </xsd:sequence>
    </xsd:complexType>

    <xsd:complexType name="MaritalStatus">
        <xsd:sequence>
            <xsd:element ref="schema:startDate"/>
            <xsd:element ref="schema:endDate" minOccurs="0"/>
            <xsd:element ref="dct:type"/>
        </xsd:sequence>
    </xsd:complexType>

    <xsd:complexType name="residence">
        <xsd:sequence>
            <xsd:element ref="loca:PhysicalAddress"/>
        </xsd:sequence>
    </xsd:complexType>

</xsd:schema>


  • No labels
Unknown macro: {add-label}