org.hypercerts.context.measurement

hypercerts.org

Documentation

Measurement data related to one or more records (e.g. activities, projects, etc.).

main record

Measurement data related to one or more records (e.g. activities, projects, etc.).

Record Key tid Timestamp-based ID

Properties

comment string Optional

Short comment of this measurement, suitable for previews and list views. Rich text annotations may be provided via `commentFacets`.

maxLength: 3000 bytesmaxGraphemes: 300 graphemes
commentFacets array of ref app.bsky.richtext.facet Optional

Rich text annotations for `comment` (mentions, URLs, hashtags, etc).

createdAt string datetime Required

Client-declared timestamp when this record was originally created

endDate string datetime Optional

The end date and time when the measurement ended. For one-time measurements, this should equal the start date.

evidenceURI array of string uri Optional

URIs to related evidence or underlying data (e.g. org.hypercerts.claim.evidence records or raw datasets)

maxLength: 50 items
locations array of ref com.atproto.repo.strongRef Optional

Optional geographic references related to where the measurement was taken. Each referenced record must conform with the app.certified.location lexicon.

maxLength: 100 items
measurers array of ref app.certified.defs#did Optional

DIDs of the entities that performed this measurement

maxLength: 100 items
methodType string Optional

Short identifier for the measurement methodology

maxLength: 30 bytes
methodURI string uri Optional

URI to methodology documentation, standard protocol, or measurement procedure

metric string Required

The metric being measured, e.g. forest area restored, number of users, etc.

maxLength: 500 bytes
startDate string datetime Optional

The start date and time when the measurement began.

subjects array of ref com.atproto.repo.strongRef Optional

Strong references to the records this measurement refers to (e.g. activities, projects, or claims).

maxLength: 100 items
unit string Required

The unit of the measured value (e.g. kg CO₂e, hectares, %, index score).

maxLength: 50 bytes
value string Required

The measured value as a numeric string (e.g. '1234.56')

maxLength: 500 bytes
View raw schema
{
  "description": "Measurement data related to one or more records (e.g. activities, projects, etc.).",
  "key": "tid",
  "record": {
    "properties": {
      "comment": {
        "description": "Short comment of this measurement, suitable for previews and list views. Rich text annotations may be provided via `commentFacets`.",
        "maxGraphemes": 300,
        "maxLength": 3000,
        "type": "string"
      },
      "commentFacets": {
        "description": "Rich text annotations for `comment` (mentions, URLs, hashtags, etc).",
        "items": {
          "ref": "app.bsky.richtext.facet",
          "type": "ref"
        },
        "type": "array"
      },
      "createdAt": {
        "description": "Client-declared timestamp when this record was originally created",
        "format": "datetime",
        "type": "string"
      },
      "endDate": {
        "description": "The end date and time when the measurement ended. For one-time measurements, this should equal the start date.",
        "format": "datetime",
        "type": "string"
      },
      "evidenceURI": {
        "description": "URIs to related evidence or underlying data (e.g. org.hypercerts.claim.evidence records or raw datasets)",
        "items": {
          "format": "uri",
          "type": "string"
        },
        "maxLength": 50,
        "type": "array"
      },
      "locations": {
        "description": "Optional geographic references related to where the measurement was taken. Each referenced record must conform with the app.certified.location lexicon.",
        "items": {
          "ref": "com.atproto.repo.strongRef",
          "type": "ref"
        },
        "maxLength": 100,
        "type": "array"
      },
      "measurers": {
        "description": "DIDs of the entities that performed this measurement",
        "items": {
          "ref": "app.certified.defs#did",
          "type": "ref"
        },
        "maxLength": 100,
        "type": "array"
      },
      "methodType": {
        "description": "Short identifier for the measurement methodology",
        "maxLength": 30,
        "type": "string"
      },
      "methodURI": {
        "description": "URI to methodology documentation, standard protocol, or measurement procedure",
        "format": "uri",
        "type": "string"
      },
      "metric": {
        "description": "The metric being measured, e.g. forest area restored, number of users, etc.",
        "maxLength": 500,
        "type": "string"
      },
      "signatures": {
        "description": "Optional cryptographic signatures attesting to this record's content.",
        "ref": "app.certified.signature.defs#list",
        "type": "ref"
      },
      "startDate": {
        "description": "The start date and time when the measurement began.",
        "format": "datetime",
        "type": "string"
      },
      "subjects": {
        "description": "Strong references to the records this measurement refers to (e.g. activities, projects, or claims).",
        "items": {
          "ref": "com.atproto.repo.strongRef",
          "type": "ref"
        },
        "maxLength": 100,
        "type": "array"
      },
      "unit": {
        "description": "The unit of the measured value (e.g. kg CO₂e, hectares, %, index score).",
        "maxLength": 50,
        "type": "string"
      },
      "value": {
        "description": "The measured value as a numeric string (e.g. '1234.56')",
        "maxLength": 500,
        "type": "string"
      }
    },
    "required": [
      "metric",
      "unit",
      "value",
      "createdAt"
    ],
    "type": "object"
  },
  "type": "record"
}

Lexicon Garden

@