{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://publicschema.org/metrics/DimensionValue.schema.json",
  "title": "DimensionValue",
  "description": "One {dimension_uri, code} pair carried by a MetricObservation. Ordering matters for SDMX DSD round-trip, so this is modelled as an ordered list of structured pairs rather than as a map.\n",
  "type": "object",
  "properties": {
    "dimension_uri": {
      "type": "string",
      "format": "uri",
      "description": "The URI of the MetricDimension whose code this DimensionValue carries."
    },
    "code": {
      "type": "string",
      "description": "The code from the dimension's code list that locates the observation along this dimension."
    }
  }
}
