fyi.opensocial.board.thread

lexicons.opensocial.fyi

Documentation

A thread, written by a member into a board's space from their own repo. A thread with a subject is the discussion attached to that thing (an event, say) and belongs on it rather than in the board's own list.

main record

A thread, written by a member into a board's space from their own repo. A thread with a subject is the discussion attached to that thing (an event, say) and belongs on it rather than in the board's own list.

Record Key tid Timestamp-based ID

Properties

body string Optional

No description available.

maxLength: 30000 bytesmaxGraphemes: 3000 graphemes
createdAt string datetime Required

An RFC 3339 formatted timestamp.

subject string at-uri Optional

What this thread is attached to, if anything.

title string Required

No description available.

maxLength: 3000 bytesmaxGraphemes: 300 graphemes
View raw schema
{
  "description": "A thread, written by a member into a board's space from their own repo. A thread with a subject is the discussion attached to that thing (an event, say) and belongs on it rather than in the board's own list.",
  "key": "tid",
  "record": {
    "properties": {
      "body": {
        "maxGraphemes": 3000,
        "maxLength": 30000,
        "type": "string"
      },
      "createdAt": {
        "format": "datetime",
        "type": "string"
      },
      "embed": {
        "description": "Pictures with it.",
        "refs": [
          "fyi.opensocial.embed.images"
        ],
        "type": "union"
      },
      "poll": {
        "description": "Makes this thread a poll. The replies still work; the options are the thing being decided.",
        "ref": "fyi.opensocial.board.thread#poll",
        "type": "ref"
      },
      "subject": {
        "description": "What this thread is attached to, if anything.",
        "format": "at-uri",
        "type": "string"
      },
      "title": {
        "maxGraphemes": 300,
        "maxLength": 3000,
        "type": "string"
      }
    },
    "required": [
      "title",
      "createdAt"
    ],
    "type": "object"
  },
  "type": "record"
}
option object

No description available.

Properties

key string Required

Stable identifier a vote points at.

maxLength: 64 bytes
label string Required

No description available.

maxLength: 640 bytesmaxGraphemes: 64 graphemes
View raw schema
{
  "properties": {
    "key": {
      "description": "Stable identifier a vote points at.",
      "maxLength": 64,
      "type": "string"
    },
    "label": {
      "maxGraphemes": 64,
      "maxLength": 640,
      "type": "string"
    }
  },
  "required": [
    "key",
    "label"
  ],
  "type": "object"
}
poll object

A question with fixed answers. Options carry a stable key so a vote survives the labels being edited, and closesAt is advisory — the space cannot stop a late write, the app just stops offering one.

Properties

closesAt string datetime Optional

An RFC 3339 formatted timestamp.

View raw schema
{
  "description": "A question with fixed answers. Options carry a stable key so a vote survives the labels being edited, and closesAt is advisory — the space cannot stop a late write, the app just stops offering one.",
  "properties": {
    "closesAt": {
      "format": "datetime",
      "type": "string"
    },
    "options": {
      "items": {
        "ref": "fyi.opensocial.board.thread#option",
        "type": "ref"
      },
      "maxLength": 12,
      "minLength": 2,
      "type": "array"
    }
  },
  "required": [
    "options"
  ],
  "type": "object"
}

Lexicon Garden

@