~ubuntu-branches/ubuntu/saucy/keystone/saucy-proposed

« back to all changes in this revision

Viewing changes to keystone/content/service/xsd/RAX-GRP-groups.xsd

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2011-08-23 10:18:22 UTC
  • Revision ID: james.westby@ubuntu.com-20110823101822-enve6zceb3lqhuvj
Tags: upstream-1.0~d4~20110823.1078
ImportĀ upstreamĀ versionĀ 1.0~d4~20110823.1078

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
<?xml-stylesheet type="text/xsl" href="../xslt/schema.xslt"?>
 
3
 
 
4
<schema
 
5
    elementFormDefault="qualified"
 
6
    attributeFormDefault="unqualified"
 
7
    xmlns="http://www.w3.org/2001/XMLSchema"
 
8
    xmlns:identity="http://docs.openstack.org/identity/api/v2.0"
 
9
    xmlns:RAX-GRP="http://docs.rackspace.com/identity/api/ext/RAX-GRP/v1.0"
 
10
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
 
11
    xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
 
12
    xmlns:xsdxt="http://docs.rackspacecloud.com/xsd-ext/v1.0"
 
13
    xmlns:atom="http://www.w3.org/2005/Atom"
 
14
    targetNamespace="http://docs.rackspace.com/identity/api/ext/RAX-GRP/v1.0"
 
15
>
 
16
    <!--Import schema we are extending -->
 
17
    <import namespace="http://docs.openstack.org/identity/api/v2.0"
 
18
        schemaLocation="token.xsd"/>
 
19
    
 
20
    <!-- Elements -->
 
21
 
 
22
    <!-- Complex Types -->
 
23
    <complexType name="UserForAuthData">
 
24
        <complexContent>
 
25
            <extension base="identity:UserForAuthenticateResponse">
 
26
                <sequence>
 
27
                    <element name="groups" type="RAX-GRP:Groups" />
 
28
                </sequence>
 
29
            </extension>
 
30
        </complexContent>
 
31
    </complexType>
 
32
 
 
33
    <complexType name="Groups">
 
34
        <sequence>
 
35
            <element name="group" type="RAX-GRP:Group" maxOccurs="100"/>
 
36
            <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
 
37
        </sequence>
 
38
        <anyAttribute namespace="##other" processContents="lax"/>
 
39
    </complexType>
 
40
    
 
41
    <complexType name="Group">
 
42
        <attribute name="id" type="xsd:string" use="required"/>
 
43
        <attribute name="name" type="xsd:string" use="required"/>
 
44
        <anyAttribute namespace="##other" processContents="lax"/>
 
45
    </complexType>
 
46
 
 
47
    <complexType name="TenantGroup">
 
48
        <complexContent>
 
49
            <extension base="RAX-GRP:Group">
 
50
                <attribute name="tenantId" type="xsd:string"  use="required"/>
 
51
            </extension>
 
52
        </complexContent>
 
53
    </complexType>
 
54
</schema>
 
55