<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:lan201="http://www.bolagsverket.se/schemas/common/lan/lan_201" xmlns:informationshuvud200="http://www.bolagsverket.se/schemas/common/informationshuvud/informationshuvud_200" xmlns:foretagsform201="http://www.bolagsverket.se/schemas/common/foretagsform/foretagsform_201" xmlns:identitet201="http://www.bolagsverket.se/schemas/common/identitet/identitet_201" xmlns="http://www.bolagsverket.se/schemas/kungorelseinformation/POIT_Export_200" xmlns:adress202="http://www.bolagsverket.se/schemas/common/adress/adress_202" xmlns:identitet202="http://www.bolagsverket.se/schemas/common/identitet/identitet_202" targetNamespace="http://www.bolagsverket.se/schemas/kungorelseinformation/POIT_Export_200" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:import namespace="http://www.bolagsverket.se/schemas/common/informationshuvud/informationshuvud_200" schemaLocation="./../common/informationshuvud/Informationshuvud_2.00.xsd"/>
	<xs:import namespace="http://www.bolagsverket.se/schemas/common/lan/lan_201" schemaLocation="./../common/lan/Lan_2.01.xsd"/>
	<xs:import namespace="http://www.bolagsverket.se/schemas/common/adress/adress_202" schemaLocation="./../common/adress/Adress_2.02.xsd"/>
	<xs:element name="Kungorelseinformation">		
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="informationshuvud200:Informationshuvud" minOccurs="0"/>				
				<xs:element ref="Kungorelse" minOccurs="0" maxOccurs="unbounded"/>
			</xs:sequence>
			<xs:attribute name="SchemaVersion" type="xs:string" use="required" fixed="2.00"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="Kungorelse">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="KungorelseID" type="xs:string"/>
				<xs:element name="Publiceringsdatum" type="xs:date"/>
				<xs:element name="Kundnamn" type="xs:string" minOccurs="1"/>
				<xs:element name="Rattelse" minOccurs="0">
					<xs:complexType>
						<xs:sequence>
							<xs:element name="ErsatterID" type="xs:string" minOccurs="0">
								<xs:annotation>
									<xs:documentation>Vilket kundgörelseId som denna kungörelse ersätter</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="ersattsAvID" type="xs:string" minOccurs="0">
								<xs:annotation>
									<xs:documentation>Anger vilken kungörelse som denna kungörelse ersätts av</xs:documentation>
								</xs:annotation>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
				<xs:element name="Kungorelstyp">
					<xs:complexType>
						<xs:sequence>
							<xs:element name="Amnesomrade" type="xs:string"/>
							<xs:element name="Kungorelserubrik" type="xs:string"/>
							<xs:element name="Underrubrik" type="xs:string" minOccurs="0"/>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
				<xs:element name="Lan" type="lan201:LanType" minOccurs="0">
					<xs:annotation>
						<xs:documentation>Endast aktuell for vissa kungorlestyper</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Typdatum" minOccurs="0">
					<xs:annotation>
						<xs:documentation>Endast aktuell for vissa kungorelsetyper</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:sequence>
							<xs:element name="Typ" type="xs:string" minOccurs="0"/>
							<xs:element name="Datum" type="xs:date"/>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
				<xs:element name="FysiskJuridiskPerson" minOccurs="0" maxOccurs="unbounded">
					<xs:complexType>
						<xs:sequence>
							<xs:element name="Namn" type="xs:string"/>
							<xs:element name="PersonnummerOrgnummer" type="xs:string" minOccurs="0"/>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
				<xs:element name="Kungorelsetext" type="xs:string"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
</xs:schema>

