xref: /aosp_15_r20/kernel/configs/xsd/kernelLifetimes/kernel_lifetimes.xsd (revision 1d3556b860e096874ddca674556f5d20fb3a73b0)
1*1d3556b8SAndroid Build Coastguard Worker<?xml version="1.0" encoding="UTF-8"?>
2*1d3556b8SAndroid Build Coastguard Worker<!-- Copyright (C) 2024 The Android Open Source Project
3*1d3556b8SAndroid Build Coastguard Worker
4*1d3556b8SAndroid Build Coastguard Worker         Licensed under the Apache License, Version 2.0 (the "License");
5*1d3556b8SAndroid Build Coastguard Worker         you may not use this file except in compliance with the License.
6*1d3556b8SAndroid Build Coastguard Worker         You may obtain a copy of the License at
7*1d3556b8SAndroid Build Coastguard Worker
8*1d3556b8SAndroid Build Coastguard Worker                    http://www.apache.org/licenses/LICENSE-2.0
9*1d3556b8SAndroid Build Coastguard Worker
10*1d3556b8SAndroid Build Coastguard Worker         Unless required by applicable law or agreed to in writing, software
11*1d3556b8SAndroid Build Coastguard Worker         distributed under the License is distributed on an "AS IS" BASIS,
12*1d3556b8SAndroid Build Coastguard Worker         WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13*1d3556b8SAndroid Build Coastguard Worker         See the License for the specific language governing permissions and
14*1d3556b8SAndroid Build Coastguard Worker         limitations under the License.
15*1d3556b8SAndroid Build Coastguard Worker-->
16*1d3556b8SAndroid Build Coastguard Worker
17*1d3556b8SAndroid Build Coastguard Worker<xs:schema version="2.0"
18*1d3556b8SAndroid Build Coastguard Worker           elementFormDefault="qualified"
19*1d3556b8SAndroid Build Coastguard Worker           attributeFormDefault="unqualified"
20*1d3556b8SAndroid Build Coastguard Worker           xmlns:xs="http://www.w3.org/2001/XMLSchema">
21*1d3556b8SAndroid Build Coastguard Worker    <xs:element name="kernels">
22*1d3556b8SAndroid Build Coastguard Worker        <xs:complexType>
23*1d3556b8SAndroid Build Coastguard Worker            <xs:sequence>
24*1d3556b8SAndroid Build Coastguard Worker                <xs:element name="branch" type="branch" minOccurs="0" maxOccurs="unbounded"/>
25*1d3556b8SAndroid Build Coastguard Worker            </xs:sequence>
26*1d3556b8SAndroid Build Coastguard Worker            <xs:attribute name="schema_version" type="xs:int" use="required"/>
27*1d3556b8SAndroid Build Coastguard Worker        </xs:complexType>
28*1d3556b8SAndroid Build Coastguard Worker    </xs:element>
29*1d3556b8SAndroid Build Coastguard Worker    <xs:complexType name="branch">
30*1d3556b8SAndroid Build Coastguard Worker        <xs:choice>
31*1d3556b8SAndroid Build Coastguard Worker            <xs:element name="no-releases" type="no-releases"/>
32*1d3556b8SAndroid Build Coastguard Worker            <xs:element name="lts-versions" type="lts-versions"/>
33*1d3556b8SAndroid Build Coastguard Worker        </xs:choice>
34*1d3556b8SAndroid Build Coastguard Worker        <xs:attribute name="name" type="xs:string" use="required"/>
35*1d3556b8SAndroid Build Coastguard Worker        <xs:attribute name="min_android_release" type="xs:int"/>
36*1d3556b8SAndroid Build Coastguard Worker        <xs:attribute name="version" type="xs:string" use="required"/>
37*1d3556b8SAndroid Build Coastguard Worker        <xs:attribute name="launch" type="xs:date" use="required"/>
38*1d3556b8SAndroid Build Coastguard Worker        <xs:attribute name="eol" type="xs:date" use="required"/>
39*1d3556b8SAndroid Build Coastguard Worker    </xs:complexType>
40*1d3556b8SAndroid Build Coastguard Worker    <xs:complexType name="no-releases">
41*1d3556b8SAndroid Build Coastguard Worker        <xs:attribute name="reason" type="xs:string" fixed="non-GKI kernel"/>
42*1d3556b8SAndroid Build Coastguard Worker    </xs:complexType>
43*1d3556b8SAndroid Build Coastguard Worker    <xs:complexType name="lts-versions">
44*1d3556b8SAndroid Build Coastguard Worker        <xs:sequence>
45*1d3556b8SAndroid Build Coastguard Worker            <xs:element name="release" type="release" minOccurs="0" maxOccurs="unbounded"/>
46*1d3556b8SAndroid Build Coastguard Worker        </xs:sequence>
47*1d3556b8SAndroid Build Coastguard Worker    </xs:complexType>
48*1d3556b8SAndroid Build Coastguard Worker    <xs:complexType name="release">
49*1d3556b8SAndroid Build Coastguard Worker        <xs:attribute name="version" type="xs:string" use="required"/>
50*1d3556b8SAndroid Build Coastguard Worker        <xs:attribute name="launch" type="xs:date" use="required"/>
51*1d3556b8SAndroid Build Coastguard Worker        <xs:attribute name="eol" type="xs:date" use="required"/>
52*1d3556b8SAndroid Build Coastguard Worker    </xs:complexType>
53*1d3556b8SAndroid Build Coastguard Worker</xs:schema>
54