|
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?> |
|
2 <xsd:schema xmlns:crml="http:///crml.ecore" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ecore:nsPrefix="crml" ecore:package="com.nokia.tools.vct.crml.crml" targetNamespace="http:///crml.ecore"> |
|
3 <xsd:import namespace="http://www.eclipse.org/emf/2002/Ecore" schemaLocation="platform:/plugin/org.eclipse.emf.ecore/model/Ecore.xsd"/> |
|
4 <xsd:element name="repository" type="crml:repositoryType"/> |
|
5 <xsd:complexType abstract="true" ecore:name="CommonAttrs" name="commonType"> |
|
6 <xsd:attribute name="id" type="ecore:EString"/> |
|
7 </xsd:complexType> |
|
8 <xsd:complexType ecore:name="Meta" name="metaType"> |
|
9 <xsd:complexContent> |
|
10 <xsd:extension base="crml:commonType"> |
|
11 <xsd:sequence> |
|
12 <xsd:element ecore:name="identification" form="qualified" minOccurs="0" name="id" type="ecore:EString"/> |
|
13 <xsd:element form="qualified" minOccurs="0" name="date" type="ecore:EString"/> |
|
14 <xsd:element form="qualified" minOccurs="0" name="platform" type="ecore:EString"/> |
|
15 <xsd:element form="qualified" minOccurs="0" name="owner" type="ecore:EString"/> |
|
16 <xsd:element form="qualified" minOccurs="0" name="editor" type="ecore:EString"/> |
|
17 <xsd:element form="qualified" minOccurs="0" name="status" type="ecore:EString"/> |
|
18 <xsd:element form="qualified" minOccurs="0" name="version" type="ecore:EString"/> |
|
19 <xsd:element form="qualified" minOccurs="0" name="product" type="ecore:EString"/> |
|
20 <xsd:element form="qualified" minOccurs="0" name="release" type="ecore:EString"/> |
|
21 </xsd:sequence> |
|
22 </xsd:extension> |
|
23 </xsd:complexContent> |
|
24 </xsd:complexType> |
|
25 <xsd:complexType ecore:name="Content" name="contentType"> |
|
26 <xsd:simpleContent> |
|
27 <xsd:extension base="ecore:EString"/> |
|
28 </xsd:simpleContent> |
|
29 </xsd:complexType> |
|
30 <xsd:complexType ecore:implements="crml:accessibleType crml:backupType" ecore:name="Repository" name="repositoryType"> |
|
31 <xsd:complexContent> |
|
32 <xsd:extension base="crml:descrType"> |
|
33 <xsd:sequence> |
|
34 <xsd:element ecore:resolveProxies="true" form="qualified" maxOccurs="unbounded" minOccurs="0" name="key" type="crml:keyType"/> |
|
35 <xsd:element ecore:resolveProxies="true" form="qualified" minOccurs="0" name="meta" type="crml:metaType"/> |
|
36 <xsd:element ecore:name="rangeKey" ecore:resolveProxies="true" form="qualified" maxOccurs="unbounded" minOccurs="0" name="keyRange" type="crml:keyRangeType"/> |
|
37 </xsd:sequence> |
|
38 <xsd:attribute name="version" type="ecore:EString"/> |
|
39 <xsd:attribute name="uidName" type="ecore:EString"/> |
|
40 <xsd:attribute name="uidValue" type="ecore:EString"/> |
|
41 <xsd:attribute name="initialisationFileVersion" type="ecore:EString"/> |
|
42 <xsd:attribute name="owner" type="ecore:EString"/> |
|
43 <xsd:attribute ecore:unsettable="false" name="rfs" type="ecore:EBoolean"/> |
|
44 </xsd:extension> |
|
45 </xsd:complexContent> |
|
46 </xsd:complexType> |
|
47 <xsd:complexType ecore:implements="crml:rvgType crml:readOnlyType crml:accessibleType crml:backupType" ecore:name="Key" name="keyType"> |
|
48 <xsd:complexContent> |
|
49 <xsd:extension base="crml:descrType"> |
|
50 <xsd:sequence> |
|
51 <xsd:element ecore:resolveProxies="true" form="qualified" maxOccurs="unbounded" minOccurs="0" name="value" type="crml:valueType"/> |
|
52 <xsd:element ecore:name="bits" ecore:resolveProxies="true" form="qualified" maxOccurs="unbounded" minOccurs="0" name="bit" type="crml:bitType"/> |
|
53 </xsd:sequence> |
|
54 <xsd:attribute name="name" type="ecore:EString"/> |
|
55 <xsd:attribute ecore:name="ident" name="int" type="ecore:EString"/> |
|
56 <xsd:attribute ecore:unsettable="false" name="type" type="crml:keyTypeValue"/> |
|
57 </xsd:extension> |
|
58 </xsd:complexContent> |
|
59 </xsd:complexType> |
|
60 <xsd:complexType ecore:implements="crml:rvgType crml:readOnlyType crml:accessibleType crml:backupType" ecore:name="KeyRange" name="keyRangeType"> |
|
61 <xsd:complexContent> |
|
62 <xsd:extension base="crml:descrType"> |
|
63 <xsd:sequence> |
|
64 <xsd:element ecore:name="keys" form="qualified" maxOccurs="unbounded" minOccurs="0" name="key" type="crml:keyType"/> |
|
65 </xsd:sequence> |
|
66 <xsd:attribute name="name" type="ecore:EString"/> |
|
67 <xsd:attribute name="int" type="ecore:EString"/> |
|
68 <xsd:attribute name="firstInt" type="ecore:EString"/> |
|
69 <xsd:attribute name="lastInt" type="ecore:EString"/> |
|
70 <xsd:attribute name="indexBits" type="ecore:EString"/> |
|
71 <xsd:attribute name="firstIndex" type="ecore:EString"/> |
|
72 <xsd:attribute name="countInt" type="ecore:EString"/> |
|
73 </xsd:extension> |
|
74 </xsd:complexContent> |
|
75 </xsd:complexType> |
|
76 <xsd:complexType ecore:name="Access" name="accessType"> |
|
77 <xsd:complexContent> |
|
78 <xsd:extension base="crml:descrType"> |
|
79 <xsd:attribute ecore:unsettable="false" name="type" type="crml:accessTypeValue"/> |
|
80 <xsd:attribute name="capabilities" type="ecore:EString"/> |
|
81 <xsd:attribute name="sid" type="ecore:EString"/> |
|
82 </xsd:extension> |
|
83 </xsd:complexContent> |
|
84 </xsd:complexType> |
|
85 <xsd:complexType ecore:name="Value" name="valueType"> |
|
86 <xsd:complexContent> |
|
87 <xsd:extension base="crml:contentType"> |
|
88 <xsd:attribute ecore:name="val" name="value" type="ecore:EString"/> |
|
89 <xsd:attribute name="id" type="ecore:EString"/> |
|
90 </xsd:extension> |
|
91 </xsd:complexContent> |
|
92 </xsd:complexType> |
|
93 <xsd:complexType ecore:implements="crml:rvgType" ecore:name="Bit" name="bitType"> |
|
94 <xsd:complexContent> |
|
95 <xsd:extension base="crml:contentType"> |
|
96 <xsd:attribute ecore:id="true" ecore:name="state" ecore:unsettable="false" name="value" type="ecore:EBoolean"/> |
|
97 </xsd:extension> |
|
98 </xsd:complexContent> |
|
99 </xsd:complexType> |
|
100 <xsd:complexType abstract="true" ecore:interface="true" ecore:name="RVG" name="rvgType"> |
|
101 <xsd:attribute name="ref" type="ecore:EString"/> |
|
102 </xsd:complexType> |
|
103 <xsd:simpleType ecore:name="TYPE" name="keyTypeValue"> |
|
104 <xsd:restriction base="xsd:string"> |
|
105 <xsd:enumeration value="int"/> |
|
106 <xsd:enumeration value="real"/> |
|
107 <xsd:enumeration value="string"/> |
|
108 <xsd:enumeration value="string8"/> |
|
109 <xsd:enumeration value="binary"/> |
|
110 </xsd:restriction> |
|
111 </xsd:simpleType> |
|
112 <xsd:simpleType ecore:name="ACCESS_TYPE" name="accessTypeValue"> |
|
113 <xsd:restriction base="xsd:string"> |
|
114 <xsd:enumeration value="ND"/> |
|
115 <xsd:enumeration ecore:name="READ" value="R"/> |
|
116 <xsd:enumeration ecore:name="WRITE" value="W"/> |
|
117 </xsd:restriction> |
|
118 </xsd:simpleType> |
|
119 <xsd:complexType abstract="true" ecore:name="AttributeAndDescription" name="descrType"> |
|
120 <xsd:complexContent> |
|
121 <xsd:extension base="crml:commonType"> |
|
122 <xsd:attribute name="desc" type="ecore:EString"/> |
|
123 </xsd:extension> |
|
124 </xsd:complexContent> |
|
125 </xsd:complexType> |
|
126 <xsd:complexType abstract="true" ecore:interface="true" ecore:name="IReadOnly" name="readOnlyType"> |
|
127 <xsd:attribute ecore:unsettable="false" name="readOnly" type="ecore:EBoolean"/> |
|
128 </xsd:complexType> |
|
129 <xsd:complexType abstract="true" ecore:interface="true" ecore:name="IAccessable" name="accessibleType"> |
|
130 <xsd:sequence> |
|
131 <xsd:element ecore:name="Access" ecore:resolveProxies="true" form="qualified" maxOccurs="unbounded" minOccurs="0" name="access" type="crml:accessType"/> |
|
132 </xsd:sequence> |
|
133 </xsd:complexType> |
|
134 <xsd:complexType abstract="true" ecore:interface="true" ecore:name="IBackup" name="backupType"> |
|
135 <xsd:attribute ecore:unsettable="false" name="backup" type="ecore:EBoolean"/> |
|
136 </xsd:complexType> |
|
137 </xsd:schema> |