configurationengine/doc/xsd/hcrml.xsd
author terytkon
Thu, 11 Mar 2010 17:04:37 +0200
changeset 0 2e8eeb919028
permissions -rw-r--r--
Adding EPL version of configurationengine.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     1
<?xml version="1.0" encoding="UTF-8"?>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     2
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     3
    targetNamespace="http://www.symbianfoundation.org/xml/hcrml/1"
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     4
    xmlns:hcr="http://www.symbianfoundation.org/xml/hcrml/1"
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     5
    elementFormDefault="qualified">
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     6
 
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     7
    <xs:simpleType name="uidType">
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     8
        <xs:union>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     9
            <xs:simpleType>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    10
                <xs:restriction base="xs:nonNegativeInteger"/>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    11
            </xs:simpleType>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    12
            <xs:simpleType>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    13
                <xs:restriction base="xs:string">
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    14
                    <xs:pattern value="0x[0-9a-fA-F]{1,8}"/>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    15
                </xs:restriction>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    16
            </xs:simpleType>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    17
        </xs:union>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    18
    </xs:simpleType>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    19
    
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    20
    <xs:simpleType name="flagValueType">
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    21
        <xs:restriction base="xs:string">
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    22
            <xs:pattern value="[0-1]{1}"/>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    23
        </xs:restriction>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    24
    </xs:simpleType>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    25
    
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    26
    <xs:simpleType name="settingTypeType">
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    27
        <xs:restriction base="xs:string">
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    28
            <xs:enumeration value="int32"/>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    29
            <xs:enumeration value="int16"/>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    30
            <xs:enumeration value="int8"/>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    31
            <xs:enumeration value="bool"/>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    32
            <xs:enumeration value="uint32"/>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    33
            <xs:enumeration value="uint16"/>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    34
            <xs:enumeration value="uint8"/>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    35
            <xs:enumeration value="linaddr"/>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    36
            <xs:enumeration value="bindata"/>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    37
            <xs:enumeration value="text8"/>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    38
            <xs:enumeration value="arrayint32"/>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    39
            <xs:enumeration value="arrayuint32"/>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    40
            <xs:enumeration value="int64"/>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    41
            <xs:enumeration value="uint64"/>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    42
        </xs:restriction>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    43
    </xs:simpleType>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    44
    
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    45
    <xs:simpleType name="outputTypeType">
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    46
        <xs:restriction base="xs:string">
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    47
            <xs:enumeration value="hcr"/>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    48
            <xs:enumeration value="header"/>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    49
        </xs:restriction>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    50
    </xs:simpleType>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    51
 
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    52
    <xs:complexType name="settingFlagsType">
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    53
        <xs:attribute name="Uninitialised"  type="hcr:flagValueType"/>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    54
        <xs:attribute name="Modifiable"     type="hcr:flagValueType"/>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    55
        <xs:attribute name="Persistent"     type="hcr:flagValueType"/>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    56
    </xs:complexType>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    57
 
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    58
    <xs:complexType name="settingType">
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    59
        <xs:sequence>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    60
            <xs:element name="flags" type="hcr:settingFlagsType" minOccurs="0" maxOccurs="1"/>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    61
        </xs:sequence>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    62
        <xs:attribute name="ref"        type="xs:string"            use="required"/>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    63
        <xs:attribute name="name"       type="xs:string"            use="required"/>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    64
        <xs:attribute name="type"       type="hcr:settingTypeType"  use="required"/>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    65
        <xs:attribute name="id"         type="hcr:uidType"          use="required"/>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    66
        <xs:attribute name="comment"    type="xs:string"/>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    67
    </xs:complexType>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    68
    
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    69
    <xs:complexType name="categoryType">
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    70
        <xs:sequence>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    71
            <xs:element name="setting" type="hcr:settingType" minOccurs="0" maxOccurs="unbounded"/>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    72
        </xs:sequence>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    73
        <xs:attribute name="name"   type="xs:string"    use="required"/>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    74
        <xs:attribute name="uid"    type="hcr:uidType"  use="required"/>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    75
    </xs:complexType>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    76
    
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    77
    <xs:complexType name="includetype">
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    78
        <xs:attribute name="ref" type="xs:string" use="required"/>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    79
    </xs:complexType>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    80
    
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    81
    <xs:complexType name="outputType">
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    82
        <xs:choice>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    83
            <xs:element name="category" type="hcr:categoryType" minOccurs="0" maxOccurs="unbounded"/>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    84
            <xs:element name="include" type="hcr:includetype" minOccurs="1" maxOccurs="unbounded"/>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    85
        </xs:choice>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    86
        <xs:attribute name="file" type="xs:string" use="required"/>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    87
        <xs:attribute name="type" type="hcr:outputTypeType" use="required"/>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    88
        <xs:attribute name="version" type="xs:nonNegativeInteger"/>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    89
        <xs:attribute name="readOnly" type="hcr:flagValueType"/>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    90
    </xs:complexType>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    91
    
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    92
    <xs:complexType name="hcrRootType">
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    93
        <xs:choice>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    94
            <xs:element name="output" type="hcr:outputType" minOccurs="1" maxOccurs="1"/>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    95
            <xs:element name="category" type="hcr:categoryType" minOccurs="0" maxOccurs="unbounded"/>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    96
        </xs:choice>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    97
    </xs:complexType>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    98
    
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    99
    <xs:element name="hcr" type="hcr:hcrRootType"/>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
   100
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
   101
</xs:schema>