main
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3OASIS takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the
4implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available;
5neither does it represent that it has made any effort to identify any such rights. Information on OASIS's procedures with respect to rights in OASIS
6specifications can be found at the OASIS website. Copies of claims of rights made available for publication and any assurances of licenses to be made
7available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementors or users
8of this specification, can be obtained from the OASIS Executive Director.
9OASIS invites any interested party to bring to its attention any copyrights, patents or patent applications, or other proprietary rights which may
10cover technology that may be required to implement this specification. Please address the information to the OASIS Executive Director.
11Copyright © OASIS Open 2002-2007. All Rights Reserved.
12This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist
13in its implementation may be prepared, copied, published and distributed, in whole or in part, without restriction of any kind, provided that the
14above copyright notice and this paragraph are included on all such copies and derivative works. However, this document itself does not be modified
15in any way, such as by removing the copyright notice or references to OASIS, except as needed for the purpose of developing OASIS specifications,
16in which case the procedures for copyrights defined in the OASIS Intellectual Property Rights document must be followed, or as required to translate
17it into languages other than English.
18The limited permissions granted above are perpetual and will not be revoked by OASIS or its successors or assigns.
19This document and the information contained herein is provided on an AS IS basis and OASIS DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED,
20INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
21MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
22 -->
23
24<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'
25 xmlns:xenc='http://www.w3.org/2001/04/xmlenc#'
26 xmlns:tns='http://docs.oasis-open.org/wsfed/authorization/200706'
27 targetNamespace='http://docs.oasis-open.org/wsfed/authorization/200706'
28 elementFormDefault='qualified' >
29 <xs:import namespace='http://www.w3.org/2001/04/xmlenc#'
30 schemaLocation='xenc-schema.xsd'/>
31
32 <!-- Section 9.2 -->
33 <xs:element name='AdditionalContext' type='tns:AdditionalContextType' />
34 <xs:complexType name='AdditionalContextType' >
35 <xs:sequence>
36 <xs:element name='ContextItem' type='tns:ContextItemType' minOccurs='0' maxOccurs='unbounded' />
37 <xs:any namespace='##other' processContents='lax' minOccurs='0' maxOccurs='unbounded' />
38 </xs:sequence>
39 <xs:anyAttribute namespace='##other' processContents='lax' />
40 </xs:complexType>
41
42 <xs:complexType name='ContextItemType' >
43 <xs:choice minOccurs='0'>
44 <xs:element name='Value' type='xs:string' minOccurs='1' maxOccurs='1' />
45 <xs:any namespace='##other' processContents='lax' minOccurs='1' maxOccurs='1' />
46 </xs:choice>
47 <xs:attribute name='Name' type='xs:anyURI' use='required' />
48 <xs:attribute name='Scope' type='xs:anyURI' use='optional' />
49 <xs:anyAttribute namespace='##other' processContents='lax' />
50 </xs:complexType>
51
52 <!-- Section 9.3 -->
53 <xs:element name='ClaimType' type='tns:ClaimType' />
54 <xs:complexType name='ClaimType' >
55 <xs:sequence>
56 <xs:element name="DisplayName" type="tns:DisplayNameType" minOccurs="0" maxOccurs="1" />
57 <xs:element name="Description" type="tns:DescriptionType" minOccurs="0" maxOccurs="1" />
58 <xs:element name="DisplayValue" type="tns:DisplayValueType" minOccurs="0" maxOccurs="1" />
59 <xs:choice minOccurs='0'>
60 <xs:element name='Value' type='xs:string' minOccurs='1' maxOccurs='1' />
61 <xs:element name='EncryptedValue' type='tns:EncryptedValueType' minOccurs='1' maxOccurs='1' />
62 <xs:element name='StructuredValue' type='tns:StructuredValueType' minOccurs='1' maxOccurs='1' />
63 <xs:element name='ConstrainedValue' type='tns:ConstrainedValueType' minOccurs='1' maxOccurs='1' />
64 <xs:any namespace='##other' processContents='lax' minOccurs='1' maxOccurs='1' />
65 </xs:choice>
66 </xs:sequence>
67 <xs:attribute name='Uri' type='xs:anyURI' use='required' />
68 <xs:attribute name='Optional' type='xs:boolean' use='optional' />
69 <xs:anyAttribute namespace='##other' processContents='lax' />
70 </xs:complexType>
71
72 <xs:complexType name="DisplayNameType">
73 <xs:simpleContent>
74 <xs:extension base="xs:string">
75 <xs:anyAttribute namespace="##other" processContents="lax" />
76 </xs:extension>
77 </xs:simpleContent>
78 </xs:complexType>
79 <xs:complexType name="DescriptionType">
80 <xs:simpleContent>
81 <xs:extension base="xs:string">
82 <xs:anyAttribute namespace="##other" processContents="lax" />
83 </xs:extension>
84 </xs:simpleContent>
85 </xs:complexType>
86 <xs:complexType name="DisplayValueType">
87 <xs:simpleContent>
88 <xs:extension base="xs:string">
89 <xs:anyAttribute namespace="##other" processContents="lax" />
90 </xs:extension>
91 </xs:simpleContent>
92 </xs:complexType>
93
94 <xs:complexType name="EncryptedValueType">
95 <xs:sequence>
96 <xs:element ref="xenc:EncryptedData" minOccurs="1" maxOccurs="1"/>
97 </xs:sequence>
98 <xs:attribute name="DecryptionCondition" type="xs:anyURI" use="optional"/>
99 </xs:complexType>
100
101 <xs:complexType name="StructuredValueType">
102 <xs:sequence>
103 <xs:any namespace='##other' processContents='lax' minOccurs='1' maxOccurs='unbounded' />
104 </xs:sequence>
105 <xs:anyAttribute namespace='##other' processContents='lax' />
106 </xs:complexType>
107
108 <!-- Section 9.3.1 -->
109
110 <xs:complexType name='ConstrainedValueType'>
111 <xs:sequence>
112 <xs:choice minOccurs='1'>
113 <xs:element name='ValueLessThan' type='tns:ConstrainedSingleValueType' minOccurs='1' maxOccurs='1'/>
114 <xs:element name='ValueLessThanOrEqual' type='tns:ConstrainedSingleValueType' minOccurs='1' maxOccurs='1'/>
115 <xs:element name='ValueGreaterThan' type='tns:ConstrainedSingleValueType' minOccurs='1' maxOccurs='1'/>
116 <xs:element name='ValueGreaterThanOrEqual' type='tns:ConstrainedSingleValueType' minOccurs='1' maxOccurs='1'/>
117 <xs:element name='ValueInRangen' type='tns:ValueInRangeType' minOccurs='1' maxOccurs='1'/>
118 <xs:element name='ValueOneOf' type='tns:ConstrainedManyValueType' minOccurs='1' maxOccurs='1'/>
119 </xs:choice>
120 <xs:any namespace='##other' processContents='lax' minOccurs='1' maxOccurs='unbounded' />
121 </xs:sequence>
122 <xs:attribute name='AssertConstraint' type='xs:boolean' use='optional' />
123 </xs:complexType>
124 <xs:complexType name='ValueInRangeType'>
125 <xs:sequence>
126 <xs:element name='ValueUpperBound' type='tns:ConstrainedSingleValueType' minOccurs='1' maxOccurs='1'/>
127 <xs:element name='ValueLowerBound' type='tns:ConstrainedSingleValueType' minOccurs='1' maxOccurs='1'/>
128 </xs:sequence>
129 </xs:complexType>
130
131 <xs:complexType name='ConstrainedSingleValueType'>
132 <xs:choice minOccurs='0'>
133 <xs:element name='Value' type='xs:string' minOccurs='1' maxOccurs='1' />
134 <xs:element name='StructuredValue' type='tns:StructuredValueType' minOccurs='1' maxOccurs='1' />
135 </xs:choice>
136 </xs:complexType>
137
138 <xs:complexType name='ConstrainedManyValueType'>
139 <xs:choice minOccurs='0'>
140 <xs:element name='Value' type='xs:string' minOccurs='1' maxOccurs='unbounded' />
141 <xs:element name='StructuredValue' type='tns:StructuredValueType' minOccurs='1' maxOccurs='unbounded' />
142 </xs:choice>
143 </xs:complexType>
144
145</xs:schema>