Back to Simocracy

org.simocracy.proposalContext

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.

record · key tid

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.

subject*

The activity record this context applies to (org.hypercerts.claim.activity).

strongRef
context*

The container this proposal belongs to.

union<#gatheringContext | #ftcSfContext> · #gatheringContext · #ftcSfContext
createdAt*
datetime

Definitions

#gatheringContextobject

Proposal belongs to a gathering.

gathering*

Strong reference to the org.simocracy.gathering record.

strongRef

#ftcSfContextobject

Proposal belongs to a Frontier Tower SF floor.

floorNumber*

Floor number in the static FtC SF tower config.

integer · ≥ 1
Raw lexicon JSON
{
  "lexicon": 1,
  "id": "org.simocracy.proposalContext",
  "defs": {
    "main": {
      "type": "record",
      "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": {
        "type": "object",
        "required": [
          "subject",
          "context",
          "createdAt"
        ],
        "properties": {
          "subject": {
            "type": "ref",
            "ref": "com.atproto.repo.strongRef",
            "description": "The activity record this context applies to (org.hypercerts.claim.activity)."
          },
          "context": {
            "type": "union",
            "refs": [
              "#gatheringContext",
              "#ftcSfContext"
            ],
            "description": "The container this proposal belongs to."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          }
        }
      }
    },
    "gatheringContext": {
      "type": "object",
      "description": "Proposal belongs to a gathering.",
      "required": [
        "gathering"
      ],
      "properties": {
        "gathering": {
          "type": "ref",
          "ref": "com.atproto.repo.strongRef",
          "description": "Strong reference to the org.simocracy.gathering record."
        }
      }
    },
    "ftcSfContext": {
      "type": "object",
      "description": "Proposal belongs to a Frontier Tower SF floor.",
      "required": [
        "floorNumber"
      ],
      "properties": {
        "floorNumber": {
          "type": "integer",
          "minimum": 1,
          "description": "Floor number in the static FtC SF tower config."
        }
      }
    }
  }
}
org.simocracy.proposalContext