Skip to content

Commit

Permalink
#43 Added annotations for TagTypes
Browse files Browse the repository at this point in the history
This commit doesn't alter the schema structurally - it simply adds annotations listing the "long names" for the "short codes" in the schema for TagType
  • Loading branch information
mmcgrath committed Jan 7, 2015
1 parent 0ffe2e8 commit 972a465
Showing 1 changed file with 85 additions and 17 deletions.
102 changes: 85 additions & 17 deletions ecvi.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -345,23 +345,91 @@ The age definitions adhere to UCUM - http://unitsofmeasure.org/ucum.html</xs:doc
<xs:documentation>This enforces the list of allowed tag types that are supported.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:enumeration value="UN"/>
<xs:enumeration value="AIN"/>
<xs:enumeration value="AMID"/>
<xs:enumeration value="BRAND"/>
<xs:enumeration value="BRAND-IMAGE"/>
<xs:enumeration value="BT"/>
<xs:enumeration value="IMP"/>
<xs:enumeration value="MGT"/>
<xs:enumeration value="N840RFID"/>
<xs:enumeration value="NUES8"/>
<xs:enumeration value="NUES9"/>
<xs:enumeration value="OFORID"/>
<xs:enumeration value="OTH"/>
<xs:enumeration value="NAME"/>
<xs:enumeration value="SGFLID"/>
<xs:enumeration value="NPIN"/>
<xs:enumeration value="TAT"/>
<xs:enumeration value="UN">
<xs:annotation>
<xs:documentation>Unknown</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="AIN">
<xs:annotation>
<xs:documentation>AIN tag (840 visual or RFID)</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="AMID">
<xs:annotation>
<xs:documentation>American ID (USA and 12 characters)</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="BRAND">
<xs:annotation>
<xs:documentation>Brand</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="BRAND-IMAGE">
<xs:annotation>
<xs:documentation>Brand image</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="BT">
<xs:annotation>
<xs:documentation>Backtag</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="IMP">
<xs:annotation>
<xs:documentation>Implant (RFID)</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="MGT">
<xs:annotation>
<xs:documentation>Management/Owner ID tag</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="N840RFID">
<xs:annotation>
<xs:documentation>Non-840 RFID</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="NUES8">
<xs:annotation>
<xs:documentation>NUES tag (8 characters)</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="NUES9">
<xs:annotation>
<xs:documentation>NUES tag (9 characters)</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="OFORID">
<xs:annotation>
<xs:documentation>Official foreign ID</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="OTH">
<xs:annotation>
<xs:documentation>Other ID (not official)</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="NAME">
<xs:annotation>
<xs:documentation>Name of animal</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="SGFLID">
<xs:annotation>
<xs:documentation>Sheep/goat - flock ID tag</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="NPIN">
<xs:annotation>
<xs:documentation>Sheep/goat National PIN tag</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="TAT">
<xs:annotation>
<xs:documentation>Tattoo</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="BreedType">
Expand Down

0 comments on commit 972a465

Please sign in to comment.