org.hypercerts.claim.measurement

hypercerts.org

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

Validate Record

Validate a record against org.hypercerts.claim.measurement

Validation Options
Automatically resolve and include external schemas for full validation
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:s4puetfspot742ai7y4otuel
CID
bafyreig5kv4tkz2l7wnfdo5cjggmpfbbls5ezwovq6q5k23xaxx3ttrz24
Indexed At
2026-01-25 01:21 UTC
AT-URI
at://did:plc:s4puetfspot742ai7y4otuel/com.atproto.lexicon.schema/org.hypercerts.claim.measurement

Version History (2 versions)

Referenced Schemas (2)

Lexicon Garden

@