# cafe.hypertext.share

> Published by [joshm.tngl.sh](https://lexicon.garden/identity/did:plc:45j244tnl3jxbrq7os6wnbqn)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:45j244tnl3jxbrq7os6wnbqn/cafe.hypertext.share)
- [Documentation](https://lexicon.garden/lexicon/did:plc:45j244tnl3jxbrq7os6wnbqn/cafe.hypertext.share/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:45j244tnl3jxbrq7os6wnbqn/cafe.hypertext.share/examples)

## Definitions

### `cafe.hypertext.share`

**Type**: `record`

Shared content by a user

**Key**: `any`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `createdAt` | `string` (datetime) | Yes |  |
| `description` | `string` | Yes | Content description (preferably auto fetched) |
| `name` | `string` | Yes | Content name (preferably auto fetched) |
| `note` | `string` | No | User note |
| `type` | `string` | Yes | Content type |
| `uri` | `string` | Yes | Content URI (eg: https:// for sites, urn:isbn:// for books) |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Shared content by a user",
      "key": "any",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "description": {
            "description": "Content description (preferably auto fetched)",
            "maxGraphemes": 300,
            "maxLength": 3000,
            "type": "string"
          },
          "name": {
            "description": "Content name (preferably auto fetched)",
            "maxGraphemes": 64,
            "maxLength": 640,
            "minLength": 1,
            "type": "string"
          },
          "note": {
            "description": "User note",
            "maxGraphemes": 300,
            "maxLength": 3000,
            "type": "string"
          },
          "type": {
            "description": "Content type",
            "enum": [
              "book",
              "website"
            ],
            "maxGraphemes": 64,
            "maxLength": 64,
            "minLength": 1,
            "type": "string"
          },
          "uri": {
            "description": "Content URI (eg: https:// for sites, urn:isbn:// for books)",
            "maxGraphemes": 64,
            "maxLength": 640,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "name",
          "description",
          "type",
          "uri",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "cafe.hypertext.share",
  "lexicon": 1
}
```
