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

Download: location.xsd

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

    <xsd:import namespace="http://www.w3.org/2004/02/skos/core#" schemaLocation="skos.xsd"/>
    <xsd:import namespace="http://www.w3.org/ns/adms#" schemaLocation="adms.xsd"/>

    <xsd:element name="Location" type="loca:Location"/>
    <xsd:complexType name="Location">
        <xsd:sequence>
            <xsd:element ref="skos:prefLabel" minOccurs="0"/>
            <xsd:element ref="adms:identifier" minOccurs="0"/>
        </xsd:sequence>
    </xsd:complexType>

    <xsd:element name="LAU2" type="loca:LAU2"/>
    <xsd:complexType name="LAU2">
        <xsd:complexContent>
            <xsd:extension base="Location"></xsd:extension>
        </xsd:complexContent>
    </xsd:complexType>

    <xsd:element name="PhysicalAddress" type="loca:PhysicalAddress"/>
    <xsd:complexType name="PhysicalAddress">
        <xsd:complexContent>
            <xsd:extension base="loca:Location">
                <xsd:sequence>
                    <xsd:element name="formattedAddress" type="xsd:string" minOccurs="0"/>
                    <xsd:element ref="adms:identifier" minOccurs="0"/>
                    <xsd:element name="entrance" type="loca:entrance" minOccurs="0"/>
                </xsd:sequence>
            </xsd:extension>
        </xsd:complexContent>
    </xsd:complexType>

    <xsd:complexType name="entrance">
        <xsd:sequence>
            <xsd:element name="Entrance" type="loca:Entrance"/>
        </xsd:sequence>
    </xsd:complexType>

    <xsd:complexType name="Entrance">
        <xsd:sequence>
            <xsd:element name="street" type="loca:street"/>
            <xsd:element name="building" type="loca:building"/>
            <xsd:element name="orientationNumber" type="xsd:string"/>
        </xsd:sequence>
    </xsd:complexType>

    <xsd:complexType name="street">
        <xsd:sequence>
            <xsd:element name="Street" type="skos:Concept"/>
        </xsd:sequence>
    </xsd:complexType>

    <xsd:complexType name="building">
        <xsd:sequence>
            <xsd:element name="Building" type="skos:Concept"/>
        </xsd:sequence>
    </xsd:complexType>

</xsd:schema>


  • No labels
Unknown macro: {add-label}