Overview
Metadata namespaces define structured, validated property schemas for images. When a namespace is defined, the Dashboard displays a guided property editor instead of a raw key-value form — ensuring consistent metadata across your image catalog. Namespaces can be public (visible to all projects) or private (visible only to the creating project).Concepts
| Concept | Description |
|---|---|
| Namespace | A named collection of property definitions for a resource type |
| Property | A typed key-value field with validation rules (enum, string, boolean, integer) |
| Object | A named group of properties within a namespace |
| Tag | A simple string label associated with images — for filtering and grouping |
| Resource type | The Xloud resource the namespace applies to — OS::Image::Image for images |
Image Tags
Tags are the simplest form of image metadata — plain strings with no key, attached directly to an image. Use them for fast catalog filtering, grouping by OS family, compliance designation, or release milestone.- Dashboard
- CLI
Navigate to Project → Compute → Images → click image name → Edit Image.In the Tags field, type a tag and press Enter to add it. Add as many as needed, then click Update Image.
Recommended Tag Taxonomy
Use a consistent tagging convention across your image catalog:| Category | Example Tags |
|---|---|
| OS family | ubuntu, rhel, debian, windows, centos |
| Support tier | lts, standard, eol, preview |
| Status | production-ready, deprecated, testing, golden |
| Compliance | pci-dss, hipaa, iso27001, fips |
| Architecture | x86_64, aarch64 |
| Special config | no-cloud-init, virtio, uefi, gpu-compatible |
Create a Metadata Namespace
Define the namespace schema
Create a JSON file defining the namespace properties:
namespace-schema.json
Use Namespace Properties
Once a namespace is registered, its properties appear in the Dashboard image editor as a structured form. Set them via CLI:Set namespace-defined properties on an image
Manage Namespaces
Property Type Reference
| Type | Description | Example |
|---|---|---|
string | Free-text string (with optional enum or pattern) | "lts", "standard" |
boolean | True/false value | true, false |
integer | Whole number | 4, 8096 |
number | Floating-point number | 3.14 |
array | List of values | ["tag1", "tag2"] |
Next Steps
Image Properties
Set properties on individual images using the defined namespace schemas.
Security
Protect critical metadata properties from unauthorized modification.
Storage Backends
Configure the backend that stores the image data alongside its metadata.
Admin Troubleshooting
Resolve metadata namespace and property validation issues.