@lincs.project/webannotation-schema 1.13.0 → 1.14.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/dist/index.d.mts +863 -1149
- package/dist/index.d.ts +863 -1149
- package/dist/index.js +631 -655
- package/dist/index.mjs +593 -622
- package/dist/v1/jsonld/context.jsonld +1 -20
- package/dist/v1/jsonld/defs.jsonld +97 -350
- package/dist/v1/jsonld/schema.jsonld +596 -83
- package/dist/v1/standalone/linc-wa-validator.js +1 -1
- package/package.json +5 -5
|
@@ -45,15 +45,35 @@
|
|
|
45
45
|
"description": "The type of the Annotation."
|
|
46
46
|
},
|
|
47
47
|
"motivation": {
|
|
48
|
-
"
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
48
|
+
"oneOf": [
|
|
49
|
+
{
|
|
50
|
+
"type": "string",
|
|
51
|
+
"const": "oa:identifying"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"type": "string",
|
|
55
|
+
"const": "oa:describing"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"type": "string",
|
|
59
|
+
"const": "correcting"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"type": "string",
|
|
63
|
+
"const": "oa:tagging"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"type": "string",
|
|
67
|
+
"const": "oa:classifying"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"type": "string",
|
|
71
|
+
"const": "oa:linking"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"type": "string",
|
|
75
|
+
"const": "citing"
|
|
76
|
+
}
|
|
57
77
|
],
|
|
58
78
|
"description": "The relationship between an Annotation and a Motivation."
|
|
59
79
|
},
|
|
@@ -74,9 +94,6 @@
|
|
|
74
94
|
},
|
|
75
95
|
{
|
|
76
96
|
"$ref": "defs.jsonld#/definitions/group"
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
"$ref": "defs.jsonld#/definitions/software"
|
|
80
97
|
}
|
|
81
98
|
]
|
|
82
99
|
},
|
|
@@ -131,45 +148,94 @@
|
|
|
131
148
|
}
|
|
132
149
|
]
|
|
133
150
|
},
|
|
134
|
-
"certainty": {
|
|
135
|
-
"type": "string",
|
|
136
|
-
"enum": [
|
|
137
|
-
"edit:qualityLow",
|
|
138
|
-
"edit:qualityMedium",
|
|
139
|
-
"edit:qualityHigh",
|
|
140
|
-
"edit:qualityUnknown"
|
|
141
|
-
],
|
|
142
|
-
"description": "Indicates the degree of certainty associated with some aspect of an assertion, description, identification, or entity linked to the annotation body."
|
|
143
|
-
},
|
|
144
|
-
"precision": {
|
|
145
|
-
"type": "string",
|
|
146
|
-
"enum": [
|
|
147
|
-
"edit:qualityLow",
|
|
148
|
-
"edit:qualityMedium",
|
|
149
|
-
"edit:qualityHigh",
|
|
150
|
-
"edit:qualityUnknown"
|
|
151
|
-
],
|
|
152
|
-
"description": "Indicates the degree of precision associated with the location of the entity linked to the annotation body."
|
|
153
|
-
},
|
|
154
151
|
"label": {
|
|
155
152
|
"type": "string"
|
|
156
153
|
},
|
|
157
154
|
"P2_has_type": {
|
|
158
|
-
"
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
},
|
|
155
|
+
"type": "array",
|
|
156
|
+
"minItems": 1,
|
|
157
|
+
"maxItems": 3,
|
|
158
|
+
"items": [
|
|
163
159
|
{
|
|
164
|
-
"
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
160
|
+
"oneOf": [
|
|
161
|
+
{
|
|
162
|
+
"type": "string",
|
|
163
|
+
"const": "oa:identifying"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"type": "string",
|
|
167
|
+
"const": "oa:describing"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"type": "string",
|
|
171
|
+
"const": "correcting"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"type": "string",
|
|
175
|
+
"const": "oa:tagging"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"type": "string",
|
|
179
|
+
"const": "oa:classifying"
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"type": "string",
|
|
183
|
+
"const": "oa:linking"
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"type": "string",
|
|
187
|
+
"const": "citing"
|
|
188
|
+
}
|
|
189
|
+
],
|
|
190
|
+
"description": "The relationship between an Annotation and a Motivation."
|
|
171
191
|
}
|
|
172
|
-
]
|
|
192
|
+
],
|
|
193
|
+
"additionalItems": {
|
|
194
|
+
"oneOf": [
|
|
195
|
+
{
|
|
196
|
+
"oneOf": [
|
|
197
|
+
{
|
|
198
|
+
"type": "string",
|
|
199
|
+
"const": "edit:qualityLowCertainty"
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"type": "string",
|
|
203
|
+
"const": "edit:qualityMediumCertainty"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"type": "string",
|
|
207
|
+
"const": "edit:qualityHighCertainty"
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"type": "string",
|
|
211
|
+
"const": "edit:qualityUnknownCertainty"
|
|
212
|
+
}
|
|
213
|
+
],
|
|
214
|
+
"description": "Indicates the degree of certainty associated with some aspect of an assertion, description, identification, or entity linked to the annotation body."
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"oneOf": [
|
|
218
|
+
{
|
|
219
|
+
"type": "string",
|
|
220
|
+
"const": "edit:qualityLowPrecision"
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"type": "string",
|
|
224
|
+
"const": "edit:qualityMediumPrecision"
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"type": "string",
|
|
228
|
+
"const": "edit:qualityHighPrecision"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"type": "string",
|
|
232
|
+
"const": "edit:qualityUnknownPrecision"
|
|
233
|
+
}
|
|
234
|
+
],
|
|
235
|
+
"description": "Indicates the degree of precision associated with the location of the entity linked to the annotation body."
|
|
236
|
+
}
|
|
237
|
+
]
|
|
238
|
+
}
|
|
173
239
|
}
|
|
174
240
|
},
|
|
175
241
|
"required": [
|
|
@@ -180,7 +246,8 @@
|
|
|
180
246
|
"created",
|
|
181
247
|
"generator",
|
|
182
248
|
"target",
|
|
183
|
-
"body"
|
|
249
|
+
"body",
|
|
250
|
+
"P2_has_type"
|
|
184
251
|
],
|
|
185
252
|
"additionalProperties": false,
|
|
186
253
|
"allOf": [
|
|
@@ -191,7 +258,7 @@
|
|
|
191
258
|
"body": {
|
|
192
259
|
"type": "object",
|
|
193
260
|
"properties": {
|
|
194
|
-
"
|
|
261
|
+
"type": {
|
|
195
262
|
"oneOf": [
|
|
196
263
|
{
|
|
197
264
|
"oneOf": [
|
|
@@ -309,33 +376,18 @@
|
|
|
309
376
|
]
|
|
310
377
|
},
|
|
311
378
|
{
|
|
312
|
-
"
|
|
313
|
-
|
|
314
|
-
"type": "string",
|
|
315
|
-
"const": "crm:E28_Conceptual_Object"
|
|
316
|
-
},
|
|
317
|
-
{
|
|
318
|
-
"type": "array",
|
|
319
|
-
"minItems": 2,
|
|
320
|
-
"maxItems": 2,
|
|
321
|
-
"items": [
|
|
322
|
-
{
|
|
323
|
-
"type": "string",
|
|
324
|
-
"const": "crm:E28_Conceptual_Object"
|
|
325
|
-
},
|
|
326
|
-
{
|
|
327
|
-
"type": "string",
|
|
328
|
-
"const": "wikidata:Q15831596"
|
|
329
|
-
}
|
|
330
|
-
]
|
|
331
|
-
}
|
|
332
|
-
]
|
|
379
|
+
"type": "string",
|
|
380
|
+
"const": "crm:E28_Conceptual_Object"
|
|
333
381
|
},
|
|
334
382
|
{
|
|
335
383
|
"type": "array",
|
|
336
|
-
"minItems":
|
|
337
|
-
"maxItems":
|
|
384
|
+
"minItems": 3,
|
|
385
|
+
"maxItems": 3,
|
|
338
386
|
"items": [
|
|
387
|
+
{
|
|
388
|
+
"type": "string",
|
|
389
|
+
"const": "TextualBody"
|
|
390
|
+
},
|
|
339
391
|
{
|
|
340
392
|
"type": "string",
|
|
341
393
|
"const": "xsd:date"
|
|
@@ -359,7 +411,7 @@
|
|
|
359
411
|
"items": [
|
|
360
412
|
{
|
|
361
413
|
"type": "string",
|
|
362
|
-
"const": "
|
|
414
|
+
"const": "event:Event"
|
|
363
415
|
},
|
|
364
416
|
{
|
|
365
417
|
"type": "string",
|
|
@@ -381,6 +433,63 @@
|
|
|
381
433
|
"motivation": {
|
|
382
434
|
"type": "string",
|
|
383
435
|
"const": "oa:identifying"
|
|
436
|
+
},
|
|
437
|
+
"P2_has_type": {
|
|
438
|
+
"type": "array",
|
|
439
|
+
"minItems": 1,
|
|
440
|
+
"maxItems": 3,
|
|
441
|
+
"items": [
|
|
442
|
+
{
|
|
443
|
+
"type": "string",
|
|
444
|
+
"const": "oa:identifying"
|
|
445
|
+
}
|
|
446
|
+
],
|
|
447
|
+
"additionalItems": {
|
|
448
|
+
"oneOf": [
|
|
449
|
+
{
|
|
450
|
+
"oneOf": [
|
|
451
|
+
{
|
|
452
|
+
"type": "string",
|
|
453
|
+
"const": "edit:qualityLowCertainty"
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
"type": "string",
|
|
457
|
+
"const": "edit:qualityMediumCertainty"
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
"type": "string",
|
|
461
|
+
"const": "edit:qualityHighCertainty"
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
"type": "string",
|
|
465
|
+
"const": "edit:qualityUnknownCertainty"
|
|
466
|
+
}
|
|
467
|
+
],
|
|
468
|
+
"description": "Indicates the degree of certainty associated with some aspect of an assertion, description, identification, or entity linked to the annotation body."
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
"oneOf": [
|
|
472
|
+
{
|
|
473
|
+
"type": "string",
|
|
474
|
+
"const": "edit:qualityLowPrecision"
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
"type": "string",
|
|
478
|
+
"const": "edit:qualityMediumPrecision"
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
"type": "string",
|
|
482
|
+
"const": "edit:qualityHighPrecision"
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
"type": "string",
|
|
486
|
+
"const": "edit:qualityUnknownPrecision"
|
|
487
|
+
}
|
|
488
|
+
],
|
|
489
|
+
"description": "Indicates the degree of precision associated with the location of the entity linked to the annotation body."
|
|
490
|
+
}
|
|
491
|
+
]
|
|
492
|
+
}
|
|
384
493
|
}
|
|
385
494
|
}
|
|
386
495
|
},
|
|
@@ -391,9 +500,20 @@
|
|
|
391
500
|
"body": {
|
|
392
501
|
"type": "object",
|
|
393
502
|
"properties": {
|
|
394
|
-
"
|
|
395
|
-
"type": "
|
|
396
|
-
"
|
|
503
|
+
"type": {
|
|
504
|
+
"type": "array",
|
|
505
|
+
"minItems": 2,
|
|
506
|
+
"maxItems": 2,
|
|
507
|
+
"items": [
|
|
508
|
+
{
|
|
509
|
+
"type": "string",
|
|
510
|
+
"const": "TextualBody"
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
"type": "string",
|
|
514
|
+
"const": "crm:E33_Linguistic_Object"
|
|
515
|
+
}
|
|
516
|
+
]
|
|
397
517
|
}
|
|
398
518
|
}
|
|
399
519
|
}
|
|
@@ -405,6 +525,63 @@
|
|
|
405
525
|
"motivation": {
|
|
406
526
|
"type": "string",
|
|
407
527
|
"const": "oa:describing"
|
|
528
|
+
},
|
|
529
|
+
"P2_has_type": {
|
|
530
|
+
"type": "array",
|
|
531
|
+
"minItems": 1,
|
|
532
|
+
"maxItems": 3,
|
|
533
|
+
"items": [
|
|
534
|
+
{
|
|
535
|
+
"type": "string",
|
|
536
|
+
"const": "oa:describing"
|
|
537
|
+
}
|
|
538
|
+
],
|
|
539
|
+
"additionalItems": {
|
|
540
|
+
"oneOf": [
|
|
541
|
+
{
|
|
542
|
+
"oneOf": [
|
|
543
|
+
{
|
|
544
|
+
"type": "string",
|
|
545
|
+
"const": "edit:qualityLowCertainty"
|
|
546
|
+
},
|
|
547
|
+
{
|
|
548
|
+
"type": "string",
|
|
549
|
+
"const": "edit:qualityMediumCertainty"
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
"type": "string",
|
|
553
|
+
"const": "edit:qualityHighCertainty"
|
|
554
|
+
},
|
|
555
|
+
{
|
|
556
|
+
"type": "string",
|
|
557
|
+
"const": "edit:qualityUnknownCertainty"
|
|
558
|
+
}
|
|
559
|
+
],
|
|
560
|
+
"description": "Indicates the degree of certainty associated with some aspect of an assertion, description, identification, or entity linked to the annotation body."
|
|
561
|
+
},
|
|
562
|
+
{
|
|
563
|
+
"oneOf": [
|
|
564
|
+
{
|
|
565
|
+
"type": "string",
|
|
566
|
+
"const": "edit:qualityLowPrecision"
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
"type": "string",
|
|
570
|
+
"const": "edit:qualityMediumPrecision"
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
"type": "string",
|
|
574
|
+
"const": "edit:qualityHighPrecision"
|
|
575
|
+
},
|
|
576
|
+
{
|
|
577
|
+
"type": "string",
|
|
578
|
+
"const": "edit:qualityUnknownPrecision"
|
|
579
|
+
}
|
|
580
|
+
],
|
|
581
|
+
"description": "Indicates the degree of precision associated with the location of the entity linked to the annotation body."
|
|
582
|
+
}
|
|
583
|
+
]
|
|
584
|
+
}
|
|
408
585
|
}
|
|
409
586
|
}
|
|
410
587
|
},
|
|
@@ -415,11 +592,15 @@
|
|
|
415
592
|
"body": {
|
|
416
593
|
"type": "object",
|
|
417
594
|
"properties": {
|
|
418
|
-
"
|
|
595
|
+
"type": {
|
|
419
596
|
"type": "array",
|
|
420
|
-
"minItems":
|
|
421
|
-
"maxItems":
|
|
597
|
+
"minItems": 3,
|
|
598
|
+
"maxItems": 3,
|
|
422
599
|
"items": [
|
|
600
|
+
{
|
|
601
|
+
"type": "string",
|
|
602
|
+
"const": "TextualBody"
|
|
603
|
+
},
|
|
423
604
|
{
|
|
424
605
|
"type": "string",
|
|
425
606
|
"const": "fabio:Correction"
|
|
@@ -440,6 +621,63 @@
|
|
|
440
621
|
"motivation": {
|
|
441
622
|
"type": "string",
|
|
442
623
|
"const": "correcting"
|
|
624
|
+
},
|
|
625
|
+
"P2_has_type": {
|
|
626
|
+
"type": "array",
|
|
627
|
+
"minItems": 1,
|
|
628
|
+
"maxItems": 3,
|
|
629
|
+
"items": [
|
|
630
|
+
{
|
|
631
|
+
"type": "string",
|
|
632
|
+
"const": "correcting"
|
|
633
|
+
}
|
|
634
|
+
],
|
|
635
|
+
"additionalItems": {
|
|
636
|
+
"oneOf": [
|
|
637
|
+
{
|
|
638
|
+
"oneOf": [
|
|
639
|
+
{
|
|
640
|
+
"type": "string",
|
|
641
|
+
"const": "edit:qualityLowCertainty"
|
|
642
|
+
},
|
|
643
|
+
{
|
|
644
|
+
"type": "string",
|
|
645
|
+
"const": "edit:qualityMediumCertainty"
|
|
646
|
+
},
|
|
647
|
+
{
|
|
648
|
+
"type": "string",
|
|
649
|
+
"const": "edit:qualityHighCertainty"
|
|
650
|
+
},
|
|
651
|
+
{
|
|
652
|
+
"type": "string",
|
|
653
|
+
"const": "edit:qualityUnknownCertainty"
|
|
654
|
+
}
|
|
655
|
+
],
|
|
656
|
+
"description": "Indicates the degree of certainty associated with some aspect of an assertion, description, identification, or entity linked to the annotation body."
|
|
657
|
+
},
|
|
658
|
+
{
|
|
659
|
+
"oneOf": [
|
|
660
|
+
{
|
|
661
|
+
"type": "string",
|
|
662
|
+
"const": "edit:qualityLowPrecision"
|
|
663
|
+
},
|
|
664
|
+
{
|
|
665
|
+
"type": "string",
|
|
666
|
+
"const": "edit:qualityMediumPrecision"
|
|
667
|
+
},
|
|
668
|
+
{
|
|
669
|
+
"type": "string",
|
|
670
|
+
"const": "edit:qualityHighPrecision"
|
|
671
|
+
},
|
|
672
|
+
{
|
|
673
|
+
"type": "string",
|
|
674
|
+
"const": "edit:qualityUnknownPrecision"
|
|
675
|
+
}
|
|
676
|
+
],
|
|
677
|
+
"description": "Indicates the degree of precision associated with the location of the entity linked to the annotation body."
|
|
678
|
+
}
|
|
679
|
+
]
|
|
680
|
+
}
|
|
443
681
|
}
|
|
444
682
|
}
|
|
445
683
|
},
|
|
@@ -450,11 +688,15 @@
|
|
|
450
688
|
"body": {
|
|
451
689
|
"type": "object",
|
|
452
690
|
"properties": {
|
|
453
|
-
"
|
|
691
|
+
"type": {
|
|
454
692
|
"type": "array",
|
|
455
|
-
"minItems":
|
|
456
|
-
"maxItems":
|
|
693
|
+
"minItems": 3,
|
|
694
|
+
"maxItems": 3,
|
|
457
695
|
"items": [
|
|
696
|
+
{
|
|
697
|
+
"type": "string",
|
|
698
|
+
"const": "TextualBody"
|
|
699
|
+
},
|
|
458
700
|
{
|
|
459
701
|
"type": "string",
|
|
460
702
|
"const": "crm:E55_Type"
|
|
@@ -475,6 +717,63 @@
|
|
|
475
717
|
"motivation": {
|
|
476
718
|
"type": "string",
|
|
477
719
|
"const": "oa:tagging"
|
|
720
|
+
},
|
|
721
|
+
"P2_has_type": {
|
|
722
|
+
"type": "array",
|
|
723
|
+
"minItems": 1,
|
|
724
|
+
"maxItems": 3,
|
|
725
|
+
"items": [
|
|
726
|
+
{
|
|
727
|
+
"type": "string",
|
|
728
|
+
"const": "oa:tagging"
|
|
729
|
+
}
|
|
730
|
+
],
|
|
731
|
+
"additionalItems": {
|
|
732
|
+
"oneOf": [
|
|
733
|
+
{
|
|
734
|
+
"oneOf": [
|
|
735
|
+
{
|
|
736
|
+
"type": "string",
|
|
737
|
+
"const": "edit:qualityLowCertainty"
|
|
738
|
+
},
|
|
739
|
+
{
|
|
740
|
+
"type": "string",
|
|
741
|
+
"const": "edit:qualityMediumCertainty"
|
|
742
|
+
},
|
|
743
|
+
{
|
|
744
|
+
"type": "string",
|
|
745
|
+
"const": "edit:qualityHighCertainty"
|
|
746
|
+
},
|
|
747
|
+
{
|
|
748
|
+
"type": "string",
|
|
749
|
+
"const": "edit:qualityUnknownCertainty"
|
|
750
|
+
}
|
|
751
|
+
],
|
|
752
|
+
"description": "Indicates the degree of certainty associated with some aspect of an assertion, description, identification, or entity linked to the annotation body."
|
|
753
|
+
},
|
|
754
|
+
{
|
|
755
|
+
"oneOf": [
|
|
756
|
+
{
|
|
757
|
+
"type": "string",
|
|
758
|
+
"const": "edit:qualityLowPrecision"
|
|
759
|
+
},
|
|
760
|
+
{
|
|
761
|
+
"type": "string",
|
|
762
|
+
"const": "edit:qualityMediumPrecision"
|
|
763
|
+
},
|
|
764
|
+
{
|
|
765
|
+
"type": "string",
|
|
766
|
+
"const": "edit:qualityHighPrecision"
|
|
767
|
+
},
|
|
768
|
+
{
|
|
769
|
+
"type": "string",
|
|
770
|
+
"const": "edit:qualityUnknownPrecision"
|
|
771
|
+
}
|
|
772
|
+
],
|
|
773
|
+
"description": "Indicates the degree of precision associated with the location of the entity linked to the annotation body."
|
|
774
|
+
}
|
|
775
|
+
]
|
|
776
|
+
}
|
|
478
777
|
}
|
|
479
778
|
}
|
|
480
779
|
},
|
|
@@ -485,7 +784,7 @@
|
|
|
485
784
|
"body": {
|
|
486
785
|
"type": "object",
|
|
487
786
|
"properties": {
|
|
488
|
-
"
|
|
787
|
+
"type": {
|
|
489
788
|
"type": "array",
|
|
490
789
|
"minItems": 2,
|
|
491
790
|
"maxItems": 2,
|
|
@@ -510,6 +809,63 @@
|
|
|
510
809
|
"motivation": {
|
|
511
810
|
"type": "string",
|
|
512
811
|
"const": "oa:classifying"
|
|
812
|
+
},
|
|
813
|
+
"P2_has_type": {
|
|
814
|
+
"type": "array",
|
|
815
|
+
"minItems": 1,
|
|
816
|
+
"maxItems": 3,
|
|
817
|
+
"items": [
|
|
818
|
+
{
|
|
819
|
+
"type": "string",
|
|
820
|
+
"const": "oa:classifying"
|
|
821
|
+
}
|
|
822
|
+
],
|
|
823
|
+
"additionalItems": {
|
|
824
|
+
"oneOf": [
|
|
825
|
+
{
|
|
826
|
+
"oneOf": [
|
|
827
|
+
{
|
|
828
|
+
"type": "string",
|
|
829
|
+
"const": "edit:qualityLowCertainty"
|
|
830
|
+
},
|
|
831
|
+
{
|
|
832
|
+
"type": "string",
|
|
833
|
+
"const": "edit:qualityMediumCertainty"
|
|
834
|
+
},
|
|
835
|
+
{
|
|
836
|
+
"type": "string",
|
|
837
|
+
"const": "edit:qualityHighCertainty"
|
|
838
|
+
},
|
|
839
|
+
{
|
|
840
|
+
"type": "string",
|
|
841
|
+
"const": "edit:qualityUnknownCertainty"
|
|
842
|
+
}
|
|
843
|
+
],
|
|
844
|
+
"description": "Indicates the degree of certainty associated with some aspect of an assertion, description, identification, or entity linked to the annotation body."
|
|
845
|
+
},
|
|
846
|
+
{
|
|
847
|
+
"oneOf": [
|
|
848
|
+
{
|
|
849
|
+
"type": "string",
|
|
850
|
+
"const": "edit:qualityLowPrecision"
|
|
851
|
+
},
|
|
852
|
+
{
|
|
853
|
+
"type": "string",
|
|
854
|
+
"const": "edit:qualityMediumPrecision"
|
|
855
|
+
},
|
|
856
|
+
{
|
|
857
|
+
"type": "string",
|
|
858
|
+
"const": "edit:qualityHighPrecision"
|
|
859
|
+
},
|
|
860
|
+
{
|
|
861
|
+
"type": "string",
|
|
862
|
+
"const": "edit:qualityUnknownPrecision"
|
|
863
|
+
}
|
|
864
|
+
],
|
|
865
|
+
"description": "Indicates the degree of precision associated with the location of the entity linked to the annotation body."
|
|
866
|
+
}
|
|
867
|
+
]
|
|
868
|
+
}
|
|
513
869
|
}
|
|
514
870
|
}
|
|
515
871
|
},
|
|
@@ -520,7 +876,7 @@
|
|
|
520
876
|
"body": {
|
|
521
877
|
"type": "object",
|
|
522
878
|
"properties": {
|
|
523
|
-
"
|
|
879
|
+
"type": {
|
|
524
880
|
"type": "string",
|
|
525
881
|
"const": "crmdig:D1_Digital_Object"
|
|
526
882
|
}
|
|
@@ -534,6 +890,63 @@
|
|
|
534
890
|
"motivation": {
|
|
535
891
|
"type": "string",
|
|
536
892
|
"const": "oa:linking"
|
|
893
|
+
},
|
|
894
|
+
"P2_has_type": {
|
|
895
|
+
"type": "array",
|
|
896
|
+
"minItems": 1,
|
|
897
|
+
"maxItems": 3,
|
|
898
|
+
"items": [
|
|
899
|
+
{
|
|
900
|
+
"type": "string",
|
|
901
|
+
"const": "oa:linking"
|
|
902
|
+
}
|
|
903
|
+
],
|
|
904
|
+
"additionalItems": {
|
|
905
|
+
"oneOf": [
|
|
906
|
+
{
|
|
907
|
+
"oneOf": [
|
|
908
|
+
{
|
|
909
|
+
"type": "string",
|
|
910
|
+
"const": "edit:qualityLowCertainty"
|
|
911
|
+
},
|
|
912
|
+
{
|
|
913
|
+
"type": "string",
|
|
914
|
+
"const": "edit:qualityMediumCertainty"
|
|
915
|
+
},
|
|
916
|
+
{
|
|
917
|
+
"type": "string",
|
|
918
|
+
"const": "edit:qualityHighCertainty"
|
|
919
|
+
},
|
|
920
|
+
{
|
|
921
|
+
"type": "string",
|
|
922
|
+
"const": "edit:qualityUnknownCertainty"
|
|
923
|
+
}
|
|
924
|
+
],
|
|
925
|
+
"description": "Indicates the degree of certainty associated with some aspect of an assertion, description, identification, or entity linked to the annotation body."
|
|
926
|
+
},
|
|
927
|
+
{
|
|
928
|
+
"oneOf": [
|
|
929
|
+
{
|
|
930
|
+
"type": "string",
|
|
931
|
+
"const": "edit:qualityLowPrecision"
|
|
932
|
+
},
|
|
933
|
+
{
|
|
934
|
+
"type": "string",
|
|
935
|
+
"const": "edit:qualityMediumPrecision"
|
|
936
|
+
},
|
|
937
|
+
{
|
|
938
|
+
"type": "string",
|
|
939
|
+
"const": "edit:qualityHighPrecision"
|
|
940
|
+
},
|
|
941
|
+
{
|
|
942
|
+
"type": "string",
|
|
943
|
+
"const": "edit:qualityUnknownPrecision"
|
|
944
|
+
}
|
|
945
|
+
],
|
|
946
|
+
"description": "Indicates the degree of precision associated with the location of the entity linked to the annotation body."
|
|
947
|
+
}
|
|
948
|
+
]
|
|
949
|
+
}
|
|
537
950
|
}
|
|
538
951
|
}
|
|
539
952
|
},
|
|
@@ -544,7 +957,7 @@
|
|
|
544
957
|
"body": {
|
|
545
958
|
"type": "object",
|
|
546
959
|
"properties": {
|
|
547
|
-
"
|
|
960
|
+
"type": {
|
|
548
961
|
"type": "array",
|
|
549
962
|
"minItems": 2,
|
|
550
963
|
"maxItems": 2,
|
|
@@ -569,6 +982,63 @@
|
|
|
569
982
|
"motivation": {
|
|
570
983
|
"type": "string",
|
|
571
984
|
"const": "citing"
|
|
985
|
+
},
|
|
986
|
+
"P2_has_type": {
|
|
987
|
+
"type": "array",
|
|
988
|
+
"minItems": 1,
|
|
989
|
+
"maxItems": 3,
|
|
990
|
+
"items": [
|
|
991
|
+
{
|
|
992
|
+
"type": "string",
|
|
993
|
+
"const": "citing"
|
|
994
|
+
}
|
|
995
|
+
],
|
|
996
|
+
"additionalItems": {
|
|
997
|
+
"oneOf": [
|
|
998
|
+
{
|
|
999
|
+
"oneOf": [
|
|
1000
|
+
{
|
|
1001
|
+
"type": "string",
|
|
1002
|
+
"const": "edit:qualityLowCertainty"
|
|
1003
|
+
},
|
|
1004
|
+
{
|
|
1005
|
+
"type": "string",
|
|
1006
|
+
"const": "edit:qualityMediumCertainty"
|
|
1007
|
+
},
|
|
1008
|
+
{
|
|
1009
|
+
"type": "string",
|
|
1010
|
+
"const": "edit:qualityHighCertainty"
|
|
1011
|
+
},
|
|
1012
|
+
{
|
|
1013
|
+
"type": "string",
|
|
1014
|
+
"const": "edit:qualityUnknownCertainty"
|
|
1015
|
+
}
|
|
1016
|
+
],
|
|
1017
|
+
"description": "Indicates the degree of certainty associated with some aspect of an assertion, description, identification, or entity linked to the annotation body."
|
|
1018
|
+
},
|
|
1019
|
+
{
|
|
1020
|
+
"oneOf": [
|
|
1021
|
+
{
|
|
1022
|
+
"type": "string",
|
|
1023
|
+
"const": "edit:qualityLowPrecision"
|
|
1024
|
+
},
|
|
1025
|
+
{
|
|
1026
|
+
"type": "string",
|
|
1027
|
+
"const": "edit:qualityMediumPrecision"
|
|
1028
|
+
},
|
|
1029
|
+
{
|
|
1030
|
+
"type": "string",
|
|
1031
|
+
"const": "edit:qualityHighPrecision"
|
|
1032
|
+
},
|
|
1033
|
+
{
|
|
1034
|
+
"type": "string",
|
|
1035
|
+
"const": "edit:qualityUnknownPrecision"
|
|
1036
|
+
}
|
|
1037
|
+
],
|
|
1038
|
+
"description": "Indicates the degree of precision associated with the location of the entity linked to the annotation body."
|
|
1039
|
+
}
|
|
1040
|
+
]
|
|
1041
|
+
}
|
|
572
1042
|
}
|
|
573
1043
|
}
|
|
574
1044
|
}
|
|
@@ -578,6 +1048,49 @@
|
|
|
578
1048
|
}
|
|
579
1049
|
}
|
|
580
1050
|
}
|
|
1051
|
+
},
|
|
1052
|
+
{
|
|
1053
|
+
"if": {
|
|
1054
|
+
"type": "object",
|
|
1055
|
+
"properties": {
|
|
1056
|
+
"body": {
|
|
1057
|
+
"type": "object",
|
|
1058
|
+
"properties": {
|
|
1059
|
+
"type": {
|
|
1060
|
+
"type": "string",
|
|
1061
|
+
"const": "Choice"
|
|
1062
|
+
}
|
|
1063
|
+
}
|
|
1064
|
+
}
|
|
1065
|
+
}
|
|
1066
|
+
},
|
|
1067
|
+
"then": {
|
|
1068
|
+
"type": "object",
|
|
1069
|
+
"properties": {
|
|
1070
|
+
"body": {
|
|
1071
|
+
"$ref": "defs.jsonld#/definitions/bodyChoice"
|
|
1072
|
+
}
|
|
1073
|
+
}
|
|
1074
|
+
},
|
|
1075
|
+
"else": {
|
|
1076
|
+
"type": "object",
|
|
1077
|
+
"properties": {
|
|
1078
|
+
"body": {
|
|
1079
|
+
"oneOf": [
|
|
1080
|
+
{
|
|
1081
|
+
"$ref": "defs.jsonld#/definitions/body"
|
|
1082
|
+
},
|
|
1083
|
+
{
|
|
1084
|
+
"type": "array",
|
|
1085
|
+
"items": {
|
|
1086
|
+
"$ref": "defs.jsonld#/definitions/body"
|
|
1087
|
+
},
|
|
1088
|
+
"minItems": 1
|
|
1089
|
+
}
|
|
1090
|
+
]
|
|
1091
|
+
}
|
|
1092
|
+
}
|
|
1093
|
+
}
|
|
581
1094
|
}
|
|
582
1095
|
]
|
|
583
1096
|
}
|