Project

General

Profile

1
<?xml version="1.0"?>
2
<!--
3
To change this template, choose Tools | Templates
4
and open the template in the editor.
5
-->
6

    
7
<xs:schema version="1.0"
8
           xmlns:xs="http://www.w3.org/2001/XMLSchema"
9
           targetNamespace="http://schemas.espas-fp7.eu/policy"
10
           xmlns:tns="http://schemas.espas-fp7.eu/policy">
11

    
12
    <xs:complexType name="AttributeType">
13
        <xs:annotation>
14
            <xs:documentation>It defines the basic element used by the ESPASAttributeFinder component for configuring the list of supported attributes 
15
                that can be used in associated XACML policies and the queries used for the retrieval of the supported values.</xs:documentation>
16
        </xs:annotation>
17
        <xs:sequence>
18
            <xs:element ref="tns:name"/>
19
            <xs:element ref="tns:parameters"/>
20
            <xs:element ref="tns:query"/>
21
        </xs:sequence>
22
    </xs:complexType>
23
    <xs:element name="name" type="xs:string"/>
24
    <xs:element name="parameters" type="tns:ParametersType"/>
25
    <xs:element name="query" type="xs:string"/>
26
    <xs:element name="Attribute" type="tns:AttributeType"/>
27

    
28
    <xs:complexType name="ParametersType">
29
        <xs:annotation>
30
            <xs:documentation>Parameters list is a ordered list of parameters that should be fed to the defined query in the specified order</xs:documentation>
31
        </xs:annotation>
32
        <xs:sequence>
33
            <xs:element ref="tns:parameter" maxOccurs="unbounded"/>
34
        </xs:sequence>
35
    </xs:complexType>
36
    <xs:element name="parameter" type="xs:string"/>
37
    
38
    <xs:element name="AttributeList">
39
        <xs:complexType>
40
            <xs:sequence>
41
                <xs:element ref="tns:Attribute" maxOccurs="unbounded"/>
42
            </xs:sequence>
43
        </xs:complexType>
44
    </xs:element>
45
</xs:schema>
(2-2/3)