Changeset 1374
- Timestamp:
- 10/08/06 08:13:19 (15 years ago)
- Location:
- TI07-MOLES/trunk
- Files:
-
- 33 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TI07-MOLES/trunk/DIF/XQuery/NDG-DIF.xquery
r1276 r1374 259 259 </Related_URL> 260 260 ) 261 else if ($DG/dataModelID/schemeIdentifier='C SML-0') then (261 else if ($DG/dataModelID/schemeIdentifier='CDML-0') then ( 262 262 <Related_URL> 263 263 {element URL_Content_Type {'NDG_A_SERVICE'}} -
TI07-MOLES/trunk/v1Schema/Schemae/ndgmetadata1.2.5.xsd
r1299 r1374 1 1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!-- edited with XMLSPY v5 rel. 4 U (http://www.xmlspy.com) by Kev O'Neill (CCLRC) --> 3 <xs:schema targetNamespace="http://ndg.nerc.ac.uk/moles" xmlns: moles="http://ndg.nerc.ac.uk/moles" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.02.05">3 <xs:schema targetNamespace="http://ndg.nerc.ac.uk/moles" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:moles="http://ndg.nerc.ac.uk/moles" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.02.05"> 4 4 <!--version 1.02.05 of NDG metadata schema. Modifications from 1.02.04: 5 5 correction of potential multiplicity of activity type; 6 6 extension of dgCruise to allow addition of cruise reports; 7 Ship for cruise explicitly linked via a "dgVessel" element under dgCruise; 8 Port of departure/return added as explicit elements under dgCruise, as terms from a vocab/gazeteer. 9 vesselType under dgShip added as term; 7 10 extension of dgCourse to allow addition of cruise map URLs; 8 11 creation of dgMandatoryStringType to constrain xs:string to have some kind of content; 9 12 extension of dgDataGranule to include a data summary 10 13 addition of an optional logos section 14 addition of dgMandatoryStringType to require content in a field otherwise of type xs:string 15 allocation of dgMandatoryStringType to dgMetadataRecord/abbrev 11 16 --> 12 17 <xs:element name="dgMetadata"> … … 16 21 <xs:complexType> 17 22 <xs:sequence minOccurs="0"> 18 <xs:element name="dgMetadataRecord" type="moles:dgMetadataRecordType" minOccurs="0" maxOccurs="unbounded"/> 23 <xs:element name="dgMetadataRecord" type="moles:dgMetadataRecordType" minOccurs="0" maxOccurs="unbounded"> 24 <xs:annotation> 25 <xs:documentation>Specialises to give the metadata entities that we're really interested in.</xs:documentation> 26 </xs:annotation> 27 </xs:element> 19 28 <xs:element ref="moles:dgPerson" minOccurs="0" maxOccurs="unbounded"/> 20 29 <xs:element ref="moles:dgOrganisation" minOccurs="0" maxOccurs="unbounded"/> … … 25 34 <xs:element name="dgStructuredKeyword" type="moles:dgStructuredKeywordType"> 26 35 <xs:annotation> 27 <xs:documentation>An entry in a structured keyword list. This, and the STL will move to a separate file. Indeed, once I've digested the ISO standard, it may change...</xs:documentation>36 <xs:documentation>An entry in an identified structured keyword list. </xs:documentation> 28 37 </xs:annotation> 29 38 </xs:element> … … 232 241 </xs:sequence> 233 242 </xs:complexType> 234 <xs:element name="dgPerson" type="moles:dgPersonType"/> 235 <xs:element name="dgOrganisation" type="moles:dgOrganisationType"/> 243 <xs:element name="dgPerson" type="moles:dgPersonType"> 244 <xs:annotation> 245 <xs:documentation>Here to allow inclusion in schema.</xs:documentation> 246 </xs:annotation> 247 </xs:element> 248 <xs:element name="dgOrganisation" type="moles:dgOrganisationType"> 249 <xs:annotation> 250 <xs:documentation>Here to allow inclusion in schema.</xs:documentation> 251 </xs:annotation> 252 </xs:element> 236 253 <xs:complexType name="dgMetadataDescriptionType"> 237 254 <xs:sequence> … … 496 513 </xs:element> 497 514 </xs:choice> 498 <xs:element name="dgStdParameterMeasured" type="moles:dgStructuredKeywordType" maxOccurs="unbounded"> 499 <xs:annotation> 500 <xs:documentation>I REALLY like the idea of a standard name for the various things being measured, but I think this needs to be discussed first. The DIF "science valids" list might be the place to start</xs:documentation> 501 </xs:annotation> 502 </xs:element> 515 <xs:element name="dgStdParameterMeasured" type="moles:dgStructuredKeywordType" maxOccurs="unbounded"/> 503 516 <xs:element name="ParameterName" type="xs:string"/> 504 517 <xs:element name="ParameterAbbreviation" type="xs:string"/> … … 727 740 <xs:element name="dgMetadataDescription" type="moles:dgMetadataDescriptionType"/> 728 741 <xs:element name="name" type="xs:string"/> 729 <xs:element name="abbreviation" type=" xs:string">742 <xs:element name="abbreviation" type="moles:dgMandatoryStringType"> 730 743 <xs:annotation> 731 744 <xs:documentation>Software should default name and abbreviation to (at least a truncated version of) the other, if only one is filled in.</xs:documentation> … … 753 766 </xs:element> 754 767 <xs:choice> 768 <xs:annotation> 769 <xs:documentation>dgActivityDataCollection 770 771 This is expected to be an on-going collection process. 772 773 dgActivityDataProject 774 775 A data collection or generation project planned as having a limited duration like ERA-40 usually including several investigations ormodel runs, even if these will not be represented 776 in MOLES. 777 778 dgActivityDataCampaign 779 780 A compound/umbrella activity, involving more than one major activity in its own 781 right, such as ACSOE. 782 783 dgActivityDataInvestigation 784 785 A cruise/flight/something... 786 </xs:documentation> 787 </xs:annotation> 755 788 <xs:element name="dgActivityDataCollection"/> 756 789 <xs:element name="dgActivityDataProject"/> … … 763 796 <xs:complexType> 764 797 <xs:sequence> 798 <xs:element name="dgVessel" type="moles:dgMetadataIDType"/> 799 <xs:element name="portDeparture" type="moles:dgStructuredKeywordType"/> 800 <xs:element name="portReturn" type="moles:dgStructuredKeywordType"/> 765 801 <xs:element name="dgCruiseReports" minOccurs="0"> 766 802 <xs:complexType> … … 794 830 <xs:element name="dgTechnicalContact" type="moles:dgRoleType" minOccurs="0"/> 795 831 <xs:element name="dgProjectManager" type="moles:dgRoleType" minOccurs="0"/> 832 <xs:element name="dg" type="moles:dgRoleType" minOccurs="0"/> 796 833 </xs:sequence> 797 834 </xs:complexType> … … 976 1013 </xs:element> 977 1014 <xs:element name="dgDataProductionTool"> 978 <xs:annotation>979 <xs:documentation>Needs a link to a "Capabilities" list. OGC capabilities is the place to start? Note that knowledge of the instrument or model used can influence the intepretation of the data produced.</xs:documentation>980 </xs:annotation>981 1015 <xs:complexType> 982 1016 <xs:sequence> … … 988 1022 <xs:element name="dgInstrument"> 989 1023 <xs:annotation> 990 <xs:documentation>This is a "starter set" and will change radically and often as the domain specialists conrtibute.</xs:documentation>1024 <xs:documentation>This will be radically reworked</xs:documentation> 991 1025 </xs:annotation> 992 1026 <xs:complexType> … … 1138 1172 </xs:annotation> 1139 1173 </xs:element> 1140 <xs:element name="vesselType" type=" xs:string">1174 <xs:element name="vesselType" type="moles:dgStructuredKeywordType" maxOccurs="unbounded"> 1141 1175 <xs:annotation> 1142 <xs:documentation> Values from WMO vocabulary at http://www.wmo.int/web/www/ois/pub47/pub47-home.htm</xs:documentation>1176 <xs:documentation>Allows referencing to standard classification schemes such as WMO and SeaDataNet</xs:documentation> 1143 1177 </xs:annotation> 1144 1178 </xs:element> … … 1208 1242 <xs:restriction base="xs:string"> 1209 1243 <xs:minLength value="1"/> 1244 <xs:pattern value="\S(\S|\s)*"/> 1210 1245 </xs:restriction> 1211 1246 </xs:simpleType>
Note: See TracChangeset
for help on using the changeset viewer.