{
"$type": "com.atproto.lexicon.schema",
"defs": {
"ftcSfContext": {
"description": "Proposal belongs to a Frontier Tower SF floor.",
"properties": {
"floorNumber": {
"description": "Floor number in the static FtC SF tower config.",
"minimum": 1,
"type": "integer"
}
},
"required": [
"floorNumber"
],
"type": "object"
},
"gatheringContext": {
"description": "Proposal belongs to a gathering.",
"properties": {
"gathering": {
"description": "Strong reference to the org.simocracy.gathering record.",
"ref": "com.atproto.repo.strongRef",
"type": "ref"
}
},
"required": [
"gathering"
],
"type": "object"
},
"main": {
"description": "Sidecar associating a hypercerts activity (proposal) with its Simocracy context (a gathering or a Frontier Tower SF floor). Joined by `subject.uri`. Multiple records may exist per subject; precedence: a sidecar in the proposer's PDS (subject's repo DID == sidecar's repo DID) outranks one in any other PDS, and within a tier the latest `createdAt` wins.",
"key": "tid",
"record": {
"properties": {
"context": {
"description": "The container this proposal belongs to.",
"refs": [
"#gatheringContext",
"#ftcSfContext"
],
"type": "union"
},
"createdAt": {
"format": "datetime",
"type": "string"
},
"subject": {
"description": "The activity record this context applies to (org.hypercerts.claim.activity).",
"ref": "com.atproto.repo.strongRef",
"type": "ref"
}
},
"required": [
"subject",
"context",
"createdAt"
],
"type": "object"
},
"type": "record"
}
},
"id": "org.simocracy.proposalContext",
"lexicon": 1
}