linked-rolls 0.74.0 → 0.76.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/README.md +62 -26
  2. package/lib/collation/Collation.d.ts +12 -42
  3. package/lib/collation/Collation.js +15 -48
  4. package/lib/filiation/adoption.d.ts +23 -4
  5. package/lib/filiation/adoption.js +81 -23
  6. package/lib/filiation/edits.d.ts +35 -19
  7. package/lib/filiation/edits.js +68 -34
  8. package/lib/filiation/index.d.ts +2 -1
  9. package/lib/filiation/index.js +2 -1
  10. package/lib/filiation/record.d.ts +49 -0
  11. package/lib/filiation/record.js +49 -0
  12. package/lib/index.d.ts +1 -0
  13. package/lib/index.js +1 -0
  14. package/lib/io/asJsonLd.js +5 -1
  15. package/lib/io/importJsonLd.js +42 -4
  16. package/lib/io/migrate.d.ts +7 -0
  17. package/lib/io/migrate.js +196 -2
  18. package/lib/model/Agent.d.ts +3 -1
  19. package/lib/model/Assumption.d.ts +8 -1
  20. package/lib/model/Assumption.js +2 -1
  21. package/lib/model/Edit.d.ts +76 -17
  22. package/lib/model/Edit.js +52 -3
  23. package/lib/model/Edition.d.ts +32 -3
  24. package/lib/model/RollCopy.js +1 -1
  25. package/lib/model/Version.d.ts +3 -13
  26. package/lib/model/Version.js +7 -2
  27. package/lib/ops/collation.d.ts +8 -4
  28. package/lib/ops/collation.js +40 -23
  29. package/lib/ops/copies.js +1 -2
  30. package/lib/ops/draft.d.ts +1 -9
  31. package/lib/ops/draft.js +0 -12
  32. package/lib/ops/edits.d.ts +20 -3
  33. package/lib/ops/edits.js +36 -15
  34. package/lib/ops/index.d.ts +1 -1
  35. package/lib/ops/index.js +1 -1
  36. package/lib/ops/versions.d.ts +3 -2
  37. package/lib/ops/versions.js +4 -5
  38. package/lib/schema.json +60 -64
  39. package/lib/software.d.ts +12 -0
  40. package/lib/software.js +10 -0
  41. package/lib/spec/context.json +8 -5
  42. package/package.json +1 -1
package/lib/schema.json CHANGED
@@ -340,7 +340,7 @@
340
340
  {
341
341
  "properties": {
342
342
  "@annotation": {
343
- "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.",
343
+ "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.\n\nA statement that carries none is stated plainly, and what a program concluded is stated so too: an edition asserts its stemma and its edits, as a printed edition does, and its creation names the principles and the release they were found by (`EditionCreation`). A belief is kept for what the editor doubts.",
344
344
  "properties": {
345
345
  "belief": {
346
346
  "$ref": "#/definitions/Belief",
@@ -373,7 +373,7 @@
373
373
  {
374
374
  "properties": {
375
375
  "@annotation": {
376
- "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.",
376
+ "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.\n\nA statement that carries none is stated plainly, and what a program concluded is stated so too: an edition asserts its stemma and its edits, as a printed edition does, and its creation names the principles and the release they were found by (`EditionCreation`). A belief is kept for what the editor doubts.",
377
377
  "properties": {
378
378
  "belief": {
379
379
  "$ref": "#/definitions/Belief",
@@ -412,7 +412,7 @@
412
412
  {
413
413
  "properties": {
414
414
  "@annotation": {
415
- "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.",
415
+ "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.\n\nA statement that carries none is stated plainly, and what a program concluded is stated so too: an edition asserts its stemma and its edits, as a printed edition does, and its creation names the principles and the release they were found by (`EditionCreation`). A belief is kept for what the editor doubts.",
416
416
  "properties": {
417
417
  "belief": {
418
418
  "$ref": "#/definitions/Belief",
@@ -456,7 +456,7 @@
456
456
  "description": "A derivation names the version another one was derived from, together with the tolerance the two were collated at. How precisely the copies put a symbol depends on what they are and on how their features were obtained, so the tolerance can differ from derivation to derivation.",
457
457
  "properties": {
458
458
  "@annotation": {
459
- "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.",
459
+ "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.\n\nA statement that carries none is stated plainly, and what a program concluded is stated so too: an edition asserts its stemma and its edits, as a printed edition does, and its creation names the principles and the release they were found by (`EditionCreation`). A belief is kept for what the editor doubts.",
460
460
  "properties": {
461
461
  "belief": {
462
462
  "$ref": "#/definitions/Belief",
@@ -498,10 +498,10 @@
498
498
  "type": "string"
499
499
  },
500
500
  "Edit": {
501
- "description": "A set of edits transforms a version of a roll into another version. Edits insert or delete symbols, or both (= replace). Edits may be motivated by a given set of reasons, e.g. to add an additional accent or to correct an error. If an edit is the interpretation of a metamark, such as a pencil mark, this should be made explicit using a meaning comprehension on the `@annotation` field. An edit states no date. That it ended no later than the act that made a feature carrying a symbol it inserts, a reasoner derives with the axioms of reo.ttl; which of those dates bounds it closest is for a query to pick.",
501
+ "description": "A set of edits transforms a version of a roll into another version. Edits insert or delete symbols, or both (= replace). What kind of change an edit is follows from its motivation (`kindOfChange`). If an edit is the interpretation of a metamark, such as a pencil mark, this should be made explicit using a meaning comprehension on the `@annotation` field. An edit states no date. That it ended no later than the act that made a feature carrying a symbol it inserts, a reasoner derives with the axioms of reo.ttl; which of those dates bounds it closest is for a query to pick.",
502
502
  "properties": {
503
503
  "@annotation": {
504
- "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.",
504
+ "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.\n\nA statement that carries none is stated plainly, and what a program concluded is stated so too: an edition asserts its stemma and its edits, as a printed edition does, and its creation names the principles and the release they were found by (`EditionCreation`). A belief is kept for what the editor doubts.",
505
505
  "properties": {
506
506
  "belief": {
507
507
  "$ref": "#/definitions/Belief",
@@ -527,11 +527,6 @@
527
527
  "type": "array",
528
528
  "ontology": "reo:removed"
529
529
  },
530
- "editType": {
531
- "$ref": "#/definitions/EditType",
532
- "description": "The type of editorial change (e.g. 'correct-error', 'additional-accent').",
533
- "ontology": "crm:P2 has type"
534
- },
535
530
  "insert": {
536
531
  "description": "The symbols to be inserted by this edit.",
537
532
  "items": {
@@ -541,7 +536,7 @@
541
536
  "ontology": "reo:added"
542
537
  },
543
538
  "motivation": {
544
- "description": "A textual description of the motivation for this edit, referencing a motivation defined in the version's motivations list.",
539
+ "description": "Why the edit was made: one of the edition's motivations, by id, or one the vocabulary publishes, by IRI (`musicalChange`, `technicalChange`). An edit of a version that derives from none states none.",
545
540
  "type": "string",
546
541
  "ontology": "crm:P17 was motivated by"
547
542
  },
@@ -563,20 +558,6 @@
563
558
  "type": "object",
564
559
  "ontology": "reo:Edit"
565
560
  },
566
- "EditType": {
567
- "description": "The type of editorial change applied to a symbol or set of symbols. Classifies the nature of the edit, e.g. whether it corrects an error, adds an accent, shifts a note, or shortens/prolongs a perforation.",
568
- "enum": [
569
- "additional-accent",
570
- "add-redundancy",
571
- "remove-redundancy",
572
- "recoding",
573
- "shift",
574
- "correct-error",
575
- "shorten",
576
- "prolong"
577
- ],
578
- "type": "string"
579
- },
580
561
  "Edition": {
581
562
  "description": "Describes the specific digital edition of a piano roll.",
582
563
  "properties": {
@@ -601,6 +582,13 @@
601
582
  "type": "string",
602
583
  "ontology": "dcterms:license"
603
584
  },
585
+ "motivations": {
586
+ "description": "The editor's motivations, each a reason for musical changes in words, stated once and named by the edits of any version (`Edit.motivation`). The motivations the vocabulary publishes are named by IRI and not stated here (`musicalChange`, `technicalChange`).",
587
+ "items": {
588
+ "$ref": "#/definitions/Motivation"
589
+ },
590
+ "type": "array"
591
+ },
604
592
  "referenceCopy": {
605
593
  "description": "The copy whose millimetres are the edition's axis, by id: every place the edition gives along the roll is a place on this copy's paper, counted from where its scan begins, and every other copy is aligned onto it. Choosing it is the one editorial decision the alignment leaves; a copy scanned whole and without tears serves best, since its places are what notes and readers cite. Left out, it is the first copy with features that is not aligned (`referenceCopyOf`).",
606
594
  "type": "string",
@@ -648,7 +636,7 @@
648
636
  "ontology": "lrmoo:F2 Expression"
649
637
  },
650
638
  "EditionCreation": {
651
- "description": "This type describes the creation of an edition, i.e. the editor, publisher, and publication date.",
639
+ "description": "This type describes the creation of an edition: the editors, publisher and publication date, the editorial principles the edition follows, and the programs it was made with.",
652
640
  "properties": {
653
641
  "editors": {
654
642
  "description": "The persons who prepared the edition, each with the part they took in the editorial work. An edition written before this field existed carries none.",
@@ -658,6 +646,14 @@
658
646
  "type": "array",
659
647
  "ontology": "crm:P14 carried out by"
660
648
  },
649
+ "principles": {
650
+ "description": "The editorial principles the edition follows, by IRI: the published rules its stemma and its edits rest on, whether the editor applied them or a program did, such as that the same addition at the same place is not made twice independently (`stemmaRules`, `editRules`). Adopting a proposal names those it follows. An edition that names none leaves it out.",
651
+ "items": {
652
+ "type": "string"
653
+ },
654
+ "type": "array",
655
+ "ontology": "crm:P33 used specific technique"
656
+ },
661
657
  "publicationDate": {
662
658
  "description": "The date on which the edition was published: where it states a version, the date of that version.",
663
659
  "format": "date",
@@ -668,6 +664,14 @@
668
664
  "$ref": "#/definitions/Person",
669
665
  "description": "The person or institution responsible for publishing the edition.",
670
666
  "ontology": "crm:P14 carried out by"
667
+ },
668
+ "software": {
669
+ "description": "The programs the edition was made with, each with its release: the release of this library that found its stemma and grouped its edits, which finds them again with the defaults it has. Adopting a proposal names it, and saving the edition does not, so that the release named is the one that found what the edition states.",
670
+ "items": {
671
+ "$ref": "#/definitions/Software"
672
+ },
673
+ "type": "array",
674
+ "ontology": "crm:P16 used specific object"
671
675
  }
672
676
  },
673
677
  "required": [
@@ -1381,7 +1385,7 @@
1381
1385
  "type": "string"
1382
1386
  },
1383
1387
  "Motivation": {
1384
- "description": "A motivation provides a reason or rationale for an editorial change. Motivations are defined at the version level and referenced by edits.",
1388
+ "description": "A reason for a musical change, in the editor's words. The edition states its motivations once (`Edition.motivations`), and an edit of any version names the one it was made for. Every change of a version that derives from another states a motivation: a program states whether it is musical or technical (`musicalChange`, `technicalChange`), and the editor puts a reason of their own in place of a musical one. Speculating about why a change was made is kept to the musical changes.",
1385
1389
  "properties": {
1386
1390
  "note": {
1387
1391
  "description": "A free-text note providing additional context.",
@@ -1710,7 +1714,7 @@
1710
1714
  {
1711
1715
  "properties": {
1712
1716
  "@annotation": {
1713
- "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.",
1717
+ "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.\n\nA statement that carries none is stated plainly, and what a program concluded is stated so too: an edition asserts its stemma and its edits, as a printed edition does, and its creation names the principles and the release they were found by (`EditionCreation`). A belief is kept for what the editor doubts.",
1714
1718
  "properties": {
1715
1719
  "belief": {
1716
1720
  "$ref": "#/definitions/Belief",
@@ -1748,7 +1752,7 @@
1748
1752
  {
1749
1753
  "properties": {
1750
1754
  "@annotation": {
1751
- "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.",
1755
+ "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.\n\nA statement that carries none is stated plainly, and what a program concluded is stated so too: an edition asserts its stemma and its edits, as a printed edition does, and its creation names the principles and the release they were found by (`EditionCreation`). A belief is kept for what the editor doubts.",
1752
1756
  "properties": {
1753
1757
  "belief": {
1754
1758
  "$ref": "#/definitions/Belief",
@@ -1796,7 +1800,7 @@
1796
1800
  {
1797
1801
  "properties": {
1798
1802
  "@annotation": {
1799
- "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.",
1803
+ "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.\n\nA statement that carries none is stated plainly, and what a program concluded is stated so too: an edition asserts its stemma and its edits, as a printed edition does, and its creation names the principles and the release they were found by (`EditionCreation`). A belief is kept for what the editor doubts.",
1800
1804
  "properties": {
1801
1805
  "belief": {
1802
1806
  "$ref": "#/definitions/Belief",
@@ -1864,7 +1868,7 @@
1864
1868
  {
1865
1869
  "properties": {
1866
1870
  "@annotation": {
1867
- "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.",
1871
+ "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.\n\nA statement that carries none is stated plainly, and what a program concluded is stated so too: an edition asserts its stemma and its edits, as a printed edition does, and its creation names the principles and the release they were found by (`EditionCreation`). A belief is kept for what the editor doubts.",
1868
1872
  "properties": {
1869
1873
  "belief": {
1870
1874
  "$ref": "#/definitions/Belief",
@@ -1903,7 +1907,7 @@
1903
1907
  {
1904
1908
  "properties": {
1905
1909
  "@annotation": {
1906
- "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.",
1910
+ "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.\n\nA statement that carries none is stated plainly, and what a program concluded is stated so too: an edition asserts its stemma and its edits, as a printed edition does, and its creation names the principles and the release they were found by (`EditionCreation`). A belief is kept for what the editor doubts.",
1907
1911
  "properties": {
1908
1912
  "belief": {
1909
1913
  "$ref": "#/definitions/Belief",
@@ -1946,7 +1950,7 @@
1946
1950
  "description": "An object assumption wraps a complex object with an optional annotation. Used for structured values (e.g. persons, conditions) whose properties may be uncertain.",
1947
1951
  "properties": {
1948
1952
  "@annotation": {
1949
- "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.",
1953
+ "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.\n\nA statement that carries none is stated plainly, and what a program concluded is stated so too: an edition asserts its stemma and its edits, as a printed edition does, and its creation names the principles and the release they were found by (`EditionCreation`). A belief is kept for what the editor doubts.",
1950
1954
  "properties": {
1951
1955
  "belief": {
1952
1956
  "$ref": "#/definitions/Belief",
@@ -1996,7 +2000,7 @@
1996
2000
  "description": "An object assumption wraps a complex object with an optional annotation. Used for structured values (e.g. persons, conditions) whose properties may be uncertain.",
1997
2001
  "properties": {
1998
2002
  "@annotation": {
1999
- "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.",
2003
+ "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.\n\nA statement that carries none is stated plainly, and what a program concluded is stated so too: an edition asserts its stemma and its edits, as a printed edition does, and its creation names the principles and the release they were found by (`EditionCreation`). A belief is kept for what the editor doubts.",
2000
2004
  "properties": {
2001
2005
  "belief": {
2002
2006
  "$ref": "#/definitions/Belief",
@@ -2050,7 +2054,7 @@
2050
2054
  "description": "An object assumption wraps a complex object with an optional annotation. Used for structured values (e.g. persons, conditions) whose properties may be uncertain.",
2051
2055
  "properties": {
2052
2056
  "@annotation": {
2053
- "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.",
2057
+ "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.\n\nA statement that carries none is stated plainly, and what a program concluded is stated so too: an edition asserts its stemma and its edits, as a printed edition does, and its creation names the principles and the release they were found by (`EditionCreation`). A belief is kept for what the editor doubts.",
2054
2058
  "properties": {
2055
2059
  "belief": {
2056
2060
  "$ref": "#/definitions/Belief",
@@ -2105,7 +2109,7 @@
2105
2109
  "description": "An object assumption wraps a complex object with an optional annotation. Used for structured values (e.g. persons, conditions) whose properties may be uncertain.",
2106
2110
  "properties": {
2107
2111
  "@annotation": {
2108
- "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.",
2112
+ "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.\n\nA statement that carries none is stated plainly, and what a program concluded is stated so too: an edition asserts its stemma and its edits, as a printed edition does, and its creation names the principles and the release they were found by (`EditionCreation`). A belief is kept for what the editor doubts.",
2109
2113
  "properties": {
2110
2114
  "belief": {
2111
2115
  "$ref": "#/definitions/Belief",
@@ -2151,7 +2155,7 @@
2151
2155
  {
2152
2156
  "properties": {
2153
2157
  "@annotation": {
2154
- "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.",
2158
+ "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.\n\nA statement that carries none is stated plainly, and what a program concluded is stated so too: an edition asserts its stemma and its edits, as a printed edition does, and its creation names the principles and the release they were found by (`EditionCreation`). A belief is kept for what the editor doubts.",
2155
2159
  "properties": {
2156
2160
  "belief": {
2157
2161
  "$ref": "#/definitions/Belief",
@@ -2198,7 +2202,7 @@
2198
2202
  {
2199
2203
  "properties": {
2200
2204
  "@annotation": {
2201
- "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.",
2205
+ "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.\n\nA statement that carries none is stated plainly, and what a program concluded is stated so too: an edition asserts its stemma and its edits, as a printed edition does, and its creation names the principles and the release they were found by (`EditionCreation`). A belief is kept for what the editor doubts.",
2202
2206
  "properties": {
2203
2207
  "belief": {
2204
2208
  "$ref": "#/definitions/Belief",
@@ -2250,7 +2254,7 @@
2250
2254
  "description": "An object assumption wraps a complex object with an optional annotation. Used for structured values (e.g. persons, conditions) whose properties may be uncertain.",
2251
2255
  "properties": {
2252
2256
  "@annotation": {
2253
- "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.",
2257
+ "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.\n\nA statement that carries none is stated plainly, and what a program concluded is stated so too: an edition asserts its stemma and its edits, as a printed edition does, and its creation names the principles and the release they were found by (`EditionCreation`). A belief is kept for what the editor doubts.",
2254
2258
  "properties": {
2255
2259
  "belief": {
2256
2260
  "$ref": "#/definitions/Belief",
@@ -2289,7 +2293,7 @@
2289
2293
  "description": "An object assumption wraps a complex object with an optional annotation. Used for structured values (e.g. persons, conditions) whose properties may be uncertain.",
2290
2294
  "properties": {
2291
2295
  "@annotation": {
2292
- "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.",
2296
+ "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.\n\nA statement that carries none is stated plainly, and what a program concluded is stated so too: an edition asserts its stemma and its edits, as a printed edition does, and its creation names the principles and the release they were found by (`EditionCreation`). A belief is kept for what the editor doubts.",
2293
2297
  "properties": {
2294
2298
  "belief": {
2295
2299
  "$ref": "#/definitions/Belief",
@@ -2331,7 +2335,7 @@
2331
2335
  "description": "An object assumption wraps a complex object with an optional annotation. Used for structured values (e.g. persons, conditions) whose properties may be uncertain.",
2332
2336
  "properties": {
2333
2337
  "@annotation": {
2334
- "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.",
2338
+ "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.\n\nA statement that carries none is stated plainly, and what a program concluded is stated so too: an edition asserts its stemma and its edits, as a printed edition does, and its creation names the principles and the release they were found by (`EditionCreation`). A belief is kept for what the editor doubts.",
2335
2339
  "properties": {
2336
2340
  "belief": {
2337
2341
  "$ref": "#/definitions/Belief",
@@ -2370,7 +2374,7 @@
2370
2374
  "description": "An object assumption wraps a complex object with an optional annotation. Used for structured values (e.g. persons, conditions) whose properties may be uncertain.",
2371
2375
  "properties": {
2372
2376
  "@annotation": {
2373
- "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.",
2377
+ "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.\n\nA statement that carries none is stated plainly, and what a program concluded is stated so too: an edition asserts its stemma and its edits, as a printed edition does, and its creation names the principles and the release they were found by (`EditionCreation`). A belief is kept for what the editor doubts.",
2374
2378
  "properties": {
2375
2379
  "belief": {
2376
2380
  "$ref": "#/definitions/Belief",
@@ -2409,7 +2413,7 @@
2409
2413
  "description": "An object assumption wraps a complex object with an optional annotation. Used for structured values (e.g. persons, conditions) whose properties may be uncertain.",
2410
2414
  "properties": {
2411
2415
  "@annotation": {
2412
- "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.",
2416
+ "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.\n\nA statement that carries none is stated plainly, and what a program concluded is stated so too: an edition asserts its stemma and its edits, as a printed edition does, and its creation names the principles and the release they were found by (`EditionCreation`). A belief is kept for what the editor doubts.",
2413
2417
  "properties": {
2414
2418
  "belief": {
2415
2419
  "$ref": "#/definitions/Belief",
@@ -2451,7 +2455,7 @@
2451
2455
  "description": "An object assumption wraps a complex object with an optional annotation. Used for structured values (e.g. persons, conditions) whose properties may be uncertain.",
2452
2456
  "properties": {
2453
2457
  "@annotation": {
2454
- "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.",
2458
+ "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.\n\nA statement that carries none is stated plainly, and what a program concluded is stated so too: an edition asserts its stemma and its edits, as a printed edition does, and its creation names the principles and the release they were found by (`EditionCreation`). A belief is kept for what the editor doubts.",
2455
2459
  "properties": {
2456
2460
  "belief": {
2457
2461
  "$ref": "#/definitions/Belief",
@@ -2483,7 +2487,7 @@
2483
2487
  "description": "An object assumption wraps a complex object with an optional annotation. Used for structured values (e.g. persons, conditions) whose properties may be uncertain.",
2484
2488
  "properties": {
2485
2489
  "@annotation": {
2486
- "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.",
2490
+ "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.\n\nA statement that carries none is stated plainly, and what a program concluded is stated so too: an edition asserts its stemma and its edits, as a printed edition does, and its creation names the principles and the release they were found by (`EditionCreation`). A belief is kept for what the editor doubts.",
2487
2491
  "properties": {
2488
2492
  "belief": {
2489
2493
  "$ref": "#/definitions/Belief",
@@ -2532,7 +2536,7 @@
2532
2536
  "description": "An object assumption wraps a complex object with an optional annotation. Used for structured values (e.g. persons, conditions) whose properties may be uncertain.",
2533
2537
  "properties": {
2534
2538
  "@annotation": {
2535
- "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.",
2539
+ "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.\n\nA statement that carries none is stated plainly, and what a program concluded is stated so too: an edition asserts its stemma and its edits, as a printed edition does, and its creation names the principles and the release they were found by (`EditionCreation`). A belief is kept for what the editor doubts.",
2536
2540
  "properties": {
2537
2541
  "belief": {
2538
2542
  "$ref": "#/definitions/Belief",
@@ -2569,7 +2573,7 @@
2569
2573
  "description": "An object assumption wraps a complex object with an optional annotation. Used for structured values (e.g. persons, conditions) whose properties may be uncertain.",
2570
2574
  "properties": {
2571
2575
  "@annotation": {
2572
- "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.",
2576
+ "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.\n\nA statement that carries none is stated plainly, and what a program concluded is stated so too: an edition asserts its stemma and its edits, as a printed edition does, and its creation names the principles and the release they were found by (`EditionCreation`). A belief is kept for what the editor doubts.",
2573
2577
  "properties": {
2574
2578
  "belief": {
2575
2579
  "$ref": "#/definitions/Belief",
@@ -2609,7 +2613,7 @@
2609
2613
  "description": "An object assumption wraps a complex object with an optional annotation. Used for structured values (e.g. persons, conditions) whose properties may be uncertain.",
2610
2614
  "properties": {
2611
2615
  "@annotation": {
2612
- "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.",
2616
+ "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.\n\nA statement that carries none is stated plainly, and what a program concluded is stated so too: an edition asserts its stemma and its edits, as a printed edition does, and its creation names the principles and the release they were found by (`EditionCreation`). A belief is kept for what the editor doubts.",
2613
2617
  "properties": {
2614
2618
  "belief": {
2615
2619
  "$ref": "#/definitions/Belief",
@@ -2650,7 +2654,7 @@
2650
2654
  {
2651
2655
  "properties": {
2652
2656
  "@annotation": {
2653
- "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.",
2657
+ "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.\n\nA statement that carries none is stated plainly, and what a program concluded is stated so too: an edition asserts its stemma and its edits, as a printed edition does, and its creation names the principles and the release they were found by (`EditionCreation`). A belief is kept for what the editor doubts.",
2654
2658
  "properties": {
2655
2659
  "belief": {
2656
2660
  "$ref": "#/definitions/Belief",
@@ -2689,7 +2693,7 @@
2689
2693
  {
2690
2694
  "properties": {
2691
2695
  "@annotation": {
2692
- "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.",
2696
+ "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.\n\nA statement that carries none is stated plainly, and what a program concluded is stated so too: an edition asserts its stemma and its edits, as a printed edition does, and its creation names the principles and the release they were found by (`EditionCreation`). A belief is kept for what the editor doubts.",
2693
2697
  "properties": {
2694
2698
  "belief": {
2695
2699
  "$ref": "#/definitions/Belief",
@@ -2732,7 +2736,7 @@
2732
2736
  "description": "An object assumption wraps a complex object with an optional annotation. Used for structured values (e.g. persons, conditions) whose properties may be uncertain.",
2733
2737
  "properties": {
2734
2738
  "@annotation": {
2735
- "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.",
2739
+ "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.\n\nA statement that carries none is stated plainly, and what a program concluded is stated so too: an edition asserts its stemma and its edits, as a printed edition does, and its creation names the principles and the release they were found by (`EditionCreation`). A belief is kept for what the editor doubts.",
2736
2740
  "properties": {
2737
2741
  "belief": {
2738
2742
  "$ref": "#/definitions/Belief",
@@ -2786,7 +2790,7 @@
2786
2790
  "description": "An object assumption wraps a complex object with an optional annotation. Used for structured values (e.g. persons, conditions) whose properties may be uncertain.",
2787
2791
  "properties": {
2788
2792
  "@annotation": {
2789
- "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.",
2793
+ "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.\n\nA statement that carries none is stated plainly, and what a program concluded is stated so too: an edition asserts its stemma and its edits, as a printed edition does, and its creation names the principles and the release they were found by (`EditionCreation`). A belief is kept for what the editor doubts.",
2790
2794
  "properties": {
2791
2795
  "belief": {
2792
2796
  "$ref": "#/definitions/Belief",
@@ -2832,7 +2836,7 @@
2832
2836
  "description": "An object assumption wraps a complex object with an optional annotation. Used for structured values (e.g. persons, conditions) whose properties may be uncertain.",
2833
2837
  "properties": {
2834
2838
  "@annotation": {
2835
- "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.",
2839
+ "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.\n\nA statement that carries none is stated plainly, and what a program concluded is stated so too: an edition asserts its stemma and its edits, as a printed edition does, and its creation names the principles and the release they were found by (`EditionCreation`). A belief is kept for what the editor doubts.",
2836
2840
  "properties": {
2837
2841
  "belief": {
2838
2842
  "$ref": "#/definitions/Belief",
@@ -3171,7 +3175,7 @@
3171
3175
  "description": "A reference assumption wraps a reference (by `@id`) with an optional annotation. Used when pointing to another entity whose association may be uncertain.",
3172
3176
  "properties": {
3173
3177
  "@annotation": {
3174
- "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.",
3178
+ "description": "An optional annotation expressing a belief about this assumption. Uses the JSON-LD-star `@annotation` mechanism to attach epistemic metadata (certainty and reasons) to any triple.\n\nA statement that carries none is stated plainly, and what a program concluded is stated so too: an edition asserts its stemma and its edits, as a printed edition does, and its creation names the principles and the release they were found by (`EditionCreation`). A belief is kept for what the editor doubts.",
3175
3179
  "properties": {
3176
3180
  "belief": {
3177
3181
  "$ref": "#/definitions/Belief",
@@ -3386,7 +3390,7 @@
3386
3390
  "type": "object"
3387
3391
  },
3388
3392
  "Software": {
3389
- "description": "Software that captured a copy or measured it: the transcriber that read a recording into notes, the emulator that wrote a MIDI file, the program that found the holes on a scan or aligned two copies.",
3393
+ "description": "Software that captured a copy or measured it: the transcriber that read a recording into notes, the emulator that wrote a MIDI file, the program that found the holes on a scan or aligned two copies. Or the software an edition was made with, such as the release of this library that found its stemma.",
3390
3394
  "properties": {
3391
3395
  "name": {
3392
3396
  "type": "string",
@@ -3604,13 +3608,6 @@
3604
3608
  "type": "array",
3605
3609
  "ontology": "reo:involvedEdit"
3606
3610
  },
3607
- "motivations": {
3608
- "description": "A collection of motivations used in this version's edits.",
3609
- "items": {
3610
- "$ref": "#/definitions/Motivation"
3611
- },
3612
- "type": "array"
3613
- },
3614
3611
  "system": {
3615
3612
  "$ref": "#/definitions/Concept",
3616
3613
  "description": "The reproducing system this version is coded for. One roll was often issued for several of them, and a version is a reading in one system's words: its expression types are that system's vocabulary and its notes sit on that bar's positions. A system the type vocabulary knows carries the IRI of its concept as `id`, from which the export takes the system's own context.",
@@ -3623,7 +3620,6 @@
3623
3620
  },
3624
3621
  "required": [
3625
3622
  "@id",
3626
- "motivations",
3627
3623
  "system"
3628
3624
  ],
3629
3625
  "type": "object",
@@ -0,0 +1,12 @@
1
+ /** This library, as an edition made with it names it. */
2
+ import { Software } from "./model/Agent.js";
3
+ /**
4
+ * This library, as the software an edition was made with: the release
5
+ * whose `proposeStemma` found the stemma and whose `proposeEdits`
6
+ * grouped the edits, which adopting them names in the edition's
7
+ * creation. The version is the release, which is raised together with
8
+ * package.json, and a test holds the two to each other, so that an
9
+ * edition names the release that finds again what it states.
10
+ * @category Reading and writing
11
+ */
12
+ export declare const linkedRolls: Software;
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This library, as the software an edition was made with: the release
3
+ * whose `proposeStemma` found the stemma and whose `proposeEdits`
4
+ * grouped the edits, which adopting them names in the edition's
5
+ * creation. The version is the release, which is raised together with
6
+ * package.json, and a test holds the two to each other, so that an
7
+ * edition names the release that finds again what it states.
8
+ * @category Reading and writing
9
+ */
10
+ export const linkedRolls = { name: 'linked-rolls', version: '0.76.0' };
@@ -32,11 +32,6 @@
32
32
  "edit": {
33
33
  "@id": "reo:Edit",
34
34
  "@context": {
35
- "editType": {
36
- "@id": "crm:P2_has_type",
37
- "@type": "@vocab",
38
- "@context": { "@vocab": "https://w3id.org/reo/type/" }
39
- },
40
35
  "motivation": {
41
36
  "@id": "crm:P17_was_motivated_by",
42
37
  "@type": "@id"
@@ -117,6 +112,14 @@
117
112
  },
118
113
  "editors": "crm:P14_carried_out_by",
119
114
  "publisher": "crm:P14_carried_out_by",
115
+ "principles": {
116
+ "@id": "crm:P33_used_specific_technique",
117
+ "@type": "@id"
118
+ },
119
+ "software": {
120
+ "@id": "crm:P16_used_specific_object",
121
+ "@context": { "version": "owl:versionInfo" }
122
+ },
120
123
  "publicationDate": {
121
124
  "@id": "dcterms:date",
122
125
  "@type": "xsd:date"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "linked-rolls",
3
- "version": "0.74.0",
3
+ "version": "0.76.0",
4
4
  "description": "Digital editions of piano rolls: import, collation, editorial assumptions, JSON-LD export, and emulation through a reproducing system",
5
5
  "license": "MIT",
6
6
  "repository": {