<?xml version="1.0" encoding="UTF-8"?>
<!--
  Bumpy Keys managed app configuration, AppConfig Community format (appconfig.org).
  Bundle id com.bumpykeys.BumpyKeys (iPad and Mac, one App Store record). The app reads these two
  keys from com.apple.configuration.managed and nothing else; each key is a setting, nothing is
  sent or logged. Jamf School, Jamf Pro, Mosyle and most MDMs accept this file as the app's
  "AppConfig" or "App Configuration" schema and draw a form from it; an MDM that takes a raw
  dictionary instead wants the plist at the end of this file.
  Docs: https://bumpykeys.com/tech-office
-->
<managedAppConfiguration>
  <version>1</version>
  <bundleId>com.bumpykeys.BumpyKeys</bundleId>
  <!--
    A console that draws a form sends every field it shows, so the switch is a three-way choice
    (Device's own setting, On, Off) rather than a checkbox: the empty default is "leave the key out"
    and the app reads the words true and false exactly as it reads a plist boolean. The quiet
    classroom key is a two-way choice, because only true does anything.
  -->
  <dict>
    <string keyName="onlineRooms">
      <defaultValue>
        <value></value>
      </defaultValue>
    </string>
    <string keyName="classroomSound">
      <defaultValue>
        <value></value>
      </defaultValue>
    </string>
  </dict>
  <presentation defaultLocale="en-US">
    <fieldGroup>
      <name>
        <language value="en-US">Bumpy Keys for your classrooms</language>
      </name>
      <description>
        <language value="en-US">Two settings, read on the device and sent nowhere. Leave one out and the device keeps its own (the Grown-ups setting a teacher or parent can reach after the press-and-hold).</language>
      </description>
      <field keyName="onlineRooms" type="select">
        <label>
          <language value="en-US">Allow online rooms</language>
        </label>
        <description>
          <language value="en-US">Race together rooms between devices (four-letter room codes through our relay at rooms.bumpykeys.com). Device's own setting leaves the Grown-ups switch to the teacher or parent. Off hides and disables rooms on every device; the Grown-ups switch shows "Set by your school". On keeps them available, and the switch is still the school's.</language>
        </description>
        <options>
          <option value="">
            <language value="en-US">Device's own setting</language>
          </option>
          <option value="true">
            <language value="en-US">On</language>
          </option>
          <option value="false">
            <language value="en-US">Off</language>
          </option>
        </options>
      </field>
      <field keyName="classroomSound" type="select">
        <label>
          <language value="en-US">Quiet classroom</language>
        </label>
        <description>
          <language value="en-US">Quiet keeps music and key sounds off on every device. Bumper's voice and the sound effects stay. In Grown-ups, Sound, the Music slider reads "Set by school". Device's own setting leaves the sound to the teacher or parent.</language>
        </description>
        <options>
          <option value="">
            <language value="en-US">Device's own setting</language>
          </option>
          <option value="true">
            <language value="en-US">Quiet</language>
          </option>
        </options>
      </field>
    </fieldGroup>
  </presentation>
</managedAppConfiguration>

<!--
  The same keys as a raw dictionary, for a console that asks for a property list or a
  key-value form instead of the schema above (Apple Configurator, a Jamf Pro "App Configuration"
  text field, Mosyle "Managed Configuration"). A plist boolean and the words true / false both read;
  leave a key out for the device's own setting:

  <dict>
    <key>onlineRooms</key>
    <false/>
    <key>classroomSound</key>
    <true/>
  </dict>
-->
