File size: 24,208 Bytes
d6a617d
 
374dd6b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d6a617d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
374dd6b
 
 
 
d6a617d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
374dd6b
 
 
 
d6a617d
 
 
 
 
 
 
374dd6b
 
 
 
d6a617d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
374dd6b
 
 
 
d6a617d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1e56ba2
 
 
 
 
d6a617d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
374dd6b
 
 
 
1e56ba2
 
 
 
d6a617d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
374dd6b
 
 
 
 
 
 
d6a617d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1e56ba2
 
 
 
 
 
 
d6a617d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
374dd6b
 
 
 
1e56ba2
 
 
 
d6a617d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
374dd6b
 
 
 
 
 
 
d6a617d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1e56ba2
 
 
 
 
 
 
d6a617d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
374dd6b
 
 
 
1e56ba2
 
 
 
d6a617d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
374dd6b
 
 
 
 
 
 
d6a617d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1e56ba2
 
 
 
 
 
 
d6a617d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
{
  "$defs": {
    "Dimensions": {
      "additionalProperties": false,
      "description": "Physical size of the object, `dimensions = { height = 180, width = 115, unit = \"mm\" }`.\n\nThe object as it exists on a shelf, not the image of it — pixel size lives on\n[`Graphic`] and scanning resolution on [`Scan::ppi`]. Kept structured rather than left in\nthe `extent` string because \"18 cm.\" is a fact a catalogue can compare, sort and convert,\nand `\"7 p. ; 18 cm.\"` is not.\n\nThis is what a Wikidata `height`/`width` claim (P2048/P2049) is built from.\nWhole units, not floats. Catalogue dimensions are whole numbers — \"18 cm\", \"in-8\" — and\nmaking them integers keeps the record types comparable with `Eq` and keeps 18.0 from ever\nfailing to equal 18.000000000000004.",
      "properties": {
        "depth": {
          "description": "Thickness of a bound volume, where it is known.",
          "format": "int64",
          "type": "integer"
        },
        "height": {
          "format": "int64",
          "type": "integer"
        },
        "unit": {
          "description": "`mm` or `cm`. Always stated, because a bare number is not a measurement.",
          "type": "string"
        },
        "width": {
          "format": "int64",
          "type": "integer"
        }
      },
      "required": [
        "unit"
      ],
      "type": "object"
    },
    "Graphic": {
      "additionalProperties": false,
      "description": "One image file, or one page inside a multi-page container.",
      "properties": {
        "file": {
          "description": "Image or container path. Omitted means \"fall back to the resolved `scan.file`\".",
          "type": "string"
        },
        "height": {
          "description": "Pixel height of **this page**, not of the container.",
          "format": "int64",
          "type": "integer"
        },
        "mimetype": {
          "description": "Explicit media type; otherwise inferred from the extension.",
          "type": "string"
        },
        "note": {
          "type": "string"
        },
        "page": {
          "description": "1-based page index **inside** `file`. Omitted when `file` is a standalone image.",
          "format": "int64",
          "type": "integer"
        },
        "url": {
          "description": "Direct download URL for this exact image (the retired `fetch` field).",
          "type": "string"
        },
        "width": {
          "description": "Pixel width of **this page**, not of the container.",
          "format": "int64",
          "type": "integer"
        }
      },
      "type": "object"
    },
    "Holding": {
      "additionalProperties": false,
      "description": "Where the physical object lives. Inherits, merged key by key.",
      "properties": {
        "collection": {
          "description": "The named collection within the repository, e.g. `David Rumsey Map Collection`.",
          "type": "string"
        },
        "note": {
          "type": "string"
        },
        "repository": {
          "description": "Institution, e.g. `Bibliothèque cantonale et universitaire, Lausanne`.",
          "type": "string"
        },
        "shelfmark": {
          "description": "Call number. **Always a string**, never an int — leading zeros and letters occur.",
          "type": "string"
        },
        "wikidata": {
          "description": "Wikidata item for the holding institution, e.g. `Q193563` for the BnF.\n\nFeeds a `collection` claim (P195), which wants the institution's item rather than its\nname.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "Link": {
      "additionalProperties": false,
      "description": "Everything that is not the canonical `url`. Retires ad-hoc `index` and `fetch`.",
      "properties": {
        "note": {
          "type": "string"
        },
        "rel": {
          "description": "Relation type. Open vocabulary: `index`, `catalogue`, `viewer`, `download`, `iiif`,\n`thumbnail`, `about`, `worldcat`.",
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "url": {
          "type": "string"
        }
      },
      "required": [
        "rel",
        "url"
      ],
      "type": "object"
    },
    "Page": {
      "additionalProperties": false,
      "description": "One scanned side, carrying graphics. **Declared inline only** — there is never a page file.",
      "properties": {
        "dimensions": {
          "$ref": "#/$defs/Dimensions",
          "description": "Physical size of this leaf, where it differs from the object as a whole — an atlas\nsheet or a folding plate."
        },
        "graphic": {
          "description": "Zero or more. Zero is legal (a text-only page) and emits `W904`.\nThe **first** entry is the primary graphic: the one `.pN` resolves to and the one\nwhose pixel space zone coordinates are in.",
          "items": {
            "$ref": "#/$defs/Graphic"
          },
          "type": "array"
        },
        "id": {
          "description": "A stable id for this page in its own right, e.g. `hardy-v1-p027`, `turgot-sheet01`.\n\nOptional, and worth setting when the page is an artefact somebody would describe on\nits own: an atlas sheet, a plate, a folio of a manuscript. It is an *addition* to\n`<owner>.pN`, not a replacement — both resolve to the same page — and it exists so a\nWikidata item or a Commons upload can cite the sheet rather than \"page 4 of the\nthing that contains it\".\n\nMust be unique across the whole archive, and must not collide with a record id.",
          "type": "string"
        },
        "label": {
          "description": "The printed page label when it differs from `n`, e.g. roman `xxxvj`.\nPurely descriptive: never parsed, never used for addressing.",
          "type": "string"
        },
        "link": {
          "items": {
            "$ref": "#/$defs/Link"
          },
          "type": "array"
        },
        "n": {
          "description": "Page number **within its owning document**. This is what `.pN` matches.\nOmitted means \"continue the count\". May be `0` (Turgot) or negative.",
          "format": "int64",
          "type": "integer"
        },
        "note": {
          "type": "string"
        },
        "text": {
          "items": {
            "$ref": "#/$defs/Text"
          },
          "type": "array"
        },
        "title": {
          "type": "string"
        },
        "url": {
          "description": "The page's own landing page.",
          "type": "string"
        },
        "zone": {
          "items": {
            "$ref": "#/$defs/Zone"
          },
          "type": "array"
        }
      },
      "type": "object"
    },
    "PageRange": {
      "additionalProperties": false,
      "description": "A terse page range, `pages = { from = 13, to = 16 }`.",
      "properties": {
        "from": {
          "format": "int64",
          "type": "integer"
        },
        "to": {
          "format": "int64",
          "type": "integer"
        }
      },
      "required": [
        "from",
        "to"
      ],
      "type": "object"
    },
    "Resp": {
      "additionalProperties": false,
      "description": "A statement of responsibility. Replaces the unparseable `author` string.",
      "properties": {
        "name": {
          "description": "Person or corporate name as written.",
          "type": "string"
        },
        "note": {
          "description": "Qualifications such as \"attributed\".",
          "type": "string"
        },
        "role": {
          "$ref": "#/$defs/Roles",
          "description": "One role or several. Both spellings are legal."
        },
        "wikidata": {
          "description": "Wikidata item for this person or body, e.g. `Q3484827`.\n\nA name string is not an identity — there are three 18th-century Parisian booksellers\ncalled Hardy — and a Wikidata `author` claim (P50) needs the item, not the string.",
          "type": "string"
        }
      },
      "required": [
        "name"
      ],
      "type": "object"
    },
    "Rights": {
      "additionalProperties": false,
      "description": "Rights status. Inherits, merged key by key.",
      "properties": {
        "attribution": {
          "description": "Credit line, e.g. `Digitised by Google Books.`",
          "type": "string"
        },
        "note": {
          "type": "string"
        },
        "scan": {
          "description": "Rights status of the digitisation itself, distinct from the work.",
          "type": "string"
        },
        "work": {
          "description": "Rights status of the intellectual work, e.g. `PD-old-100-expired`.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "Roles": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      ],
      "description": "`role = \"engraver\"` or `role = [\"surveyor\", \"draughtsman\"]`."
    },
    "Scan": {
      "additionalProperties": false,
      "description": "The digitisation event and its container file.\n\nThis is the one table with **selective** key inheritance: `file`, `by` and `url` inherit;\n`count` and `note` do not. See [`crate::load`].",
      "properties": {
        "by": {
          "description": "Digitising agent, e.g. `Google Books`. Inherits.",
          "type": "string"
        },
        "count": {
          "description": "Number of pages in the container. Used by check 5. Does not inherit.",
          "format": "int64",
          "type": "integer"
        },
        "file": {
          "description": "Path to the container, relative to the directory of the file that **declared** it.\nInherits.",
          "type": "string"
        },
        "note": {
          "description": "Caveats. Does not inherit.",
          "type": "string"
        },
        "ppi": {
          "description": "Resolution the scan was made at, in pixels per inch. Inherits.\n\nStated rather than inferred: `render` otherwise has to guess a page's native\nresolution from the largest image embedded in it.",
          "format": "int64",
          "type": "integer"
        },
        "url": {
          "description": "Landing page for the digitisation, distinct from top-level `url`. Inherits.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "Text": {
      "additionalProperties": false,
      "description": "OCR or transcription. Never inline content.",
      "properties": {
        "by": {
          "description": "Producing agent and version, e.g. `tesseract 5.3 fra`.",
          "type": "string"
        },
        "file": {
          "description": "Path to the text file, resolved against the declaring file's directory.",
          "type": "string"
        },
        "kind": {
          "description": "`ocr` or `transcription`. Defaults to `ocr` when omitted.",
          "type": "string"
        },
        "lang": {
          "type": "string"
        },
        "note": {
          "type": "string"
        }
      },
      "required": [
        "file"
      ],
      "type": "object"
    },
    "Zone": {
      "additionalProperties": false,
      "description": "A rectangle on a page, in the pixel space of that page's **primary graphic**.\n\nZones are not addressable and not citable; nothing in the address grammar reaches them.",
      "properties": {
        "id": {
          "description": "Page-local label. Not a global id, not addressable.",
          "type": "string"
        },
        "label": {
          "type": "string"
        },
        "lrx": {
          "description": "Lower-right x, exclusive.",
          "format": "int64",
          "type": "integer"
        },
        "lry": {
          "description": "Lower-right y, exclusive.",
          "format": "int64",
          "type": "integer"
        },
        "note": {
          "type": "string"
        },
        "ulx": {
          "description": "Upper-left x, pixels, origin top-left.",
          "format": "int64",
          "type": "integer"
        },
        "uly": {
          "description": "Upper-left y.",
          "format": "int64",
          "type": "integer"
        }
      },
      "required": [
        "ulx",
        "uly",
        "lrx",
        "lry"
      ],
      "type": "object"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "description": "One TOML file in the primary source and scan archive. Generated from the Rust types in tools/src/model.rs by `scans schema` - do not edit by hand.",
  "oneOf": [
    {
      "additionalProperties": false,
      "description": "The publication or work, independent of any copy.",
      "properties": {
        "country": {
          "description": "Does not inherit.",
          "type": "string"
        },
        "covers": {
          "description": "EDTF interval. The span this source covers. Does not inherit.\n\nThis is where the legacy `held = \"1789\"` field lands.",
          "type": "string"
        },
        "date": {
          "description": "EDTF. Date of the work, for single-work sources.",
          "type": "string"
        },
        "dimensions": {
          "$ref": "#/$defs/Dimensions",
          "description": "Physical size of the object. Does not inherit."
        },
        "extent": {
          "description": "Bibliographic collation, `\"7 p. ; 18 cm.\"`. Does not inherit.",
          "type": "string"
        },
        "founded": {
          "description": "EDTF. Date the publication began.",
          "type": "string"
        },
        "frequency": {
          "description": "`daily`, `weekly`, … Free string.",
          "type": "string"
        },
        "holding": {
          "$ref": "#/$defs/Holding"
        },
        "id": {
          "description": "Stable flat id. Defaults to the filename stem.",
          "type": "string"
        },
        "identifier": {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        },
        "language": {
          "description": "BCP-47 / ISO-639-1 code. Inherits.",
          "type": "string"
        },
        "layer": {
          "const": "source",
          "type": "string"
        },
        "link": {
          "items": {
            "$ref": "#/$defs/Link"
          },
          "type": "array"
        },
        "material": {
          "description": "What it is made of: `paper`, `laid paper`, `parchment`, `vellum`. Inherits.\n\nA list because a single object can be more than one — a paper text block in a vellum\nbinding. Feeds a Wikidata `made from material` claim (P186).",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "note": {
          "type": "string"
        },
        "of": {
          "description": "Id of an ancestor. A source may be `of` another source (e.g. a series).",
          "type": "string"
        },
        "page": {
          "description": "Legal on a source when copy and document are collapsed in (Turgot: 21 pages).",
          "items": {
            "$ref": "#/$defs/Page"
          },
          "type": "array"
        },
        "pages": {
          "$ref": "#/$defs/PageRange",
          "description": "Terse page range. Legal but unusual on a source."
        },
        "place": {
          "description": "Place of publication. Inherits.",
          "type": "string"
        },
        "resp": {
          "description": "Inherits wholesale. `Option` rather than a bare `Vec` because `resp = []` is the\ndocumented way to *clear* an inherited value, and that must be distinguishable from\n\"not declared here\".",
          "items": {
            "$ref": "#/$defs/Resp"
          },
          "type": "array"
        },
        "rights": {
          "$ref": "#/$defs/Rights"
        },
        "scan": {
          "$ref": "#/$defs/Scan",
          "description": "Legal on a source when the copy layer is collapsed in (Turgot, Verniquet)."
        },
        "short_title": {
          "type": "string"
        },
        "subject": {
          "description": "Subject headings as the cataloguer wrote them. Does not inherit.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "text": {
          "items": {
            "$ref": "#/$defs/Text"
          },
          "type": "array"
        },
        "title": {
          "type": "string"
        },
        "type": {
          "description": "Genre: `newspaper`, `map`, `diary`, … Open vocabulary, not validated.",
          "type": "string"
        },
        "url": {
          "description": "Canonical landing page. Does not inherit.",
          "type": "string"
        }
      },
      "required": [
        "layer",
        "title"
      ],
      "type": "object"
    },
    {
      "additionalProperties": false,
      "description": "One physical object that was digitised.\n\nThe inner type is named `CopyRecord` rather than `Copy` so it cannot be confused with\nthe `std::marker::Copy` trait in type position. The serde tag is taken from the\n*variant* name, so the TOML still reads `layer = \"copy\"`.",
      "properties": {
        "country": {
          "type": "string"
        },
        "covers": {
          "description": "EDTF interval. The date span of material bound in this object. Used by check 6.",
          "type": "string"
        },
        "date": {
          "description": "EDTF. Date of the object itself, if meaningful.",
          "type": "string"
        },
        "dimensions": {
          "$ref": "#/$defs/Dimensions",
          "description": "Physical size of the object. Does not inherit."
        },
        "extent": {
          "description": "Bibliographic collation, `\"7 p. ; 18 cm.\"`. Does not inherit.",
          "type": "string"
        },
        "holding": {
          "$ref": "#/$defs/Holding",
          "description": "The normal home for `holding`."
        },
        "id": {
          "type": "string"
        },
        "identifier": {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        },
        "language": {
          "type": "string"
        },
        "layer": {
          "const": "copy",
          "type": "string"
        },
        "link": {
          "items": {
            "$ref": "#/$defs/Link"
          },
          "type": "array"
        },
        "material": {
          "description": "What it is made of: `paper`, `laid paper`, `parchment`, `vellum`. Inherits.\n\nA list because a single object can be more than one — a paper text block in a vellum\nbinding. Feeds a Wikidata `made from material` claim (P186).",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "note": {
          "type": "string"
        },
        "of": {
          "description": "Id of the source (or another copy). Absent = orphan copy; legal, warns `W107`.",
          "type": "string"
        },
        "page": {
          "items": {
            "$ref": "#/$defs/Page"
          },
          "type": "array"
        },
        "place": {
          "type": "string"
        },
        "resp": {
          "items": {
            "$ref": "#/$defs/Resp"
          },
          "type": "array"
        },
        "rights": {
          "$ref": "#/$defs/Rights"
        },
        "scan": {
          "$ref": "#/$defs/Scan",
          "description": "The normal home for `scan`."
        },
        "short_title": {
          "type": "string"
        },
        "subject": {
          "description": "Subject headings as the cataloguer wrote them. Does not inherit.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "text": {
          "items": {
            "$ref": "#/$defs/Text"
          },
          "type": "array"
        },
        "title": {
          "type": "string"
        },
        "type": {
          "description": "Physical genre: `volume`, `roll`, `folder`. Open vocabulary.",
          "type": "string"
        },
        "url": {
          "type": "string"
        }
      },
      "required": [
        "layer",
        "title"
      ],
      "type": "object"
    },
    {
      "additionalProperties": false,
      "description": "The citable intellectual unit.",
      "properties": {
        "country": {
          "type": "string"
        },
        "covers": {
          "description": "EDTF interval, for documents spanning a range.",
          "type": "string"
        },
        "date": {
          "description": "EDTF. Used by check 6.",
          "type": "string"
        },
        "dimensions": {
          "$ref": "#/$defs/Dimensions",
          "description": "Physical size of the object. Does not inherit."
        },
        "extent": {
          "description": "Bibliographic collation, `\"7 p. ; 18 cm.\"`. Does not inherit.",
          "type": "string"
        },
        "holding": {
          "$ref": "#/$defs/Holding"
        },
        "id": {
          "type": "string"
        },
        "identifier": {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        },
        "language": {
          "description": "Inheritable scalar; present here so a document can override an ancestor's value.",
          "type": "string"
        },
        "layer": {
          "const": "document",
          "type": "string"
        },
        "link": {
          "items": {
            "$ref": "#/$defs/Link"
          },
          "type": "array"
        },
        "material": {
          "description": "What it is made of: `paper`, `laid paper`, `parchment`, `vellum`. Inherits.\n\nA list because a single object can be more than one — a paper text block in a vellum\nbinding. Feeds a Wikidata `made from material` claim (P186).",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "no": {
          "description": "Issue/serial number. Used by check 10.",
          "format": "int64",
          "type": "integer"
        },
        "note": {
          "type": "string"
        },
        "of": {
          "description": "Id of **any** ancestor — copy, source, or another document.\nAbsent = standalone document (the one-off engraving case).",
          "type": "string"
        },
        "page": {
          "items": {
            "$ref": "#/$defs/Page"
          },
          "type": "array"
        },
        "pages": {
          "$ref": "#/$defs/PageRange",
          "description": "Terse page range."
        },
        "place": {
          "description": "Inheritable scalar; present here so a document can override an ancestor's value.",
          "type": "string"
        },
        "resp": {
          "items": {
            "$ref": "#/$defs/Resp"
          },
          "type": "array"
        },
        "rights": {
          "$ref": "#/$defs/Rights"
        },
        "scan": {
          "$ref": "#/$defs/Scan"
        },
        "short_title": {
          "type": "string"
        },
        "subject": {
          "description": "Subject headings as the cataloguer wrote them. Does not inherit.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "supplement_to": {
          "description": "Id of another **document**. Check 8.",
          "type": "string"
        },
        "text": {
          "items": {
            "$ref": "#/$defs/Text"
          },
          "type": "array"
        },
        "title": {
          "type": "string"
        },
        "type": {
          "description": "`issue`, `supplement`, `sheet`, `letter`, `play`, `engraving`, … Open vocabulary.",
          "type": "string"
        },
        "url": {
          "type": "string"
        }
      },
      "required": [
        "layer"
      ],
      "type": "object"
    }
  ],
  "title": "Scan archive record"
}