com.deckbelcher.social.comment

deckbelcher.com

Documentation

Top-level comment on a card, deck, or collection.

main record

Top-level comment on a card, deck, or collection.

Record Key tid Timestamp-based ID

Properties

createdAt string datetime Required

An RFC 3339 formatted timestamp.

updatedAt string datetime Optional

An RFC 3339 formatted timestamp.

View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "subject",
      "content",
      "createdAt"
    ],
    "properties": {
      "target": {
        "refs": [
          "#cardTarget",
          "#deckTarget",
          "#sectionTarget",
          "#tagTarget"
        ],
        "type": "union",
        "description": "Optional refinement within subject (card/section/tag in a deck)."
      },
      "content": {
        "ref": "com.deckbelcher.richtext#document",
        "type": "ref",
        "description": "Rich text content."
      },
      "subject": {
        "refs": [
          "#cardSubject",
          "#recordSubject"
        ],
        "type": "union",
        "description": "What this comment is on."
      },
      "createdAt": {
        "type": "string",
        "format": "datetime"
      },
      "updatedAt": {
        "type": "string",
        "format": "datetime"
      }
    }
  },
  "description": "Top-level comment on a card, deck, or collection."
}
cardSubject object

Subject: a card (global comment on the card itself).

Properties

View raw schema
{
  "type": "object",
  "required": [
    "ref"
  ],
  "properties": {
    "ref": {
      "ref": "com.deckbelcher.defs#cardRef",
      "type": "ref"
    }
  },
  "description": "Subject: a card (global comment on the card itself)."
}
cardTarget object

Target: a card (in a deck or collection).

Properties

View raw schema
{
  "type": "object",
  "required": [
    "ref"
  ],
  "properties": {
    "ref": {
      "ref": "com.deckbelcher.defs#cardRef",
      "type": "ref"
    }
  },
  "description": "Target: a card (in a deck or collection)."
}
deckTarget object

Target: a deck (in a collection).

Properties

View raw schema
{
  "type": "object",
  "required": [
    "ref"
  ],
  "properties": {
    "ref": {
      "ref": "com.atproto.repo.strongRef",
      "type": "ref"
    }
  },
  "description": "Target: a deck (in a collection)."
}
recordSubject object

Subject: an ATProto record (deck, collection).

Properties

View raw schema
{
  "type": "object",
  "required": [
    "ref"
  ],
  "properties": {
    "ref": {
      "ref": "com.atproto.repo.strongRef",
      "type": "ref"
    }
  },
  "description": "Subject: an ATProto record (deck, collection)."
}
sectionTarget object

Target: a deck section (mainboard, sideboard, etc).

Properties

section string Required

No description available.

maxLength: 640 bytesmaxGraphemes: 64 graphemes
View raw schema
{
  "type": "object",
  "required": [
    "section"
  ],
  "properties": {
    "section": {
      "type": "string",
      "maxLength": 640,
      "maxGraphemes": 64
    }
  },
  "description": "Target: a deck section (mainboard, sideboard, etc)."
}
tagTarget object

Target: a tag package (ramp, removal, wincons, etc).

Properties

tag string Required

No description available.

maxLength: 640 bytesmaxGraphemes: 64 graphemes
View raw schema
{
  "type": "object",
  "required": [
    "tag"
  ],
  "properties": {
    "tag": {
      "type": "string",
      "maxLength": 640,
      "maxGraphemes": 64
    }
  },
  "description": "Target: a tag package (ramp, removal, wincons, etc)."
}

Lexicon Garden

@