|
6 | 6 | <xs:documentation xml:lang="en"> |
7 | 7 | This is the normative XML Schema 1.0 schema for the MAP SSP |
8 | 8 | SystemStructure 2.0 common content across formats. |
9 | | - |
| 9 | + |
10 | 10 | Version: 2.0 |
11 | 11 |
|
12 | 12 | Copyright 2016 -- 2025 Modelica Association Project "SSP" |
|
40 | 40 | POSSIBILITY OF SUCH DAMAGE. |
41 | 41 | </xs:documentation> |
42 | 42 | </xs:annotation> |
43 | | - |
| 43 | + |
44 | 44 | <xs:attributeGroup name="ABaseElement"> |
45 | 45 | <xs:annotation> |
46 | 46 | <xs:documentation xml:lang="en"> |
|
59 | 59 | <xs:annotation> |
60 | 60 | <xs:documentation xml:lang="en"> |
61 | 61 | This attribute gives a human readable longer description of the |
62 | | - model element, which can be shown to the user where appropriate. |
| 62 | + model element, which can be shown to the user where appropriate. |
63 | 63 | </xs:documentation> |
64 | 64 | </xs:annotation> |
65 | 65 | </xs:attribute> |
66 | 66 | </xs:attributeGroup> |
67 | | - |
| 67 | + |
68 | 68 | <xs:attributeGroup name="ATopLevelMetaData"> |
69 | 69 | <xs:annotation> |
70 | 70 | <xs:documentation xml:lang="en"> |
71 | | - This attribute group specifies the optional meta-data attributes common to |
| 71 | + This attribute group specifies the optional meta-data attributes common to |
72 | 72 | all top-level container elements of all defined file formats. |
73 | 73 | </xs:documentation> |
74 | 74 | </xs:annotation> |
75 | 75 | <xs:attribute name="author" type="xs:string" use="optional"> |
76 | 76 | <xs:annotation> |
77 | 77 | <xs:documentation xml:lang="en"> |
78 | | - This attribute gives the name of the author of this file's content. |
| 78 | + This attribute gives the name of the author of this file's content. |
79 | 79 | </xs:documentation> |
80 | 80 | </xs:annotation> |
81 | 81 | </xs:attribute> |
82 | 82 | <xs:attribute name="fileversion" type="xs:normalizedString" use="optional"> |
83 | 83 | <xs:annotation> |
84 | 84 | <xs:documentation xml:lang="en"> |
85 | | - This attribute gives a version number for this file's content. |
| 85 | + This attribute gives a version number for this file's content. |
86 | 86 | </xs:documentation> |
87 | 87 | </xs:annotation> |
88 | 88 | </xs:attribute> |
89 | 89 | <xs:attribute name="copyright" type="xs:string" use="optional"> |
90 | 90 | <xs:annotation> |
91 | 91 | <xs:documentation xml:lang="en"> |
92 | | - This attribute gives copyright information for this file's content. |
| 92 | + This attribute gives copyright information for this file's content. |
93 | 93 | </xs:documentation> |
94 | 94 | </xs:annotation> |
95 | 95 | </xs:attribute> |
96 | 96 | <xs:attribute name="license" type="xs:string" use="optional"> |
97 | 97 | <xs:annotation> |
98 | 98 | <xs:documentation xml:lang="en"> |
99 | | - This attribute gives license information for this file's content. |
| 99 | + This attribute gives license information for this file's content. |
100 | 100 | </xs:documentation> |
101 | 101 | </xs:annotation> |
102 | 102 | </xs:attribute> |
103 | 103 | <xs:attribute name="generationTool" type="xs:normalizedString"> |
104 | 104 | <xs:annotation> |
105 | 105 | <xs:documentation xml:lang="en"> |
106 | | - This attribute gives the name of the tool that generated this file. |
| 106 | + This attribute gives the name of the tool that generated this file. |
107 | 107 | </xs:documentation> |
108 | 108 | </xs:annotation> |
109 | 109 | </xs:attribute> |
110 | 110 | <xs:attribute name="generationDateAndTime" type="xs:dateTime"> |
111 | 111 | <xs:annotation> |
112 | 112 | <xs:documentation xml:lang="en"> |
113 | | - This attribute gives the date and time this file was generated. |
| 113 | + This attribute gives the date and time this file was generated. |
114 | 114 | </xs:documentation> |
115 | 115 | </xs:annotation> |
116 | 116 | </xs:attribute> |
117 | 117 | </xs:attributeGroup> |
118 | | - |
| 118 | + |
119 | 119 | <xs:simpleType name="TGenericInteger"> |
120 | 120 | <xs:restriction base="xs:integer"> |
121 | 121 | <xs:maxInclusive value="18446744073709551615"/> |
122 | 122 | <xs:minInclusive value="-9223372036854775808"/> |
123 | 123 | </xs:restriction> |
124 | 124 | </xs:simpleType> |
125 | | - |
| 125 | + |
126 | 126 | <xs:complexType name="TEnumerations"> |
127 | 127 | <xs:sequence> |
128 | 128 | <xs:element name="Enumeration" minOccurs="1" maxOccurs="unbounded" type="ssc:TEnumeration"/> |
129 | 129 | </xs:sequence> |
130 | 130 | </xs:complexType> |
131 | | - |
| 131 | + |
132 | 132 | <xs:complexType name="TEnumeration"> |
133 | 133 | <xs:sequence> |
134 | 134 | <xs:element name="Item" minOccurs="1" maxOccurs="unbounded"> |
|
157 | 157 | </xs:annotation> |
158 | 158 | </xs:attribute> |
159 | 159 | </xs:complexType> |
160 | | - |
| 160 | + |
161 | 161 | <xs:complexType name="TUnits"> |
162 | 162 | <xs:sequence> |
163 | 163 | <xs:element name="Unit" minOccurs="1" maxOccurs="unbounded" type="ssc:TUnit"/> |
164 | 164 | </xs:sequence> |
165 | 165 | </xs:complexType> |
166 | | - |
| 166 | + |
167 | 167 | <xs:complexType name="TUnit"> |
168 | 168 | <xs:sequence> |
169 | 169 | <xs:element name="BaseUnit"> |
|
224 | 224 | </xs:annotation> |
225 | 225 | </xs:attribute> |
226 | 226 | </xs:complexType> |
227 | | - |
| 227 | + |
228 | 228 | <xs:complexType name="TAnnotations"> |
229 | 229 | <xs:sequence maxOccurs="unbounded"> |
230 | 230 | <xs:element name="Annotation"> |
|
236 | 236 | <xs:annotation> |
237 | 237 | <xs:documentation xml:lang="en"> |
238 | 238 | The unique name of the type of the annotation. |
239 | | - |
| 239 | + |
240 | 240 | In order to ensure uniqueness all types should be identified |
241 | 241 | with reverse domain name notation (cf. Java package names |
242 | 242 | or Apple UTIs) of a domain that is controlled by the entity |
243 | 243 | defining the semantics and content of the annotation. |
244 | | - |
| 244 | + |
245 | 245 | For vendor-specific annotations this would e.g. be a domain |
246 | 246 | controlled by the tool vendor. |
247 | | - |
| 247 | + |
248 | 248 | For MAP-SSP defined annotations, this will be a domain under |
249 | 249 | the org.modelica prefix. |
250 | 250 | </xs:documentation> |
|
254 | 254 | </xs:element> |
255 | 255 | </xs:sequence> |
256 | 256 | </xs:complexType> |
257 | | - |
| 257 | + |
258 | 258 | <xs:group name="GMetaData"> |
259 | 259 | <xs:sequence> |
260 | 260 | <xs:element name="MetaData" minOccurs="0" maxOccurs="unbounded"> |
|
359 | 359 | </xs:element> |
360 | 360 | </xs:sequence> |
361 | 361 | </xs:group> |
362 | | - |
| 362 | + |
363 | 363 | <xs:complexType name="SignatureType"> |
364 | 364 | <xs:sequence> |
365 | 365 | <xs:element name="Content" type="ssc:ContentType" minOccurs="0" maxOccurs="1"/> |
|
462 | 462 | This attribute gives the unit of the entity and must |
463 | 463 | reference one of the unit definitions provided in the Units |
464 | 464 | element of the containing file. |
465 | | - |
| 465 | + |
466 | 466 | If a unit is not supplied, the unit is determined through |
467 | 467 | default mechanisms: For FMU components, the unit of the |
468 | 468 | underlying variable would be used, for systems the units |
|
482 | 482 | This attribute gives the unit of the entity and must |
483 | 483 | reference one of the unit definitions provided in the Units |
484 | 484 | element of the containing file. |
485 | | - |
| 485 | + |
486 | 486 | If a unit is not supplied, the unit is determined through |
487 | 487 | default mechanisms: For FMU components, the unit of the |
488 | 488 | underlying variable would be used, for systems the units |
|
502 | 502 | This attribute gives the unit of the entity and must |
503 | 503 | reference one of the unit definitions provided in the Units |
504 | 504 | element of the containing file. |
505 | | - |
| 505 | + |
506 | 506 | If a unit is not supplied, the unit is determined through |
507 | 507 | default mechanisms: For FMU components, the unit of the |
508 | 508 | underlying variable would be used, for systems the units |
|
584 | 584 | connected binary connectors, or provide automatic means of |
585 | 585 | conversion between different formats. It should be noted |
586 | 586 | that the implementation is not required to provide this |
587 | | - service, i.e. it remains the responsibility of the operator |
| 587 | + service, i.e. it remains the responsibility of the operator |
588 | 588 | to ensure only compatible binary connectors are connected. |
589 | 589 | </xs:documentation> |
590 | 590 | </xs:annotation> |
|
616 | 616 | </xs:element> |
617 | 617 | </xs:choice> |
618 | 618 | </xs:group> |
619 | | - |
| 619 | + |
620 | 620 | <xs:group name="GTransformationChoice"> |
621 | 621 | <xs:annotation> |
622 | 622 | <xs:documentation xml:lang="en"> |
|
639 | 639 | This attribute specifies an optional factor value to use in a linear |
640 | 640 | transformation of the source parameter value to the target parameter |
641 | 641 | value, i.e. in the calculation target = factor * source + offset. |
642 | | - |
| 642 | + |
643 | 643 | Note that conversions based on different units are performed, unless |
644 | 644 | prevented by suppressUnitConversion, prior to the application of the |
645 | 645 | linear transformation, i.e. the value of source is already converted |
|
653 | 653 | This attribute specifies an optional offset value to use in a linear |
654 | 654 | transformation of the source parameter value to the target parameter |
655 | 655 | value, i.e. in the calculation target = factor * source + offset. |
656 | | - |
| 656 | + |
657 | 657 | Note that conversions based on different units are performed, unless |
658 | 658 | prevented by suppressUnitConversion, prior to the application of the |
659 | 659 | linear transformation, i.e. the value of source is already converted |
|
701 | 701 | <xs:annotation> |
702 | 702 | <xs:documentation xml:lang="en"> |
703 | 703 | This element provides for a transformation of integer parameter values |
704 | | - based on a mapping table and is valid for parameters of all integer and |
| 704 | + based on a mapping table and is valid for parameters of all integer and |
705 | 705 | enumeration types. Each mapping table entry is provided by a MapEntry |
706 | 706 | element. |
707 | 707 | </xs:documentation> |
|
769 | 769 | </xs:element> |
770 | 770 | </xs:choice> |
771 | 771 | </xs:group> |
772 | | - |
| 772 | + |
773 | 773 | <xs:group name="GDimensions"> |
774 | 774 | <xs:sequence> |
775 | 775 | <xs:element name="Dimension" minOccurs="0" maxOccurs="unbounded"> |
|
779 | 779 | If no dimension elements are present in a connector, it is a scalar |
780 | 780 | connector. The number of dimension elements in a connector provides |
781 | 781 | the dimensionality of the array. |
782 | | - |
| 782 | + |
783 | 783 | Either the size or the sizeConnector attributes CAN be present |
784 | 784 | on the element, indicating a fixed size, or a size that depends on |
785 | 785 | the structural parameter or constant referenced by the sizeConnector |
786 | 786 | attribute. |
787 | | - |
| 787 | + |
788 | 788 | If none of the attributes are present, then the size of the dimension |
789 | 789 | is unspecified at the SSD level. If both attributes are present this |
790 | 790 | is considered an error. |
|
813 | 813 | </xs:element> |
814 | 814 | </xs:sequence> |
815 | 815 | </xs:group> |
816 | | - |
| 816 | + |
817 | 817 | </xs:schema> |
0 commit comments