| 1 |
<vo-dml:model xmlns:vo-dml="http://www.ivoa.net/xml/VODML/v1.0"> |
| 2 |
<name>dachstoy</name> |
| 3 |
<description>A toy model for DaCHS regression testing</description> |
| 4 |
<uri>http://docs.g-vo.org/dachstoy</uri> |
| 5 |
<title>DaCHS Toy model</title> |
| 6 |
<author>[email protected]</author> |
| 7 |
<version>1.0a-pl23.44c</version> |
| 8 |
<lastModified>2016-07-08T08:28:00</lastModified> |
| 9 |
|
| 10 |
<dataType> |
| 11 |
<vodml-id>Location</vodml-id> |
| 12 |
<name>Location</name> |
| 13 |
<description>Where something is.</description> |
| 14 |
|
| 15 |
<attribute> |
| 16 |
<vodml-id>Location.x</vodml-id> |
| 17 |
<name>x</name> |
| 18 |
<description>One piece of a location</description> |
| 19 |
<datatype> |
| 20 |
<vodml-ref>ivoa:real</vodml-ref> |
| 21 |
</datatype> |
| 22 |
<multiplicity><minOccurs>0</minOccurs> |
| 23 |
<maxOccurs>1</maxOccurs></multiplicity> |
| 24 |
</attribute> |
| 25 |
|
| 26 |
<attribute> |
| 27 |
<vodml-id>Location.y</vodml-id> |
| 28 |
<name>y</name> |
| 29 |
<description>Another piece of a location</description> |
| 30 |
<datatype> |
| 31 |
<vodml-ref>ivoa:real</vodml-ref> |
| 32 |
</datatype> |
| 33 |
<multiplicity><minOccurs>0</minOccurs> |
| 34 |
<maxOccurs>1</maxOccurs></multiplicity> |
| 35 |
</attribute> |
| 36 |
|
| 37 |
<attribute> |
| 38 |
<vodml-id>Location.z</vodml-id> |
| 39 |
<name>z</name> |
| 40 |
<description>And still another piece of a location</description> |
| 41 |
<datatype> |
| 42 |
<vodml-ref>ivoa:real</vodml-ref> |
| 43 |
</datatype> |
| 44 |
<multiplicity><minOccurs>0</minOccurs> |
| 45 |
<maxOccurs>1</maxOccurs></multiplicity> |
| 46 |
</attribute> |
| 47 |
</dataType> |
| 48 |
|
| 49 |
<objectType> |
| 50 |
<vodml-id>Ruler</vodml-id> |
| 51 |
<name>Ruler</name> |
| 52 |
<description>Something to measure lengths with</description> |
| 53 |
|
| 54 |
<attribute> |
| 55 |
<vodml-id>Ruler.width</vodml-id> |
| 56 |
<name>width</name> |
| 57 |
<description>A dimension</description> |
| 58 |
<datatype> |
| 59 |
<vodml-ref>ivoa:real</vodml-ref> |
| 60 |
</datatype> |
| 61 |
<multiplicity><minOccurs>1</minOccurs> |
| 62 |
<maxOccurs>1</maxOccurs></multiplicity> |
| 63 |
</attribute> |
| 64 |
|
| 65 |
<attribute> |
| 66 |
<vodml-id>Ruler.birthday</vodml-id> |
| 67 |
<name>birthday</name> |
| 68 |
<description>Everyone rejoice!</description> |
| 69 |
<datatype> |
| 70 |
<vodml-ref>ivoa:datetime</vodml-ref> |
| 71 |
</datatype> |
| 72 |
<multiplicity><minOccurs>0</minOccurs> |
| 73 |
<maxOccurs>1</maxOccurs></multiplicity> |
| 74 |
</attribute> |
| 75 |
|
| 76 |
<attribute> |
| 77 |
<vodml-id>Ruler.maker</vodml-id> |
| 78 |
<name>maker</name> |
| 79 |
<description>Who to go see (the whole lot of them)</description> |
| 80 |
<datatype> |
| 81 |
<vodml-ref>ivoa:string</vodml-ref> |
| 82 |
</datatype> |
| 83 |
<multiplicity><minOccurs>0</minOccurs> |
| 84 |
<maxOccurs>-1</maxOccurs></multiplicity> |
| 85 |
</attribute> |
| 86 |
|
| 87 |
<attribute> |
| 88 |
<vodml-id>Ruler.location</vodml-id> |
| 89 |
<name>location</name> |
| 90 |
<description>Where to find the ruler</description> |
| 91 |
<datatype> |
| 92 |
<vodml-ref>dachstoy:Location</vodml-ref> |
| 93 |
</datatype> |
| 94 |
<multiplicity><minOccurs>0</minOccurs> |
| 95 |
<maxOccurs>-1</maxOccurs></multiplicity> |
| 96 |
</attribute> |
| 97 |
|
| 98 |
<reference> |
| 99 |
<vodml-id>Ruler.successor</vodml-id> |
| 100 |
<name>successor</name> |
| 101 |
<description>Long live the king</description> |
| 102 |
<datatype><vodml-ref>dachstoy:Ruler</vodml-ref></datatype> |
| 103 |
<multiplicity><minOccurs>0</minOccurs> |
| 104 |
<maxOccurs>1</maxOccurs></multiplicity> |
| 105 |
</reference> |
| 106 |
</objectType> |
| 107 |
|
| 108 |
|
| 109 |
<objectType> |
| 110 |
<vodml-id>Cooler</vodml-id> |
| 111 |
<name>Cooler</name> |
| 112 |
<description>Something to cool Rulers with</description> |
| 113 |
|
| 114 |
<attribute> |
| 115 |
<vodml-id>Cooler.tempLimit</vodml-id> |
| 116 |
<name>tempLimit</name> |
| 117 |
<description>How cool can it get?</description> |
| 118 |
<datatype> |
| 119 |
<vodml-ref>ivoa:RealQuantity</vodml-ref> |
| 120 |
</datatype> |
| 121 |
<multiplicity><minOccurs>1</minOccurs> |
| 122 |
<maxOccurs>1</maxOccurs></multiplicity> |
| 123 |
</attribute> |
| 124 |
</objectType> |
| 125 |
|
| 126 |
</vo-dml:model> |