{
"id": "org.hypercerts.claim.measurement",
"defs": {
"main": {
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"measurers",
"metric",
"value",
"createdAt"
],
"properties": {
"value": {
"type": "string",
"maxLength": 500,
"description": "The measured value"
},
"metric": {
"type": "string",
"maxLength": 500,
"description": "The metric being measured"
},
"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)."
},
"location": {
"ref": "com.atproto.repo.strongRef",
"type": "ref",
"description": "A strong reference to the location where the measurement was taken. The record referenced must conform with the lexicon app.certified.location"
},
"createdAt": {
"type": "string",
"format": "datetime",
"description": "Client-declared timestamp when this record was originally created"
},
"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"
},
"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)"
}
}
},
"description": "Measurement data related to a hypercert record (e.g. an activity and its impact)."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}