{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/canonical/main/json-schema/canonical-image-aliases-post-schema.json",
  "title": "ImageAliasesPost",
  "description": "ImageAliasesPost represents a new LXD image alias",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/canonical-images-api-openapi.yml#/components/schemas/ImageAliasesPost",
  "properties": {
    "access_entitlements": {
      "description": "AccessEntitlements represents the entitlements that are granted to the requesting user on the attached entity.",
      "items": {
        "type": "string"
      },
      "type": "array",
      "x-go-name": "AccessEntitlements"
    },
    "description": {
      "description": "Alias description",
      "type": "string",
      "x-go-name": "Description"
    },
    "name": {
      "description": "Alias name",
      "type": "string",
      "x-go-name": "Name"
    },
    "target": {
      "description": "Target fingerprint for the alias",
      "type": "string",
      "x-go-name": "Target"
    },
    "type": {
      "description": "Alias type (container or virtual-machine)\n\nAPI extension: image_types",
      "type": "string",
      "x-go-name": "Type"
    }
  },
  "type": "object",
  "x-go-package": "github.com/canonical/lxd/shared/api"
}