summaryrefslogtreecommitdiff
path: root/src/XmlOcafResource/XmlOcaf_TNaming_NamedShape.xsd
blob: 2fc5c8df0537c9778bf732350be88e934238419c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<schema targetNamespace="http://www.opencascade.org/OCAF/XML"
        xmlns="http://www.w3.org/2001/XMLSchema"
	xmlns:ocaf="http://www.opencascade.org/OCAF/XML"
	elementFormDefault="qualified">

<annotation>
  <documentation xml:lang="en">
    Open Cascade Application Framework: Definition of attribute TNaming_NamedShape
    This file is included in XmlOcaf.xsd
    URL: $(CASROOT)/src/XmlOcafResource/XmlOcaf_TNaming_NamedShape.xsd
  </documentation>
</annotation>

<complexType name="Location">
  <sequence>
    <element name="datum" minOccurs="0">
      <complexType>
        <attribute name="id" type="positiveInteger" use="required"/>
	<attribute name="trsf" use="required">
	  <simpleType>
	    <restriction base="ocaf:ListOfReal">
	      <length value="14"/>
	    </restriction>
	  </simpleType>
	</attribute>
      </complexType>
    </element>
    <element name="location" type="ocaf:Location" minOccurs="0"/>
  </sequence>
  <attribute name="power" type="positiveInteger" use="required"/>
  <attribute name="datum" type="positiveInteger" use="required"/>
</complexType>

<element name="TNaming_NamedShape" substitutionGroup="ocaf:AbstractAttribute">
  <complexType>
    <complexContent>
      <extension base="ocaf:AbstractAttributeType">
        <sequence>
	  <element name="array" minOccurs="0" maxOccurs="2">
	    <complexType>
	      <sequence>
	        <element name="shape" minOccurs="0" maxOccurs="unbounded">
		  <complexType>
		    <sequence>
		      <element name="location" type="ocaf:Location" minOccurs="0"/>
		    </sequence>
		    <attribute name="tshape" use="required">
		      <simpleType>
		        <restriction base="string">
			  <pattern value="[+-ie]\d+"/>
			</restriction>
		      </simpleType>
		    </attribute>
		    <attribute name="index" type="positiveInteger" use="required"/>
		  </complexType>
		</element>
	      </sequence>
	      <attribute name="id" type="positiveInteger" use="required"/>
	      <attribute name="lower" type="positiveInteger"/>
	      <attribute name="upper" type="positiveInteger"/>
	    </complexType>
	  </element>
	</sequence>
        <attribute name="olds" type="positiveInteger"/>
        <attribute name="news" type="positiveInteger"/>
        <attribute name="evolution" use="required">
	  <simpleType>
	    <restriction base="string">
	      <enumeration value="primitive"/>
	      <enumeration value="generated"/>
	      <enumeration value="modify"/>
	      <enumeration value="delete"/>
	      <enumeration value="selected"/>
	      <enumeration value="replace"/>
	    </restriction>
	  </simpleType>
	</attribute>
	<attribute name="version" type="positiveInteger"/>
      </extension>
    </complexContent>
  </complexType>
</element>

</schema>