{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/canonical/main/json-schema/canonical-profiles-post-schema.json",
  "title": "ProfilesPost",
  "description": "ProfilesPost represents the fields of a new LXD profile",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/canonical-profiles-api-openapi.yml#/components/schemas/ProfilesPost",
  "properties": {
    "config": {
      "additionalProperties": {
        "type": "string"
      },
      "description": "Instance configuration map (refer to doc/instances.md)",
      "type": "object",
      "x-go-name": "Config"
    },
    "description": {
      "description": "Description of the profile",
      "type": "string",
      "x-go-name": "Description"
    },
    "devices": {
      "additionalProperties": {
        "additionalProperties": {
          "type": "string"
        },
        "type": "object"
      },
      "description": "List of devices",
      "type": "object",
      "x-go-name": "Devices"
    },
    "name": {
      "description": "The name of the new profile",
      "type": "string",
      "x-go-name": "Name"
    }
  },
  "type": "object",
  "x-go-package": "github.com/canonical/lxd/shared/api"
}