@lincs.project/webannotation-schema 1.12.0 → 1.13.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 +30 -30
- package/dist/index.d.ts +30 -30
- package/dist/index.js +3 -10
- package/dist/index.mjs +3 -10
- package/dist/v1/jsonld/defs.jsonld +3 -10
- package/dist/v1/standalone/linc-wa-validator.js +1 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -1271,7 +1271,7 @@ type isIdentifiedBy = z.infer<typeof isIdentifiedBy>;
|
|
|
1271
1271
|
declare const Source: z.ZodObject<{
|
|
1272
1272
|
id: z.ZodString;
|
|
1273
1273
|
type: z.ZodLiteral<"crm:D1_Digital_Object">;
|
|
1274
|
-
format: z.
|
|
1274
|
+
format: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
1275
1275
|
P1_is_identified_by: z.ZodOptional<z.ZodObject<{
|
|
1276
1276
|
id: z.ZodString;
|
|
1277
1277
|
type: z.ZodLiteral<"crm:E33_E41_Linguistic_Appellation">;
|
|
@@ -1289,7 +1289,7 @@ declare const Source: z.ZodObject<{
|
|
|
1289
1289
|
}, "strip", z.ZodTypeAny, {
|
|
1290
1290
|
id: string;
|
|
1291
1291
|
type: "crm:D1_Digital_Object";
|
|
1292
|
-
format
|
|
1292
|
+
format: (string | string[]) & (string | string[] | undefined);
|
|
1293
1293
|
P1_is_identified_by?: {
|
|
1294
1294
|
id: string;
|
|
1295
1295
|
type: "crm:E33_E41_Linguistic_Appellation";
|
|
@@ -1299,7 +1299,7 @@ declare const Source: z.ZodObject<{
|
|
|
1299
1299
|
}, {
|
|
1300
1300
|
id: string;
|
|
1301
1301
|
type: "crm:D1_Digital_Object";
|
|
1302
|
-
format
|
|
1302
|
+
format: (string | string[]) & (string | string[] | undefined);
|
|
1303
1303
|
P1_is_identified_by?: {
|
|
1304
1304
|
id: string;
|
|
1305
1305
|
type: "crm:E33_E41_Linguistic_Appellation";
|
|
@@ -1317,7 +1317,7 @@ declare const Target: z.ZodObject<{
|
|
|
1317
1317
|
source: z.ZodObject<{
|
|
1318
1318
|
id: z.ZodString;
|
|
1319
1319
|
type: z.ZodLiteral<"crm:D1_Digital_Object">;
|
|
1320
|
-
format: z.
|
|
1320
|
+
format: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
1321
1321
|
P1_is_identified_by: z.ZodOptional<z.ZodObject<{
|
|
1322
1322
|
id: z.ZodString;
|
|
1323
1323
|
type: z.ZodLiteral<"crm:E33_E41_Linguistic_Appellation">;
|
|
@@ -1335,7 +1335,7 @@ declare const Target: z.ZodObject<{
|
|
|
1335
1335
|
}, "strip", z.ZodTypeAny, {
|
|
1336
1336
|
id: string;
|
|
1337
1337
|
type: "crm:D1_Digital_Object";
|
|
1338
|
-
format
|
|
1338
|
+
format: (string | string[]) & (string | string[] | undefined);
|
|
1339
1339
|
P1_is_identified_by?: {
|
|
1340
1340
|
id: string;
|
|
1341
1341
|
type: "crm:E33_E41_Linguistic_Appellation";
|
|
@@ -1345,7 +1345,7 @@ declare const Target: z.ZodObject<{
|
|
|
1345
1345
|
}, {
|
|
1346
1346
|
id: string;
|
|
1347
1347
|
type: "crm:D1_Digital_Object";
|
|
1348
|
-
format
|
|
1348
|
+
format: (string | string[]) & (string | string[] | undefined);
|
|
1349
1349
|
P1_is_identified_by?: {
|
|
1350
1350
|
id: string;
|
|
1351
1351
|
type: "crm:E33_E41_Linguistic_Appellation";
|
|
@@ -2067,7 +2067,7 @@ declare const Target: z.ZodObject<{
|
|
|
2067
2067
|
source: {
|
|
2068
2068
|
id: string;
|
|
2069
2069
|
type: "crm:D1_Digital_Object";
|
|
2070
|
-
format
|
|
2070
|
+
format: (string | string[]) & (string | string[] | undefined);
|
|
2071
2071
|
P1_is_identified_by?: {
|
|
2072
2072
|
id: string;
|
|
2073
2073
|
type: "crm:E33_E41_Linguistic_Appellation";
|
|
@@ -2249,7 +2249,7 @@ declare const Target: z.ZodObject<{
|
|
|
2249
2249
|
source: {
|
|
2250
2250
|
id: string;
|
|
2251
2251
|
type: "crm:D1_Digital_Object";
|
|
2252
|
-
format
|
|
2252
|
+
format: (string | string[]) & (string | string[] | undefined);
|
|
2253
2253
|
P1_is_identified_by?: {
|
|
2254
2254
|
id: string;
|
|
2255
2255
|
type: "crm:E33_E41_Linguistic_Appellation";
|
|
@@ -2574,7 +2574,7 @@ declare const WebAnnotation: z.ZodObject<{
|
|
|
2574
2574
|
source: z.ZodObject<{
|
|
2575
2575
|
id: z.ZodString;
|
|
2576
2576
|
type: z.ZodLiteral<"crm:D1_Digital_Object">;
|
|
2577
|
-
format: z.
|
|
2577
|
+
format: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
2578
2578
|
P1_is_identified_by: z.ZodOptional<z.ZodObject<{
|
|
2579
2579
|
id: z.ZodString;
|
|
2580
2580
|
type: z.ZodLiteral<"crm:E33_E41_Linguistic_Appellation">;
|
|
@@ -2592,7 +2592,7 @@ declare const WebAnnotation: z.ZodObject<{
|
|
|
2592
2592
|
}, "strip", z.ZodTypeAny, {
|
|
2593
2593
|
id: string;
|
|
2594
2594
|
type: "crm:D1_Digital_Object";
|
|
2595
|
-
format
|
|
2595
|
+
format: (string | string[]) & (string | string[] | undefined);
|
|
2596
2596
|
P1_is_identified_by?: {
|
|
2597
2597
|
id: string;
|
|
2598
2598
|
type: "crm:E33_E41_Linguistic_Appellation";
|
|
@@ -2602,7 +2602,7 @@ declare const WebAnnotation: z.ZodObject<{
|
|
|
2602
2602
|
}, {
|
|
2603
2603
|
id: string;
|
|
2604
2604
|
type: "crm:D1_Digital_Object";
|
|
2605
|
-
format
|
|
2605
|
+
format: (string | string[]) & (string | string[] | undefined);
|
|
2606
2606
|
P1_is_identified_by?: {
|
|
2607
2607
|
id: string;
|
|
2608
2608
|
type: "crm:E33_E41_Linguistic_Appellation";
|
|
@@ -3324,7 +3324,7 @@ declare const WebAnnotation: z.ZodObject<{
|
|
|
3324
3324
|
source: {
|
|
3325
3325
|
id: string;
|
|
3326
3326
|
type: "crm:D1_Digital_Object";
|
|
3327
|
-
format
|
|
3327
|
+
format: (string | string[]) & (string | string[] | undefined);
|
|
3328
3328
|
P1_is_identified_by?: {
|
|
3329
3329
|
id: string;
|
|
3330
3330
|
type: "crm:E33_E41_Linguistic_Appellation";
|
|
@@ -3506,7 +3506,7 @@ declare const WebAnnotation: z.ZodObject<{
|
|
|
3506
3506
|
source: {
|
|
3507
3507
|
id: string;
|
|
3508
3508
|
type: "crm:D1_Digital_Object";
|
|
3509
|
-
format
|
|
3509
|
+
format: (string | string[]) & (string | string[] | undefined);
|
|
3510
3510
|
P1_is_identified_by?: {
|
|
3511
3511
|
id: string;
|
|
3512
3512
|
type: "crm:E33_E41_Linguistic_Appellation";
|
|
@@ -3688,7 +3688,7 @@ declare const WebAnnotation: z.ZodObject<{
|
|
|
3688
3688
|
source: z.ZodObject<{
|
|
3689
3689
|
id: z.ZodString;
|
|
3690
3690
|
type: z.ZodLiteral<"crm:D1_Digital_Object">;
|
|
3691
|
-
format: z.
|
|
3691
|
+
format: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
3692
3692
|
P1_is_identified_by: z.ZodOptional<z.ZodObject<{
|
|
3693
3693
|
id: z.ZodString;
|
|
3694
3694
|
type: z.ZodLiteral<"crm:E33_E41_Linguistic_Appellation">;
|
|
@@ -3706,7 +3706,7 @@ declare const WebAnnotation: z.ZodObject<{
|
|
|
3706
3706
|
}, "strip", z.ZodTypeAny, {
|
|
3707
3707
|
id: string;
|
|
3708
3708
|
type: "crm:D1_Digital_Object";
|
|
3709
|
-
format
|
|
3709
|
+
format: (string | string[]) & (string | string[] | undefined);
|
|
3710
3710
|
P1_is_identified_by?: {
|
|
3711
3711
|
id: string;
|
|
3712
3712
|
type: "crm:E33_E41_Linguistic_Appellation";
|
|
@@ -3716,7 +3716,7 @@ declare const WebAnnotation: z.ZodObject<{
|
|
|
3716
3716
|
}, {
|
|
3717
3717
|
id: string;
|
|
3718
3718
|
type: "crm:D1_Digital_Object";
|
|
3719
|
-
format
|
|
3719
|
+
format: (string | string[]) & (string | string[] | undefined);
|
|
3720
3720
|
P1_is_identified_by?: {
|
|
3721
3721
|
id: string;
|
|
3722
3722
|
type: "crm:E33_E41_Linguistic_Appellation";
|
|
@@ -4438,7 +4438,7 @@ declare const WebAnnotation: z.ZodObject<{
|
|
|
4438
4438
|
source: {
|
|
4439
4439
|
id: string;
|
|
4440
4440
|
type: "crm:D1_Digital_Object";
|
|
4441
|
-
format
|
|
4441
|
+
format: (string | string[]) & (string | string[] | undefined);
|
|
4442
4442
|
P1_is_identified_by?: {
|
|
4443
4443
|
id: string;
|
|
4444
4444
|
type: "crm:E33_E41_Linguistic_Appellation";
|
|
@@ -4620,7 +4620,7 @@ declare const WebAnnotation: z.ZodObject<{
|
|
|
4620
4620
|
source: {
|
|
4621
4621
|
id: string;
|
|
4622
4622
|
type: "crm:D1_Digital_Object";
|
|
4623
|
-
format
|
|
4623
|
+
format: (string | string[]) & (string | string[] | undefined);
|
|
4624
4624
|
P1_is_identified_by?: {
|
|
4625
4625
|
id: string;
|
|
4626
4626
|
type: "crm:E33_E41_Linguistic_Appellation";
|
|
@@ -4928,7 +4928,7 @@ declare const WebAnnotation: z.ZodObject<{
|
|
|
4928
4928
|
source: {
|
|
4929
4929
|
id: string;
|
|
4930
4930
|
type: "crm:D1_Digital_Object";
|
|
4931
|
-
format
|
|
4931
|
+
format: (string | string[]) & (string | string[] | undefined);
|
|
4932
4932
|
P1_is_identified_by?: {
|
|
4933
4933
|
id: string;
|
|
4934
4934
|
type: "crm:E33_E41_Linguistic_Appellation";
|
|
@@ -5110,7 +5110,7 @@ declare const WebAnnotation: z.ZodObject<{
|
|
|
5110
5110
|
source: {
|
|
5111
5111
|
id: string;
|
|
5112
5112
|
type: "crm:D1_Digital_Object";
|
|
5113
|
-
format
|
|
5113
|
+
format: (string | string[]) & (string | string[] | undefined);
|
|
5114
5114
|
P1_is_identified_by?: {
|
|
5115
5115
|
id: string;
|
|
5116
5116
|
type: "crm:E33_E41_Linguistic_Appellation";
|
|
@@ -5292,7 +5292,7 @@ declare const WebAnnotation: z.ZodObject<{
|
|
|
5292
5292
|
source: {
|
|
5293
5293
|
id: string;
|
|
5294
5294
|
type: "crm:D1_Digital_Object";
|
|
5295
|
-
format
|
|
5295
|
+
format: (string | string[]) & (string | string[] | undefined);
|
|
5296
5296
|
P1_is_identified_by?: {
|
|
5297
5297
|
id: string;
|
|
5298
5298
|
type: "crm:E33_E41_Linguistic_Appellation";
|
|
@@ -5474,7 +5474,7 @@ declare const WebAnnotation: z.ZodObject<{
|
|
|
5474
5474
|
source: {
|
|
5475
5475
|
id: string;
|
|
5476
5476
|
type: "crm:D1_Digital_Object";
|
|
5477
|
-
format
|
|
5477
|
+
format: (string | string[]) & (string | string[] | undefined);
|
|
5478
5478
|
P1_is_identified_by?: {
|
|
5479
5479
|
id: string;
|
|
5480
5480
|
type: "crm:E33_E41_Linguistic_Appellation";
|
|
@@ -5837,7 +5837,7 @@ declare const WebAnnotation: z.ZodObject<{
|
|
|
5837
5837
|
source: {
|
|
5838
5838
|
id: string;
|
|
5839
5839
|
type: "crm:D1_Digital_Object";
|
|
5840
|
-
format
|
|
5840
|
+
format: (string | string[]) & (string | string[] | undefined);
|
|
5841
5841
|
P1_is_identified_by?: {
|
|
5842
5842
|
id: string;
|
|
5843
5843
|
type: "crm:E33_E41_Linguistic_Appellation";
|
|
@@ -6019,7 +6019,7 @@ declare const WebAnnotation: z.ZodObject<{
|
|
|
6019
6019
|
source: {
|
|
6020
6020
|
id: string;
|
|
6021
6021
|
type: "crm:D1_Digital_Object";
|
|
6022
|
-
format
|
|
6022
|
+
format: (string | string[]) & (string | string[] | undefined);
|
|
6023
6023
|
P1_is_identified_by?: {
|
|
6024
6024
|
id: string;
|
|
6025
6025
|
type: "crm:E33_E41_Linguistic_Appellation";
|
|
@@ -6201,7 +6201,7 @@ declare const WebAnnotation: z.ZodObject<{
|
|
|
6201
6201
|
source: {
|
|
6202
6202
|
id: string;
|
|
6203
6203
|
type: "crm:D1_Digital_Object";
|
|
6204
|
-
format
|
|
6204
|
+
format: (string | string[]) & (string | string[] | undefined);
|
|
6205
6205
|
P1_is_identified_by?: {
|
|
6206
6206
|
id: string;
|
|
6207
6207
|
type: "crm:E33_E41_Linguistic_Appellation";
|
|
@@ -6383,7 +6383,7 @@ declare const WebAnnotation: z.ZodObject<{
|
|
|
6383
6383
|
source: {
|
|
6384
6384
|
id: string;
|
|
6385
6385
|
type: "crm:D1_Digital_Object";
|
|
6386
|
-
format
|
|
6386
|
+
format: (string | string[]) & (string | string[] | undefined);
|
|
6387
6387
|
P1_is_identified_by?: {
|
|
6388
6388
|
id: string;
|
|
6389
6389
|
type: "crm:E33_E41_Linguistic_Appellation";
|
|
@@ -6829,7 +6829,7 @@ declare const validator: _ajv.ValidateFunction<Required<{
|
|
|
6829
6829
|
source: {
|
|
6830
6830
|
id: string;
|
|
6831
6831
|
type: "crm:D1_Digital_Object";
|
|
6832
|
-
format
|
|
6832
|
+
format: (string | string[]) & (string | string[] | undefined);
|
|
6833
6833
|
P1_is_identified_by?: {
|
|
6834
6834
|
id: string;
|
|
6835
6835
|
type: "crm:E33_E41_Linguistic_Appellation";
|
|
@@ -7011,7 +7011,7 @@ declare const validator: _ajv.ValidateFunction<Required<{
|
|
|
7011
7011
|
source: {
|
|
7012
7012
|
id: string;
|
|
7013
7013
|
type: "crm:D1_Digital_Object";
|
|
7014
|
-
format
|
|
7014
|
+
format: (string | string[]) & (string | string[] | undefined);
|
|
7015
7015
|
P1_is_identified_by?: {
|
|
7016
7016
|
id: string;
|
|
7017
7017
|
type: "crm:E33_E41_Linguistic_Appellation";
|
|
@@ -7193,7 +7193,7 @@ declare const validator: _ajv.ValidateFunction<Required<{
|
|
|
7193
7193
|
source: {
|
|
7194
7194
|
id: string;
|
|
7195
7195
|
type: "crm:D1_Digital_Object";
|
|
7196
|
-
format
|
|
7196
|
+
format: (string | string[]) & (string | string[] | undefined);
|
|
7197
7197
|
P1_is_identified_by?: {
|
|
7198
7198
|
id: string;
|
|
7199
7199
|
type: "crm:E33_E41_Linguistic_Appellation";
|
|
@@ -7375,7 +7375,7 @@ declare const validator: _ajv.ValidateFunction<Required<{
|
|
|
7375
7375
|
source: {
|
|
7376
7376
|
id: string;
|
|
7377
7377
|
type: "crm:D1_Digital_Object";
|
|
7378
|
-
format
|
|
7378
|
+
format: (string | string[]) & (string | string[] | undefined);
|
|
7379
7379
|
P1_is_identified_by?: {
|
|
7380
7380
|
id: string;
|
|
7381
7381
|
type: "crm:E33_E41_Linguistic_Appellation";
|
package/dist/index.d.ts
CHANGED
|
@@ -1271,7 +1271,7 @@ type isIdentifiedBy = z.infer<typeof isIdentifiedBy>;
|
|
|
1271
1271
|
declare const Source: z.ZodObject<{
|
|
1272
1272
|
id: z.ZodString;
|
|
1273
1273
|
type: z.ZodLiteral<"crm:D1_Digital_Object">;
|
|
1274
|
-
format: z.
|
|
1274
|
+
format: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
1275
1275
|
P1_is_identified_by: z.ZodOptional<z.ZodObject<{
|
|
1276
1276
|
id: z.ZodString;
|
|
1277
1277
|
type: z.ZodLiteral<"crm:E33_E41_Linguistic_Appellation">;
|
|
@@ -1289,7 +1289,7 @@ declare const Source: z.ZodObject<{
|
|
|
1289
1289
|
}, "strip", z.ZodTypeAny, {
|
|
1290
1290
|
id: string;
|
|
1291
1291
|
type: "crm:D1_Digital_Object";
|
|
1292
|
-
format
|
|
1292
|
+
format: (string | string[]) & (string | string[] | undefined);
|
|
1293
1293
|
P1_is_identified_by?: {
|
|
1294
1294
|
id: string;
|
|
1295
1295
|
type: "crm:E33_E41_Linguistic_Appellation";
|
|
@@ -1299,7 +1299,7 @@ declare const Source: z.ZodObject<{
|
|
|
1299
1299
|
}, {
|
|
1300
1300
|
id: string;
|
|
1301
1301
|
type: "crm:D1_Digital_Object";
|
|
1302
|
-
format
|
|
1302
|
+
format: (string | string[]) & (string | string[] | undefined);
|
|
1303
1303
|
P1_is_identified_by?: {
|
|
1304
1304
|
id: string;
|
|
1305
1305
|
type: "crm:E33_E41_Linguistic_Appellation";
|
|
@@ -1317,7 +1317,7 @@ declare const Target: z.ZodObject<{
|
|
|
1317
1317
|
source: z.ZodObject<{
|
|
1318
1318
|
id: z.ZodString;
|
|
1319
1319
|
type: z.ZodLiteral<"crm:D1_Digital_Object">;
|
|
1320
|
-
format: z.
|
|
1320
|
+
format: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
1321
1321
|
P1_is_identified_by: z.ZodOptional<z.ZodObject<{
|
|
1322
1322
|
id: z.ZodString;
|
|
1323
1323
|
type: z.ZodLiteral<"crm:E33_E41_Linguistic_Appellation">;
|
|
@@ -1335,7 +1335,7 @@ declare const Target: z.ZodObject<{
|
|
|
1335
1335
|
}, "strip", z.ZodTypeAny, {
|
|
1336
1336
|
id: string;
|
|
1337
1337
|
type: "crm:D1_Digital_Object";
|
|
1338
|
-
format
|
|
1338
|
+
format: (string | string[]) & (string | string[] | undefined);
|
|
1339
1339
|
P1_is_identified_by?: {
|
|
1340
1340
|
id: string;
|
|
1341
1341
|
type: "crm:E33_E41_Linguistic_Appellation";
|
|
@@ -1345,7 +1345,7 @@ declare const Target: z.ZodObject<{
|
|
|
1345
1345
|
}, {
|
|
1346
1346
|
id: string;
|
|
1347
1347
|
type: "crm:D1_Digital_Object";
|
|
1348
|
-
format
|
|
1348
|
+
format: (string | string[]) & (string | string[] | undefined);
|
|
1349
1349
|
P1_is_identified_by?: {
|
|
1350
1350
|
id: string;
|
|
1351
1351
|
type: "crm:E33_E41_Linguistic_Appellation";
|
|
@@ -2067,7 +2067,7 @@ declare const Target: z.ZodObject<{
|
|
|
2067
2067
|
source: {
|
|
2068
2068
|
id: string;
|
|
2069
2069
|
type: "crm:D1_Digital_Object";
|
|
2070
|
-
format
|
|
2070
|
+
format: (string | string[]) & (string | string[] | undefined);
|
|
2071
2071
|
P1_is_identified_by?: {
|
|
2072
2072
|
id: string;
|
|
2073
2073
|
type: "crm:E33_E41_Linguistic_Appellation";
|
|
@@ -2249,7 +2249,7 @@ declare const Target: z.ZodObject<{
|
|
|
2249
2249
|
source: {
|
|
2250
2250
|
id: string;
|
|
2251
2251
|
type: "crm:D1_Digital_Object";
|
|
2252
|
-
format
|
|
2252
|
+
format: (string | string[]) & (string | string[] | undefined);
|
|
2253
2253
|
P1_is_identified_by?: {
|
|
2254
2254
|
id: string;
|
|
2255
2255
|
type: "crm:E33_E41_Linguistic_Appellation";
|
|
@@ -2574,7 +2574,7 @@ declare const WebAnnotation: z.ZodObject<{
|
|
|
2574
2574
|
source: z.ZodObject<{
|
|
2575
2575
|
id: z.ZodString;
|
|
2576
2576
|
type: z.ZodLiteral<"crm:D1_Digital_Object">;
|
|
2577
|
-
format: z.
|
|
2577
|
+
format: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
2578
2578
|
P1_is_identified_by: z.ZodOptional<z.ZodObject<{
|
|
2579
2579
|
id: z.ZodString;
|
|
2580
2580
|
type: z.ZodLiteral<"crm:E33_E41_Linguistic_Appellation">;
|
|
@@ -2592,7 +2592,7 @@ declare const WebAnnotation: z.ZodObject<{
|
|
|
2592
2592
|
}, "strip", z.ZodTypeAny, {
|
|
2593
2593
|
id: string;
|
|
2594
2594
|
type: "crm:D1_Digital_Object";
|
|
2595
|
-
format
|
|
2595
|
+
format: (string | string[]) & (string | string[] | undefined);
|
|
2596
2596
|
P1_is_identified_by?: {
|
|
2597
2597
|
id: string;
|
|
2598
2598
|
type: "crm:E33_E41_Linguistic_Appellation";
|
|
@@ -2602,7 +2602,7 @@ declare const WebAnnotation: z.ZodObject<{
|
|
|
2602
2602
|
}, {
|
|
2603
2603
|
id: string;
|
|
2604
2604
|
type: "crm:D1_Digital_Object";
|
|
2605
|
-
format
|
|
2605
|
+
format: (string | string[]) & (string | string[] | undefined);
|
|
2606
2606
|
P1_is_identified_by?: {
|
|
2607
2607
|
id: string;
|
|
2608
2608
|
type: "crm:E33_E41_Linguistic_Appellation";
|
|
@@ -3324,7 +3324,7 @@ declare const WebAnnotation: z.ZodObject<{
|
|
|
3324
3324
|
source: {
|
|
3325
3325
|
id: string;
|
|
3326
3326
|
type: "crm:D1_Digital_Object";
|
|
3327
|
-
format
|
|
3327
|
+
format: (string | string[]) & (string | string[] | undefined);
|
|
3328
3328
|
P1_is_identified_by?: {
|
|
3329
3329
|
id: string;
|
|
3330
3330
|
type: "crm:E33_E41_Linguistic_Appellation";
|
|
@@ -3506,7 +3506,7 @@ declare const WebAnnotation: z.ZodObject<{
|
|
|
3506
3506
|
source: {
|
|
3507
3507
|
id: string;
|
|
3508
3508
|
type: "crm:D1_Digital_Object";
|
|
3509
|
-
format
|
|
3509
|
+
format: (string | string[]) & (string | string[] | undefined);
|
|
3510
3510
|
P1_is_identified_by?: {
|
|
3511
3511
|
id: string;
|
|
3512
3512
|
type: "crm:E33_E41_Linguistic_Appellation";
|
|
@@ -3688,7 +3688,7 @@ declare const WebAnnotation: z.ZodObject<{
|
|
|
3688
3688
|
source: z.ZodObject<{
|
|
3689
3689
|
id: z.ZodString;
|
|
3690
3690
|
type: z.ZodLiteral<"crm:D1_Digital_Object">;
|
|
3691
|
-
format: z.
|
|
3691
|
+
format: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
3692
3692
|
P1_is_identified_by: z.ZodOptional<z.ZodObject<{
|
|
3693
3693
|
id: z.ZodString;
|
|
3694
3694
|
type: z.ZodLiteral<"crm:E33_E41_Linguistic_Appellation">;
|
|
@@ -3706,7 +3706,7 @@ declare const WebAnnotation: z.ZodObject<{
|
|
|
3706
3706
|
}, "strip", z.ZodTypeAny, {
|
|
3707
3707
|
id: string;
|
|
3708
3708
|
type: "crm:D1_Digital_Object";
|
|
3709
|
-
format
|
|
3709
|
+
format: (string | string[]) & (string | string[] | undefined);
|
|
3710
3710
|
P1_is_identified_by?: {
|
|
3711
3711
|
id: string;
|
|
3712
3712
|
type: "crm:E33_E41_Linguistic_Appellation";
|
|
@@ -3716,7 +3716,7 @@ declare const WebAnnotation: z.ZodObject<{
|
|
|
3716
3716
|
}, {
|
|
3717
3717
|
id: string;
|
|
3718
3718
|
type: "crm:D1_Digital_Object";
|
|
3719
|
-
format
|
|
3719
|
+
format: (string | string[]) & (string | string[] | undefined);
|
|
3720
3720
|
P1_is_identified_by?: {
|
|
3721
3721
|
id: string;
|
|
3722
3722
|
type: "crm:E33_E41_Linguistic_Appellation";
|
|
@@ -4438,7 +4438,7 @@ declare const WebAnnotation: z.ZodObject<{
|
|
|
4438
4438
|
source: {
|
|
4439
4439
|
id: string;
|
|
4440
4440
|
type: "crm:D1_Digital_Object";
|
|
4441
|
-
format
|
|
4441
|
+
format: (string | string[]) & (string | string[] | undefined);
|
|
4442
4442
|
P1_is_identified_by?: {
|
|
4443
4443
|
id: string;
|
|
4444
4444
|
type: "crm:E33_E41_Linguistic_Appellation";
|
|
@@ -4620,7 +4620,7 @@ declare const WebAnnotation: z.ZodObject<{
|
|
|
4620
4620
|
source: {
|
|
4621
4621
|
id: string;
|
|
4622
4622
|
type: "crm:D1_Digital_Object";
|
|
4623
|
-
format
|
|
4623
|
+
format: (string | string[]) & (string | string[] | undefined);
|
|
4624
4624
|
P1_is_identified_by?: {
|
|
4625
4625
|
id: string;
|
|
4626
4626
|
type: "crm:E33_E41_Linguistic_Appellation";
|
|
@@ -4928,7 +4928,7 @@ declare const WebAnnotation: z.ZodObject<{
|
|
|
4928
4928
|
source: {
|
|
4929
4929
|
id: string;
|
|
4930
4930
|
type: "crm:D1_Digital_Object";
|
|
4931
|
-
format
|
|
4931
|
+
format: (string | string[]) & (string | string[] | undefined);
|
|
4932
4932
|
P1_is_identified_by?: {
|
|
4933
4933
|
id: string;
|
|
4934
4934
|
type: "crm:E33_E41_Linguistic_Appellation";
|
|
@@ -5110,7 +5110,7 @@ declare const WebAnnotation: z.ZodObject<{
|
|
|
5110
5110
|
source: {
|
|
5111
5111
|
id: string;
|
|
5112
5112
|
type: "crm:D1_Digital_Object";
|
|
5113
|
-
format
|
|
5113
|
+
format: (string | string[]) & (string | string[] | undefined);
|
|
5114
5114
|
P1_is_identified_by?: {
|
|
5115
5115
|
id: string;
|
|
5116
5116
|
type: "crm:E33_E41_Linguistic_Appellation";
|
|
@@ -5292,7 +5292,7 @@ declare const WebAnnotation: z.ZodObject<{
|
|
|
5292
5292
|
source: {
|
|
5293
5293
|
id: string;
|
|
5294
5294
|
type: "crm:D1_Digital_Object";
|
|
5295
|
-
format
|
|
5295
|
+
format: (string | string[]) & (string | string[] | undefined);
|
|
5296
5296
|
P1_is_identified_by?: {
|
|
5297
5297
|
id: string;
|
|
5298
5298
|
type: "crm:E33_E41_Linguistic_Appellation";
|
|
@@ -5474,7 +5474,7 @@ declare const WebAnnotation: z.ZodObject<{
|
|
|
5474
5474
|
source: {
|
|
5475
5475
|
id: string;
|
|
5476
5476
|
type: "crm:D1_Digital_Object";
|
|
5477
|
-
format
|
|
5477
|
+
format: (string | string[]) & (string | string[] | undefined);
|
|
5478
5478
|
P1_is_identified_by?: {
|
|
5479
5479
|
id: string;
|
|
5480
5480
|
type: "crm:E33_E41_Linguistic_Appellation";
|
|
@@ -5837,7 +5837,7 @@ declare const WebAnnotation: z.ZodObject<{
|
|
|
5837
5837
|
source: {
|
|
5838
5838
|
id: string;
|
|
5839
5839
|
type: "crm:D1_Digital_Object";
|
|
5840
|
-
format
|
|
5840
|
+
format: (string | string[]) & (string | string[] | undefined);
|
|
5841
5841
|
P1_is_identified_by?: {
|
|
5842
5842
|
id: string;
|
|
5843
5843
|
type: "crm:E33_E41_Linguistic_Appellation";
|
|
@@ -6019,7 +6019,7 @@ declare const WebAnnotation: z.ZodObject<{
|
|
|
6019
6019
|
source: {
|
|
6020
6020
|
id: string;
|
|
6021
6021
|
type: "crm:D1_Digital_Object";
|
|
6022
|
-
format
|
|
6022
|
+
format: (string | string[]) & (string | string[] | undefined);
|
|
6023
6023
|
P1_is_identified_by?: {
|
|
6024
6024
|
id: string;
|
|
6025
6025
|
type: "crm:E33_E41_Linguistic_Appellation";
|
|
@@ -6201,7 +6201,7 @@ declare const WebAnnotation: z.ZodObject<{
|
|
|
6201
6201
|
source: {
|
|
6202
6202
|
id: string;
|
|
6203
6203
|
type: "crm:D1_Digital_Object";
|
|
6204
|
-
format
|
|
6204
|
+
format: (string | string[]) & (string | string[] | undefined);
|
|
6205
6205
|
P1_is_identified_by?: {
|
|
6206
6206
|
id: string;
|
|
6207
6207
|
type: "crm:E33_E41_Linguistic_Appellation";
|
|
@@ -6383,7 +6383,7 @@ declare const WebAnnotation: z.ZodObject<{
|
|
|
6383
6383
|
source: {
|
|
6384
6384
|
id: string;
|
|
6385
6385
|
type: "crm:D1_Digital_Object";
|
|
6386
|
-
format
|
|
6386
|
+
format: (string | string[]) & (string | string[] | undefined);
|
|
6387
6387
|
P1_is_identified_by?: {
|
|
6388
6388
|
id: string;
|
|
6389
6389
|
type: "crm:E33_E41_Linguistic_Appellation";
|
|
@@ -6829,7 +6829,7 @@ declare const validator: _ajv.ValidateFunction<Required<{
|
|
|
6829
6829
|
source: {
|
|
6830
6830
|
id: string;
|
|
6831
6831
|
type: "crm:D1_Digital_Object";
|
|
6832
|
-
format
|
|
6832
|
+
format: (string | string[]) & (string | string[] | undefined);
|
|
6833
6833
|
P1_is_identified_by?: {
|
|
6834
6834
|
id: string;
|
|
6835
6835
|
type: "crm:E33_E41_Linguistic_Appellation";
|
|
@@ -7011,7 +7011,7 @@ declare const validator: _ajv.ValidateFunction<Required<{
|
|
|
7011
7011
|
source: {
|
|
7012
7012
|
id: string;
|
|
7013
7013
|
type: "crm:D1_Digital_Object";
|
|
7014
|
-
format
|
|
7014
|
+
format: (string | string[]) & (string | string[] | undefined);
|
|
7015
7015
|
P1_is_identified_by?: {
|
|
7016
7016
|
id: string;
|
|
7017
7017
|
type: "crm:E33_E41_Linguistic_Appellation";
|
|
@@ -7193,7 +7193,7 @@ declare const validator: _ajv.ValidateFunction<Required<{
|
|
|
7193
7193
|
source: {
|
|
7194
7194
|
id: string;
|
|
7195
7195
|
type: "crm:D1_Digital_Object";
|
|
7196
|
-
format
|
|
7196
|
+
format: (string | string[]) & (string | string[] | undefined);
|
|
7197
7197
|
P1_is_identified_by?: {
|
|
7198
7198
|
id: string;
|
|
7199
7199
|
type: "crm:E33_E41_Linguistic_Appellation";
|
|
@@ -7375,7 +7375,7 @@ declare const validator: _ajv.ValidateFunction<Required<{
|
|
|
7375
7375
|
source: {
|
|
7376
7376
|
id: string;
|
|
7377
7377
|
type: "crm:D1_Digital_Object";
|
|
7378
|
-
format
|
|
7378
|
+
format: (string | string[]) & (string | string[] | undefined);
|
|
7379
7379
|
P1_is_identified_by?: {
|
|
7380
7380
|
id: string;
|
|
7381
7381
|
type: "crm:E33_E41_Linguistic_Appellation";
|
package/dist/index.js
CHANGED
|
@@ -1478,12 +1478,12 @@ var sourceIdDescription = "The IRI that identifies the Target source.";
|
|
|
1478
1478
|
var isIdentifiedBy = import_zod24.z.object({
|
|
1479
1479
|
id: import_zod24.z.string().url(),
|
|
1480
1480
|
type: import_zod24.z.literal("crm:E33_E41_Linguistic_Appellation"),
|
|
1481
|
-
title: import_zod24.z.string().min(1
|
|
1481
|
+
title: import_zod24.z.string().min(1).describe("The title of the document being annotated.")
|
|
1482
1482
|
});
|
|
1483
1483
|
var Source = import_zod24.z.object({
|
|
1484
1484
|
id: import_zod24.z.string().url().describe(sourceIdDescription),
|
|
1485
1485
|
type: import_zod24.z.literal("crm:D1_Digital_Object"),
|
|
1486
|
-
format: import_zod24.z.union([Format, import_zod24.z.array(Format).min(1)]).
|
|
1486
|
+
format: import_zod24.z.union([Format, import_zod24.z.array(Format).min(1)]).describe(
|
|
1487
1487
|
"The formats of the Web Resource's content. The value of the property should and array of media-types of the format, following the [rfc6838] specification."
|
|
1488
1488
|
),
|
|
1489
1489
|
P1_is_identified_by: isIdentifiedBy.optional(),
|
|
@@ -1513,7 +1513,6 @@ var sourceSchema = {
|
|
|
1513
1513
|
type: { type: "string", const: "crm:D1_Digital_Object" },
|
|
1514
1514
|
format: {
|
|
1515
1515
|
type: ["string", "array"],
|
|
1516
|
-
nullable: true,
|
|
1517
1516
|
anyOf: [
|
|
1518
1517
|
formatSchema,
|
|
1519
1518
|
{
|
|
@@ -1537,15 +1536,9 @@ var sourceSchema = {
|
|
|
1537
1536
|
description: "The languages of the Web Resource's content. The value of the property should be an array of language code following the [bcp47] specification."
|
|
1538
1537
|
}
|
|
1539
1538
|
]
|
|
1540
|
-
},
|
|
1541
|
-
title: {
|
|
1542
|
-
type: "string",
|
|
1543
|
-
minLength: 1,
|
|
1544
|
-
nullable: true,
|
|
1545
|
-
description: "The title of the document being annotated."
|
|
1546
1539
|
}
|
|
1547
1540
|
},
|
|
1548
|
-
required: ["id", "type"]
|
|
1541
|
+
required: ["id", "type", "format"]
|
|
1549
1542
|
};
|
|
1550
1543
|
|
|
1551
1544
|
// src/v1/schema/definitions/target/index.ts
|
package/dist/index.mjs
CHANGED
|
@@ -1327,12 +1327,12 @@ var sourceIdDescription = "The IRI that identifies the Target source.";
|
|
|
1327
1327
|
var isIdentifiedBy = z24.object({
|
|
1328
1328
|
id: z24.string().url(),
|
|
1329
1329
|
type: z24.literal("crm:E33_E41_Linguistic_Appellation"),
|
|
1330
|
-
title: z24.string().min(1
|
|
1330
|
+
title: z24.string().min(1).describe("The title of the document being annotated.")
|
|
1331
1331
|
});
|
|
1332
1332
|
var Source = z24.object({
|
|
1333
1333
|
id: z24.string().url().describe(sourceIdDescription),
|
|
1334
1334
|
type: z24.literal("crm:D1_Digital_Object"),
|
|
1335
|
-
format: z24.union([Format, z24.array(Format).min(1)]).
|
|
1335
|
+
format: z24.union([Format, z24.array(Format).min(1)]).describe(
|
|
1336
1336
|
"The formats of the Web Resource's content. The value of the property should and array of media-types of the format, following the [rfc6838] specification."
|
|
1337
1337
|
),
|
|
1338
1338
|
P1_is_identified_by: isIdentifiedBy.optional(),
|
|
@@ -1362,7 +1362,6 @@ var sourceSchema = {
|
|
|
1362
1362
|
type: { type: "string", const: "crm:D1_Digital_Object" },
|
|
1363
1363
|
format: {
|
|
1364
1364
|
type: ["string", "array"],
|
|
1365
|
-
nullable: true,
|
|
1366
1365
|
anyOf: [
|
|
1367
1366
|
formatSchema,
|
|
1368
1367
|
{
|
|
@@ -1386,15 +1385,9 @@ var sourceSchema = {
|
|
|
1386
1385
|
description: "The languages of the Web Resource's content. The value of the property should be an array of language code following the [bcp47] specification."
|
|
1387
1386
|
}
|
|
1388
1387
|
]
|
|
1389
|
-
},
|
|
1390
|
-
title: {
|
|
1391
|
-
type: "string",
|
|
1392
|
-
minLength: 1,
|
|
1393
|
-
nullable: true,
|
|
1394
|
-
description: "The title of the document being annotated."
|
|
1395
1388
|
}
|
|
1396
1389
|
},
|
|
1397
|
-
required: ["id", "type"]
|
|
1390
|
+
required: ["id", "type", "format"]
|
|
1398
1391
|
};
|
|
1399
1392
|
|
|
1400
1393
|
// src/v1/schema/definitions/target/index.ts
|
|
@@ -136,10 +136,8 @@
|
|
|
136
136
|
"format": {
|
|
137
137
|
"type": [
|
|
138
138
|
"string",
|
|
139
|
-
"array"
|
|
140
|
-
"null"
|
|
139
|
+
"array"
|
|
141
140
|
],
|
|
142
|
-
"nullable": true,
|
|
143
141
|
"anyOf": [
|
|
144
142
|
{
|
|
145
143
|
"type": "string",
|
|
@@ -209,17 +207,12 @@
|
|
|
209
207
|
"description": "The languages of the Web Resource's content. The value of the property should be an array of language code following the [bcp47] specification."
|
|
210
208
|
}
|
|
211
209
|
]
|
|
212
|
-
},
|
|
213
|
-
"title": {
|
|
214
|
-
"type": "string",
|
|
215
|
-
"minLength": 1,
|
|
216
|
-
"nullable": true,
|
|
217
|
-
"description": "The title of the document being annotated."
|
|
218
210
|
}
|
|
219
211
|
},
|
|
220
212
|
"required": [
|
|
221
213
|
"id",
|
|
222
|
-
"type"
|
|
214
|
+
"type",
|
|
215
|
+
"format"
|
|
223
216
|
]
|
|
224
217
|
},
|
|
225
218
|
"renderedVia": {
|