{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "a named collection of saved citations. items reference collections by their record AT-URI in the item's collections field. ordering is a client concern.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "description": "time the collection was created. preserve it when editing.",
            "format": "datetime",
            "type": "string"
          },
          "description": {
            "description": "optional description of the collection.",
            "maxGraphemes": 2048,
            "maxLength": 8192,
            "type": "string"
          },
          "name": {
            "description": "human-readable collection name, at most 128 graphemes.",
            "maxGraphemes": 128,
            "maxLength": 512,
            "type": "string"
          }
        },
        "required": [
          "name",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "dev.frogspace.stacks.collection",
  "lexicon": 1
}
