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

« back to all changes in this revision

Viewing changes to keystone/content/admin/xsd/user.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
<!-- (C) 2011 OpenStack LLC., All Rights Reserved -->
 
5
 
 
6
<schema
 
7
    elementFormDefault="qualified"
 
8
    attributeFormDefault="unqualified"
 
9
    xmlns="http://www.w3.org/2001/XMLSchema"
 
10
    xmlns:identity="http://docs.openstack.org/identity/api/v2.0"
 
11
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
 
12
    xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"   
 
13
    xmlns:atom="http://www.w3.org/2005/Atom"
 
14
    targetNamespace="http://docs.openstack.org/identity/api/v2.0" 
 
15
>
 
16
 
 
17
    <!-- Import ATOM specific schema definitions -->
 
18
    <import vc:minVersion="1.1" namespace="http://www.w3.org/2005/Atom"
 
19
            schemaLocation="atom/atom.xsd" />
 
20
 
 
21
    <!-- Elements -->
 
22
    <element name="users" type="identity:UserList"  >
 
23
        <annotation>
 
24
            <xsd:documentation
 
25
                    xml:lang="EN"
 
26
                    xmlns="http://www.w3.org/2001/XMLSchema">
 
27
                <p>
 
28
                    A list of Users.
 
29
                </p>
 
30
            </xsd:documentation>
 
31
        </annotation>
 
32
    </element>
 
33
 
 
34
    <element name="user" type="identity:User">
 
35
        <annotation>
 
36
            <xsd:documentation
 
37
                xml:lang="EN"
 
38
                xmlns="http://www.w3.org/2001/XMLSchema">
 
39
                <p>
 
40
                    A Keystone User.
 
41
                </p>
 
42
            </xsd:documentation>
 
43
        </annotation>
 
44
    </element>
 
45
 
 
46
    <!-- Complex Types -->
 
47
    <complexType name="User">
 
48
        <attribute name="id" type="xsd:ID" use="required">            
 
49
            <annotation>
 
50
                <xsd:documentation
 
51
                    xml:lang="EN"
 
52
                    xmlns="http://www.w3.org/1999/xhtml">
 
53
                    <p>
 
54
                        An automatically generated, unique, immutable (it will never change) identifier
 
55
                        for the user. This is generated by the backend this user is stored in.
 
56
                    </p>
 
57
                </xsd:documentation>
 
58
            </annotation>
 
59
        </attribute>
 
60
        <attribute name="username" type="xsd:string" use="required">            
 
61
            <annotation>
 
62
                <xsd:documentation
 
63
                    xml:lang="EN"
 
64
                    xmlns="http://www.w3.org/1999/xhtml">
 
65
                    <p>
 
66
                        A unique, mutable (it can change) user name that may be used by the user
 
67
                        an identifier when presenting credentials.
 
68
                    </p>
 
69
                </xsd:documentation>
 
70
            </annotation>
 
71
        </attribute>
 
72
        <attribute name="email" type="xsd:string" use="optional"/>
 
73
        <attribute name="enabled" type="xsd:boolean" default="true" use="optional">            
 
74
            <annotation>
 
75
                <xsd:documentation
 
76
                    xml:lang="EN"
 
77
                    xmlns="http://www.w3.org/1999/xhtml">
 
78
                    <p>
 
79
                        A true/false value that determines if the user may authenticate or not.
 
80
                        If enabled is false, the user will not be able to authenticate.
 
81
                        How this value is stored or generated is dependent on the backend in use.
 
82
                    </p>
 
83
                </xsd:documentation>
 
84
            </annotation>
 
85
        </attribute>
 
86
        <attribute name="display-name" type="xsd:string" use="optional">
 
87
            <annotation>
 
88
                <xsd:documentation
 
89
                    xml:lang="EN"
 
90
                    xmlns="http://www.w3.org/1999/xhtml">
 
91
                    <p>
 
92
                        A human-readable, friendly name for use in user interfaces.
 
93
                    </p>
 
94
                </xsd:documentation>
 
95
            </annotation>
 
96
        </attribute>
 
97
        <attribute name="updated" type="xsd:dateTime" use="optional">
 
98
            <annotation>
 
99
                <xsd:documentation
 
100
                    xml:lang="EN"
 
101
                    xmlns="http://www.w3.org/1999/xhtml">
 
102
                    <p>
 
103
                        A time-stamp identifying the modification time of the
 
104
                        user.
 
105
                    </p>
 
106
                </xsd:documentation>
 
107
            </annotation>
 
108
        </attribute>
 
109
        <attribute name="created" type="xsd:dateTime" use="optional">
 
110
            <annotation>
 
111
                <xsd:documentation
 
112
                    xml:lang="EN"
 
113
                    xmlns="http://www.w3.org/1999/xhtml">
 
114
                    <p>
 
115
                        A creation time-stamp for the user.
 
116
                    </p>
 
117
                </xsd:documentation>
 
118
            </annotation>
 
119
        </attribute>
 
120
        <anyAttribute namespace="##other" processContents="lax"/>        
 
121
    </complexType>
 
122
 
 
123
    <complexType name="UserList">
 
124
        <sequence>
 
125
            <element name="user" type="identity:User" minOccurs="0" maxOccurs="unbounded"/>
 
126
            <element vc:minVersion="1.1" ref="atom:link" minOccurs="0" maxOccurs="unbounded" />
 
127
            <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
 
128
        </sequence>
 
129
        <anyAttribute namespace="##other" processContents="lax"/>
 
130
    </complexType>
 
131
    
 
132
</schema>