← Back to team overview

mlhim-specs-dev team mailing list archive

[Branch ~mlhim-specs-dev/mlhim-specs/main] Rev 154: Completed 2.2.0 entity.xsd updates.

 

------------------------------------------------------------
revno: 154
committer: Timothy W. Cook <timothywayne.cook@xxxxxxxxx>
branch nick: mlhim-specs
timestamp: Sat 2011-05-14 23:53:37 -0500
message:
  Completed 2.2.0 entity.xsd updates.
modified:
  schemas/entity.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/entity.xsd'
--- schemas/entity.xsd	2011-05-10 18:12:07 +0000
+++ schemas/entity.xsd	2011-05-15 04:53:37 +0000
@@ -12,15 +12,15 @@
            <xs:extension base="mlhim2:Locatable">
              <xs:sequence>
               
-               <xs:element name="details" maxOccurs="1" minOccurs="0" type="mlhim2:ItemStructure">
+               <xs:element name="details" maxOccurs="1" minOccurs="1" type="mlhim2:ItemStructure">
 	    <xs:annotation><xs:documentation>The details are a structural segment that may be used to create machine processable capabilities.  For example in a workflow or authentication service. </xs:documentation></xs:annotation>
                </xs:element>
               
-               <xs:element name="description" maxOccurs="1" minOccurs="0" type="xs:string">
+               <xs:element name="description" maxOccurs="1" minOccurs="1" type="mlhim2:DvString">
 	    <xs:annotation><xs:documentation>A human readable description for this role.</xs:documentation></xs:annotation>
                </xs:element>
               
-               <xs:element name="is_primary" maxOccurs="1" minOccurs="0" type="xs:boolean">
+               <xs:element name="is_primary" maxOccurs="1" minOccurs="1" type="mlhim2:DvBoolean">
 	    <xs:annotation><xs:documentation>A binary attribute indicating if this is the primary role in the list of roles.</xs:documentation></xs:annotation>
                </xs:element>
              </xs:sequence>
@@ -40,15 +40,15 @@
            <xs:extension base="mlhim2:Locatable" >
              <xs:sequence>
               
-               <xs:element name="details" maxOccurs="1" minOccurs="0" type="mlhim2:ItemStructure">
+               <xs:element name="details" maxOccurs="1" minOccurs="1" type="mlhim2:ItemStructure">
 	    <xs:annotation><xs:documentation>The details are a structural segment that may be used to create machine processable capabilities.  For example in a GIS it may contain longitude/latitude/altitude information. </xs:documentation></xs:annotation>
                </xs:element>
               
-               <xs:element name="description" maxOccurs="1" minOccurs="0" type="xs:string">
+               <xs:element name="description" maxOccurs="1" minOccurs="1" type="mlhim2:DvString">
 	    <xs:annotation><xs:documentation>A human readable description for this location.</xs:documentation></xs:annotation>
                </xs:element>
               
-               <xs:element name="is_primary" maxOccurs="1" minOccurs="0" type="xs:boolean">
+               <xs:element name="is_primary" maxOccurs="1" minOccurs="1" type="mlhim2:DvBoolean">
 	    <xs:annotation><xs:documentation>A binary attribute indicating if this is the primary location in the list of locations.</xs:documentation></xs:annotation>
                </xs:element>
              </xs:sequence>
@@ -67,7 +67,7 @@
            <xs:extension base="mlhim2:Locatable">
              <xs:sequence>
               
-               <xs:element name="targets" maxOccurs="unbounded" minOccurs="0" type="xs:string">
+               <xs:element name="targets" maxOccurs="unbounded" minOccurs="1" type="mlhim2:DvToken">
 	    <xs:annotation><xs:documentation>The List of target UUIDs.  Relationships can only be established  between instances.   </xs:documentation></xs:annotation>
                </xs:element>
              </xs:sequence>
@@ -85,11 +85,11 @@
            <xs:extension base="mlhim2:Locatable" >
              <xs:sequence>
               
-               <xs:element name="valid_time_begin" maxOccurs="1" minOccurs="0" type="xs:string">
+               <xs:element name="valid_time_begin" maxOccurs="1" minOccurs="0" type="mlhim2:DvDateTime">
 	    <xs:annotation><xs:documentation>If present this must be a valid datetime string including timezone</xs:documentation></xs:annotation>
                </xs:element>
               
-               <xs:element name="valid_time_end" maxOccurs="1" minOccurs="0" type="xs:string">
+               <xs:element name="valid_time_end" maxOccurs="1" minOccurs="0" type="mlhim2:DvDateTime">
 	    <xs:annotation><xs:documentation>If present this must be a valid datetime string including timezone</xs:documentation></xs:annotation>
                </xs:element>
               
@@ -104,6 +104,10 @@
                <xs:element name="roles" maxOccurs="unbounded" minOccurs="0" type="mlhim2:Role">
 	    <xs:annotation><xs:documentation>A List of roles that this entity may participate. </xs:documentation></xs:annotation>
                </xs:element>
+
+               <xs:element name="relationships" maxOccurs="unbounded" minOccurs="0" type="mlhim2:Relationship">
+	    <xs:annotation><xs:documentation>A List of roles that this entity may participate. </xs:documentation></xs:annotation>
+               </xs:element>
               
                <xs:element name="locations" maxOccurs="unbounded" minOccurs="0" type="mlhim2:Location">
 	    <xs:annotation><xs:documentation>A list of locations for this entity. </xs:documentation></xs:annotation>
@@ -159,7 +163,7 @@
            <xs:extension base="mlhim2:Party">
              <xs:sequence>
               
-               <xs:element name="members" maxOccurs="1" minOccurs="0" type="mlhim2:Party">
+               <xs:element name="members" maxOccurs="unbounded" minOccurs="0" type="mlhim2:Party">
 	    <xs:annotation><xs:documentation>A Set of Partys composing the Group.</xs:documentation></xs:annotation>
                </xs:element>
              </xs:sequence>