@lincs.project/webannotation-schema 1.0.0 → 1.0.1

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 (122) hide show
  1. package/README.md +64 -30
  2. package/dist/index.d.mts +2726 -0
  3. package/dist/index.d.ts +2726 -0
  4. package/dist/index.js +5461 -0
  5. package/dist/index.mjs +5431 -0
  6. package/package.json +44 -30
  7. package/lib/index.d.ts +0 -145
  8. package/lib/index.d.ts.map +0 -1
  9. package/lib/index.js +0 -13
  10. package/lib/index.js.map +0 -1
  11. package/lib/schema/config.d.ts +0 -4
  12. package/lib/schema/config.d.ts.map +0 -1
  13. package/lib/schema/config.js +0 -4
  14. package/lib/schema/config.js.map +0 -1
  15. package/lib/schema/context.d.ts +0 -25
  16. package/lib/schema/context.d.ts.map +0 -1
  17. package/lib/schema/context.js +0 -25
  18. package/lib/schema/context.js.map +0 -1
  19. package/lib/schema/definitions/agent.d.ts +0 -36
  20. package/lib/schema/definitions/agent.d.ts.map +0 -1
  21. package/lib/schema/definitions/agent.js +0 -82
  22. package/lib/schema/definitions/agent.js.map +0 -1
  23. package/lib/schema/definitions/body/citation.d.ts +0 -27
  24. package/lib/schema/definitions/body/citation.d.ts.map +0 -1
  25. package/lib/schema/definitions/body/citation.js +0 -53
  26. package/lib/schema/definitions/body/citation.js.map +0 -1
  27. package/lib/schema/definitions/body/common.d.ts +0 -17
  28. package/lib/schema/definitions/body/common.d.ts.map +0 -1
  29. package/lib/schema/definitions/body/common.js +0 -46
  30. package/lib/schema/definitions/body/common.js.map +0 -1
  31. package/lib/schema/definitions/body/conceptualObject.d.ts +0 -27
  32. package/lib/schema/definitions/body/conceptualObject.d.ts.map +0 -1
  33. package/lib/schema/definitions/body/conceptualObject.js +0 -61
  34. package/lib/schema/definitions/body/conceptualObject.js.map +0 -1
  35. package/lib/schema/definitions/body/correction.d.ts +0 -24
  36. package/lib/schema/definitions/body/correction.d.ts.map +0 -1
  37. package/lib/schema/definitions/body/correction.js +0 -54
  38. package/lib/schema/definitions/body/correction.js.map +0 -1
  39. package/lib/schema/definitions/body/date.d.ts +0 -30
  40. package/lib/schema/definitions/body/date.d.ts.map +0 -1
  41. package/lib/schema/definitions/body/date.js +0 -61
  42. package/lib/schema/definitions/body/date.js.map +0 -1
  43. package/lib/schema/definitions/body/index.d.ts +0 -37
  44. package/lib/schema/definitions/body/index.d.ts.map +0 -1
  45. package/lib/schema/definitions/body/index.js +0 -220
  46. package/lib/schema/definitions/body/index.js.map +0 -1
  47. package/lib/schema/definitions/body/keyword.d.ts +0 -48
  48. package/lib/schema/definitions/body/keyword.d.ts.map +0 -1
  49. package/lib/schema/definitions/body/keyword.js +0 -100
  50. package/lib/schema/definitions/body/keyword.js.map +0 -1
  51. package/lib/schema/definitions/body/link.d.ts +0 -21
  52. package/lib/schema/definitions/body/link.d.ts.map +0 -1
  53. package/lib/schema/definitions/body/link.js +0 -37
  54. package/lib/schema/definitions/body/link.js.map +0 -1
  55. package/lib/schema/definitions/body/note.d.ts +0 -27
  56. package/lib/schema/definitions/body/note.d.ts.map +0 -1
  57. package/lib/schema/definitions/body/note.js +0 -54
  58. package/lib/schema/definitions/body/note.js.map +0 -1
  59. package/lib/schema/definitions/body/organization.d.ts +0 -27
  60. package/lib/schema/definitions/body/organization.d.ts.map +0 -1
  61. package/lib/schema/definitions/body/organization.js +0 -65
  62. package/lib/schema/definitions/body/organization.js.map +0 -1
  63. package/lib/schema/definitions/body/person.d.ts +0 -27
  64. package/lib/schema/definitions/body/person.d.ts.map +0 -1
  65. package/lib/schema/definitions/body/person.js +0 -61
  66. package/lib/schema/definitions/body/person.js.map +0 -1
  67. package/lib/schema/definitions/body/physicalThing.d.ts +0 -27
  68. package/lib/schema/definitions/body/physicalThing.d.ts.map +0 -1
  69. package/lib/schema/definitions/body/physicalThing.js +0 -61
  70. package/lib/schema/definitions/body/physicalThing.js.map +0 -1
  71. package/lib/schema/definitions/body/place.d.ts +0 -30
  72. package/lib/schema/definitions/body/place.d.ts.map +0 -1
  73. package/lib/schema/definitions/body/place.js +0 -64
  74. package/lib/schema/definitions/body/place.js.map +0 -1
  75. package/lib/schema/definitions/body/work.d.ts +0 -27
  76. package/lib/schema/definitions/body/work.d.ts.map +0 -1
  77. package/lib/schema/definitions/body/work.js +0 -61
  78. package/lib/schema/definitions/body/work.js.map +0 -1
  79. package/lib/schema/definitions/index.d.ts +0 -22
  80. package/lib/schema/definitions/index.d.ts.map +0 -1
  81. package/lib/schema/definitions/index.js +0 -24
  82. package/lib/schema/definitions/index.js.map +0 -1
  83. package/lib/schema/definitions/target/index.d.ts +0 -710
  84. package/lib/schema/definitions/target/index.d.ts.map +0 -1
  85. package/lib/schema/definitions/target/index.js +0 -231
  86. package/lib/schema/definitions/target/index.js.map +0 -1
  87. package/lib/schema/definitions/target/selector/index.d.ts +0 -5
  88. package/lib/schema/definitions/target/selector/index.d.ts.map +0 -1
  89. package/lib/schema/definitions/target/selector/index.js +0 -5
  90. package/lib/schema/definitions/target/selector/index.js.map +0 -1
  91. package/lib/schema/definitions/target/selector/range.d.ts +0 -141
  92. package/lib/schema/definitions/target/selector/range.d.ts.map +0 -1
  93. package/lib/schema/definitions/target/selector/range.js +0 -44
  94. package/lib/schema/definitions/target/selector/range.js.map +0 -1
  95. package/lib/schema/definitions/target/selector/textPosition.d.ts +0 -21
  96. package/lib/schema/definitions/target/selector/textPosition.d.ts.map +0 -1
  97. package/lib/schema/definitions/target/selector/textPosition.js +0 -57
  98. package/lib/schema/definitions/target/selector/textPosition.js.map +0 -1
  99. package/lib/schema/definitions/target/selector/textQuote.d.ts +0 -297
  100. package/lib/schema/definitions/target/selector/textQuote.d.ts.map +0 -1
  101. package/lib/schema/definitions/target/selector/textQuote.js +0 -78
  102. package/lib/schema/definitions/target/selector/textQuote.js.map +0 -1
  103. package/lib/schema/definitions/target/selector/xpath.d.ts +0 -46
  104. package/lib/schema/definitions/target/selector/xpath.d.ts.map +0 -1
  105. package/lib/schema/definitions/target/selector/xpath.js +0 -51
  106. package/lib/schema/definitions/target/selector/xpath.js.map +0 -1
  107. package/lib/schema/index.d.ts +0 -5
  108. package/lib/schema/index.d.ts.map +0 -1
  109. package/lib/schema/index.js +0 -5
  110. package/lib/schema/index.js.map +0 -1
  111. package/lib/schema/root.d.ts +0 -1076
  112. package/lib/schema/root.d.ts.map +0 -1
  113. package/lib/schema/root.js +0 -408
  114. package/lib/schema/root.js.map +0 -1
  115. package/lib/validation.d.ts +0 -25
  116. package/lib/validation.d.ts.map +0 -1
  117. package/lib/validation.js +0 -35
  118. package/lib/validation.js.map +0 -1
  119. /package/dist/{context.jsonld → v1/jsonld/context.jsonld} +0 -0
  120. /package/dist/{defs.jsonld → v1/jsonld/defs.jsonld} +0 -0
  121. /package/dist/{schema.jsonld → v1/jsonld/schema.jsonld} +0 -0
  122. /package/dist/{validate.js → v1/standalone/linc-wa-validator.js} +0 -0
@@ -0,0 +1,2726 @@
1
+ import * as _ajv from 'ajv';
2
+ import { JSONSchemaType } from 'ajv';
3
+ import { z } from 'zod';
4
+ import * as ajv_dist_core from 'ajv/dist/core';
5
+
6
+ declare const VERSION = "v1";
7
+ declare const contextUri: string;
8
+ declare const schemaId: string;
9
+ declare const defsId: string;
10
+
11
+ declare const schemaContext: {
12
+ bf: string;
13
+ cito: string;
14
+ cwrc: string;
15
+ edit: string;
16
+ fabio: string;
17
+ frbroo: string;
18
+ wikidata: string;
19
+ crm: string;
20
+ crmdig: string;
21
+ certainty: string;
22
+ contributor: string;
23
+ description: string;
24
+ precision: string;
25
+ softwareVersion: string;
26
+ status: string;
27
+ entityType: string;
28
+ addicionalType: string;
29
+ approved: string;
30
+ citing: string;
31
+ correcting: string;
32
+ draft: string;
33
+ published: string;
34
+ };
35
+
36
+ declare const User: z.ZodObject<{
37
+ id: z.ZodUnion<[z.ZodString, z.ZodLiteral<"anonymous">]>;
38
+ type: z.ZodLiteral<"crm:E21_Person">;
39
+ name: z.ZodString;
40
+ }, "strip", z.ZodTypeAny, {
41
+ type: "crm:E21_Person";
42
+ id: string;
43
+ name: string;
44
+ }, {
45
+ type: "crm:E21_Person";
46
+ id: string;
47
+ name: string;
48
+ }>;
49
+ type User = z.infer<typeof User>;
50
+ declare const creatorSchema: JSONSchemaType<User>;
51
+ declare const Software: z.ZodObject<{
52
+ id: z.ZodString;
53
+ type: z.ZodTuple<[z.ZodLiteral<"Software">, z.ZodLiteral<"crm:P16_used_specific_object">], null>;
54
+ label: z.ZodString;
55
+ softwareVersion: z.ZodOptional<z.ZodString>;
56
+ }, "strip", z.ZodTypeAny, {
57
+ type: ["Software", "crm:P16_used_specific_object"];
58
+ id: string;
59
+ label: string;
60
+ softwareVersion?: string | undefined;
61
+ }, {
62
+ type: ["Software", "crm:P16_used_specific_object"];
63
+ id: string;
64
+ label: string;
65
+ softwareVersion?: string | undefined;
66
+ }>;
67
+ type Software = z.infer<typeof Software>;
68
+ declare const softwareSchema: JSONSchemaType<Required<Software>>;
69
+
70
+ declare const PersonEntityType: z.ZodTuple<[z.ZodLiteral<"Person">, z.ZodUnion<[z.ZodLiteral<"crm:E21_Person">, z.ZodLiteral<"crm:E89_Propositional_Object">]>], null>;
71
+ type PersonEntityType = z.infer<typeof PersonEntityType>;
72
+ declare const Person: z.ZodObject<{
73
+ id: z.ZodString;
74
+ entityType: z.ZodTuple<[z.ZodLiteral<"Person">, z.ZodUnion<[z.ZodLiteral<"crm:E21_Person">, z.ZodLiteral<"crm:E89_Propositional_Object">]>], null>;
75
+ certainty: z.ZodOptional<z.ZodEnum<["edit:qualityLow", "edit:qualityMedium", "edit:qualityHigh", "edit:qualityUnknown"]>>;
76
+ label: z.ZodOptional<z.ZodString>;
77
+ description: z.ZodOptional<z.ZodString>;
78
+ }, "strip", z.ZodTypeAny, {
79
+ id: string;
80
+ entityType: ["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"];
81
+ certainty?: "edit:qualityLow" | "edit:qualityMedium" | "edit:qualityHigh" | "edit:qualityUnknown" | undefined;
82
+ label?: string | undefined;
83
+ description?: string | undefined;
84
+ }, {
85
+ id: string;
86
+ entityType: ["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"];
87
+ certainty?: "edit:qualityLow" | "edit:qualityMedium" | "edit:qualityHigh" | "edit:qualityUnknown" | undefined;
88
+ label?: string | undefined;
89
+ description?: string | undefined;
90
+ }>;
91
+ type Person = z.infer<typeof Person>;
92
+ declare const personEntityTypeSchema: JSONSchemaType<PersonEntityType>;
93
+ declare const personSchema: JSONSchemaType<Person>;
94
+
95
+ declare const Body: z.ZodObject<{
96
+ id: z.ZodUnion<[z.ZodString, z.ZodString]>;
97
+ type: z.ZodOptional<z.ZodLiteral<"TextualBody">>;
98
+ entityType: z.ZodUnion<[z.ZodTuple<[z.ZodLiteral<"Person">, z.ZodUnion<[z.ZodLiteral<"crm:E21_Person">, z.ZodLiteral<"crm:E89_Propositional_Object">]>], null>, z.ZodUnion<[z.ZodLiteral<"cwrc:place">, z.ZodTuple<[z.ZodLiteral<"cwrc:place">, z.ZodLiteral<"crm:E89_Propositional_Object">], null>]>, z.ZodTuple<[z.ZodLiteral<"foaf:Organization">, z.ZodUnion<[z.ZodLiteral<"crm:E74_Group">, z.ZodLiteral<"crm:E89_Propositional_Object">]>], null>, z.ZodTuple<[z.ZodLiteral<"crm:E89_Propositional_Object">, z.ZodUnion<[z.ZodLiteral<"frbroo:F1">, z.ZodLiteral<"wikidata:Q15306849">]>], null>, z.ZodUnion<[z.ZodLiteral<"crm:E18_Physical_Thing">, z.ZodTuple<[z.ZodLiteral<"crm:E18_Physical_Thing">, z.ZodLiteral<"wikidata:Q15831596">], null>]>, z.ZodUnion<[z.ZodLiteral<"crm:E28_Conceptual_Object">, z.ZodTuple<[z.ZodLiteral<"crm:E28_Conceptual_Object">, z.ZodLiteral<"wikidata:Q15831596">], null>]>, z.ZodTuple<[z.ZodLiteral<"cito:Citation">, z.ZodLiteral<"crm:E73_Information_Object">], null>, z.ZodTuple<[z.ZodLiteral<"xsd:date">, z.ZodLiteral<"crm:E52_Time-Span">], null>, z.ZodLiteral<"crm:E33_Linguistic_Object">, z.ZodTuple<[z.ZodLiteral<"fabio:Correction">, z.ZodLiteral<"crm:E33_Linguistic_Object">], null>, z.ZodTuple<[z.ZodLiteral<"crm:E55_Type">, z.ZodLiteral<"crmdig:D1_Digital_Object">], null>, z.ZodTuple<[z.ZodLiteral<"crm:E55_Type">, z.ZodLiteral<"crm:E33_Linguistic_Object">], null>, z.ZodLiteral<"crmdig:D1_Digital_Object">]>;
99
+ additionalType: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
100
+ value: z.ZodOptional<z.ZodString>;
101
+ certainty: z.ZodOptional<z.ZodEnum<["edit:qualityLow", "edit:qualityMedium", "edit:qualityHigh", "edit:qualityUnknown"]>>;
102
+ precision: z.ZodOptional<z.ZodEnum<["edit:qualityLow", "edit:qualityMedium", "edit:qualityHigh", "edit:qualityUnknown"]>>;
103
+ label: z.ZodOptional<z.ZodString>;
104
+ description: z.ZodOptional<z.ZodString>;
105
+ }, "strip", z.ZodTypeAny, {
106
+ id: string;
107
+ entityType: ["cito:Citation", "crm:E73_Information_Object"] | "crm:E28_Conceptual_Object" | ["crm:E28_Conceptual_Object", "wikidata:Q15831596"] | ("crm:E28_Conceptual_Object" & ["crm:E28_Conceptual_Object", "wikidata:Q15831596"]) | (["crm:E28_Conceptual_Object", "wikidata:Q15831596"] & "crm:E28_Conceptual_Object") | "crm:E33_Linguistic_Object" | ["fabio:Correction", "crm:E33_Linguistic_Object"] | ["xsd:date", "crm:E52_Time-Span"] | "crmdig:D1_Digital_Object" | ["crm:E55_Type", "crmdig:D1_Digital_Object"] | ["crm:E55_Type", "crm:E33_Linguistic_Object"] | ["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"] | ["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"] | "crm:E18_Physical_Thing" | ["crm:E18_Physical_Thing", "wikidata:Q15831596"] | ("crm:E18_Physical_Thing" & ["crm:E18_Physical_Thing", "wikidata:Q15831596"]) | (["crm:E18_Physical_Thing", "wikidata:Q15831596"] & "crm:E18_Physical_Thing") | "cwrc:place" | ["cwrc:place", "crm:E89_Propositional_Object"] | ("cwrc:place" & ["cwrc:place", "crm:E89_Propositional_Object"]) | (["cwrc:place", "crm:E89_Propositional_Object"] & "cwrc:place") | ["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"] | (["cito:Citation", "crm:E73_Information_Object"] & "crm:E28_Conceptual_Object") | (["cito:Citation", "crm:E73_Information_Object"] & "crm:E33_Linguistic_Object") | (["cito:Citation", "crm:E73_Information_Object"] & "crmdig:D1_Digital_Object") | (["cito:Citation", "crm:E73_Information_Object"] & "crm:E18_Physical_Thing") | (["cito:Citation", "crm:E73_Information_Object"] & "cwrc:place") | ("crm:E28_Conceptual_Object" & ["cito:Citation", "crm:E73_Information_Object"]) | ("crm:E28_Conceptual_Object" & ["fabio:Correction", "crm:E33_Linguistic_Object"]) | ("crm:E28_Conceptual_Object" & ["xsd:date", "crm:E52_Time-Span"]) | ("crm:E28_Conceptual_Object" & ["crm:E55_Type", "crmdig:D1_Digital_Object"]) | ("crm:E28_Conceptual_Object" & ["crm:E55_Type", "crm:E33_Linguistic_Object"]) | ("crm:E28_Conceptual_Object" & ["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"]) | ("crm:E28_Conceptual_Object" & ["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"]) | ("crm:E28_Conceptual_Object" & ["crm:E18_Physical_Thing", "wikidata:Q15831596"]) | ("crm:E28_Conceptual_Object" & ["cwrc:place", "crm:E89_Propositional_Object"]) | ("crm:E28_Conceptual_Object" & ["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"]) | (["crm:E28_Conceptual_Object", "wikidata:Q15831596"] & "crm:E33_Linguistic_Object") | (["crm:E28_Conceptual_Object", "wikidata:Q15831596"] & "crmdig:D1_Digital_Object") | (["crm:E28_Conceptual_Object", "wikidata:Q15831596"] & "crm:E18_Physical_Thing") | (["crm:E28_Conceptual_Object", "wikidata:Q15831596"] & "cwrc:place") | ("crm:E33_Linguistic_Object" & ["cito:Citation", "crm:E73_Information_Object"]) | ("crm:E33_Linguistic_Object" & ["crm:E28_Conceptual_Object", "wikidata:Q15831596"]) | ("crm:E33_Linguistic_Object" & ["fabio:Correction", "crm:E33_Linguistic_Object"]) | ("crm:E33_Linguistic_Object" & ["xsd:date", "crm:E52_Time-Span"]) | ("crm:E33_Linguistic_Object" & ["crm:E55_Type", "crmdig:D1_Digital_Object"]) | ("crm:E33_Linguistic_Object" & ["crm:E55_Type", "crm:E33_Linguistic_Object"]) | ("crm:E33_Linguistic_Object" & ["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"]) | ("crm:E33_Linguistic_Object" & ["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"]) | ("crm:E33_Linguistic_Object" & ["crm:E18_Physical_Thing", "wikidata:Q15831596"]) | ("crm:E33_Linguistic_Object" & ["cwrc:place", "crm:E89_Propositional_Object"]) | ("crm:E33_Linguistic_Object" & ["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"]) | (["fabio:Correction", "crm:E33_Linguistic_Object"] & "crm:E28_Conceptual_Object") | (["fabio:Correction", "crm:E33_Linguistic_Object"] & "crm:E33_Linguistic_Object") | (["fabio:Correction", "crm:E33_Linguistic_Object"] & "crmdig:D1_Digital_Object") | (["fabio:Correction", "crm:E33_Linguistic_Object"] & "crm:E18_Physical_Thing") | (["fabio:Correction", "crm:E33_Linguistic_Object"] & "cwrc:place") | (["xsd:date", "crm:E52_Time-Span"] & "crm:E28_Conceptual_Object") | (["xsd:date", "crm:E52_Time-Span"] & "crm:E33_Linguistic_Object") | (["xsd:date", "crm:E52_Time-Span"] & "crmdig:D1_Digital_Object") | (["xsd:date", "crm:E52_Time-Span"] & "crm:E18_Physical_Thing") | (["xsd:date", "crm:E52_Time-Span"] & "cwrc:place") | ("crmdig:D1_Digital_Object" & ["cito:Citation", "crm:E73_Information_Object"]) | ("crmdig:D1_Digital_Object" & ["crm:E28_Conceptual_Object", "wikidata:Q15831596"]) | ("crmdig:D1_Digital_Object" & ["fabio:Correction", "crm:E33_Linguistic_Object"]) | ("crmdig:D1_Digital_Object" & ["xsd:date", "crm:E52_Time-Span"]) | ("crmdig:D1_Digital_Object" & ["crm:E55_Type", "crmdig:D1_Digital_Object"]) | ("crmdig:D1_Digital_Object" & ["crm:E55_Type", "crm:E33_Linguistic_Object"]) | ("crmdig:D1_Digital_Object" & ["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"]) | ("crmdig:D1_Digital_Object" & ["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"]) | ("crmdig:D1_Digital_Object" & ["crm:E18_Physical_Thing", "wikidata:Q15831596"]) | ("crmdig:D1_Digital_Object" & ["cwrc:place", "crm:E89_Propositional_Object"]) | ("crmdig:D1_Digital_Object" & ["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"]) | (["crm:E55_Type", "crmdig:D1_Digital_Object"] & "crm:E28_Conceptual_Object") | (["crm:E55_Type", "crmdig:D1_Digital_Object"] & "crm:E33_Linguistic_Object") | (["crm:E55_Type", "crmdig:D1_Digital_Object"] & "crmdig:D1_Digital_Object") | (["crm:E55_Type", "crmdig:D1_Digital_Object"] & "crm:E18_Physical_Thing") | (["crm:E55_Type", "crmdig:D1_Digital_Object"] & "cwrc:place") | (["crm:E55_Type", "crm:E33_Linguistic_Object"] & "crm:E28_Conceptual_Object") | (["crm:E55_Type", "crm:E33_Linguistic_Object"] & "crm:E33_Linguistic_Object") | (["crm:E55_Type", "crm:E33_Linguistic_Object"] & "crmdig:D1_Digital_Object") | (["crm:E55_Type", "crm:E33_Linguistic_Object"] & "crm:E18_Physical_Thing") | (["crm:E55_Type", "crm:E33_Linguistic_Object"] & "cwrc:place") | (["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"] & "crm:E28_Conceptual_Object") | (["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"] & "crm:E33_Linguistic_Object") | (["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"] & "crmdig:D1_Digital_Object") | (["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"] & "crm:E18_Physical_Thing") | (["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"] & "cwrc:place") | (["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"] & "crm:E28_Conceptual_Object") | (["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"] & "crm:E33_Linguistic_Object") | (["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"] & "crmdig:D1_Digital_Object") | (["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"] & "crm:E18_Physical_Thing") | (["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"] & "cwrc:place") | ("crm:E18_Physical_Thing" & ["cito:Citation", "crm:E73_Information_Object"]) | ("crm:E18_Physical_Thing" & ["crm:E28_Conceptual_Object", "wikidata:Q15831596"]) | ("crm:E18_Physical_Thing" & ["fabio:Correction", "crm:E33_Linguistic_Object"]) | ("crm:E18_Physical_Thing" & ["xsd:date", "crm:E52_Time-Span"]) | ("crm:E18_Physical_Thing" & ["crm:E55_Type", "crmdig:D1_Digital_Object"]) | ("crm:E18_Physical_Thing" & ["crm:E55_Type", "crm:E33_Linguistic_Object"]) | ("crm:E18_Physical_Thing" & ["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"]) | ("crm:E18_Physical_Thing" & ["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"]) | ("crm:E18_Physical_Thing" & ["cwrc:place", "crm:E89_Propositional_Object"]) | ("crm:E18_Physical_Thing" & ["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"]) | (["crm:E18_Physical_Thing", "wikidata:Q15831596"] & "crm:E28_Conceptual_Object") | (["crm:E18_Physical_Thing", "wikidata:Q15831596"] & "crm:E33_Linguistic_Object") | (["crm:E18_Physical_Thing", "wikidata:Q15831596"] & "crmdig:D1_Digital_Object") | (["crm:E18_Physical_Thing", "wikidata:Q15831596"] & "cwrc:place") | ("cwrc:place" & ["cito:Citation", "crm:E73_Information_Object"]) | ("cwrc:place" & ["crm:E28_Conceptual_Object", "wikidata:Q15831596"]) | ("cwrc:place" & ["fabio:Correction", "crm:E33_Linguistic_Object"]) | ("cwrc:place" & ["xsd:date", "crm:E52_Time-Span"]) | ("cwrc:place" & ["crm:E55_Type", "crmdig:D1_Digital_Object"]) | ("cwrc:place" & ["crm:E55_Type", "crm:E33_Linguistic_Object"]) | ("cwrc:place" & ["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"]) | ("cwrc:place" & ["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"]) | ("cwrc:place" & ["crm:E18_Physical_Thing", "wikidata:Q15831596"]) | ("cwrc:place" & ["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"]) | (["cwrc:place", "crm:E89_Propositional_Object"] & "crm:E28_Conceptual_Object") | (["cwrc:place", "crm:E89_Propositional_Object"] & "crm:E33_Linguistic_Object") | (["cwrc:place", "crm:E89_Propositional_Object"] & "crmdig:D1_Digital_Object") | (["cwrc:place", "crm:E89_Propositional_Object"] & "crm:E18_Physical_Thing") | (["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"] & "crm:E28_Conceptual_Object") | (["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"] & "crm:E33_Linguistic_Object") | (["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"] & "crmdig:D1_Digital_Object") | (["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"] & "crm:E18_Physical_Thing") | (["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"] & "cwrc:place");
108
+ type?: "TextualBody" | undefined;
109
+ additionalType?: string | string[] | undefined;
110
+ value?: string | undefined;
111
+ certainty?: "edit:qualityLow" | "edit:qualityMedium" | "edit:qualityHigh" | "edit:qualityUnknown" | undefined;
112
+ precision?: "edit:qualityLow" | "edit:qualityMedium" | "edit:qualityHigh" | "edit:qualityUnknown" | undefined;
113
+ label?: string | undefined;
114
+ description?: string | undefined;
115
+ }, {
116
+ id: string;
117
+ entityType: ["cito:Citation", "crm:E73_Information_Object"] | "crm:E28_Conceptual_Object" | ["crm:E28_Conceptual_Object", "wikidata:Q15831596"] | ("crm:E28_Conceptual_Object" & ["crm:E28_Conceptual_Object", "wikidata:Q15831596"]) | (["crm:E28_Conceptual_Object", "wikidata:Q15831596"] & "crm:E28_Conceptual_Object") | "crm:E33_Linguistic_Object" | ["fabio:Correction", "crm:E33_Linguistic_Object"] | ["xsd:date", "crm:E52_Time-Span"] | "crmdig:D1_Digital_Object" | ["crm:E55_Type", "crmdig:D1_Digital_Object"] | ["crm:E55_Type", "crm:E33_Linguistic_Object"] | ["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"] | ["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"] | "crm:E18_Physical_Thing" | ["crm:E18_Physical_Thing", "wikidata:Q15831596"] | ("crm:E18_Physical_Thing" & ["crm:E18_Physical_Thing", "wikidata:Q15831596"]) | (["crm:E18_Physical_Thing", "wikidata:Q15831596"] & "crm:E18_Physical_Thing") | "cwrc:place" | ["cwrc:place", "crm:E89_Propositional_Object"] | ("cwrc:place" & ["cwrc:place", "crm:E89_Propositional_Object"]) | (["cwrc:place", "crm:E89_Propositional_Object"] & "cwrc:place") | ["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"] | (["cito:Citation", "crm:E73_Information_Object"] & "crm:E28_Conceptual_Object") | (["cito:Citation", "crm:E73_Information_Object"] & "crm:E33_Linguistic_Object") | (["cito:Citation", "crm:E73_Information_Object"] & "crmdig:D1_Digital_Object") | (["cito:Citation", "crm:E73_Information_Object"] & "crm:E18_Physical_Thing") | (["cito:Citation", "crm:E73_Information_Object"] & "cwrc:place") | ("crm:E28_Conceptual_Object" & ["cito:Citation", "crm:E73_Information_Object"]) | ("crm:E28_Conceptual_Object" & ["fabio:Correction", "crm:E33_Linguistic_Object"]) | ("crm:E28_Conceptual_Object" & ["xsd:date", "crm:E52_Time-Span"]) | ("crm:E28_Conceptual_Object" & ["crm:E55_Type", "crmdig:D1_Digital_Object"]) | ("crm:E28_Conceptual_Object" & ["crm:E55_Type", "crm:E33_Linguistic_Object"]) | ("crm:E28_Conceptual_Object" & ["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"]) | ("crm:E28_Conceptual_Object" & ["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"]) | ("crm:E28_Conceptual_Object" & ["crm:E18_Physical_Thing", "wikidata:Q15831596"]) | ("crm:E28_Conceptual_Object" & ["cwrc:place", "crm:E89_Propositional_Object"]) | ("crm:E28_Conceptual_Object" & ["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"]) | (["crm:E28_Conceptual_Object", "wikidata:Q15831596"] & "crm:E33_Linguistic_Object") | (["crm:E28_Conceptual_Object", "wikidata:Q15831596"] & "crmdig:D1_Digital_Object") | (["crm:E28_Conceptual_Object", "wikidata:Q15831596"] & "crm:E18_Physical_Thing") | (["crm:E28_Conceptual_Object", "wikidata:Q15831596"] & "cwrc:place") | ("crm:E33_Linguistic_Object" & ["cito:Citation", "crm:E73_Information_Object"]) | ("crm:E33_Linguistic_Object" & ["crm:E28_Conceptual_Object", "wikidata:Q15831596"]) | ("crm:E33_Linguistic_Object" & ["fabio:Correction", "crm:E33_Linguistic_Object"]) | ("crm:E33_Linguistic_Object" & ["xsd:date", "crm:E52_Time-Span"]) | ("crm:E33_Linguistic_Object" & ["crm:E55_Type", "crmdig:D1_Digital_Object"]) | ("crm:E33_Linguistic_Object" & ["crm:E55_Type", "crm:E33_Linguistic_Object"]) | ("crm:E33_Linguistic_Object" & ["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"]) | ("crm:E33_Linguistic_Object" & ["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"]) | ("crm:E33_Linguistic_Object" & ["crm:E18_Physical_Thing", "wikidata:Q15831596"]) | ("crm:E33_Linguistic_Object" & ["cwrc:place", "crm:E89_Propositional_Object"]) | ("crm:E33_Linguistic_Object" & ["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"]) | (["fabio:Correction", "crm:E33_Linguistic_Object"] & "crm:E28_Conceptual_Object") | (["fabio:Correction", "crm:E33_Linguistic_Object"] & "crm:E33_Linguistic_Object") | (["fabio:Correction", "crm:E33_Linguistic_Object"] & "crmdig:D1_Digital_Object") | (["fabio:Correction", "crm:E33_Linguistic_Object"] & "crm:E18_Physical_Thing") | (["fabio:Correction", "crm:E33_Linguistic_Object"] & "cwrc:place") | (["xsd:date", "crm:E52_Time-Span"] & "crm:E28_Conceptual_Object") | (["xsd:date", "crm:E52_Time-Span"] & "crm:E33_Linguistic_Object") | (["xsd:date", "crm:E52_Time-Span"] & "crmdig:D1_Digital_Object") | (["xsd:date", "crm:E52_Time-Span"] & "crm:E18_Physical_Thing") | (["xsd:date", "crm:E52_Time-Span"] & "cwrc:place") | ("crmdig:D1_Digital_Object" & ["cito:Citation", "crm:E73_Information_Object"]) | ("crmdig:D1_Digital_Object" & ["crm:E28_Conceptual_Object", "wikidata:Q15831596"]) | ("crmdig:D1_Digital_Object" & ["fabio:Correction", "crm:E33_Linguistic_Object"]) | ("crmdig:D1_Digital_Object" & ["xsd:date", "crm:E52_Time-Span"]) | ("crmdig:D1_Digital_Object" & ["crm:E55_Type", "crmdig:D1_Digital_Object"]) | ("crmdig:D1_Digital_Object" & ["crm:E55_Type", "crm:E33_Linguistic_Object"]) | ("crmdig:D1_Digital_Object" & ["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"]) | ("crmdig:D1_Digital_Object" & ["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"]) | ("crmdig:D1_Digital_Object" & ["crm:E18_Physical_Thing", "wikidata:Q15831596"]) | ("crmdig:D1_Digital_Object" & ["cwrc:place", "crm:E89_Propositional_Object"]) | ("crmdig:D1_Digital_Object" & ["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"]) | (["crm:E55_Type", "crmdig:D1_Digital_Object"] & "crm:E28_Conceptual_Object") | (["crm:E55_Type", "crmdig:D1_Digital_Object"] & "crm:E33_Linguistic_Object") | (["crm:E55_Type", "crmdig:D1_Digital_Object"] & "crmdig:D1_Digital_Object") | (["crm:E55_Type", "crmdig:D1_Digital_Object"] & "crm:E18_Physical_Thing") | (["crm:E55_Type", "crmdig:D1_Digital_Object"] & "cwrc:place") | (["crm:E55_Type", "crm:E33_Linguistic_Object"] & "crm:E28_Conceptual_Object") | (["crm:E55_Type", "crm:E33_Linguistic_Object"] & "crm:E33_Linguistic_Object") | (["crm:E55_Type", "crm:E33_Linguistic_Object"] & "crmdig:D1_Digital_Object") | (["crm:E55_Type", "crm:E33_Linguistic_Object"] & "crm:E18_Physical_Thing") | (["crm:E55_Type", "crm:E33_Linguistic_Object"] & "cwrc:place") | (["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"] & "crm:E28_Conceptual_Object") | (["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"] & "crm:E33_Linguistic_Object") | (["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"] & "crmdig:D1_Digital_Object") | (["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"] & "crm:E18_Physical_Thing") | (["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"] & "cwrc:place") | (["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"] & "crm:E28_Conceptual_Object") | (["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"] & "crm:E33_Linguistic_Object") | (["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"] & "crmdig:D1_Digital_Object") | (["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"] & "crm:E18_Physical_Thing") | (["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"] & "cwrc:place") | ("crm:E18_Physical_Thing" & ["cito:Citation", "crm:E73_Information_Object"]) | ("crm:E18_Physical_Thing" & ["crm:E28_Conceptual_Object", "wikidata:Q15831596"]) | ("crm:E18_Physical_Thing" & ["fabio:Correction", "crm:E33_Linguistic_Object"]) | ("crm:E18_Physical_Thing" & ["xsd:date", "crm:E52_Time-Span"]) | ("crm:E18_Physical_Thing" & ["crm:E55_Type", "crmdig:D1_Digital_Object"]) | ("crm:E18_Physical_Thing" & ["crm:E55_Type", "crm:E33_Linguistic_Object"]) | ("crm:E18_Physical_Thing" & ["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"]) | ("crm:E18_Physical_Thing" & ["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"]) | ("crm:E18_Physical_Thing" & ["cwrc:place", "crm:E89_Propositional_Object"]) | ("crm:E18_Physical_Thing" & ["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"]) | (["crm:E18_Physical_Thing", "wikidata:Q15831596"] & "crm:E28_Conceptual_Object") | (["crm:E18_Physical_Thing", "wikidata:Q15831596"] & "crm:E33_Linguistic_Object") | (["crm:E18_Physical_Thing", "wikidata:Q15831596"] & "crmdig:D1_Digital_Object") | (["crm:E18_Physical_Thing", "wikidata:Q15831596"] & "cwrc:place") | ("cwrc:place" & ["cito:Citation", "crm:E73_Information_Object"]) | ("cwrc:place" & ["crm:E28_Conceptual_Object", "wikidata:Q15831596"]) | ("cwrc:place" & ["fabio:Correction", "crm:E33_Linguistic_Object"]) | ("cwrc:place" & ["xsd:date", "crm:E52_Time-Span"]) | ("cwrc:place" & ["crm:E55_Type", "crmdig:D1_Digital_Object"]) | ("cwrc:place" & ["crm:E55_Type", "crm:E33_Linguistic_Object"]) | ("cwrc:place" & ["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"]) | ("cwrc:place" & ["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"]) | ("cwrc:place" & ["crm:E18_Physical_Thing", "wikidata:Q15831596"]) | ("cwrc:place" & ["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"]) | (["cwrc:place", "crm:E89_Propositional_Object"] & "crm:E28_Conceptual_Object") | (["cwrc:place", "crm:E89_Propositional_Object"] & "crm:E33_Linguistic_Object") | (["cwrc:place", "crm:E89_Propositional_Object"] & "crmdig:D1_Digital_Object") | (["cwrc:place", "crm:E89_Propositional_Object"] & "crm:E18_Physical_Thing") | (["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"] & "crm:E28_Conceptual_Object") | (["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"] & "crm:E33_Linguistic_Object") | (["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"] & "crmdig:D1_Digital_Object") | (["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"] & "crm:E18_Physical_Thing") | (["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"] & "cwrc:place");
118
+ type?: "TextualBody" | undefined;
119
+ additionalType?: string | string[] | undefined;
120
+ value?: string | undefined;
121
+ certainty?: "edit:qualityLow" | "edit:qualityMedium" | "edit:qualityHigh" | "edit:qualityUnknown" | undefined;
122
+ precision?: "edit:qualityLow" | "edit:qualityMedium" | "edit:qualityHigh" | "edit:qualityUnknown" | undefined;
123
+ label?: string | undefined;
124
+ description?: string | undefined;
125
+ }>;
126
+ type Body = z.infer<typeof Body>;
127
+ declare const bodySchema: JSONSchemaType<Required<Body>>;
128
+
129
+ declare const Target: z.ZodObject<{
130
+ id: z.ZodUnion<[z.ZodString, z.ZodString]>;
131
+ type: z.ZodTuple<[z.ZodLiteral<"SpecificResource">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
132
+ format: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
133
+ language: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
134
+ title: z.ZodOptional<z.ZodString>;
135
+ renderedVia: z.ZodOptional<z.ZodObject<{
136
+ id: z.ZodString;
137
+ type: z.ZodTuple<[z.ZodLiteral<"Software">, z.ZodLiteral<"crm:P16_used_specific_object">], null>;
138
+ label: z.ZodString;
139
+ softwareVersion: z.ZodOptional<z.ZodString>;
140
+ }, "strip", z.ZodTypeAny, {
141
+ type: ["Software", "crm:P16_used_specific_object"];
142
+ id: string;
143
+ label: string;
144
+ softwareVersion?: string | undefined;
145
+ }, {
146
+ type: ["Software", "crm:P16_used_specific_object"];
147
+ id: string;
148
+ label: string;
149
+ softwareVersion?: string | undefined;
150
+ }>>;
151
+ selector: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
152
+ id: z.ZodString;
153
+ type: z.ZodTuple<[z.ZodLiteral<"TextQuoteSelector">, z.ZodLiteral<"crm:E33_Linguistic_Object">], null>;
154
+ exact: z.ZodString;
155
+ prefix: z.ZodOptional<z.ZodString>;
156
+ sufix: z.ZodOptional<z.ZodString>;
157
+ refinedBy: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
158
+ id: z.ZodString;
159
+ type: z.ZodTuple<[z.ZodLiteral<"RangeSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
160
+ startSelector: z.ZodObject<{
161
+ id: z.ZodString;
162
+ type: z.ZodTuple<[z.ZodLiteral<"XPathSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
163
+ value: z.ZodString;
164
+ refinedBy: z.ZodOptional<z.ZodObject<{
165
+ id: z.ZodString;
166
+ type: z.ZodTuple<[z.ZodLiteral<"TextPositionSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
167
+ start: z.ZodNumber;
168
+ end: z.ZodNumber;
169
+ }, "strip", z.ZodTypeAny, {
170
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
171
+ id: string;
172
+ start: number;
173
+ end: number;
174
+ }, {
175
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
176
+ id: string;
177
+ start: number;
178
+ end: number;
179
+ }>>;
180
+ }, "strip", z.ZodTypeAny, {
181
+ value: string;
182
+ type: ["XPathSelector", "crm:E73_Information_Object"];
183
+ id: string;
184
+ refinedBy?: {
185
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
186
+ id: string;
187
+ start: number;
188
+ end: number;
189
+ } | undefined;
190
+ }, {
191
+ value: string;
192
+ type: ["XPathSelector", "crm:E73_Information_Object"];
193
+ id: string;
194
+ refinedBy?: {
195
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
196
+ id: string;
197
+ start: number;
198
+ end: number;
199
+ } | undefined;
200
+ }>;
201
+ endSelector: z.ZodObject<{
202
+ id: z.ZodString;
203
+ type: z.ZodTuple<[z.ZodLiteral<"XPathSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
204
+ value: z.ZodString;
205
+ refinedBy: z.ZodOptional<z.ZodObject<{
206
+ id: z.ZodString;
207
+ type: z.ZodTuple<[z.ZodLiteral<"TextPositionSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
208
+ start: z.ZodNumber;
209
+ end: z.ZodNumber;
210
+ }, "strip", z.ZodTypeAny, {
211
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
212
+ id: string;
213
+ start: number;
214
+ end: number;
215
+ }, {
216
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
217
+ id: string;
218
+ start: number;
219
+ end: number;
220
+ }>>;
221
+ }, "strip", z.ZodTypeAny, {
222
+ value: string;
223
+ type: ["XPathSelector", "crm:E73_Information_Object"];
224
+ id: string;
225
+ refinedBy?: {
226
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
227
+ id: string;
228
+ start: number;
229
+ end: number;
230
+ } | undefined;
231
+ }, {
232
+ value: string;
233
+ type: ["XPathSelector", "crm:E73_Information_Object"];
234
+ id: string;
235
+ refinedBy?: {
236
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
237
+ id: string;
238
+ start: number;
239
+ end: number;
240
+ } | undefined;
241
+ }>;
242
+ }, "strip", z.ZodTypeAny, {
243
+ type: ["RangeSelector", "crm:E73_Information_Object"];
244
+ id: string;
245
+ startSelector: {
246
+ value: string;
247
+ type: ["XPathSelector", "crm:E73_Information_Object"];
248
+ id: string;
249
+ refinedBy?: {
250
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
251
+ id: string;
252
+ start: number;
253
+ end: number;
254
+ } | undefined;
255
+ };
256
+ endSelector: {
257
+ value: string;
258
+ type: ["XPathSelector", "crm:E73_Information_Object"];
259
+ id: string;
260
+ refinedBy?: {
261
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
262
+ id: string;
263
+ start: number;
264
+ end: number;
265
+ } | undefined;
266
+ };
267
+ }, {
268
+ type: ["RangeSelector", "crm:E73_Information_Object"];
269
+ id: string;
270
+ startSelector: {
271
+ value: string;
272
+ type: ["XPathSelector", "crm:E73_Information_Object"];
273
+ id: string;
274
+ refinedBy?: {
275
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
276
+ id: string;
277
+ start: number;
278
+ end: number;
279
+ } | undefined;
280
+ };
281
+ endSelector: {
282
+ value: string;
283
+ type: ["XPathSelector", "crm:E73_Information_Object"];
284
+ id: string;
285
+ refinedBy?: {
286
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
287
+ id: string;
288
+ start: number;
289
+ end: number;
290
+ } | undefined;
291
+ };
292
+ }>, z.ZodObject<{
293
+ id: z.ZodString;
294
+ type: z.ZodTuple<[z.ZodLiteral<"XPathSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
295
+ value: z.ZodString;
296
+ refinedBy: z.ZodOptional<z.ZodObject<{
297
+ id: z.ZodString;
298
+ type: z.ZodTuple<[z.ZodLiteral<"TextPositionSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
299
+ start: z.ZodNumber;
300
+ end: z.ZodNumber;
301
+ }, "strip", z.ZodTypeAny, {
302
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
303
+ id: string;
304
+ start: number;
305
+ end: number;
306
+ }, {
307
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
308
+ id: string;
309
+ start: number;
310
+ end: number;
311
+ }>>;
312
+ }, "strip", z.ZodTypeAny, {
313
+ value: string;
314
+ type: ["XPathSelector", "crm:E73_Information_Object"];
315
+ id: string;
316
+ refinedBy?: {
317
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
318
+ id: string;
319
+ start: number;
320
+ end: number;
321
+ } | undefined;
322
+ }, {
323
+ value: string;
324
+ type: ["XPathSelector", "crm:E73_Information_Object"];
325
+ id: string;
326
+ refinedBy?: {
327
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
328
+ id: string;
329
+ start: number;
330
+ end: number;
331
+ } | undefined;
332
+ }>, z.ZodObject<{
333
+ id: z.ZodString;
334
+ type: z.ZodTuple<[z.ZodLiteral<"TextPositionSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
335
+ start: z.ZodNumber;
336
+ end: z.ZodNumber;
337
+ }, "strip", z.ZodTypeAny, {
338
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
339
+ id: string;
340
+ start: number;
341
+ end: number;
342
+ }, {
343
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
344
+ id: string;
345
+ start: number;
346
+ end: number;
347
+ }>]>>;
348
+ }, "strip", z.ZodTypeAny, {
349
+ exact: string;
350
+ type: ["TextQuoteSelector", "crm:E33_Linguistic_Object"];
351
+ id: string;
352
+ prefix?: string | undefined;
353
+ sufix?: string | undefined;
354
+ refinedBy?: {
355
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
356
+ id: string;
357
+ start: number;
358
+ end: number;
359
+ } | {
360
+ value: string;
361
+ type: ["XPathSelector", "crm:E73_Information_Object"];
362
+ id: string;
363
+ refinedBy?: {
364
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
365
+ id: string;
366
+ start: number;
367
+ end: number;
368
+ } | undefined;
369
+ } | {
370
+ type: ["RangeSelector", "crm:E73_Information_Object"];
371
+ id: string;
372
+ startSelector: {
373
+ value: string;
374
+ type: ["XPathSelector", "crm:E73_Information_Object"];
375
+ id: string;
376
+ refinedBy?: {
377
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
378
+ id: string;
379
+ start: number;
380
+ end: number;
381
+ } | undefined;
382
+ };
383
+ endSelector: {
384
+ value: string;
385
+ type: ["XPathSelector", "crm:E73_Information_Object"];
386
+ id: string;
387
+ refinedBy?: {
388
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
389
+ id: string;
390
+ start: number;
391
+ end: number;
392
+ } | undefined;
393
+ };
394
+ } | undefined;
395
+ }, {
396
+ exact: string;
397
+ type: ["TextQuoteSelector", "crm:E33_Linguistic_Object"];
398
+ id: string;
399
+ prefix?: string | undefined;
400
+ sufix?: string | undefined;
401
+ refinedBy?: {
402
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
403
+ id: string;
404
+ start: number;
405
+ end: number;
406
+ } | {
407
+ value: string;
408
+ type: ["XPathSelector", "crm:E73_Information_Object"];
409
+ id: string;
410
+ refinedBy?: {
411
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
412
+ id: string;
413
+ start: number;
414
+ end: number;
415
+ } | undefined;
416
+ } | {
417
+ type: ["RangeSelector", "crm:E73_Information_Object"];
418
+ id: string;
419
+ startSelector: {
420
+ value: string;
421
+ type: ["XPathSelector", "crm:E73_Information_Object"];
422
+ id: string;
423
+ refinedBy?: {
424
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
425
+ id: string;
426
+ start: number;
427
+ end: number;
428
+ } | undefined;
429
+ };
430
+ endSelector: {
431
+ value: string;
432
+ type: ["XPathSelector", "crm:E73_Information_Object"];
433
+ id: string;
434
+ refinedBy?: {
435
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
436
+ id: string;
437
+ start: number;
438
+ end: number;
439
+ } | undefined;
440
+ };
441
+ } | undefined;
442
+ }>, z.ZodObject<{
443
+ id: z.ZodString;
444
+ type: z.ZodTuple<[z.ZodLiteral<"RangeSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
445
+ startSelector: z.ZodObject<{
446
+ id: z.ZodString;
447
+ type: z.ZodTuple<[z.ZodLiteral<"XPathSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
448
+ value: z.ZodString;
449
+ refinedBy: z.ZodOptional<z.ZodObject<{
450
+ id: z.ZodString;
451
+ type: z.ZodTuple<[z.ZodLiteral<"TextPositionSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
452
+ start: z.ZodNumber;
453
+ end: z.ZodNumber;
454
+ }, "strip", z.ZodTypeAny, {
455
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
456
+ id: string;
457
+ start: number;
458
+ end: number;
459
+ }, {
460
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
461
+ id: string;
462
+ start: number;
463
+ end: number;
464
+ }>>;
465
+ }, "strip", z.ZodTypeAny, {
466
+ value: string;
467
+ type: ["XPathSelector", "crm:E73_Information_Object"];
468
+ id: string;
469
+ refinedBy?: {
470
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
471
+ id: string;
472
+ start: number;
473
+ end: number;
474
+ } | undefined;
475
+ }, {
476
+ value: string;
477
+ type: ["XPathSelector", "crm:E73_Information_Object"];
478
+ id: string;
479
+ refinedBy?: {
480
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
481
+ id: string;
482
+ start: number;
483
+ end: number;
484
+ } | undefined;
485
+ }>;
486
+ endSelector: z.ZodObject<{
487
+ id: z.ZodString;
488
+ type: z.ZodTuple<[z.ZodLiteral<"XPathSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
489
+ value: z.ZodString;
490
+ refinedBy: z.ZodOptional<z.ZodObject<{
491
+ id: z.ZodString;
492
+ type: z.ZodTuple<[z.ZodLiteral<"TextPositionSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
493
+ start: z.ZodNumber;
494
+ end: z.ZodNumber;
495
+ }, "strip", z.ZodTypeAny, {
496
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
497
+ id: string;
498
+ start: number;
499
+ end: number;
500
+ }, {
501
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
502
+ id: string;
503
+ start: number;
504
+ end: number;
505
+ }>>;
506
+ }, "strip", z.ZodTypeAny, {
507
+ value: string;
508
+ type: ["XPathSelector", "crm:E73_Information_Object"];
509
+ id: string;
510
+ refinedBy?: {
511
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
512
+ id: string;
513
+ start: number;
514
+ end: number;
515
+ } | undefined;
516
+ }, {
517
+ value: string;
518
+ type: ["XPathSelector", "crm:E73_Information_Object"];
519
+ id: string;
520
+ refinedBy?: {
521
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
522
+ id: string;
523
+ start: number;
524
+ end: number;
525
+ } | undefined;
526
+ }>;
527
+ }, "strip", z.ZodTypeAny, {
528
+ type: ["RangeSelector", "crm:E73_Information_Object"];
529
+ id: string;
530
+ startSelector: {
531
+ value: string;
532
+ type: ["XPathSelector", "crm:E73_Information_Object"];
533
+ id: string;
534
+ refinedBy?: {
535
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
536
+ id: string;
537
+ start: number;
538
+ end: number;
539
+ } | undefined;
540
+ };
541
+ endSelector: {
542
+ value: string;
543
+ type: ["XPathSelector", "crm:E73_Information_Object"];
544
+ id: string;
545
+ refinedBy?: {
546
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
547
+ id: string;
548
+ start: number;
549
+ end: number;
550
+ } | undefined;
551
+ };
552
+ }, {
553
+ type: ["RangeSelector", "crm:E73_Information_Object"];
554
+ id: string;
555
+ startSelector: {
556
+ value: string;
557
+ type: ["XPathSelector", "crm:E73_Information_Object"];
558
+ id: string;
559
+ refinedBy?: {
560
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
561
+ id: string;
562
+ start: number;
563
+ end: number;
564
+ } | undefined;
565
+ };
566
+ endSelector: {
567
+ value: string;
568
+ type: ["XPathSelector", "crm:E73_Information_Object"];
569
+ id: string;
570
+ refinedBy?: {
571
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
572
+ id: string;
573
+ start: number;
574
+ end: number;
575
+ } | undefined;
576
+ };
577
+ }>, z.ZodObject<{
578
+ id: z.ZodString;
579
+ type: z.ZodTuple<[z.ZodLiteral<"XPathSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
580
+ value: z.ZodString;
581
+ refinedBy: z.ZodOptional<z.ZodObject<{
582
+ id: z.ZodString;
583
+ type: z.ZodTuple<[z.ZodLiteral<"TextPositionSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
584
+ start: z.ZodNumber;
585
+ end: z.ZodNumber;
586
+ }, "strip", z.ZodTypeAny, {
587
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
588
+ id: string;
589
+ start: number;
590
+ end: number;
591
+ }, {
592
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
593
+ id: string;
594
+ start: number;
595
+ end: number;
596
+ }>>;
597
+ }, "strip", z.ZodTypeAny, {
598
+ value: string;
599
+ type: ["XPathSelector", "crm:E73_Information_Object"];
600
+ id: string;
601
+ refinedBy?: {
602
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
603
+ id: string;
604
+ start: number;
605
+ end: number;
606
+ } | undefined;
607
+ }, {
608
+ value: string;
609
+ type: ["XPathSelector", "crm:E73_Information_Object"];
610
+ id: string;
611
+ refinedBy?: {
612
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
613
+ id: string;
614
+ start: number;
615
+ end: number;
616
+ } | undefined;
617
+ }>, z.ZodObject<{
618
+ id: z.ZodString;
619
+ type: z.ZodTuple<[z.ZodLiteral<"TextPositionSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
620
+ start: z.ZodNumber;
621
+ end: z.ZodNumber;
622
+ }, "strip", z.ZodTypeAny, {
623
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
624
+ id: string;
625
+ start: number;
626
+ end: number;
627
+ }, {
628
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
629
+ id: string;
630
+ start: number;
631
+ end: number;
632
+ }>]>>;
633
+ }, "strip", z.ZodTypeAny, {
634
+ type: ["SpecificResource", "crm:E73_Information_Object"];
635
+ id: string;
636
+ format?: string[] | undefined;
637
+ language?: string[] | undefined;
638
+ title?: string | undefined;
639
+ renderedVia?: {
640
+ type: ["Software", "crm:P16_used_specific_object"];
641
+ id: string;
642
+ label: string;
643
+ softwareVersion?: string | undefined;
644
+ } | undefined;
645
+ selector?: {
646
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
647
+ id: string;
648
+ start: number;
649
+ end: number;
650
+ } | {
651
+ value: string;
652
+ type: ["XPathSelector", "crm:E73_Information_Object"];
653
+ id: string;
654
+ refinedBy?: {
655
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
656
+ id: string;
657
+ start: number;
658
+ end: number;
659
+ } | undefined;
660
+ } | {
661
+ type: ["RangeSelector", "crm:E73_Information_Object"];
662
+ id: string;
663
+ startSelector: {
664
+ value: string;
665
+ type: ["XPathSelector", "crm:E73_Information_Object"];
666
+ id: string;
667
+ refinedBy?: {
668
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
669
+ id: string;
670
+ start: number;
671
+ end: number;
672
+ } | undefined;
673
+ };
674
+ endSelector: {
675
+ value: string;
676
+ type: ["XPathSelector", "crm:E73_Information_Object"];
677
+ id: string;
678
+ refinedBy?: {
679
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
680
+ id: string;
681
+ start: number;
682
+ end: number;
683
+ } | undefined;
684
+ };
685
+ } | {
686
+ exact: string;
687
+ type: ["TextQuoteSelector", "crm:E33_Linguistic_Object"];
688
+ id: string;
689
+ prefix?: string | undefined;
690
+ sufix?: string | undefined;
691
+ refinedBy?: {
692
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
693
+ id: string;
694
+ start: number;
695
+ end: number;
696
+ } | {
697
+ value: string;
698
+ type: ["XPathSelector", "crm:E73_Information_Object"];
699
+ id: string;
700
+ refinedBy?: {
701
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
702
+ id: string;
703
+ start: number;
704
+ end: number;
705
+ } | undefined;
706
+ } | {
707
+ type: ["RangeSelector", "crm:E73_Information_Object"];
708
+ id: string;
709
+ startSelector: {
710
+ value: string;
711
+ type: ["XPathSelector", "crm:E73_Information_Object"];
712
+ id: string;
713
+ refinedBy?: {
714
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
715
+ id: string;
716
+ start: number;
717
+ end: number;
718
+ } | undefined;
719
+ };
720
+ endSelector: {
721
+ value: string;
722
+ type: ["XPathSelector", "crm:E73_Information_Object"];
723
+ id: string;
724
+ refinedBy?: {
725
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
726
+ id: string;
727
+ start: number;
728
+ end: number;
729
+ } | undefined;
730
+ };
731
+ } | undefined;
732
+ } | undefined;
733
+ }, {
734
+ type: ["SpecificResource", "crm:E73_Information_Object"];
735
+ id: string;
736
+ format?: string[] | undefined;
737
+ language?: string[] | undefined;
738
+ title?: string | undefined;
739
+ renderedVia?: {
740
+ type: ["Software", "crm:P16_used_specific_object"];
741
+ id: string;
742
+ label: string;
743
+ softwareVersion?: string | undefined;
744
+ } | undefined;
745
+ selector?: {
746
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
747
+ id: string;
748
+ start: number;
749
+ end: number;
750
+ } | {
751
+ value: string;
752
+ type: ["XPathSelector", "crm:E73_Information_Object"];
753
+ id: string;
754
+ refinedBy?: {
755
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
756
+ id: string;
757
+ start: number;
758
+ end: number;
759
+ } | undefined;
760
+ } | {
761
+ type: ["RangeSelector", "crm:E73_Information_Object"];
762
+ id: string;
763
+ startSelector: {
764
+ value: string;
765
+ type: ["XPathSelector", "crm:E73_Information_Object"];
766
+ id: string;
767
+ refinedBy?: {
768
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
769
+ id: string;
770
+ start: number;
771
+ end: number;
772
+ } | undefined;
773
+ };
774
+ endSelector: {
775
+ value: string;
776
+ type: ["XPathSelector", "crm:E73_Information_Object"];
777
+ id: string;
778
+ refinedBy?: {
779
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
780
+ id: string;
781
+ start: number;
782
+ end: number;
783
+ } | undefined;
784
+ };
785
+ } | {
786
+ exact: string;
787
+ type: ["TextQuoteSelector", "crm:E33_Linguistic_Object"];
788
+ id: string;
789
+ prefix?: string | undefined;
790
+ sufix?: string | undefined;
791
+ refinedBy?: {
792
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
793
+ id: string;
794
+ start: number;
795
+ end: number;
796
+ } | {
797
+ value: string;
798
+ type: ["XPathSelector", "crm:E73_Information_Object"];
799
+ id: string;
800
+ refinedBy?: {
801
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
802
+ id: string;
803
+ start: number;
804
+ end: number;
805
+ } | undefined;
806
+ } | {
807
+ type: ["RangeSelector", "crm:E73_Information_Object"];
808
+ id: string;
809
+ startSelector: {
810
+ value: string;
811
+ type: ["XPathSelector", "crm:E73_Information_Object"];
812
+ id: string;
813
+ refinedBy?: {
814
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
815
+ id: string;
816
+ start: number;
817
+ end: number;
818
+ } | undefined;
819
+ };
820
+ endSelector: {
821
+ value: string;
822
+ type: ["XPathSelector", "crm:E73_Information_Object"];
823
+ id: string;
824
+ refinedBy?: {
825
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
826
+ id: string;
827
+ start: number;
828
+ end: number;
829
+ } | undefined;
830
+ };
831
+ } | undefined;
832
+ } | undefined;
833
+ }>;
834
+ type Target = z.infer<typeof Target>;
835
+ declare const targetSchema: JSONSchemaType<Required<Target>>;
836
+
837
+ declare const RangeSelector: z.ZodObject<{
838
+ id: z.ZodString;
839
+ type: z.ZodTuple<[z.ZodLiteral<"RangeSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
840
+ startSelector: z.ZodObject<{
841
+ id: z.ZodString;
842
+ type: z.ZodTuple<[z.ZodLiteral<"XPathSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
843
+ value: z.ZodString;
844
+ refinedBy: z.ZodOptional<z.ZodObject<{
845
+ id: z.ZodString;
846
+ type: z.ZodTuple<[z.ZodLiteral<"TextPositionSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
847
+ start: z.ZodNumber;
848
+ end: z.ZodNumber;
849
+ }, "strip", z.ZodTypeAny, {
850
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
851
+ id: string;
852
+ start: number;
853
+ end: number;
854
+ }, {
855
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
856
+ id: string;
857
+ start: number;
858
+ end: number;
859
+ }>>;
860
+ }, "strip", z.ZodTypeAny, {
861
+ value: string;
862
+ type: ["XPathSelector", "crm:E73_Information_Object"];
863
+ id: string;
864
+ refinedBy?: {
865
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
866
+ id: string;
867
+ start: number;
868
+ end: number;
869
+ } | undefined;
870
+ }, {
871
+ value: string;
872
+ type: ["XPathSelector", "crm:E73_Information_Object"];
873
+ id: string;
874
+ refinedBy?: {
875
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
876
+ id: string;
877
+ start: number;
878
+ end: number;
879
+ } | undefined;
880
+ }>;
881
+ endSelector: z.ZodObject<{
882
+ id: z.ZodString;
883
+ type: z.ZodTuple<[z.ZodLiteral<"XPathSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
884
+ value: z.ZodString;
885
+ refinedBy: z.ZodOptional<z.ZodObject<{
886
+ id: z.ZodString;
887
+ type: z.ZodTuple<[z.ZodLiteral<"TextPositionSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
888
+ start: z.ZodNumber;
889
+ end: z.ZodNumber;
890
+ }, "strip", z.ZodTypeAny, {
891
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
892
+ id: string;
893
+ start: number;
894
+ end: number;
895
+ }, {
896
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
897
+ id: string;
898
+ start: number;
899
+ end: number;
900
+ }>>;
901
+ }, "strip", z.ZodTypeAny, {
902
+ value: string;
903
+ type: ["XPathSelector", "crm:E73_Information_Object"];
904
+ id: string;
905
+ refinedBy?: {
906
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
907
+ id: string;
908
+ start: number;
909
+ end: number;
910
+ } | undefined;
911
+ }, {
912
+ value: string;
913
+ type: ["XPathSelector", "crm:E73_Information_Object"];
914
+ id: string;
915
+ refinedBy?: {
916
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
917
+ id: string;
918
+ start: number;
919
+ end: number;
920
+ } | undefined;
921
+ }>;
922
+ }, "strip", z.ZodTypeAny, {
923
+ type: ["RangeSelector", "crm:E73_Information_Object"];
924
+ id: string;
925
+ startSelector: {
926
+ value: string;
927
+ type: ["XPathSelector", "crm:E73_Information_Object"];
928
+ id: string;
929
+ refinedBy?: {
930
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
931
+ id: string;
932
+ start: number;
933
+ end: number;
934
+ } | undefined;
935
+ };
936
+ endSelector: {
937
+ value: string;
938
+ type: ["XPathSelector", "crm:E73_Information_Object"];
939
+ id: string;
940
+ refinedBy?: {
941
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
942
+ id: string;
943
+ start: number;
944
+ end: number;
945
+ } | undefined;
946
+ };
947
+ }, {
948
+ type: ["RangeSelector", "crm:E73_Information_Object"];
949
+ id: string;
950
+ startSelector: {
951
+ value: string;
952
+ type: ["XPathSelector", "crm:E73_Information_Object"];
953
+ id: string;
954
+ refinedBy?: {
955
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
956
+ id: string;
957
+ start: number;
958
+ end: number;
959
+ } | undefined;
960
+ };
961
+ endSelector: {
962
+ value: string;
963
+ type: ["XPathSelector", "crm:E73_Information_Object"];
964
+ id: string;
965
+ refinedBy?: {
966
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
967
+ id: string;
968
+ start: number;
969
+ end: number;
970
+ } | undefined;
971
+ };
972
+ }>;
973
+ type RangeSelector = z.infer<typeof RangeSelector>;
974
+
975
+ declare const TextPositionSelector: z.ZodObject<{
976
+ id: z.ZodString;
977
+ type: z.ZodTuple<[z.ZodLiteral<"TextPositionSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
978
+ start: z.ZodNumber;
979
+ end: z.ZodNumber;
980
+ }, "strip", z.ZodTypeAny, {
981
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
982
+ id: string;
983
+ start: number;
984
+ end: number;
985
+ }, {
986
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
987
+ id: string;
988
+ start: number;
989
+ end: number;
990
+ }>;
991
+ type TextPositionSelector = z.infer<typeof TextPositionSelector>;
992
+
993
+ declare const TextQuoteSelector: z.ZodObject<{
994
+ id: z.ZodString;
995
+ type: z.ZodTuple<[z.ZodLiteral<"TextQuoteSelector">, z.ZodLiteral<"crm:E33_Linguistic_Object">], null>;
996
+ exact: z.ZodString;
997
+ prefix: z.ZodOptional<z.ZodString>;
998
+ sufix: z.ZodOptional<z.ZodString>;
999
+ refinedBy: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1000
+ id: z.ZodString;
1001
+ type: z.ZodTuple<[z.ZodLiteral<"RangeSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
1002
+ startSelector: z.ZodObject<{
1003
+ id: z.ZodString;
1004
+ type: z.ZodTuple<[z.ZodLiteral<"XPathSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
1005
+ value: z.ZodString;
1006
+ refinedBy: z.ZodOptional<z.ZodObject<{
1007
+ id: z.ZodString;
1008
+ type: z.ZodTuple<[z.ZodLiteral<"TextPositionSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
1009
+ start: z.ZodNumber;
1010
+ end: z.ZodNumber;
1011
+ }, "strip", z.ZodTypeAny, {
1012
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1013
+ id: string;
1014
+ start: number;
1015
+ end: number;
1016
+ }, {
1017
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1018
+ id: string;
1019
+ start: number;
1020
+ end: number;
1021
+ }>>;
1022
+ }, "strip", z.ZodTypeAny, {
1023
+ value: string;
1024
+ type: ["XPathSelector", "crm:E73_Information_Object"];
1025
+ id: string;
1026
+ refinedBy?: {
1027
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1028
+ id: string;
1029
+ start: number;
1030
+ end: number;
1031
+ } | undefined;
1032
+ }, {
1033
+ value: string;
1034
+ type: ["XPathSelector", "crm:E73_Information_Object"];
1035
+ id: string;
1036
+ refinedBy?: {
1037
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1038
+ id: string;
1039
+ start: number;
1040
+ end: number;
1041
+ } | undefined;
1042
+ }>;
1043
+ endSelector: z.ZodObject<{
1044
+ id: z.ZodString;
1045
+ type: z.ZodTuple<[z.ZodLiteral<"XPathSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
1046
+ value: z.ZodString;
1047
+ refinedBy: z.ZodOptional<z.ZodObject<{
1048
+ id: z.ZodString;
1049
+ type: z.ZodTuple<[z.ZodLiteral<"TextPositionSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
1050
+ start: z.ZodNumber;
1051
+ end: z.ZodNumber;
1052
+ }, "strip", z.ZodTypeAny, {
1053
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1054
+ id: string;
1055
+ start: number;
1056
+ end: number;
1057
+ }, {
1058
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1059
+ id: string;
1060
+ start: number;
1061
+ end: number;
1062
+ }>>;
1063
+ }, "strip", z.ZodTypeAny, {
1064
+ value: string;
1065
+ type: ["XPathSelector", "crm:E73_Information_Object"];
1066
+ id: string;
1067
+ refinedBy?: {
1068
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1069
+ id: string;
1070
+ start: number;
1071
+ end: number;
1072
+ } | undefined;
1073
+ }, {
1074
+ value: string;
1075
+ type: ["XPathSelector", "crm:E73_Information_Object"];
1076
+ id: string;
1077
+ refinedBy?: {
1078
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1079
+ id: string;
1080
+ start: number;
1081
+ end: number;
1082
+ } | undefined;
1083
+ }>;
1084
+ }, "strip", z.ZodTypeAny, {
1085
+ type: ["RangeSelector", "crm:E73_Information_Object"];
1086
+ id: string;
1087
+ startSelector: {
1088
+ value: string;
1089
+ type: ["XPathSelector", "crm:E73_Information_Object"];
1090
+ id: string;
1091
+ refinedBy?: {
1092
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1093
+ id: string;
1094
+ start: number;
1095
+ end: number;
1096
+ } | undefined;
1097
+ };
1098
+ endSelector: {
1099
+ value: string;
1100
+ type: ["XPathSelector", "crm:E73_Information_Object"];
1101
+ id: string;
1102
+ refinedBy?: {
1103
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1104
+ id: string;
1105
+ start: number;
1106
+ end: number;
1107
+ } | undefined;
1108
+ };
1109
+ }, {
1110
+ type: ["RangeSelector", "crm:E73_Information_Object"];
1111
+ id: string;
1112
+ startSelector: {
1113
+ value: string;
1114
+ type: ["XPathSelector", "crm:E73_Information_Object"];
1115
+ id: string;
1116
+ refinedBy?: {
1117
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1118
+ id: string;
1119
+ start: number;
1120
+ end: number;
1121
+ } | undefined;
1122
+ };
1123
+ endSelector: {
1124
+ value: string;
1125
+ type: ["XPathSelector", "crm:E73_Information_Object"];
1126
+ id: string;
1127
+ refinedBy?: {
1128
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1129
+ id: string;
1130
+ start: number;
1131
+ end: number;
1132
+ } | undefined;
1133
+ };
1134
+ }>, z.ZodObject<{
1135
+ id: z.ZodString;
1136
+ type: z.ZodTuple<[z.ZodLiteral<"XPathSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
1137
+ value: z.ZodString;
1138
+ refinedBy: z.ZodOptional<z.ZodObject<{
1139
+ id: z.ZodString;
1140
+ type: z.ZodTuple<[z.ZodLiteral<"TextPositionSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
1141
+ start: z.ZodNumber;
1142
+ end: z.ZodNumber;
1143
+ }, "strip", z.ZodTypeAny, {
1144
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1145
+ id: string;
1146
+ start: number;
1147
+ end: number;
1148
+ }, {
1149
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1150
+ id: string;
1151
+ start: number;
1152
+ end: number;
1153
+ }>>;
1154
+ }, "strip", z.ZodTypeAny, {
1155
+ value: string;
1156
+ type: ["XPathSelector", "crm:E73_Information_Object"];
1157
+ id: string;
1158
+ refinedBy?: {
1159
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1160
+ id: string;
1161
+ start: number;
1162
+ end: number;
1163
+ } | undefined;
1164
+ }, {
1165
+ value: string;
1166
+ type: ["XPathSelector", "crm:E73_Information_Object"];
1167
+ id: string;
1168
+ refinedBy?: {
1169
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1170
+ id: string;
1171
+ start: number;
1172
+ end: number;
1173
+ } | undefined;
1174
+ }>, z.ZodObject<{
1175
+ id: z.ZodString;
1176
+ type: z.ZodTuple<[z.ZodLiteral<"TextPositionSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
1177
+ start: z.ZodNumber;
1178
+ end: z.ZodNumber;
1179
+ }, "strip", z.ZodTypeAny, {
1180
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1181
+ id: string;
1182
+ start: number;
1183
+ end: number;
1184
+ }, {
1185
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1186
+ id: string;
1187
+ start: number;
1188
+ end: number;
1189
+ }>]>>;
1190
+ }, "strip", z.ZodTypeAny, {
1191
+ exact: string;
1192
+ type: ["TextQuoteSelector", "crm:E33_Linguistic_Object"];
1193
+ id: string;
1194
+ prefix?: string | undefined;
1195
+ sufix?: string | undefined;
1196
+ refinedBy?: {
1197
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1198
+ id: string;
1199
+ start: number;
1200
+ end: number;
1201
+ } | {
1202
+ value: string;
1203
+ type: ["XPathSelector", "crm:E73_Information_Object"];
1204
+ id: string;
1205
+ refinedBy?: {
1206
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1207
+ id: string;
1208
+ start: number;
1209
+ end: number;
1210
+ } | undefined;
1211
+ } | {
1212
+ type: ["RangeSelector", "crm:E73_Information_Object"];
1213
+ id: string;
1214
+ startSelector: {
1215
+ value: string;
1216
+ type: ["XPathSelector", "crm:E73_Information_Object"];
1217
+ id: string;
1218
+ refinedBy?: {
1219
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1220
+ id: string;
1221
+ start: number;
1222
+ end: number;
1223
+ } | undefined;
1224
+ };
1225
+ endSelector: {
1226
+ value: string;
1227
+ type: ["XPathSelector", "crm:E73_Information_Object"];
1228
+ id: string;
1229
+ refinedBy?: {
1230
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1231
+ id: string;
1232
+ start: number;
1233
+ end: number;
1234
+ } | undefined;
1235
+ };
1236
+ } | undefined;
1237
+ }, {
1238
+ exact: string;
1239
+ type: ["TextQuoteSelector", "crm:E33_Linguistic_Object"];
1240
+ id: string;
1241
+ prefix?: string | undefined;
1242
+ sufix?: string | undefined;
1243
+ refinedBy?: {
1244
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1245
+ id: string;
1246
+ start: number;
1247
+ end: number;
1248
+ } | {
1249
+ value: string;
1250
+ type: ["XPathSelector", "crm:E73_Information_Object"];
1251
+ id: string;
1252
+ refinedBy?: {
1253
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1254
+ id: string;
1255
+ start: number;
1256
+ end: number;
1257
+ } | undefined;
1258
+ } | {
1259
+ type: ["RangeSelector", "crm:E73_Information_Object"];
1260
+ id: string;
1261
+ startSelector: {
1262
+ value: string;
1263
+ type: ["XPathSelector", "crm:E73_Information_Object"];
1264
+ id: string;
1265
+ refinedBy?: {
1266
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1267
+ id: string;
1268
+ start: number;
1269
+ end: number;
1270
+ } | undefined;
1271
+ };
1272
+ endSelector: {
1273
+ value: string;
1274
+ type: ["XPathSelector", "crm:E73_Information_Object"];
1275
+ id: string;
1276
+ refinedBy?: {
1277
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1278
+ id: string;
1279
+ start: number;
1280
+ end: number;
1281
+ } | undefined;
1282
+ };
1283
+ } | undefined;
1284
+ }>;
1285
+ type TextQuoteSelector = z.infer<typeof TextQuoteSelector>;
1286
+
1287
+ declare const XpathSelector: z.ZodObject<{
1288
+ id: z.ZodString;
1289
+ type: z.ZodTuple<[z.ZodLiteral<"XPathSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
1290
+ value: z.ZodString;
1291
+ refinedBy: z.ZodOptional<z.ZodObject<{
1292
+ id: z.ZodString;
1293
+ type: z.ZodTuple<[z.ZodLiteral<"TextPositionSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
1294
+ start: z.ZodNumber;
1295
+ end: z.ZodNumber;
1296
+ }, "strip", z.ZodTypeAny, {
1297
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1298
+ id: string;
1299
+ start: number;
1300
+ end: number;
1301
+ }, {
1302
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1303
+ id: string;
1304
+ start: number;
1305
+ end: number;
1306
+ }>>;
1307
+ }, "strip", z.ZodTypeAny, {
1308
+ value: string;
1309
+ type: ["XPathSelector", "crm:E73_Information_Object"];
1310
+ id: string;
1311
+ refinedBy?: {
1312
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1313
+ id: string;
1314
+ start: number;
1315
+ end: number;
1316
+ } | undefined;
1317
+ }, {
1318
+ value: string;
1319
+ type: ["XPathSelector", "crm:E73_Information_Object"];
1320
+ id: string;
1321
+ refinedBy?: {
1322
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1323
+ id: string;
1324
+ start: number;
1325
+ end: number;
1326
+ } | undefined;
1327
+ }>;
1328
+ type XpathSelector = z.infer<typeof XpathSelector>;
1329
+
1330
+ interface Definition {
1331
+ definitions: {
1332
+ creator: JSONSchemaType<User>;
1333
+ software: JSONSchemaType<Software>;
1334
+ target: JSONSchemaType<Target>;
1335
+ textQuoteSelector: JSONSchemaType<TextQuoteSelector>;
1336
+ rangeSelector: JSONSchemaType<RangeSelector>;
1337
+ xpathSelector: JSONSchemaType<XpathSelector>;
1338
+ textPositionSelector: JSONSchemaType<TextPositionSelector>;
1339
+ body: JSONSchemaType<Body>;
1340
+ };
1341
+ }
1342
+ declare const definitionSchema: JSONSchemaType<Definition>;
1343
+
1344
+ declare const Status: readonly ["draft", "approved", "published"];
1345
+ type Status = (typeof Status)[number];
1346
+ declare const Motivation: readonly ["identifying", "describing", "correcting", "tagging", "classifying", "linking", "citing"];
1347
+ type Motivation = (typeof Motivation)[number];
1348
+ declare const WebAnnotation: z.ZodObject<{
1349
+ '@context': z.ZodTuple<[z.ZodLiteral<"http://www.w3.org/ns/anno.jsonld">, z.ZodLiteral<string>], null>;
1350
+ id: z.ZodUnion<[z.ZodString, z.ZodString]>;
1351
+ type: z.ZodTuple<[z.ZodLiteral<"Annotation">, z.ZodLiteral<"crm:E33_Linguistic_Object">], null>;
1352
+ motivation: z.ZodTuple<[z.ZodEnum<["identifying", "describing", "correcting", "tagging", "classifying", "linking", "citing"]>, z.ZodLiteral<"crm:E33_Linguistic_Object">], null>;
1353
+ created: z.ZodString;
1354
+ modified: z.ZodOptional<z.ZodString>;
1355
+ status: z.ZodEnum<["draft", "approved", "published"]>;
1356
+ creator: z.ZodObject<{
1357
+ id: z.ZodUnion<[z.ZodString, z.ZodLiteral<"anonymous">]>;
1358
+ type: z.ZodLiteral<"crm:E21_Person">;
1359
+ name: z.ZodString;
1360
+ }, "strip", z.ZodTypeAny, {
1361
+ type: "crm:E21_Person";
1362
+ id: string;
1363
+ name: string;
1364
+ }, {
1365
+ type: "crm:E21_Person";
1366
+ id: string;
1367
+ name: string;
1368
+ }>;
1369
+ contributor: z.ZodOptional<z.ZodArray<z.ZodObject<{
1370
+ id: z.ZodUnion<[z.ZodString, z.ZodLiteral<"anonymous">]>;
1371
+ type: z.ZodLiteral<"crm:E21_Person">;
1372
+ name: z.ZodString;
1373
+ }, "strip", z.ZodTypeAny, {
1374
+ type: "crm:E21_Person";
1375
+ id: string;
1376
+ name: string;
1377
+ }, {
1378
+ type: "crm:E21_Person";
1379
+ id: string;
1380
+ name: string;
1381
+ }>, "atleastone">>;
1382
+ generator: z.ZodObject<{
1383
+ id: z.ZodString;
1384
+ type: z.ZodTuple<[z.ZodLiteral<"Software">, z.ZodLiteral<"crm:P16_used_specific_object">], null>;
1385
+ label: z.ZodString;
1386
+ softwareVersion: z.ZodOptional<z.ZodString>;
1387
+ }, "strip", z.ZodTypeAny, {
1388
+ type: ["Software", "crm:P16_used_specific_object"];
1389
+ id: string;
1390
+ label: string;
1391
+ softwareVersion?: string | undefined;
1392
+ }, {
1393
+ type: ["Software", "crm:P16_used_specific_object"];
1394
+ id: string;
1395
+ label: string;
1396
+ softwareVersion?: string | undefined;
1397
+ }>;
1398
+ target: z.ZodObject<{
1399
+ id: z.ZodUnion<[z.ZodString, z.ZodString]>;
1400
+ type: z.ZodTuple<[z.ZodLiteral<"SpecificResource">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
1401
+ format: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1402
+ language: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1403
+ title: z.ZodOptional<z.ZodString>;
1404
+ renderedVia: z.ZodOptional<z.ZodObject<{
1405
+ id: z.ZodString;
1406
+ type: z.ZodTuple<[z.ZodLiteral<"Software">, z.ZodLiteral<"crm:P16_used_specific_object">], null>;
1407
+ label: z.ZodString;
1408
+ softwareVersion: z.ZodOptional<z.ZodString>;
1409
+ }, "strip", z.ZodTypeAny, {
1410
+ type: ["Software", "crm:P16_used_specific_object"];
1411
+ id: string;
1412
+ label: string;
1413
+ softwareVersion?: string | undefined;
1414
+ }, {
1415
+ type: ["Software", "crm:P16_used_specific_object"];
1416
+ id: string;
1417
+ label: string;
1418
+ softwareVersion?: string | undefined;
1419
+ }>>;
1420
+ selector: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1421
+ id: z.ZodString;
1422
+ type: z.ZodTuple<[z.ZodLiteral<"TextQuoteSelector">, z.ZodLiteral<"crm:E33_Linguistic_Object">], null>;
1423
+ exact: z.ZodString;
1424
+ prefix: z.ZodOptional<z.ZodString>;
1425
+ sufix: z.ZodOptional<z.ZodString>;
1426
+ refinedBy: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1427
+ id: z.ZodString;
1428
+ type: z.ZodTuple<[z.ZodLiteral<"RangeSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
1429
+ startSelector: z.ZodObject<{
1430
+ id: z.ZodString;
1431
+ type: z.ZodTuple<[z.ZodLiteral<"XPathSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
1432
+ value: z.ZodString;
1433
+ refinedBy: z.ZodOptional<z.ZodObject<{
1434
+ id: z.ZodString;
1435
+ type: z.ZodTuple<[z.ZodLiteral<"TextPositionSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
1436
+ start: z.ZodNumber;
1437
+ end: z.ZodNumber;
1438
+ }, "strip", z.ZodTypeAny, {
1439
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1440
+ id: string;
1441
+ start: number;
1442
+ end: number;
1443
+ }, {
1444
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1445
+ id: string;
1446
+ start: number;
1447
+ end: number;
1448
+ }>>;
1449
+ }, "strip", z.ZodTypeAny, {
1450
+ value: string;
1451
+ type: ["XPathSelector", "crm:E73_Information_Object"];
1452
+ id: string;
1453
+ refinedBy?: {
1454
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1455
+ id: string;
1456
+ start: number;
1457
+ end: number;
1458
+ } | undefined;
1459
+ }, {
1460
+ value: string;
1461
+ type: ["XPathSelector", "crm:E73_Information_Object"];
1462
+ id: string;
1463
+ refinedBy?: {
1464
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1465
+ id: string;
1466
+ start: number;
1467
+ end: number;
1468
+ } | undefined;
1469
+ }>;
1470
+ endSelector: z.ZodObject<{
1471
+ id: z.ZodString;
1472
+ type: z.ZodTuple<[z.ZodLiteral<"XPathSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
1473
+ value: z.ZodString;
1474
+ refinedBy: z.ZodOptional<z.ZodObject<{
1475
+ id: z.ZodString;
1476
+ type: z.ZodTuple<[z.ZodLiteral<"TextPositionSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
1477
+ start: z.ZodNumber;
1478
+ end: z.ZodNumber;
1479
+ }, "strip", z.ZodTypeAny, {
1480
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1481
+ id: string;
1482
+ start: number;
1483
+ end: number;
1484
+ }, {
1485
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1486
+ id: string;
1487
+ start: number;
1488
+ end: number;
1489
+ }>>;
1490
+ }, "strip", z.ZodTypeAny, {
1491
+ value: string;
1492
+ type: ["XPathSelector", "crm:E73_Information_Object"];
1493
+ id: string;
1494
+ refinedBy?: {
1495
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1496
+ id: string;
1497
+ start: number;
1498
+ end: number;
1499
+ } | undefined;
1500
+ }, {
1501
+ value: string;
1502
+ type: ["XPathSelector", "crm:E73_Information_Object"];
1503
+ id: string;
1504
+ refinedBy?: {
1505
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1506
+ id: string;
1507
+ start: number;
1508
+ end: number;
1509
+ } | undefined;
1510
+ }>;
1511
+ }, "strip", z.ZodTypeAny, {
1512
+ type: ["RangeSelector", "crm:E73_Information_Object"];
1513
+ id: string;
1514
+ startSelector: {
1515
+ value: string;
1516
+ type: ["XPathSelector", "crm:E73_Information_Object"];
1517
+ id: string;
1518
+ refinedBy?: {
1519
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1520
+ id: string;
1521
+ start: number;
1522
+ end: number;
1523
+ } | undefined;
1524
+ };
1525
+ endSelector: {
1526
+ value: string;
1527
+ type: ["XPathSelector", "crm:E73_Information_Object"];
1528
+ id: string;
1529
+ refinedBy?: {
1530
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1531
+ id: string;
1532
+ start: number;
1533
+ end: number;
1534
+ } | undefined;
1535
+ };
1536
+ }, {
1537
+ type: ["RangeSelector", "crm:E73_Information_Object"];
1538
+ id: string;
1539
+ startSelector: {
1540
+ value: string;
1541
+ type: ["XPathSelector", "crm:E73_Information_Object"];
1542
+ id: string;
1543
+ refinedBy?: {
1544
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1545
+ id: string;
1546
+ start: number;
1547
+ end: number;
1548
+ } | undefined;
1549
+ };
1550
+ endSelector: {
1551
+ value: string;
1552
+ type: ["XPathSelector", "crm:E73_Information_Object"];
1553
+ id: string;
1554
+ refinedBy?: {
1555
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1556
+ id: string;
1557
+ start: number;
1558
+ end: number;
1559
+ } | undefined;
1560
+ };
1561
+ }>, z.ZodObject<{
1562
+ id: z.ZodString;
1563
+ type: z.ZodTuple<[z.ZodLiteral<"XPathSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
1564
+ value: z.ZodString;
1565
+ refinedBy: z.ZodOptional<z.ZodObject<{
1566
+ id: z.ZodString;
1567
+ type: z.ZodTuple<[z.ZodLiteral<"TextPositionSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
1568
+ start: z.ZodNumber;
1569
+ end: z.ZodNumber;
1570
+ }, "strip", z.ZodTypeAny, {
1571
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1572
+ id: string;
1573
+ start: number;
1574
+ end: number;
1575
+ }, {
1576
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1577
+ id: string;
1578
+ start: number;
1579
+ end: number;
1580
+ }>>;
1581
+ }, "strip", z.ZodTypeAny, {
1582
+ value: string;
1583
+ type: ["XPathSelector", "crm:E73_Information_Object"];
1584
+ id: string;
1585
+ refinedBy?: {
1586
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1587
+ id: string;
1588
+ start: number;
1589
+ end: number;
1590
+ } | undefined;
1591
+ }, {
1592
+ value: string;
1593
+ type: ["XPathSelector", "crm:E73_Information_Object"];
1594
+ id: string;
1595
+ refinedBy?: {
1596
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1597
+ id: string;
1598
+ start: number;
1599
+ end: number;
1600
+ } | undefined;
1601
+ }>, z.ZodObject<{
1602
+ id: z.ZodString;
1603
+ type: z.ZodTuple<[z.ZodLiteral<"TextPositionSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
1604
+ start: z.ZodNumber;
1605
+ end: z.ZodNumber;
1606
+ }, "strip", z.ZodTypeAny, {
1607
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1608
+ id: string;
1609
+ start: number;
1610
+ end: number;
1611
+ }, {
1612
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1613
+ id: string;
1614
+ start: number;
1615
+ end: number;
1616
+ }>]>>;
1617
+ }, "strip", z.ZodTypeAny, {
1618
+ exact: string;
1619
+ type: ["TextQuoteSelector", "crm:E33_Linguistic_Object"];
1620
+ id: string;
1621
+ prefix?: string | undefined;
1622
+ sufix?: string | undefined;
1623
+ refinedBy?: {
1624
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1625
+ id: string;
1626
+ start: number;
1627
+ end: number;
1628
+ } | {
1629
+ value: string;
1630
+ type: ["XPathSelector", "crm:E73_Information_Object"];
1631
+ id: string;
1632
+ refinedBy?: {
1633
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1634
+ id: string;
1635
+ start: number;
1636
+ end: number;
1637
+ } | undefined;
1638
+ } | {
1639
+ type: ["RangeSelector", "crm:E73_Information_Object"];
1640
+ id: string;
1641
+ startSelector: {
1642
+ value: string;
1643
+ type: ["XPathSelector", "crm:E73_Information_Object"];
1644
+ id: string;
1645
+ refinedBy?: {
1646
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1647
+ id: string;
1648
+ start: number;
1649
+ end: number;
1650
+ } | undefined;
1651
+ };
1652
+ endSelector: {
1653
+ value: string;
1654
+ type: ["XPathSelector", "crm:E73_Information_Object"];
1655
+ id: string;
1656
+ refinedBy?: {
1657
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1658
+ id: string;
1659
+ start: number;
1660
+ end: number;
1661
+ } | undefined;
1662
+ };
1663
+ } | undefined;
1664
+ }, {
1665
+ exact: string;
1666
+ type: ["TextQuoteSelector", "crm:E33_Linguistic_Object"];
1667
+ id: string;
1668
+ prefix?: string | undefined;
1669
+ sufix?: string | undefined;
1670
+ refinedBy?: {
1671
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1672
+ id: string;
1673
+ start: number;
1674
+ end: number;
1675
+ } | {
1676
+ value: string;
1677
+ type: ["XPathSelector", "crm:E73_Information_Object"];
1678
+ id: string;
1679
+ refinedBy?: {
1680
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1681
+ id: string;
1682
+ start: number;
1683
+ end: number;
1684
+ } | undefined;
1685
+ } | {
1686
+ type: ["RangeSelector", "crm:E73_Information_Object"];
1687
+ id: string;
1688
+ startSelector: {
1689
+ value: string;
1690
+ type: ["XPathSelector", "crm:E73_Information_Object"];
1691
+ id: string;
1692
+ refinedBy?: {
1693
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1694
+ id: string;
1695
+ start: number;
1696
+ end: number;
1697
+ } | undefined;
1698
+ };
1699
+ endSelector: {
1700
+ value: string;
1701
+ type: ["XPathSelector", "crm:E73_Information_Object"];
1702
+ id: string;
1703
+ refinedBy?: {
1704
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1705
+ id: string;
1706
+ start: number;
1707
+ end: number;
1708
+ } | undefined;
1709
+ };
1710
+ } | undefined;
1711
+ }>, z.ZodObject<{
1712
+ id: z.ZodString;
1713
+ type: z.ZodTuple<[z.ZodLiteral<"RangeSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
1714
+ startSelector: z.ZodObject<{
1715
+ id: z.ZodString;
1716
+ type: z.ZodTuple<[z.ZodLiteral<"XPathSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
1717
+ value: z.ZodString;
1718
+ refinedBy: z.ZodOptional<z.ZodObject<{
1719
+ id: z.ZodString;
1720
+ type: z.ZodTuple<[z.ZodLiteral<"TextPositionSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
1721
+ start: z.ZodNumber;
1722
+ end: z.ZodNumber;
1723
+ }, "strip", z.ZodTypeAny, {
1724
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1725
+ id: string;
1726
+ start: number;
1727
+ end: number;
1728
+ }, {
1729
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1730
+ id: string;
1731
+ start: number;
1732
+ end: number;
1733
+ }>>;
1734
+ }, "strip", z.ZodTypeAny, {
1735
+ value: string;
1736
+ type: ["XPathSelector", "crm:E73_Information_Object"];
1737
+ id: string;
1738
+ refinedBy?: {
1739
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1740
+ id: string;
1741
+ start: number;
1742
+ end: number;
1743
+ } | undefined;
1744
+ }, {
1745
+ value: string;
1746
+ type: ["XPathSelector", "crm:E73_Information_Object"];
1747
+ id: string;
1748
+ refinedBy?: {
1749
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1750
+ id: string;
1751
+ start: number;
1752
+ end: number;
1753
+ } | undefined;
1754
+ }>;
1755
+ endSelector: z.ZodObject<{
1756
+ id: z.ZodString;
1757
+ type: z.ZodTuple<[z.ZodLiteral<"XPathSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
1758
+ value: z.ZodString;
1759
+ refinedBy: z.ZodOptional<z.ZodObject<{
1760
+ id: z.ZodString;
1761
+ type: z.ZodTuple<[z.ZodLiteral<"TextPositionSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
1762
+ start: z.ZodNumber;
1763
+ end: z.ZodNumber;
1764
+ }, "strip", z.ZodTypeAny, {
1765
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1766
+ id: string;
1767
+ start: number;
1768
+ end: number;
1769
+ }, {
1770
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1771
+ id: string;
1772
+ start: number;
1773
+ end: number;
1774
+ }>>;
1775
+ }, "strip", z.ZodTypeAny, {
1776
+ value: string;
1777
+ type: ["XPathSelector", "crm:E73_Information_Object"];
1778
+ id: string;
1779
+ refinedBy?: {
1780
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1781
+ id: string;
1782
+ start: number;
1783
+ end: number;
1784
+ } | undefined;
1785
+ }, {
1786
+ value: string;
1787
+ type: ["XPathSelector", "crm:E73_Information_Object"];
1788
+ id: string;
1789
+ refinedBy?: {
1790
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1791
+ id: string;
1792
+ start: number;
1793
+ end: number;
1794
+ } | undefined;
1795
+ }>;
1796
+ }, "strip", z.ZodTypeAny, {
1797
+ type: ["RangeSelector", "crm:E73_Information_Object"];
1798
+ id: string;
1799
+ startSelector: {
1800
+ value: string;
1801
+ type: ["XPathSelector", "crm:E73_Information_Object"];
1802
+ id: string;
1803
+ refinedBy?: {
1804
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1805
+ id: string;
1806
+ start: number;
1807
+ end: number;
1808
+ } | undefined;
1809
+ };
1810
+ endSelector: {
1811
+ value: string;
1812
+ type: ["XPathSelector", "crm:E73_Information_Object"];
1813
+ id: string;
1814
+ refinedBy?: {
1815
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1816
+ id: string;
1817
+ start: number;
1818
+ end: number;
1819
+ } | undefined;
1820
+ };
1821
+ }, {
1822
+ type: ["RangeSelector", "crm:E73_Information_Object"];
1823
+ id: string;
1824
+ startSelector: {
1825
+ value: string;
1826
+ type: ["XPathSelector", "crm:E73_Information_Object"];
1827
+ id: string;
1828
+ refinedBy?: {
1829
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1830
+ id: string;
1831
+ start: number;
1832
+ end: number;
1833
+ } | undefined;
1834
+ };
1835
+ endSelector: {
1836
+ value: string;
1837
+ type: ["XPathSelector", "crm:E73_Information_Object"];
1838
+ id: string;
1839
+ refinedBy?: {
1840
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1841
+ id: string;
1842
+ start: number;
1843
+ end: number;
1844
+ } | undefined;
1845
+ };
1846
+ }>, z.ZodObject<{
1847
+ id: z.ZodString;
1848
+ type: z.ZodTuple<[z.ZodLiteral<"XPathSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
1849
+ value: z.ZodString;
1850
+ refinedBy: z.ZodOptional<z.ZodObject<{
1851
+ id: z.ZodString;
1852
+ type: z.ZodTuple<[z.ZodLiteral<"TextPositionSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
1853
+ start: z.ZodNumber;
1854
+ end: z.ZodNumber;
1855
+ }, "strip", z.ZodTypeAny, {
1856
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1857
+ id: string;
1858
+ start: number;
1859
+ end: number;
1860
+ }, {
1861
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1862
+ id: string;
1863
+ start: number;
1864
+ end: number;
1865
+ }>>;
1866
+ }, "strip", z.ZodTypeAny, {
1867
+ value: string;
1868
+ type: ["XPathSelector", "crm:E73_Information_Object"];
1869
+ id: string;
1870
+ refinedBy?: {
1871
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1872
+ id: string;
1873
+ start: number;
1874
+ end: number;
1875
+ } | undefined;
1876
+ }, {
1877
+ value: string;
1878
+ type: ["XPathSelector", "crm:E73_Information_Object"];
1879
+ id: string;
1880
+ refinedBy?: {
1881
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1882
+ id: string;
1883
+ start: number;
1884
+ end: number;
1885
+ } | undefined;
1886
+ }>, z.ZodObject<{
1887
+ id: z.ZodString;
1888
+ type: z.ZodTuple<[z.ZodLiteral<"TextPositionSelector">, z.ZodLiteral<"crm:E73_Information_Object">], null>;
1889
+ start: z.ZodNumber;
1890
+ end: z.ZodNumber;
1891
+ }, "strip", z.ZodTypeAny, {
1892
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1893
+ id: string;
1894
+ start: number;
1895
+ end: number;
1896
+ }, {
1897
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1898
+ id: string;
1899
+ start: number;
1900
+ end: number;
1901
+ }>]>>;
1902
+ }, "strip", z.ZodTypeAny, {
1903
+ type: ["SpecificResource", "crm:E73_Information_Object"];
1904
+ id: string;
1905
+ format?: string[] | undefined;
1906
+ language?: string[] | undefined;
1907
+ title?: string | undefined;
1908
+ renderedVia?: {
1909
+ type: ["Software", "crm:P16_used_specific_object"];
1910
+ id: string;
1911
+ label: string;
1912
+ softwareVersion?: string | undefined;
1913
+ } | undefined;
1914
+ selector?: {
1915
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1916
+ id: string;
1917
+ start: number;
1918
+ end: number;
1919
+ } | {
1920
+ value: string;
1921
+ type: ["XPathSelector", "crm:E73_Information_Object"];
1922
+ id: string;
1923
+ refinedBy?: {
1924
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1925
+ id: string;
1926
+ start: number;
1927
+ end: number;
1928
+ } | undefined;
1929
+ } | {
1930
+ type: ["RangeSelector", "crm:E73_Information_Object"];
1931
+ id: string;
1932
+ startSelector: {
1933
+ value: string;
1934
+ type: ["XPathSelector", "crm:E73_Information_Object"];
1935
+ id: string;
1936
+ refinedBy?: {
1937
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1938
+ id: string;
1939
+ start: number;
1940
+ end: number;
1941
+ } | undefined;
1942
+ };
1943
+ endSelector: {
1944
+ value: string;
1945
+ type: ["XPathSelector", "crm:E73_Information_Object"];
1946
+ id: string;
1947
+ refinedBy?: {
1948
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1949
+ id: string;
1950
+ start: number;
1951
+ end: number;
1952
+ } | undefined;
1953
+ };
1954
+ } | {
1955
+ exact: string;
1956
+ type: ["TextQuoteSelector", "crm:E33_Linguistic_Object"];
1957
+ id: string;
1958
+ prefix?: string | undefined;
1959
+ sufix?: string | undefined;
1960
+ refinedBy?: {
1961
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1962
+ id: string;
1963
+ start: number;
1964
+ end: number;
1965
+ } | {
1966
+ value: string;
1967
+ type: ["XPathSelector", "crm:E73_Information_Object"];
1968
+ id: string;
1969
+ refinedBy?: {
1970
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1971
+ id: string;
1972
+ start: number;
1973
+ end: number;
1974
+ } | undefined;
1975
+ } | {
1976
+ type: ["RangeSelector", "crm:E73_Information_Object"];
1977
+ id: string;
1978
+ startSelector: {
1979
+ value: string;
1980
+ type: ["XPathSelector", "crm:E73_Information_Object"];
1981
+ id: string;
1982
+ refinedBy?: {
1983
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1984
+ id: string;
1985
+ start: number;
1986
+ end: number;
1987
+ } | undefined;
1988
+ };
1989
+ endSelector: {
1990
+ value: string;
1991
+ type: ["XPathSelector", "crm:E73_Information_Object"];
1992
+ id: string;
1993
+ refinedBy?: {
1994
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
1995
+ id: string;
1996
+ start: number;
1997
+ end: number;
1998
+ } | undefined;
1999
+ };
2000
+ } | undefined;
2001
+ } | undefined;
2002
+ }, {
2003
+ type: ["SpecificResource", "crm:E73_Information_Object"];
2004
+ id: string;
2005
+ format?: string[] | undefined;
2006
+ language?: string[] | undefined;
2007
+ title?: string | undefined;
2008
+ renderedVia?: {
2009
+ type: ["Software", "crm:P16_used_specific_object"];
2010
+ id: string;
2011
+ label: string;
2012
+ softwareVersion?: string | undefined;
2013
+ } | undefined;
2014
+ selector?: {
2015
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
2016
+ id: string;
2017
+ start: number;
2018
+ end: number;
2019
+ } | {
2020
+ value: string;
2021
+ type: ["XPathSelector", "crm:E73_Information_Object"];
2022
+ id: string;
2023
+ refinedBy?: {
2024
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
2025
+ id: string;
2026
+ start: number;
2027
+ end: number;
2028
+ } | undefined;
2029
+ } | {
2030
+ type: ["RangeSelector", "crm:E73_Information_Object"];
2031
+ id: string;
2032
+ startSelector: {
2033
+ value: string;
2034
+ type: ["XPathSelector", "crm:E73_Information_Object"];
2035
+ id: string;
2036
+ refinedBy?: {
2037
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
2038
+ id: string;
2039
+ start: number;
2040
+ end: number;
2041
+ } | undefined;
2042
+ };
2043
+ endSelector: {
2044
+ value: string;
2045
+ type: ["XPathSelector", "crm:E73_Information_Object"];
2046
+ id: string;
2047
+ refinedBy?: {
2048
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
2049
+ id: string;
2050
+ start: number;
2051
+ end: number;
2052
+ } | undefined;
2053
+ };
2054
+ } | {
2055
+ exact: string;
2056
+ type: ["TextQuoteSelector", "crm:E33_Linguistic_Object"];
2057
+ id: string;
2058
+ prefix?: string | undefined;
2059
+ sufix?: string | undefined;
2060
+ refinedBy?: {
2061
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
2062
+ id: string;
2063
+ start: number;
2064
+ end: number;
2065
+ } | {
2066
+ value: string;
2067
+ type: ["XPathSelector", "crm:E73_Information_Object"];
2068
+ id: string;
2069
+ refinedBy?: {
2070
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
2071
+ id: string;
2072
+ start: number;
2073
+ end: number;
2074
+ } | undefined;
2075
+ } | {
2076
+ type: ["RangeSelector", "crm:E73_Information_Object"];
2077
+ id: string;
2078
+ startSelector: {
2079
+ value: string;
2080
+ type: ["XPathSelector", "crm:E73_Information_Object"];
2081
+ id: string;
2082
+ refinedBy?: {
2083
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
2084
+ id: string;
2085
+ start: number;
2086
+ end: number;
2087
+ } | undefined;
2088
+ };
2089
+ endSelector: {
2090
+ value: string;
2091
+ type: ["XPathSelector", "crm:E73_Information_Object"];
2092
+ id: string;
2093
+ refinedBy?: {
2094
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
2095
+ id: string;
2096
+ start: number;
2097
+ end: number;
2098
+ } | undefined;
2099
+ };
2100
+ } | undefined;
2101
+ } | undefined;
2102
+ }>;
2103
+ body: z.ZodObject<{
2104
+ id: z.ZodUnion<[z.ZodString, z.ZodString]>;
2105
+ type: z.ZodOptional<z.ZodLiteral<"TextualBody">>;
2106
+ entityType: z.ZodUnion<[z.ZodTuple<[z.ZodLiteral<"Person">, z.ZodUnion<[z.ZodLiteral<"crm:E21_Person">, z.ZodLiteral<"crm:E89_Propositional_Object">]>], null>, z.ZodUnion<[z.ZodLiteral<"cwrc:place">, z.ZodTuple<[z.ZodLiteral<"cwrc:place">, z.ZodLiteral<"crm:E89_Propositional_Object">], null>]>, z.ZodTuple<[z.ZodLiteral<"foaf:Organization">, z.ZodUnion<[z.ZodLiteral<"crm:E74_Group">, z.ZodLiteral<"crm:E89_Propositional_Object">]>], null>, z.ZodTuple<[z.ZodLiteral<"crm:E89_Propositional_Object">, z.ZodUnion<[z.ZodLiteral<"frbroo:F1">, z.ZodLiteral<"wikidata:Q15306849">]>], null>, z.ZodUnion<[z.ZodLiteral<"crm:E18_Physical_Thing">, z.ZodTuple<[z.ZodLiteral<"crm:E18_Physical_Thing">, z.ZodLiteral<"wikidata:Q15831596">], null>]>, z.ZodUnion<[z.ZodLiteral<"crm:E28_Conceptual_Object">, z.ZodTuple<[z.ZodLiteral<"crm:E28_Conceptual_Object">, z.ZodLiteral<"wikidata:Q15831596">], null>]>, z.ZodTuple<[z.ZodLiteral<"cito:Citation">, z.ZodLiteral<"crm:E73_Information_Object">], null>, z.ZodTuple<[z.ZodLiteral<"xsd:date">, z.ZodLiteral<"crm:E52_Time-Span">], null>, z.ZodLiteral<"crm:E33_Linguistic_Object">, z.ZodTuple<[z.ZodLiteral<"fabio:Correction">, z.ZodLiteral<"crm:E33_Linguistic_Object">], null>, z.ZodTuple<[z.ZodLiteral<"crm:E55_Type">, z.ZodLiteral<"crmdig:D1_Digital_Object">], null>, z.ZodTuple<[z.ZodLiteral<"crm:E55_Type">, z.ZodLiteral<"crm:E33_Linguistic_Object">], null>, z.ZodLiteral<"crmdig:D1_Digital_Object">]>;
2107
+ additionalType: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2108
+ value: z.ZodOptional<z.ZodString>;
2109
+ certainty: z.ZodOptional<z.ZodEnum<["edit:qualityLow", "edit:qualityMedium", "edit:qualityHigh", "edit:qualityUnknown"]>>;
2110
+ precision: z.ZodOptional<z.ZodEnum<["edit:qualityLow", "edit:qualityMedium", "edit:qualityHigh", "edit:qualityUnknown"]>>;
2111
+ label: z.ZodOptional<z.ZodString>;
2112
+ description: z.ZodOptional<z.ZodString>;
2113
+ }, "strip", z.ZodTypeAny, {
2114
+ id: string;
2115
+ entityType: ["cito:Citation", "crm:E73_Information_Object"] | "crm:E28_Conceptual_Object" | ["crm:E28_Conceptual_Object", "wikidata:Q15831596"] | ("crm:E28_Conceptual_Object" & ["crm:E28_Conceptual_Object", "wikidata:Q15831596"]) | (["crm:E28_Conceptual_Object", "wikidata:Q15831596"] & "crm:E28_Conceptual_Object") | "crm:E33_Linguistic_Object" | ["fabio:Correction", "crm:E33_Linguistic_Object"] | ["xsd:date", "crm:E52_Time-Span"] | "crmdig:D1_Digital_Object" | ["crm:E55_Type", "crmdig:D1_Digital_Object"] | ["crm:E55_Type", "crm:E33_Linguistic_Object"] | ["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"] | ["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"] | "crm:E18_Physical_Thing" | ["crm:E18_Physical_Thing", "wikidata:Q15831596"] | ("crm:E18_Physical_Thing" & ["crm:E18_Physical_Thing", "wikidata:Q15831596"]) | (["crm:E18_Physical_Thing", "wikidata:Q15831596"] & "crm:E18_Physical_Thing") | "cwrc:place" | ["cwrc:place", "crm:E89_Propositional_Object"] | ("cwrc:place" & ["cwrc:place", "crm:E89_Propositional_Object"]) | (["cwrc:place", "crm:E89_Propositional_Object"] & "cwrc:place") | ["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"] | (["cito:Citation", "crm:E73_Information_Object"] & "crm:E28_Conceptual_Object") | (["cito:Citation", "crm:E73_Information_Object"] & "crm:E33_Linguistic_Object") | (["cito:Citation", "crm:E73_Information_Object"] & "crmdig:D1_Digital_Object") | (["cito:Citation", "crm:E73_Information_Object"] & "crm:E18_Physical_Thing") | (["cito:Citation", "crm:E73_Information_Object"] & "cwrc:place") | ("crm:E28_Conceptual_Object" & ["cito:Citation", "crm:E73_Information_Object"]) | ("crm:E28_Conceptual_Object" & ["fabio:Correction", "crm:E33_Linguistic_Object"]) | ("crm:E28_Conceptual_Object" & ["xsd:date", "crm:E52_Time-Span"]) | ("crm:E28_Conceptual_Object" & ["crm:E55_Type", "crmdig:D1_Digital_Object"]) | ("crm:E28_Conceptual_Object" & ["crm:E55_Type", "crm:E33_Linguistic_Object"]) | ("crm:E28_Conceptual_Object" & ["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"]) | ("crm:E28_Conceptual_Object" & ["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"]) | ("crm:E28_Conceptual_Object" & ["crm:E18_Physical_Thing", "wikidata:Q15831596"]) | ("crm:E28_Conceptual_Object" & ["cwrc:place", "crm:E89_Propositional_Object"]) | ("crm:E28_Conceptual_Object" & ["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"]) | (["crm:E28_Conceptual_Object", "wikidata:Q15831596"] & "crm:E33_Linguistic_Object") | (["crm:E28_Conceptual_Object", "wikidata:Q15831596"] & "crmdig:D1_Digital_Object") | (["crm:E28_Conceptual_Object", "wikidata:Q15831596"] & "crm:E18_Physical_Thing") | (["crm:E28_Conceptual_Object", "wikidata:Q15831596"] & "cwrc:place") | ("crm:E33_Linguistic_Object" & ["cito:Citation", "crm:E73_Information_Object"]) | ("crm:E33_Linguistic_Object" & ["crm:E28_Conceptual_Object", "wikidata:Q15831596"]) | ("crm:E33_Linguistic_Object" & ["fabio:Correction", "crm:E33_Linguistic_Object"]) | ("crm:E33_Linguistic_Object" & ["xsd:date", "crm:E52_Time-Span"]) | ("crm:E33_Linguistic_Object" & ["crm:E55_Type", "crmdig:D1_Digital_Object"]) | ("crm:E33_Linguistic_Object" & ["crm:E55_Type", "crm:E33_Linguistic_Object"]) | ("crm:E33_Linguistic_Object" & ["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"]) | ("crm:E33_Linguistic_Object" & ["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"]) | ("crm:E33_Linguistic_Object" & ["crm:E18_Physical_Thing", "wikidata:Q15831596"]) | ("crm:E33_Linguistic_Object" & ["cwrc:place", "crm:E89_Propositional_Object"]) | ("crm:E33_Linguistic_Object" & ["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"]) | (["fabio:Correction", "crm:E33_Linguistic_Object"] & "crm:E28_Conceptual_Object") | (["fabio:Correction", "crm:E33_Linguistic_Object"] & "crm:E33_Linguistic_Object") | (["fabio:Correction", "crm:E33_Linguistic_Object"] & "crmdig:D1_Digital_Object") | (["fabio:Correction", "crm:E33_Linguistic_Object"] & "crm:E18_Physical_Thing") | (["fabio:Correction", "crm:E33_Linguistic_Object"] & "cwrc:place") | (["xsd:date", "crm:E52_Time-Span"] & "crm:E28_Conceptual_Object") | (["xsd:date", "crm:E52_Time-Span"] & "crm:E33_Linguistic_Object") | (["xsd:date", "crm:E52_Time-Span"] & "crmdig:D1_Digital_Object") | (["xsd:date", "crm:E52_Time-Span"] & "crm:E18_Physical_Thing") | (["xsd:date", "crm:E52_Time-Span"] & "cwrc:place") | ("crmdig:D1_Digital_Object" & ["cito:Citation", "crm:E73_Information_Object"]) | ("crmdig:D1_Digital_Object" & ["crm:E28_Conceptual_Object", "wikidata:Q15831596"]) | ("crmdig:D1_Digital_Object" & ["fabio:Correction", "crm:E33_Linguistic_Object"]) | ("crmdig:D1_Digital_Object" & ["xsd:date", "crm:E52_Time-Span"]) | ("crmdig:D1_Digital_Object" & ["crm:E55_Type", "crmdig:D1_Digital_Object"]) | ("crmdig:D1_Digital_Object" & ["crm:E55_Type", "crm:E33_Linguistic_Object"]) | ("crmdig:D1_Digital_Object" & ["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"]) | ("crmdig:D1_Digital_Object" & ["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"]) | ("crmdig:D1_Digital_Object" & ["crm:E18_Physical_Thing", "wikidata:Q15831596"]) | ("crmdig:D1_Digital_Object" & ["cwrc:place", "crm:E89_Propositional_Object"]) | ("crmdig:D1_Digital_Object" & ["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"]) | (["crm:E55_Type", "crmdig:D1_Digital_Object"] & "crm:E28_Conceptual_Object") | (["crm:E55_Type", "crmdig:D1_Digital_Object"] & "crm:E33_Linguistic_Object") | (["crm:E55_Type", "crmdig:D1_Digital_Object"] & "crmdig:D1_Digital_Object") | (["crm:E55_Type", "crmdig:D1_Digital_Object"] & "crm:E18_Physical_Thing") | (["crm:E55_Type", "crmdig:D1_Digital_Object"] & "cwrc:place") | (["crm:E55_Type", "crm:E33_Linguistic_Object"] & "crm:E28_Conceptual_Object") | (["crm:E55_Type", "crm:E33_Linguistic_Object"] & "crm:E33_Linguistic_Object") | (["crm:E55_Type", "crm:E33_Linguistic_Object"] & "crmdig:D1_Digital_Object") | (["crm:E55_Type", "crm:E33_Linguistic_Object"] & "crm:E18_Physical_Thing") | (["crm:E55_Type", "crm:E33_Linguistic_Object"] & "cwrc:place") | (["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"] & "crm:E28_Conceptual_Object") | (["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"] & "crm:E33_Linguistic_Object") | (["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"] & "crmdig:D1_Digital_Object") | (["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"] & "crm:E18_Physical_Thing") | (["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"] & "cwrc:place") | (["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"] & "crm:E28_Conceptual_Object") | (["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"] & "crm:E33_Linguistic_Object") | (["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"] & "crmdig:D1_Digital_Object") | (["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"] & "crm:E18_Physical_Thing") | (["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"] & "cwrc:place") | ("crm:E18_Physical_Thing" & ["cito:Citation", "crm:E73_Information_Object"]) | ("crm:E18_Physical_Thing" & ["crm:E28_Conceptual_Object", "wikidata:Q15831596"]) | ("crm:E18_Physical_Thing" & ["fabio:Correction", "crm:E33_Linguistic_Object"]) | ("crm:E18_Physical_Thing" & ["xsd:date", "crm:E52_Time-Span"]) | ("crm:E18_Physical_Thing" & ["crm:E55_Type", "crmdig:D1_Digital_Object"]) | ("crm:E18_Physical_Thing" & ["crm:E55_Type", "crm:E33_Linguistic_Object"]) | ("crm:E18_Physical_Thing" & ["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"]) | ("crm:E18_Physical_Thing" & ["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"]) | ("crm:E18_Physical_Thing" & ["cwrc:place", "crm:E89_Propositional_Object"]) | ("crm:E18_Physical_Thing" & ["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"]) | (["crm:E18_Physical_Thing", "wikidata:Q15831596"] & "crm:E28_Conceptual_Object") | (["crm:E18_Physical_Thing", "wikidata:Q15831596"] & "crm:E33_Linguistic_Object") | (["crm:E18_Physical_Thing", "wikidata:Q15831596"] & "crmdig:D1_Digital_Object") | (["crm:E18_Physical_Thing", "wikidata:Q15831596"] & "cwrc:place") | ("cwrc:place" & ["cito:Citation", "crm:E73_Information_Object"]) | ("cwrc:place" & ["crm:E28_Conceptual_Object", "wikidata:Q15831596"]) | ("cwrc:place" & ["fabio:Correction", "crm:E33_Linguistic_Object"]) | ("cwrc:place" & ["xsd:date", "crm:E52_Time-Span"]) | ("cwrc:place" & ["crm:E55_Type", "crmdig:D1_Digital_Object"]) | ("cwrc:place" & ["crm:E55_Type", "crm:E33_Linguistic_Object"]) | ("cwrc:place" & ["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"]) | ("cwrc:place" & ["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"]) | ("cwrc:place" & ["crm:E18_Physical_Thing", "wikidata:Q15831596"]) | ("cwrc:place" & ["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"]) | (["cwrc:place", "crm:E89_Propositional_Object"] & "crm:E28_Conceptual_Object") | (["cwrc:place", "crm:E89_Propositional_Object"] & "crm:E33_Linguistic_Object") | (["cwrc:place", "crm:E89_Propositional_Object"] & "crmdig:D1_Digital_Object") | (["cwrc:place", "crm:E89_Propositional_Object"] & "crm:E18_Physical_Thing") | (["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"] & "crm:E28_Conceptual_Object") | (["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"] & "crm:E33_Linguistic_Object") | (["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"] & "crmdig:D1_Digital_Object") | (["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"] & "crm:E18_Physical_Thing") | (["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"] & "cwrc:place");
2116
+ type?: "TextualBody" | undefined;
2117
+ additionalType?: string | string[] | undefined;
2118
+ value?: string | undefined;
2119
+ certainty?: "edit:qualityLow" | "edit:qualityMedium" | "edit:qualityHigh" | "edit:qualityUnknown" | undefined;
2120
+ precision?: "edit:qualityLow" | "edit:qualityMedium" | "edit:qualityHigh" | "edit:qualityUnknown" | undefined;
2121
+ label?: string | undefined;
2122
+ description?: string | undefined;
2123
+ }, {
2124
+ id: string;
2125
+ entityType: ["cito:Citation", "crm:E73_Information_Object"] | "crm:E28_Conceptual_Object" | ["crm:E28_Conceptual_Object", "wikidata:Q15831596"] | ("crm:E28_Conceptual_Object" & ["crm:E28_Conceptual_Object", "wikidata:Q15831596"]) | (["crm:E28_Conceptual_Object", "wikidata:Q15831596"] & "crm:E28_Conceptual_Object") | "crm:E33_Linguistic_Object" | ["fabio:Correction", "crm:E33_Linguistic_Object"] | ["xsd:date", "crm:E52_Time-Span"] | "crmdig:D1_Digital_Object" | ["crm:E55_Type", "crmdig:D1_Digital_Object"] | ["crm:E55_Type", "crm:E33_Linguistic_Object"] | ["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"] | ["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"] | "crm:E18_Physical_Thing" | ["crm:E18_Physical_Thing", "wikidata:Q15831596"] | ("crm:E18_Physical_Thing" & ["crm:E18_Physical_Thing", "wikidata:Q15831596"]) | (["crm:E18_Physical_Thing", "wikidata:Q15831596"] & "crm:E18_Physical_Thing") | "cwrc:place" | ["cwrc:place", "crm:E89_Propositional_Object"] | ("cwrc:place" & ["cwrc:place", "crm:E89_Propositional_Object"]) | (["cwrc:place", "crm:E89_Propositional_Object"] & "cwrc:place") | ["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"] | (["cito:Citation", "crm:E73_Information_Object"] & "crm:E28_Conceptual_Object") | (["cito:Citation", "crm:E73_Information_Object"] & "crm:E33_Linguistic_Object") | (["cito:Citation", "crm:E73_Information_Object"] & "crmdig:D1_Digital_Object") | (["cito:Citation", "crm:E73_Information_Object"] & "crm:E18_Physical_Thing") | (["cito:Citation", "crm:E73_Information_Object"] & "cwrc:place") | ("crm:E28_Conceptual_Object" & ["cito:Citation", "crm:E73_Information_Object"]) | ("crm:E28_Conceptual_Object" & ["fabio:Correction", "crm:E33_Linguistic_Object"]) | ("crm:E28_Conceptual_Object" & ["xsd:date", "crm:E52_Time-Span"]) | ("crm:E28_Conceptual_Object" & ["crm:E55_Type", "crmdig:D1_Digital_Object"]) | ("crm:E28_Conceptual_Object" & ["crm:E55_Type", "crm:E33_Linguistic_Object"]) | ("crm:E28_Conceptual_Object" & ["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"]) | ("crm:E28_Conceptual_Object" & ["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"]) | ("crm:E28_Conceptual_Object" & ["crm:E18_Physical_Thing", "wikidata:Q15831596"]) | ("crm:E28_Conceptual_Object" & ["cwrc:place", "crm:E89_Propositional_Object"]) | ("crm:E28_Conceptual_Object" & ["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"]) | (["crm:E28_Conceptual_Object", "wikidata:Q15831596"] & "crm:E33_Linguistic_Object") | (["crm:E28_Conceptual_Object", "wikidata:Q15831596"] & "crmdig:D1_Digital_Object") | (["crm:E28_Conceptual_Object", "wikidata:Q15831596"] & "crm:E18_Physical_Thing") | (["crm:E28_Conceptual_Object", "wikidata:Q15831596"] & "cwrc:place") | ("crm:E33_Linguistic_Object" & ["cito:Citation", "crm:E73_Information_Object"]) | ("crm:E33_Linguistic_Object" & ["crm:E28_Conceptual_Object", "wikidata:Q15831596"]) | ("crm:E33_Linguistic_Object" & ["fabio:Correction", "crm:E33_Linguistic_Object"]) | ("crm:E33_Linguistic_Object" & ["xsd:date", "crm:E52_Time-Span"]) | ("crm:E33_Linguistic_Object" & ["crm:E55_Type", "crmdig:D1_Digital_Object"]) | ("crm:E33_Linguistic_Object" & ["crm:E55_Type", "crm:E33_Linguistic_Object"]) | ("crm:E33_Linguistic_Object" & ["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"]) | ("crm:E33_Linguistic_Object" & ["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"]) | ("crm:E33_Linguistic_Object" & ["crm:E18_Physical_Thing", "wikidata:Q15831596"]) | ("crm:E33_Linguistic_Object" & ["cwrc:place", "crm:E89_Propositional_Object"]) | ("crm:E33_Linguistic_Object" & ["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"]) | (["fabio:Correction", "crm:E33_Linguistic_Object"] & "crm:E28_Conceptual_Object") | (["fabio:Correction", "crm:E33_Linguistic_Object"] & "crm:E33_Linguistic_Object") | (["fabio:Correction", "crm:E33_Linguistic_Object"] & "crmdig:D1_Digital_Object") | (["fabio:Correction", "crm:E33_Linguistic_Object"] & "crm:E18_Physical_Thing") | (["fabio:Correction", "crm:E33_Linguistic_Object"] & "cwrc:place") | (["xsd:date", "crm:E52_Time-Span"] & "crm:E28_Conceptual_Object") | (["xsd:date", "crm:E52_Time-Span"] & "crm:E33_Linguistic_Object") | (["xsd:date", "crm:E52_Time-Span"] & "crmdig:D1_Digital_Object") | (["xsd:date", "crm:E52_Time-Span"] & "crm:E18_Physical_Thing") | (["xsd:date", "crm:E52_Time-Span"] & "cwrc:place") | ("crmdig:D1_Digital_Object" & ["cito:Citation", "crm:E73_Information_Object"]) | ("crmdig:D1_Digital_Object" & ["crm:E28_Conceptual_Object", "wikidata:Q15831596"]) | ("crmdig:D1_Digital_Object" & ["fabio:Correction", "crm:E33_Linguistic_Object"]) | ("crmdig:D1_Digital_Object" & ["xsd:date", "crm:E52_Time-Span"]) | ("crmdig:D1_Digital_Object" & ["crm:E55_Type", "crmdig:D1_Digital_Object"]) | ("crmdig:D1_Digital_Object" & ["crm:E55_Type", "crm:E33_Linguistic_Object"]) | ("crmdig:D1_Digital_Object" & ["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"]) | ("crmdig:D1_Digital_Object" & ["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"]) | ("crmdig:D1_Digital_Object" & ["crm:E18_Physical_Thing", "wikidata:Q15831596"]) | ("crmdig:D1_Digital_Object" & ["cwrc:place", "crm:E89_Propositional_Object"]) | ("crmdig:D1_Digital_Object" & ["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"]) | (["crm:E55_Type", "crmdig:D1_Digital_Object"] & "crm:E28_Conceptual_Object") | (["crm:E55_Type", "crmdig:D1_Digital_Object"] & "crm:E33_Linguistic_Object") | (["crm:E55_Type", "crmdig:D1_Digital_Object"] & "crmdig:D1_Digital_Object") | (["crm:E55_Type", "crmdig:D1_Digital_Object"] & "crm:E18_Physical_Thing") | (["crm:E55_Type", "crmdig:D1_Digital_Object"] & "cwrc:place") | (["crm:E55_Type", "crm:E33_Linguistic_Object"] & "crm:E28_Conceptual_Object") | (["crm:E55_Type", "crm:E33_Linguistic_Object"] & "crm:E33_Linguistic_Object") | (["crm:E55_Type", "crm:E33_Linguistic_Object"] & "crmdig:D1_Digital_Object") | (["crm:E55_Type", "crm:E33_Linguistic_Object"] & "crm:E18_Physical_Thing") | (["crm:E55_Type", "crm:E33_Linguistic_Object"] & "cwrc:place") | (["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"] & "crm:E28_Conceptual_Object") | (["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"] & "crm:E33_Linguistic_Object") | (["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"] & "crmdig:D1_Digital_Object") | (["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"] & "crm:E18_Physical_Thing") | (["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"] & "cwrc:place") | (["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"] & "crm:E28_Conceptual_Object") | (["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"] & "crm:E33_Linguistic_Object") | (["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"] & "crmdig:D1_Digital_Object") | (["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"] & "crm:E18_Physical_Thing") | (["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"] & "cwrc:place") | ("crm:E18_Physical_Thing" & ["cito:Citation", "crm:E73_Information_Object"]) | ("crm:E18_Physical_Thing" & ["crm:E28_Conceptual_Object", "wikidata:Q15831596"]) | ("crm:E18_Physical_Thing" & ["fabio:Correction", "crm:E33_Linguistic_Object"]) | ("crm:E18_Physical_Thing" & ["xsd:date", "crm:E52_Time-Span"]) | ("crm:E18_Physical_Thing" & ["crm:E55_Type", "crmdig:D1_Digital_Object"]) | ("crm:E18_Physical_Thing" & ["crm:E55_Type", "crm:E33_Linguistic_Object"]) | ("crm:E18_Physical_Thing" & ["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"]) | ("crm:E18_Physical_Thing" & ["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"]) | ("crm:E18_Physical_Thing" & ["cwrc:place", "crm:E89_Propositional_Object"]) | ("crm:E18_Physical_Thing" & ["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"]) | (["crm:E18_Physical_Thing", "wikidata:Q15831596"] & "crm:E28_Conceptual_Object") | (["crm:E18_Physical_Thing", "wikidata:Q15831596"] & "crm:E33_Linguistic_Object") | (["crm:E18_Physical_Thing", "wikidata:Q15831596"] & "crmdig:D1_Digital_Object") | (["crm:E18_Physical_Thing", "wikidata:Q15831596"] & "cwrc:place") | ("cwrc:place" & ["cito:Citation", "crm:E73_Information_Object"]) | ("cwrc:place" & ["crm:E28_Conceptual_Object", "wikidata:Q15831596"]) | ("cwrc:place" & ["fabio:Correction", "crm:E33_Linguistic_Object"]) | ("cwrc:place" & ["xsd:date", "crm:E52_Time-Span"]) | ("cwrc:place" & ["crm:E55_Type", "crmdig:D1_Digital_Object"]) | ("cwrc:place" & ["crm:E55_Type", "crm:E33_Linguistic_Object"]) | ("cwrc:place" & ["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"]) | ("cwrc:place" & ["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"]) | ("cwrc:place" & ["crm:E18_Physical_Thing", "wikidata:Q15831596"]) | ("cwrc:place" & ["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"]) | (["cwrc:place", "crm:E89_Propositional_Object"] & "crm:E28_Conceptual_Object") | (["cwrc:place", "crm:E89_Propositional_Object"] & "crm:E33_Linguistic_Object") | (["cwrc:place", "crm:E89_Propositional_Object"] & "crmdig:D1_Digital_Object") | (["cwrc:place", "crm:E89_Propositional_Object"] & "crm:E18_Physical_Thing") | (["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"] & "crm:E28_Conceptual_Object") | (["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"] & "crm:E33_Linguistic_Object") | (["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"] & "crmdig:D1_Digital_Object") | (["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"] & "crm:E18_Physical_Thing") | (["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"] & "cwrc:place");
2126
+ type?: "TextualBody" | undefined;
2127
+ additionalType?: string | string[] | undefined;
2128
+ value?: string | undefined;
2129
+ certainty?: "edit:qualityLow" | "edit:qualityMedium" | "edit:qualityHigh" | "edit:qualityUnknown" | undefined;
2130
+ precision?: "edit:qualityLow" | "edit:qualityMedium" | "edit:qualityHigh" | "edit:qualityUnknown" | undefined;
2131
+ label?: string | undefined;
2132
+ description?: string | undefined;
2133
+ }>;
2134
+ }, "strip", z.ZodTypeAny, {
2135
+ status: "draft" | "approved" | "published";
2136
+ type: ["Annotation", "crm:E33_Linguistic_Object"];
2137
+ id: string;
2138
+ creator: {
2139
+ type: "crm:E21_Person";
2140
+ id: string;
2141
+ name: string;
2142
+ };
2143
+ target: {
2144
+ type: ["SpecificResource", "crm:E73_Information_Object"];
2145
+ id: string;
2146
+ format?: string[] | undefined;
2147
+ language?: string[] | undefined;
2148
+ title?: string | undefined;
2149
+ renderedVia?: {
2150
+ type: ["Software", "crm:P16_used_specific_object"];
2151
+ id: string;
2152
+ label: string;
2153
+ softwareVersion?: string | undefined;
2154
+ } | undefined;
2155
+ selector?: {
2156
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
2157
+ id: string;
2158
+ start: number;
2159
+ end: number;
2160
+ } | {
2161
+ value: string;
2162
+ type: ["XPathSelector", "crm:E73_Information_Object"];
2163
+ id: string;
2164
+ refinedBy?: {
2165
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
2166
+ id: string;
2167
+ start: number;
2168
+ end: number;
2169
+ } | undefined;
2170
+ } | {
2171
+ type: ["RangeSelector", "crm:E73_Information_Object"];
2172
+ id: string;
2173
+ startSelector: {
2174
+ value: string;
2175
+ type: ["XPathSelector", "crm:E73_Information_Object"];
2176
+ id: string;
2177
+ refinedBy?: {
2178
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
2179
+ id: string;
2180
+ start: number;
2181
+ end: number;
2182
+ } | undefined;
2183
+ };
2184
+ endSelector: {
2185
+ value: string;
2186
+ type: ["XPathSelector", "crm:E73_Information_Object"];
2187
+ id: string;
2188
+ refinedBy?: {
2189
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
2190
+ id: string;
2191
+ start: number;
2192
+ end: number;
2193
+ } | undefined;
2194
+ };
2195
+ } | {
2196
+ exact: string;
2197
+ type: ["TextQuoteSelector", "crm:E33_Linguistic_Object"];
2198
+ id: string;
2199
+ prefix?: string | undefined;
2200
+ sufix?: string | undefined;
2201
+ refinedBy?: {
2202
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
2203
+ id: string;
2204
+ start: number;
2205
+ end: number;
2206
+ } | {
2207
+ value: string;
2208
+ type: ["XPathSelector", "crm:E73_Information_Object"];
2209
+ id: string;
2210
+ refinedBy?: {
2211
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
2212
+ id: string;
2213
+ start: number;
2214
+ end: number;
2215
+ } | undefined;
2216
+ } | {
2217
+ type: ["RangeSelector", "crm:E73_Information_Object"];
2218
+ id: string;
2219
+ startSelector: {
2220
+ value: string;
2221
+ type: ["XPathSelector", "crm:E73_Information_Object"];
2222
+ id: string;
2223
+ refinedBy?: {
2224
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
2225
+ id: string;
2226
+ start: number;
2227
+ end: number;
2228
+ } | undefined;
2229
+ };
2230
+ endSelector: {
2231
+ value: string;
2232
+ type: ["XPathSelector", "crm:E73_Information_Object"];
2233
+ id: string;
2234
+ refinedBy?: {
2235
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
2236
+ id: string;
2237
+ start: number;
2238
+ end: number;
2239
+ } | undefined;
2240
+ };
2241
+ } | undefined;
2242
+ } | undefined;
2243
+ };
2244
+ body: {
2245
+ id: string;
2246
+ entityType: ["cito:Citation", "crm:E73_Information_Object"] | "crm:E28_Conceptual_Object" | ["crm:E28_Conceptual_Object", "wikidata:Q15831596"] | ("crm:E28_Conceptual_Object" & ["crm:E28_Conceptual_Object", "wikidata:Q15831596"]) | (["crm:E28_Conceptual_Object", "wikidata:Q15831596"] & "crm:E28_Conceptual_Object") | "crm:E33_Linguistic_Object" | ["fabio:Correction", "crm:E33_Linguistic_Object"] | ["xsd:date", "crm:E52_Time-Span"] | "crmdig:D1_Digital_Object" | ["crm:E55_Type", "crmdig:D1_Digital_Object"] | ["crm:E55_Type", "crm:E33_Linguistic_Object"] | ["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"] | ["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"] | "crm:E18_Physical_Thing" | ["crm:E18_Physical_Thing", "wikidata:Q15831596"] | ("crm:E18_Physical_Thing" & ["crm:E18_Physical_Thing", "wikidata:Q15831596"]) | (["crm:E18_Physical_Thing", "wikidata:Q15831596"] & "crm:E18_Physical_Thing") | "cwrc:place" | ["cwrc:place", "crm:E89_Propositional_Object"] | ("cwrc:place" & ["cwrc:place", "crm:E89_Propositional_Object"]) | (["cwrc:place", "crm:E89_Propositional_Object"] & "cwrc:place") | ["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"] | (["cito:Citation", "crm:E73_Information_Object"] & "crm:E28_Conceptual_Object") | (["cito:Citation", "crm:E73_Information_Object"] & "crm:E33_Linguistic_Object") | (["cito:Citation", "crm:E73_Information_Object"] & "crmdig:D1_Digital_Object") | (["cito:Citation", "crm:E73_Information_Object"] & "crm:E18_Physical_Thing") | (["cito:Citation", "crm:E73_Information_Object"] & "cwrc:place") | ("crm:E28_Conceptual_Object" & ["cito:Citation", "crm:E73_Information_Object"]) | ("crm:E28_Conceptual_Object" & ["fabio:Correction", "crm:E33_Linguistic_Object"]) | ("crm:E28_Conceptual_Object" & ["xsd:date", "crm:E52_Time-Span"]) | ("crm:E28_Conceptual_Object" & ["crm:E55_Type", "crmdig:D1_Digital_Object"]) | ("crm:E28_Conceptual_Object" & ["crm:E55_Type", "crm:E33_Linguistic_Object"]) | ("crm:E28_Conceptual_Object" & ["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"]) | ("crm:E28_Conceptual_Object" & ["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"]) | ("crm:E28_Conceptual_Object" & ["crm:E18_Physical_Thing", "wikidata:Q15831596"]) | ("crm:E28_Conceptual_Object" & ["cwrc:place", "crm:E89_Propositional_Object"]) | ("crm:E28_Conceptual_Object" & ["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"]) | (["crm:E28_Conceptual_Object", "wikidata:Q15831596"] & "crm:E33_Linguistic_Object") | (["crm:E28_Conceptual_Object", "wikidata:Q15831596"] & "crmdig:D1_Digital_Object") | (["crm:E28_Conceptual_Object", "wikidata:Q15831596"] & "crm:E18_Physical_Thing") | (["crm:E28_Conceptual_Object", "wikidata:Q15831596"] & "cwrc:place") | ("crm:E33_Linguistic_Object" & ["cito:Citation", "crm:E73_Information_Object"]) | ("crm:E33_Linguistic_Object" & ["crm:E28_Conceptual_Object", "wikidata:Q15831596"]) | ("crm:E33_Linguistic_Object" & ["fabio:Correction", "crm:E33_Linguistic_Object"]) | ("crm:E33_Linguistic_Object" & ["xsd:date", "crm:E52_Time-Span"]) | ("crm:E33_Linguistic_Object" & ["crm:E55_Type", "crmdig:D1_Digital_Object"]) | ("crm:E33_Linguistic_Object" & ["crm:E55_Type", "crm:E33_Linguistic_Object"]) | ("crm:E33_Linguistic_Object" & ["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"]) | ("crm:E33_Linguistic_Object" & ["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"]) | ("crm:E33_Linguistic_Object" & ["crm:E18_Physical_Thing", "wikidata:Q15831596"]) | ("crm:E33_Linguistic_Object" & ["cwrc:place", "crm:E89_Propositional_Object"]) | ("crm:E33_Linguistic_Object" & ["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"]) | (["fabio:Correction", "crm:E33_Linguistic_Object"] & "crm:E28_Conceptual_Object") | (["fabio:Correction", "crm:E33_Linguistic_Object"] & "crm:E33_Linguistic_Object") | (["fabio:Correction", "crm:E33_Linguistic_Object"] & "crmdig:D1_Digital_Object") | (["fabio:Correction", "crm:E33_Linguistic_Object"] & "crm:E18_Physical_Thing") | (["fabio:Correction", "crm:E33_Linguistic_Object"] & "cwrc:place") | (["xsd:date", "crm:E52_Time-Span"] & "crm:E28_Conceptual_Object") | (["xsd:date", "crm:E52_Time-Span"] & "crm:E33_Linguistic_Object") | (["xsd:date", "crm:E52_Time-Span"] & "crmdig:D1_Digital_Object") | (["xsd:date", "crm:E52_Time-Span"] & "crm:E18_Physical_Thing") | (["xsd:date", "crm:E52_Time-Span"] & "cwrc:place") | ("crmdig:D1_Digital_Object" & ["cito:Citation", "crm:E73_Information_Object"]) | ("crmdig:D1_Digital_Object" & ["crm:E28_Conceptual_Object", "wikidata:Q15831596"]) | ("crmdig:D1_Digital_Object" & ["fabio:Correction", "crm:E33_Linguistic_Object"]) | ("crmdig:D1_Digital_Object" & ["xsd:date", "crm:E52_Time-Span"]) | ("crmdig:D1_Digital_Object" & ["crm:E55_Type", "crmdig:D1_Digital_Object"]) | ("crmdig:D1_Digital_Object" & ["crm:E55_Type", "crm:E33_Linguistic_Object"]) | ("crmdig:D1_Digital_Object" & ["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"]) | ("crmdig:D1_Digital_Object" & ["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"]) | ("crmdig:D1_Digital_Object" & ["crm:E18_Physical_Thing", "wikidata:Q15831596"]) | ("crmdig:D1_Digital_Object" & ["cwrc:place", "crm:E89_Propositional_Object"]) | ("crmdig:D1_Digital_Object" & ["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"]) | (["crm:E55_Type", "crmdig:D1_Digital_Object"] & "crm:E28_Conceptual_Object") | (["crm:E55_Type", "crmdig:D1_Digital_Object"] & "crm:E33_Linguistic_Object") | (["crm:E55_Type", "crmdig:D1_Digital_Object"] & "crmdig:D1_Digital_Object") | (["crm:E55_Type", "crmdig:D1_Digital_Object"] & "crm:E18_Physical_Thing") | (["crm:E55_Type", "crmdig:D1_Digital_Object"] & "cwrc:place") | (["crm:E55_Type", "crm:E33_Linguistic_Object"] & "crm:E28_Conceptual_Object") | (["crm:E55_Type", "crm:E33_Linguistic_Object"] & "crm:E33_Linguistic_Object") | (["crm:E55_Type", "crm:E33_Linguistic_Object"] & "crmdig:D1_Digital_Object") | (["crm:E55_Type", "crm:E33_Linguistic_Object"] & "crm:E18_Physical_Thing") | (["crm:E55_Type", "crm:E33_Linguistic_Object"] & "cwrc:place") | (["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"] & "crm:E28_Conceptual_Object") | (["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"] & "crm:E33_Linguistic_Object") | (["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"] & "crmdig:D1_Digital_Object") | (["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"] & "crm:E18_Physical_Thing") | (["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"] & "cwrc:place") | (["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"] & "crm:E28_Conceptual_Object") | (["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"] & "crm:E33_Linguistic_Object") | (["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"] & "crmdig:D1_Digital_Object") | (["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"] & "crm:E18_Physical_Thing") | (["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"] & "cwrc:place") | ("crm:E18_Physical_Thing" & ["cito:Citation", "crm:E73_Information_Object"]) | ("crm:E18_Physical_Thing" & ["crm:E28_Conceptual_Object", "wikidata:Q15831596"]) | ("crm:E18_Physical_Thing" & ["fabio:Correction", "crm:E33_Linguistic_Object"]) | ("crm:E18_Physical_Thing" & ["xsd:date", "crm:E52_Time-Span"]) | ("crm:E18_Physical_Thing" & ["crm:E55_Type", "crmdig:D1_Digital_Object"]) | ("crm:E18_Physical_Thing" & ["crm:E55_Type", "crm:E33_Linguistic_Object"]) | ("crm:E18_Physical_Thing" & ["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"]) | ("crm:E18_Physical_Thing" & ["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"]) | ("crm:E18_Physical_Thing" & ["cwrc:place", "crm:E89_Propositional_Object"]) | ("crm:E18_Physical_Thing" & ["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"]) | (["crm:E18_Physical_Thing", "wikidata:Q15831596"] & "crm:E28_Conceptual_Object") | (["crm:E18_Physical_Thing", "wikidata:Q15831596"] & "crm:E33_Linguistic_Object") | (["crm:E18_Physical_Thing", "wikidata:Q15831596"] & "crmdig:D1_Digital_Object") | (["crm:E18_Physical_Thing", "wikidata:Q15831596"] & "cwrc:place") | ("cwrc:place" & ["cito:Citation", "crm:E73_Information_Object"]) | ("cwrc:place" & ["crm:E28_Conceptual_Object", "wikidata:Q15831596"]) | ("cwrc:place" & ["fabio:Correction", "crm:E33_Linguistic_Object"]) | ("cwrc:place" & ["xsd:date", "crm:E52_Time-Span"]) | ("cwrc:place" & ["crm:E55_Type", "crmdig:D1_Digital_Object"]) | ("cwrc:place" & ["crm:E55_Type", "crm:E33_Linguistic_Object"]) | ("cwrc:place" & ["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"]) | ("cwrc:place" & ["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"]) | ("cwrc:place" & ["crm:E18_Physical_Thing", "wikidata:Q15831596"]) | ("cwrc:place" & ["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"]) | (["cwrc:place", "crm:E89_Propositional_Object"] & "crm:E28_Conceptual_Object") | (["cwrc:place", "crm:E89_Propositional_Object"] & "crm:E33_Linguistic_Object") | (["cwrc:place", "crm:E89_Propositional_Object"] & "crmdig:D1_Digital_Object") | (["cwrc:place", "crm:E89_Propositional_Object"] & "crm:E18_Physical_Thing") | (["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"] & "crm:E28_Conceptual_Object") | (["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"] & "crm:E33_Linguistic_Object") | (["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"] & "crmdig:D1_Digital_Object") | (["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"] & "crm:E18_Physical_Thing") | (["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"] & "cwrc:place");
2247
+ type?: "TextualBody" | undefined;
2248
+ additionalType?: string | string[] | undefined;
2249
+ value?: string | undefined;
2250
+ certainty?: "edit:qualityLow" | "edit:qualityMedium" | "edit:qualityHigh" | "edit:qualityUnknown" | undefined;
2251
+ precision?: "edit:qualityLow" | "edit:qualityMedium" | "edit:qualityHigh" | "edit:qualityUnknown" | undefined;
2252
+ label?: string | undefined;
2253
+ description?: string | undefined;
2254
+ };
2255
+ '@context': ["http://www.w3.org/ns/anno.jsonld", string];
2256
+ motivation: ["identifying" | "describing" | "correcting" | "tagging" | "classifying" | "linking" | "citing", "crm:E33_Linguistic_Object"];
2257
+ created: string;
2258
+ generator: {
2259
+ type: ["Software", "crm:P16_used_specific_object"];
2260
+ id: string;
2261
+ label: string;
2262
+ softwareVersion?: string | undefined;
2263
+ };
2264
+ modified?: string | undefined;
2265
+ contributor?: [{
2266
+ type: "crm:E21_Person";
2267
+ id: string;
2268
+ name: string;
2269
+ }, ...{
2270
+ type: "crm:E21_Person";
2271
+ id: string;
2272
+ name: string;
2273
+ }[]] | undefined;
2274
+ }, {
2275
+ status: "draft" | "approved" | "published";
2276
+ type: ["Annotation", "crm:E33_Linguistic_Object"];
2277
+ id: string;
2278
+ creator: {
2279
+ type: "crm:E21_Person";
2280
+ id: string;
2281
+ name: string;
2282
+ };
2283
+ target: {
2284
+ type: ["SpecificResource", "crm:E73_Information_Object"];
2285
+ id: string;
2286
+ format?: string[] | undefined;
2287
+ language?: string[] | undefined;
2288
+ title?: string | undefined;
2289
+ renderedVia?: {
2290
+ type: ["Software", "crm:P16_used_specific_object"];
2291
+ id: string;
2292
+ label: string;
2293
+ softwareVersion?: string | undefined;
2294
+ } | undefined;
2295
+ selector?: {
2296
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
2297
+ id: string;
2298
+ start: number;
2299
+ end: number;
2300
+ } | {
2301
+ value: string;
2302
+ type: ["XPathSelector", "crm:E73_Information_Object"];
2303
+ id: string;
2304
+ refinedBy?: {
2305
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
2306
+ id: string;
2307
+ start: number;
2308
+ end: number;
2309
+ } | undefined;
2310
+ } | {
2311
+ type: ["RangeSelector", "crm:E73_Information_Object"];
2312
+ id: string;
2313
+ startSelector: {
2314
+ value: string;
2315
+ type: ["XPathSelector", "crm:E73_Information_Object"];
2316
+ id: string;
2317
+ refinedBy?: {
2318
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
2319
+ id: string;
2320
+ start: number;
2321
+ end: number;
2322
+ } | undefined;
2323
+ };
2324
+ endSelector: {
2325
+ value: string;
2326
+ type: ["XPathSelector", "crm:E73_Information_Object"];
2327
+ id: string;
2328
+ refinedBy?: {
2329
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
2330
+ id: string;
2331
+ start: number;
2332
+ end: number;
2333
+ } | undefined;
2334
+ };
2335
+ } | {
2336
+ exact: string;
2337
+ type: ["TextQuoteSelector", "crm:E33_Linguistic_Object"];
2338
+ id: string;
2339
+ prefix?: string | undefined;
2340
+ sufix?: string | undefined;
2341
+ refinedBy?: {
2342
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
2343
+ id: string;
2344
+ start: number;
2345
+ end: number;
2346
+ } | {
2347
+ value: string;
2348
+ type: ["XPathSelector", "crm:E73_Information_Object"];
2349
+ id: string;
2350
+ refinedBy?: {
2351
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
2352
+ id: string;
2353
+ start: number;
2354
+ end: number;
2355
+ } | undefined;
2356
+ } | {
2357
+ type: ["RangeSelector", "crm:E73_Information_Object"];
2358
+ id: string;
2359
+ startSelector: {
2360
+ value: string;
2361
+ type: ["XPathSelector", "crm:E73_Information_Object"];
2362
+ id: string;
2363
+ refinedBy?: {
2364
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
2365
+ id: string;
2366
+ start: number;
2367
+ end: number;
2368
+ } | undefined;
2369
+ };
2370
+ endSelector: {
2371
+ value: string;
2372
+ type: ["XPathSelector", "crm:E73_Information_Object"];
2373
+ id: string;
2374
+ refinedBy?: {
2375
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
2376
+ id: string;
2377
+ start: number;
2378
+ end: number;
2379
+ } | undefined;
2380
+ };
2381
+ } | undefined;
2382
+ } | undefined;
2383
+ };
2384
+ body: {
2385
+ id: string;
2386
+ entityType: ["cito:Citation", "crm:E73_Information_Object"] | "crm:E28_Conceptual_Object" | ["crm:E28_Conceptual_Object", "wikidata:Q15831596"] | ("crm:E28_Conceptual_Object" & ["crm:E28_Conceptual_Object", "wikidata:Q15831596"]) | (["crm:E28_Conceptual_Object", "wikidata:Q15831596"] & "crm:E28_Conceptual_Object") | "crm:E33_Linguistic_Object" | ["fabio:Correction", "crm:E33_Linguistic_Object"] | ["xsd:date", "crm:E52_Time-Span"] | "crmdig:D1_Digital_Object" | ["crm:E55_Type", "crmdig:D1_Digital_Object"] | ["crm:E55_Type", "crm:E33_Linguistic_Object"] | ["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"] | ["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"] | "crm:E18_Physical_Thing" | ["crm:E18_Physical_Thing", "wikidata:Q15831596"] | ("crm:E18_Physical_Thing" & ["crm:E18_Physical_Thing", "wikidata:Q15831596"]) | (["crm:E18_Physical_Thing", "wikidata:Q15831596"] & "crm:E18_Physical_Thing") | "cwrc:place" | ["cwrc:place", "crm:E89_Propositional_Object"] | ("cwrc:place" & ["cwrc:place", "crm:E89_Propositional_Object"]) | (["cwrc:place", "crm:E89_Propositional_Object"] & "cwrc:place") | ["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"] | (["cito:Citation", "crm:E73_Information_Object"] & "crm:E28_Conceptual_Object") | (["cito:Citation", "crm:E73_Information_Object"] & "crm:E33_Linguistic_Object") | (["cito:Citation", "crm:E73_Information_Object"] & "crmdig:D1_Digital_Object") | (["cito:Citation", "crm:E73_Information_Object"] & "crm:E18_Physical_Thing") | (["cito:Citation", "crm:E73_Information_Object"] & "cwrc:place") | ("crm:E28_Conceptual_Object" & ["cito:Citation", "crm:E73_Information_Object"]) | ("crm:E28_Conceptual_Object" & ["fabio:Correction", "crm:E33_Linguistic_Object"]) | ("crm:E28_Conceptual_Object" & ["xsd:date", "crm:E52_Time-Span"]) | ("crm:E28_Conceptual_Object" & ["crm:E55_Type", "crmdig:D1_Digital_Object"]) | ("crm:E28_Conceptual_Object" & ["crm:E55_Type", "crm:E33_Linguistic_Object"]) | ("crm:E28_Conceptual_Object" & ["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"]) | ("crm:E28_Conceptual_Object" & ["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"]) | ("crm:E28_Conceptual_Object" & ["crm:E18_Physical_Thing", "wikidata:Q15831596"]) | ("crm:E28_Conceptual_Object" & ["cwrc:place", "crm:E89_Propositional_Object"]) | ("crm:E28_Conceptual_Object" & ["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"]) | (["crm:E28_Conceptual_Object", "wikidata:Q15831596"] & "crm:E33_Linguistic_Object") | (["crm:E28_Conceptual_Object", "wikidata:Q15831596"] & "crmdig:D1_Digital_Object") | (["crm:E28_Conceptual_Object", "wikidata:Q15831596"] & "crm:E18_Physical_Thing") | (["crm:E28_Conceptual_Object", "wikidata:Q15831596"] & "cwrc:place") | ("crm:E33_Linguistic_Object" & ["cito:Citation", "crm:E73_Information_Object"]) | ("crm:E33_Linguistic_Object" & ["crm:E28_Conceptual_Object", "wikidata:Q15831596"]) | ("crm:E33_Linguistic_Object" & ["fabio:Correction", "crm:E33_Linguistic_Object"]) | ("crm:E33_Linguistic_Object" & ["xsd:date", "crm:E52_Time-Span"]) | ("crm:E33_Linguistic_Object" & ["crm:E55_Type", "crmdig:D1_Digital_Object"]) | ("crm:E33_Linguistic_Object" & ["crm:E55_Type", "crm:E33_Linguistic_Object"]) | ("crm:E33_Linguistic_Object" & ["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"]) | ("crm:E33_Linguistic_Object" & ["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"]) | ("crm:E33_Linguistic_Object" & ["crm:E18_Physical_Thing", "wikidata:Q15831596"]) | ("crm:E33_Linguistic_Object" & ["cwrc:place", "crm:E89_Propositional_Object"]) | ("crm:E33_Linguistic_Object" & ["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"]) | (["fabio:Correction", "crm:E33_Linguistic_Object"] & "crm:E28_Conceptual_Object") | (["fabio:Correction", "crm:E33_Linguistic_Object"] & "crm:E33_Linguistic_Object") | (["fabio:Correction", "crm:E33_Linguistic_Object"] & "crmdig:D1_Digital_Object") | (["fabio:Correction", "crm:E33_Linguistic_Object"] & "crm:E18_Physical_Thing") | (["fabio:Correction", "crm:E33_Linguistic_Object"] & "cwrc:place") | (["xsd:date", "crm:E52_Time-Span"] & "crm:E28_Conceptual_Object") | (["xsd:date", "crm:E52_Time-Span"] & "crm:E33_Linguistic_Object") | (["xsd:date", "crm:E52_Time-Span"] & "crmdig:D1_Digital_Object") | (["xsd:date", "crm:E52_Time-Span"] & "crm:E18_Physical_Thing") | (["xsd:date", "crm:E52_Time-Span"] & "cwrc:place") | ("crmdig:D1_Digital_Object" & ["cito:Citation", "crm:E73_Information_Object"]) | ("crmdig:D1_Digital_Object" & ["crm:E28_Conceptual_Object", "wikidata:Q15831596"]) | ("crmdig:D1_Digital_Object" & ["fabio:Correction", "crm:E33_Linguistic_Object"]) | ("crmdig:D1_Digital_Object" & ["xsd:date", "crm:E52_Time-Span"]) | ("crmdig:D1_Digital_Object" & ["crm:E55_Type", "crmdig:D1_Digital_Object"]) | ("crmdig:D1_Digital_Object" & ["crm:E55_Type", "crm:E33_Linguistic_Object"]) | ("crmdig:D1_Digital_Object" & ["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"]) | ("crmdig:D1_Digital_Object" & ["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"]) | ("crmdig:D1_Digital_Object" & ["crm:E18_Physical_Thing", "wikidata:Q15831596"]) | ("crmdig:D1_Digital_Object" & ["cwrc:place", "crm:E89_Propositional_Object"]) | ("crmdig:D1_Digital_Object" & ["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"]) | (["crm:E55_Type", "crmdig:D1_Digital_Object"] & "crm:E28_Conceptual_Object") | (["crm:E55_Type", "crmdig:D1_Digital_Object"] & "crm:E33_Linguistic_Object") | (["crm:E55_Type", "crmdig:D1_Digital_Object"] & "crmdig:D1_Digital_Object") | (["crm:E55_Type", "crmdig:D1_Digital_Object"] & "crm:E18_Physical_Thing") | (["crm:E55_Type", "crmdig:D1_Digital_Object"] & "cwrc:place") | (["crm:E55_Type", "crm:E33_Linguistic_Object"] & "crm:E28_Conceptual_Object") | (["crm:E55_Type", "crm:E33_Linguistic_Object"] & "crm:E33_Linguistic_Object") | (["crm:E55_Type", "crm:E33_Linguistic_Object"] & "crmdig:D1_Digital_Object") | (["crm:E55_Type", "crm:E33_Linguistic_Object"] & "crm:E18_Physical_Thing") | (["crm:E55_Type", "crm:E33_Linguistic_Object"] & "cwrc:place") | (["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"] & "crm:E28_Conceptual_Object") | (["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"] & "crm:E33_Linguistic_Object") | (["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"] & "crmdig:D1_Digital_Object") | (["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"] & "crm:E18_Physical_Thing") | (["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"] & "cwrc:place") | (["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"] & "crm:E28_Conceptual_Object") | (["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"] & "crm:E33_Linguistic_Object") | (["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"] & "crmdig:D1_Digital_Object") | (["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"] & "crm:E18_Physical_Thing") | (["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"] & "cwrc:place") | ("crm:E18_Physical_Thing" & ["cito:Citation", "crm:E73_Information_Object"]) | ("crm:E18_Physical_Thing" & ["crm:E28_Conceptual_Object", "wikidata:Q15831596"]) | ("crm:E18_Physical_Thing" & ["fabio:Correction", "crm:E33_Linguistic_Object"]) | ("crm:E18_Physical_Thing" & ["xsd:date", "crm:E52_Time-Span"]) | ("crm:E18_Physical_Thing" & ["crm:E55_Type", "crmdig:D1_Digital_Object"]) | ("crm:E18_Physical_Thing" & ["crm:E55_Type", "crm:E33_Linguistic_Object"]) | ("crm:E18_Physical_Thing" & ["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"]) | ("crm:E18_Physical_Thing" & ["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"]) | ("crm:E18_Physical_Thing" & ["cwrc:place", "crm:E89_Propositional_Object"]) | ("crm:E18_Physical_Thing" & ["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"]) | (["crm:E18_Physical_Thing", "wikidata:Q15831596"] & "crm:E28_Conceptual_Object") | (["crm:E18_Physical_Thing", "wikidata:Q15831596"] & "crm:E33_Linguistic_Object") | (["crm:E18_Physical_Thing", "wikidata:Q15831596"] & "crmdig:D1_Digital_Object") | (["crm:E18_Physical_Thing", "wikidata:Q15831596"] & "cwrc:place") | ("cwrc:place" & ["cito:Citation", "crm:E73_Information_Object"]) | ("cwrc:place" & ["crm:E28_Conceptual_Object", "wikidata:Q15831596"]) | ("cwrc:place" & ["fabio:Correction", "crm:E33_Linguistic_Object"]) | ("cwrc:place" & ["xsd:date", "crm:E52_Time-Span"]) | ("cwrc:place" & ["crm:E55_Type", "crmdig:D1_Digital_Object"]) | ("cwrc:place" & ["crm:E55_Type", "crm:E33_Linguistic_Object"]) | ("cwrc:place" & ["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"]) | ("cwrc:place" & ["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"]) | ("cwrc:place" & ["crm:E18_Physical_Thing", "wikidata:Q15831596"]) | ("cwrc:place" & ["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"]) | (["cwrc:place", "crm:E89_Propositional_Object"] & "crm:E28_Conceptual_Object") | (["cwrc:place", "crm:E89_Propositional_Object"] & "crm:E33_Linguistic_Object") | (["cwrc:place", "crm:E89_Propositional_Object"] & "crmdig:D1_Digital_Object") | (["cwrc:place", "crm:E89_Propositional_Object"] & "crm:E18_Physical_Thing") | (["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"] & "crm:E28_Conceptual_Object") | (["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"] & "crm:E33_Linguistic_Object") | (["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"] & "crmdig:D1_Digital_Object") | (["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"] & "crm:E18_Physical_Thing") | (["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"] & "cwrc:place");
2387
+ type?: "TextualBody" | undefined;
2388
+ additionalType?: string | string[] | undefined;
2389
+ value?: string | undefined;
2390
+ certainty?: "edit:qualityLow" | "edit:qualityMedium" | "edit:qualityHigh" | "edit:qualityUnknown" | undefined;
2391
+ precision?: "edit:qualityLow" | "edit:qualityMedium" | "edit:qualityHigh" | "edit:qualityUnknown" | undefined;
2392
+ label?: string | undefined;
2393
+ description?: string | undefined;
2394
+ };
2395
+ '@context': ["http://www.w3.org/ns/anno.jsonld", string];
2396
+ motivation: ["identifying" | "describing" | "correcting" | "tagging" | "classifying" | "linking" | "citing", "crm:E33_Linguistic_Object"];
2397
+ created: string;
2398
+ generator: {
2399
+ type: ["Software", "crm:P16_used_specific_object"];
2400
+ id: string;
2401
+ label: string;
2402
+ softwareVersion?: string | undefined;
2403
+ };
2404
+ modified?: string | undefined;
2405
+ contributor?: [{
2406
+ type: "crm:E21_Person";
2407
+ id: string;
2408
+ name: string;
2409
+ }, ...{
2410
+ type: "crm:E21_Person";
2411
+ id: string;
2412
+ name: string;
2413
+ }[]] | undefined;
2414
+ }>;
2415
+ type WebAnnotation = z.infer<typeof WebAnnotation>;
2416
+ declare const webAnnotationSchema: JSONSchemaType<Required<WebAnnotation>>;
2417
+
2418
+ declare const ValidationError: z.ZodObject<{
2419
+ message: z.ZodString;
2420
+ path: z.ZodString;
2421
+ suggestion: z.ZodOptional<z.ZodString>;
2422
+ context: z.ZodIntersection<z.ZodObject<{
2423
+ errorType: z.ZodString;
2424
+ }, "strip", z.ZodTypeAny, {
2425
+ errorType: string;
2426
+ }, {
2427
+ errorType: string;
2428
+ }>, z.ZodUnknown>;
2429
+ }, "strip", z.ZodTypeAny, {
2430
+ message: string;
2431
+ path: string;
2432
+ context: {
2433
+ errorType: string;
2434
+ };
2435
+ suggestion?: string | undefined;
2436
+ }, {
2437
+ message: string;
2438
+ path: string;
2439
+ context: {
2440
+ errorType: string;
2441
+ };
2442
+ suggestion?: string | undefined;
2443
+ }>;
2444
+ type ValidationError = z.infer<typeof ValidationError>;
2445
+ declare const ValidateResult: z.ZodObject<{
2446
+ valid: z.ZodBoolean;
2447
+ errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
2448
+ message: z.ZodString;
2449
+ path: z.ZodString;
2450
+ suggestion: z.ZodOptional<z.ZodString>;
2451
+ context: z.ZodIntersection<z.ZodObject<{
2452
+ errorType: z.ZodString;
2453
+ }, "strip", z.ZodTypeAny, {
2454
+ errorType: string;
2455
+ }, {
2456
+ errorType: string;
2457
+ }>, z.ZodUnknown>;
2458
+ }, "strip", z.ZodTypeAny, {
2459
+ message: string;
2460
+ path: string;
2461
+ context: {
2462
+ errorType: string;
2463
+ };
2464
+ suggestion?: string | undefined;
2465
+ }, {
2466
+ message: string;
2467
+ path: string;
2468
+ context: {
2469
+ errorType: string;
2470
+ };
2471
+ suggestion?: string | undefined;
2472
+ }>, "many">>;
2473
+ }, "strip", z.ZodTypeAny, {
2474
+ valid: boolean;
2475
+ errors?: {
2476
+ message: string;
2477
+ path: string;
2478
+ context: {
2479
+ errorType: string;
2480
+ };
2481
+ suggestion?: string | undefined;
2482
+ }[] | undefined;
2483
+ }, {
2484
+ valid: boolean;
2485
+ errors?: {
2486
+ message: string;
2487
+ path: string;
2488
+ context: {
2489
+ errorType: string;
2490
+ };
2491
+ suggestion?: string | undefined;
2492
+ }[] | undefined;
2493
+ }>;
2494
+ type ValidateResult = z.infer<typeof ValidateResult>;
2495
+
2496
+ declare const ajv: ajv_dist_core.default;
2497
+ declare const validator: _ajv.ValidateFunction<Required<{
2498
+ status: "draft" | "approved" | "published";
2499
+ type: ["Annotation", "crm:E33_Linguistic_Object"];
2500
+ id: string;
2501
+ creator: {
2502
+ type: "crm:E21_Person";
2503
+ id: string;
2504
+ name: string;
2505
+ };
2506
+ target: {
2507
+ type: ["SpecificResource", "crm:E73_Information_Object"];
2508
+ id: string;
2509
+ format?: string[] | undefined;
2510
+ language?: string[] | undefined;
2511
+ title?: string | undefined;
2512
+ renderedVia?: {
2513
+ type: ["Software", "crm:P16_used_specific_object"];
2514
+ id: string;
2515
+ label: string;
2516
+ softwareVersion?: string | undefined;
2517
+ } | undefined;
2518
+ selector?: {
2519
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
2520
+ id: string;
2521
+ start: number;
2522
+ end: number;
2523
+ } | {
2524
+ value: string;
2525
+ type: ["XPathSelector", "crm:E73_Information_Object"];
2526
+ id: string;
2527
+ refinedBy?: {
2528
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
2529
+ id: string;
2530
+ start: number;
2531
+ end: number;
2532
+ } | undefined;
2533
+ } | {
2534
+ type: ["RangeSelector", "crm:E73_Information_Object"];
2535
+ id: string;
2536
+ startSelector: {
2537
+ value: string;
2538
+ type: ["XPathSelector", "crm:E73_Information_Object"];
2539
+ id: string;
2540
+ refinedBy?: {
2541
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
2542
+ id: string;
2543
+ start: number;
2544
+ end: number;
2545
+ } | undefined;
2546
+ };
2547
+ endSelector: {
2548
+ value: string;
2549
+ type: ["XPathSelector", "crm:E73_Information_Object"];
2550
+ id: string;
2551
+ refinedBy?: {
2552
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
2553
+ id: string;
2554
+ start: number;
2555
+ end: number;
2556
+ } | undefined;
2557
+ };
2558
+ } | {
2559
+ exact: string;
2560
+ type: ["TextQuoteSelector", "crm:E33_Linguistic_Object"];
2561
+ id: string;
2562
+ prefix?: string | undefined;
2563
+ sufix?: string | undefined;
2564
+ refinedBy?: {
2565
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
2566
+ id: string;
2567
+ start: number;
2568
+ end: number;
2569
+ } | {
2570
+ value: string;
2571
+ type: ["XPathSelector", "crm:E73_Information_Object"];
2572
+ id: string;
2573
+ refinedBy?: {
2574
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
2575
+ id: string;
2576
+ start: number;
2577
+ end: number;
2578
+ } | undefined;
2579
+ } | {
2580
+ type: ["RangeSelector", "crm:E73_Information_Object"];
2581
+ id: string;
2582
+ startSelector: {
2583
+ value: string;
2584
+ type: ["XPathSelector", "crm:E73_Information_Object"];
2585
+ id: string;
2586
+ refinedBy?: {
2587
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
2588
+ id: string;
2589
+ start: number;
2590
+ end: number;
2591
+ } | undefined;
2592
+ };
2593
+ endSelector: {
2594
+ value: string;
2595
+ type: ["XPathSelector", "crm:E73_Information_Object"];
2596
+ id: string;
2597
+ refinedBy?: {
2598
+ type: ["TextPositionSelector", "crm:E73_Information_Object"];
2599
+ id: string;
2600
+ start: number;
2601
+ end: number;
2602
+ } | undefined;
2603
+ };
2604
+ } | undefined;
2605
+ } | undefined;
2606
+ };
2607
+ body: {
2608
+ id: string;
2609
+ entityType: ["cito:Citation", "crm:E73_Information_Object"] | "crm:E28_Conceptual_Object" | ["crm:E28_Conceptual_Object", "wikidata:Q15831596"] | ("crm:E28_Conceptual_Object" & ["crm:E28_Conceptual_Object", "wikidata:Q15831596"]) | (["crm:E28_Conceptual_Object", "wikidata:Q15831596"] & "crm:E28_Conceptual_Object") | "crm:E33_Linguistic_Object" | ["fabio:Correction", "crm:E33_Linguistic_Object"] | ["xsd:date", "crm:E52_Time-Span"] | "crmdig:D1_Digital_Object" | ["crm:E55_Type", "crmdig:D1_Digital_Object"] | ["crm:E55_Type", "crm:E33_Linguistic_Object"] | ["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"] | ["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"] | "crm:E18_Physical_Thing" | ["crm:E18_Physical_Thing", "wikidata:Q15831596"] | ("crm:E18_Physical_Thing" & ["crm:E18_Physical_Thing", "wikidata:Q15831596"]) | (["crm:E18_Physical_Thing", "wikidata:Q15831596"] & "crm:E18_Physical_Thing") | "cwrc:place" | ["cwrc:place", "crm:E89_Propositional_Object"] | ("cwrc:place" & ["cwrc:place", "crm:E89_Propositional_Object"]) | (["cwrc:place", "crm:E89_Propositional_Object"] & "cwrc:place") | ["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"] | (["cito:Citation", "crm:E73_Information_Object"] & "crm:E28_Conceptual_Object") | (["cito:Citation", "crm:E73_Information_Object"] & "crm:E33_Linguistic_Object") | (["cito:Citation", "crm:E73_Information_Object"] & "crmdig:D1_Digital_Object") | (["cito:Citation", "crm:E73_Information_Object"] & "crm:E18_Physical_Thing") | (["cito:Citation", "crm:E73_Information_Object"] & "cwrc:place") | ("crm:E28_Conceptual_Object" & ["cito:Citation", "crm:E73_Information_Object"]) | ("crm:E28_Conceptual_Object" & ["fabio:Correction", "crm:E33_Linguistic_Object"]) | ("crm:E28_Conceptual_Object" & ["xsd:date", "crm:E52_Time-Span"]) | ("crm:E28_Conceptual_Object" & ["crm:E55_Type", "crmdig:D1_Digital_Object"]) | ("crm:E28_Conceptual_Object" & ["crm:E55_Type", "crm:E33_Linguistic_Object"]) | ("crm:E28_Conceptual_Object" & ["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"]) | ("crm:E28_Conceptual_Object" & ["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"]) | ("crm:E28_Conceptual_Object" & ["crm:E18_Physical_Thing", "wikidata:Q15831596"]) | ("crm:E28_Conceptual_Object" & ["cwrc:place", "crm:E89_Propositional_Object"]) | ("crm:E28_Conceptual_Object" & ["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"]) | (["crm:E28_Conceptual_Object", "wikidata:Q15831596"] & "crm:E33_Linguistic_Object") | (["crm:E28_Conceptual_Object", "wikidata:Q15831596"] & "crmdig:D1_Digital_Object") | (["crm:E28_Conceptual_Object", "wikidata:Q15831596"] & "crm:E18_Physical_Thing") | (["crm:E28_Conceptual_Object", "wikidata:Q15831596"] & "cwrc:place") | ("crm:E33_Linguistic_Object" & ["cito:Citation", "crm:E73_Information_Object"]) | ("crm:E33_Linguistic_Object" & ["crm:E28_Conceptual_Object", "wikidata:Q15831596"]) | ("crm:E33_Linguistic_Object" & ["fabio:Correction", "crm:E33_Linguistic_Object"]) | ("crm:E33_Linguistic_Object" & ["xsd:date", "crm:E52_Time-Span"]) | ("crm:E33_Linguistic_Object" & ["crm:E55_Type", "crmdig:D1_Digital_Object"]) | ("crm:E33_Linguistic_Object" & ["crm:E55_Type", "crm:E33_Linguistic_Object"]) | ("crm:E33_Linguistic_Object" & ["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"]) | ("crm:E33_Linguistic_Object" & ["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"]) | ("crm:E33_Linguistic_Object" & ["crm:E18_Physical_Thing", "wikidata:Q15831596"]) | ("crm:E33_Linguistic_Object" & ["cwrc:place", "crm:E89_Propositional_Object"]) | ("crm:E33_Linguistic_Object" & ["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"]) | (["fabio:Correction", "crm:E33_Linguistic_Object"] & "crm:E28_Conceptual_Object") | (["fabio:Correction", "crm:E33_Linguistic_Object"] & "crm:E33_Linguistic_Object") | (["fabio:Correction", "crm:E33_Linguistic_Object"] & "crmdig:D1_Digital_Object") | (["fabio:Correction", "crm:E33_Linguistic_Object"] & "crm:E18_Physical_Thing") | (["fabio:Correction", "crm:E33_Linguistic_Object"] & "cwrc:place") | (["xsd:date", "crm:E52_Time-Span"] & "crm:E28_Conceptual_Object") | (["xsd:date", "crm:E52_Time-Span"] & "crm:E33_Linguistic_Object") | (["xsd:date", "crm:E52_Time-Span"] & "crmdig:D1_Digital_Object") | (["xsd:date", "crm:E52_Time-Span"] & "crm:E18_Physical_Thing") | (["xsd:date", "crm:E52_Time-Span"] & "cwrc:place") | ("crmdig:D1_Digital_Object" & ["cito:Citation", "crm:E73_Information_Object"]) | ("crmdig:D1_Digital_Object" & ["crm:E28_Conceptual_Object", "wikidata:Q15831596"]) | ("crmdig:D1_Digital_Object" & ["fabio:Correction", "crm:E33_Linguistic_Object"]) | ("crmdig:D1_Digital_Object" & ["xsd:date", "crm:E52_Time-Span"]) | ("crmdig:D1_Digital_Object" & ["crm:E55_Type", "crmdig:D1_Digital_Object"]) | ("crmdig:D1_Digital_Object" & ["crm:E55_Type", "crm:E33_Linguistic_Object"]) | ("crmdig:D1_Digital_Object" & ["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"]) | ("crmdig:D1_Digital_Object" & ["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"]) | ("crmdig:D1_Digital_Object" & ["crm:E18_Physical_Thing", "wikidata:Q15831596"]) | ("crmdig:D1_Digital_Object" & ["cwrc:place", "crm:E89_Propositional_Object"]) | ("crmdig:D1_Digital_Object" & ["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"]) | (["crm:E55_Type", "crmdig:D1_Digital_Object"] & "crm:E28_Conceptual_Object") | (["crm:E55_Type", "crmdig:D1_Digital_Object"] & "crm:E33_Linguistic_Object") | (["crm:E55_Type", "crmdig:D1_Digital_Object"] & "crmdig:D1_Digital_Object") | (["crm:E55_Type", "crmdig:D1_Digital_Object"] & "crm:E18_Physical_Thing") | (["crm:E55_Type", "crmdig:D1_Digital_Object"] & "cwrc:place") | (["crm:E55_Type", "crm:E33_Linguistic_Object"] & "crm:E28_Conceptual_Object") | (["crm:E55_Type", "crm:E33_Linguistic_Object"] & "crm:E33_Linguistic_Object") | (["crm:E55_Type", "crm:E33_Linguistic_Object"] & "crmdig:D1_Digital_Object") | (["crm:E55_Type", "crm:E33_Linguistic_Object"] & "crm:E18_Physical_Thing") | (["crm:E55_Type", "crm:E33_Linguistic_Object"] & "cwrc:place") | (["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"] & "crm:E28_Conceptual_Object") | (["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"] & "crm:E33_Linguistic_Object") | (["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"] & "crmdig:D1_Digital_Object") | (["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"] & "crm:E18_Physical_Thing") | (["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"] & "cwrc:place") | (["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"] & "crm:E28_Conceptual_Object") | (["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"] & "crm:E33_Linguistic_Object") | (["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"] & "crmdig:D1_Digital_Object") | (["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"] & "crm:E18_Physical_Thing") | (["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"] & "cwrc:place") | ("crm:E18_Physical_Thing" & ["cito:Citation", "crm:E73_Information_Object"]) | ("crm:E18_Physical_Thing" & ["crm:E28_Conceptual_Object", "wikidata:Q15831596"]) | ("crm:E18_Physical_Thing" & ["fabio:Correction", "crm:E33_Linguistic_Object"]) | ("crm:E18_Physical_Thing" & ["xsd:date", "crm:E52_Time-Span"]) | ("crm:E18_Physical_Thing" & ["crm:E55_Type", "crmdig:D1_Digital_Object"]) | ("crm:E18_Physical_Thing" & ["crm:E55_Type", "crm:E33_Linguistic_Object"]) | ("crm:E18_Physical_Thing" & ["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"]) | ("crm:E18_Physical_Thing" & ["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"]) | ("crm:E18_Physical_Thing" & ["cwrc:place", "crm:E89_Propositional_Object"]) | ("crm:E18_Physical_Thing" & ["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"]) | (["crm:E18_Physical_Thing", "wikidata:Q15831596"] & "crm:E28_Conceptual_Object") | (["crm:E18_Physical_Thing", "wikidata:Q15831596"] & "crm:E33_Linguistic_Object") | (["crm:E18_Physical_Thing", "wikidata:Q15831596"] & "crmdig:D1_Digital_Object") | (["crm:E18_Physical_Thing", "wikidata:Q15831596"] & "cwrc:place") | ("cwrc:place" & ["cito:Citation", "crm:E73_Information_Object"]) | ("cwrc:place" & ["crm:E28_Conceptual_Object", "wikidata:Q15831596"]) | ("cwrc:place" & ["fabio:Correction", "crm:E33_Linguistic_Object"]) | ("cwrc:place" & ["xsd:date", "crm:E52_Time-Span"]) | ("cwrc:place" & ["crm:E55_Type", "crmdig:D1_Digital_Object"]) | ("cwrc:place" & ["crm:E55_Type", "crm:E33_Linguistic_Object"]) | ("cwrc:place" & ["foaf:Organization", "crm:E74_Group" | "crm:E89_Propositional_Object"]) | ("cwrc:place" & ["Person", "crm:E21_Person" | "crm:E89_Propositional_Object"]) | ("cwrc:place" & ["crm:E18_Physical_Thing", "wikidata:Q15831596"]) | ("cwrc:place" & ["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"]) | (["cwrc:place", "crm:E89_Propositional_Object"] & "crm:E28_Conceptual_Object") | (["cwrc:place", "crm:E89_Propositional_Object"] & "crm:E33_Linguistic_Object") | (["cwrc:place", "crm:E89_Propositional_Object"] & "crmdig:D1_Digital_Object") | (["cwrc:place", "crm:E89_Propositional_Object"] & "crm:E18_Physical_Thing") | (["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"] & "crm:E28_Conceptual_Object") | (["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"] & "crm:E33_Linguistic_Object") | (["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"] & "crmdig:D1_Digital_Object") | (["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"] & "crm:E18_Physical_Thing") | (["crm:E89_Propositional_Object", "frbroo:F1" | "wikidata:Q15306849"] & "cwrc:place");
2610
+ type?: "TextualBody" | undefined;
2611
+ additionalType?: string | string[] | undefined;
2612
+ value?: string | undefined;
2613
+ certainty?: "edit:qualityLow" | "edit:qualityMedium" | "edit:qualityHigh" | "edit:qualityUnknown" | undefined;
2614
+ precision?: "edit:qualityLow" | "edit:qualityMedium" | "edit:qualityHigh" | "edit:qualityUnknown" | undefined;
2615
+ label?: string | undefined;
2616
+ description?: string | undefined;
2617
+ };
2618
+ '@context': ["http://www.w3.org/ns/anno.jsonld", string];
2619
+ motivation: ["identifying" | "describing" | "correcting" | "tagging" | "classifying" | "linking" | "citing", "crm:E33_Linguistic_Object"];
2620
+ created: string;
2621
+ generator: {
2622
+ type: ["Software", "crm:P16_used_specific_object"];
2623
+ id: string;
2624
+ label: string;
2625
+ softwareVersion?: string | undefined;
2626
+ };
2627
+ modified?: string | undefined;
2628
+ contributor?: [{
2629
+ type: "crm:E21_Person";
2630
+ id: string;
2631
+ name: string;
2632
+ }, ...{
2633
+ type: "crm:E21_Person";
2634
+ id: string;
2635
+ name: string;
2636
+ }[]] | undefined;
2637
+ }>>;
2638
+ /**
2639
+ * The function `validate` takes an annotation object as input and returns a validation result object
2640
+ * indicating whether the annotation is valid or not.
2641
+ * @param annotation - The `annotation` parameter is a record (object) that contains key-value pairs
2642
+ * representing an annotation. The specific structure and content of the `annotation` object would
2643
+ * depend on the context and requirements of your application.
2644
+ * @returns an object of type `ValidateResult`. If the `isValid` variable is `true`, the object will
2645
+ * have a `valid` property set to `true`. If the `isValid` variable is `false`, the object will have a
2646
+ * `valid` property set to `false` and an `errors` property containing the errors obtained from the
2647
+ * `getErrors` function.
2648
+ */
2649
+ declare const validate: (annotation: Record<string, any>) => {
2650
+ valid: boolean;
2651
+ errors?: {
2652
+ message: string;
2653
+ path: string;
2654
+ context: {
2655
+ errorType: string;
2656
+ };
2657
+ suggestion?: string | undefined;
2658
+ }[] | undefined;
2659
+ };
2660
+
2661
+ declare const generateAssets: () => Promise<void>;
2662
+
2663
+ type index_Body = Body;
2664
+ type index_Definition = Definition;
2665
+ type index_Motivation = Motivation;
2666
+ type index_Person = Person;
2667
+ type index_PersonEntityType = PersonEntityType;
2668
+ type index_Software = Software;
2669
+ type index_Status = Status;
2670
+ type index_Target = Target;
2671
+ type index_User = User;
2672
+ declare const index_VERSION: typeof VERSION;
2673
+ type index_ValidateResult = ValidateResult;
2674
+ type index_ValidationError = ValidationError;
2675
+ type index_WebAnnotation = WebAnnotation;
2676
+ declare const index_ajv: typeof ajv;
2677
+ declare const index_bodySchema: typeof bodySchema;
2678
+ declare const index_contextUri: typeof contextUri;
2679
+ declare const index_creatorSchema: typeof creatorSchema;
2680
+ declare const index_definitionSchema: typeof definitionSchema;
2681
+ declare const index_defsId: typeof defsId;
2682
+ declare const index_generateAssets: typeof generateAssets;
2683
+ declare const index_personEntityTypeSchema: typeof personEntityTypeSchema;
2684
+ declare const index_personSchema: typeof personSchema;
2685
+ declare const index_schemaContext: typeof schemaContext;
2686
+ declare const index_schemaId: typeof schemaId;
2687
+ declare const index_softwareSchema: typeof softwareSchema;
2688
+ declare const index_targetSchema: typeof targetSchema;
2689
+ declare const index_validate: typeof validate;
2690
+ declare const index_validator: typeof validator;
2691
+ declare const index_webAnnotationSchema: typeof webAnnotationSchema;
2692
+ declare namespace index {
2693
+ export {
2694
+ index_Body as Body,
2695
+ index_Definition as Definition,
2696
+ index_Motivation as Motivation,
2697
+ index_Person as Person,
2698
+ index_PersonEntityType as PersonEntityType,
2699
+ index_Software as Software,
2700
+ index_Status as Status,
2701
+ index_Target as Target,
2702
+ index_User as User,
2703
+ index_VERSION as VERSION,
2704
+ index_ValidateResult as ValidateResult,
2705
+ index_ValidationError as ValidationError,
2706
+ index_WebAnnotation as WebAnnotation,
2707
+ index_ajv as ajv,
2708
+ index_bodySchema as bodySchema,
2709
+ index_contextUri as contextUri,
2710
+ index_creatorSchema as creatorSchema,
2711
+ index_definitionSchema as definitionSchema,
2712
+ index_defsId as defsId,
2713
+ index_generateAssets as generateAssets,
2714
+ index_personEntityTypeSchema as personEntityTypeSchema,
2715
+ index_personSchema as personSchema,
2716
+ index_schemaContext as schemaContext,
2717
+ index_schemaId as schemaId,
2718
+ index_softwareSchema as softwareSchema,
2719
+ index_targetSchema as targetSchema,
2720
+ index_validate as validate,
2721
+ index_validator as validator,
2722
+ index_webAnnotationSchema as webAnnotationSchema,
2723
+ };
2724
+ }
2725
+
2726
+ export { Body, Definition, Motivation, Person, PersonEntityType, Software, Status, Target, User, VERSION, ValidateResult, ValidationError, WebAnnotation, ajv, bodySchema, contextUri, creatorSchema, definitionSchema, defsId, personEntityTypeSchema, personSchema, schemaContext, schemaId, softwareSchema, targetSchema, index as v1, validate, validator, webAnnotationSchema };