← Back to team overview

mlhim-specs-dev team mailing list archive

[Branch ~mlhim-specs-dev/mlhim-specs/main] Rev 145: Removed AuthoredResource. Added classes for managing meta-data in sets of entries. Add an elemen...

 

------------------------------------------------------------
revno: 145
committer: Timothy W. Cook <timothywayne.cook@xxxxxxxxx>
branch nick: mlhim-specs
timestamp: Sun 2011-05-08 06:54:04 -0500
message:
  Removed AuthoredResource.  Added classes for managing meta-data in sets of entries. Add an element in CCD for meta-data sets.
modified:
  schemas/common.xsd
  schemas/constraint.xsd
  schemas/support.xsd


--
lp:mlhim-specs
https://code.launchpad.net/~mlhim-specs-dev/mlhim-specs/main

Your team MLHIM Specifications Developers is subscribed to branch lp:mlhim-specs.
To unsubscribe from this branch go to https://code.launchpad.net/~mlhim-specs-dev/mlhim-specs/main/+edit-subscription
=== modified file 'schemas/common.xsd'
--- schemas/common.xsd	2011-05-08 11:24:05 +0000
+++ schemas/common.xsd	2011-05-08 11:54:04 +0000
@@ -277,96 +277,4 @@
            	</xs:complexContent>
            </xs:complexType>
            
-           <xs:complexType name="AuthoredResource" abstract="true">
-	<xs:annotation>
-	<xs:documentation>
-	Abstract idea of an online resource created by a human author. The attributes are derived primarily from the Dublin Core 
-	Metadata Initiative http://www.dublincore.org  http://dublincore.org/documents/2010/10/11/dces/ 
-	</xs:documentation>
-	</xs:annotation>
-           <xs:complexContent>
-           <xs:extension base="mlhim2:DvAny">
-              <xs:sequence>
-                <xs:element name="language" maxOccurs="1" minOccurs="0" type="xs:string">
-             <xs:annotation><xs:documentation>Optional indicator of the localised language in which the value is written. Coded IAW IETF RFC 5646. http://tools.ietf.org/html/rfc5646  Only used when the text object is in a different language from the enclosing CCD.</xs:documentation></xs:annotation>
-                </xs:element>
-                <xs:element name="locales" maxOccurs="1" minOccurs="0" type="mlhim2:Folder">
-             <xs:annotation><xs:documentation>A container for the gettext translation files as described in the MLHIM reference manual Chapter 16 section 3.</xs:documentation></xs:annotation>
-                </xs:element>
-             
-                <xs:element name="description" maxOccurs="1" minOccurs="0" type="xs:string">
-                <xs:annotation><xs:documentation>An optional textual description of any length in the same language as the original_language attribute.  Description may include but is not limited to: an abstract, a table of contents, a graphical representation, or a free-text account of the resource. http://dublincore.org/documents/dcmi-terms/#terms-description </xs:documentation></xs:annotation>                
-                </xs:element>
-                <xs:element name="contributor" maxOccurs="1" minOccurs="0" type="xs:string">
-                <xs:annotation><xs:documentation>An entity responsible for making contributions to the resource. Examples of a Contributor include a person, an organization, or a service.</xs:documentation></xs:annotation>
-                </xs:element>
-             
-                <xs:element name="coverage" maxOccurs="1" minOccurs="0" type="xs:string">
-                <xs:annotation><xs:documentation>The spatial or temporal topic of the resource, the spatial applicability of the resource, or the jurisdiction under which the resource is relevant. http://dublincore.org/documents/dcmi-terms/#terms-coverage </xs:documentation></xs:annotation>
-                </xs:element>
-             
-                <xs:element name="license" maxOccurs="1" minOccurs="0" type="xs:string">
-                <xs:annotation><xs:documentation>A legal document giving official permission to do something with the resource. http://dublincore.org/documents/dcmi-terms/#terms-license </xs:documentation></xs:annotation>
-                </xs:element>
-                <xs:element name="creator" maxOccurs="1" minOccurs="0" type="xs:string">
-                <xs:annotation><xs:documentation>An entity primarily responsible for making the resource. Comment: 	Examples of a Creator include a person, an organization, or a service. http://dublincore.org/documents/dcmi-terms/#terms-creator </xs:documentation></xs:annotation>
-                </xs:element>
-                <xs:element name="created" maxOccurs="1" minOccurs="0" type="xs:string">
-                <xs:annotation><xs:documentation>Date of creation of the resource. http://dublincore.org/documents/dcmi-terms/#terms-created </xs:documentation></xs:annotation>
-                </xs:element>
- 
-                <xs:element name="dateCopyrighted" maxOccurs="1" minOccurs="0" type="xs:string">
-                <xs:annotation><xs:documentation>Date of copyright. http://dublincore.org/documents/dcmi-terms/#terms-dateCopyrighted </xs:documentation></xs:annotation>
-                </xs:element>
-
- 
-                <xs:element name="identifier" maxOccurs="1" minOccurs="0" type="xs:string">
-                <xs:annotation><xs:documentation>An unambiguous reference to the resource within a given context. Comment: 	Recommended best practice is to identify the resource by means of a string conforming to a formal identification system.  Example: A CCD should be identified by a UUID version #4 as described in IETF RFC 4122.  http://tools.ietf.org/html/rfc4122.html </xs:documentation></xs:annotation>
-                </xs:element>
-
- 
-                <xs:element name="issued" maxOccurs="1" minOccurs="0" type="xs:string">
-                <xs:annotation><xs:documentation>Date of formal issuance (e.g., publication) of the resource. </xs:documentation></xs:annotation>
-                </xs:element>
-                
- 
-                <xs:element name="relation" maxOccurs="1" minOccurs="0" type="xs:string">
-                <xs:annotation><xs:documentation>A related resource. Comment: 	Recommended best practice is to identify the related resource by means of a string conforming to a formal identification system.  In the case of CCDs the relationship  text should come from the UMLS semantic network. </xs:documentation></xs:annotation>
-                </xs:element>
-                
- 
-                <xs:element name="replaces" maxOccurs="1" minOccurs="0" type="xs:string">
-                <xs:annotation><xs:documentation>A related resource that is supplanted, displaced, or superseded by the described resource. In the case of CCDs this is the 'identifier' of the replaced CCD. </xs:documentation></xs:annotation>
-                </xs:element>
-                
- 
-                <xs:element name="rights" maxOccurs="1" minOccurs="0" type="xs:string">
-                <xs:annotation><xs:documentation>Information about rights held in and over the resource. Comment: 	Typically, rights information includes a statement about various property rights associated with the resource, including intellectual property rights.</xs:documentation></xs:annotation>
-                </xs:element>
-                
- 
-                <xs:element name="rightsHolder" maxOccurs="1" minOccurs="0" type="xs:string">
-                <xs:annotation><xs:documentation>A person or organization owning or managing rights over the resource. </xs:documentation></xs:annotation>
-                </xs:element>
-                
- 
-                <xs:element name="source" maxOccurs="1" minOccurs="0" type="xs:string">
-                <xs:annotation><xs:documentation>A related resource from which the described resource is derived. Comment: 	The described resource may be derived from the related resource in whole or in part. Recommended best practice is to identify the related resource by means of a string conforming to a formal identification system. </xs:documentation></xs:annotation>
-                </xs:element>
-                
- 
-                <xs:element name="subject" maxOccurs="1" minOccurs="0" type="xs:string">
-                <xs:annotation><xs:documentation>The topic of the resource. Comment: 	Typically, the subject will be represented using keywords, key phrases, or classification codes. Recommended best practice is to use a controlled vocabulary. To describe the spatial or temporal topic of the resource, use the Coverage element. With CCDs this is a list of MeSH terms. </xs:documentation></xs:annotation>
-                </xs:element>
-                
- 
-                <xs:element name="title" maxOccurs="1" minOccurs="0" type="xs:string">
-                <xs:annotation><xs:documentation>A descriptive name given to the resource. In CCDs possibly derived from the UMLS semantic network</xs:documentation></xs:annotation>
-                </xs:element>
-                
-              </xs:sequence>  
-           	</xs:extension>
-           	</xs:complexContent>
-          </xs:complexType>
-
 </xs:schema>

=== modified file 'schemas/constraint.xsd'
--- schemas/constraint.xsd	2011-05-08 11:24:05 +0000
+++ schemas/constraint.xsd	2011-05-08 11:54:04 +0000
@@ -48,7 +48,34 @@
                
              </xs:sequence>
            </xs:complexType>
+           
+           <xs:complexType name="MetaDataEntry" abstract="false">
+           <xs:annotation><xs:documentation>
+           An entry for a meta-data set in this CCD.  
+           </xs:documentation></xs:annotation>
+           <xs:sequence>
+               <xs:element name="title" maxOccurs="1" minOccurs="1" type="xs:string">
+                <xs:annotation><xs:documentation>The title or name for this meta-data entry.</xs:documentation></xs:annotation>
+                </xs:element>           
+               <xs:element name="contents" maxOccurs="1" minOccurs="1" type="xs:string">
+                <xs:annotation><xs:documentation>The actual meta-data string.</xs:documentation></xs:annotation>
+                </xs:element>           
+           </xs:sequence>
+           </xs:complexType>
 
+           <xs:complexType name="MetaDataSet" abstract="false">
+           <xs:annotation><xs:documentation>
+           A set of meta-data entries in this CCD. For example; DCMI, caBIG, MLHIM  
+           </xs:documentation></xs:annotation>
+           <xs:sequence>
+               <xs:element name="name" maxOccurs="1" minOccurs="1" type="xs:string">
+                <xs:annotation><xs:documentation>The title or name for this meta-data set.</xs:documentation></xs:annotation>
+                </xs:element>           
+               <xs:element name="entries" maxOccurs="unbounded" minOccurs="1" type="mlhim2:MetaDataEntry">
+                <xs:annotation><xs:documentation>The set of entries making up this meta-data set.</xs:documentation></xs:annotation>
+                </xs:element>           
+           </xs:sequence>
+           </xs:complexType>
 
            <xs:complexType name="CCD"  abstract="false">
 	<xs:annotation>
@@ -56,22 +83,21 @@
 	Concept Constraint Definition
 	</xs:documentation>
 	</xs:annotation>
-           <xs:complexContent>
-           <xs:extension base="mlhim2:AuthoredResource">
              <xs:sequence>
  
                <xs:element name="definition" maxOccurs="1" minOccurs="1" type="mlhim2:Locatable">
                 <xs:annotation><xs:documentation>Contains one Locatable entry as the root term for this CCD.</xs:documentation></xs:annotation>
                 </xs:element>
                
+               <xs:element name="meta-data" maxOccurs="unbounded" minOccurs="1" type="mlhim2:MetaDataSet">
+                <xs:annotation><xs:documentation>Contains one or more named meta-data sets.</xs:documentation></xs:annotation>
+                </xs:element>
  
                <xs:element name="ontology" maxOccurs="1" minOccurs="0" type="mlhim2:Ontology">
                 <xs:annotation><xs:documentation>Provides the semantic context for the data described by the definition.</xs:documentation></xs:annotation>
                 </xs:element>
                
              </xs:sequence>
-           	</xs:extension>
-           	</xs:complexContent>
            </xs:complexType>
 
 </xs:schema>

=== modified file 'schemas/support.xsd'
--- schemas/support.xsd	2011-05-05 13:30:07 +0000
+++ schemas/support.xsd	2011-05-08 11:54:04 +0000
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Copyright 2011 Timothy W. Cook and Contributors. See http://www.mlhim.org-->
-<xs:schema elementFormDefault="qualified" id="support" targetNamespace="http://www.mlhim.org/mlhim2"; version="2.1.1" xmlns:mlhim2="http://www.mlhim.org/mlhim2"; xmlns:xs="http://www.w3.org/2001/XMLSchema";>
+<xs:schema elementFormDefault="qualified" id="support" targetNamespace="http://www.mlhim.org/mlhim2"; version="2.1.2" xmlns:mlhim2="http://www.mlhim.org/mlhim2"; xmlns:xs="http://www.w3.org/2001/XMLSchema";>
 	<xs:complexType abstract="true" name="ExceptionalValue">
 	<xs:annotation>
 	<xs:documentation>