---
slug: "Metric"
name: "Metric"
type: "Data Structures"
layer: "Infrastructure"
ref: "Metric#aa99"
sema_id: "sema:Metric#mh:SHA-256:aa990383741b05e3b798abc7518d9e65c0cc7832b345d4cfed48714ef2501230"
tags: ["Infrastructure","Data Structures"]
updated: 2026-11-11
mindscape: "bootstrap"
index_url: https://mindscape.pages.dev/bootstrap/index.json
url: https://mindscape.pages.dev/bootstrap/Metric/
related: ["Aesthetics","Agent","ExchangeRate","Metricmirror","MetricReading","Optimize","Risk","Metricmirror#c7c5"]
---

# Metric

Definition of a quantitative property and its value semantics

Layer: Infrastructure · Category: Data Structures

## Mechanism

A definition of a quantitative property. It identifies the target property, the rule used to derive its values, and the value schema that makes those values interpretable. Applying the definition produces readings; observed values and their context are recorded separately rather than changing the definition.

## Invariants

- Quantitative Output: `value_schema` admits only numbers or finite structures whose leaves are numbers, and declares the units, range, or dimensions needed to interpret them.

## Failure modes

—

## Data schema

```json
{
  "type": "object",
  "required": [
    "target_property",
    "measurement_rule",
    "value_schema"
  ],
  "properties": {
    "target_property": {
      "type": "string",
      "description": "Property or construct whose quantity the Metric defines"
    },
    "measurement_rule": {
      "type": "string",
      "description": "Rule or procedure that derives a value from the target property"
    },
    "value_schema": {
      "type": "object",
      "description": "JSON Schema for quantitative outputs, including the units, range, or dimensions needed to interpret them"
    }
  }
}
```

## Builds on

—

## Used by

- [Aesthetics](https://mindscape.pages.dev/bootstrap/Aesthetics.md) (Infrastructure; References)
- [Agent](https://mindscape.pages.dev/bootstrap/Agent.md) (Mind; References)
- [ExchangeRate](https://mindscape.pages.dev/bootstrap/ExchangeRate.md) (Society; References)
- [Metricmirror](https://mindscape.pages.dev/bootstrap/Metricmirror.md) (Mind; References)
- [MetricReading](https://mindscape.pages.dev/bootstrap/MetricReading.md) (Infrastructure; References)
- [Optimize](https://mindscape.pages.dev/bootstrap/Optimize.md) (Mind; References)
- [Risk](https://mindscape.pages.dev/bootstrap/Risk.md) (Infrastructure; References)

## Identity

- Sema ID: `sema:Metric#mh:SHA-256:aa990383741b05e3b798abc7518d9e65c0cc7832b345d4cfed48714ef2501230`
- Ref: `Metric#aa99`
- Supersedes:
  - `sema:Metric#mh:SHA-256:8895c946c0d9728fb06563d2294bde3fe9a3be817d3d50ed1a587fd604bc6b29`
  - `sema:Metric#mh:SHA-256:977d146c13043ccc85b4521399937dd3f3a067bfcc7c2cfdd446082b6d13ee2c`

## Links

- [Pattern page](https://mindscape.pages.dev/bootstrap/Metric/)
- [View in the interactive graph](https://mindscape.pages.dev/bootstrap/#Metric)
- [JSON](https://mindscape.pages.dev/bootstrap/Metric.json)
- [Index of all patterns](https://mindscape.pages.dev/bootstrap/index.json)
