- don't die if baserev does not exist
[opensuse:build-service.git] / docs / api / api / attribute_namespace.xsd
1 <?xml version="1.0" encoding="UTF-8"?>
2 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" 
3   elementFormDefault="qualified">
4
5   <xs:annotation>
6     <xs:documentation>
7       This schema describes the system wide attribute definitions for the OBS.
8     </xs:documentation>
9   </xs:annotation>
10
11   <xs:element name="modifiable_by">
12     <xs:annotation>
13       <xs:documentation>
14         To specify access lists of a namespace or attribute. 
15       </xs:documentation>
16     </xs:annotation>
17     <xs:complexType>
18       <xs:attribute name="name" type="xs:string"/>
19       <xs:attribute name="group" type="xs:string"/>
20     </xs:complexType>
21   </xs:element>
22
23   <xs:element name="namespace">
24     <xs:annotation>
25       <xs:documentation>
26         Attribute namespace defintions
27       </xs:documentation>
28     </xs:annotation>
29     <xs:complexType>
30       <xs:sequence>
31         <xs:element minOccurs="0" maxOccurs="unbounded" ref="modifiable_by"/>
32       </xs:sequence>
33       <xs:attribute name="name" type="xs:string"/>
34     </xs:complexType>
35   </xs:element>
36
37 </xs:schema>