@lincs.project/webannotation-schema 1.0.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.
Files changed (119) hide show
  1. package/LICENSE +661 -0
  2. package/README.md +155 -0
  3. package/dist/context.jsonld +24 -0
  4. package/dist/defs.jsonld +949 -0
  5. package/dist/schema.jsonld +621 -0
  6. package/dist/validate.js +1 -0
  7. package/lib/index.d.ts +145 -0
  8. package/lib/index.d.ts.map +1 -0
  9. package/lib/index.js +13 -0
  10. package/lib/index.js.map +1 -0
  11. package/lib/schema/config.d.ts +4 -0
  12. package/lib/schema/config.d.ts.map +1 -0
  13. package/lib/schema/config.js +4 -0
  14. package/lib/schema/config.js.map +1 -0
  15. package/lib/schema/context.d.ts +25 -0
  16. package/lib/schema/context.d.ts.map +1 -0
  17. package/lib/schema/context.js +25 -0
  18. package/lib/schema/context.js.map +1 -0
  19. package/lib/schema/definitions/agent.d.ts +36 -0
  20. package/lib/schema/definitions/agent.d.ts.map +1 -0
  21. package/lib/schema/definitions/agent.js +82 -0
  22. package/lib/schema/definitions/agent.js.map +1 -0
  23. package/lib/schema/definitions/body/citation.d.ts +27 -0
  24. package/lib/schema/definitions/body/citation.d.ts.map +1 -0
  25. package/lib/schema/definitions/body/citation.js +53 -0
  26. package/lib/schema/definitions/body/citation.js.map +1 -0
  27. package/lib/schema/definitions/body/common.d.ts +17 -0
  28. package/lib/schema/definitions/body/common.d.ts.map +1 -0
  29. package/lib/schema/definitions/body/common.js +46 -0
  30. package/lib/schema/definitions/body/common.js.map +1 -0
  31. package/lib/schema/definitions/body/conceptualObject.d.ts +27 -0
  32. package/lib/schema/definitions/body/conceptualObject.d.ts.map +1 -0
  33. package/lib/schema/definitions/body/conceptualObject.js +61 -0
  34. package/lib/schema/definitions/body/conceptualObject.js.map +1 -0
  35. package/lib/schema/definitions/body/correction.d.ts +24 -0
  36. package/lib/schema/definitions/body/correction.d.ts.map +1 -0
  37. package/lib/schema/definitions/body/correction.js +54 -0
  38. package/lib/schema/definitions/body/correction.js.map +1 -0
  39. package/lib/schema/definitions/body/date.d.ts +30 -0
  40. package/lib/schema/definitions/body/date.d.ts.map +1 -0
  41. package/lib/schema/definitions/body/date.js +61 -0
  42. package/lib/schema/definitions/body/date.js.map +1 -0
  43. package/lib/schema/definitions/body/index.d.ts +37 -0
  44. package/lib/schema/definitions/body/index.d.ts.map +1 -0
  45. package/lib/schema/definitions/body/index.js +220 -0
  46. package/lib/schema/definitions/body/index.js.map +1 -0
  47. package/lib/schema/definitions/body/keyword.d.ts +48 -0
  48. package/lib/schema/definitions/body/keyword.d.ts.map +1 -0
  49. package/lib/schema/definitions/body/keyword.js +100 -0
  50. package/lib/schema/definitions/body/keyword.js.map +1 -0
  51. package/lib/schema/definitions/body/link.d.ts +21 -0
  52. package/lib/schema/definitions/body/link.d.ts.map +1 -0
  53. package/lib/schema/definitions/body/link.js +37 -0
  54. package/lib/schema/definitions/body/link.js.map +1 -0
  55. package/lib/schema/definitions/body/note.d.ts +27 -0
  56. package/lib/schema/definitions/body/note.d.ts.map +1 -0
  57. package/lib/schema/definitions/body/note.js +54 -0
  58. package/lib/schema/definitions/body/note.js.map +1 -0
  59. package/lib/schema/definitions/body/organization.d.ts +27 -0
  60. package/lib/schema/definitions/body/organization.d.ts.map +1 -0
  61. package/lib/schema/definitions/body/organization.js +65 -0
  62. package/lib/schema/definitions/body/organization.js.map +1 -0
  63. package/lib/schema/definitions/body/person.d.ts +27 -0
  64. package/lib/schema/definitions/body/person.d.ts.map +1 -0
  65. package/lib/schema/definitions/body/person.js +61 -0
  66. package/lib/schema/definitions/body/person.js.map +1 -0
  67. package/lib/schema/definitions/body/physicalThing.d.ts +27 -0
  68. package/lib/schema/definitions/body/physicalThing.d.ts.map +1 -0
  69. package/lib/schema/definitions/body/physicalThing.js +61 -0
  70. package/lib/schema/definitions/body/physicalThing.js.map +1 -0
  71. package/lib/schema/definitions/body/place.d.ts +30 -0
  72. package/lib/schema/definitions/body/place.d.ts.map +1 -0
  73. package/lib/schema/definitions/body/place.js +64 -0
  74. package/lib/schema/definitions/body/place.js.map +1 -0
  75. package/lib/schema/definitions/body/work.d.ts +27 -0
  76. package/lib/schema/definitions/body/work.d.ts.map +1 -0
  77. package/lib/schema/definitions/body/work.js +61 -0
  78. package/lib/schema/definitions/body/work.js.map +1 -0
  79. package/lib/schema/definitions/index.d.ts +22 -0
  80. package/lib/schema/definitions/index.d.ts.map +1 -0
  81. package/lib/schema/definitions/index.js +24 -0
  82. package/lib/schema/definitions/index.js.map +1 -0
  83. package/lib/schema/definitions/target/index.d.ts +710 -0
  84. package/lib/schema/definitions/target/index.d.ts.map +1 -0
  85. package/lib/schema/definitions/target/index.js +231 -0
  86. package/lib/schema/definitions/target/index.js.map +1 -0
  87. package/lib/schema/definitions/target/selector/index.d.ts +5 -0
  88. package/lib/schema/definitions/target/selector/index.d.ts.map +1 -0
  89. package/lib/schema/definitions/target/selector/index.js +5 -0
  90. package/lib/schema/definitions/target/selector/index.js.map +1 -0
  91. package/lib/schema/definitions/target/selector/range.d.ts +141 -0
  92. package/lib/schema/definitions/target/selector/range.d.ts.map +1 -0
  93. package/lib/schema/definitions/target/selector/range.js +44 -0
  94. package/lib/schema/definitions/target/selector/range.js.map +1 -0
  95. package/lib/schema/definitions/target/selector/textPosition.d.ts +21 -0
  96. package/lib/schema/definitions/target/selector/textPosition.d.ts.map +1 -0
  97. package/lib/schema/definitions/target/selector/textPosition.js +57 -0
  98. package/lib/schema/definitions/target/selector/textPosition.js.map +1 -0
  99. package/lib/schema/definitions/target/selector/textQuote.d.ts +297 -0
  100. package/lib/schema/definitions/target/selector/textQuote.d.ts.map +1 -0
  101. package/lib/schema/definitions/target/selector/textQuote.js +78 -0
  102. package/lib/schema/definitions/target/selector/textQuote.js.map +1 -0
  103. package/lib/schema/definitions/target/selector/xpath.d.ts +46 -0
  104. package/lib/schema/definitions/target/selector/xpath.d.ts.map +1 -0
  105. package/lib/schema/definitions/target/selector/xpath.js +51 -0
  106. package/lib/schema/definitions/target/selector/xpath.js.map +1 -0
  107. package/lib/schema/index.d.ts +5 -0
  108. package/lib/schema/index.d.ts.map +1 -0
  109. package/lib/schema/index.js +5 -0
  110. package/lib/schema/index.js.map +1 -0
  111. package/lib/schema/root.d.ts +1076 -0
  112. package/lib/schema/root.d.ts.map +1 -0
  113. package/lib/schema/root.js +408 -0
  114. package/lib/schema/root.js.map +1 -0
  115. package/lib/validation.d.ts +25 -0
  116. package/lib/validation.d.ts.map +1 -0
  117. package/lib/validation.js +35 -0
  118. package/lib/validation.js.map +1 -0
  119. package/package.json +68 -0
@@ -0,0 +1,710 @@
1
+ import { JSONSchemaType } from 'ajv';
2
+ import { z } from 'zod';
3
+ export declare const Target: z.ZodObject<{
4
+ id: z.ZodUnion<[z.ZodString, z.ZodString]>;
5
+ type: z.ZodTuple<[z.ZodLiteral<"SpecificResource">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
6
+ format: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7
+ language: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8
+ title: z.ZodOptional<z.ZodString>;
9
+ renderedVia: z.ZodOptional<z.ZodObject<{
10
+ id: z.ZodString;
11
+ type: z.ZodTuple<[z.ZodLiteral<"Software">, z.ZodLiteral<"crm:P16_used_specific_object">], null>;
12
+ label: z.ZodString;
13
+ softwareVersion: z.ZodOptional<z.ZodString>;
14
+ }, "strip", z.ZodTypeAny, {
15
+ type: ["Software", "crm:P16_used_specific_object"];
16
+ id: string;
17
+ label: string;
18
+ softwareVersion?: string | undefined;
19
+ }, {
20
+ type: ["Software", "crm:P16_used_specific_object"];
21
+ id: string;
22
+ label: string;
23
+ softwareVersion?: string | undefined;
24
+ }>>;
25
+ selector: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
26
+ id: z.ZodString;
27
+ type: z.ZodTuple<[z.ZodLiteral<"TextQuoteSelector">, z.ZodLiteral<"crm:E33_Linguistic_Object">], null>;
28
+ exact: z.ZodString;
29
+ prefix: z.ZodOptional<z.ZodString>;
30
+ sufix: z.ZodOptional<z.ZodString>;
31
+ refinedBy: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
32
+ id: z.ZodString;
33
+ type: z.ZodTuple<[z.ZodLiteral<"RangeSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
34
+ startSelector: z.ZodObject<{
35
+ id: z.ZodString;
36
+ type: z.ZodTuple<[z.ZodLiteral<"XPathSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
37
+ value: z.ZodString;
38
+ refinedBy: z.ZodOptional<z.ZodObject<{
39
+ id: z.ZodString;
40
+ type: z.ZodTuple<[z.ZodLiteral<"TextPositionSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
41
+ start: z.ZodNumber;
42
+ end: z.ZodNumber;
43
+ }, "strip", z.ZodTypeAny, {
44
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
45
+ id: string;
46
+ start: number;
47
+ end: number;
48
+ }, {
49
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
50
+ id: string;
51
+ start: number;
52
+ end: number;
53
+ }>>;
54
+ }, "strip", z.ZodTypeAny, {
55
+ value: string;
56
+ type: ["XPathSelector", "crm:E73_Information_Object"];
57
+ id: string;
58
+ refinedBy?: {
59
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
60
+ id: string;
61
+ start: number;
62
+ end: number;
63
+ } | undefined;
64
+ }, {
65
+ value: string;
66
+ type: ["XPathSelector", "crm:E73_Information_Object"];
67
+ id: string;
68
+ refinedBy?: {
69
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
70
+ id: string;
71
+ start: number;
72
+ end: number;
73
+ } | undefined;
74
+ }>;
75
+ endSelector: z.ZodObject<{
76
+ id: z.ZodString;
77
+ type: z.ZodTuple<[z.ZodLiteral<"XPathSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
78
+ value: z.ZodString;
79
+ refinedBy: z.ZodOptional<z.ZodObject<{
80
+ id: z.ZodString;
81
+ type: z.ZodTuple<[z.ZodLiteral<"TextPositionSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
82
+ start: z.ZodNumber;
83
+ end: z.ZodNumber;
84
+ }, "strip", z.ZodTypeAny, {
85
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
86
+ id: string;
87
+ start: number;
88
+ end: number;
89
+ }, {
90
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
91
+ id: string;
92
+ start: number;
93
+ end: number;
94
+ }>>;
95
+ }, "strip", z.ZodTypeAny, {
96
+ value: string;
97
+ type: ["XPathSelector", "crm:E73_Information_Object"];
98
+ id: string;
99
+ refinedBy?: {
100
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
101
+ id: string;
102
+ start: number;
103
+ end: number;
104
+ } | undefined;
105
+ }, {
106
+ value: string;
107
+ type: ["XPathSelector", "crm:E73_Information_Object"];
108
+ id: string;
109
+ refinedBy?: {
110
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
111
+ id: string;
112
+ start: number;
113
+ end: number;
114
+ } | undefined;
115
+ }>;
116
+ }, "strip", z.ZodTypeAny, {
117
+ type: ["RangeSelector", "crm:E73_Information_Object"];
118
+ id: string;
119
+ startSelector: {
120
+ value: string;
121
+ type: ["XPathSelector", "crm:E73_Information_Object"];
122
+ id: string;
123
+ refinedBy?: {
124
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
125
+ id: string;
126
+ start: number;
127
+ end: number;
128
+ } | undefined;
129
+ };
130
+ endSelector: {
131
+ value: string;
132
+ type: ["XPathSelector", "crm:E73_Information_Object"];
133
+ id: string;
134
+ refinedBy?: {
135
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
136
+ id: string;
137
+ start: number;
138
+ end: number;
139
+ } | undefined;
140
+ };
141
+ }, {
142
+ type: ["RangeSelector", "crm:E73_Information_Object"];
143
+ id: string;
144
+ startSelector: {
145
+ value: string;
146
+ type: ["XPathSelector", "crm:E73_Information_Object"];
147
+ id: string;
148
+ refinedBy?: {
149
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
150
+ id: string;
151
+ start: number;
152
+ end: number;
153
+ } | undefined;
154
+ };
155
+ endSelector: {
156
+ value: string;
157
+ type: ["XPathSelector", "crm:E73_Information_Object"];
158
+ id: string;
159
+ refinedBy?: {
160
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
161
+ id: string;
162
+ start: number;
163
+ end: number;
164
+ } | undefined;
165
+ };
166
+ }>, z.ZodObject<{
167
+ id: z.ZodString;
168
+ type: z.ZodTuple<[z.ZodLiteral<"XPathSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
169
+ value: z.ZodString;
170
+ refinedBy: z.ZodOptional<z.ZodObject<{
171
+ id: z.ZodString;
172
+ type: z.ZodTuple<[z.ZodLiteral<"TextPositionSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
173
+ start: z.ZodNumber;
174
+ end: z.ZodNumber;
175
+ }, "strip", z.ZodTypeAny, {
176
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
177
+ id: string;
178
+ start: number;
179
+ end: number;
180
+ }, {
181
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
182
+ id: string;
183
+ start: number;
184
+ end: number;
185
+ }>>;
186
+ }, "strip", z.ZodTypeAny, {
187
+ value: string;
188
+ type: ["XPathSelector", "crm:E73_Information_Object"];
189
+ id: string;
190
+ refinedBy?: {
191
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
192
+ id: string;
193
+ start: number;
194
+ end: number;
195
+ } | undefined;
196
+ }, {
197
+ value: string;
198
+ type: ["XPathSelector", "crm:E73_Information_Object"];
199
+ id: string;
200
+ refinedBy?: {
201
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
202
+ id: string;
203
+ start: number;
204
+ end: number;
205
+ } | undefined;
206
+ }>, z.ZodObject<{
207
+ id: z.ZodString;
208
+ type: z.ZodTuple<[z.ZodLiteral<"TextPositionSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
209
+ start: z.ZodNumber;
210
+ end: z.ZodNumber;
211
+ }, "strip", z.ZodTypeAny, {
212
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
213
+ id: string;
214
+ start: number;
215
+ end: number;
216
+ }, {
217
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
218
+ id: string;
219
+ start: number;
220
+ end: number;
221
+ }>]>>;
222
+ }, "strip", z.ZodTypeAny, {
223
+ exact: string;
224
+ type: ["TextQuoteSelector", "crm:E33_Linguistic_Object"];
225
+ id: string;
226
+ prefix?: string | undefined;
227
+ sufix?: string | undefined;
228
+ refinedBy?: {
229
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
230
+ id: string;
231
+ start: number;
232
+ end: number;
233
+ } | {
234
+ value: string;
235
+ type: ["XPathSelector", "crm:E73_Information_Object"];
236
+ id: string;
237
+ refinedBy?: {
238
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
239
+ id: string;
240
+ start: number;
241
+ end: number;
242
+ } | undefined;
243
+ } | {
244
+ type: ["RangeSelector", "crm:E73_Information_Object"];
245
+ id: string;
246
+ startSelector: {
247
+ value: string;
248
+ type: ["XPathSelector", "crm:E73_Information_Object"];
249
+ id: string;
250
+ refinedBy?: {
251
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
252
+ id: string;
253
+ start: number;
254
+ end: number;
255
+ } | undefined;
256
+ };
257
+ endSelector: {
258
+ value: string;
259
+ type: ["XPathSelector", "crm:E73_Information_Object"];
260
+ id: string;
261
+ refinedBy?: {
262
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
263
+ id: string;
264
+ start: number;
265
+ end: number;
266
+ } | undefined;
267
+ };
268
+ } | undefined;
269
+ }, {
270
+ exact: string;
271
+ type: ["TextQuoteSelector", "crm:E33_Linguistic_Object"];
272
+ id: string;
273
+ prefix?: string | undefined;
274
+ sufix?: string | undefined;
275
+ refinedBy?: {
276
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
277
+ id: string;
278
+ start: number;
279
+ end: number;
280
+ } | {
281
+ value: string;
282
+ type: ["XPathSelector", "crm:E73_Information_Object"];
283
+ id: string;
284
+ refinedBy?: {
285
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
286
+ id: string;
287
+ start: number;
288
+ end: number;
289
+ } | undefined;
290
+ } | {
291
+ type: ["RangeSelector", "crm:E73_Information_Object"];
292
+ id: string;
293
+ startSelector: {
294
+ value: string;
295
+ type: ["XPathSelector", "crm:E73_Information_Object"];
296
+ id: string;
297
+ refinedBy?: {
298
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
299
+ id: string;
300
+ start: number;
301
+ end: number;
302
+ } | undefined;
303
+ };
304
+ endSelector: {
305
+ value: string;
306
+ type: ["XPathSelector", "crm:E73_Information_Object"];
307
+ id: string;
308
+ refinedBy?: {
309
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
310
+ id: string;
311
+ start: number;
312
+ end: number;
313
+ } | undefined;
314
+ };
315
+ } | undefined;
316
+ }>, z.ZodObject<{
317
+ id: z.ZodString;
318
+ type: z.ZodTuple<[z.ZodLiteral<"RangeSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
319
+ startSelector: z.ZodObject<{
320
+ id: z.ZodString;
321
+ type: z.ZodTuple<[z.ZodLiteral<"XPathSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
322
+ value: z.ZodString;
323
+ refinedBy: z.ZodOptional<z.ZodObject<{
324
+ id: z.ZodString;
325
+ type: z.ZodTuple<[z.ZodLiteral<"TextPositionSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
326
+ start: z.ZodNumber;
327
+ end: z.ZodNumber;
328
+ }, "strip", z.ZodTypeAny, {
329
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
330
+ id: string;
331
+ start: number;
332
+ end: number;
333
+ }, {
334
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
335
+ id: string;
336
+ start: number;
337
+ end: number;
338
+ }>>;
339
+ }, "strip", z.ZodTypeAny, {
340
+ value: string;
341
+ type: ["XPathSelector", "crm:E73_Information_Object"];
342
+ id: string;
343
+ refinedBy?: {
344
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
345
+ id: string;
346
+ start: number;
347
+ end: number;
348
+ } | undefined;
349
+ }, {
350
+ value: string;
351
+ type: ["XPathSelector", "crm:E73_Information_Object"];
352
+ id: string;
353
+ refinedBy?: {
354
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
355
+ id: string;
356
+ start: number;
357
+ end: number;
358
+ } | undefined;
359
+ }>;
360
+ endSelector: z.ZodObject<{
361
+ id: z.ZodString;
362
+ type: z.ZodTuple<[z.ZodLiteral<"XPathSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
363
+ value: z.ZodString;
364
+ refinedBy: z.ZodOptional<z.ZodObject<{
365
+ id: z.ZodString;
366
+ type: z.ZodTuple<[z.ZodLiteral<"TextPositionSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
367
+ start: z.ZodNumber;
368
+ end: z.ZodNumber;
369
+ }, "strip", z.ZodTypeAny, {
370
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
371
+ id: string;
372
+ start: number;
373
+ end: number;
374
+ }, {
375
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
376
+ id: string;
377
+ start: number;
378
+ end: number;
379
+ }>>;
380
+ }, "strip", z.ZodTypeAny, {
381
+ value: string;
382
+ type: ["XPathSelector", "crm:E73_Information_Object"];
383
+ id: string;
384
+ refinedBy?: {
385
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
386
+ id: string;
387
+ start: number;
388
+ end: number;
389
+ } | undefined;
390
+ }, {
391
+ value: string;
392
+ type: ["XPathSelector", "crm:E73_Information_Object"];
393
+ id: string;
394
+ refinedBy?: {
395
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
396
+ id: string;
397
+ start: number;
398
+ end: number;
399
+ } | undefined;
400
+ }>;
401
+ }, "strip", z.ZodTypeAny, {
402
+ type: ["RangeSelector", "crm:E73_Information_Object"];
403
+ id: string;
404
+ startSelector: {
405
+ value: string;
406
+ type: ["XPathSelector", "crm:E73_Information_Object"];
407
+ id: string;
408
+ refinedBy?: {
409
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
410
+ id: string;
411
+ start: number;
412
+ end: number;
413
+ } | undefined;
414
+ };
415
+ endSelector: {
416
+ value: string;
417
+ type: ["XPathSelector", "crm:E73_Information_Object"];
418
+ id: string;
419
+ refinedBy?: {
420
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
421
+ id: string;
422
+ start: number;
423
+ end: number;
424
+ } | undefined;
425
+ };
426
+ }, {
427
+ type: ["RangeSelector", "crm:E73_Information_Object"];
428
+ id: string;
429
+ startSelector: {
430
+ value: string;
431
+ type: ["XPathSelector", "crm:E73_Information_Object"];
432
+ id: string;
433
+ refinedBy?: {
434
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
435
+ id: string;
436
+ start: number;
437
+ end: number;
438
+ } | undefined;
439
+ };
440
+ endSelector: {
441
+ value: string;
442
+ type: ["XPathSelector", "crm:E73_Information_Object"];
443
+ id: string;
444
+ refinedBy?: {
445
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
446
+ id: string;
447
+ start: number;
448
+ end: number;
449
+ } | undefined;
450
+ };
451
+ }>, z.ZodObject<{
452
+ id: z.ZodString;
453
+ type: z.ZodTuple<[z.ZodLiteral<"XPathSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
454
+ value: z.ZodString;
455
+ refinedBy: z.ZodOptional<z.ZodObject<{
456
+ id: z.ZodString;
457
+ type: z.ZodTuple<[z.ZodLiteral<"TextPositionSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
458
+ start: z.ZodNumber;
459
+ end: z.ZodNumber;
460
+ }, "strip", z.ZodTypeAny, {
461
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
462
+ id: string;
463
+ start: number;
464
+ end: number;
465
+ }, {
466
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
467
+ id: string;
468
+ start: number;
469
+ end: number;
470
+ }>>;
471
+ }, "strip", z.ZodTypeAny, {
472
+ value: string;
473
+ type: ["XPathSelector", "crm:E73_Information_Object"];
474
+ id: string;
475
+ refinedBy?: {
476
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
477
+ id: string;
478
+ start: number;
479
+ end: number;
480
+ } | undefined;
481
+ }, {
482
+ value: string;
483
+ type: ["XPathSelector", "crm:E73_Information_Object"];
484
+ id: string;
485
+ refinedBy?: {
486
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
487
+ id: string;
488
+ start: number;
489
+ end: number;
490
+ } | undefined;
491
+ }>, z.ZodObject<{
492
+ id: z.ZodString;
493
+ type: z.ZodTuple<[z.ZodLiteral<"TextPositionSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
494
+ start: z.ZodNumber;
495
+ end: z.ZodNumber;
496
+ }, "strip", z.ZodTypeAny, {
497
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
498
+ id: string;
499
+ start: number;
500
+ end: number;
501
+ }, {
502
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
503
+ id: string;
504
+ start: number;
505
+ end: number;
506
+ }>]>>;
507
+ }, "strip", z.ZodTypeAny, {
508
+ type: ["SpecificResource", "crm:E73_Information_Object"];
509
+ id: string;
510
+ format?: string[] | undefined;
511
+ language?: string[] | undefined;
512
+ title?: string | undefined;
513
+ renderedVia?: {
514
+ type: ["Software", "crm:P16_used_specific_object"];
515
+ id: string;
516
+ label: string;
517
+ softwareVersion?: string | undefined;
518
+ } | undefined;
519
+ selector?: {
520
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
521
+ id: string;
522
+ start: number;
523
+ end: number;
524
+ } | {
525
+ value: string;
526
+ type: ["XPathSelector", "crm:E73_Information_Object"];
527
+ id: string;
528
+ refinedBy?: {
529
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
530
+ id: string;
531
+ start: number;
532
+ end: number;
533
+ } | undefined;
534
+ } | {
535
+ type: ["RangeSelector", "crm:E73_Information_Object"];
536
+ id: string;
537
+ startSelector: {
538
+ value: string;
539
+ type: ["XPathSelector", "crm:E73_Information_Object"];
540
+ id: string;
541
+ refinedBy?: {
542
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
543
+ id: string;
544
+ start: number;
545
+ end: number;
546
+ } | undefined;
547
+ };
548
+ endSelector: {
549
+ value: string;
550
+ type: ["XPathSelector", "crm:E73_Information_Object"];
551
+ id: string;
552
+ refinedBy?: {
553
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
554
+ id: string;
555
+ start: number;
556
+ end: number;
557
+ } | undefined;
558
+ };
559
+ } | {
560
+ exact: string;
561
+ type: ["TextQuoteSelector", "crm:E33_Linguistic_Object"];
562
+ id: string;
563
+ prefix?: string | undefined;
564
+ sufix?: string | undefined;
565
+ refinedBy?: {
566
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
567
+ id: string;
568
+ start: number;
569
+ end: number;
570
+ } | {
571
+ value: string;
572
+ type: ["XPathSelector", "crm:E73_Information_Object"];
573
+ id: string;
574
+ refinedBy?: {
575
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
576
+ id: string;
577
+ start: number;
578
+ end: number;
579
+ } | undefined;
580
+ } | {
581
+ type: ["RangeSelector", "crm:E73_Information_Object"];
582
+ id: string;
583
+ startSelector: {
584
+ value: string;
585
+ type: ["XPathSelector", "crm:E73_Information_Object"];
586
+ id: string;
587
+ refinedBy?: {
588
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
589
+ id: string;
590
+ start: number;
591
+ end: number;
592
+ } | undefined;
593
+ };
594
+ endSelector: {
595
+ value: string;
596
+ type: ["XPathSelector", "crm:E73_Information_Object"];
597
+ id: string;
598
+ refinedBy?: {
599
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
600
+ id: string;
601
+ start: number;
602
+ end: number;
603
+ } | undefined;
604
+ };
605
+ } | undefined;
606
+ } | undefined;
607
+ }, {
608
+ type: ["SpecificResource", "crm:E73_Information_Object"];
609
+ id: string;
610
+ format?: string[] | undefined;
611
+ language?: string[] | undefined;
612
+ title?: string | undefined;
613
+ renderedVia?: {
614
+ type: ["Software", "crm:P16_used_specific_object"];
615
+ id: string;
616
+ label: string;
617
+ softwareVersion?: string | undefined;
618
+ } | undefined;
619
+ selector?: {
620
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
621
+ id: string;
622
+ start: number;
623
+ end: number;
624
+ } | {
625
+ value: string;
626
+ type: ["XPathSelector", "crm:E73_Information_Object"];
627
+ id: string;
628
+ refinedBy?: {
629
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
630
+ id: string;
631
+ start: number;
632
+ end: number;
633
+ } | undefined;
634
+ } | {
635
+ type: ["RangeSelector", "crm:E73_Information_Object"];
636
+ id: string;
637
+ startSelector: {
638
+ value: string;
639
+ type: ["XPathSelector", "crm:E73_Information_Object"];
640
+ id: string;
641
+ refinedBy?: {
642
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
643
+ id: string;
644
+ start: number;
645
+ end: number;
646
+ } | undefined;
647
+ };
648
+ endSelector: {
649
+ value: string;
650
+ type: ["XPathSelector", "crm:E73_Information_Object"];
651
+ id: string;
652
+ refinedBy?: {
653
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
654
+ id: string;
655
+ start: number;
656
+ end: number;
657
+ } | undefined;
658
+ };
659
+ } | {
660
+ exact: string;
661
+ type: ["TextQuoteSelector", "crm:E33_Linguistic_Object"];
662
+ id: string;
663
+ prefix?: string | undefined;
664
+ sufix?: string | undefined;
665
+ refinedBy?: {
666
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
667
+ id: string;
668
+ start: number;
669
+ end: number;
670
+ } | {
671
+ value: string;
672
+ type: ["XPathSelector", "crm:E73_Information_Object"];
673
+ id: string;
674
+ refinedBy?: {
675
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
676
+ id: string;
677
+ start: number;
678
+ end: number;
679
+ } | undefined;
680
+ } | {
681
+ type: ["RangeSelector", "crm:E73_Information_Object"];
682
+ id: string;
683
+ startSelector: {
684
+ value: string;
685
+ type: ["XPathSelector", "crm:E73_Information_Object"];
686
+ id: string;
687
+ refinedBy?: {
688
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
689
+ id: string;
690
+ start: number;
691
+ end: number;
692
+ } | undefined;
693
+ };
694
+ endSelector: {
695
+ value: string;
696
+ type: ["XPathSelector", "crm:E73_Information_Object"];
697
+ id: string;
698
+ refinedBy?: {
699
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
700
+ id: string;
701
+ start: number;
702
+ end: number;
703
+ } | undefined;
704
+ };
705
+ } | undefined;
706
+ } | undefined;
707
+ }>;
708
+ export type Target = z.infer<typeof Target>;
709
+ export declare const targetSchema: JSONSchemaType<Required<Target>>;
710
+ //# sourceMappingURL=index.d.ts.map