| <?xml version="1.0" encoding="utf-8"?> |
| <schema targetNamespace="http://schemas.microsoft.com/maml/2004/4" xmlns:doc="http://schemas.microsoft.com/maml/internal" xmlns:maml="http://schemas.microsoft.com/maml/2004/4" xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified"> |
| |
| <annotation> |
| <documentation> |
| This schema describes the command page type of MAML. |
| </documentation> |
| </annotation> |
| |
| <include schemaLocation="hierarchy.xsd"/> |
| <include schemaLocation="base.xsd"/> |
| <include schemaLocation="developerStructure.xsd"/> |
| |
| |
| <element name="commandHelp"> |
| <annotation> |
| <documentation> |
| The commandHelp element describes the content model for the command help content type. |
| </documentation> |
| </annotation> |
| <complexType> |
| <sequence> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
|
|
| <element ref="maml:keywords"/> |
| <element ref="maml:commandDetails"/> |
| <element ref="maml:description"/> |
| |
| <element ref="maml:commandSyntax"/> |
| <element ref="maml:commandParameters" minOccurs="0"/> |
| <element ref="maml:inputTypes"/> |
| <element ref="maml:returnTypes"/> |
| <element ref="maml:commandExceptions"/> |
| <element ref="maml:commandErrors"/> |
| <element ref="maml:alertSet" maxOccurs="unbounded"/> |
| <element ref="maml:commandExamples" minOccurs="0"/> |
| <element ref="maml:configuration"/> |
| <element ref="maml:relatedLinks" maxOccurs="unbounded"/> |
| </sequence> |
| <attribute name="contentType" type="token"/> |
| </complexType> |
| </element> |
| |
| |
| |
| |
| <element name="keywords"/> |
| |
| <element name="commandDetails"> |
| <annotation> |
| <documentation> |
| The commandDetails element ... |
| </documentation> |
| </annotation> |
| <complexType> |
| <sequence> |
| <element name="name"> |
| <complexType> |
| <complexContent> |
| <extension base="maml:textType"> |
| |
| <attribute name="commandType"> |
| <simpleType> |
| <restriction base="token"> |
| <enumeration value="provider"/> |
| </restriction> |
| </simpleType> |
| </attribute> |
| </extension> |
| </complexContent> |
| </complexType> |
| </element> |
| |
| <element name="commandDescription" type="maml:textType"/> |
| <element name="synonyms" minOccurs="0"> |
| <complexType> |
| <sequence> |
| <element name="synonym" type="maml:textType" maxOccurs="unbounded"/> |
| </sequence> |
| |
| <attributeGroup ref="maml:contentIdentificationSharingAndConditionGroup"/> |
| </complexType> |
| </element> |
| <element name="commandCopyright" type="maml:textType"/> |
| <element name="verb" type="maml:textType"/> |
| <element name="noun" type="maml:textType"/> |
| <element name="version" type="maml:textType"/> |
| <element name="vendor" minOccurs="0"> |
| <complexType> |
| <sequence> |
| <element ref="maml:name"/> |
| <element ref="maml:products"/> |
| </sequence> |
| </complexType> |
| </element> |
| </sequence> |
| <attributeGroup ref="maml:contentIdentificationSharingAndConditionGroup"/> |
| </complexType> |
| </element> |
| |
| |
| <element name="commandSyntax"> |
| <annotation> |
| <documentation> |
| The commandSyntax element ... |
| </documentation> |
| </annotation> |
| <complexType> |
| <sequence> |
| <element name="commandSyntaxItem"> |
| <complexType> |
| <sequence> |
| <element ref="maml:name"/> |
| <element ref="maml:commandSyntaxParameter" minOccurs="0" maxOccurs="unbounded"/> |
| <element name="commandSyntaxParameterGroup" minOccurs="0" maxOccurs="unbounded"> |
| <complexType> |
| <sequence> |
| <element ref="maml:commandSyntaxParameter" maxOccurs="unbounded"/> |
| </sequence> |
| </complexType> |
| </element> |
| </sequence> |
| <attributeGroup ref="maml:contentIdentificationSharingAndConditionGroup"/> |
| </complexType> |
| </element> |
| </sequence> |
| <attributeGroup ref="maml:contentIdentificationSharingAndConditionGroup"/> |
| </complexType> |
| </element> |
| |
| |
| <element name="commandParameters"> |
| <annotation> |
| <documentation> |
| The commandParameters element ... |
| </documentation> |
| </annotation> |
| <complexType> |
| <sequence> |
| <element name="commandParameter" minOccurs="1" maxOccurs="unbounded"> |
| <complexType> |
| <sequence> |
| <element ref="maml:name"/> |
| <element ref="maml:commandParameterValue"/> |
| <element ref="maml:type"/> |
| |
| <element ref="maml:description"/> |
| |
| <element ref="maml:possibleValues"/> |
| <element name="defaultValue" type="maml:textType"/> |
| <element name="validation"> |
| <complexType> |
| <sequence> |
| |
| <element name="minCount" type="maml:integerType"/> |
| <element name="maxCount" type="maml:integerType"/> |
| <element name="minLength" type="maml:integerType"/> |
| <element name="maxLength" type="maml:integerType"/> |
| <element name="minRange" type="maml:textType"/> |
| <element name="maxRange" type="maml:textType"/> |
| <element name="pattern" type="maml:textType"/> |
| </sequence> |
| <attributeGroup ref="maml:contentIdentificationSharingAndConditionGroup"/> |
| </complexType> |
| </element> |
| </sequence> |
| <attributeGroup ref="maml:contentIdentificationSharingAndConditionGroup"/> |
| <attribute name="required" type="boolean" use="required"/> |
| <attribute name="variableLength" type="boolean" use="required"/> |
| <attribute name="globbing" type="boolean" use="required"/> |
| <attribute name="pipelineInput" type="boolean" use="required"/> |
| <attribute name="position" type="integer" use="required"/> |
| </complexType> |
| </element> |
| </sequence> |
| <attributeGroup ref="maml:contentIdentificationSharingAndConditionGroup"/> |
| </complexType> |
| </element> |
| |
| |
| <element name="inputTypes"> |
| <annotation> |
| <documentation> |
| The inputTypes element ... |
| </documentation> |
| </annotation> |
| <complexType> |
| <sequence> |
| <element name="inputType" maxOccurs="unbounded"> |
| <complexType> |
| <sequence> |
| <element ref="maml:type"/> |
| |
| <element ref="maml:description"/> |
| </sequence> |
| </complexType> |
| </element> |
| </sequence> |
| <attributeGroup ref="maml:contentIdentificationSharingAndConditionGroup"/> |
| </complexType> |
| </element> |
| |
| |
| <element name="returnTypes"> |
| <annotation> |
| <documentation> |
| The returnTypes element ... |
| </documentation> |
| </annotation> |
| <complexType> |
| <sequence> |
| <element name="returnType"> |
| <complexType> |
| <sequence> |
| <element ref="maml:type"/> |
| |
| <element ref="maml:description"/> |
| </sequence> |
| </complexType> |
| </element> |
| </sequence> |
| <attributeGroup ref="maml:contentIdentificationSharingAndConditionGroup"/> |
| </complexType> |
| </element> |
| |
| |
| <element name="commandExceptions"> |
| <annotation> |
| <documentation> |
| The commandExceptions element ... |
| </documentation> |
| </annotation> |
| <complexType> |
| <sequence> |
| <element name="commandException" type="maml:commandExceptionType" minOccurs="0" maxOccurs="unbounded"/> |
| </sequence> |
| <attributeGroup ref="maml:contentIdentificationSharingAndConditionGroup"/> |
| </complexType> |
| </element> |
| |
| |
| <element name="commandErrors"> |
| <annotation> |
| <documentation> |
| The commandErrors element ... |
| </documentation> |
| </annotation> |
| <complexType> |
| <sequence> |
| <element name="commandError" minOccurs="0" maxOccurs="unbounded"> |
| <complexType> |
| <complexContent> |
| <extension base="maml:commandExceptionType"/> |
| </complexContent> |
| </complexType> |
| </element> |
| </sequence> |
| <attributeGroup ref="maml:contentIdentificationSharingAndConditionGroup"/> |
| </complexType> |
| </element> |
| |
| |
| <element name="commandExamples"> |
| <annotation> |
| <documentation> |
| The commandExamples element ... |
| </documentation> |
| </annotation> |
| <complexType> |
| <sequence> |
| <element name="commandExample" maxOccurs="unbounded"> |
| <complexType> |
| <complexContent> |
| <extension base="maml:codeExampleType"/> |
| </complexContent> |
| </complexType> |
| </element> |
| </sequence> |
| <attributeGroup ref="maml:contentIdentificationSharingAndConditionGroup"/> |
| </complexType> |
| </element> |
| |
| |
| <element name="configuration"> |
| <annotation> |
| <documentation> |
| The configuration element ... |
| </documentation> |
| </annotation> |
| <complexType> |
| |
| <sequence/> |
| <attributeGroup ref="maml:contentIdentificationSharingAndConditionGroup"/> |
| </complexType> |
| </element> |
| |
| |
| |
| <element name="commandSyntaxParameter"> |
| <complexType> |
| <sequence> |
| <element name="commandSyntaxParameterName"> |
| <complexType> |
| <attributeGroup ref="maml:contentIdentificationSharingAndConditionGroup"/> |
| <attribute name="required" type="boolean"/> |
| </complexType> |
| </element> |
| <choice> |
| <element ref="maml:commandParameterValue"/> |
| <element name="commandSyntaxParameterValueGroup"> |
| <complexType> |
| <sequence minOccurs="2" maxOccurs="unbounded"> |
| <element ref="maml:commandParameterValue"/> |
| </sequence> |
| <attributeGroup ref="maml:contentIdentificationSharingAndConditionGroup"/> |
| |
| <attribute name="required" type="boolean" use="required"/> |
| </complexType> |
| </element> |
| </choice> |
| </sequence> |
| <attributeGroup ref="maml:contentIdentificationSharingAndConditionGroup"/> |
| </complexType> |
| </element> |
| <element name="commandParameterValue"> |
| <complexType> |
| <attributeGroup ref="maml:contentIdentificationSharingAndConditionGroup"/> |
| |
| <attribute name="required" type="boolean" use="required"/> |
| <attribute name="variableLength" type="boolean" use="required"/> |
| <attribute name="type" use="optional" default="literal"> |
| <simpleType> |
| <restriction base="token"> |
| <enumeration value="literal"/> |
| |
| <enumeration value="placeHolder"/> |
| </restriction> |
| </simpleType> |
| </attribute> |
| </complexType> |
| </element> |
| <complexType name="commandExceptionType"> |
| <sequence> |
| <element ref="maml:type"/> |
| |
| <element ref="maml:description"/> |
| <element name="message"/> |
| <element name="category" minOccurs="0"/> |
| </sequence> |
| </complexType> |
| |
| </schema> |
|
|