Project

General

Profile

1 10131 jones
<?xml version="1.0" encoding="UTF-8"?>
2
<!-- edited with XMLSpy v2008 sp1 (http://www.altova.com) by Systems Administrator (NCDDC) -->
3
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"  blockDefault="#all">
4
	<!--
5
	======================================================================
6
	 FGDC-STD-001.1-1999 XML Schema. 1.0.0 2009XXXX
7
8
	 This is the XML Schema for formal metadata, metadata conforming to the Content Standards for Digital Geospatial Metadata Biological Profile of the Federal Geographic Data
9
	 Committee.  This schema corresponds to the October, 1999 version of the standard, FGDC-STD-001.1-1999.
10
11
	 This file is the primary XML Schema and loads the definitions for sections 1-10 of the standard from separate schema modules. This Biological Profile schema was built from the
12
	 existing FGDC Metadata XML Schema 1.0.0 2009.
13
14
	 Element names:
15
	     Element names are a maximum of 8-characters long, to coincide with the Reference Concrete Syntax.
16
17
	 Element ordering:
18
	     Generally the order of elements is now significant.  XML makes it difficult to write a DTD that allows elements to be in any order.  Although XML Schemas do not have this
19
		 restriction, it was decided to keep the significance of element order in order not to break the DTD validity of XML-encoded metadata files.
20
21
	 Authors:
22
	     Original:Richard E. Rathmann (PSGS/NOAA Coastal Services Center,Charleston, SC) with assistance from Mike Moeller (PSGS/NOAA CSC), Doug Nebert (Federal
23
				Geographic Data Committee) and Jacqueline Mize (Radiance Technologies, Inc./NOAA's National Coastal Data Development Center (NCDDC)).
24
25
	 Distribution liability:
26
		 NOAA makes no warranty regarding these data, expressed or implied, nor does the fact of distribution constitute such a warranty. NOAA, NESDIS,
27
		 NODC and NCDDC cannot assume liability for any damages caused by any errors or omissions in these data, nor as a result of the failure of these data
28
		 to function on a particular system.
29
30
	 Revisions:
31
		 2009XXXX (RER)
32
33
34
	======================================================================
35
-->
36
	<xs:include schemaLocation="fgdc-std-001.1-1999-sect01.xsd"/>
37
	<xs:include schemaLocation="fgdc-std-001.1-1999-sect02.xsd"/>
38
	<xs:include schemaLocation="fgdc-std-001-1998-sect03.xsd"/>
39
	<xs:include schemaLocation="fgdc-std-001-1998-sect04.xsd"/>
40
	<xs:include schemaLocation="fgdc-std-001-1998-sect05.xsd"/>
41
	<xs:include schemaLocation="fgdc-std-001.1-1999-sect06.xsd"/>
42
	<xs:include schemaLocation="fgdc-std-001.1-1999-sect07.xsd"/>
43
	<xs:include schemaLocation="fgdc-std-001.1-1999-sect08.xsd"/>
44
	<xs:include schemaLocation="fgdc-std-001.1-1999-sect09.xsd"/>
45
	<xs:include schemaLocation="fgdc-std-001-1998-sect10.xsd"/>
46
	<xs:element name="metadata" type="metadataType">
47
		<xs:annotation>
48
			<xs:documentation>FGDC Biological Data Working Group, and USGS Biological Resources Division.  1999.  Content Standard for Digital Geospatial Metadata - Biological Data Profile, FGDC-STD-001.1-1999  Federal Geographic Data Committee</xs:documentation>
49
			<xs:appinfo>
50
				<xs:attribute name="mdname" fixed="FGDC Biological Profile"/>
51
				<xs:attribute name="use" fixed="Mandatory"/>
52
			</xs:appinfo>
53
		</xs:annotation>
54
	</xs:element>
55
	<xs:complexType name="metadataType">
56
		<xs:sequence>
57
			<xs:element ref="idinfo"/>
58
			<xs:element ref="dataqual" minOccurs="0"/>
59
			<xs:element ref="spdoinfo" minOccurs="0"/>
60
			<xs:element ref="spref" minOccurs="0"/>
61
			<xs:element ref="eainfo" minOccurs="0"/>
62
			<xs:element ref="distinfo" minOccurs="0" maxOccurs="unbounded"/>
63
			<xs:element ref="metainfo"/>
64
		</xs:sequence>
65
	</xs:complexType>
66
	<xs:simpleType name="FGDCdate">
67
		<xs:restriction base="xs:token">
68
			<xs:pattern value="\d{4}(\d{2}(\d{2})?)?"/>
69
			<xs:pattern value="bc\d{4}(\d{2}(\d{2})?)?"/>
70
			<xs:pattern value="cc\d{5,}"/>
71
			<xs:pattern value="cd\d{5,}"/>
72
		</xs:restriction>
73
	</xs:simpleType>
74
	<xs:simpleType name="FGDCtime">
75
		<xs:restriction base="xs:token">
76
			<xs:pattern value="\d{2}(\d{2}(\d{2,})?)?"/>
77
			<xs:pattern value="\d{2}(\d{2}(\d{2,})?)?[+\-]\d{4}"/>
78
			<xs:pattern value="\d{2}(\d{2}(\d{2,})?)?Z"/>
79
		</xs:restriction>
80
	</xs:simpleType>
81
	<xs:simpleType name="FGDCstring">
82
		<xs:restriction base="xs:string">
83
			<xs:pattern value="\s*\S(.|\n|\r)*"/>
84
		</xs:restriction>
85
	</xs:simpleType>
86
	<xs:simpleType name="FGDClatitude">
87
		<xs:restriction base="xs:double">
88
			<xs:minInclusive value="-90.0"/>
89
			<xs:maxInclusive value="90.0"/>
90
		</xs:restriction>
91
	</xs:simpleType>
92
	<xs:simpleType name="FGDClongitude">
93
		<xs:restriction base="xs:double">
94
			<xs:minInclusive value="-180.0"/>
95
			<xs:maxInclusive value="180.0"/>
96
		</xs:restriction>
97
	</xs:simpleType>
98
</xs:schema>