<?xml version="1.0"?>
<xs:schema xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
           xmlns:xlink="http://www.w3.org/1999/xlink"
           xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="qualified">
    <xs:annotation id="version">
      <xs:documentation>Issue number: 7</xs:documentation>
      <xs:documentation>Issue date: 2026-07-16</xs:documentation>
      <xs:documentation>URL: http://www.s1000d.org/S1000D_7/xml_schema_flat/xcf.xsd</xs:documentation>
      <xs:documentation>Root element: webcgm</xs:documentation>
      <xs:documentation>Remarks: none</xs:documentation>
    </xs:annotation>
    <xs:annotation id="copyright">
      <xs:documentation>Copyright (C) 2026 by Aerospace, Security and Defence Industries Association of Europe - ASD

Publishers:
 1) Aerospace, Security and Defence Industries Association of Europe
 2) Aerospace Industries Association of America
 3) ATA e-Business Program

Limitations of Liability:
1.  This material is provided 'As Is' and neither ASD nor any person who has contributed to the creation, revision or maintenance of the material makes any representations or warranties, express or implied, including but not limited to, warranties of merchantability or fitness for any particular purpose.
2.  Neither ASD nor any person who has contributed to the creation, revision or maintenance of this material shall be liable for any direct, indirect, special or consequential damages or any other liability arising from any use of this material.
3.  Revisions to this document may occur after its issuance. The user is responsible for determining if revisions to the material contained in this document have occurred and are applicable.

The details for copyright can be found in the S1000D Specification.</xs:documentation>
    </xs:annotation>
    <xs:import namespace="http://www.w3.org/XML/1998/namespace"
                schemaLocation="xml.xsd"/>
    <xs:import namespace="http://www.w3.org/1999/xlink"
                schemaLocation="xlink.xsd"/>
    <xs:import namespace="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
                schemaLocation="rdf.xsd"/>
    <xs:element name="webcgm" type="webcgmType"/>
    <xs:complexType name="webcgmType">
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:element ref="grobject"/>
            <xs:element ref="bindById"/>
            <xs:element ref="bindByName"/>
        </xs:choice>
        <xs:attribute ref="id"/>
        <xs:attribute ref="version"/>
        <xs:attribute ref="filename"/>
        <xs:attribute ref="background-color"/>
        <xs:attribute ref="pictureVisibility"/>
        <xs:attributeGroup ref="stylePropertiesAttGroup"/>
    </xs:complexType>
    <xs:element name="grobject" type="grobjectType"/>
    <xs:complexType name="grobjectType">
        <xs:sequence>
            <xs:element ref="linkuri" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
        <xs:attribute ref="apsid" use="required"/>
        <xs:attribute ref="screentip"/>
        <xs:attribute ref="region"/>
        <xs:attribute ref="viewcontext"/>
        <xs:attribute ref="visibility"/>
        <xs:attribute ref="interactivity"/>
        <xs:attributeGroup ref="stylePropertiesAttGroup"/>
    </xs:complexType>
    <xs:element name="linkuri" type="linkuriType"/>
    <xs:complexType name="linkuriType">
        <xs:attribute ref="uri" use="required"/>
        <xs:attribute ref="behavior"/>
        <xs:attribute ref="desc"/>
    </xs:complexType>
    <xs:attribute name="uri" type="xs:string"/>
    <xs:attribute name="behavior" type="xs:string"/>
    <xs:attribute name="desc" type="xs:string"/>
    <xs:attribute name="apsid" type="xs:ID"/>
    <xs:attribute name="screentip" type="xs:string"/>
    <xs:attribute name="region" type="xs:string"/>
    <xs:attribute name="viewcontext" type="xs:string"/>
    <xs:attribute name="visibility" type="visibilityAttType"/>
    <xs:simpleType name="visibilityAttType">
        <xs:restriction base="xs:NMTOKEN">
            <xs:enumeration value="off"/>
            <xs:enumeration value="inherit"/>
            <xs:enumeration value="on"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:attribute name="interactivity" type="interactivityAttType"/>
    <xs:simpleType name="interactivityAttType">
        <xs:restriction base="xs:NMTOKEN">
            <xs:enumeration value="off"/>
            <xs:enumeration value="inherit"/>
            <xs:enumeration value="on"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:attributeGroup name="stylePropertiesAttGroup">
        <xs:attribute ref="edge-visibility"/>
        <xs:attribute ref="fill-color"/>
        <xs:attribute ref="fill-offset"/>
        <xs:attribute ref="hatch-index"/>
        <xs:attribute ref="intensity"/>
        <xs:attribute ref="interior-style"/>
        <xs:attribute ref="pattern-index"/>
        <xs:attribute ref="raster-intensity"/>
        <xs:attribute ref="stroke-color"/>
        <xs:attribute ref="stroke-offset"/>
        <xs:attribute ref="stroke-type"/>
        <xs:attribute ref="stroke-weight"/>
        <xs:attribute ref="text-color"/>
        <xs:attribute ref="text-font"/>
        <xs:attribute ref="text-size"/>
    </xs:attributeGroup>
    <xs:attribute name="edge-visibility" type="xs:string"/>
    <xs:attribute name="fill-color" type="xs:string"/>
    <xs:attribute name="fill-offset" type="xs:string"/>
    <xs:attribute name="hatch-index" type="xs:string"/>
    <xs:attribute name="intensity" type="xs:string"/>
    <xs:attribute name="interior-style" type="xs:string"/>
    <xs:attribute name="pattern-index" type="xs:string"/>
    <xs:attribute name="raster-intensity" type="xs:string"/>
    <xs:attribute name="stroke-color" type="xs:string"/>
    <xs:attribute name="stroke-offset" type="xs:string"/>
    <xs:attribute name="stroke-type" type="xs:string"/>
    <xs:attribute name="stroke-weight" type="xs:string"/>
    <xs:attribute name="text-color" type="xs:string"/>
    <xs:attribute name="text-font" type="xs:string"/>
    <xs:attribute name="text-size" type="xs:string"/>
    <xs:element name="bindById" type="bindByIdType"/>
    <xs:complexType name="bindByIdType">
        <xs:sequence>
            <xs:element ref="linkuri" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
        <xs:attribute ref="apsid" use="required"/>
        <xs:attribute ref="screentip"/>
        <xs:attribute ref="region"/>
        <xs:attribute ref="viewcontext"/>
        <xs:attribute ref="visibility"/>
        <xs:attribute ref="interactivity"/>
        <xs:attributeGroup ref="stylePropertiesAttGroup"/>
    </xs:complexType>
    <xs:element name="bindByName" type="bindByNameType"/>
    <xs:complexType name="bindByNameType">
        <xs:sequence>
            <xs:element ref="linkuri" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
        <xs:attribute ref="apstargetname" use="required"/>
        <xs:attribute ref="screentip"/>
        <xs:attribute ref="region"/>
        <xs:attribute ref="viewcontext"/>
        <xs:attribute ref="visibility"/>
        <xs:attribute ref="interactivity"/>
        <xs:attributeGroup ref="stylePropertiesAttGroup"/>
    </xs:complexType>
    <xs:attribute name="apstargetname" type="xs:string"/>
    <xs:attribute name="id" type="xs:ID"/>
    <xs:attribute name="version" type="xs:string" fixed="2.1"/>
    <xs:attribute name="filename" type="xs:string"/>
    <xs:attribute name="background-color" type="xs:string"/>
    <xs:attribute name="pictureVisibility" type="pictureVisibilityAttType"/>
    <xs:simpleType name="pictureVisibilityAttType">
        <xs:restriction base="xs:NMTOKEN">
            <xs:enumeration value="off"/>
            <xs:enumeration value="on"/>
        </xs:restriction>
    </xs:simpleType>
</xs:schema>