<?xml version="1.0" encoding="UTF-8"?><schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:app="http://skjema.geonorge.no/SOSI/produktspesifikasjon/Tollsteder/B20200801E" xmlns:gml="http://www.opengis.net/gml/3.2" elementFormDefault="qualified" targetNamespace="http://skjema.geonorge.no/SOSI/produktspesifikasjon/Tollsteder/B20200801E" version="B20200801E">
  <import namespace="http://www.opengis.net/gml/3.2" schemaLocation="http://schemas.opengis.net/gml/3.2.1/gml.xsd"/>
  <!--XML Schema document created by ShapeChange - http://shapechange.net/-->
  <simpleType name="ClassificationCodeType">
    <annotation>
      <documentation>Five different classification; Each classification has unique restrictions</documentation>
    </annotation>
    <union memberTypes="app:ClassificationCodeEnumerationType app:ClassificationCodeOtherType"/>
  </simpleType>
  <simpleType name="ClassificationCodeEnumerationType">
    <annotation>
      <documentation>Five different classification; Each classification has unique restrictions</documentation>
    </annotation>
    <restriction base="string">
      <enumeration value="NATO UNCLASSIFIED">
        <annotation>
          <documentation>NATO unclassified - Free for all.</documentation>
        </annotation>
      </enumeration>
      <enumeration value="NATO RESTRICTED">
        <annotation>
          <documentation>NATO Restricted - Lowest security rating of information. There is no need for clearance at this level, but you must authorize and sign a Declaration of Confidentiality to access the LIMITED / NATO RESTRICTED.</documentation>
        </annotation>
      </enumeration>
      <enumeration value="NATO CONFIDENTIAL">
        <annotation>
          <documentation>NATO Confidential - The lowest level of security clearance in NATO.</documentation>
        </annotation>
      </enumeration>
      <enumeration value="NATO SECRET">
        <annotation>
          <documentation>NATO Secret - The second highest level of security clearance in NATO.</documentation>
        </annotation>
      </enumeration>
      <enumeration value="COSMIC TOP SECRET">
        <annotation>
          <documentation>Cosmic Top Secret -The highest level of security clearance in NATO.</documentation>
        </annotation>
      </enumeration>
    </restriction>
  </simpleType>
  <simpleType name="ClassificationCodeOtherType">
    <restriction base="string">
      <pattern value="other: \w{2,}"/>
    </restriction>
  </simpleType>
  <element name="ContactInformation" substitutionGroup="gml:AbstractObject" type="app:ContactInformationType">
    <annotation>
      <documentation>Contact information for day care employees.</documentation>
    </annotation>
  </element>
  <complexType name="ContactInformationType">
    <sequence>
      <element minOccurs="0" name="telephoneNumber" type="integer">
        <annotation>
          <documentation>Telephone number for contact person.</documentation>
        </annotation>
      </element>
      <element minOccurs="0" name="emailAddress" type="string">
        <annotation>
          <documentation>E-mail address for contact person.</documentation>
        </annotation>
      </element>
    </sequence>
  </complexType>
  <complexType name="ContactInformationPropertyType">
    <sequence>
      <element ref="app:ContactInformation"/>
    </sequence>
  </complexType>
  <element name="CustomsOffices" substitutionGroup="app:GeneralProperties" type="app:CustomsOfficesType">
    <annotation>
      <documentation>objekttype som innholder egenskaper med informasjon knyttet til Fengsler og krigsfange leirer rundt Norge.
.</documentation>
    </annotation>
  </element>
  <complexType name="CustomsOfficesType">
    <complexContent>
      <extension base="app:GeneralPropertiesType">
        <sequence>
          <element name="position" type="gml:PointPropertyType">
            <annotation>
              <documentation>plassering av religiose bygningen.</documentation>
            </annotation>
          </element>
          <element minOccurs="0" name="name" type="string">
            <annotation>
              <documentation>navn p&amp;#229; religiose bygning</documentation>
            </annotation>
          </element>
          <element minOccurs="0" name="information" type="string">
            <annotation>
              <documentation>Informasjon ang&amp;#229;ende fengsler og krigsfange leirer rundt Norge.</documentation>
            </annotation>
          </element>
          <element minOccurs="0" name="contactInformation" type="app:ContactInformationPropertyType">
            <annotation>
              <documentation>informasjon for &amp;#229; komme i kontakt med fengsler og krigsfange leirer.</documentation>
            </annotation>
          </element>
          <element minOccurs="0" name="physicalAddress" type="app:PhysicalAddressPropertyType">
            <annotation>
              <documentation>adresse i form av et adressenavn og et adressenummer (matrikkelforskriften § 2i).

Merknad:
Vegadresser er enkeltadresser innen en "veg" (adresseområde) i en kommune. Vegadresse identifiseres innen kommunen ved adressekode, husnummer (nummer) og eventuelt bokstav</documentation>
            </annotation>
          </element>
        </sequence>
      </extension>
    </complexContent>
  </complexType>
  <complexType name="CustomsOfficesPropertyType">
    <sequence minOccurs="0">
      <element ref="app:CustomsOffices"/>
    </sequence>
    <attributeGroup ref="gml:AssociationAttributeGroup"/>
    <attributeGroup ref="gml:OwnershipAttributeGroup"/>
  </complexType>
  <element abstract="true" name="GeneralProperties" substitutionGroup="gml:AbstractFeature" type="app:GeneralPropertiesType">
    <annotation>
      <documentation>Abstract object used as a container for properties originating from SOSI-chapter 1.</documentation>
    </annotation>
  </element>
  <complexType abstract="true" name="GeneralPropertiesType">
    <complexContent>
      <extension base="gml:AbstractFeatureType">
        <sequence>
          <element name="identification" type="app:IdentificationPropertyType">
            <annotation>
              <documentation>Unique identifier of an object that can be used by external applications as a reference to the object. The identifier is managed by the responsible producer/administrator of the data-set.</documentation>
            </annotation>
          </element>
          <element name="origin" type="string">
            <annotation>
              <documentation>Origin of the data-set.
Reference to copyright material, source material, organization/publishing source.</documentation>
            </annotation>
          </element>
          <element name="dataWithdrawalDate" type="dateTime">
            <annotation>
              <documentation>date of extraction from a database Note: Different from Copy Date in that you do not distinguish whether it is extraction from an original database or a copy database.</documentation>
            </annotation>
          </element>
          <element minOccurs="0" name="dataCaptureDate" type="dateTime">
            <annotation>
              <documentation>Date when the object was registered/observed/measured in the terrain/environment.</documentation>
            </annotation>
          </element>
          <element minOccurs="0" name="updateDate" type="dateTime">
            <annotation>
              <documentation>Date for the production of the actual data files.</documentation>
            </annotation>
          </element>
          <element name="latitude" type="double">
            <annotation>
              <documentation>Description of the object's spatial position, according to the geographic coordinate latitude.</documentation>
            </annotation>
          </element>
          <element name="longitude" type="double">
            <annotation>
              <documentation>Description of the object's spatial position, according to the geographic coordinate longitude.</documentation>
            </annotation>
          </element>
          <element name="mgrs" type="string">
            <annotation>
              <documentation>MGRS (Military grid reference system), is a global system used by NATO to specify a map reference. Showing a area, not a point.</documentation>
            </annotation>
          </element>
          <element name="classification" type="app:ClassificationCodeType">
            <annotation>
              <documentation>Classification degree of information that has been given a security level. Defines distribution of the dataset.</documentation>
            </annotation>
          </element>
        </sequence>
      </extension>
    </complexContent>
  </complexType>
  <complexType name="GeneralPropertiesPropertyType">
    <sequence minOccurs="0">
      <element ref="app:GeneralProperties"/>
    </sequence>
    <attributeGroup ref="gml:AssociationAttributeGroup"/>
    <attributeGroup ref="gml:OwnershipAttributeGroup"/>
  </complexType>
  <element name="Identification" substitutionGroup="gml:AbstractObject" type="app:IdentificationType">
    <annotation>
      <documentation>Identification: Unique identifier of an object that can be used by external applications as a reference to the object. The identifier is managed by the responsible producer/administrator of the data-set.</documentation>
    </annotation>
  </element>
  <complexType name="IdentificationType">
    <sequence>
      <element name="localId" type="string">
        <annotation>
          <documentation>localId: Local identifier, unique within it's namespace - no other objects share the same identifier.</documentation>
        </annotation>
      </element>
      <element name="namespace" type="string">
        <annotation>
          <documentation>namespace: Namespace uniquely identifying the data source of the object.</documentation>
        </annotation>
      </element>
      <element name="versionId" type="string">
        <annotation>
          <documentation>versionId: Identification of a certain version of a geographically referenced object.
Maximum length is 25 characters. This is in line with ISO 8601. Example: 2007-02-12T12:12:12+05:30.</documentation>
        </annotation>
      </element>
    </sequence>
  </complexType>
  <complexType name="IdentificationPropertyType">
    <sequence>
      <element ref="app:Identification"/>
    </sequence>
  </complexType>
  <element name="PhysicalAddress" substitutionGroup="gml:AbstractObject" type="app:PhysicalAddressType">
    <annotation>
      <documentation>Identification of street address.</documentation>
    </annotation>
  </element>
  <complexType name="PhysicalAddressType">
    <sequence>
      <element minOccurs="0" name="streetName" type="string">
        <annotation>
          <documentation>Street name, number and letter.</documentation>
        </annotation>
      </element>
      <element minOccurs="0" name="postCode" type="string">
        <annotation>
          <documentation>Four digit code that identifies a post code area.

Note: The first digit designates a post zone, the two first digits designate a post region, the first three digits designate a post area and all four digits designate a post code area/location.</documentation>
        </annotation>
      </element>
      <element minOccurs="0" name="postTown" type="string">
        <annotation>
          <documentation>Name of the post code area in accordance with the mail service's own lists.</documentation>
        </annotation>
      </element>
    </sequence>
  </complexType>
  <complexType name="PhysicalAddressPropertyType">
    <sequence>
      <element ref="app:PhysicalAddress"/>
    </sequence>
  </complexType>
</schema>
