Initial push
This commit is contained in:
19
hubzilla/addon/vs01/contracts/record-v1.json
Normal file
19
hubzilla/addon/vs01/contracts/record-v1.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"_meta": {
|
||||
"contract": "vs01-record",
|
||||
"version": "1.0",
|
||||
"purpose": "Vital Signs record for one participant in one association. Mutable — overwritten on every submission. Storage key is participant_id (Placekey), not a unique record ID."
|
||||
},
|
||||
"_header": {
|
||||
"addon": "vs01",
|
||||
"association_slug": "The association this record belongs to.",
|
||||
"association_channel_id": "Hubzilla channel ID of the association, as a string.",
|
||||
"participant_id": "The participant's Placekey. This is the storage key — institutional memory tied to the address, not the person.",
|
||||
"submitted_at": "ISO 8601 timestamp of this submission.",
|
||||
"standing": "public, participant, professional, or operator — access state at time of submission.",
|
||||
"node_token_hash": "SHA-256 of the node token — not the token itself."
|
||||
},
|
||||
"_payload": {
|
||||
"fields": "Keyed object of all ten Vital Signs field values. Keys match the field IDs defined in vs01's schema files. Not independently validated by the orchestrator — validation already happened on the Hubzilla side."
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user