{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://ucp.dev/2026-08-25/schemas/common/types/actions.json",
  "title": "Actions",
  "description": "Outstanding extension-defined Action instances, keyed by reverse-domain Action type, not extension name.",
  "$defs": {
    "instance": {
      "type": "object",
      "description": "Common fields for one outstanding Action instance are id and optional config. The extension declaring the Action type defines type-specific processing data under config. Additional properties are permitted for forward compatibility.",
      "required": [
        "id"
      ],
      "additionalProperties": true,
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1,
          "description": "Identifier for this Action instance.",
          "ucp_request": "omit"
        },
        "config": {
          "type": "object",
          "description": "Configuration defined by the extension that declares this Action type.",
          "additionalProperties": true,
          "ucp_request": "omit"
        }
      }
    }
  },
  "type": "object",
  "propertyNames": {
    "$ref": "https://ucp.dev/2026-08-25/schemas/common/types/reverse_domain_name.json"
  },
  "additionalProperties": {
    "type": "array",
    "description": "Non-empty instances of one Action type. JSON preserves array order; the declaring extension defines whether order has processing semantics.",
    "minItems": 1,
    "items": {
      "$ref": "#/$defs/instance"
    }
  }
}