<?xml version="1.0" encoding="UTF-8"?>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="ExternalFile" type="ExternalFileType"/>
    <xs:complexType name="ExternalFileType">
        <xs:sequence>
            <xs:element type="xs:string" name="Content"/>
        </xs:sequence>
        <xs:attribute type="allowedLibraries" name="name" use="required"/>
        <xs:attribute type="xs:string" name="npmName"/>
        <xs:attribute type="xs:string" name="displayName"/>
        <xs:attribute type="xs:string" name="version"/>
        <xs:attribute type="xs:string" name="availableForUI"/>
        <!--xs:attribute type="xs:string" name="availableForEngine"/-->
    </xs:complexType>
    <xs:simpleType name="allowedLibraries">
        <xs:restriction base="xs:string">
            <xs:pattern value="[CcDd]3[Jj][Ss]|(My)?PrintFont_\w+" />
        </xs:restriction>
    </xs:simpleType>
</xs:schema>