buzz.bookhive.createList

Create a new book list.

Repository @bookhive.buzz did:plc:enu2j5xjlqsjaylv3du4myh4 namespace authority
Details · procedure
Kindprocedure
Authoritybookhive.buzz
Indexed
cid bafyreifrtsjw74mwsy3rlj2loqr2cbbrktghs5rypxpqtg7khoagk4s6cq

Checks

Valid
  • unlimited-string defs.main.output.schema.properties.cidNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.output.schema.properties.uriNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Create a new book list.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "description": {
              "description": "Optional description of the list",
              "maxLength": 500,
              "type": "string"
            },
            "name": {
              "description": "The name of the list",
              "maxLength": 100,
              "minLength": 1,
              "type": "string"
            },
            "ordered": {
              "description": "Whether the list is ordered",
              "type": "boolean"
            },
            "tags": {
              "description": "Optional tags",
              "items": {
                "maxLength": 50,
                "type": "string"
              },
              "type": "array"
            }
          },
          "required": [
            "name"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cid": {
              "type": "string"
            },
            "uri": {
              "type": "string"
            }
          },
          "required": [
            "uri",
            "cid"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "buzz.bookhive.createList",
  "lexicon": 1
}