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:xsdxt="http://docs.rackspacecloud.com/xsd-ext/v1.0"
14
xmlns:atom="http://www.w3.org/2005/Atom"
15
targetNamespace="http://docs.openstack.org/identity/api/v2.0"
18
<!-- Import ATOM specific schema definitions -->
19
<import vc:minVersion="1.1" namespace="http://www.w3.org/2005/Atom"
20
schemaLocation="atom/atom.xsd" />
23
<element name="services" type="identity:ServiceList">
27
xmlns="http://www.w3.org/1999/xhtml">
35
<element name="service" type="identity:Service" >
39
xmlns="http://www.w3.org/1999/xhtml">
48
<!-- Complex Types -->
49
<complexType name="Service">
50
<attribute name="id" type="xsd:string" use="required"/>
51
<attribute name="type" type="identity:ExtensibleServiceType" use="required"/>
52
<attribute name="description" type="xsd:string" use="optional"/>
53
<anyAttribute namespace="##other" processContents="lax"/>
56
<complexType name="ServiceList">
58
<element name="service" type="identity:Service" minOccurs="0" maxOccurs="unbounded"/>
59
<element vc:minVersion="1.1" ref="atom:link" minOccurs="0" maxOccurs="unbounded" />
60
<any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
62
<anyAttribute namespace="##other" processContents="lax"/>
66
<simpleType name="ExtensibleServiceType">
70
xmlns="http://www.w3.org/1999/xhtml">
72
An extensible service type allows all of the
73
strings defined in <a href="#type_ServiceType"
74
title="See definition of
75
ServiceType">ServiceType</a> or an
76
alias prefixed status.
80
<union memberTypes="identity:ServiceType identity:ExtendedService"/>
83
<simpleType name="ServiceType">
84
<restriction base="xsd:string">
85
<enumeration value="compute">
89
xmlns="http://www.w3.org/1999/xhtml">
91
The type for an OpenStack Compute API 1.1 compatible service.
96
<enumeration value="object-store">
100
xmlns="http://www.w3.org/1999/xhtml">
102
The type for a Swift-compatible service.
107
<enumeration value="image-service">
111
xmlns="http://www.w3.org/1999/xhtml">
113
The type for a Glance-compatible service
118
<enumeration value="identity">
122
xmlns="http://www.w3.org/1999/xhtml">
124
The type for a Keystone-compatible service.
132
<simpleType name="ExtendedService">
136
xmlns="http://www.w3.org/1999/xhtml">
138
A non-core service type which must contain an extension prefix.
142
<restriction base="xsd:string">
143
<pattern value="(\w|-)+:\w+"/>
b'\\ No newline at end of file'