<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns="http://id.kb.dk/schemas/kbids/v1" targetNamespace="http://id.kb.dk/schemas/kbids/v1" xmlns:xs="http://www.w3.org/2001/XMLSchema"  elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0">
    <xs:element name="kbids"  >
        <xs:complexType>
            <xs:annotation>
                <xs:documentation>KB only uses UUIDs for these types of identifiers.</xs:documentation>
            </xs:annotation>
            <xs:sequence>
                <xs:element name="intellectualEntityId" type="xs:string"/>
                <xs:element name="objectId" type="xs:string"/>
                <xs:element name="fileId" type="xs:string" minOccurs="0" maxOccurs="1"/>
            </xs:sequence>
            <xs:attribute name="version" type="xs:string" />
        </xs:complexType>  
    </xs:element>        
</xs:schema>
