KeyValue

A definition list of labeled facts: metadata, configuration, the who/where/when of a thing.

rendered, live
the wire — click a line to scrub
the contract — KeyValue in catalog.json
{
  "type": "object",
  "description": "A definition list of labeled facts: metadata, configuration, the who/where/when of a thing.",
  "properties": {
    "component": {
      "const": "KeyValue"
    },
    "label": {
      "$ref": "https://a2ui.org/specification/v1_0/common_types.json#/$defs/DynamicString",
      "description": "Optional heading for the list."
    },
    "items": {
      "oneOf": [
        {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "key": {
                "type": "string",
                "description": "The fact's name, e.g. 'Region'."
              },
              "value": {
                "$ref": "https://a2ui.org/specification/v1_0/common_types.json#/$defs/DynamicValue",
                "description": "The fact, raw (string or number, or a {\"path\"} binding). Numbers and ISO dates are formatted in the user's locale."
              }
            },
            "required": [
              "key",
              "value"
            ],
            "additionalProperties": false
          }
        },
        {
          "$ref": "https://a2ui.org/specification/v1_0/common_types.json#/$defs/DataBinding"
        }
      ],
      "description": "The facts. Each value may bind with {\"path\": ...} so single facts update live."
    }
  },
  "required": [
    "component",
    "items"
  ]
}
the prompt-pack — paste into your agent
### KeyValue — a list of labeled facts

| prop    | type                | required | notes                                     |
| ------- | ------------------- | -------- | ----------------------------------------- |
| `items` | array \| `{"path"}` | yes      | `{"key", "value"}` pairs; values may bind |
| `label` | string              | no       | heading                                   |

```
{"id":"passport","component":"KeyValue","label":"checkout-web","items":[{"key":"Region","value":"eu-west-1"},{"key":"Owner","value":"team payments"},{"key":"Last deploy","value":"2026-08-17T09:12:00Z"},{"key":"Error rate","value":{"path":"/errorRate"}}]}
```