# com.livtet.shelf.create

> Create a shelf. Returns the new shelf's AT-URI.

- Kind: procedure
- Authority: shelf.livtet.com
- Lexicon: 1
- Published by [biblio.livtet.com](https://lexicon.garden/identity/did:plc:e2x3ihw2ntxt7pcgzmtu3abi), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:e2x3ihw2ntxt7pcgzmtu3abi/com.livtet.shelf.create)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:e2x3ihw2ntxt7pcgzmtu3abi/com.livtet.shelf.create/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:e2x3ihw2ntxt7pcgzmtu3abi/com.livtet.shelf.create/analytics)

## Procedure (`com.livtet.shelf.create`)

Type: procedure · POST

### Input (application/json)

- `description` (string): Optional description of what the shelf collects.
  - Constraints: maxGraphemes: 8192
- `name` (string, required): Human-readable shelf name.
  - Constraints: maxLength: 128, maxGraphemes: 128

### Output (application/json)

- `uri` (string · at-uri, required): AT-URI of the new shelf record.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Create a shelf. Returns the new shelf's AT-URI.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "description": {
              "description": "Optional description of what the shelf collects.",
              "maxGraphemes": 8192,
              "type": "string"
            },
            "name": {
              "description": "Human-readable shelf name.",
              "maxGraphemes": 128,
              "maxLength": 128,
              "type": "string"
            }
          },
          "required": [
            "name"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "uri": {
              "description": "AT-URI of the new shelf record.",
              "format": "at-uri",
              "type": "string"
            }
          },
          "required": [
            "uri"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "description": "Create a shelf for the caller at a fresh TID rkey.",
  "id": "com.livtet.shelf.create",
  "lexicon": 1
}
```
