<?xml version='1.0' encoding='UTF-8'?>
<xsd:schema xmlns="http://checklists.nist.gov/schema/feed/checklist/0.2" 
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:checklist="http://checklists.nist.gov/schema/checklist/0.2"
    targetNamespace="http://checklists.nist.gov/schema/feed/checklist/0.2"
    elementFormDefault="qualified" attributeFormDefault="unqualified"
    version="0.1">
    <xsd:import namespace="http://checklists.nist.gov/schema/checklist/0.2" schemaLocation="ncp-checklist_0.2.xsd"/>
    <xsd:annotation>
        <xsd:documentation>This schema defines the structure of the National Checklist Program
            XML feed which provides information relating to the checklist entries present within the program.
            
            Version 0.2:
            * Provides a basic view into all NCP checklist meta-data on a per checklist basis.
        </xsd:documentation>
    </xsd:annotation>
    <xsd:element name="ncp">
        <xsd:annotation>
            <xsd:documentation>The root element of the NCP Checklist feed. Multiple "entry" child elements describe specific NCP checklist entries.</xsd:documentation>
        </xsd:annotation>
        <xsd:complexType>
            <xsd:sequence>
                <xsd:element ref="entry" minOccurs="0" maxOccurs="unbounded">
                    <xsd:annotation>
                        <xsd:documentation>A Checklist entry.</xsd:documentation>
                    </xsd:annotation>
                </xsd:element>
            </xsd:sequence>
            <xsd:attribute name="nvd_xml_version" type="xsd:decimal" use="required">
                <xsd:annotation>
                    <xsd:documentation>The schema version number supported by the feed.</xsd:documentation>
                </xsd:annotation>
            </xsd:attribute>
            <xsd:attribute name="pub_date" type="xsd:dateTime" use="required">
                <xsd:annotation>
                    <xsd:documentation>The date the feed was generated.</xsd:documentation>
                </xsd:annotation>
            </xsd:attribute>
        </xsd:complexType>
    </xsd:element>
    <xsd:element name="entry" type="checklist:ncpChecklistType">
        <xsd:annotation>
            <xsd:documentation>A Checklist entry.</xsd:documentation>
        </xsd:annotation>
    </xsd:element>
</xsd:schema>
