com.deckbelcher.social.comment

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

Repository @deckbelcher.com did:web:deckbelcher.com namespace authority
Details · record, key tid
Kindrecord
Record keytid
Authoritysocial.deckbelcher.com
Indexed
cid bafyreie3xvb3qep7o2m5qjq33qkeknoy27o6udjkzfwxjobcvdagzb6pcq

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "cardSubject": {
      "description": "Subject: a card (global comment on the card itself).",
      "properties": {
        "ref": {
          "ref": "com.deckbelcher.defs#cardRef",
          "type": "ref"
        }
      },
      "required": [
        "ref"
      ],
      "type": "object"
    },
    "cardTarget": {
      "description": "Target: a card (in a deck or collection).",
      "properties": {
        "ref": {
          "ref": "com.deckbelcher.defs#cardRef",
          "type": "ref"
        }
      },
      "required": [
        "ref"
      ],
      "type": "object"
    },
    "deckTarget": {
      "description": "Target: a deck (in a collection).",
      "properties": {
        "ref": {
          "ref": "com.atproto.repo.strongRef",
          "type": "ref"
        }
      },
      "required": [
        "ref"
      ],
      "type": "object"
    },
    "main": {
      "description": "Top-level comment on a card, deck, or collection.",
      "key": "tid",
      "record": {
        "properties": {
          "content": {
            "description": "Rich text content.",
            "ref": "com.deckbelcher.richtext#document",
            "type": "ref"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "subject": {
            "description": "What this comment is on.",
            "refs": [
              "#cardSubject",
              "#recordSubject"
            ],
            "type": "union"
          },
          "target": {
            "description": "Optional refinement within subject (card/section/tag in a deck).",
            "refs": [
              "#cardTarget",
              "#deckTarget",
              "#sectionTarget",
              "#tagTarget"
            ],
            "type": "union"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "subject",
          "content",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "recordSubject": {
      "description": "Subject: an ATProto record (deck, collection).",
      "properties": {
        "ref": {
          "ref": "com.atproto.repo.strongRef",
          "type": "ref"
        }
      },
      "required": [
        "ref"
      ],
      "type": "object"
    },
    "sectionTarget": {
      "description": "Target: a deck section (mainboard, sideboard, etc).",
      "properties": {
        "section": {
          "maxGraphemes": 64,
          "maxLength": 640,
          "type": "string"
        }
      },
      "required": [
        "section"
      ],
      "type": "object"
    },
    "tagTarget": {
      "description": "Target: a tag package (ramp, removal, wincons, etc).",
      "properties": {
        "tag": {
          "maxGraphemes": 64,
          "maxLength": 640,
          "type": "string"
        }
      },
      "required": [
        "tag"
      ],
      "type": "object"
    }
  },
  "id": "com.deckbelcher.social.comment",
  "lexicon": 1
}