This repository has been archived by the owner on Oct 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy pathx-linux-apt-system-characteristics-schema.xsd
72 lines (72 loc) · 5.89 KB
/
x-linux-apt-system-characteristics-schema.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:oval-sc="http://oval.mitre.org/XMLSchema/oval-system-characteristics-5" xmlns:linux-sc="http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#linux" xmlns:x-linux-sc="http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#x-linux" xmlns:sch="http://purl.oclc.org/dsdl/schematron" targetNamespace="http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#x-linux" elementFormDefault="qualified" version="5.10.1">
<xsd:import namespace="http://oval.mitre.org/XMLSchema/oval-system-characteristics-5"/>
<xsd:import namespace="http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#linux"/>
<xsd:annotation>
<xsd:documentation>This document outlines the items of the OVAL System Characteristics XML schema that are composed of extensions to the OVAL Macintosh schema. Each item is an extention of a basic System Characteristics item defined in the core System Characteristics XML schema.</xsd:documentation>
<xsd:documentation>This schema was originally developed by David Solin at jOVAL.org. The OVAL Schema is maintained by The MITRE Corporation and developed by the public OVAL Community. For more information, including how to get involved in the project and how to submit change requests, please visit the OVAL website at http://oval.mitre.org.</xsd:documentation>
<xsd:appinfo>
<schema>X-Linux System Characteristics</schema>
<version>5.10.1</version>
<date>1/28/2015 02:01:48 PM</date>
<terms_of_use>Copyright (c) 2015, jOVAL.org. All rights reserved. The contents of this file are subject to the terms of the OVAL License located at http://oval.mitre.org/oval/about/termsofuse.html. See the OVAL License for the specific language governing permissions and limitations for use of this schema. When distributing copies of the OVAL Schema, this license header must be included.</terms_of_use>
<sch:ns prefix="oval-sc" uri="http://oval.mitre.org/XMLSchema/oval-system-characteristics-5"/>
<sch:ns prefix="linux-sc" uri="http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#linux"/>
<sch:ns prefix="x-linux-sc" uri="http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#x-linux"/>
<sch:ns prefix="xsi" uri="http://www.w3.org/2001/XMLSchema-instance"/>
</xsd:appinfo>
</xsd:annotation>
<!-- =============================================================================== -->
<!-- =========================== APT ITEM =========================== -->
<!-- =============================================================================== -->
<xsd:element name="apt_item" substitutionGroup="oval-sc:item">
<xsd:annotation>
<xsd:documentation>The apt_item element identifies the result generated for a apt_object.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="oval-sc:ItemType">
<xsd:sequence>
<xsd:element name="name" type="oval-sc:EntityItemStringType" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Specifies the package name.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="operation" type="x-linux-sc:EntityItemDpkgOperationType" minOccurs="1" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>Specifies the operation(s) that would be performed on this package during an upgrade.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="current_version" type="oval-sc:EntityItemEVRStringType" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Specifies the current version of the package. If the package is not currently installed, the entity will have a status of "does not exist".</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="available_version" type="oval-sc:EntityItemEVRStringType" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Specifies the available (upgrade) version of the package. If the package would not be upgraded, the entity will have a status of "does not exist".</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:complexType name="EntityItemDpkgOperationType">
<xsd:annotation>
<xsd:documentation>The EntityItemDpkgOperationType complex type defines the different values that are valid for the operation entity of an apt_item. The empty string is also allowed as a valid value to support the possibility of an error retrieving the value.</xsd:documentation>
</xsd:annotation>
<xsd:simpleContent>
<xsd:restriction base="oval-sc:EntityItemStringType">
<xsd:enumeration value="Inst"/>
<xsd:enumeration value="Conf"/>
<xsd:enumeration value="Remv"/>
<xsd:enumeration value="">
<xsd:annotation>
<xsd:documentation>The empty string value is permitted here to allow for detailed error reporting.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleContent>
</xsd:complexType>
</xsd:schema>