scot.comhairle.testingPolisStatementV1

stuartlynn.bsky.social

Documentation

A statement in the Polis-style deliberation system

main record

A statement in the Polis-style deliberation system

Record Key tid Timestamp-based ID

Properties

createdAt string datetime Required

Timestamp when the statement was created

poll ref #pollRef Required

Reference to the poll this statement belongs to

text string Required

The text content of the statement

maxLength: 3000 bytes
View raw schema
{
  "description": "A statement in the Polis-style deliberation system",
  "key": "tid",
  "record": {
    "properties": {
      "createdAt": {
        "description": "Timestamp when the statement was created",
        "format": "datetime",
        "type": "string"
      },
      "poll": {
        "description": "Reference to the poll this statement belongs to",
        "ref": "#pollRef",
        "type": "ref"
      },
      "text": {
        "description": "The text content of the statement",
        "maxLength": 3000,
        "type": "string"
      }
    },
    "required": [
      "text",
      "poll",
      "createdAt"
    ],
    "type": "object"
  },
  "type": "record"
}
pollRef object

Reference to a poll record

Properties

cid string cid Required

Content identifier of the poll record

uri string at-uri Required

AT-URI of the poll record

View raw schema
{
  "description": "Reference to a poll record",
  "properties": {
    "cid": {
      "description": "Content identifier of the poll record",
      "format": "cid",
      "type": "string"
    },
    "uri": {
      "description": "AT-URI of the poll record",
      "format": "at-uri",
      "type": "string"
    }
  },
  "required": [
    "uri",
    "cid"
  ],
  "type": "object"
}

Lexicon Garden

@