{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/simplemdm/json-schema/simplemdm-post-api-v1-custom-configuration-profiles-request-schema.json",
  "title": "PostApiV1CustomConfigurationProfilesRequest",
  "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/PostApiV1CustomConfigurationProfilesRequest",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "A name for the profile."
    },
    "mobileconfig": {
      "type": "string",
      "description": "The mobileconfig file."
    },
    "user_scope": {
      "type": "boolean",
      "description": "If true, deploy as a user 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."
    }
  },
  "required": [
    "name",
    "mobileconfig"
  ]
}