﻿<?xml version="1.0" encoding="utf-8"?>
<schema
    targetNamespace="http://itst.dk/schemas/danmarkservice"
    elementFormDefault="qualified"
    xmlns:dk="http://itst.dk/schemas/danmarkservice"
    xmlns="http://www.w3.org/2001/XMLSchema"
		xmlns:cpr5="http://rep.oio.dk/cpr.dk/xml/schemas/core/2005/03/18/"
		xmlns:cpr6="http://rep.oio.dk/cpr.dk/xml/schemas/core/2006/05/23/"
>
	<include schemaLocation="kommuner.xsd" />
	<include schemaLocation="adresser.xsd" />
	<import namespace="http://rep.oio.dk/cpr.dk/xml/schemas/core/2005/03/18/" schemaLocation="http://rep.oio.dk/cpr.dk/xml/schemas/core/2005/03/18/CPR_AuthorityCode.xsd" />
	<import namespace="http://rep.oio.dk/cpr.dk/xml/schemas/core/2006/05/23/" schemaLocation="http://rep.oio.dk/cpr.dk/xml/schemas/core/2006/05/23/CPR_AuthorityName.xsd" />

	<element name="region" type="dk:regiontype" />
	
	<complexType name="regiontype">
		<sequence>
			<element name="nr" type="cpr5:AuthorityCodeType"  minOccurs="0"/>
			<element name ="navn" type="cpr6:AuthorityNameType" minOccurs="0"/>
			<element name ="kommuner" type="dk:kommunertype" minOccurs="0" />
			<element name ="adresser" type="dk:adressertype" minOccurs="0" />
		</sequence>
		<attribute name="ref" type="anyURI" />
	</complexType>
</schema>

