app.atmobb.forum.stamp

lexicons.atmobb.app

Documentation

A stamp a forum awards for belonging: being somewhere or arriving at some time, never for how much someone has posted. Lives in the forum account's repo. Members choose which awarded stamps to wear via the wearing list on their membership record.

main record

A stamp a forum awards for belonging: being somewhere or arriving at some time, never for how much someone has posted. Lives in the forum account's repo. Members choose which awarded stamps to wear via the wearing list on their membership record.

Record Key tid Timestamp-based ID

Properties

createdAt string datetime Required

An RFC 3339 formatted timestamp.

look ref #look Required

No description available.

name string Required

No description available.

maxLength: 240 bytesmaxGraphemes: 24 graphemes
trigger ref #trigger Required

No description available.

View raw schema
{
  "description": "A stamp a forum awards for belonging: being somewhere or arriving at some time, never for how much someone has posted. Lives in the forum account's repo. Members choose which awarded stamps to wear via the wearing list on their membership record.",
  "key": "tid",
  "record": {
    "properties": {
      "createdAt": {
        "format": "datetime",
        "type": "string"
      },
      "look": {
        "ref": "#look",
        "type": "ref"
      },
      "name": {
        "maxGraphemes": 24,
        "maxLength": 240,
        "type": "string"
      },
      "trigger": {
        "ref": "#trigger",
        "type": "ref"
      }
    },
    "required": [
      "name",
      "look",
      "trigger",
      "createdAt"
    ],
    "type": "object"
  },
  "type": "record"
}
look object

How the stamp is drawn: two colors and one of a bounded set of shapes. No free CSS or images.

Properties

bg string Required

Background as a full six-digit hex color (for example #1a73e8). Writers must validate the #RRGGBB format.

maxLength: 7 bytes
ink string Required

Text and outline as a full six-digit hex color (for example #ffffff). Writers must validate the #RRGGBB format.

maxLength: 7 bytes
shape string Required

No description available.

maxLength: 32 bytes
Known values: stamp, pill, ticket, pixel
symbol string Optional

Optional visible grapheme drawn on the stamp. Writers must reject invisible or whitespace-only symbols.

maxLength: 64 bytesmaxGraphemes: 1 graphemesminGraphemes: 1 graphemes
View raw schema
{
  "description": "How the stamp is drawn: two colors and one of a bounded set of shapes. No free CSS or images.",
  "properties": {
    "bg": {
      "description": "Background as a full six-digit hex color (for example #1a73e8). Writers must validate the #RRGGBB format.",
      "maxLength": 7,
      "type": "string"
    },
    "ink": {
      "description": "Text and outline as a full six-digit hex color (for example #ffffff). Writers must validate the #RRGGBB format.",
      "maxLength": 7,
      "type": "string"
    },
    "shape": {
      "knownValues": [
        "stamp",
        "pill",
        "ticket",
        "pixel"
      ],
      "maxLength": 32,
      "type": "string"
    },
    "symbol": {
      "description": "Optional visible grapheme drawn on the stamp. Writers must reject invisible or whitespace-only symbols.",
      "maxGraphemes": 1,
      "maxLength": 64,
      "minGraphemes": 1,
      "type": "string"
    }
  },
  "required": [
    "bg",
    "ink",
    "shape"
  ],
  "type": "object"
}
trigger object

What earns the stamp. kind names the event or place; the other fields parameterize it. Writers must validate that the parameter matching kind is present: board for firstPostInBoard, before for profileBefore, via for arrivedBy. firstPostHere and byHand take no parameter.

Properties

before string datetime Optional

For profileBefore: members whose atmobb profile predates this moment earn the stamp.

board string at-uri Optional

For firstPostInBoard: the app.atmobb.forum.board whose first post earns the stamp.

kind string Required

No description available.

maxLength: 32 bytes
Known values: firstPostInBoard, firstPostHere, profileBefore, arrivedBy, byHand
via string Optional

For arrivedBy: how the member was accepted (matches the acceptMember action's via).

maxLength: 32 bytes
Known values: invite, application, founding
View raw schema
{
  "description": "What earns the stamp. kind names the event or place; the other fields parameterize it. Writers must validate that the parameter matching kind is present: board for firstPostInBoard, before for profileBefore, via for arrivedBy. firstPostHere and byHand take no parameter.",
  "properties": {
    "before": {
      "description": "For profileBefore: members whose atmobb profile predates this moment earn the stamp.",
      "format": "datetime",
      "type": "string"
    },
    "board": {
      "description": "For firstPostInBoard: the app.atmobb.forum.board whose first post earns the stamp.",
      "format": "at-uri",
      "type": "string"
    },
    "kind": {
      "knownValues": [
        "firstPostInBoard",
        "firstPostHere",
        "profileBefore",
        "arrivedBy",
        "byHand"
      ],
      "maxLength": 32,
      "type": "string"
    },
    "via": {
      "description": "For arrivedBy: how the member was accepted (matches the acceptMember action's via).",
      "knownValues": [
        "invite",
        "application",
        "founding"
      ],
      "maxLength": 32,
      "type": "string"
    }
  },
  "required": [
    "kind"
  ],
  "type": "object"
}

Lexicon Garden

@