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