{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/simplemdm/json-schema/simplemdm-patch-api-v1-custom-configuration-profiles-profileid-request-schema.json",
  "title": "PatchApiV1CustomConfigurationProfilesProfileidRequest",
  "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/PatchApiV1CustomConfigurationProfilesProfileidRequest",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Change the name of the profile."
    },
    "mobileconfig": {
      "type": "string",
      "description": "Update the mobileconfig file."
    },
    "user_scope": {
      "type": "boolean",
      "description": "If false, deploy as a device profile."
    },
    "attribute_support": {
      "type": "boolean",
      "description": "Process variables in the uploaded profile."
    },
    "escape_attributes": {
      "type": "boolean",
      "description": "Escape the values of the custom variables."
    },
    "reinstall_after_os_update": {
      "type": "boolean",
      "description": "Re‑install the profile after macOS updates."
    },
    "declarative": {
      "type": "boolean",
      "description": "Install using Declarative Management."
    },
    "auto_renew_scep_based_certificates": {
      "type": "boolean",
      "description": "Automatically re‑issue SCEP certificates."
    },
    "allowed_platforms": {
      "type": "array",
      "description": "Operating systems the profile may be installed on."
    },
    "minimum_macos_version": {
      "type": "string",
      "description": "Minimum macOS version allowed."
    },
    "maximum_macos_version": {
      "type": "string",
      "description": "Maximum macOS version allowed."
    },
    "allowed_macos_architecture": {
      "type": "string",
      "description": "Restricts the profile to a Mac architecture."
    }
  }
}