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

Download: legal-subject.xsd

<?xml version="1.0"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
            targetNamespace="https://data.gov.sk/def/ontology/legal-subject/"
            xmlns:lsub="https://data.gov.sk/def/ontology/legal-subject/"
            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/2004/02/skos/core#" schemaLocation="skos.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:element name="LegalSubject" type="lsub:LegalSubject"/>
    <xsd:complexType name="LegalSubject">
        <xsd:sequence>
            <xsd:element name="name" type="xsd:string"/>
            <xsd:element ref="adms:identifier"/>
            <xsd:element name="legalForm" type="lsub:legalForm" minOccurs="0"/>
            <xsd:element name="headquarters" type="lsub:headquarters" minOccurs="0"/>
        </xsd:sequence>
    </xsd:complexType>

    <xsd:complexType name="legalForm">
        <xsd:sequence>
            <xsd:element name="LegalForm" type="lsub:LegalForm"/>
        </xsd:sequence>
    </xsd:complexType>

    <xsd:complexType name="LegalForm">
        <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="headquarters">
        <xsd:sequence>
            <xsd:element ref="loca:PhysicalAddress"/>
        </xsd:sequence>
    </xsd:complexType>

</xsd:schema>


  • No labels
Unknown macro: {add-label}