xSD
Xml
code posted
created at 07 Dec 03:23
Edit
|
Back
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 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 |
<?xml version="1.0" encoding="utf-8"?> <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="Worksheet"> <xs:complexType> <xs:sequence> <xs:element ref="Test" minOccurs="1" maxOccurs="unbounded" /> </xs:sequence> <xs:attribute name="test_code" type="xs:string" /> <xs:attribute name="test_name" type="xs:string" /> <xs:attribute name="version" type="xs:string" /> </xs:complexType> </xs:element> <xs:element name="Test"> <xs:complexType> <xs:sequence> <xs:element name="Data"> <xs:complexType> <xs:sequence> <xs:element type="xs:string" name="ArticleNumber" /> <xs:element type="xs:string" name="OperatorUserID" /> <xs:element type="xs:string" name="OperatorName" /> <xs:element type="xs:date" name="DateTested" /> <xs:element type="xs:string" name="Q102A_Required" /> <xs:element type="xs:string" name="ConeSharpness" /> <xs:element type="xs:short" name="DropHeight" /> <xs:element type="xs:string" name="SeatingDepth" /> <xs:element type="xs:string" name="ReferencePoint" /> <xs:element type="xs:string" name="SoilDescription" /> <xs:element type="xs:string" name="MoistureCondition" /> <xs:element type="xs:string" name="DepthOfMoistureObservation" /> <xs:element type="xs:string" name="DescriptionOfMaterialProfile" /> <xs:element name="Penetrations"> <xs:complexType> <xs:sequence> <xs:element name="Penetration" maxOccurs="unbounded" minOccurs="0"> <xs:complexType> <xs:simpleContent> <xs:extension base="xs:string"> <xs:attribute type="xs:string" name="blow_number" use="optional" /> <xs:attribute type="xs:short" name="depth" use="optional" /> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> </xs:sequence> <xs:attribute type="xs:string" name="count" /> </xs:complexType> </xs:element> <xs:element name="Layers"> <xs:complexType> <xs:sequence> <xs:element name="Layer" maxOccurs="unbounded" minOccurs="0"> <xs:complexType> <xs:simpleContent> <xs:extension base="xs:string"> <xs:attribute type="xs:string" name="start_blow_number" use="optional" /> <xs:attribute type="xs:string" name="end_blow_number" use="optional" /> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> </xs:sequence> <xs:attribute type="xs:string" name="count" /> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="Results"> <xs:complexType> <xs:sequence> <xs:element type="xs:string" name="MoistureContent" /> <xs:element name="StrengthProfiles"> <xs:complexType> <xs:sequence> <xs:element name="StrengthProfile" maxOccurs="unbounded" minOccurs="0"> <xs:complexType> <xs:sequence> <xs:element type="xs:string" name="StartingBlowNumber" /> <xs:element type="xs:short" name="StartingDepth" /> <xs:element type="xs:short" name="EndingDepth" /> <xs:element type="xs:short" name="LayerThickness" /> <xs:element type="xs:float" name="EstimatedCBR" /> </xs:sequence> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="MaterialsProfiles"> <xs:complexType> <xs:sequence> <xs:element name="MaterialProfile" maxOccurs="unbounded" minOccurs="0"> <xs:complexType> <xs:sequence> <xs:element type="xs:short" name="StartingDepth" /> <xs:element type="xs:short" name="EndingDepth" /> <xs:element type="xs:string" name="Description" /> <xs:element type="xs:string" name="ArticleNumber" /> <xs:element type="xs:string" name="MoistureContent" /> </xs:sequence> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element> <xs:element type="xs:string" name="Variation" /> <xs:element type="xs:string" name="Remarks" /> </xs:sequence> <xs:attribute type="xs:string" name="direct_entry_used" /> </xs:complexType> </xs:element> </xs:sequence> <xs:element ref="Check" minOccurs="0" /> <xs:element ref="Review" minOccurs="0" /> <xs:attribute type="xs:string" name="status" /> <xs:attribute type="xs:string" name="calculation_count" /> </xs:complexType> </xs:element> <xs:element name="Check"> <xs:complexType> <xs:sequence> <xs:element name="CheckedByUserID" type="xs:string" /> <xs:element name="CheckedBy" type="xs:string" /> <xs:element name="CheckedDate" type="xs:date" /> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="Review"> <xs:complexType> <xs:sequence> <xs:element name="ReviewedByUserID" type="xs:string" /> <xs:element name="ReviewedBy" type="xs:string" /> <xs:element name="ReviewedDate" type="xs:date" /> </xs:sequence> </xs:complexType> </xs:element> </xs:schema> |
6.44 KB in 8 ms with coderay