app.atomes.copy

A physical book the reader owns: one Copy of an Edition. A reader can own several Copies of the same Edition. Never Shared.

Details · record, key tid
Kindrecord
Record keytid
Authorityatomes.app
Indexed
cid bafyreiebchxvl66u6qmatp5dysimc7tgzjv2fstvb6i46zfgcflkoeumbu

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "bookDetails": {
      "properties": {
        "authors": {
          "items": {
            "maxGraphemes": 64,
            "maxLength": 640,
            "type": "string"
          },
          "maxLength": 20,
          "type": "array"
        },
        "series": {
          "description": "Series title, as typed. Not a Catalog identifier.",
          "maxGraphemes": 300,
          "maxLength": 3000,
          "type": "string"
        },
        "title": {
          "maxGraphemes": 300,
          "maxLength": 3000,
          "type": "string"
        },
        "volume": {
          "description": "Volume in the Series, as printed (e.g. '12', '12.5').",
          "maxGraphemes": 16,
          "maxLength": 64,
          "type": "string"
        }
      },
      "required": [
        "title"
      ],
      "type": "object"
    },
    "main": {
      "description": "A physical book the reader owns: one Copy of an Edition. A reader can own several Copies of the same Edition. Never Shared.",
      "key": "tid",
      "record": {
        "properties": {
          "acquiredAt": {
            "description": "When the reader got this Copy, if they said.",
            "format": "datetime",
            "type": "string"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "details": {
            "description": "Typed by the reader when the Catalog does not know this ISBN.",
            "ref": "#bookDetails",
            "type": "ref"
          },
          "isbn": {
            "description": "The Edition: ISBN-13, 13 digits, no hyphens.",
            "maxLength": 13,
            "minLength": 13,
            "type": "string"
          },
          "lentTo": {
            "description": "Who has this Copy now. Absent when the reader has it.",
            "maxGraphemes": 64,
            "maxLength": 640,
            "type": "string"
          },
          "works": {
            "description": "Catalog identifiers of the Works this Copy contains; several for an omnibus. 'isbn:<isbn13>' when the Catalog does not know the Work.",
            "items": {
              "maxLength": 128,
              "type": "string"
            },
            "maxLength": 50,
            "minLength": 1,
            "type": "array"
          }
        },
        "required": [
          "isbn",
          "works",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "app.atomes.copy",
  "lexicon": 1
}