{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/applivery-com/json-schema/applivery-com-put-v1-organizations-organizationid-mdm-aosp-enterprise-policies-aos-schema.json",
  "title": "PutV1OrganizationsOrganizationidMdmAospEnterprisePoliciesAos",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/applivery-com-openapi-generated.yml#/components/schemas/PutV1OrganizationsOrganizationidMdmAospEnterprisePoliciesAos",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Display name of the AOSP policy. ≤ 256 characters"
    },
    "description": {
      "type": "string",
      "description": "Optional human-readable description of the policy."
    },
    "config": {
      "type": "object",
      "description": "Raw AOSP policy configuration payload stored by the backend."
    },
    "private": {
      "type": "boolean",
      "description": "Whether the policy is private to a segment or workflow and should not be broadly reused."
    },
    "segmentId": {
      "type": "integer",
      "description": "Optional segment identifier used to scope the resource within the organization. ≥ 0 · ≤ 9007199254740991"
    },
    "exposeToChildren": {
      "type": "string",
      "description": "Whether this policy can be inherited by child segments when segment filtering is expanded."
    },
    "agentConfiguration": {
      "type": "object",
      "description": "Optional policy-level AOSP agent configuration delivered to devices."
    },
    "allowLocation": {
      "type": "boolean"
    },
    "allowPackageTime": {
      "type": "boolean"
    },
    "allowPackageTransfer": {
      "type": "boolean"
    },
    "allowNetworkStatus": {
      "type": "boolean"
    },
    "policyFeatures": {
      "type": "object"
    },
    "defaultViewFeature": {
      "type": "string",
      "description": "bookmarks applications files notifications status"
    },
    "toggledFeatures": {
      "type": "array",
      "description": "Array of objects with name and active fields."
    },
    "enableDefaultView": {
      "type": "boolean"
    },
    "kioskLauncherConfiguration": {
      "type": "object"
    },
    "displayDeviceName": {
      "type": "string"
    },
    "settingAction": {
      "type": "string"
    },
    "whitelistedApps": {
      "type": "array"
    },
    "escapeHatchPassword": {
      "type": "string",
      "description": "≤ 256 characters"
    },
    "backgroundUrl": {
      "type": "string",
      "description": "≤ 500 characters"
    },
    "iconSize": {
      "type": "string",
      "description": "small medium large"
    },
    "screenAlwaysOn": {
      "type": "string"
    },
    "unlockPassword": {
      "type": "string",
      "description": "≤ 256 characters"
    },
    "inactivityLockTime": {
      "type": "integer",
      "description": "≥ 0 · ≤ 9007199254740991"
    },
    "startingUpApps": {
      "type": "array"
    },
    "appsLayout": {
      "type": "array"
    },
    "header": {
      "type": "object"
    },
    "footer": {
      "type": "object"
    },
    "assets": {
      "type": "array"
    },
    "mdmAssetId": {
      "type": "string",
      "description": "Match pattern: ^[a-fA-F0-9]{24}$"
    },
    "location": {
      "type": "string",
      "description": "≤ 256 characters"
    },
    "assetName": {
      "type": "string",
      "description": "≤ 256 characters"
    },
    "scope": {
      "type": "string",
      "description": "user system all-users"
    },
    "applications": {
      "type": "array"
    },
    "aosApplicationId": {
      "type": "string",
      "description": "Match pattern: ^[a-fA-F0-9]{24}$"
    },
    "configuration": {
      "type": "string"
    },
    "action": {
      "type": "string",
      "description": "forceInstall available"
    },
    "updatePolicy": {
      "type": "object"
    },
    "quarantine": {
      "type": "integer",
      "description": "≥ 0 · ≤ 30"
    },
    "autoUpdate": {
      "type": "string"
    },
    "customAppConfig": {
      "type": "object"
    },
    "certificateProviderIds": {
      "type": "array"
    }
  },
  "required": [
    "mdmAssetId",
    "location",
    "scope",
    "aosApplicationId"
  ]
}