7.1.1 Общие положения
Структура любого шаблона возможностей интероперабельности должна быть описана с использованием XML схемы, с помощью которой можно определить элементы и их атрибуты.
Структура шаблона состоит из двух частей:
a) общая часть типа commonPartType;
b) специальная часть типа specificPartType.
7.1.2 Формальная структура
Формальной структурой шаблона является следующая:
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="ISO16100CapabilityProfileSchema"
xmlns:cpsc="ISO16100CommonSchema" xmlns="ISO16100CapabilityProfileSchema"
xmlns:xs="http://www.w3.org/2001/XMLSchema" id="CapabilityProfiling" xml:lang="EN">
<xs:element name="CapabilityProfiling">
<xs:complexType>
<xs:sequence maxOccurs="unbounded">
<xs:element name="type">
<xs:complexType>
<xs:attribute name="id" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="CapabilityProfile">
<xs:complexType>
<xs:sequence>
<xs:element name="pkgtype">
<xs:complexType>
<xs:attribute name="version" type="xs:string" form="unqualified"/>
</xs:complexType>
</xs:element>
<xs:element name="Common" type="CommonPartType"/>