Commit | Line | Data |
---|---|---|
970ed795 EL |
1 | <?xml version="1.0" encoding="UTF-8" ?> |
2 | <!-- | |
d44e3c4f | 3 | Copyright (c) 2000-2016 Ericsson Telecom AB |
970ed795 EL |
4 | All rights reserved. This program and the accompanying materials |
5 | are made available under the terms of the Eclipse Public License v1.0 | |
6 | which accompanies this distribution, and is available at | |
7 | http://www.eclipse.org/legal/epl-v10.html | |
d44e3c4f | 8 | |
9 | Contributors: | |
10 | Balasko, Jeno | |
11 | Raduly, Csaba | |
12 | --> | |
970ed795 EL |
13 | <xs:schema targetNamespace="urn:ietf:params:xml:ns:rlmi" |
14 | elementFormDefault="qualified" | |
15 | xmlns="urn:ietf:params:xml:ns:rlmi" | |
16 | xmlns:xs="http://www.w3.org/2001/XMLSchema"> | |
17 | <xs:import namespace="http://www.w3.org/XML/1998/namespace" | |
18 | schemaLocation="xml.xsd"/> | |
19 | <xs:element name="list"> | |
20 | <xs:complexType> | |
21 | <xs:sequence> | |
22 | <xs:element ref="name" minOccurs="0" | |
23 | maxOccurs="unbounded" /> | |
24 | <xs:element ref="resource" minOccurs="0" | |
25 | maxOccurs="unbounded" /> | |
26 | </xs:sequence> | |
27 | <xs:attribute name="uri" type="xs:anyURI" use="required" /> | |
28 | <xs:attribute name="version" type="xs:unsignedInt" | |
29 | use="required" /> | |
30 | <xs:attribute name="fullState" type="xs:boolean" | |
31 | use="required" /> | |
32 | <xs:attribute name="cid" type="xs:string" use="optional" /> | |
33 | <xs:anyAttribute processContents="lax" /> | |
34 | </xs:complexType> | |
35 | </xs:element> | |
36 | <xs:element name="resource"> | |
37 | <xs:complexType> | |
38 | <xs:sequence> | |
39 | <xs:element ref="name" minOccurs="0" | |
40 | maxOccurs="unbounded" /> | |
41 | <xs:element ref="instance" minOccurs="0" | |
42 | maxOccurs="unbounded" /> | |
43 | </xs:sequence> | |
44 | <xs:attribute name="uri" type="xs:anyURI" use="required" /> | |
45 | <xs:anyAttribute processContents="lax" /> | |
46 | </xs:complexType> | |
47 | </xs:element> | |
48 | <xs:element name="instance"> | |
49 | <xs:complexType> | |
50 | <xs:sequence> | |
51 | <xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax" /> | |
52 | </xs:sequence> | |
53 | <xs:attribute name="id" type="xs:string" use="required" /> | |
54 | <xs:attribute name="state" use="required"> | |
55 | <xs:simpleType> | |
56 | <xs:restriction base="xs:string"> | |
57 | <xs:enumeration value="active" /> | |
58 | <xs:enumeration value="pending" /> | |
59 | <xs:enumeration value="terminated" /> | |
60 | </xs:restriction> | |
61 | </xs:simpleType> | |
62 | </xs:attribute> | |
63 | <xs:attribute name="reason" type="xs:string" | |
64 | use="optional" /> | |
65 | <xs:attribute name="cid" type="xs:string" use="optional" /> | |
66 | <xs:anyAttribute processContents="lax" /> | |
67 | </xs:complexType> | |
68 | </xs:element> | |
69 | <xs:element name="name"> | |
70 | <xs:complexType> | |
71 | <xs:simpleContent> | |
72 | <xs:extension base="xs:string"> | |
73 | <xs:attribute ref="xml:lang" use="optional"/> | |
74 | </xs:extension> | |
75 | </xs:simpleContent> | |
76 | </xs:complexType> | |
77 | </xs:element> | |
78 | </xs:schema> |