source: fedd/abac-src/ttg/test/abac.xsd @ 1d913e13

axis_examplecompt_changesinfo-opsversion-2.00version-3.01version-3.02
Last change on this file since 1d913e13 was 8780cbec, checked in by Jay Jacobs <Jay.Jacobs@…>, 15 years ago

ABAC sources from Cobham

  • Property mode set to 100644
File size: 2.2 KB
RevLine 
[8780cbec]1<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
2
3 <xsd:element name="Negotiation" type="NegotiationType"/>
4
5 <xsd:annotation>
6  <xsd:documentation xml:lang="en">
7   Trust negotiation schema for the NAI Labs ABAC Project.
8   Copyright 2002 Networks Associates Technologies, Inc. All rights reserved.
9  </xsd:documentation>
10 </xsd:annotation>
11
12 <xsd:complexType name="NegotiationType">
13   <xsd:element name="Observation" type="ObservationType" 
14                minOccurs="1" maxOccurs="unbounded"/>
15 </xsd:complexType>
16
17 <xsd:complexType name="ObservationType">
18  <xsd:union memberTypes="SimpleTTNode NodeOp EdgeOp Message Update"/>
19  <xsd:attribute name="count" type="xsd:decimal"/>
20 </xsd:simpleType>
21
22
23 <xsd:complexType name="Update">
24  <xsd:attribute name="value"    type="xsd:string"/>
25 </xsd:complexType>
26
27 <xsd:complexType name="MessageType">
28   <xsd:sequence>
29    <xsd:union memberTypes="EdgeOpType NodeOpType" maxOccurs="unbounded"/>
30   </xsd:sequence>
31 </xsd:complexType> 
32
33 <xsd:complexType name="SimpleTTNode">
34  <xsd:sequence>
35   <xsd:element name="Goal"              type="GoalType"/>
36   <xsd:element name="SatisfactionState" type="xsd:String"/>
37   <xsd:element name="ProcessingState"   type="xsd:string"/>
38  </xsd:sequence>
39  <xsd:attribute name="type" type="xsd:string" minOccurs="0"/>
40 </xsd:complexType>
41
42 <xsd:complexType name="NodeOp">
43  <xsd:sequence>
44   <xsd:element name="TrustTarget"      type="GoalType"/>
45   <xsd:element name="ProcessingState"  type="xsd:string"/>
46  </xsd:sequence>
47  <xsd:attribute name="type" type="xsd:string" minOccurs="0"/>
48 </xsd:complexType>
49
50 <xsd:complexType name="EdgeOp">
51  <xsd:sequence>
52   <xsd:element name="Parent"           type="GoalType"/>
53   <xsd:element name="Child"            type="GoalType"/>
54   <xsd:element name="ProcessingState"  type="xsd:string"/>
55  </xsd:sequence>
56  <xsd:attribute name="type" type="xsd:string"/>
57  <xsd:attribute name="newChild" type="xsd:date"/>
58 </xsd:complexType>
59
60 <xsd:complexType name="GoalType">
61  <xsd:sequence>
62   <xsd:element name="Verifier"   type="xsd:string"/>
63   <xsd:element name="Target" type="xsd:string"/>
64   <xsd:element name="Subject"   type="xsd:string"/>
65  </xsd:sequence>
66 </xsd:complexType>
67
68</xsd:schema>
Note: See TracBrowser for help on using the repository browser.