<?xml version="1.0" encoding="utf-8"?>
<policyDefinitions xmlns="http://schemas.microsoft.com/GroupPolicy/2006/07/PolicyDefinitions"
                   revision="1.0" schemaVersion="1.0">
  <policyNamespaces>
    <!-- Internal unique ID, never shown to admins; dots separate segments, so the
         brand's ".it" can't appear here — the visible names live in the ADML. -->
    <target prefix="cat" namespace="JustCatIt.Policies.CATStudio" />
  </policyNamespaces>
  <resources minRequiredRevision="1.0" />
  <supportedOn>
    <definitions>
      <definition name="SUPPORTED_CatStudio" displayName="$(string.SUPPORTED_CatStudio)" />
    </definitions>
  </supportedOn>
  <categories>
    <category name="JustCatIt" displayName="$(string.JustCatIt)" />
    <category name="CATStudio" displayName="$(string.CATStudio)">
      <parentCategory ref="JustCatIt" />
    </category>
    <category name="CatPilot" displayName="$(string.CatPilot)">
      <parentCategory ref="CATStudio" />
    </category>
  </categories>
  <policies>
    <policy name="DisableCatPilot" class="Machine"
            displayName="$(string.DisableCatPilot)"
            explainText="$(string.DisableCatPilot_Explain)"
            key="SOFTWARE\Policies\justcat.it\CAT Studio\CatPilot"
            valueName="Disabled">
      <parentCategory ref="CatPilot" />
      <supportedOn ref="SUPPORTED_CatStudio" />
      <enabledValue>
        <decimal value="1" />
      </enabledValue>
      <disabledValue>
        <decimal value="0" />
      </disabledValue>
    </policy>
    <policy name="AllowedCatPilotProviders" class="Machine"
            displayName="$(string.AllowedCatPilotProviders)"
            explainText="$(string.AllowedCatPilotProviders_Explain)"
            presentation="$(presentation.AllowedCatPilotProviders)"
            key="SOFTWARE\Policies\justcat.it\CAT Studio\CatPilot">
      <parentCategory ref="CatPilot" />
      <supportedOn ref="SUPPORTED_CatStudio" />
      <elements>
        <multiText id="AllowedProvidersList" valueName="AllowedProviders" />
      </elements>
    </policy>
  </policies>
</policyDefinitions>
