saml2 3.1.1 → 3.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (100) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +6 -4
  3. data/exe/bulk_verify_responses +94 -0
  4. data/lib/saml2/assertion.rb +7 -7
  5. data/lib/saml2/attribute/x500.rb +31 -28
  6. data/lib/saml2/attribute.rb +53 -49
  7. data/lib/saml2/attribute_consuming_service.rb +29 -31
  8. data/lib/saml2/authn_request.rb +54 -47
  9. data/lib/saml2/authn_statement.rb +31 -20
  10. data/lib/saml2/base.rb +72 -63
  11. data/lib/saml2/bindings/http_post.rb +7 -7
  12. data/lib/saml2/bindings/http_redirect.rb +37 -33
  13. data/lib/saml2/bindings.rb +1 -1
  14. data/lib/saml2/conditions.rb +19 -16
  15. data/lib/saml2/contact.rb +19 -18
  16. data/lib/saml2/endpoint.rb +14 -11
  17. data/lib/saml2/entity.rb +27 -27
  18. data/lib/saml2/identity_provider.rb +13 -10
  19. data/lib/saml2/indexed_object.rb +15 -12
  20. data/lib/saml2/key.rb +43 -34
  21. data/lib/saml2/localized_name.rb +11 -10
  22. data/lib/saml2/logout_request.rb +8 -8
  23. data/lib/saml2/logout_response.rb +4 -4
  24. data/lib/saml2/message.rb +24 -20
  25. data/lib/saml2/name_id.rb +45 -41
  26. data/lib/saml2/namespaces.rb +8 -8
  27. data/lib/saml2/organization.rb +11 -10
  28. data/lib/saml2/organization_and_contacts.rb +5 -5
  29. data/lib/saml2/request.rb +3 -3
  30. data/lib/saml2/requested_authn_context.rb +4 -4
  31. data/lib/saml2/response.rb +45 -33
  32. data/lib/saml2/role.rb +11 -11
  33. data/lib/saml2/schemas.rb +13 -10
  34. data/lib/saml2/service_provider.rb +11 -12
  35. data/lib/saml2/signable.rb +23 -18
  36. data/lib/saml2/sso.rb +5 -5
  37. data/lib/saml2/status.rb +9 -7
  38. data/lib/saml2/status_response.rb +5 -5
  39. data/lib/saml2/subject.rb +28 -28
  40. data/lib/saml2/version.rb +1 -1
  41. data/lib/saml2.rb +7 -7
  42. metadata +78 -137
  43. data/schemas/MetadataExchange.xsd +0 -112
  44. data/schemas/metadata_combined.xsd +0 -13
  45. data/schemas/oasis-200401-wss-wssecurity-secext-1.0.xsd +0 -195
  46. data/schemas/oasis-200401-wss-wssecurity-utility-1.0.xsd +0 -108
  47. data/schemas/saml-schema-assertion-2.0.xsd +0 -283
  48. data/schemas/saml-schema-metadata-2.0.xsd +0 -339
  49. data/schemas/saml-schema-protocol-2.0.xsd +0 -302
  50. data/schemas/sstc-saml-metadata-ext-query.xsd +0 -66
  51. data/schemas/ws-addr.xsd +0 -137
  52. data/schemas/ws-authorization.xsd +0 -145
  53. data/schemas/ws-federation.xsd +0 -471
  54. data/schemas/ws-securitypolicy-1.2.xsd +0 -1205
  55. data/schemas/xenc-schema.xsd +0 -136
  56. data/schemas/xml.xsd +0 -287
  57. data/schemas/xmldsig-core-schema.xsd +0 -309
  58. data/spec/fixtures/FederationMetadata.xml +0 -670
  59. data/spec/fixtures/authnrequest.xml +0 -12
  60. data/spec/fixtures/certificate.pem +0 -24
  61. data/spec/fixtures/entities.xml +0 -13
  62. data/spec/fixtures/external-uri-reference-response.xml +0 -48
  63. data/spec/fixtures/identity_provider.xml +0 -46
  64. data/spec/fixtures/noconditions_response.xml +0 -1
  65. data/spec/fixtures/othercertificate.pem +0 -25
  66. data/spec/fixtures/privatekey.key +0 -27
  67. data/spec/fixtures/response_assertion_signed_reffed_from_response.xml +0 -6
  68. data/spec/fixtures/response_signed.xml +0 -46
  69. data/spec/fixtures/response_tampered_certificate.xml +0 -25
  70. data/spec/fixtures/response_tampered_signature.xml +0 -46
  71. data/spec/fixtures/response_with_attribute_signed.xml +0 -46
  72. data/spec/fixtures/response_with_encrypted_assertion.xml +0 -58
  73. data/spec/fixtures/response_with_rsa_key_value.xml +0 -1
  74. data/spec/fixtures/response_with_signed_assertion_and_encrypted_subject.xml +0 -116
  75. data/spec/fixtures/response_without_keyinfo.xml +0 -1
  76. data/spec/fixtures/service_provider.xml +0 -79
  77. data/spec/fixtures/test3-response.xml +0 -9
  78. data/spec/fixtures/test6-response.xml +0 -10
  79. data/spec/fixtures/test7-response.xml +0 -10
  80. data/spec/fixtures/xml_missigned_assertion.xml +0 -84
  81. data/spec/fixtures/xml_signature_wrapping_attack_duplicate_ids.xml +0 -11
  82. data/spec/fixtures/xml_signature_wrapping_attack_response_attributes.xml +0 -45
  83. data/spec/fixtures/xml_signature_wrapping_attack_response_nameid.xml +0 -44
  84. data/spec/fixtures/xslt-transform-response.xml +0 -57
  85. data/spec/lib/attribute_consuming_service_spec.rb +0 -129
  86. data/spec/lib/attribute_spec.rb +0 -149
  87. data/spec/lib/authn_request_spec.rb +0 -52
  88. data/spec/lib/bindings/http_redirect_spec.rb +0 -183
  89. data/spec/lib/conditions_spec.rb +0 -74
  90. data/spec/lib/entity_spec.rb +0 -58
  91. data/spec/lib/identity_provider_spec.rb +0 -43
  92. data/spec/lib/indexed_object_spec.rb +0 -71
  93. data/spec/lib/key_spec.rb +0 -23
  94. data/spec/lib/logout_request_spec.rb +0 -33
  95. data/spec/lib/logout_response_spec.rb +0 -33
  96. data/spec/lib/message_spec.rb +0 -23
  97. data/spec/lib/response_spec.rb +0 -293
  98. data/spec/lib/service_provider_spec.rb +0 -76
  99. data/spec/lib/signable_spec.rb +0 -15
  100. data/spec/spec_helper.rb +0 -8
@@ -1,66 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
-
3
- <schema
4
- targetNamespace="urn:oasis:names:tc:SAML:metadata:ext:query"
5
- xmlns="http://www.w3.org/2001/XMLSchema"
6
- xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata"
7
- xmlns:query="urn:oasis:names:tc:SAML:metadata:ext:query"
8
- elementFormDefault="unqualified"
9
- attributeFormDefault="unqualified"
10
- blockDefault="substitution"
11
- version="2.0">
12
-
13
- <annotation>
14
- <documentation>
15
- Document title: SAML Metadata Extension Schema for SAML V2.0 and V1.x Query Requesters
16
- Document identifier: sstc-saml-metadata-ext-query.xsd
17
- Location: http://www.oasis-open.org/committees/documents.php?wg_abbrev=security
18
- Revision history:
19
- V1.0 (May 2007):
20
- Initial version.
21
- </documentation>
22
- </annotation>
23
-
24
- <import namespace="urn:oasis:names:tc:SAML:2.0:metadata"
25
- schemaLocation="saml-schema-metadata-2.0.xsd"/>
26
-
27
- <complexType name="QueryDescriptorType" abstract="true">
28
- <complexContent>
29
- <extension base="md:RoleDescriptorType">
30
- <sequence>
31
- <element ref="md:NameIDFormat" minOccurs="0" maxOccurs="unbounded"/>
32
- </sequence>
33
- <attribute name="WantAssertionsSigned" type="boolean" use="optional"/>
34
- </extension>
35
- </complexContent>
36
- </complexType>
37
-
38
- <complexType name="AuthnQueryDescriptorType">
39
- <complexContent>
40
- <extension base="query:QueryDescriptorType"/>
41
- </complexContent>
42
- </complexType>
43
-
44
- <complexType name="AttributeQueryDescriptorType">
45
- <complexContent>
46
- <extension base="query:QueryDescriptorType">
47
- <sequence>
48
- <element ref="md:AttributeConsumingService" minOccurs="0" maxOccurs="unbounded"/>
49
- </sequence>
50
- </extension>
51
- </complexContent>
52
- </complexType>
53
-
54
- <element name="ActionNamespace" type="anyURI"/>
55
-
56
- <complexType name="AuthzDecisionQueryDescriptorType">
57
- <complexContent>
58
- <extension base="query:QueryDescriptorType">
59
- <sequence>
60
- <element ref="query:ActionNamespace" minOccurs="0" maxOccurs="unbounded"/>
61
- </sequence>
62
- </extension>
63
- </complexContent>
64
- </complexType>
65
-
66
- </schema>
data/schemas/ws-addr.xsd DELETED
@@ -1,137 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!--
3
- W3C XML Schema defined in the Web Services Addressing 1.0 specification
4
- http://www.w3.org/TR/ws-addr-core
5
-
6
- Copyright © 2005 World Wide Web Consortium,
7
-
8
- (Massachusetts Institute of Technology, European Research Consortium for
9
- Informatics and Mathematics, Keio University). All Rights Reserved. This
10
- work is distributed under the W3C® Software License [1] in the hope that
11
- it will be useful, but WITHOUT ANY WARRANTY; without even the implied
12
- warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13
-
14
- [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
15
-
16
- $Id: ws-addr.xsd,v 1.2 2008/07/23 13:38:16 plehegar Exp $
17
- -->
18
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.w3.org/2005/08/addressing" targetNamespace="http://www.w3.org/2005/08/addressing" blockDefault="#all" elementFormDefault="qualified" finalDefault="" attributeFormDefault="unqualified">
19
-
20
- <!-- Constructs from the WS-Addressing Core -->
21
-
22
- <xs:element name="EndpointReference" type="tns:EndpointReferenceType"/>
23
- <xs:complexType name="EndpointReferenceType" mixed="false">
24
- <xs:sequence>
25
- <xs:element name="Address" type="tns:AttributedURIType"/>
26
- <xs:element ref="tns:ReferenceParameters" minOccurs="0"/>
27
- <xs:element ref="tns:Metadata" minOccurs="0"/>
28
- <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
29
- </xs:sequence>
30
- <xs:anyAttribute namespace="##other" processContents="lax"/>
31
- </xs:complexType>
32
-
33
- <xs:element name="ReferenceParameters" type="tns:ReferenceParametersType"/>
34
- <xs:complexType name="ReferenceParametersType" mixed="false">
35
- <xs:sequence>
36
- <xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
37
- </xs:sequence>
38
- <xs:anyAttribute namespace="##other" processContents="lax"/>
39
- </xs:complexType>
40
-
41
- <xs:element name="Metadata" type="tns:MetadataType"/>
42
- <xs:complexType name="MetadataType" mixed="false">
43
- <xs:sequence>
44
- <xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
45
- </xs:sequence>
46
- <xs:anyAttribute namespace="##other" processContents="lax"/>
47
- </xs:complexType>
48
-
49
- <xs:element name="MessageID" type="tns:AttributedURIType"/>
50
- <xs:element name="RelatesTo" type="tns:RelatesToType"/>
51
- <xs:complexType name="RelatesToType" mixed="false">
52
- <xs:simpleContent>
53
- <xs:extension base="xs:anyURI">
54
- <xs:attribute name="RelationshipType" type="tns:RelationshipTypeOpenEnum" use="optional" default="http://www.w3.org/2005/08/addressing/reply"/>
55
- <xs:anyAttribute namespace="##other" processContents="lax"/>
56
- </xs:extension>
57
- </xs:simpleContent>
58
- </xs:complexType>
59
-
60
- <xs:simpleType name="RelationshipTypeOpenEnum">
61
- <xs:union memberTypes="tns:RelationshipType xs:anyURI"/>
62
- </xs:simpleType>
63
-
64
- <xs:simpleType name="RelationshipType">
65
- <xs:restriction base="xs:anyURI">
66
- <xs:enumeration value="http://www.w3.org/2005/08/addressing/reply"/>
67
- </xs:restriction>
68
- </xs:simpleType>
69
-
70
- <xs:element name="ReplyTo" type="tns:EndpointReferenceType"/>
71
- <xs:element name="From" type="tns:EndpointReferenceType"/>
72
- <xs:element name="FaultTo" type="tns:EndpointReferenceType"/>
73
- <xs:element name="To" type="tns:AttributedURIType"/>
74
- <xs:element name="Action" type="tns:AttributedURIType"/>
75
-
76
- <xs:complexType name="AttributedURIType" mixed="false">
77
- <xs:simpleContent>
78
- <xs:extension base="xs:anyURI">
79
- <xs:anyAttribute namespace="##other" processContents="lax"/>
80
- </xs:extension>
81
- </xs:simpleContent>
82
- </xs:complexType>
83
-
84
- <!-- Constructs from the WS-Addressing SOAP binding -->
85
-
86
- <xs:attribute name="IsReferenceParameter" type="xs:boolean"/>
87
-
88
- <xs:simpleType name="FaultCodesOpenEnumType">
89
- <xs:union memberTypes="tns:FaultCodesType xs:QName"/>
90
- </xs:simpleType>
91
-
92
- <xs:simpleType name="FaultCodesType">
93
- <xs:restriction base="xs:QName">
94
- <xs:enumeration value="tns:InvalidAddressingHeader"/>
95
- <xs:enumeration value="tns:InvalidAddress"/>
96
- <xs:enumeration value="tns:InvalidEPR"/>
97
- <xs:enumeration value="tns:InvalidCardinality"/>
98
- <xs:enumeration value="tns:MissingAddressInEPR"/>
99
- <xs:enumeration value="tns:DuplicateMessageID"/>
100
- <xs:enumeration value="tns:ActionMismatch"/>
101
- <xs:enumeration value="tns:MessageAddressingHeaderRequired"/>
102
- <xs:enumeration value="tns:DestinationUnreachable"/>
103
- <xs:enumeration value="tns:ActionNotSupported"/>
104
- <xs:enumeration value="tns:EndpointUnavailable"/>
105
- </xs:restriction>
106
- </xs:simpleType>
107
-
108
- <xs:element name="RetryAfter" type="tns:AttributedUnsignedLongType"/>
109
- <xs:complexType name="AttributedUnsignedLongType" mixed="false">
110
- <xs:simpleContent>
111
- <xs:extension base="xs:unsignedLong">
112
- <xs:anyAttribute namespace="##other" processContents="lax"/>
113
- </xs:extension>
114
- </xs:simpleContent>
115
- </xs:complexType>
116
-
117
- <xs:element name="ProblemHeaderQName" type="tns:AttributedQNameType"/>
118
- <xs:complexType name="AttributedQNameType" mixed="false">
119
- <xs:simpleContent>
120
- <xs:extension base="xs:QName">
121
- <xs:anyAttribute namespace="##other" processContents="lax"/>
122
- </xs:extension>
123
- </xs:simpleContent>
124
- </xs:complexType>
125
-
126
- <xs:element name="ProblemIRI" type="tns:AttributedURIType"/>
127
-
128
- <xs:element name="ProblemAction" type="tns:ProblemActionType"/>
129
- <xs:complexType name="ProblemActionType" mixed="false">
130
- <xs:sequence>
131
- <xs:element ref="tns:Action" minOccurs="0"/>
132
- <xs:element name="SoapAction" minOccurs="0" type="xs:anyURI"/>
133
- </xs:sequence>
134
- <xs:anyAttribute namespace="##other" processContents="lax"/>
135
- </xs:complexType>
136
-
137
- </xs:schema>
@@ -1,145 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!--
3
- OASIS takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the
4
- implementation 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;
5
- neither 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
6
- specifications can be found at the OASIS website. Copies of claims of rights made available for publication and any assurances of licenses to be made
7
- available, 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
8
- of this specification, can be obtained from the OASIS Executive Director.
9
- OASIS invites any interested party to bring to its attention any copyrights, patents or patent applications, or other proprietary rights which may
10
- cover technology that may be required to implement this specification. Please address the information to the OASIS Executive Director.
11
- Copyright © OASIS Open 2002-2007. All Rights Reserved.
12
- This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist
13
- in its implementation may be prepared, copied, published and distributed, in whole or in part, without restriction of any kind, provided that the
14
- above copyright notice and this paragraph are included on all such copies and derivative works. However, this document itself does not be modified
15
- in any way, such as by removing the copyright notice or references to OASIS, except as needed for the purpose of developing OASIS specifications,
16
- in which case the procedures for copyrights defined in the OASIS Intellectual Property Rights document must be followed, or as required to translate
17
- it into languages other than English.
18
- The limited permissions granted above are perpetual and will not be revoked by OASIS or its successors or assigns.
19
- This document and the information contained herein is provided on an AS IS basis and OASIS DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED,
20
- INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
21
- MERCHANTABILITY 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>