@lincs.project/webannotation-schema 1.5.0 → 1.7.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 +63 -31
- package/dist/index.d.ts +63 -31
- package/dist/index.js +133 -108
- package/dist/index.mjs +133 -107
- package/dist/v1/jsonld/context.jsonld +1 -0
- package/dist/v1/jsonld/defs.jsonld +6 -14
- package/dist/v1/jsonld/schema.jsonld +172 -106
- package/dist/v1/standalone/linc-wa-validator.js +1 -1
- package/package.json +1 -1
|
@@ -41,28 +41,101 @@
|
|
|
41
41
|
"description": "The type of the Annotation."
|
|
42
42
|
},
|
|
43
43
|
"motivation": {
|
|
44
|
-
"type": "
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
"
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
"
|
|
57
|
-
|
|
58
|
-
|
|
44
|
+
"type": "object",
|
|
45
|
+
"description": "The relationship between an Annotation and a Motivation.",
|
|
46
|
+
"properties": {
|
|
47
|
+
"identifying": {
|
|
48
|
+
"type": "object",
|
|
49
|
+
"properties": {
|
|
50
|
+
"type": {
|
|
51
|
+
"type": "string",
|
|
52
|
+
"const": "crm:E55_Type"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"required": [
|
|
56
|
+
"type"
|
|
57
|
+
],
|
|
58
|
+
"nullable": true
|
|
59
59
|
},
|
|
60
|
-
{
|
|
61
|
-
"type": "
|
|
62
|
-
"
|
|
60
|
+
"describing": {
|
|
61
|
+
"type": "object",
|
|
62
|
+
"properties": {
|
|
63
|
+
"type": {
|
|
64
|
+
"type": "string",
|
|
65
|
+
"const": "crm:E55_Type"
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"required": [
|
|
69
|
+
"type"
|
|
70
|
+
],
|
|
71
|
+
"nullable": true
|
|
72
|
+
},
|
|
73
|
+
"correcting": {
|
|
74
|
+
"type": "object",
|
|
75
|
+
"properties": {
|
|
76
|
+
"type": {
|
|
77
|
+
"type": "string",
|
|
78
|
+
"const": "crm:E55_Type"
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"required": [
|
|
82
|
+
"type"
|
|
83
|
+
],
|
|
84
|
+
"nullable": true
|
|
85
|
+
},
|
|
86
|
+
"tagging": {
|
|
87
|
+
"type": "object",
|
|
88
|
+
"properties": {
|
|
89
|
+
"type": {
|
|
90
|
+
"type": "string",
|
|
91
|
+
"const": "crm:E55_Type"
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
"required": [
|
|
95
|
+
"type"
|
|
96
|
+
],
|
|
97
|
+
"nullable": true
|
|
98
|
+
},
|
|
99
|
+
"classifying": {
|
|
100
|
+
"type": "object",
|
|
101
|
+
"properties": {
|
|
102
|
+
"type": {
|
|
103
|
+
"type": "string",
|
|
104
|
+
"const": "crm:E55_Type"
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
"required": [
|
|
108
|
+
"type"
|
|
109
|
+
],
|
|
110
|
+
"nullable": true
|
|
111
|
+
},
|
|
112
|
+
"linking": {
|
|
113
|
+
"type": "object",
|
|
114
|
+
"properties": {
|
|
115
|
+
"type": {
|
|
116
|
+
"type": "string",
|
|
117
|
+
"const": "crm:E55_Type"
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
"required": [
|
|
121
|
+
"type"
|
|
122
|
+
],
|
|
123
|
+
"nullable": true
|
|
124
|
+
},
|
|
125
|
+
"citing": {
|
|
126
|
+
"type": "object",
|
|
127
|
+
"properties": {
|
|
128
|
+
"type": {
|
|
129
|
+
"type": "string",
|
|
130
|
+
"const": "crm:E55_Type"
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
"required": [
|
|
134
|
+
"type"
|
|
135
|
+
],
|
|
136
|
+
"nullable": true
|
|
63
137
|
}
|
|
64
|
-
|
|
65
|
-
"description": "The relationship between an Annotation and a Motivation."
|
|
138
|
+
}
|
|
66
139
|
},
|
|
67
140
|
"created": {
|
|
68
141
|
"type": "string",
|
|
@@ -150,6 +223,7 @@
|
|
|
150
223
|
"body",
|
|
151
224
|
"status"
|
|
152
225
|
],
|
|
226
|
+
"additionalProperties": false,
|
|
153
227
|
"allOf": [
|
|
154
228
|
{
|
|
155
229
|
"if": {
|
|
@@ -357,19 +431,18 @@
|
|
|
357
431
|
"type": "object",
|
|
358
432
|
"properties": {
|
|
359
433
|
"motivation": {
|
|
360
|
-
"type": "
|
|
361
|
-
"
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
"const": "crm:E55_Type"
|
|
434
|
+
"type": "object",
|
|
435
|
+
"properties": {
|
|
436
|
+
"identifying": {
|
|
437
|
+
"type": "object",
|
|
438
|
+
"properties": {
|
|
439
|
+
"type": {
|
|
440
|
+
"type": "string",
|
|
441
|
+
"const": "crm:E55_Type"
|
|
442
|
+
}
|
|
443
|
+
}
|
|
371
444
|
}
|
|
372
|
-
|
|
445
|
+
}
|
|
373
446
|
}
|
|
374
447
|
}
|
|
375
448
|
},
|
|
@@ -392,19 +465,18 @@
|
|
|
392
465
|
"type": "object",
|
|
393
466
|
"properties": {
|
|
394
467
|
"motivation": {
|
|
395
|
-
"type": "
|
|
396
|
-
"
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
"const": "crm:E55_Type"
|
|
468
|
+
"type": "object",
|
|
469
|
+
"properties": {
|
|
470
|
+
"describing": {
|
|
471
|
+
"type": "object",
|
|
472
|
+
"properties": {
|
|
473
|
+
"type": {
|
|
474
|
+
"type": "string",
|
|
475
|
+
"const": "crm:E55_Type"
|
|
476
|
+
}
|
|
477
|
+
}
|
|
406
478
|
}
|
|
407
|
-
|
|
479
|
+
}
|
|
408
480
|
}
|
|
409
481
|
}
|
|
410
482
|
},
|
|
@@ -438,19 +510,18 @@
|
|
|
438
510
|
"type": "object",
|
|
439
511
|
"properties": {
|
|
440
512
|
"motivation": {
|
|
441
|
-
"type": "
|
|
442
|
-
"
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
"const": "crm:E55_Type"
|
|
513
|
+
"type": "object",
|
|
514
|
+
"properties": {
|
|
515
|
+
"correcting": {
|
|
516
|
+
"type": "object",
|
|
517
|
+
"properties": {
|
|
518
|
+
"type": {
|
|
519
|
+
"type": "string",
|
|
520
|
+
"const": "crm:E55_Type"
|
|
521
|
+
}
|
|
522
|
+
}
|
|
452
523
|
}
|
|
453
|
-
|
|
524
|
+
}
|
|
454
525
|
}
|
|
455
526
|
}
|
|
456
527
|
},
|
|
@@ -484,19 +555,18 @@
|
|
|
484
555
|
"type": "object",
|
|
485
556
|
"properties": {
|
|
486
557
|
"motivation": {
|
|
487
|
-
"type": "
|
|
488
|
-
"
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
"const": "crm:E55_Type"
|
|
558
|
+
"type": "object",
|
|
559
|
+
"properties": {
|
|
560
|
+
"tagging": {
|
|
561
|
+
"type": "object",
|
|
562
|
+
"properties": {
|
|
563
|
+
"type": {
|
|
564
|
+
"type": "string",
|
|
565
|
+
"const": "crm:E55_Type"
|
|
566
|
+
}
|
|
567
|
+
}
|
|
498
568
|
}
|
|
499
|
-
|
|
569
|
+
}
|
|
500
570
|
}
|
|
501
571
|
}
|
|
502
572
|
},
|
|
@@ -530,19 +600,18 @@
|
|
|
530
600
|
"type": "object",
|
|
531
601
|
"properties": {
|
|
532
602
|
"motivation": {
|
|
533
|
-
"type": "
|
|
534
|
-
"
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
"const": "crm:E55_Type"
|
|
603
|
+
"type": "object",
|
|
604
|
+
"properties": {
|
|
605
|
+
"classifying": {
|
|
606
|
+
"type": "object",
|
|
607
|
+
"properties": {
|
|
608
|
+
"type": {
|
|
609
|
+
"type": "string",
|
|
610
|
+
"const": "crm:E55_Type"
|
|
611
|
+
}
|
|
612
|
+
}
|
|
544
613
|
}
|
|
545
|
-
|
|
614
|
+
}
|
|
546
615
|
}
|
|
547
616
|
}
|
|
548
617
|
},
|
|
@@ -565,19 +634,18 @@
|
|
|
565
634
|
"type": "object",
|
|
566
635
|
"properties": {
|
|
567
636
|
"motivation": {
|
|
568
|
-
"type": "
|
|
569
|
-
"
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
"const": "crm:E55_Type"
|
|
637
|
+
"type": "object",
|
|
638
|
+
"properties": {
|
|
639
|
+
"linking": {
|
|
640
|
+
"type": "object",
|
|
641
|
+
"properties": {
|
|
642
|
+
"type": {
|
|
643
|
+
"type": "string",
|
|
644
|
+
"const": "crm:E55_Type"
|
|
645
|
+
}
|
|
646
|
+
}
|
|
579
647
|
}
|
|
580
|
-
|
|
648
|
+
}
|
|
581
649
|
}
|
|
582
650
|
}
|
|
583
651
|
},
|
|
@@ -611,19 +679,18 @@
|
|
|
611
679
|
"type": "object",
|
|
612
680
|
"properties": {
|
|
613
681
|
"motivation": {
|
|
614
|
-
"type": "
|
|
615
|
-
"
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
"const": "crm:E55_Type"
|
|
682
|
+
"type": "object",
|
|
683
|
+
"properties": {
|
|
684
|
+
"citing": {
|
|
685
|
+
"type": "object",
|
|
686
|
+
"properties": {
|
|
687
|
+
"type": {
|
|
688
|
+
"type": "string",
|
|
689
|
+
"const": "crm:E55_Type"
|
|
690
|
+
}
|
|
691
|
+
}
|
|
625
692
|
}
|
|
626
|
-
|
|
693
|
+
}
|
|
627
694
|
}
|
|
628
695
|
}
|
|
629
696
|
}
|
|
@@ -634,6 +701,5 @@
|
|
|
634
701
|
}
|
|
635
702
|
}
|
|
636
703
|
}
|
|
637
|
-
]
|
|
638
|
-
"additionalProperties": false
|
|
704
|
+
]
|
|
639
705
|
}
|