Resource Schema

The Resource schema defines the simple types used by the Package schema:

The following is the resource schema that you can use to validate your manifest. Copy this schema and the Package schema to the same folder.

<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:dcmRS="https://www.microsoft.com/schemas/dcm/resource/2007" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="https://www.microsoft.com/schemas/dcm/resource/2007" elementFormDefault="unqualified">

  <xs:simpleType name="MandatoryResource">
    <xs:restriction base="xs:string">
      <xs:maxLength value="1024"/>
      <xs:minLength value="1"/>
    </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="OptionalResource">
    <xs:restriction base="xs:string">
      <xs:maxLength value="1024"/>
      <xs:minLength value="0"/>
    </xs:restriction>
  </xs:simpleType>

</xs:schema>