<?xml version="1.0" encoding="utf-8"?>
<!--
  SKETCH of an ADMX template for Constly's managed settings (see
  ../README.md). Copy it and en-US/Constly.adml into your PolicyDefinitions
  folder (or the central store). It writes the same REG_SZ values as
  ../constly-policy.reg. It has not been through a Group Policy test lab yet;
  treat it as a starting point.
-->
<policyDefinitions xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                   revision="1.0" schemaVersion="1.0"
                   xmlns="http://schemas.microsoft.com/GroupPolicy/2006/07/PolicyDefinitions">
  <policyNamespaces>
    <target prefix="constly" namespace="RunTheWall.Policies.Constly" />
    <using prefix="windows" namespace="Microsoft.Policies.Windows" />
  </policyNamespaces>
  <resources minRequiredRevision="1.0" />
  <categories>
    <category name="Constly" displayName="$(string.Constly)" />
  </categories>
  <policies>
    <policy name="UpdateFeedURL" class="Both" displayName="$(string.UpdateFeedURL)"
            explainText="$(string.UpdateFeedURL_Help)" presentation="$(presentation.UpdateFeedURL)"
            key="SOFTWARE\Policies\RunTheWall\Constly">
      <parentCategory ref="Constly" />
      <supportedOn ref="windows:SUPPORTED_Windows10" />
      <elements>
        <text id="UpdateFeedURL" valueName="UpdateFeedURL" required="true" maxLength="2048" />
      </elements>
    </policy>
    <policy name="ProxyURL" class="Both" displayName="$(string.ProxyURL)"
            explainText="$(string.ProxyURL_Help)" presentation="$(presentation.ProxyURL)"
            key="SOFTWARE\Policies\RunTheWall\Constly">
      <parentCategory ref="Constly" />
      <supportedOn ref="windows:SUPPORTED_Windows10" />
      <elements>
        <text id="ProxyURL" valueName="ProxyURL" required="true" maxLength="512" />
      </elements>
    </policy>
    <policy name="AutoUpdate" class="Both" displayName="$(string.AutoUpdate)"
            explainText="$(string.AutoUpdate_Help)" presentation="$(presentation.AutoUpdate)"
            key="SOFTWARE\Policies\RunTheWall\Constly">
      <parentCategory ref="Constly" />
      <supportedOn ref="windows:SUPPORTED_Windows10" />
      <elements>
        <enum id="AutoUpdate" valueName="AutoUpdate" required="true">
          <item displayName="$(string.AutoUpdate_Notify)">
            <value><string>notify</string></value>
          </item>
          <item displayName="$(string.AutoUpdate_Off)">
            <value><string>off</string></value>
          </item>
        </enum>
      </elements>
    </policy>
    <policy name="LicenseKey" class="Both" displayName="$(string.LicenseKey)"
            explainText="$(string.LicenseKey_Help)" presentation="$(presentation.LicenseKey)"
            key="SOFTWARE\Policies\RunTheWall\Constly">
      <parentCategory ref="Constly" />
      <supportedOn ref="windows:SUPPORTED_Windows10" />
      <elements>
        <text id="LicenseKey" valueName="LicenseKey" required="true" maxLength="4096" />
      </elements>
    </policy>
  </policies>
</policyDefinitions>
