<?xml version="1.0"?>
<schema targetNamespace="http://ws.infotorg.no/xml/EVRY/InfotorgForetak/2015-12-01/InfotorgForetak.xsd"
        xmlns:tns="http://ws.infotorg.no/xml/EVRY/InfotorgForetak/2015-12-01/InfotorgForetak.xsd"
        xmlns:Rolleutskrift_v1="http://ws.infotorg.no/xml/EVRY/InfotorgForetak/2015-12-01/Rolleutskrift_v1.xsd"
        xmlns:Hovedinformasjon="http://ws.infotorg.no/xml/EVRY/InfotorgForetak/2015-12-01/Hovedinformasjon.xsd"
        xmlns:BedrifterVirksomheter="http://ws.infotorg.no/xml/EVRY/InfotorgForetak/2015-12-01/BedrifterVirksomheter.xsd"
        xmlns="http://www.w3.org/2001/XMLSchema">

  <annotation>
    <documentation xml:lang="no">
      Datatyper for EVRY InfotorgForetak.

      © 2017 EVRY AS
      Forfatter: Morten Haugen &lt;morten.haugen2@evry.com&gt;
    </documentation>
  </annotation>

  <import
          namespace="http://ws.infotorg.no/xml/EVRY/InfotorgForetak/2015-12-01/Rolleutskrift_v1.xsd"
          schemaLocation="https://ws.infotorg.no/xml/EVRY/InfotorgForetak/2015-12-01/Rolleutskrift_v1.xsd"/>

    <import
          namespace="http://ws.infotorg.no/xml/EVRY/InfotorgForetak/2015-12-01/Hovedinformasjon.xsd"
          schemaLocation="https://ws.infotorg.no/xml/EVRY/InfotorgForetak/2015-12-01/Hovedinformasjon.xsd"/>

  <import
          namespace="http://ws.infotorg.no/xml/EVRY/InfotorgForetak/2015-12-01/BedrifterVirksomheter.xsd"
          schemaLocation="https://ws.infotorg.no/xml/EVRY/InfotorgForetak/2015-12-01/BedrifterVirksomheter.xsd"/>

  <include
      schemaLocation="https://ws.infotorg.no/xml/EVRY/InfotorgForetak/2015-12-01/include/Kunngjoeringer.xsd"/>
	<include
      schemaLocation="https://ws.infotorg.no/xml/EVRY/InfotorgForetak/2015-12-01/include/ResultatregnskapOgBalanse.xsd"/>
	  <include
      schemaLocation="https://ws.infotorg.no/xml/EVRY/InfotorgForetak/2015-12-01/include/Navneliste.xsd"/>
    <element name="hentRolleutskrift_v1" type="tns:orgnrfoedselsnrsoek"/>

  <element name="hentHovedinformasjonPrivat" type="tns:orgnrsoek"/>
  <element name="hentHovedinformasjonOffentlig" type="tns:orgnrsoek"/>

  <element name="hentBedrifterVirksomheter" type="tns:orgnrsoek"/>

  <element name="hentFirmaattestOnline" type="tns:orgnrsoek"/>

  <element name="hentKunngjoeringerUttrekk" type="tns:kunngjoeringuttrekk"/>

  <element name="hentKunngjoeringerEnhet" type="tns:orgnrsoek"/>

  <element name="hentKunngjoeringstyper"/>

  <element name="hentResultatregnskapOgBalanse" type="tns:regnskapsoek"/>

  <element name="hentNavneliste" type="tns:navnesoek"/>

    <element name="Rolleutskrift_v1">
    <complexType>
      <sequence>
        <element ref="Rolleutskrift_v1:grunndata"/>
      </sequence>
    </complexType>
  </element>

    <element name="KunngjoeringerUttrekk" type="tns:KunngjoeringerUttrekk"/>
    <element name="KunngjoeringerEnhet" type="tns:KunngjoeringerEnhet"/>
    <element name="ResultatregnskapOgBalanse" type="tns:ResultatregnskapOgBalanse"/>
    <element name="Navneliste" type="tns:Navneliste"/>
  <element name="HovedinformasjonOffentlig" type="Hovedinformasjon:Hovedinformasjon"/>
  <element name="HovedinformasjonPrivat" type="Hovedinformasjon:Hovedinformasjon"/>
  <element name="BedrifterVirksomheter" type="BedrifterVirksomheter:BedrifterVirksomheter"/>
  <element name="FirmaattestOnline" type="tns:FirmaattestOnline"/>

  <complexType name="KunngjoeringerUttrekk">
    <sequence>
      <element name="status" type="tns:status"/>
      <element name="enhet" type="tns:enhetKunngjoering" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
  </complexType>

  <element name="Kunngjoeringstyper" type="tns:Kunngjoeringstyper"/>

  <complexType name="Kunngjoeringstyper">
    <sequence>
      <element name="status" type="tns:status"/>
      <element name="Kunngjoeringstyper" type="tns:kunngjoeringstype"/>
    </sequence>
  </complexType>

  <complexType name="kunngjoeringstype">
    <sequence>
      <element name="ktype1" minOccurs="0" maxOccurs="unbounded">
        <complexType>
          <sequence>
            <element name="ktype2" minOccurs="0" maxOccurs="unbounded">
              <complexType>
                <sequence>
                  <element name="ktype3" minOccurs="0" maxOccurs="unbounded">
                    <complexType>
                      <attribute name="txt" type="string" use="required"/>
                      <attribute name="kode" type="string"/>
                    </complexType>
                  </element>
                </sequence>
                <attribute name="txt" type="string" use="required"/>
                <attribute name="kode" type="string"/>
              </complexType>
            </element>
          </sequence>
          <attribute name="txt" type="string" use="required"/>
          <attribute name="kode" type="string"/>
        </complexType>
      </element>
    </sequence>
  </complexType>


    <complexType name="KunngjoeringerEnhet">
    <sequence>
      <element name="status" type="tns:status"/>
      <element name="enhet" type="tns:enhet" minOccurs="0"/>
      <element name="Kunngjoeringer" type="tns:Kunngjoeringer" minOccurs="0"/>
    </sequence>
  </complexType>

	<complexType name="ResultatregnskapOgBalanse">
      <sequence>
        <element name="status" type="tns:status"/>
        <element name="enhet" type="tns:ResultatregnskapOgBalanseEnhet" minOccurs="0"/>
        <element name="ResultatregnskapOgBalanseDetaljer" type="tns:ResultatregnskapOgBalanseDetaljer" minOccurs="0" maxOccurs="unbounded"/>
      </sequence>
    </complexType>
	
    <complexType name="enhet">
      <sequence>
        <element name="orgnr" type="string"/>
        <element name="navn" type="string"/>
      </sequence>
    </complexType>

  <complexType name="ResultatregnskapOgBalanseEnhet">
    <sequence>
      <element name="orgnr" type="string"/>
      <element name="navn" type="string"/>
      <element name="selskapsform" type="string" minOccurs="0"/>
      <element name="stiftet" type="string" minOccurs="0"/>
      <element name="ansatte" type="tns:Ansatte" minOccurs="0"/>
    </sequence>
  </complexType>

  <complexType name="FirmaattestOnline">
    <sequence>
      <choice>
        <element ref="tns:HovedinformasjonOffentlig"/>
        <element ref="tns:HovedinformasjonPrivat"/>
      </choice>
      <element ref="tns:Rolleutskrift_v1"/>
      <element ref="tns:BedrifterVirksomheter"/>
    </sequence>
  </complexType>

  <complexType name="Ansatte">
    <simpleContent>
      <extension base="string">
        <attribute name="aar" type="string" default="0000"/>
      </extension>
    </simpleContent>
  </complexType>

  <simpleType name="Torgnr">
    <restriction base="string">
      <length value="9"/>
    </restriction>
  </simpleType>

  <!-- Grunndata -->
  <complexType name="orgnrfoedselsnrsoek">
    <choice>
      <element name="orgnr">
        <simpleType>
          <restriction base="string">
            <minLength value="9"/>
            <maxLength value="9"/>
          </restriction>
        </simpleType>
      </element>
      <element name="foedselsnr">
        <simpleType>
          <restriction base="string">
            <minLength value="11"/>
            <maxLength value="11"/>
          </restriction>
        </simpleType>
      </element>
    </choice>
  </complexType>

  <complexType name="status">
    <sequence>
      <element name="statuskode" type="tns:Tstatuskode"/>
      <element name="statusmelding" type="string"/>
      <element name="antall" type="int" minOccurs="0"/>
      <element name="flereTreff" type="boolean" minOccurs="0"/>
    </sequence>
  </complexType>

  <complexType name="orgnrsoek">
    <sequence>
      <element name="orgnr" type="tns:Torgnr"/>
    </sequence>
  </complexType>

  <complexType name="regnskapsoek">
    <sequence>
      <element name="orgnr" type="tns:Torgnr"/>
      <element name="konsern" type="string" minOccurs="0"/>
    </sequence>
  </complexType>

  <complexType name="navnesoek">
        <sequence>
            <element name="navn" type="string"/>
            <element name="fonetisk" type="boolean"/>
            <group ref="tns:fkp" minOccurs="0"/>
            <element name="naeringskode" type="string" minOccurs="0"/>
            <element name="tilgjengelighet" type="tns:tilgjengelighet" minOccurs="0"/>
            <element name="ekskl_slettet" type="boolean" minOccurs="0"/>
            <element name="ekskl_hist" type="boolean" minOccurs="0"/>
        </sequence>
    </complexType>

    <simpleType name="tilgjengelighet">
        <restriction base="string">
            <enumeration value="A"/>
            <enumeration value="O"/>
            <enumeration value=""/>
        </restriction>
    </simpleType>

    <group name="fkp">
        <choice>
            <element name="fylkesnr" type="string"/>
            <element name="kommunenr" type="string"/>
            <element name="postnr" type="string"/>
        </choice>
    </group>

    <complexType name="kunngjoeringuttrekk">
    <sequence>
      <choice>
        <element name="kommunenr" type="tns:Tkomnr" minOccurs="0"/>
        <element name="fylkesnr" type="tns:Tfylkenr" minOccurs="0"/>
      </choice>
      <element name="fraDato" type="date" minOccurs="0"/>
      <element name="tilDato" type="date" minOccurs="0"/>
      <element name="kunngjoeringstyper" minOccurs="0">
        <complexType>
          <sequence>
            <element name="kunngjoeringstype" type="tns:Tkunngjoering" minOccurs="1" maxOccurs="99"/>
          </sequence>
        </complexType>
      </element>
    </sequence>
  </complexType>

  <complexType name="enhetKunngjoering">
    <sequence>
      <element name="orgnr" type="tns:Torgnr"/>
      <element name="navn" type="string"/>
      <element name="offentligdato" type="date"/>
      <element name="kunngjoeringstype" type="tns:Tkunngjoering"/>
      <element name="kunngjoeringstekst" type="string"/>
    </sequence>
  </complexType>

  <simpleType name="Tkomnr">
    <restriction base="string">
      <pattern value="[0-9]{4}"/>
    </restriction>
  </simpleType>

  <simpleType name="Tfylkenr">
    <restriction base="string">
      <pattern value="[0-9]{2}"/>
    </restriction>
  </simpleType>

  <simpleType name="Tstatuskode">
    <restriction base="int">
      <enumeration value="1">
        <annotation>
          <documentation xml:lang="no">Ok, svar returneres</documentation>
          <documentation xml:lang="en">Ok, response is returned</documentation>
        </annotation>
      </enumeration>
      <enumeration value="2">
        <annotation>
          <documentation xml:lang="no">Ok. Annen registreringsenhet</documentation>
          <documentation xml:lang="en">Ok. Different registration unit</documentation>
        </annotation>
      </enumeration>
      <enumeration value="3">
        <annotation>
          <documentation xml:lang="no">For ResultatregnskapOgBalanse. Regnskap funnet, men med registreringsenhet (hovedenhet)</documentation>
          <documentation xml:lang="en">Used by ResultatregnskapOgBalanse. Income statement found, but with registration unit (main unit)</documentation>
        </annotation>
      </enumeration>
      <enumeration value="-1">
        <annotation>
          <documentation xml:lang="no">For KunngjoeringerUttrekk. Ingen kunngjøringer funnet.</documentation>
          <documentation xml:lang="en">Used by KunngjoeringerUttrek. No announcements found.</documentation>
        </annotation>
      </enumeration>
      <enumeration value="-2">
        <annotation>
          <documentation xml:lang="no">For KunngjoeringerEnhet. Ingen enhet funnet.</documentation>
          <documentation xml:lang="en">Used by KunngjoeringerEnhet. No entity found.</documentation>
        </annotation>
      </enumeration>
      <enumeration value="-3">
        <annotation>
          <documentation xml:lang="no">For ResultatregnskapOgBalanse. Ingen regnskap funnet..</documentation>
          <documentation xml:lang="en">Used by ResultatregnskapOgBalanse. No income statement found.</documentation>
        </annotation>
      </enumeration>
      <enumeration value="-4">
        <annotation>
          <documentation xml:lang="no">For Kunngjøringstyper. Ingen kunngjøringstyper funnet..</documentation>
          <documentation xml:lang="en">Used by Kunngjøringstyper. No kunngjøringstyper found.</documentation>
        </annotation>
      </enumeration>
    </restriction>
  </simpleType>

  <simpleType name="Tkunngjoering">
    <restriction base="string">
      <enumeration value="FFOR"/>
      <enumeration value="FFÃR"/>
      <enumeration value="FMUU"/>
      <enumeration value="EURE"/>
      <enumeration value="RDBF"/>
      <enumeration value="TVKP"/>
      <enumeration value="MURE"/>
      <enumeration value="DOM"/>
      <enumeration value="DIFI"/>
      <enumeration value="NYFR"/>
      <enumeration value="OPPH_TO"/>
      <enumeration value="KONK"/>
      <enumeration value="INNS"/>
      <enumeration value="OPPH_KO"/>
      <enumeration value="OPPH_TV"/>
      <enumeration value="TVOP"/>
      <enumeration value="FORT"/>
      <enumeration value="AVSl"/>
      <enumeration value="TVANG"/>
      <enumeration value="REFR"/>
      <enumeration value="ADÃD"/>
      <enumeration value="ANSL">
        <annotation>
          <documentation xml:lang="no">
            Annullering av sletting
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="ADOD">
        <annotation>
          <documentation xml:lang="no">
            Varsel om sletting
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="ANNU">
        <annotation>
          <documentation xml:lang="no">
            Annulering av registrering
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="ANOP">
        <annotation>
          <documentation xml:lang="no">
            Annullering av oppløsning
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="OO">
        <annotation>
          <documentation xml:lang="no">
            Omgjøring av oppløsning
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="FRAK">
        <annotation>
          <documentation xml:lang="no">
            Administrativ kunngjøring
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="RBES">
        <annotation>
          <documentation xml:lang="no">
            Rettelse av bestyrende reder
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="RDGL">
        <annotation>
          <documentation xml:lang="no">
            Rettelse av daglig leder
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="RDLT">
        <annotation>
          <documentation xml:lang="no">
            Rettelse av deltager
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="RFDR">
        <annotation>
          <documentation xml:lang="no">
            Rettelse av forretningsadresse
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="RFFØ">
        <annotation>
          <documentation xml:lang="no">
            Rettelse av forretningsfører
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="RFRM">
        <annotation>
          <documentation xml:lang="no">
            Rettelse av virksomhet/ bransje
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="RINN">
        <annotation>
          <documentation xml:lang="no">
            Rettelse av innehaver
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="RKAP">
        <annotation>
          <documentation xml:lang="no">
            Rettelse av kapital
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="RKMP">
        <annotation>
          <documentation xml:lang="no">
            Rettelse av komplementar
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="RNAV">
        <annotation>
          <documentation xml:lang="no">
            Rettelse av foretaksnavn
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="RREV">
        <annotation>
          <documentation xml:lang="no">
            Rettelse av revisor
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="RSIG">
        <annotation>
          <documentation xml:lang="no">
            Rettelse av signatur
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="RSTY">
        <annotation>
          <documentation xml:lang="no">
            Rettelse av styre
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="RVDT">
        <annotation>
          <documentation xml:lang="no">
            Rettelse av vedtektsdato
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="RVFO">
        <annotation>
          <documentation xml:lang="no">
            Rettelse av formål
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="RVGD">
        <annotation>
          <documentation xml:lang="no">
            Rettelse av varighetsdato
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="RREP ">
        <annotation>
          <documentation xml:lang="no">
            Rettelse av norsk representant
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="RPRO">
        <annotation>
          <documentation xml:lang="no">
            Rettelse av prokura
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="INNH">
        <annotation>
          <documentation xml:lang="no">
            Endring av innehaver
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="DAGL">
        <annotation>
          <documentation xml:lang="no">
            Endring av daglig leder
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="BEST">
        <annotation>
          <documentation xml:lang="no">
            Endring av bestyrende reder
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="FFOR">
        <annotation>
          <documentation xml:lang="no">
            Endring av forretningsfører
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="FFØR">
        <annotation>
          <documentation xml:lang="no">
            Endring av forretningsfører
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="DELT">
        <annotation>
          <documentation xml:lang="no">
            Endring av deltaker
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="KOMP">
        <annotation>
          <documentation xml:lang="no">
            Endring av komplementar
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="STYR">
        <annotation>
          <documentation xml:lang="no">
            Endring av styre
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="REVI">
        <annotation>
          <documentation xml:lang="no">
            Endring av revisor
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="SIGN">
        <annotation>
          <documentation xml:lang="no">
            Endring av signatur
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="REPR">
        <annotation>
          <documentation xml:lang="no">
            Endring av norsk representant
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="PROK">
        <annotation>
          <documentation xml:lang="no">
            Endring av prokura
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="FMKA">
        <annotation>
          <documentation xml:lang="no">
            Fullmakt kapitalforhøyelse
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="FMAK">
        <annotation>
          <documentation xml:lang="no">
            Fullmakt erverv av egne aksjer
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="FMAP">
        <annotation>
          <documentation xml:lang="no">
            Fullmakt avtalepant i egne aksjer
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="KAPI">
        <annotation>
          <documentation xml:lang="no">
            Endring av kapital
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="FMKL">
        <annotation>
          <documentation xml:lang="no">
            Fullmakt konvertibelt lån
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="KLAN">
        <annotation>
          <documentation xml:lang="no">
            Konvertibelt lån
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="TRAK">
        <annotation>
          <documentation xml:lang="no">
            Tegningsrettsaksjer
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="FSTR">
        <annotation>
          <documentation xml:lang="no">
            Frittstående tegningsretter
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="GOVE">
        <annotation>
          <documentation xml:lang="no">
            Gjennomført nedsettelse overkursfond
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="GKBI">
        <annotation>
          <documentation xml:lang="no">
            Gjennomført konsernbidrag
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="GUTB">
        <annotation>
          <documentation xml:lang="no">
            Gjennomført utbytte
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="ADØD">
        <annotation>
          <documentation xml:lang="no">
            Antatt døde foretak
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="OP">
        <annotation>
          <documentation xml:lang="no">
            Oppløsing
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="FUSJ">
        <annotation>
          <documentation xml:lang="no">
            Beslutning om fusjon
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="FISJ">
        <annotation>
          <documentation xml:lang="no">
            Beslutning om fisjon
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="NKAP">
        <annotation>
          <documentation xml:lang="no">
            Kapitalnedsettelse
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="OVER">
        <annotation>
          <documentation xml:lang="no">
            Nedsettelse av overkursfond
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="UTBY">
        <annotation>
          <documentation xml:lang="no">
            Utdeling av utbytte
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="KBID">
        <annotation>
          <documentation xml:lang="no">
            Utdeling av konsernbidrag
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="SROA">
        <annotation>
          <documentation xml:lang="no">
            Stiftelse – omdanning for avvikling (Oppløsning)
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="SROS">
        <annotation>
          <documentation xml:lang="no">
            Stiftelse – omdanning for sammenslåing (Fusjon)
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="SRKN">
        <annotation>
          <documentation xml:lang="no">
            Stiftelse - kapitalnedsettelse
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="SROD">
        <annotation>
          <documentation xml:lang="no">
            Stiftelse – omdanning for deling (Fisjon)
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="FUPL">
        <annotation>
          <documentation xml:lang="no">
            Fusjonsplan
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="FIPL">
        <annotation>
          <documentation xml:lang="no">
            Fisjonsplan
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="FIRM">
        <annotation>
          <documentation xml:lang="no">
            Endring av firma
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="FADR">
        <annotation>
          <documentation xml:lang="no">
            Endring av forretningsadresse
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="VEDT">
        <annotation>
          <documentation xml:lang="no">
            Endring av vedtektsdato
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="VFOR">
        <annotation>
          <documentation xml:lang="no">
            Endring av formål
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="FORM">
        <annotation>
          <documentation xml:lang="no">
            Endring av art/bransje
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="VARI">
        <annotation>
          <documentation xml:lang="no">
            Endring av varighetsdato
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="FOAI">
        <annotation>
          <documentation xml:lang="no">
            Forsinket oppgjør ved krav på aksjeinnskudd
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="DEPO">
        <annotation>
          <documentation xml:lang="no">
            Frigivelse av deponert beløp
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="VPS">
        <annotation>
          <documentation xml:lang="no">
            Overgang aksjeeierbok/ VPS
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="FREV">
        <annotation>
          <documentation xml:lang="no">
            Revisjon av årsregnskap
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="FLYP">
        <annotation>
          <documentation xml:lang="no">
            Flytteplan
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="FLYB">
        <annotation>
          <documentation xml:lang="no">
            Beslutning om flytting
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="OMPL">
        <annotation>
          <documentation xml:lang="no">
            Omdanningsplan
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="SEPL">
        <annotation>
          <documentation xml:lang="no">
            Stiftelsesplan
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="SEVK">
        <annotation>
          <documentation xml:lang="no">
            Vilkår for stifting av SE-holdingselskap er oppfylt
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="ERVE">
        <annotation>
          <documentation xml:lang="no">
            Meldepliktig avtale
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="RERV">
        <annotation>
          <documentation xml:lang="no">
            Rettelse av meldepliktig avtale
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="RSEV">
        <annotation>
          <documentation xml:lang="no">
            Rettelse av kunngjøring om vilkår for stiftelse av SE-holdingselskap er oppfylt
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="TVDS">
        <annotation>
          <documentation xml:lang="no">
            Tvungen overføring av aksjer i datterselskap
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="SFUP">
        <annotation>
          <documentation xml:lang="no">
            Stopp av fusjonsplan
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="FUGJ">
        <annotation>
          <documentation xml:lang="no">
            Gjennomføring av fusjon
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="FUSL">
        <annotation>
          <documentation xml:lang="no">
            Sletting etter fusjon
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="FUOM">
        <annotation>
          <documentation xml:lang="no">
            Omgjøring av fusjon
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="FUDE">
        <annotation>
          <documentation xml:lang="no">
            Delvis omgjøring av fusjon
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="FISL">
        <annotation>
          <documentation xml:lang="no">
            Sletting etter fisjon
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="FIGJ">
        <annotation>
          <documentation xml:lang="no">
            Gjennomføring av fisjon
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="FIOM">
        <annotation>
          <documentation xml:lang="no">
            Omgjøring av fisjon
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="FIDE">
        <annotation>
          <documentation xml:lang="no">
            Delvis omgjøring av fisjon
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="DOFI">
        <annotation>
          <documentation xml:lang="no">
            Domsbeslutning vedr. ugyldig fisjon
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="ROLL">
        <annotation>
          <documentation xml:lang="no">
            Varsel om tvangsoppløsning  (på grunn av manglende styre, daglig leder eller revisor)
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="SLET"/>
      <enumeration value="ARSO">
        <annotation>
          <documentation xml:lang="no">
            Godkjente årsregnskap
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="ANNR">
        <annotation>
          <documentation xml:lang="no">
            Annulering av godkjent årsregnskap (ÅRSO)
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="VTOP">
        <annotation>
          <documentation xml:lang="no">
            Varsel om tvangsoppløsning på grunn av manglende innsendt årsregnskap.
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="WAAP">
        <annotation>
          <documentation xml:lang="no">
            Konkursåpning
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="WOAP">
        <annotation>
          <documentation xml:lang="no">
            Oppheving av konkurs
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="WAVS">
        <annotation>
          <documentation xml:lang="no">
            Avslutning av bobehandling
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="WINS">
        <annotation>
          <documentation xml:lang="no">
            Innstilling av bobehandling
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="WFBO">
        <annotation>
          <documentation xml:lang="no">
            Fortsettelse av bobehandling
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="WATO">
        <annotation>
          <documentation xml:lang="no">
            Tvangsoppløsning
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="WOTO">
        <annotation>
          <documentation xml:lang="no">
            Oppheving av tvangsoppløsning
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="WATV">
        <annotation>
          <documentation xml:lang="no">
            Tvangsavvikling
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="WOTV">
        <annotation>
          <documentation xml:lang="no">
            Oppheving av tvangsavvikling
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="WGFA">
        <annotation>
          <documentation xml:lang="no">
            Åpning av frivillig gjeldsforhandling
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="WGTA">
        <annotation>
          <documentation xml:lang="no">
            Åpning av tvangsakkord
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="WGTS">
        <annotation>
          <documentation xml:lang="no">
            Stadfestelse/innstilling av tvangsakkord
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="PRNY">
        <annotation>
          <documentation xml:lang="no">
            Nyregistrering av pari
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="PREN">
        <annotation>
          <documentation xml:lang="no">
            Endring av partnavn
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="PRKL">
        <annotation>
          <documentation xml:lang="no">
            Partilovnemndas vedtak
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="PROK">
        <annotation>
          <documentation xml:lang="no">
            Endring av prokura
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="PRSL">
        <annotation>
          <documentation xml:lang="no">
            Strøket partinavn
          </documentation>
        </annotation>
      </enumeration>
    </restriction>
  </simpleType>

</schema>