[16] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
| 2 | <xsd:schema |
---|
| 3 | elementFormDefault="qualified" |
---|
| 4 | attributeFormDefault="unqualified" |
---|
| 5 | targetNamespace="http://www.posc.org/schemas/unitAlias" |
---|
| 6 | xmlns:ua="http://www.posc.org/schemas/unitAlias" |
---|
| 7 | xmlns:xsd="http://www.w3.org/2001/XMLSchema"> |
---|
| 8 | <!-- --> |
---|
| 9 | <xsd:element name="unitAlias" type="ua:unitAlias"/> |
---|
| 10 | |
---|
| 11 | <xsd:complexType name="unitAlias"> |
---|
| 12 | <xsd:sequence> |
---|
| 13 | <xsd:element name="unit" type="ua:unit" minOccurs="1" maxOccurs="unbounded"> |
---|
| 14 | <xsd:annotation> |
---|
| 15 | <xsd:documentation>A single unit of measure.</xsd:documentation> |
---|
| 16 | </xsd:annotation> |
---|
| 17 | </xsd:element> |
---|
| 18 | </xsd:sequence> |
---|
| 19 | <xsd:attribute name="version" type="xsd:string" use="optional"/> |
---|
| 20 | </xsd:complexType> |
---|
| 21 | <!-- --> |
---|
| 22 | <xsd:complexType name="unit"> |
---|
| 23 | <xsd:annotation> |
---|
| 24 | <xsd:documentation>A container for information about one unit of measure.</xsd:documentation> |
---|
| 25 | </xsd:annotation> |
---|
| 26 | <xsd:sequence> |
---|
| 27 | <xsd:element name="name" type="xsd:string" minOccurs="1" maxOccurs="1"> |
---|
| 28 | <xsd:annotation> |
---|
| 29 | <xsd:documentation>The name of the unit of measure.</xsd:documentation> |
---|
| 30 | </xsd:annotation> |
---|
| 31 | </xsd:element> |
---|
| 32 | <xsd:element name="alias" type="ua:nameStruct" minOccurs="1" maxOccurs="unbounded"> |
---|
| 33 | <xsd:annotation> |
---|
| 34 | <xsd:documentation>An alias for the unit of measure. |
---|
| 35 | The same alias value can be specified in many different sources. |
---|
| 36 | This would allow one file to capture aliases from many sources |
---|
| 37 | while only applying aliases from one source for a particular transform.</xsd:documentation> |
---|
| 38 | </xsd:annotation> |
---|
| 39 | </xsd:element> |
---|
| 40 | </xsd:sequence> |
---|
| 41 | </xsd:complexType> |
---|
| 42 | <!-- --> |
---|
| 43 | <xsd:complexType name="nameStruct"> |
---|
| 44 | <xsd:annotation> |
---|
| 45 | <xsd:documentation>The name of something with a source for the name.</xsd:documentation> |
---|
| 46 | </xsd:annotation> |
---|
| 47 | <xsd:simpleContent> |
---|
| 48 | <xsd:extension base="xsd:string"> |
---|
| 49 | <xsd:attribute name="source" type="xsd:string" use="optional"> |
---|
| 50 | <xsd:annotation> |
---|
| 51 | <xsd:documentation>The name of the source of the alias.</xsd:documentation> |
---|
| 52 | </xsd:annotation> |
---|
| 53 | </xsd:attribute> |
---|
| 54 | </xsd:extension> |
---|
| 55 | </xsd:simpleContent> |
---|
| 56 | </xsd:complexType> |
---|
| 57 | <!-- --> |
---|
| 58 | </xsd:schema> |
---|