<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://apstandard.com/ns/1/cgi" xmlns:cgi="http://apstandard.com/ns/1/cgi" xmlns:h="http://apstandard.com/ns/1/cgi/handlers">
  <xs:import namespace="http://apstandard.com/ns/1/cgi/handlers" schemaLocation="h.xsd"/>
  <xs:attributeGroup name="handlerType">
    <xs:attribute ref="h:handler-type" use="required"/>
  </xs:attributeGroup>
  <xs:element name="handler">
    <xs:complexType>
      <xs:choice>
        <xs:element ref="cgi:disabled"/>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="cgi:extension"/>
        <xs:element ref="cgi:all-files"/>
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <xs:element name="disabled">
    <xs:complexType/>
  </xs:element>
  <xs:element name="extension">
    <xs:complexType mixed="true">
      <xs:attribute ref="h:handler-type"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="all-files">
    <xs:complexType>
      <xs:attribute ref="h:handler-type"/>
    </xs:complexType>
  </xs:element>
</xs:schema>
