<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
    xmlns:KMS="http://rep.oio.dk/kms.dk/miniMAKS/KMS/xml/schemas/yyyy/mm/dd/"
    xmlns:TEMA="http://rep.oio.dk/kms.dk/miniMAKS/TEMA/xml/schemas/yyyy/mm/dd/"
    xmlns:GEO="http://rep.oio.dk/kms.dk/miniMAKS/GEO/xml/schemas/yyyy/mm/dd/"
    xmlns:FSPEC="http://rep.oio.dk/kms.dk/miniMAKS/FSPEC/xml/schemas/yyyy/mm/dd/"
    targetNamespace="http://rep.oio.dk/kms.dk/miniMAKS/FSPEC/xml/schemas/yyyy/mm/dd/"
    elementFormDefault="qualified" attributeFormDefault="qualified" xml:lang="DA">
    <import namespace="http://rep.oio.dk/kms.dk/miniMAKS/KMS/xml/schemas/yyyy/mm/dd/" schemaLocation="KMS_TemalinieIdentifikator.xsd"/>
    <import namespace="http://rep.oio.dk/kms.dk/miniMAKS/KMS/xml/schemas/yyyy/mm/dd/" schemaLocation="KMS_LoebenrTemalinieIdentifikator.xsd"/>
    <import namespace="http://rep.oio.dk/kms.dk/miniMAKS/TEMA/xml/schemas/yyyy/mm/dd/" schemaLocation="TEMA_Forloeb.xsd"/>
    <import namespace="http://rep.oio.dk/kms.dk/miniMAKS/KMS/xml/schemas/yyyy/mm/dd/" schemaLocation="KMS_SkelReferenceIdentifikator.xsd"/>
    <import namespace="http://rep.oio.dk/kms.dk/miniMAKS/KMS/xml/schemas/yyyy/mm/dd/" schemaLocation="KMS_LoebenrSkelReferenceIdentifikator.xsd"/>
    <import namespace="http://rep.oio.dk/kms.dk/miniMAKS/GEO/xml/schemas/yyyy/mm/dd/" schemaLocation="GEO_LineString.xsd"/>
    <include schemaLocation="FSPEC_TemafladeOpdatStruktur.xsd"/>
    <include schemaLocation="FSPEC_TemaRegJSOpdatReferenceSamling.xsd"/>
    <element name="TemalinieOpdatStruktur" type="FSPEC:TemalinieOpdatStrukturType"/>
	<complexType name="TemalinieOpdatStrukturType">
		<sequence>
			<element ref="KMS:TemalinieIdentifikator" minOccurs="0"/>
			<element ref="KMS:LoebenrTemalinieIdentifikator" minOccurs="0"/>
            <element ref="TEMA:Forloeb"/>
            <element ref="KMS:SkelReferenceIdentifikator" minOccurs="0"/>
            <element ref="KMS:LoebenrSkelReferenceIdentifikator" minOccurs="0"/>
			<element ref="GEO:LineString"/>
            <element ref="FSPEC:TemaRegJSOpdatReferenceSamling" minOccurs="0"/>
		</sequence>
		<attribute name="Forandringskommando" type="FSPEC:TemalinieOpdatOperationskodeType" use="required"/>
	</complexType>
    <simpleType name="TemalinieOpdatOperationskodeType">
		<restriction base="string">
			<enumeration value="slet"/>
			<enumeration value="ret"/>
			<enumeration value="indsaet"/>
		</restriction>
	</simpleType>
</schema>