@lincs.project/webannotation-schema 1.2.2 → 1.2.3
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 +56 -56
- package/dist/index.d.ts +56 -56
- package/dist/index.js +1 -4
- package/dist/index.mjs +1 -4
- package/dist/v1/jsonld/defs.jsonld +0 -6
- package/dist/v1/standalone/linc-wa-validator.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3657,7 +3657,7 @@ var Body = import_zod17.z.object({
|
|
|
3657
3657
|
id: import_zod17.z.string().url().describe(bodyIdDescription),
|
|
3658
3658
|
type: import_zod17.z.literal("TextualBody").optional(),
|
|
3659
3659
|
entityType: BodyEntityType,
|
|
3660
|
-
additionalType: import_zod17.z.union([import_zod17.z.string(), import_zod17.z.string().array()]).
|
|
3660
|
+
additionalType: import_zod17.z.union([import_zod17.z.string(), import_zod17.z.string().array()]).nullish().describe("Extra types that refines the body"),
|
|
3661
3661
|
value: import_zod17.z.string().describe("The value of the body").optional(),
|
|
3662
3662
|
certainty: Certainty.optional(),
|
|
3663
3663
|
precision: Precision.optional(),
|
|
@@ -3818,7 +3818,6 @@ var textPositionSelectorExtendedSchema = {
|
|
|
3818
3818
|
{ $ref: "defs.jsonld#/definitions/textPositionSelector" },
|
|
3819
3819
|
{ $ref: "defs.jsonld#/definitions/textQuoteSelector" }
|
|
3820
3820
|
],
|
|
3821
|
-
nullable: true,
|
|
3822
3821
|
required: []
|
|
3823
3822
|
}
|
|
3824
3823
|
},
|
|
@@ -3883,7 +3882,6 @@ var textQuoteSelectorExtendedSchema = {
|
|
|
3883
3882
|
{ $ref: "defs.jsonld#/definitions/textPositionSelector" },
|
|
3884
3883
|
{ $ref: "defs.jsonld#/definitions/textQuoteSelector" }
|
|
3885
3884
|
],
|
|
3886
|
-
nullable: true,
|
|
3887
3885
|
required: []
|
|
3888
3886
|
}
|
|
3889
3887
|
},
|
|
@@ -3933,7 +3931,6 @@ var xpathSelectorExtendedSchema = {
|
|
|
3933
3931
|
{ $ref: "defs.jsonld#/definitions/textPositionSelector" },
|
|
3934
3932
|
{ $ref: "defs.jsonld#/definitions/textQuoteSelector" }
|
|
3935
3933
|
],
|
|
3936
|
-
nullable: true,
|
|
3937
3934
|
required: []
|
|
3938
3935
|
}
|
|
3939
3936
|
},
|
package/dist/index.mjs
CHANGED
|
@@ -3539,7 +3539,7 @@ var Body = z17.object({
|
|
|
3539
3539
|
id: z17.string().url().describe(bodyIdDescription),
|
|
3540
3540
|
type: z17.literal("TextualBody").optional(),
|
|
3541
3541
|
entityType: BodyEntityType,
|
|
3542
|
-
additionalType: z17.union([z17.string(), z17.string().array()]).
|
|
3542
|
+
additionalType: z17.union([z17.string(), z17.string().array()]).nullish().describe("Extra types that refines the body"),
|
|
3543
3543
|
value: z17.string().describe("The value of the body").optional(),
|
|
3544
3544
|
certainty: Certainty.optional(),
|
|
3545
3545
|
precision: Precision.optional(),
|
|
@@ -3700,7 +3700,6 @@ var textPositionSelectorExtendedSchema = {
|
|
|
3700
3700
|
{ $ref: "defs.jsonld#/definitions/textPositionSelector" },
|
|
3701
3701
|
{ $ref: "defs.jsonld#/definitions/textQuoteSelector" }
|
|
3702
3702
|
],
|
|
3703
|
-
nullable: true,
|
|
3704
3703
|
required: []
|
|
3705
3704
|
}
|
|
3706
3705
|
},
|
|
@@ -3765,7 +3764,6 @@ var textQuoteSelectorExtendedSchema = {
|
|
|
3765
3764
|
{ $ref: "defs.jsonld#/definitions/textPositionSelector" },
|
|
3766
3765
|
{ $ref: "defs.jsonld#/definitions/textQuoteSelector" }
|
|
3767
3766
|
],
|
|
3768
|
-
nullable: true,
|
|
3769
3767
|
required: []
|
|
3770
3768
|
}
|
|
3771
3769
|
},
|
|
@@ -3815,7 +3813,6 @@ var xpathSelectorExtendedSchema = {
|
|
|
3815
3813
|
{ $ref: "defs.jsonld#/definitions/textPositionSelector" },
|
|
3816
3814
|
{ $ref: "defs.jsonld#/definitions/textQuoteSelector" }
|
|
3817
3815
|
],
|
|
3818
|
-
nullable: true,
|
|
3819
3816
|
required: []
|
|
3820
3817
|
}
|
|
3821
3818
|
},
|
|
@@ -220,7 +220,6 @@
|
|
|
220
220
|
"$ref": "defs.jsonld#/definitions/textQuoteSelector"
|
|
221
221
|
}
|
|
222
222
|
],
|
|
223
|
-
"nullable": true,
|
|
224
223
|
"required": []
|
|
225
224
|
}
|
|
226
225
|
},
|
|
@@ -276,7 +275,6 @@
|
|
|
276
275
|
"$ref": "defs.jsonld#/definitions/textQuoteSelector"
|
|
277
276
|
}
|
|
278
277
|
],
|
|
279
|
-
"nullable": true,
|
|
280
278
|
"required": []
|
|
281
279
|
}
|
|
282
280
|
},
|
|
@@ -325,7 +323,6 @@
|
|
|
325
323
|
"$ref": "defs.jsonld#/definitions/textQuoteSelector"
|
|
326
324
|
}
|
|
327
325
|
],
|
|
328
|
-
"nullable": true,
|
|
329
326
|
"required": []
|
|
330
327
|
}
|
|
331
328
|
},
|
|
@@ -427,7 +424,6 @@
|
|
|
427
424
|
"$ref": "defs.jsonld#/definitions/textQuoteSelector"
|
|
428
425
|
}
|
|
429
426
|
],
|
|
430
|
-
"nullable": true,
|
|
431
427
|
"required": []
|
|
432
428
|
}
|
|
433
429
|
},
|
|
@@ -483,7 +479,6 @@
|
|
|
483
479
|
"$ref": "defs.jsonld#/definitions/textQuoteSelector"
|
|
484
480
|
}
|
|
485
481
|
],
|
|
486
|
-
"nullable": true,
|
|
487
482
|
"required": []
|
|
488
483
|
}
|
|
489
484
|
},
|
|
@@ -532,7 +527,6 @@
|
|
|
532
527
|
"$ref": "defs.jsonld#/definitions/textQuoteSelector"
|
|
533
528
|
}
|
|
534
529
|
],
|
|
535
|
-
"nullable": true,
|
|
536
530
|
"required": []
|
|
537
531
|
}
|
|
538
532
|
},
|