Skip to content

Commit 39c78fa

Browse files
committed
Sample updates
1 parent 4fc122f commit 39c78fa

File tree

3 files changed

+28
-15
lines changed

3 files changed

+28
-15
lines changed

core/Common.xsd

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
xmlns:gml="http://www.opengis.net/gml/3.2"
44
xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" vc:maxVersion="1.1" vc:minVersion="1.0"
55
elementFormDefault="qualified" targetNamespace="http://diggsml.org/schemas/3" version="3.0.0">
6-
7-
<!-- Uncomment to clear validation errors without a master file
6+
7+
<!-- Uncomment to clear validation errors without a master file-->
88
<include schemaLocation="../Diggs.xsd"/>
9-
-->
9+
1010
<import namespace="http://www.opengis.net/gml/3.2" schemaLocation="gml3.2Profile_diggs.xsd"/>
1111
<import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
1212

@@ -2256,15 +2256,24 @@
22562256
</annotation>
22572257
<complexContent>
22582258
<extension base="diggs:AbstractObjectType">
2259-
<sequence>
2260-
<element minOccurs="0" ref="diggs:location"/>
2261-
<element minOccurs="0" name="sampleTime" type="diggs:TimeIntervalPropertyType">
2259+
<choice>
2260+
<sequence>
2261+
<element minOccurs="1" ref="diggs:location"/>
2262+
<element minOccurs="0" name="sampleTime"
2263+
type="diggs:TimeIntervalPropertyType">
2264+
<annotation>
2265+
<documentation>The start and end time of sample
2266+
collection.</documentation>
2267+
</annotation>
2268+
</element>
2269+
</sequence>
2270+
<element minOccurs="1" name="sampleTime" type="diggs:TimeIntervalPropertyType">
22622271
<annotation>
22632272
<documentation>The start and end time of sample
22642273
collection.</documentation>
22652274
</annotation>
22662275
</element>
2267-
</sequence>
2276+
</choice>
22682277
</extension>
22692278
</complexContent>
22702279
</complexType>

core/Core.xsd

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
</annotation>
1515

1616

17-
<!-- Uncomment to clear validation errors without a master file
17+
<!-- Uncomment to clear validation errors without a master file-->
1818
<include schemaLocation="../Diggs.xsd"/>
19-
-->
19+
2020

2121
<import namespace="http://www.opengis.net/gml/3.2" schemaLocation="gml3.2Profile_diggs.xsd"/>
2222
<import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlinks.xsd"/>
@@ -2136,8 +2136,7 @@
21362136
<extension base="diggs:AbstractSampleType">
21372137
<sequence>
21382138
<element name="relativeReferencingSystem"
2139-
type="diggs:AbstractRelativeReferenceSystemPropertyType" minOccurs="0"
2140-
maxOccurs="1">
2139+
type="diggs:RelativeReferenceSystemPropertyType" minOccurs="0" maxOccurs="1">
21412140
<annotation>
21422141
<documentation>For a core or block sample, this property can be used to
21432142
introduce a relative spatial reference system for describing the

core/LinearReferencing.xsd

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" vc:maxVersion="1.1" vc:minVersion="1.0"
66
elementFormDefault="qualified" targetNamespace="http://diggsml.org/schemas/3" version="3.0.0">
77

8+
<!-- Uncomment to clear validation errors without a master file-->
9+
<include schemaLocation="../Diggs.xsd"/>
10+
811
<annotation>
912
<documentation>
1013
DIGGS Linear Referencing Schema - Version 3.0b
@@ -1181,16 +1184,18 @@
11811184
<annotation>
11821185
<appinfo>DEPRECATED 1/26.</appinfo>
11831186
<documentation>Base type for linear or vector linear relative spatial reference
1184-
systems. DEPRECATED. Use diggs:LinearSRS for linear referencing, EngineeringCRS for 2D relative referencing.</documentation>
1187+
systems. DEPRECATED. Use diggs:LinearSRS for linear referencing, LocalCartesionCRS or EngineeringCRS for 2D relative referencing.</documentation>
11851188
</annotation>
11861189
</element>
1187-
<complexType name="AbstractRelativeReferenceSystemPropertyType">
1190+
<complexType name="RelativeReferenceSystemPropertyType">
11881191
<annotation>
11891192
<documentation>Property type for abstract relative reference system references. Used to wrap abstract relative reference system objects or references in properties.</documentation>
11901193
</annotation>
1191-
<sequence>
1194+
<choice>
1195+
<element ref="diggs:LinearSpatialReferenceSystem"/>
1196+
<element ref="gml:AbstractCRS"/>
11921197
<element maxOccurs="1" minOccurs="1" ref="diggs:AbstractRelativeReferenceSystem"/>
1193-
</sequence>
1198+
</choice>
11941199
</complexType>
11951200
<complexType name="AbstractRelativeReferenceSystemType">
11961201
<annotation>

0 commit comments

Comments
 (0)