-
Notifications
You must be signed in to change notification settings - Fork 4
array
William Smith edited this page Feb 16, 2020
·
3 revisions
An array allows admins to build a list of items and each value will use the string format.
A manifest array for a fictional app called Disk Manager includes the following:
"domainWhiteList": {
"title": "Domain white list",
"description": "Disk Manager will not filter these domains.",
"property_order": 2,
"anyOf": [
{"type": "null", "title": "Not Configured"},
{
"title": "Configured",
"type": "array",
"items": {
"type": "string",
"title": "Entries"
}
}
]
},
Jamf Pro will 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>domainWhiteList</key>
<array>
<string>mooserat.pvt</string>
<string>mooserat.com</string>
</array>
</dict>
</plist>
Optional tweak: Consider changing "title": "Entries"
in the manifest to "title": "Domain"
to better indicate the type of information that admins should enter into the fields.
For additional schema formats, continue to...
Managed App Schema Builder is licensed by Leslie Helou under The MIT License