scot.comhairle.testingPolisStatementV1

lexicon.store View official

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
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "text",
      "poll",
      "createdAt"
    ],
    "properties": {
      "poll": {
        "ref": "#pollRef",
        "type": "ref",
        "description": "Reference to the poll this statement belongs to"
      },
      "text": {
        "type": "string",
        "maxLength": 3000,
        "description": "The text content of the statement"
      },
      "createdAt": {
        "type": "string",
        "format": "datetime",
        "description": "Timestamp when the statement was created"
      }
    }
  },
  "description": "A statement in the Polis-style deliberation system"
}
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
{
  "type": "object",
  "required": [
    "uri",
    "cid"
  ],
  "properties": {
    "cid": {
      "type": "string",
      "format": "cid",
      "description": "Content identifier of the poll record"
    },
    "uri": {
      "type": "string",
      "format": "at-uri",
      "description": "AT-URI of the poll record"
    }
  },
  "description": "Reference to a poll record"
}

Lexicon Garden

@