xref: /illumos-gate/usr/src/lib/libbsm/common/adt.xsd (revision 7a38c0be)
1*c0c79a3fStz<?xml version="1.0"?>
2*c0c79a3fStz<!--
3*c0c79a3fStz CDDL HEADER START
4*c0c79a3fStz
5*c0c79a3fStz The contents of this file are subject to the terms of the
6*c0c79a3fStz Common Development and Distribution License (the "License").
7*c0c79a3fStz You may not use this file except in compliance with the License.
8*c0c79a3fStz
9*c0c79a3fStz You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10*c0c79a3fStz or http://www.opensolaris.org/os/licensing.
11*c0c79a3fStz See the License for the specific language governing permissions
12*c0c79a3fStz and limitations under the License.
13*c0c79a3fStz
14*c0c79a3fStz When distributing Covered Code, include this CDDL HEADER in each
15*c0c79a3fStz file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16*c0c79a3fStz If applicable, add the following below this CDDL HEADER, with the
17*c0c79a3fStz fields enclosed by brackets "[]" replaced with your own identifying
18*c0c79a3fStz information: Portions Copyright [yyyy] [name of copyright owner]
19*c0c79a3fStz
20*c0c79a3fStz CDDL HEADER END
21*c0c79a3fStz
22*c0c79a3fStzCopyright 2007 Sun Microsystems, Inc.  All rights reserved.
23*c0c79a3fStzUse is subject to license terms.
24*c0c79a3fStz
25*c0c79a3fStz  ident	"%Z%%M%	%I%	%E% SMI"
26*c0c79a3fStz-->
27*c0c79a3fStz
28*c0c79a3fStz<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
29*c0c79a3fStz
30*c0c79a3fStz<xs:element name="specification">
31*c0c79a3fStz	<xs:complexType>
32*c0c79a3fStz		<xs:sequence minOccurs="0" maxOccurs="unbounded">
33*c0c79a3fStz			<xs:element name="debug" type="debug_t" minOccurs="0" maxOccurs="unbounded"/>
34*c0c79a3fStz			<xs:element name="event" type="event_t" minOccurs="0" maxOccurs="unbounded"/>
35*c0c79a3fStz			<xs:element name="token" type="token_t" minOccurs="0" maxOccurs="unbounded"/>
36*c0c79a3fStz			<xs:element name="msg_list" type="msg_list_t" minOccurs="0" maxOccurs="unbounded"/>
37*c0c79a3fStz		</xs:sequence>
38*c0c79a3fStz	</xs:complexType>
39*c0c79a3fStz</xs:element>
40*c0c79a3fStz
41*c0c79a3fStz<xs:complexType name="debug_t">
42*c0c79a3fStz	<xs:attribute name="set" use="required">
43*c0c79a3fStz		<xs:simpleType>
44*c0c79a3fStz			<xs:restriction base="xs:string">
45*c0c79a3fStz				<xs:enumeration value="on"/>
46*c0c79a3fStz				<xs:enumeration value="off"/>
47*c0c79a3fStz			</xs:restriction>
48*c0c79a3fStz		</xs:simpleType>
49*c0c79a3fStz	</xs:attribute>
50*c0c79a3fStz</xs:complexType>
51*c0c79a3fStz
52*c0c79a3fStz<xs:complexType name="event_t">
53*c0c79a3fStz	<xs:sequence minOccurs="0">
54*c0c79a3fStz		<xs:element name="debug" type="debug_t" minOccurs="0"/>
55*c0c79a3fStz		<xs:element name="altname" type="xs:string" minOccurs="0"/>
56*c0c79a3fStz		<xs:element name="title" type="xs:string" minOccurs="0" maxOccurs="1"/>
57*c0c79a3fStz		<xs:element name="program" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
58*c0c79a3fStz		<xs:element name="see" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
59*c0c79a3fStz		<xs:element name="entry" type="entry_t" minOccurs="0" maxOccurs="unbounded"/>
60*c0c79a3fStz	</xs:sequence>
61*c0c79a3fStz	<xs:attribute name="id" type="xs:string" use="required"/>
62*c0c79a3fStz	<xs:attribute name="reorder">
63*c0c79a3fStz		<xs:simpleType>
64*c0c79a3fStz			<xs:restriction base="xs:string">
65*c0c79a3fStz				<xs:enumeration value="yes"/>
66*c0c79a3fStz				<xs:enumeration value="no"/>
67*c0c79a3fStz			</xs:restriction>
68*c0c79a3fStz		</xs:simpleType>
69*c0c79a3fStz	</xs:attribute>
70*c0c79a3fStz	<xs:attribute name="header" type="xs:unsignedShort"/>
71*c0c79a3fStz	<xs:attribute name="idNo" type="xs:unsignedShort"/>
72*c0c79a3fStz	<xs:attribute name="type" type="xs:string"/>
73*c0c79a3fStz	<xs:attribute name="omit">
74*c0c79a3fStz		<xs:simpleType>
75*c0c79a3fStz			<xs:restriction base="xs:string">
76*c0c79a3fStz				<xs:enumeration value="no"/>
77*c0c79a3fStz				<xs:enumeration value="always"/>
78*c0c79a3fStz				<xs:enumeration value="JNI"/>
79*c0c79a3fStz			</xs:restriction>
80*c0c79a3fStz		</xs:simpleType>
81*c0c79a3fStz	</xs:attribute>
82*c0c79a3fStz	<xs:attribute name="instance_of" type="xs:string"/>
83*c0c79a3fStz</xs:complexType>
84*c0c79a3fStz
85*c0c79a3fStz<xs:complexType name="entry_t">
86*c0c79a3fStz	<xs:sequence>
87*c0c79a3fStz		<xs:element name="debug" type="debug_t" minOccurs="0"/>
88*c0c79a3fStz		<xs:element name="internal">
89*c0c79a3fStz			<xs:complexType>
90*c0c79a3fStz				<xs:attribute name="token" type="xs:string" use="required"/>
91*c0c79a3fStz				<xs:attribute name="order" type="xs:unsignedShort"/>
92*c0c79a3fStz				<xs:attribute name="format" type="xs:string"/>
93*c0c79a3fStz			</xs:complexType>
94*c0c79a3fStz		</xs:element>
95*c0c79a3fStz		<xs:element name="external">
96*c0c79a3fStz			<xs:complexType>
97*c0c79a3fStz				<xs:attribute name="opt" use="required">
98*c0c79a3fStz					<xs:simpleType>
99*c0c79a3fStz						<xs:restriction base="xs:string">
100*c0c79a3fStz							<xs:enumeration value="required"/>
101*c0c79a3fStz							<xs:enumeration value="optional"/>
102*c0c79a3fStz							<xs:enumeration value="obsolete"/>
103*c0c79a3fStz							<xs:enumeration value="none"/>
104*c0c79a3fStz						</xs:restriction>
105*c0c79a3fStz					</xs:simpleType>
106*c0c79a3fStz				</xs:attribute>
107*c0c79a3fStz				<xs:attribute name="type" type="xs:string"/>
108*c0c79a3fStz			</xs:complexType>
109*c0c79a3fStz		</xs:element>
110*c0c79a3fStz		<xs:element name="comment" type="xs:string" minOccurs="0" maxOccurs="1"/>
111*c0c79a3fStz	</xs:sequence>
112*c0c79a3fStz	<xs:attribute name="id" type="xs:string" use="required"/>
113*c0c79a3fStz</xs:complexType>
114*c0c79a3fStz
115*c0c79a3fStz<xs:simpleType name="bool_t">
116*c0c79a3fStz	<xs:restriction base="xs:string">
117*c0c79a3fStz		<xs:enumeration value="true"/>
118*c0c79a3fStz		<xs:enumeration value="false"/>
119*c0c79a3fStz	</xs:restriction>
120*c0c79a3fStz</xs:simpleType>
121*c0c79a3fStz
122*c0c79a3fStz<xs:complexType name="token_t">
123*c0c79a3fStz	<xs:simpleContent>
124*c0c79a3fStz		<xs:extension base="xs:string">
125*c0c79a3fStz			<xs:attribute name="id" type="xs:string" use="required"/>
126*c0c79a3fStz			<xs:attribute name="usage" type="xs:string"/>
127*c0c79a3fStz		</xs:extension>
128*c0c79a3fStz	</xs:simpleContent>
129*c0c79a3fStz</xs:complexType>
130*c0c79a3fStz
131*c0c79a3fStz<xs:complexType name="msg_list_t">
132*c0c79a3fStz	<xs:sequence>
133*c0c79a3fStz		<xs:element name="msg" minOccurs="0" maxOccurs="unbounded">
134*c0c79a3fStz			<xs:complexType>
135*c0c79a3fStz				<xs:simpleContent>
136*c0c79a3fStz					<xs:extension base="xs:string">
137*c0c79a3fStz						<xs:attribute name="id" type="xs:string"/>
138*c0c79a3fStz					</xs:extension>
139*c0c79a3fStz				</xs:simpleContent>
140*c0c79a3fStz			</xs:complexType>
141*c0c79a3fStz		</xs:element>
142*c0c79a3fStz	</xs:sequence>
143*c0c79a3fStz	<xs:attribute name="id" type="xs:string" use="required"/>
144*c0c79a3fStz	<xs:attribute name="header" type="xs:unsignedShort" use="required"/>
145*c0c79a3fStz	<xs:attribute name="start" type="xs:unsignedShort"/>
146*c0c79a3fStz	<xs:attribute name="public" type="bool_t"/>
147*c0c79a3fStz	<xs:attribute name="deprecated" type="bool_t"/>
148*c0c79a3fStz</xs:complexType>
149*c0c79a3fStz
150*c0c79a3fStz</xs:schema>
151