<?xml version="1.0" encoding="UTF-8"?>

<!--
    Document   : ConfigurationFile.xsd
    Created on : 01 February 2006, 09:20
    Author     : linb
    CVS Id     : $Id: ConfigurationFile.xsd,v 1.3 2006/02/09 16:50:44 linb Exp $
-->

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
            xmlns:cf="http://www.nationalarchives.gov.uk/pronom/ConfigurationFile"
            targetNamespace="http://www.nationalarchives.gov.uk/pronom/ConfigurationFile"
            elementFormDefault="qualified">

    <xsd:annotation>
        <xsd:documentation xml:lang="en">
            The DROID Configuration File Schema
            
            Crown Copyright @ 2005.  All rights reserved.

            Developed by:
            Tessella Support Services plc
            3 Vineyard Chambers
            Abingdon, OX14 3PX
            United Kingdom
            http://www.tessella.com

            Tessella/NPD/48265
            PRONOM 5a
        </xsd:documentation>
    </xsd:annotation>
    
    <!-- Version History:
    
    $Log: ConfigurationFile.xsd,v $
    Revision 1.3  2006/02/09 16:50:44  linb
    Removed example file  comment

    Revision 1.2  2006/02/06 09:21:59  linb
    - Changed namespace URI to be at nationalarchives.gov.uk

    Revision 1.1  2006/02/02 10:02:40  linb
    - Created XML Schema files for:
    1) The DROID configuration file
    2) File collection file (with elements instead of attributes)
    3) The File Format Signature File (with more constraints: key/values for IDs and hex byes restricted two hex characters).

    
    -->
    <xsd:element name="ConfigFile">
        <xsd:complexType>
            <xsd:sequence>
                <xsd:element name="SigFile" type="xsd:string" />
                <xsd:element name="SigFileVersion" type="xsd:string" />
                <xsd:element name="SigFileURL" type="xsd:anyURI" />
                <xsd:sequence minOccurs="0" maxOccurs="1">
                    <xsd:element name="ProxyHost" />
                    <xsd:element name="ProxyPort" />
                </xsd:sequence>
                <xsd:element name="SigFileCheckFreq">
                    <xsd:simpleType>
                        <xsd:restriction base="xsd:positiveInteger">
                            <xsd:maxInclusive value="500" />
                        </xsd:restriction>
                    </xsd:simpleType>
                </xsd:element>
                <xsd:element name="DateLastDownload" type="xsd:dateTime" />
            </xsd:sequence>
        </xsd:complexType>
    </xsd:element>

</xsd:schema>
