{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/canonical/main/json-schema/canonical-image-put-schema.json",
  "title": "ImagePut",
  "description": "ImagePut represents the modifiable fields of a LXD image",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/canonical-images-api-openapi.yml#/components/schemas/ImagePut",
  "properties": {
    "auto_update": {
      "description": "Whether the image should auto-update when a new build is available",
      "type": "boolean",
      "x-go-name": "AutoUpdate"
    },
    "expires_at": {
      "description": "When the image becomes obsolete\n\nAPI extension: images_expiry",
      "format": "date-time",
      "type": "string",
      "x-go-name": "ExpiresAt"
    },
    "profiles": {
      "description": "List of profiles to use when creating from this image (if none provided by user)\n\nAPI extension: image_profiles",
      "items": {
        "type": "string"
      },
      "type": "array",
      "x-go-name": "Profiles"
    },
    "properties": {
      "additionalProperties": {
        "type": "string"
      },
      "description": "Descriptive properties",
      "type": "object",
      "x-go-name": "Properties"
    },
    "public": {
      "description": "Whether the image is available to unauthenticated users",
      "type": "boolean",
      "x-go-name": "Public"
    }
  },
  "type": "object",
  "x-go-package": "github.com/canonical/lxd/shared/api"
}