← Back to team overview

mlhim-specs-dev team mailing list archive

[Branch ~mlhim-specs-dev/mlhim-specs/main] Rev 103: Added constraint.xsd

 

------------------------------------------------------------
revno: 103
committer: Timothy W. Cook <timothywayne.cook@xxxxxxxxx>
branch nick: mlhim-specs
timestamp: Mon 2011-04-18 16:40:39 -0500
message:
  Added constraint.xsd
added:
  specs/2.0.x/mlhim/schemas/constraint.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
=== added file 'specs/2.0.x/mlhim/schemas/constraint.xsd'
--- specs/2.0.x/mlhim/schemas/constraint.xsd	1970-01-01 00:00:00 +0000
+++ specs/2.0.x/mlhim/schemas/constraint.xsd	2011-04-18 21:40:39 +0000
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2011 Timothy W. Cook and Contributors. See http://www.mlhim.org-->
+<xs:schema elementFormDefault="qualified" id="constraint" targetNamespace="http://www.mlhim.org/mlhim2"; version="2.0.0" xmlns:mlhim2="http://www.mlhim.org/mlhim2"; xmlns:xs="http://www.w3.org/2001/XMLSchema";>
+           <xs:include schemaLocation="support.xsd"></xs:include>
+           <xs:include schemaLocation="datatypes.xsd"></xs:include>
+           <xs:include schemaLocation="common.xsd"></xs:include>
+
+           <xs:simpleType name="uuidList">
+             <xs:list itemType="xs:string"></xs:list>
+           </xs:simpleType>
+
+
+           <xs:complexType name="Ontology" abstract="false">
+             <xs:sequence>
+               <xs:element name="names" maxOccurs="1" minOccurs="1" type="mlhim2:uuidList"></xs:element>
+               <xs:element name="internalVocabularies" maxOccurs="1" minOccurs="1" type="mlhim2:uuidList"></xs:element>
+               <xs:element name="lookupTables" maxOccurs="1" minOccurs="1" type="mlhim2:uuidList"></xs:element>
+               <xs:element name="terminologies" maxOccurs="1" minOccurs="1" type="mlhim2:uuidList"></xs:element>
+             </xs:sequence>
+           </xs:complexType>
+
+
+           <xs:complexType name="CCD" base="mlhim2:AuthoredResource" abstract="false">
+             <xs:sequence>
+               <xs:element name="definition" maxOccurs="1" minOccurs="1" type="mlhim2:Locatable"></xs:element>
+               <xs:element name="ontology" maxOccurs="1" minOccurs="0" type="mlhim2:Ontology"></xs:element>
+             </xs:sequence>
+           </xs:complexType>
+
+</xs:schema>