ГОСТ Р ИСО/МЭК 19770-2-2014
Приложение G
(справочное)
Определение схемы XML (XSD)
G.1 Введение
В следующем XSD приводится определение тега идентификации программного обеспечения. Файл XSD дол
жен быть доступен по следующему адресу.
http.7/standards.iso.org’iso/1977Q/-2/2009/schema.xsd
G.2 Схема XML
<?хш1 version=*1.0’ encoding=“UTF-8"?>
<xs:schema elementFormDefault=’qualified" targetNamespace="
http://standards.iso.org/iso.,19770/-2/2008/
schema.xsd’
xmlns:swid=’
http://sta
ndards.iso.orgilso/l9770/-2/2008,’schema.xscT
xmlns:ds="http./,>’w4vw.w3.org/2000/09/xrntdsig#’ xmlns:xs="http:tfwww.w3.orgi’2001/XMLSchema’>
<xs:import namespace=’
http://ww.v.w3.org’2000i’09/xmldsig#’
schemaLocation=’
http://www.w3.org/TR/xm!dsig-
core/xmldsig-core-schema.xsd
"
l>
<xs:annotalion>
<xs:documentation>
Schema for ISO-IEC 19770-2 Software Identification Tags
http://standards.iso.org.’iso/19770/-2/2009/schema.xsd
Revision: 1.0
Copyright 2009 ISO/IEC. all rights reserved
This XML Scheme Document (XSD) may be accessed, stored, copied and transferred without authorization from
ISO or its members on the condition that it is not modified and that there is no charge associated with access to this XSD
file. Copyright remains with ISO.
</xs:documentatk>n>
</xs:annotation>
<!— Root tag —>
<xs:element name=’software_Kfentification_tag" type="swid:SoftwareldentificationTagComplexType"
f>
<!-- SoftwareAsset Tag structure definition ->
<xs:complexType name=’Software!dentificationTagComplexType">
<xs:sequence>
<!-- Mandatory Elements ->
<xs:element name=’entitlement_requiredJndicator’ type=“swid:Bootean"
f>
<xs:element name=’product_title" type="swid:Token" />
<xs:element name=’product_version" type=’swid:ProductVersionComplexType" />
<xs:element name=’software_creator“ type="swid:EntityComplexType’
f>
<xs:element name=‘softwareJicensor‘ type=’swid:EntityComplexType* />
<xs:element name=’software_id" type=‘swid:SoftwareldComplexType"
l>
<xs:element name=*tag_creator’ type="swid:EntityComplexType’ />
<!— Optional Elements ->
<xs:element minOccurs="0" maxOccurs=’unbounded" name="abstract" type=’sw»d:AbstractComplexType’ />
<xs:element minOccurs="0" name=’component_oT type=’swid:ListOfSoftwareldsComplexType"
l>
<xs:element minOccurs=“0" name=’complex_of type=*swid:ListOfSoftwareldsComplexType*
l>
<xs:element minOccurs^O" name="data_source* type=*swid:Token’’
f>
<xs:element minOccurs=“0" name="dependency" type=’swid:ListOfSoftwareldsComplexType"
f>
<xs:element minOccurs="0" maxOccurs=‘unbounded" name="elements_owner’ type=’swid:0ementsOwnerComp
lexType* />
<xs:element minOccurs="0" name="installation_detaifs" type="swid:lnstallationDetailsComplexType’ />
<xs:element minOccurs="0" name="keywords’ type=‘swid:KeywordsComplexType’ />
<xs:element mmOccurs=’0’ name="license_linkage’ type=’swid:LicenseLinkageComplexType* />
<xs:element minOccurs=’0" name=’packagejootprint" type=’swid:PackageFootprintComplexType’ />
<xs:element minOccurs="0" name=’packager’ type=’swid:PackagerComplex-Type"
t>
<xs:element minOccurs="0" name=’product_category’ type=’swid:CategoryComplexType’
t>
<xs:element minOccurs="0“ name="product_family’ type="swid:Token"
f>
<xs:element minOccurs=“0’ maxOccurs=’unbounded" name="product_id" type="swid:Token’
l>
<xs:element minOccurs=’0’’ name=“release_date" type="swid:DateTime’
t>
79