org.simocracy.decision

A published allocation decision for a gathering. Written by the gathering admin to publish the results of an S-Process run (or any allocation mechanism) as the official outcome for a round. Visible to all viewers of the gathering.

Details · record, key tid
Kindrecord
Record keytid
Authoritysimocracy.org
Indexed
cid bafyreihtyndocdkul6nnm3yg34gqtqxeutyf25bhhpif2lze54sljjpmbi

Checks

Valid
  • unlimited-string defs.allocation.properties.proposalUriNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.record.properties.gatheringUriNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "allocation": {
      "properties": {
        "amount": {
          "description": "Allocation amount in whole USD.",
          "type": "integer"
        },
        "proposalTitle": {
          "description": "Display title of the proposal.",
          "maxLength": 500,
          "type": "string"
        },
        "proposalUri": {
          "description": "Optional AT-URI of the proposal record (org.hypercerts.claim.activity).",
          "type": "string"
        },
        "requested": {
          "description": "Amount the proposer originally asked for, in whole USD. Optional — omitted when the proposal had no itemised budget request.",
          "type": "integer"
        }
      },
      "required": [
        "proposalTitle",
        "amount"
      ],
      "type": "object"
    },
    "main": {
      "description": "A published allocation decision for a gathering. Written by the gathering admin to publish the results of an S-Process run (or any allocation mechanism) as the official outcome for a round. Visible to all viewers of the gathering.",
      "key": "tid",
      "record": {
        "properties": {
          "allocations": {
            "description": "Per-proposal allocation amounts.",
            "items": {
              "ref": "#allocation",
              "type": "ref"
            },
            "maxLength": 200,
            "type": "array"
          },
          "budget": {
            "description": "Total budget allocated, in whole USD.",
            "type": "integer"
          },
          "createdAt": {
            "description": "Record creation timestamp.",
            "format": "datetime",
            "type": "string"
          },
          "decidedAt": {
            "description": "Timestamp when the admin published this decision.",
            "format": "datetime",
            "type": "string"
          },
          "gatheringUri": {
            "description": "Scope identifier this decision belongs to. Usually the AT-URI of an org.simocracy.gathering record (e.g. at://did:plc:.../org.simocracy.gathering/...). For built-in scopes that are not gatherings, a sentinel string is used instead (e.g. \"ftc-sf:tower\" for the Frontier Tower SF event).",
            "type": "string"
          },
          "mechanism": {
            "description": "Name of the allocation mechanism that produced this decision (e.g. \"s-process\").",
            "maxLength": 64,
            "type": "string"
          },
          "notes": {
            "description": "Optional admin commentary published alongside the decision.",
            "maxLength": 1000,
            "type": "string"
          },
          "outsideOptionKept": {
            "description": "Dollars kept for future rounds via the outside option, in whole USD.",
            "type": "integer"
          },
          "runId": {
            "description": "Identifier of the source allocation run (e.g. an S-Process hearingId).",
            "maxLength": 64,
            "type": "string"
          },
          "title": {
            "description": "Short label for the decision (e.g. \"Round 1\", \"Q1 2025\").",
            "maxLength": 200,
            "type": "string"
          }
        },
        "required": [
          "gatheringUri",
          "runId",
          "budget",
          "allocations",
          "decidedAt",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "org.simocracy.decision",
  "lexicon": 1
}