linked-rolls 0.64.0 → 0.66.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.
- package/README.md +8 -0
- package/lib/analysis/constraints.js +31 -28
- package/lib/analysis/paper.d.ts +17 -0
- package/lib/analysis/paper.js +38 -1
- package/lib/analysis/reservations.js +2 -2
- package/lib/analysis/witnesses.js +6 -3
- package/lib/collation/alignment.js +55 -20
- package/lib/collation/scatter.d.ts +2 -2
- package/lib/io/asJsonLd.js +33 -38
- package/lib/io/migrate.js +73 -26
- package/lib/model/Agent.d.ts +17 -0
- package/lib/model/Assumption.d.ts +53 -8
- package/lib/model/Edition.d.ts +0 -13
- package/lib/model/FeatureSource.d.ts +2 -17
- package/lib/model/RollCopy.d.ts +36 -47
- package/lib/model/RollCopy.js +10 -0
- package/lib/model/Version.d.ts +30 -0
- package/lib/ops/collation.js +13 -9
- package/lib/ops/copies.js +11 -3
- package/lib/ops/immutable.d.ts +7 -1
- package/lib/ops/immutable.js +22 -8
- package/lib/readers/phillipsEroll.js +1 -8
- package/lib/readers/stanfordAton.js +20 -19
- package/lib/schema.json +297 -141
- package/lib/spec/context.json +12 -8
- package/lib/systems/welte.d.ts +21 -1
- package/lib/systems/welte.js +22 -4
- package/lib/systems/welteT100/system.d.ts +1 -16
- package/lib/systems/welteT100/system.js +3 -17
- package/lib/systems/welteT98/system.d.ts +1 -12
- package/lib/systems/welteT98/system.js +3 -13
- package/package.json +1 -1
package/lib/schema.json
CHANGED
|
@@ -272,32 +272,6 @@
|
|
|
272
272
|
],
|
|
273
273
|
"type": "string"
|
|
274
274
|
},
|
|
275
|
-
"CollationTolerance": {
|
|
276
|
-
"description": "The window two readings of one feature must fall in to be collated: how far apart they may lie at either end, and where that window is centred.\n\nThe centre is worth stating. Two copies of one roll differ by a systematic offset as well as by scatter, and a window centred on nothing has to be widened by the whole of that offset before it admits what the offset alone displaces. Naming the offset lets the tolerance stand for the scatter only. A window that names none is centred on nothing, which is what every window written before the offset was held here means.",
|
|
277
|
-
"properties": {
|
|
278
|
-
"offsetEnd": {
|
|
279
|
-
"$ref": "#/definitions/Millimeters",
|
|
280
|
-
"description": "The same at the end of a feature, in the same direction."
|
|
281
|
-
},
|
|
282
|
-
"offsetStart": {
|
|
283
|
-
"$ref": "#/definitions/Millimeters",
|
|
284
|
-
"description": "How much later the derived version puts the start of a feature than the version it is read against, where the two differ systematically. Nothing where they do not.\n\nThe direction is the one a collation measures in, the child less the parent, and it is not symmetric: stored the other way round the window sits on the wrong side of the readings and merges what it should separate. A measurement taken over the parent's copies gives the negative of this, which is what `toleranceAcross` asks the side for."
|
|
285
|
-
},
|
|
286
|
-
"toleranceEnd": {
|
|
287
|
-
"$ref": "#/definitions/Millimeters",
|
|
288
|
-
"description": "How far they may lie apart at the end, measured from `offsetEnd`."
|
|
289
|
-
},
|
|
290
|
-
"toleranceStart": {
|
|
291
|
-
"$ref": "#/definitions/Millimeters",
|
|
292
|
-
"description": "How far the two readings may lie apart at the start of a feature, measured from `offsetStart`."
|
|
293
|
-
}
|
|
294
|
-
},
|
|
295
|
-
"required": [
|
|
296
|
-
"toleranceStart",
|
|
297
|
-
"toleranceEnd"
|
|
298
|
-
],
|
|
299
|
-
"type": "object"
|
|
300
|
-
},
|
|
301
275
|
"Concept": {
|
|
302
276
|
"anyOf": [
|
|
303
277
|
{
|
|
@@ -475,7 +449,7 @@
|
|
|
475
449
|
"type": "object"
|
|
476
450
|
}
|
|
477
451
|
],
|
|
478
|
-
"description": "When something happened, as far as the edition can state it: the day it falls `within`, or the bounds it lies between. A bound nobody can give is left out, so `after` alone says \"not before\".",
|
|
452
|
+
"description": "When something happened, as far as the edition can state it, and as an assumption, so that a dating can carry the belief it rests on: the day it falls `within`, or the bounds it lies between. A bound nobody can give is left out, so `after` alone says \"not before\".",
|
|
479
453
|
"ontology": "crm:E52 Time-Span"
|
|
480
454
|
},
|
|
481
455
|
"Derivation": {
|
|
@@ -671,11 +645,6 @@
|
|
|
671
645
|
"EditionCreation": {
|
|
672
646
|
"description": "This type describes the creation of an edition, i.e. the editor, publisher, and publication date.",
|
|
673
647
|
"properties": {
|
|
674
|
-
"collationTolerance": {
|
|
675
|
-
"$ref": "#/definitions/CollationTolerance",
|
|
676
|
-
"deprecated": true,
|
|
677
|
-
"description": "The tolerance every version of the edition was collated at, before each derivation stated its own. How precisely two copies place a symbol depends on which two they are, so the tolerance belongs to the derivation, `Derivation.collationTolerance`, and migration writes this one onto every derivation that gives none. Nothing else reads it. A window's offset is the displacement between two particular copies and so can never be stated here. Not exported to RDF."
|
|
678
|
-
},
|
|
679
648
|
"editors": {
|
|
680
649
|
"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.",
|
|
681
650
|
"items": {
|
|
@@ -1176,63 +1145,37 @@
|
|
|
1176
1145
|
"type": "object",
|
|
1177
1146
|
"ontology": "crm:E54 Dimension"
|
|
1178
1147
|
},
|
|
1179
|
-
"Measure<\"px\">": {
|
|
1180
|
-
"description": "A value together with the unit it was measured in, as a record states it.",
|
|
1181
|
-
"properties": {
|
|
1182
|
-
"unit": {
|
|
1183
|
-
"const": "px",
|
|
1184
|
-
"description": "The unit of measurement.",
|
|
1185
|
-
"type": "string",
|
|
1186
|
-
"ontology": "crm:P91 has unit"
|
|
1187
|
-
},
|
|
1188
|
-
"value": {
|
|
1189
|
-
"$ref": "#/definitions/Quantity%3C%22px%22%3E",
|
|
1190
|
-
"description": "The measured value.",
|
|
1191
|
-
"ontology": "crm:P90 has value"
|
|
1192
|
-
}
|
|
1193
|
-
},
|
|
1194
|
-
"required": [
|
|
1195
|
-
"value",
|
|
1196
|
-
"unit"
|
|
1197
|
-
],
|
|
1198
|
-
"type": "object",
|
|
1199
|
-
"ontology": "crm:E54 Dimension"
|
|
1200
|
-
},
|
|
1201
|
-
"Measure<\"px/in\">": {
|
|
1202
|
-
"description": "A value together with the unit it was measured in, as a record states it.",
|
|
1203
|
-
"properties": {
|
|
1204
|
-
"unit": {
|
|
1205
|
-
"const": "px/in",
|
|
1206
|
-
"description": "The unit of measurement.",
|
|
1207
|
-
"type": "string",
|
|
1208
|
-
"ontology": "crm:P91 has unit"
|
|
1209
|
-
},
|
|
1210
|
-
"value": {
|
|
1211
|
-
"$ref": "#/definitions/Quantity%3C%22px%2Fin%22%3E",
|
|
1212
|
-
"description": "The measured value.",
|
|
1213
|
-
"ontology": "crm:P90 has value"
|
|
1214
|
-
}
|
|
1215
|
-
},
|
|
1216
|
-
"required": [
|
|
1217
|
-
"value",
|
|
1218
|
-
"unit"
|
|
1219
|
-
],
|
|
1220
|
-
"type": "object",
|
|
1221
|
-
"ontology": "crm:E54 Dimension"
|
|
1222
|
-
},
|
|
1223
1148
|
"Measurement": {
|
|
1224
|
-
"description": "A measurement takes a value off an object by a stated procedure: the period the slot lengths of a copy keep, the median pitch of its held notes. It concludes the belief in that value by itself, with no premises. CRMinf counts observations, and a measurement is one, among the ways a belief comes about, so the value does not have to be passed off as an inference.",
|
|
1149
|
+
"description": "A measurement takes a value off an object by a stated procedure: the period the slot lengths of a copy keep, the median pitch of its held notes. It concludes the belief in that value by itself, with no premises. CRMinf counts observations, and a measurement is one, among the ways a belief comes about, so the value does not have to be passed off as an inference.\n\nA measurement a program took names the program and its version, so that the value can be taken again and a value taken by a program later found wanting can be told from the rest. Naming software makes it a digital measurement event in the sense of CRMdig.",
|
|
1225
1150
|
"properties": {
|
|
1226
1151
|
"actor": {
|
|
1227
1152
|
"$ref": "#/definitions/Person",
|
|
1228
1153
|
"description": "The person who carried out this activity.",
|
|
1229
1154
|
"ontology": "crm:P14 carried out by"
|
|
1230
1155
|
},
|
|
1156
|
+
"date": {
|
|
1157
|
+
"$ref": "#/definitions/TimeSpan",
|
|
1158
|
+
"description": "When the measurement was taken. It is part of the reason and carries no belief of its own.",
|
|
1159
|
+
"ontology": "crm:P4 has time-span"
|
|
1160
|
+
},
|
|
1231
1161
|
"note": {
|
|
1232
1162
|
"description": "A free-text note providing additional context.",
|
|
1233
1163
|
"type": "string",
|
|
1234
1164
|
"ontology": "crm:P3 has note"
|
|
1235
1165
|
},
|
|
1166
|
+
"procedure": {
|
|
1167
|
+
"$ref": "#/definitions/Concept",
|
|
1168
|
+
"description": "The method followed, where it has a name apart from the program that carries it out, such as a line of Theil and Sen through the matched notes of two copies.",
|
|
1169
|
+
"ontology": "crm:P33 used specific technique"
|
|
1170
|
+
},
|
|
1171
|
+
"software": {
|
|
1172
|
+
"description": "The programs that took the measurement, each with its version.",
|
|
1173
|
+
"items": {
|
|
1174
|
+
"$ref": "#/definitions/Software"
|
|
1175
|
+
},
|
|
1176
|
+
"type": "array",
|
|
1177
|
+
"ontology": "crmdig:L23 used software or firmware"
|
|
1178
|
+
},
|
|
1236
1179
|
"used": {
|
|
1237
1180
|
"description": "References (by `@id` or URL) to what the measurement was taken on or with, such as the scan, the analysis output or the script.",
|
|
1238
1181
|
"items": {
|
|
@@ -1903,6 +1846,89 @@
|
|
|
1903
1846
|
],
|
|
1904
1847
|
"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."
|
|
1905
1848
|
},
|
|
1849
|
+
"ObjectAssumption<(Measure<\"px\">|Measure<\"mm\">)>": {
|
|
1850
|
+
"anyOf": [
|
|
1851
|
+
{
|
|
1852
|
+
"properties": {
|
|
1853
|
+
"@annotation": {
|
|
1854
|
+
"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.",
|
|
1855
|
+
"properties": {
|
|
1856
|
+
"belief": {
|
|
1857
|
+
"$ref": "#/definitions/Belief",
|
|
1858
|
+
"description": "The belief held about the annotated statement.",
|
|
1859
|
+
"ontology": "crminf:J4i is subject of"
|
|
1860
|
+
},
|
|
1861
|
+
"@id": {
|
|
1862
|
+
"description": "A unique identifier for this object.",
|
|
1863
|
+
"type": "string"
|
|
1864
|
+
}
|
|
1865
|
+
},
|
|
1866
|
+
"required": [
|
|
1867
|
+
"belief",
|
|
1868
|
+
"@id"
|
|
1869
|
+
],
|
|
1870
|
+
"type": "object"
|
|
1871
|
+
},
|
|
1872
|
+
"unit": {
|
|
1873
|
+
"const": "px",
|
|
1874
|
+
"description": "The unit of measurement.",
|
|
1875
|
+
"type": "string",
|
|
1876
|
+
"ontology": "crm:P91 has unit"
|
|
1877
|
+
},
|
|
1878
|
+
"value": {
|
|
1879
|
+
"$ref": "#/definitions/Quantity%3C%22px%22%3E",
|
|
1880
|
+
"description": "The measured value.",
|
|
1881
|
+
"ontology": "crm:P90 has value"
|
|
1882
|
+
}
|
|
1883
|
+
},
|
|
1884
|
+
"required": [
|
|
1885
|
+
"unit",
|
|
1886
|
+
"value"
|
|
1887
|
+
],
|
|
1888
|
+
"type": "object"
|
|
1889
|
+
},
|
|
1890
|
+
{
|
|
1891
|
+
"properties": {
|
|
1892
|
+
"@annotation": {
|
|
1893
|
+
"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.",
|
|
1894
|
+
"properties": {
|
|
1895
|
+
"belief": {
|
|
1896
|
+
"$ref": "#/definitions/Belief",
|
|
1897
|
+
"description": "The belief held about the annotated statement.",
|
|
1898
|
+
"ontology": "crminf:J4i is subject of"
|
|
1899
|
+
},
|
|
1900
|
+
"@id": {
|
|
1901
|
+
"description": "A unique identifier for this object.",
|
|
1902
|
+
"type": "string"
|
|
1903
|
+
}
|
|
1904
|
+
},
|
|
1905
|
+
"required": [
|
|
1906
|
+
"belief",
|
|
1907
|
+
"@id"
|
|
1908
|
+
],
|
|
1909
|
+
"type": "object"
|
|
1910
|
+
},
|
|
1911
|
+
"unit": {
|
|
1912
|
+
"const": "mm",
|
|
1913
|
+
"description": "The unit of measurement.",
|
|
1914
|
+
"type": "string",
|
|
1915
|
+
"ontology": "crm:P91 has unit"
|
|
1916
|
+
},
|
|
1917
|
+
"value": {
|
|
1918
|
+
"$ref": "#/definitions/Quantity%3C%22mm%22%3E",
|
|
1919
|
+
"description": "The measured value.",
|
|
1920
|
+
"ontology": "crm:P90 has value"
|
|
1921
|
+
}
|
|
1922
|
+
},
|
|
1923
|
+
"required": [
|
|
1924
|
+
"unit",
|
|
1925
|
+
"value"
|
|
1926
|
+
],
|
|
1927
|
+
"type": "object"
|
|
1928
|
+
}
|
|
1929
|
+
],
|
|
1930
|
+
"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."
|
|
1931
|
+
},
|
|
1906
1932
|
"ObjectAssumption<Advance>": {
|
|
1907
1933
|
"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.",
|
|
1908
1934
|
"properties": {
|
|
@@ -2489,6 +2515,43 @@
|
|
|
2489
2515
|
],
|
|
2490
2516
|
"type": "object"
|
|
2491
2517
|
},
|
|
2518
|
+
"ObjectAssumption<LengthRatio>": {
|
|
2519
|
+
"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.",
|
|
2520
|
+
"properties": {
|
|
2521
|
+
"@annotation": {
|
|
2522
|
+
"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.",
|
|
2523
|
+
"properties": {
|
|
2524
|
+
"belief": {
|
|
2525
|
+
"$ref": "#/definitions/Belief",
|
|
2526
|
+
"description": "The belief held about the annotated statement.",
|
|
2527
|
+
"ontology": "crminf:J4i is subject of"
|
|
2528
|
+
},
|
|
2529
|
+
"@id": {
|
|
2530
|
+
"description": "A unique identifier for this object.",
|
|
2531
|
+
"type": "string"
|
|
2532
|
+
}
|
|
2533
|
+
},
|
|
2534
|
+
"required": [
|
|
2535
|
+
"belief",
|
|
2536
|
+
"@id"
|
|
2537
|
+
],
|
|
2538
|
+
"type": "object"
|
|
2539
|
+
},
|
|
2540
|
+
"uncertainty": {
|
|
2541
|
+
"description": "The standard uncertainty of the value, one standard deviation.",
|
|
2542
|
+
"type": "number",
|
|
2543
|
+
"ontology": "reo:uncertainty"
|
|
2544
|
+
},
|
|
2545
|
+
"value": {
|
|
2546
|
+
"type": "number",
|
|
2547
|
+
"ontology": "crm:P90 has value"
|
|
2548
|
+
}
|
|
2549
|
+
},
|
|
2550
|
+
"required": [
|
|
2551
|
+
"value"
|
|
2552
|
+
],
|
|
2553
|
+
"type": "object"
|
|
2554
|
+
},
|
|
2492
2555
|
"ObjectAssumption<Measure<\"mm\">>": {
|
|
2493
2556
|
"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.",
|
|
2494
2557
|
"properties": {
|
|
@@ -2529,6 +2592,46 @@
|
|
|
2529
2592
|
],
|
|
2530
2593
|
"type": "object"
|
|
2531
2594
|
},
|
|
2595
|
+
"ObjectAssumption<Measure<\"px/in\">>": {
|
|
2596
|
+
"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.",
|
|
2597
|
+
"properties": {
|
|
2598
|
+
"@annotation": {
|
|
2599
|
+
"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.",
|
|
2600
|
+
"properties": {
|
|
2601
|
+
"belief": {
|
|
2602
|
+
"$ref": "#/definitions/Belief",
|
|
2603
|
+
"description": "The belief held about the annotated statement.",
|
|
2604
|
+
"ontology": "crminf:J4i is subject of"
|
|
2605
|
+
},
|
|
2606
|
+
"@id": {
|
|
2607
|
+
"description": "A unique identifier for this object.",
|
|
2608
|
+
"type": "string"
|
|
2609
|
+
}
|
|
2610
|
+
},
|
|
2611
|
+
"required": [
|
|
2612
|
+
"belief",
|
|
2613
|
+
"@id"
|
|
2614
|
+
],
|
|
2615
|
+
"type": "object"
|
|
2616
|
+
},
|
|
2617
|
+
"unit": {
|
|
2618
|
+
"const": "px/in",
|
|
2619
|
+
"description": "The unit of measurement.",
|
|
2620
|
+
"type": "string",
|
|
2621
|
+
"ontology": "crm:P91 has unit"
|
|
2622
|
+
},
|
|
2623
|
+
"value": {
|
|
2624
|
+
"$ref": "#/definitions/Quantity%3C%22px%2Fin%22%3E",
|
|
2625
|
+
"description": "The measured value.",
|
|
2626
|
+
"ontology": "crm:P90 has value"
|
|
2627
|
+
}
|
|
2628
|
+
},
|
|
2629
|
+
"required": [
|
|
2630
|
+
"unit",
|
|
2631
|
+
"value"
|
|
2632
|
+
],
|
|
2633
|
+
"type": "object"
|
|
2634
|
+
},
|
|
2532
2635
|
"ObjectAssumption<PaperSpeed>": {
|
|
2533
2636
|
"anyOf": [
|
|
2534
2637
|
{
|
|
@@ -2666,6 +2769,52 @@
|
|
|
2666
2769
|
],
|
|
2667
2770
|
"type": "object"
|
|
2668
2771
|
},
|
|
2772
|
+
"ObjectAssumption<RollDimensions>": {
|
|
2773
|
+
"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.",
|
|
2774
|
+
"properties": {
|
|
2775
|
+
"@annotation": {
|
|
2776
|
+
"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.",
|
|
2777
|
+
"properties": {
|
|
2778
|
+
"belief": {
|
|
2779
|
+
"$ref": "#/definitions/Belief",
|
|
2780
|
+
"description": "The belief held about the annotated statement.",
|
|
2781
|
+
"ontology": "crminf:J4i is subject of"
|
|
2782
|
+
},
|
|
2783
|
+
"@id": {
|
|
2784
|
+
"description": "A unique identifier for this object.",
|
|
2785
|
+
"type": "string"
|
|
2786
|
+
}
|
|
2787
|
+
},
|
|
2788
|
+
"required": [
|
|
2789
|
+
"belief",
|
|
2790
|
+
"@id"
|
|
2791
|
+
],
|
|
2792
|
+
"type": "object"
|
|
2793
|
+
},
|
|
2794
|
+
"height": {
|
|
2795
|
+
"$ref": "#/definitions/Millimeters",
|
|
2796
|
+
"description": "The total height (length) of the roll.",
|
|
2797
|
+
"ontology": "reo:height"
|
|
2798
|
+
},
|
|
2799
|
+
"unit": {
|
|
2800
|
+
"const": "mm",
|
|
2801
|
+
"description": "The unit of measurement.",
|
|
2802
|
+
"type": "string",
|
|
2803
|
+
"ontology": "crm:P91 has unit"
|
|
2804
|
+
},
|
|
2805
|
+
"width": {
|
|
2806
|
+
"$ref": "#/definitions/Millimeters",
|
|
2807
|
+
"description": "The width of the roll.",
|
|
2808
|
+
"ontology": "reo:width"
|
|
2809
|
+
}
|
|
2810
|
+
},
|
|
2811
|
+
"required": [
|
|
2812
|
+
"height",
|
|
2813
|
+
"unit",
|
|
2814
|
+
"width"
|
|
2815
|
+
],
|
|
2816
|
+
"type": "object"
|
|
2817
|
+
},
|
|
2669
2818
|
"ObjectAssumption<RollTempo>": {
|
|
2670
2819
|
"anyOf": [
|
|
2671
2820
|
{
|
|
@@ -3184,49 +3333,19 @@
|
|
|
3184
3333
|
"ontology": "crm:P50 has current keeper"
|
|
3185
3334
|
},
|
|
3186
3335
|
"measurements": {
|
|
3187
|
-
"description": "Physical measurements of this roll copy
|
|
3336
|
+
"description": "Physical measurements of this roll copy: its dimensions, hole separation and margins, the resolution of its scan, and how it lies on the edition's axis. What the perforations tell about the machine that cut them is stated with the production.\n\nA value the edition exports is an object assumption, so that it can say what took it: a measurement naming the program and its version, the scan or analysis it was taken on, and the day.",
|
|
3188
3337
|
"properties": {
|
|
3189
3338
|
"alignment": {
|
|
3190
3339
|
"$ref": "#/definitions/Alignment",
|
|
3191
3340
|
"description": "How the copy's places are carried onto the edition's axis. Left out for the reference copy, whose places are the axis, and for a copy not aligned yet. Not exported to RDF."
|
|
3192
3341
|
},
|
|
3193
3342
|
"dimensions": {
|
|
3343
|
+
"$ref": "#/definitions/ObjectAssumption%3CRollDimensions%3E",
|
|
3194
3344
|
"description": "The physical dimensions of the roll.",
|
|
3195
|
-
"properties": {
|
|
3196
|
-
"height": {
|
|
3197
|
-
"$ref": "#/definitions/Millimeters",
|
|
3198
|
-
"description": "The total height (length) of the roll.",
|
|
3199
|
-
"ontology": "reo:height"
|
|
3200
|
-
},
|
|
3201
|
-
"unit": {
|
|
3202
|
-
"const": "mm",
|
|
3203
|
-
"description": "The unit of measurement.",
|
|
3204
|
-
"type": "string",
|
|
3205
|
-
"ontology": "crm:P91 has unit"
|
|
3206
|
-
},
|
|
3207
|
-
"width": {
|
|
3208
|
-
"$ref": "#/definitions/Millimeters",
|
|
3209
|
-
"description": "The width of the roll.",
|
|
3210
|
-
"ontology": "reo:width"
|
|
3211
|
-
}
|
|
3212
|
-
},
|
|
3213
|
-
"required": [
|
|
3214
|
-
"width",
|
|
3215
|
-
"height",
|
|
3216
|
-
"unit"
|
|
3217
|
-
],
|
|
3218
|
-
"type": "object",
|
|
3219
3345
|
"ontology": "reo:dimensions"
|
|
3220
3346
|
},
|
|
3221
3347
|
"holeSeparation": {
|
|
3222
|
-
"
|
|
3223
|
-
{
|
|
3224
|
-
"$ref": "#/definitions/Measure%3C%22px%22%3E"
|
|
3225
|
-
},
|
|
3226
|
-
{
|
|
3227
|
-
"$ref": "#/definitions/Measure%3C%22mm%22%3E"
|
|
3228
|
-
}
|
|
3229
|
-
],
|
|
3348
|
+
"$ref": "#/definitions/ObjectAssumption%3C(Measure%3C%22px%22%3E%7CMeasure%3C%22mm%22%3E)%3E",
|
|
3230
3349
|
"description": "The distance across the roll from the centre of one track to the next, the track pitch or Teilung, in the unit the scan was measured in. It is fixed by the tracker bar the roll was cut for, and is another thing than the chain pitch, which runs along the roll.",
|
|
3231
3350
|
"ontology": "reo:holeSeparation"
|
|
3232
3351
|
},
|
|
@@ -3241,34 +3360,6 @@
|
|
|
3241
3360
|
],
|
|
3242
3361
|
"description": "The margins on the treble and bass sides of the roll. Not exported to RDF."
|
|
3243
3362
|
},
|
|
3244
|
-
"measuredBy": {
|
|
3245
|
-
"description": "Information about the software used to take the measurements.",
|
|
3246
|
-
"properties": {
|
|
3247
|
-
"date": {
|
|
3248
|
-
"description": "The date on which the measurements were taken.",
|
|
3249
|
-
"format": "date",
|
|
3250
|
-
"type": "string",
|
|
3251
|
-
"ontology": "dcterms:date"
|
|
3252
|
-
},
|
|
3253
|
-
"software": {
|
|
3254
|
-
"description": "The name of the measurement software.",
|
|
3255
|
-
"type": "string",
|
|
3256
|
-
"ontology": "rdfs:label"
|
|
3257
|
-
},
|
|
3258
|
-
"version": {
|
|
3259
|
-
"description": "The version of the measurement software.",
|
|
3260
|
-
"type": "string",
|
|
3261
|
-
"ontology": "owl:versionInfo"
|
|
3262
|
-
}
|
|
3263
|
-
},
|
|
3264
|
-
"required": [
|
|
3265
|
-
"software",
|
|
3266
|
-
"version",
|
|
3267
|
-
"date"
|
|
3268
|
-
],
|
|
3269
|
-
"type": "object",
|
|
3270
|
-
"ontology": "crmdig:L23 used software or firmware"
|
|
3271
|
-
},
|
|
3272
3363
|
"readerExtension": {
|
|
3273
3364
|
"description": "What a pneumatic reader added to this copy's chains of holes, where it was taken off again. Such a reader reports how long a valve stayed open, which exceeds the perforation that opened it, so its chains are overlong by a constant while its onsets agree. Nothing for a copy read by other means, whose chains are the punched ones themselves. Not exported to RDF.",
|
|
3274
3365
|
"properties": {
|
|
@@ -3290,7 +3381,7 @@
|
|
|
3290
3381
|
"type": "object"
|
|
3291
3382
|
},
|
|
3292
3383
|
"scanResolution": {
|
|
3293
|
-
"$ref": "#/definitions/
|
|
3384
|
+
"$ref": "#/definitions/ObjectAssumption%3CMeasure%3C%22px%2Fin%22%3E%3E",
|
|
3294
3385
|
"description": "The resolution this copy's scan was read at, along the roll. It is what the measurements given in pixels are to be read against, and what every conversion between a place in the scan and one on the paper goes through. A scanner may read across the roll at another resolution, which the analysis files do not state.",
|
|
3295
3386
|
"ontology": "reo:scanResolution"
|
|
3296
3387
|
},
|
|
@@ -3377,14 +3468,14 @@
|
|
|
3377
3468
|
"type": "object"
|
|
3378
3469
|
},
|
|
3379
3470
|
"Software": {
|
|
3380
|
-
"description": "Software a
|
|
3471
|
+
"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.",
|
|
3381
3472
|
"properties": {
|
|
3382
3473
|
"name": {
|
|
3383
3474
|
"type": "string",
|
|
3384
3475
|
"ontology": "rdfs:label"
|
|
3385
3476
|
},
|
|
3386
3477
|
"version": {
|
|
3387
|
-
"description": "The release, or the model checkpoint of a transcriber.",
|
|
3478
|
+
"description": "The release, the commit, or the model checkpoint of a transcriber.",
|
|
3388
3479
|
"type": "string",
|
|
3389
3480
|
"ontology": "owl:versionInfo"
|
|
3390
3481
|
}
|
|
@@ -3478,6 +3569,66 @@
|
|
|
3478
3569
|
"type": "object",
|
|
3479
3570
|
"ontology": "crm:E33 Linguistic Object"
|
|
3480
3571
|
},
|
|
3572
|
+
"TimeSpan": {
|
|
3573
|
+
"anyOf": [
|
|
3574
|
+
{
|
|
3575
|
+
"properties": {
|
|
3576
|
+
"within": {
|
|
3577
|
+
"description": "The day the event falls within.",
|
|
3578
|
+
"format": "date",
|
|
3579
|
+
"type": "string",
|
|
3580
|
+
"ontology": "crm:P82 at some time within"
|
|
3581
|
+
}
|
|
3582
|
+
},
|
|
3583
|
+
"required": [
|
|
3584
|
+
"within"
|
|
3585
|
+
],
|
|
3586
|
+
"type": "object"
|
|
3587
|
+
},
|
|
3588
|
+
{
|
|
3589
|
+
"properties": {
|
|
3590
|
+
"after": {
|
|
3591
|
+
"description": "The earliest day the event can have happened on: it did not happen before it.",
|
|
3592
|
+
"format": "date",
|
|
3593
|
+
"type": "string",
|
|
3594
|
+
"ontology": "crm:P82a begin of the begin"
|
|
3595
|
+
},
|
|
3596
|
+
"before": {
|
|
3597
|
+
"description": "The latest day the event can have happened on: it did not happen after it.",
|
|
3598
|
+
"format": "date",
|
|
3599
|
+
"type": "string",
|
|
3600
|
+
"ontology": "crm:P82b end of the end"
|
|
3601
|
+
}
|
|
3602
|
+
},
|
|
3603
|
+
"required": [
|
|
3604
|
+
"after"
|
|
3605
|
+
],
|
|
3606
|
+
"type": "object"
|
|
3607
|
+
},
|
|
3608
|
+
{
|
|
3609
|
+
"properties": {
|
|
3610
|
+
"after": {
|
|
3611
|
+
"description": "The earliest day the event can have happened on: it did not happen before it.",
|
|
3612
|
+
"format": "date",
|
|
3613
|
+
"type": "string",
|
|
3614
|
+
"ontology": "crm:P82a begin of the begin"
|
|
3615
|
+
},
|
|
3616
|
+
"before": {
|
|
3617
|
+
"description": "The latest day the event can have happened on: it did not happen after it.",
|
|
3618
|
+
"format": "date",
|
|
3619
|
+
"type": "string",
|
|
3620
|
+
"ontology": "crm:P82b end of the end"
|
|
3621
|
+
}
|
|
3622
|
+
},
|
|
3623
|
+
"required": [
|
|
3624
|
+
"before"
|
|
3625
|
+
],
|
|
3626
|
+
"type": "object"
|
|
3627
|
+
}
|
|
3628
|
+
],
|
|
3629
|
+
"description": "When something happened: the day it falls `within`, or the bounds it lies between. A bound nobody can give is left out, so `after` alone says \"not before\".",
|
|
3630
|
+
"ontology": "crm:E52 Time-Span"
|
|
3631
|
+
},
|
|
3481
3632
|
"Track": {
|
|
3482
3633
|
"$ref": "#/definitions/Quantity%3C%22track%22%3E",
|
|
3483
3634
|
"description": "A position across the roll, numbered as the tracker bar does."
|
|
@@ -3572,6 +3723,11 @@
|
|
|
3572
3723
|
"description": "When it took place.",
|
|
3573
3724
|
"ontology": "crm:P4 has time-span"
|
|
3574
3725
|
},
|
|
3726
|
+
"lengthRatio": {
|
|
3727
|
+
"$ref": "#/definitions/ObjectAssumption%3CLengthRatio%3E",
|
|
3728
|
+
"description": "How long the act made the version's paper for a length of the paper of the version it derives from. A re-cut for a system whose paper runs slower comes out shorter by the ratio of the speeds, and the alignments of the copies measure that ratio more closely than any label states a speed (`lengthRatioOf`). It is stated where the edition holds to it, as a measurement naming the copies it used and the program that found it, so that it can serve as a premise. A speed follows from it only together with a premise about the speed of the other version.",
|
|
3729
|
+
"ontology": "reo:lengthRatio"
|
|
3730
|
+
},
|
|
3575
3731
|
"procedure": {
|
|
3576
3732
|
"$ref": "#/definitions/Concept",
|
|
3577
3733
|
"description": "The rule followed, as a term of the vocabulary: the notes stand at their pitch, the expression is re-spelled in the other system's words.",
|
package/lib/spec/context.json
CHANGED
|
@@ -89,6 +89,10 @@
|
|
|
89
89
|
"used": {
|
|
90
90
|
"@id": "crm:P16_used_specific_object",
|
|
91
91
|
"@type": "@id"
|
|
92
|
+
},
|
|
93
|
+
"software": {
|
|
94
|
+
"@id": "crmdig:L23_used_software_or_firmware",
|
|
95
|
+
"@context": { "version": "owl:versionInfo" }
|
|
92
96
|
}
|
|
93
97
|
}
|
|
94
98
|
},
|
|
@@ -99,6 +103,13 @@
|
|
|
99
103
|
},
|
|
100
104
|
"creation": "lrmoo:R17i_was_created_by",
|
|
101
105
|
"procedure": "crm:P33_used_specific_technique",
|
|
106
|
+
"lengthRatio": {
|
|
107
|
+
"@id": "reo:lengthRatio",
|
|
108
|
+
"@context": {
|
|
109
|
+
"value": "crm:P90_has_value",
|
|
110
|
+
"uncertainty": "reo:uncertainty"
|
|
111
|
+
}
|
|
112
|
+
},
|
|
102
113
|
"editors": "crm:P14_carried_out_by",
|
|
103
114
|
"publisher": "crm:P14_carried_out_by",
|
|
104
115
|
"publicationDate": {
|
|
@@ -176,14 +187,7 @@
|
|
|
176
187
|
"height": "reo:height",
|
|
177
188
|
"holeSeparation": "reo:holeSeparation",
|
|
178
189
|
"scanResolution": "reo:scanResolution",
|
|
179
|
-
"value": "crm:P90_has_value"
|
|
180
|
-
"measuredBy": "crmdig:L23_used_software_or_firmware",
|
|
181
|
-
"software": "rdfs:label",
|
|
182
|
-
"version": "owl:versionInfo",
|
|
183
|
-
"date": {
|
|
184
|
-
"@id": "dcterms:date",
|
|
185
|
-
"@type": "xsd:date"
|
|
186
|
-
}
|
|
190
|
+
"value": "crm:P90_has_value"
|
|
187
191
|
}
|
|
188
192
|
},
|
|
189
193
|
"production": {
|
package/lib/systems/welte.d.ts
CHANGED
|
@@ -42,6 +42,23 @@ export type WelteOptions = {
|
|
|
42
42
|
};
|
|
43
43
|
/** Whether two sets of constants are the same, value for value. */
|
|
44
44
|
export declare const sameParameters: (a: Parameters, b: Parameters) => boolean;
|
|
45
|
+
/**
|
|
46
|
+
* The two readings of the pedal mechanism the emulator offers, by name,
|
|
47
|
+
* which the systems share: Hagmann has the valves and bellows that carry
|
|
48
|
+
* out the movements "in beiden Systemen dieselbe" (p. 106), and only the
|
|
49
|
+
* Vorpneumatik differs. Under `damping` the dampers reach the strings
|
|
50
|
+
* within the shortest lift the rolls punch, so every lift damps. Under
|
|
51
|
+
* `brushing` their fall is slowed until the quick runs of latch changes
|
|
52
|
+
* in the SUPRA corpus dip without damping, at the price that lifts
|
|
53
|
+
* shorter than about 265 ms brush as well.
|
|
54
|
+
*/
|
|
55
|
+
export declare const pedalPresets: {
|
|
56
|
+
damping: Readonly<Record<string, number>>;
|
|
57
|
+
brushing: Readonly<Record<string, number>>;
|
|
58
|
+
};
|
|
59
|
+
export type PedalPreset = keyof typeof pedalPresets;
|
|
60
|
+
/** The preset a set of pedal constants is, if it is one. */
|
|
61
|
+
export declare const pedalPresetOf: (pedals: Parameters) => PedalPreset | undefined;
|
|
45
62
|
/**
|
|
46
63
|
* Between the edition's shared place axis and this version's own paper.
|
|
47
64
|
* `toOwnPaper` is 1 for a version on the axis it was measured on, and about
|
|
@@ -50,12 +67,15 @@ export declare const sameParameters: (a: Parameters, b: Parameters) => boolean;
|
|
|
50
67
|
*
|
|
51
68
|
* Rows are rows of the version's own paper, so the spool is asked in
|
|
52
69
|
* `paperOfRow` and never in `placeOfRow`: one is the paper that passes the
|
|
53
|
-
* tracker bar, the other is the coordinate the edition states.
|
|
70
|
+
* tracker bar, the other is the coordinate the edition states. A place is
|
|
71
|
+
* put to the spool through `paperOfPlace` for the same reason, so that a
|
|
72
|
+
* note sounds on the clock its pedal and bellows run on.
|
|
54
73
|
*/
|
|
55
74
|
export type Paper = {
|
|
56
75
|
readonly rowOf: (place: Millimeters) => number;
|
|
57
76
|
readonly placeOfRow: (row: number) => Millimeters;
|
|
58
77
|
readonly paperOfRow: (row: number) => Millimeters;
|
|
78
|
+
readonly paperOfPlace: (place: Millimeters) => Millimeters;
|
|
59
79
|
};
|
|
60
80
|
/** When the spool brings a place on the roll to the tracker bar. */
|
|
61
81
|
export declare const secondsAt: (spool: Spool, place: Millimeters) => Seconds;
|