1
<?xml version="1.0" encoding="UTF-8"?>
2
<?xml-stylesheet type="text/xsl" href="../xslt/schema.xslt"?>
4
<!-- (C) 2011 OpenStack LLC., All Rights Reserved -->
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"
17
<!-- Import ATOM specific schema definitions -->
18
<import vc:minVersion="1.1" namespace="http://www.w3.org/2005/Atom"
19
schemaLocation="atom/atom.xsd" />
22
<element name="users" type="identity:UserList" >
26
xmlns="http://www.w3.org/2001/XMLSchema">
34
<element name="user" type="identity:User">
38
xmlns="http://www.w3.org/2001/XMLSchema">
46
<!-- Complex Types -->
47
<complexType name="User">
48
<attribute name="id" type="xsd:ID" use="required">
52
xmlns="http://www.w3.org/1999/xhtml">
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.
60
<attribute name="username" type="xsd:string" use="required">
64
xmlns="http://www.w3.org/1999/xhtml">
66
A unique, mutable (it can change) user name that may be used by the user
67
an identifier when presenting credentials.
72
<attribute name="email" type="xsd:string" use="optional"/>
73
<attribute name="enabled" type="xsd:boolean" default="true" use="optional">
77
xmlns="http://www.w3.org/1999/xhtml">
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.
86
<attribute name="display-name" type="xsd:string" use="optional">
90
xmlns="http://www.w3.org/1999/xhtml">
92
A human-readable, friendly name for use in user interfaces.
97
<attribute name="updated" type="xsd:dateTime" use="optional">
101
xmlns="http://www.w3.org/1999/xhtml">
103
A time-stamp identifying the modification time of the
109
<attribute name="created" type="xsd:dateTime" use="optional">
113
xmlns="http://www.w3.org/1999/xhtml">
115
A creation time-stamp for the user.
120
<anyAttribute namespace="##other" processContents="lax"/>
123
<complexType name="UserList">
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" />
129
<anyAttribute namespace="##other" processContents="lax"/>