-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/Open-MBEE/mtip-cameo
- Loading branch information
Showing
1 changed file
with
348 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,348 @@ | ||
<?xml version="1.0" encoding="Windows-1252"?> | ||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> | ||
<xs:element name="packet"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:element maxOccurs="unbounded" name="data"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:element name="type"> | ||
<xs:complexType> | ||
<xs:annotation> | ||
<xs:documentation> | ||
The type section is used to identify what type of object the instance is. The convention for setting the type is: metamodel.objectType. For instance, a block object belonging to the SysML metamodel would follow the convention by being typed sysml.Block. | ||
</xs:documentation> | ||
</xs:annotation> | ||
<xs:simpleContent> | ||
<xs:extension base="xs:string"> | ||
<xs:attribute name="_dtype" type="xs:string" use="required" /> | ||
</xs:extension> | ||
</xs:simpleContent> | ||
</xs:complexType> | ||
</xs:element> | ||
<xs:element name="attributes"> | ||
<xs:complexType> | ||
<xs:annotation> | ||
<xs:documentation> | ||
The attributes section is used to capture all attributes for a given element. Each format is to specify how different attribute types are captured within this block. | ||
</xs:documentation> | ||
</xs:annotation> | ||
<xs:sequence> | ||
<xs:element maxOccurs="unbounded" name="attribute"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:element name="attribute"> | ||
<xs:complexType> | ||
<xs:simpleContent> | ||
<xs:extension base="xs:string"> | ||
<xs:attribute name="_dtype" type="xs:string" use="required" /> | ||
<xs:attribute name="key" type="xs:string" use="required" /> | ||
</xs:extension> | ||
</xs:simpleContent> | ||
</xs:complexType> | ||
</xs:element> | ||
</xs:sequence> | ||
<xs:attribute name="_dtype" type="xs:string" use="required" /> | ||
<xs:attribute name="key" type="xs:string" use="required" /> | ||
</xs:complexType> | ||
</xs:element> | ||
</xs:sequence> | ||
</xs:complexType> | ||
</xs:element> | ||
<xs:element name="relationships"> | ||
<xs:complexType> | ||
<xs:annotation> | ||
<xs:documentation> | ||
The relationships section is used to capture all relationships between two individuals. For each relationship, the value assigned is the ID of that related individual. | ||
</xs:documentation> | ||
</xs:annotation> | ||
<xs:sequence> | ||
<xs:element name="hasParent"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:element name="id"> | ||
<xs:complexType> | ||
<xs:simpleContent> | ||
<xs:extension base="xs:string"> | ||
<xs:attribute name="_dtype" type="xs:string" use="required" /> | ||
</xs:extension> | ||
</xs:simpleContent> | ||
</xs:complexType> | ||
</xs:element> | ||
</xs:sequence> | ||
<xs:attribute name="_dtype" type="xs:string" use="required" /> | ||
</xs:complexType> | ||
</xs:element> | ||
<xs:element name="behavior"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:element name="id"> | ||
<xs:complexType> | ||
<xs:simpleContent> | ||
<xs:extension base="xs:string"> | ||
<xs:attribute name="_dtype" type="xs:string" use="required" /> | ||
</xs:extension> | ||
</xs:simpleContent> | ||
</xs:complexType> | ||
</xs:element> | ||
<xs:element name="type"> | ||
<xs:complexType> | ||
<xs:simpleContent> | ||
<xs:extension base="xs:string"> | ||
<xs:attribute name="_dtype" type="xs:string" use="required" /> | ||
</xs:extension> | ||
</xs:simpleContent> | ||
</xs:complexType> | ||
</xs:element> | ||
</xs:sequence> | ||
<xs:attribute name="_dtype" type="xs:string" use="required" /> | ||
</xs:complexType> | ||
</xs:element> | ||
<xs:element name="typedBy"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:element name="id"> | ||
<xs:complexType> | ||
<xs:simpleContent> | ||
<xs:extension base="xs:string"> | ||
<xs:attribute name="_dtype" type="xs:string" use="required" /> | ||
</xs:extension> | ||
</xs:simpleContent> | ||
</xs:complexType> | ||
</xs:element> | ||
<xs:element name="type"> | ||
<xs:complexType> | ||
<xs:simpleContent> | ||
<xs:extension base="xs:string"> | ||
<xs:attribute name="_dtype" type="xs:string" use="required" /> | ||
</xs:extension> | ||
</xs:simpleContent> | ||
</xs:complexType> | ||
</xs:element> | ||
</xs:sequence> | ||
<xs:attribute name="_dtype" type="xs:string" use="required" /> | ||
</xs:complexType> | ||
</xs:element> | ||
<xs:element name="client"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:element name="id"> | ||
<xs:complexType> | ||
<xs:simpleContent> | ||
<xs:extension base="xs:string"> | ||
<xs:attribute name="_dtype" type="xs:string" use="required" /> | ||
</xs:extension> | ||
</xs:simpleContent> | ||
</xs:complexType> | ||
</xs:element> | ||
</xs:sequence> | ||
<xs:attribute name="_dtype" type="xs:string" use="required" /> | ||
</xs:complexType> | ||
</xs:element> | ||
<xs:element name="supplier"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:element name="id"> | ||
<xs:complexType> | ||
<xs:simpleContent> | ||
<xs:extension base="xs:string"> | ||
<xs:attribute name="_dtype" type="xs:string" use="required" /> | ||
</xs:extension> | ||
</xs:simpleContent> | ||
</xs:complexType> | ||
</xs:element> | ||
</xs:sequence> | ||
<xs:attribute name="_dtype" type="xs:string" use="required" /> | ||
</xs:complexType> | ||
</xs:element> | ||
<xs:element name="element"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:element maxOccurs="unbounded" name="element"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:element name="id"> | ||
<xs:complexType> | ||
<xs:simpleContent> | ||
<xs:extension base="xs:string"> | ||
<xs:attribute name="_dtype" type="xs:string" use="required" /> | ||
</xs:extension> | ||
</xs:simpleContent> | ||
</xs:complexType> | ||
</xs:element> | ||
<xs:element name="type"> | ||
<xs:complexType> | ||
<xs:simpleContent> | ||
<xs:extension base="xs:string"> | ||
<xs:attribute name="_dtype" type="xs:string" use="required" /> | ||
</xs:extension> | ||
</xs:simpleContent> | ||
</xs:complexType> | ||
</xs:element> | ||
</xs:sequence> | ||
<xs:attribute name="_dtype" type="xs:string" use="required" /> | ||
<xs:attribute name="key" type="xs:unsignedByte" use="required" /> | ||
</xs:complexType> | ||
</xs:element> | ||
</xs:sequence> | ||
<xs:attribute name="_dtype" type="xs:string" use="required" /> | ||
</xs:complexType> | ||
</xs:element> | ||
<xs:element name="diagramConnector"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:element maxOccurs="unbounded" name="diagramConnector"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:element name="id"> | ||
<xs:complexType> | ||
<xs:simpleContent> | ||
<xs:extension base="xs:string"> | ||
<xs:attribute name="_dtype" type="xs:string" use="required" /> | ||
</xs:extension> | ||
</xs:simpleContent> | ||
</xs:complexType> | ||
</xs:element> | ||
<xs:element name="type"> | ||
<xs:complexType> | ||
<xs:simpleContent> | ||
<xs:extension base="xs:string"> | ||
<xs:attribute name="_dtype" type="xs:string" use="required" /> | ||
</xs:extension> | ||
</xs:simpleContent> | ||
</xs:complexType> | ||
</xs:element> | ||
</xs:sequence> | ||
<xs:attribute name="_dtype" type="xs:string" use="required" /> | ||
<xs:attribute name="key" type="xs:unsignedByte" use="required" /> | ||
</xs:complexType> | ||
</xs:element> | ||
</xs:sequence> | ||
<xs:attribute name="_dtype" type="xs:string" use="required" /> | ||
</xs:complexType> | ||
</xs:element> | ||
<xs:element name="classifiedBy"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:element maxOccurs="unbounded" name="diagramConnector"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:element name="id"> | ||
<xs:complexType> | ||
<xs:simpleContent> | ||
<xs:extension base="xs:string"> | ||
<xs:attribute name="_dtype" type="xs:string" use="required" /> | ||
</xs:extension> | ||
</xs:simpleContent> | ||
</xs:complexType> | ||
</xs:element> | ||
<xs:element name="type"> | ||
<xs:complexType> | ||
<xs:simpleContent> | ||
<xs:extension base="xs:string"> | ||
<xs:attribute name="_dtype" type="xs:string" use="required" /> | ||
</xs:extension> | ||
</xs:simpleContent> | ||
</xs:complexType> | ||
</xs:element> | ||
</xs:sequence> | ||
<xs:attribute name="_dtype" type="xs:string" use="required" /> | ||
<xs:attribute name="key" type="xs:unsignedByte" use="required" /> | ||
</xs:complexType> | ||
</xs:element> | ||
</xs:sequence> | ||
<xs:attribute name="_dtype" type="xs:string" use="required" /> | ||
</xs:complexType> | ||
</xs:element> | ||
<xs:element name="typedBy"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:element maxOccurs="unbounded" name="diagramConnector"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:element name="id"> | ||
<xs:complexType> | ||
<xs:simpleContent> | ||
<xs:extension base="xs:string"> | ||
<xs:attribute name="_dtype" type="xs:string" use="required" /> | ||
</xs:extension> | ||
</xs:simpleContent> | ||
</xs:complexType> | ||
</xs:element> | ||
<xs:element name="type"> | ||
<xs:complexType> | ||
<xs:simpleContent> | ||
<xs:extension base="xs:string"> | ||
<xs:attribute name="_dtype" type="xs:string" use="required" /> | ||
</xs:extension> | ||
</xs:simpleContent> | ||
</xs:complexType> | ||
</xs:element> | ||
</xs:sequence> | ||
<xs:attribute name="_dtype" type="xs:string" use="required" /> | ||
<xs:attribute name="key" type="xs:unsignedByte" use="required" /> | ||
</xs:complexType> | ||
</xs:element> | ||
</xs:sequence> | ||
<xs:attribute name="_dtype" type="xs:string" use="required" /> | ||
</xs:complexType> | ||
</xs:element> | ||
</xs:sequence> | ||
<xs:attribute name="_dtype" type="xs:string" use="required" /> | ||
</xs:complexType> | ||
</xs:element> | ||
<xs:element name="id"> | ||
<xs:complexType> | ||
<xs:annotation> | ||
<xs:documentation> | ||
The id section is used to uniquely identify a given element, relationship, or diagram. A key entry in this section is the EA GUID or Cameo ID. The ID is a universally unique identification for that individual. | ||
</xs:documentation> | ||
</xs:annotation> | ||
<xs:sequence> | ||
<xs:element name="cameo"> | ||
<xs:complexType> | ||
<xs:simpleContent> | ||
<xs:extension base="xs:string"> | ||
<xs:attribute name="_dtype" type="xs:string" use="required" /> | ||
</xs:extension> | ||
</xs:simpleContent> | ||
</xs:complexType> | ||
</xs:element> | ||
<xs:element name="ea"> | ||
<xs:complexType> | ||
<xs:simpleContent> | ||
<xs:extension base="xs:string"> | ||
<xs:attribute name="_dtype" type="xs:string" use="required" /> | ||
</xs:extension> | ||
</xs:simpleContent> | ||
</xs:complexType> | ||
</xs:element> | ||
<xs:element name="huddle"> | ||
<xs:complexType> | ||
<xs:simpleContent> | ||
<xs:extension base="xs:string"> | ||
<xs:attribute name="_dtype" type="xs:string" use="required" /> | ||
</xs:extension> | ||
</xs:simpleContent> | ||
</xs:complexType> | ||
</xs:element> | ||
<xs:element name="ontology"> | ||
<xs:complexType> | ||
<xs:simpleContent> | ||
<xs:extension base="xs:string"> | ||
<xs:attribute name="_dtype" type="xs:string" use="required" /> | ||
</xs:extension> | ||
</xs:simpleContent> | ||
</xs:complexType> | ||
</xs:element> | ||
</xs:sequence> | ||
<xs:attribute name="_dtype" type="xs:string" use="required" /> | ||
</xs:complexType> | ||
</xs:element> | ||
</xs:sequence> | ||
</xs:complexType> | ||
</xs:element> | ||
</xs:sequence> | ||
</xs:complexType> | ||
</xs:element> | ||
</xs:schema> |