Backstage · Schema

EntityMetadata

Metadata common to all entity kinds.

Developer PortalInternal Developer PlatformSoftware CatalogOpen Source

Properties

Name Type Description
uid string A globally unique identifier for the entity.
etag string An opaque string that changes on each update.
name string The name of the entity.
namespace string The namespace the entity belongs to.
title string A human-readable title for the entity.
description string A human-readable description of the entity.
labels object Key-value pairs for labeling the entity.
annotations object Key-value pairs for non-identifying metadata.
tags array A list of single-valued strings for classification.
links array
View JSON Schema on GitHub

JSON Schema

catalog-entity-metadata-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/backstage/refs/heads/main/json-schema/catalog-entity-metadata-schema.json",
  "title": "EntityMetadata",
  "description": "Metadata common to all entity kinds.",
  "type": "object",
  "properties": {
    "uid": {
      "type": "string",
      "format": "uuid",
      "description": "A globally unique identifier for the entity."
    },
    "etag": {
      "type": "string",
      "description": "An opaque string that changes on each update."
    },
    "name": {
      "type": "string",
      "description": "The name of the entity.",
      "example": "my-service"
    },
    "namespace": {
      "type": "string",
      "description": "The namespace the entity belongs to.",
      "default": "default"
    },
    "title": {
      "type": "string",
      "description": "A human-readable title for the entity."
    },
    "description": {
      "type": "string",
      "description": "A human-readable description of the entity."
    },
    "labels": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "Key-value pairs for labeling the entity."
    },
    "annotations": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "Key-value pairs for non-identifying metadata."
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "A list of single-valued strings for classification."
    },
    "links": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "format": "uri"
          },
          "title": {
            "type": "string"
          },
          "icon": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        }
      }
    }
  },
  "required": [
    "name"
  ]
}