# app.bivri.bookmark.createItem

> Published by [lexicons.bivri.app](https://lexicon.garden/identity/did:plc:uqat5a7hrbww3snbbinxgwah)

✓ This is the authoritative definition for this NSID.

## Description

Place an artwork in one of the authenticated member's bookmark groups.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:uqat5a7hrbww3snbbinxgwah/app.bivri.bookmark.createItem)
- [Documentation](https://lexicon.garden/lexicon/did:plc:uqat5a7hrbww3snbbinxgwah/app.bivri.bookmark.createItem/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:uqat5a7hrbww3snbbinxgwah/app.bivri.bookmark.createItem/examples)

## Definitions

### `app.bivri.bookmark.createItem`

**Type**: `procedure`

#### Input

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `group` | `string` (at-uri) | Yes | AT URI of an app.bivri.bookmark.group record in the authenticated member's repository. |
| `subject` | `ref` → `com.atproto.repo.strongRef` | Yes | Strong reference to the artwork to bookmark. |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cid` | `string` (cid) | Yes | CID of the bookmark item record that was written. |
| `uri` | `string` (at-uri) | Yes | AT URI of the bookmark item record that was written. |

## Raw Schema

```json
{
  "id": "app.bivri.bookmark.createItem",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "required": [
            "group",
            "subject"
          ],
          "properties": {
            "group": {
              "type": "string",
              "format": "at-uri",
              "description": "AT URI of an app.bivri.bookmark.group record in the authenticated member's repository."
            },
            "subject": {
              "ref": "com.atproto.repo.strongRef",
              "type": "ref",
              "description": "Strong reference to the artwork to bookmark."
            }
          }
        },
        "encoding": "application/json"
      },
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "uri",
            "cid"
          ],
          "properties": {
            "cid": {
              "type": "string",
              "format": "cid",
              "description": "CID of the bookmark item record that was written."
            },
            "uri": {
              "type": "string",
              "format": "at-uri",
              "description": "AT URI of the bookmark item record that was written."
            }
          }
        },
        "encoding": "application/json"
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "description": "Place an artwork in one of the authenticated member's bookmark groups."
}
```
