Skip to content

boolean

William Smith edited this page Feb 17, 2020 · 2 revisions

A boolean allows admins to specify a setting as either true or false.

Managed App Schema Builder app boolean

A manifest boolean for a fictional app called Disk Manager includes the following:

"askForPassword": {
	"title": "Ask for password",
	"description": "Set Disk Manager application to require a password.",
	"property_order": 1,
	"anyOf": [
		{"type": "null", "title": "Not Configured"},
		{
			"title": "Configured",
			"type": "boolean"
		}
	]
},

Jamf Pro will display:

Jamf Pro boolean display

This generates the XML equivalent of:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
  <dict>
    <key>askForPassword</key>
    <true/>
  </dict>
</plist>

For additional schema formats, continue to...

date

Clone this wiki locally