<?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <xsd:schema 
        xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
        xmlns="http://www.isan.org/ISAN/isan"
        targetNamespace="http://www.isan.org/ISAN/isan" 
        elementFormDefault="qualified">
        <xsd:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/XML.xsd"/>
       <xsd:annotation>
        <xsd:documentation  source="ISAN International Agency" xml:lang="ENG">
            - ISAN and ISAN Version XML encoding schema (ISO 15706-2:2006  Annex E). 
            - Version 1.0. 
            - Last change: None
            - Publication :  29/11/2006 -
        </xsd:documentation>
    </xsd:annotation>
    <xsd:simpleType name="rootType">
        <xsd:restriction base="xsd:string">
            <xsd:pattern value="[\dA-Fa-f]{4}-[\dA-Fa-f]{4}-[\dA-Fa-f]{4}" />
        </xsd:restriction>
    </xsd:simpleType>
    <xsd:simpleType name="episodeOrPartType">
        <xsd:restriction base="xsd:string">
            <xsd:pattern value="[\dA-Fa-f]{4}" />
        </xsd:restriction>
    </xsd:simpleType>
    <xsd:simpleType name="versionType">
        <xsd:restriction base="xsd:string">
            <xsd:pattern value="[\dA-Fa-f]{4}-[\dA-Fa-f]{4}" />
        </xsd:restriction>
    </xsd:simpleType>
    <xsd:simpleType name="checkType">
        <xsd:restriction base="xsd:string">
            <xsd:pattern value="[\dA-Za-z]{1}" />
        </xsd:restriction>
    </xsd:simpleType>
    <xsd:attributeGroup name="isanGroup">
        <xsd:attribute name="root" type="rootType" use="required" />
        <xsd:attribute name="episodeOrPart" type="episodeOrPartType" use="optional" />
        <xsd:attribute name="check1" type="checkType" use="optional" />
        <xsd:attribute name="version" type="versionType" use="optional" />
        <xsd:attribute name="check2" type="checkType" use="optional" />
    </xsd:attributeGroup>
    <xsd:complexType name="isanType">
        <xsd:attributeGroup ref="isanGroup" />
    </xsd:complexType>
    <xsd:element name="ISAN" type="isanType" />
</xsd:schema>