{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/simplemdm/json-schema/simplemdm-patch-api-v1-custom-declarations-profileid-request-schema.json",
  "title": "PatchApiV1CustomDeclarationsProfileidRequest",
  "x-generated": "2026-10-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/simplemdm-openapi-generated.yml#/components/schemas/PatchApiV1CustomDeclarationsProfileidRequest",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Change the name of the profile."
    },
    "declaration_type": {
      "type": "string",
      "description": "Update the type of declaration being defined."
    },
    "payload": {
      "type": "string",
      "description": "Update the JSON payload for the declaration. Send as multipart/form-data."
    },
    "user_scope": {
      "type": "boolean",
      "description": "If false, deploy as a device profile instead of a user profile for macOS devices."
    },
    "attribute_support": {
      "type": "boolean",
      "description": "When enabled, SimpleMDM will process variables in the uploaded profile."
    },
    "escape_attributes": {
      "type": "boolean",
      "description": "Escape the values of the custom variables in the uploaded profile."
    },
    "activation_predicate": {
      "type": "string",
      "description": "Predicate format string as Apple's Predicate Programming describes."
    }
  }
}