ochre-sdk 1.0.13 → 1.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/constants.d.mts +17 -0
- package/dist/constants.mjs +85 -0
- package/dist/fetchers/gallery.d.mts +38 -0
- package/dist/fetchers/gallery.mjs +91 -0
- package/dist/fetchers/item-links.d.mts +32 -0
- package/dist/fetchers/item-links.mjs +120 -0
- package/dist/fetchers/item.d.mts +74 -0
- package/dist/fetchers/item.mjs +146 -0
- package/dist/fetchers/set/items.d.mts +48 -0
- package/dist/fetchers/set/items.mjs +268 -0
- package/dist/fetchers/set/property-values.d.mts +46 -0
- package/dist/fetchers/set/property-values.mjs +514 -0
- package/dist/fetchers/website.d.mts +25 -0
- package/dist/fetchers/website.mjs +38 -0
- package/dist/getters.d.mts +193 -0
- package/dist/getters.mjs +341 -0
- package/dist/helpers.d.mts +18 -0
- package/dist/helpers.mjs +33 -0
- package/dist/index.d.mts +12 -1971
- package/dist/index.mjs +9 -7236
- package/dist/parsers/helpers.d.mts +27 -0
- package/dist/parsers/helpers.mjs +53 -0
- package/dist/parsers/index.d.mts +65 -0
- package/dist/parsers/index.mjs +1338 -0
- package/dist/parsers/mdx.d.mts +4 -0
- package/dist/parsers/mdx.mjs +9 -0
- package/dist/parsers/multilingual.d.mts +189 -0
- package/dist/parsers/multilingual.mjs +410 -0
- package/dist/parsers/string.d.mts +29 -0
- package/dist/parsers/string.mjs +445 -0
- package/dist/parsers/website/index.d.mts +20 -0
- package/dist/parsers/website/index.mjs +1245 -0
- package/dist/parsers/website/reader.d.mts +29 -0
- package/dist/parsers/website/reader.mjs +75 -0
- package/dist/query.d.mts +13 -0
- package/dist/query.mjs +827 -0
- package/dist/schemas.d.mts +79 -0
- package/dist/schemas.mjs +223 -0
- package/dist/types/index.d.mts +840 -0
- package/dist/types/index.mjs +1 -0
- package/dist/types/website.d.mts +501 -0
- package/dist/types/website.mjs +1 -0
- package/dist/utils.d.mts +34 -0
- package/dist/utils.mjs +172 -0
- package/dist/xml/metadata.d.mts +5 -0
- package/dist/xml/metadata.mjs +30 -0
- package/dist/xml/schemas.d.mts +13 -0
- package/dist/xml/schemas.mjs +849 -0
- package/dist/xml/types.d.mts +901 -0
- package/dist/xml/types.mjs +1 -0
- package/package.json +19 -17
|
@@ -0,0 +1,901 @@
|
|
|
1
|
+
//#region src/xml/types.d.ts
|
|
2
|
+
type XMLItemCategory = "tree" | "bibliography" | "spatialUnit" | "concept" | "period" | "person" | "propertyVariable" | "variable" | "propertyValue" | "value" | "text" | "resource" | "set";
|
|
3
|
+
type XMLHeadingItemCategory = Exclude<XMLItemCategory, "tree" | "bibliography" | "spatialUnit" | "concept" | "period">;
|
|
4
|
+
type XMLRecursiveItemCategory = Exclude<XMLItemCategory, "tree" | "person" | "propertyVariable" | "propertyValue" | "set">;
|
|
5
|
+
type XMLString = {
|
|
6
|
+
payload?: string;
|
|
7
|
+
rend?: string;
|
|
8
|
+
whitespace?: string;
|
|
9
|
+
links?: XMLLink;
|
|
10
|
+
properties?: {
|
|
11
|
+
property: Array<XMLProperty>;
|
|
12
|
+
};
|
|
13
|
+
annotation?: string;
|
|
14
|
+
string?: Array<XMLString>;
|
|
15
|
+
};
|
|
16
|
+
type XMLContent = {
|
|
17
|
+
content: Array<{
|
|
18
|
+
string: Array<XMLString>;
|
|
19
|
+
lang: string;
|
|
20
|
+
title?: string;
|
|
21
|
+
}>;
|
|
22
|
+
};
|
|
23
|
+
type XMLNumber = number;
|
|
24
|
+
type XMLBoolean = boolean;
|
|
25
|
+
type XMLIdentification = {
|
|
26
|
+
label: XMLContent | XMLString;
|
|
27
|
+
abbreviation?: XMLContent | XMLString;
|
|
28
|
+
code?: XMLString | string;
|
|
29
|
+
email?: XMLString | string;
|
|
30
|
+
website?: XMLString | string;
|
|
31
|
+
};
|
|
32
|
+
type XMLMetadata = {
|
|
33
|
+
dataset: XMLString;
|
|
34
|
+
description: XMLString;
|
|
35
|
+
publisher: XMLString | Array<XMLString>;
|
|
36
|
+
identifier: XMLString;
|
|
37
|
+
language?: Array<{
|
|
38
|
+
payload: string;
|
|
39
|
+
default?: "true";
|
|
40
|
+
}>;
|
|
41
|
+
project?: {
|
|
42
|
+
uuid?: string;
|
|
43
|
+
identification: XMLIdentification;
|
|
44
|
+
dateFormat?: string;
|
|
45
|
+
page?: "item" | "entry";
|
|
46
|
+
};
|
|
47
|
+
collection?: {
|
|
48
|
+
uuid: string;
|
|
49
|
+
identification: XMLIdentification;
|
|
50
|
+
page: "item" | "entry";
|
|
51
|
+
};
|
|
52
|
+
publication?: {
|
|
53
|
+
uuid: string;
|
|
54
|
+
identification: XMLIdentification;
|
|
55
|
+
page: "item" | "entry";
|
|
56
|
+
};
|
|
57
|
+
item?: {
|
|
58
|
+
uuid?: string;
|
|
59
|
+
identification: XMLIdentification;
|
|
60
|
+
category: XMLItemCategory;
|
|
61
|
+
type: string;
|
|
62
|
+
maxLength?: XMLNumber;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
type XMLLicense = XMLString & {
|
|
66
|
+
target?: string;
|
|
67
|
+
};
|
|
68
|
+
type XMLContextValue = {
|
|
69
|
+
uuid?: string;
|
|
70
|
+
publicationDateTime?: Date;
|
|
71
|
+
n: XMLNumber;
|
|
72
|
+
payload: string;
|
|
73
|
+
};
|
|
74
|
+
type XMLContextItem = {
|
|
75
|
+
project: XMLContextValue;
|
|
76
|
+
tree: Array<XMLContextValue>;
|
|
77
|
+
displayPath: string;
|
|
78
|
+
} & Partial<Record<XMLRecursiveItemCategory | "heading" | "propertyVariable" | "variable" | "propertyValue" | "value", Array<XMLContextValue>>>;
|
|
79
|
+
type XMLEmptyContext = {
|
|
80
|
+
payload: string;
|
|
81
|
+
};
|
|
82
|
+
type XMLContextGroup = {
|
|
83
|
+
context: Array<XMLContextItem | XMLEmptyContext>;
|
|
84
|
+
displayPath: string;
|
|
85
|
+
};
|
|
86
|
+
type XMLContext = Array<XMLContextGroup | XMLEmptyContext>;
|
|
87
|
+
type XMLEvent = {
|
|
88
|
+
dateTime?: Date;
|
|
89
|
+
endDateTime?: Date;
|
|
90
|
+
agent?: XMLContent & {
|
|
91
|
+
uuid: string;
|
|
92
|
+
publicationDateTime?: Date;
|
|
93
|
+
};
|
|
94
|
+
location?: XMLContent & {
|
|
95
|
+
uuid: string;
|
|
96
|
+
publicationDateTime?: Date;
|
|
97
|
+
};
|
|
98
|
+
comment?: XMLContent;
|
|
99
|
+
label: XMLContent;
|
|
100
|
+
other?: XMLContent & {
|
|
101
|
+
uuid?: string;
|
|
102
|
+
category?: XMLItemCategory;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
type XMLCoordinatesSource = {
|
|
106
|
+
context: "self";
|
|
107
|
+
label: XMLContent & {
|
|
108
|
+
uuid: string;
|
|
109
|
+
};
|
|
110
|
+
} | {
|
|
111
|
+
context: "related";
|
|
112
|
+
label: XMLContent & {
|
|
113
|
+
uuid: string;
|
|
114
|
+
};
|
|
115
|
+
value: Array<(XMLContent | XMLString) & {
|
|
116
|
+
uuid?: string;
|
|
117
|
+
}>;
|
|
118
|
+
} | {
|
|
119
|
+
context: "inherited";
|
|
120
|
+
label: XMLContent & {
|
|
121
|
+
uuid: string;
|
|
122
|
+
};
|
|
123
|
+
value?: Array<(XMLContent | XMLString) & {
|
|
124
|
+
uuid?: string;
|
|
125
|
+
}>;
|
|
126
|
+
item: {
|
|
127
|
+
uuid?: string;
|
|
128
|
+
label: (XMLContent | XMLString) & {
|
|
129
|
+
uuid?: string;
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
type XMLCoordinate = {
|
|
134
|
+
type: "point";
|
|
135
|
+
latitude: XMLNumber;
|
|
136
|
+
longitude: XMLNumber;
|
|
137
|
+
altitude?: XMLNumber;
|
|
138
|
+
source?: XMLCoordinatesSource;
|
|
139
|
+
} | {
|
|
140
|
+
type: "plane";
|
|
141
|
+
minimum: {
|
|
142
|
+
latitude: XMLNumber;
|
|
143
|
+
longitude: XMLNumber;
|
|
144
|
+
};
|
|
145
|
+
maximum: {
|
|
146
|
+
latitude: XMLNumber;
|
|
147
|
+
longitude: XMLNumber;
|
|
148
|
+
};
|
|
149
|
+
source?: XMLCoordinatesSource;
|
|
150
|
+
};
|
|
151
|
+
type XMLCoordinates = {
|
|
152
|
+
coord: Array<XMLCoordinate>;
|
|
153
|
+
};
|
|
154
|
+
type XMLImage = {
|
|
155
|
+
publicationDateTime?: Date;
|
|
156
|
+
identification?: XMLIdentification;
|
|
157
|
+
href?: string;
|
|
158
|
+
htmlImgSrcPrefix?: string;
|
|
159
|
+
height?: XMLNumber;
|
|
160
|
+
width?: XMLNumber;
|
|
161
|
+
fileSize?: XMLNumber;
|
|
162
|
+
payload?: string;
|
|
163
|
+
};
|
|
164
|
+
type XMLImageMapArea = {
|
|
165
|
+
uuid: string;
|
|
166
|
+
publicationDateTime: Date;
|
|
167
|
+
type: string;
|
|
168
|
+
title: string;
|
|
169
|
+
slug?: string;
|
|
170
|
+
shape: "rect" | "circle" | "poly";
|
|
171
|
+
coords: string;
|
|
172
|
+
};
|
|
173
|
+
type XMLImageMap = {
|
|
174
|
+
area: Array<XMLImageMapArea>;
|
|
175
|
+
width: XMLNumber;
|
|
176
|
+
height: XMLNumber;
|
|
177
|
+
};
|
|
178
|
+
type XMLNote = Partial<XMLContent> & XMLString & {
|
|
179
|
+
noteNo?: XMLNumber;
|
|
180
|
+
title?: string;
|
|
181
|
+
authors?: {
|
|
182
|
+
author: Array<XMLPerson>;
|
|
183
|
+
};
|
|
184
|
+
};
|
|
185
|
+
type XMLProperty = {
|
|
186
|
+
label: (XMLContent | XMLString) & {
|
|
187
|
+
uuid: string;
|
|
188
|
+
publicationDateTime?: Date;
|
|
189
|
+
};
|
|
190
|
+
value?: Array<Partial<XMLContent> & {
|
|
191
|
+
i?: XMLNumber;
|
|
192
|
+
inherited?: XMLBoolean;
|
|
193
|
+
uuid?: string;
|
|
194
|
+
publicationDateTime?: Date;
|
|
195
|
+
dataType?: string;
|
|
196
|
+
category?: string;
|
|
197
|
+
type?: string;
|
|
198
|
+
slug?: string;
|
|
199
|
+
unit?: string;
|
|
200
|
+
height?: XMLNumber;
|
|
201
|
+
width?: XMLNumber;
|
|
202
|
+
fileSize?: XMLNumber;
|
|
203
|
+
href?: string;
|
|
204
|
+
rawValue?: string;
|
|
205
|
+
isUncertain?: "true";
|
|
206
|
+
payload?: string;
|
|
207
|
+
}>;
|
|
208
|
+
comment?: XMLContent;
|
|
209
|
+
property?: Array<XMLProperty>;
|
|
210
|
+
};
|
|
211
|
+
type XMLSimplifiedProperty = {
|
|
212
|
+
label: (XMLContent | XMLString) & {
|
|
213
|
+
uuid: string;
|
|
214
|
+
publicationDateTime?: Date;
|
|
215
|
+
};
|
|
216
|
+
value?: Array<Partial<XMLContent> & {
|
|
217
|
+
i?: XMLNumber;
|
|
218
|
+
inherited?: XMLBoolean;
|
|
219
|
+
uuid?: string;
|
|
220
|
+
publicationDateTime?: Date;
|
|
221
|
+
dataType?: string;
|
|
222
|
+
category?: string;
|
|
223
|
+
type?: string;
|
|
224
|
+
slug?: string;
|
|
225
|
+
unit?: string;
|
|
226
|
+
height?: XMLNumber;
|
|
227
|
+
width?: XMLNumber;
|
|
228
|
+
fileSize?: XMLNumber;
|
|
229
|
+
href?: string;
|
|
230
|
+
rawValue?: string;
|
|
231
|
+
isUncertain?: "true";
|
|
232
|
+
payload?: string;
|
|
233
|
+
}>;
|
|
234
|
+
comment?: XMLContent;
|
|
235
|
+
property?: Array<XMLSimplifiedProperty>;
|
|
236
|
+
};
|
|
237
|
+
type XMLBaseItem = {
|
|
238
|
+
uuid: string;
|
|
239
|
+
publicationDateTime?: Date;
|
|
240
|
+
date?: Date | XMLString;
|
|
241
|
+
availability?: {
|
|
242
|
+
license: XMLLicense;
|
|
243
|
+
};
|
|
244
|
+
copyright?: XMLContent | XMLString;
|
|
245
|
+
watermark?: XMLContent | XMLString;
|
|
246
|
+
identification: XMLIdentification;
|
|
247
|
+
context?: XMLContext;
|
|
248
|
+
creators?: {
|
|
249
|
+
creator: Array<XMLPerson>;
|
|
250
|
+
};
|
|
251
|
+
description?: XMLContent;
|
|
252
|
+
events?: {
|
|
253
|
+
event: Array<XMLEvent>;
|
|
254
|
+
};
|
|
255
|
+
};
|
|
256
|
+
type XMLBibliography = Partial<XMLBaseItem> & {
|
|
257
|
+
type?: string;
|
|
258
|
+
zoteroId?: string;
|
|
259
|
+
sourceDocument?: {
|
|
260
|
+
uuid: string;
|
|
261
|
+
payload: string;
|
|
262
|
+
href?: string;
|
|
263
|
+
publicationDateTime?: Date;
|
|
264
|
+
};
|
|
265
|
+
image?: XMLImage;
|
|
266
|
+
publicationInfo?: {
|
|
267
|
+
publishers?: {
|
|
268
|
+
publisher: Array<XMLPerson>;
|
|
269
|
+
} | {
|
|
270
|
+
publishers: {
|
|
271
|
+
person: Array<XMLPerson>;
|
|
272
|
+
};
|
|
273
|
+
};
|
|
274
|
+
startDate?: {
|
|
275
|
+
month?: XMLNumber;
|
|
276
|
+
year?: XMLNumber;
|
|
277
|
+
day?: XMLNumber;
|
|
278
|
+
};
|
|
279
|
+
};
|
|
280
|
+
entryInfo?: {
|
|
281
|
+
payload?: string;
|
|
282
|
+
startIssue?: string;
|
|
283
|
+
startVolume?: string;
|
|
284
|
+
startPage?: string;
|
|
285
|
+
endPage?: string;
|
|
286
|
+
};
|
|
287
|
+
citationDetails?: string;
|
|
288
|
+
citationFormat?: XMLString | string;
|
|
289
|
+
citationFormatSpan?: XMLString;
|
|
290
|
+
referenceFormatDiv?: XMLString;
|
|
291
|
+
source?: XMLDataItem;
|
|
292
|
+
authors?: {
|
|
293
|
+
person: Array<XMLPerson>;
|
|
294
|
+
};
|
|
295
|
+
periods?: {
|
|
296
|
+
period: Array<XMLPeriod>;
|
|
297
|
+
};
|
|
298
|
+
links?: XMLLink;
|
|
299
|
+
notes?: {
|
|
300
|
+
note: Array<XMLNote>;
|
|
301
|
+
};
|
|
302
|
+
properties?: {
|
|
303
|
+
property: Array<XMLProperty>;
|
|
304
|
+
};
|
|
305
|
+
bibliographies?: {
|
|
306
|
+
bibliography: Array<XMLBibliography>;
|
|
307
|
+
};
|
|
308
|
+
bibliography?: Array<XMLBibliography>;
|
|
309
|
+
};
|
|
310
|
+
type XMLLinkedBaseItem = Partial<Omit<XMLBaseItem, "uuid">> & {
|
|
311
|
+
uuid: string;
|
|
312
|
+
};
|
|
313
|
+
type XMLLinkedTree = XMLLinkedBaseItem & {
|
|
314
|
+
type?: string;
|
|
315
|
+
};
|
|
316
|
+
type XMLLinkedSet = XMLLinkedBaseItem & {
|
|
317
|
+
type?: string;
|
|
318
|
+
};
|
|
319
|
+
type XMLLinkedBibliography = XMLLinkedBaseItem & {
|
|
320
|
+
type?: string;
|
|
321
|
+
zoteroId?: string;
|
|
322
|
+
sourceDocument?: XMLBibliography["sourceDocument"];
|
|
323
|
+
image?: XMLImage;
|
|
324
|
+
publicationInfo?: {
|
|
325
|
+
publishers?: {
|
|
326
|
+
publisher: Array<XMLLinkedPerson>;
|
|
327
|
+
} | {
|
|
328
|
+
publishers: {
|
|
329
|
+
person: Array<XMLLinkedPerson>;
|
|
330
|
+
};
|
|
331
|
+
};
|
|
332
|
+
startDate?: {
|
|
333
|
+
month?: XMLNumber;
|
|
334
|
+
year?: XMLNumber;
|
|
335
|
+
day?: XMLNumber;
|
|
336
|
+
};
|
|
337
|
+
};
|
|
338
|
+
entryInfo?: XMLBibliography["entryInfo"];
|
|
339
|
+
citationDetails?: string;
|
|
340
|
+
citationFormat?: XMLString | string;
|
|
341
|
+
citationFormatSpan?: XMLString;
|
|
342
|
+
referenceFormatDiv?: XMLString;
|
|
343
|
+
source?: XMLLink | XMLDataItem;
|
|
344
|
+
authors?: {
|
|
345
|
+
person: Array<XMLLinkedPerson>;
|
|
346
|
+
};
|
|
347
|
+
periods?: {
|
|
348
|
+
period: Array<XMLLinkedPeriod>;
|
|
349
|
+
};
|
|
350
|
+
properties?: {
|
|
351
|
+
property: Array<XMLProperty>;
|
|
352
|
+
};
|
|
353
|
+
};
|
|
354
|
+
type XMLLinkedConcept = XMLLinkedBaseItem & {
|
|
355
|
+
image?: XMLImage;
|
|
356
|
+
coordinates?: XMLCoordinates;
|
|
357
|
+
};
|
|
358
|
+
type XMLLinkedSpatialUnit = XMLLinkedBaseItem & {
|
|
359
|
+
image?: XMLImage;
|
|
360
|
+
coordinates?: XMLCoordinates;
|
|
361
|
+
};
|
|
362
|
+
type XMLLinkedPeriod = XMLLinkedBaseItem & {
|
|
363
|
+
type?: string;
|
|
364
|
+
coordinates?: XMLCoordinates;
|
|
365
|
+
};
|
|
366
|
+
type XMLLinkedPerson = XMLLinkedBaseItem & {
|
|
367
|
+
type?: string;
|
|
368
|
+
coordinates?: XMLCoordinates;
|
|
369
|
+
};
|
|
370
|
+
type XMLLinkedPropertyVariable = XMLLinkedBaseItem & {
|
|
371
|
+
type?: string;
|
|
372
|
+
coordinates?: XMLCoordinates;
|
|
373
|
+
};
|
|
374
|
+
type XMLLinkedPropertyValue = XMLLinkedBaseItem & {
|
|
375
|
+
coordinates?: XMLCoordinates;
|
|
376
|
+
};
|
|
377
|
+
type XMLLinkedResource = XMLLinkedBaseItem & {
|
|
378
|
+
type?: string;
|
|
379
|
+
date?: Date | XMLString;
|
|
380
|
+
href?: string;
|
|
381
|
+
fileFormat?: string;
|
|
382
|
+
fileSize?: XMLNumber;
|
|
383
|
+
rend?: "inline";
|
|
384
|
+
isPrimary?: XMLBoolean;
|
|
385
|
+
height?: XMLNumber;
|
|
386
|
+
width?: XMLNumber;
|
|
387
|
+
image?: XMLImage;
|
|
388
|
+
coordinates?: XMLCoordinates;
|
|
389
|
+
};
|
|
390
|
+
type XMLLinkedText = XMLLinkedBaseItem & {
|
|
391
|
+
type?: string;
|
|
392
|
+
text?: string;
|
|
393
|
+
language?: string;
|
|
394
|
+
image?: XMLImage;
|
|
395
|
+
coordinates?: XMLCoordinates;
|
|
396
|
+
};
|
|
397
|
+
type XMLDictionaryUnit = XMLLinkedBaseItem;
|
|
398
|
+
type XMLInterpretation = {
|
|
399
|
+
interpretationNo: XMLNumber;
|
|
400
|
+
date?: Date;
|
|
401
|
+
observers?: {
|
|
402
|
+
observer: Array<XMLPerson>;
|
|
403
|
+
};
|
|
404
|
+
periods?: {
|
|
405
|
+
period: Array<XMLPeriod>;
|
|
406
|
+
};
|
|
407
|
+
links?: XMLLink;
|
|
408
|
+
notes?: {
|
|
409
|
+
note: Array<XMLNote>;
|
|
410
|
+
};
|
|
411
|
+
properties?: {
|
|
412
|
+
property: Array<XMLProperty>;
|
|
413
|
+
};
|
|
414
|
+
bibliographies?: {
|
|
415
|
+
bibliography: Array<XMLBibliography>;
|
|
416
|
+
};
|
|
417
|
+
};
|
|
418
|
+
type XMLConcept = XMLBaseItem & {
|
|
419
|
+
status?: "live";
|
|
420
|
+
image?: XMLImage;
|
|
421
|
+
interpretations?: {
|
|
422
|
+
interpretation: Array<XMLInterpretation>;
|
|
423
|
+
};
|
|
424
|
+
coordinates?: XMLCoordinates;
|
|
425
|
+
properties?: {
|
|
426
|
+
property: Array<XMLProperty>;
|
|
427
|
+
};
|
|
428
|
+
concept?: Array<XMLConcept>;
|
|
429
|
+
};
|
|
430
|
+
type XMLObservation = {
|
|
431
|
+
observationNo: XMLNumber;
|
|
432
|
+
date?: Date;
|
|
433
|
+
observers?: {
|
|
434
|
+
observer: Array<XMLPerson>;
|
|
435
|
+
};
|
|
436
|
+
periods?: {
|
|
437
|
+
period: Array<XMLPeriod>;
|
|
438
|
+
};
|
|
439
|
+
links?: XMLLink;
|
|
440
|
+
notes?: {
|
|
441
|
+
note: Array<XMLNote>;
|
|
442
|
+
};
|
|
443
|
+
properties?: {
|
|
444
|
+
property: Array<XMLProperty>;
|
|
445
|
+
};
|
|
446
|
+
bibliographies?: {
|
|
447
|
+
bibliography: Array<XMLBibliography>;
|
|
448
|
+
};
|
|
449
|
+
};
|
|
450
|
+
type XMLSpatialUnit = XMLBaseItem & {
|
|
451
|
+
image?: XMLImage;
|
|
452
|
+
coordinates?: XMLCoordinates;
|
|
453
|
+
mapData?: {
|
|
454
|
+
geoJSON: {
|
|
455
|
+
multiPolygon: {
|
|
456
|
+
payload: string;
|
|
457
|
+
};
|
|
458
|
+
EPSG: XMLNumber;
|
|
459
|
+
};
|
|
460
|
+
};
|
|
461
|
+
observations?: {
|
|
462
|
+
observation: Array<XMLObservation>;
|
|
463
|
+
};
|
|
464
|
+
properties?: {
|
|
465
|
+
property: Array<XMLProperty>;
|
|
466
|
+
};
|
|
467
|
+
bibliographies?: {
|
|
468
|
+
bibliography: Array<XMLBibliography>;
|
|
469
|
+
};
|
|
470
|
+
spatialUnit?: Array<XMLSpatialUnit>;
|
|
471
|
+
};
|
|
472
|
+
type XMLPeriod = XMLBaseItem & {
|
|
473
|
+
type?: string;
|
|
474
|
+
coordinates?: XMLCoordinates;
|
|
475
|
+
links?: XMLDataItem;
|
|
476
|
+
notes?: {
|
|
477
|
+
note: Array<XMLNote>;
|
|
478
|
+
};
|
|
479
|
+
properties?: {
|
|
480
|
+
property: Array<XMLProperty>;
|
|
481
|
+
};
|
|
482
|
+
bibliographies?: {
|
|
483
|
+
bibliography: Array<XMLBibliography>;
|
|
484
|
+
};
|
|
485
|
+
period?: Array<XMLPeriod>;
|
|
486
|
+
};
|
|
487
|
+
type XMLPerson = XMLBaseItem & Partial<XMLContent> & {
|
|
488
|
+
type?: string;
|
|
489
|
+
image?: XMLImage;
|
|
490
|
+
address?: {
|
|
491
|
+
country?: XMLString | string;
|
|
492
|
+
city?: XMLString | string;
|
|
493
|
+
state?: XMLString | string;
|
|
494
|
+
postalCode?: XMLString | string;
|
|
495
|
+
};
|
|
496
|
+
coordinates?: XMLCoordinates;
|
|
497
|
+
periods?: {
|
|
498
|
+
period: Array<XMLPeriod>;
|
|
499
|
+
};
|
|
500
|
+
links?: XMLLink;
|
|
501
|
+
notes?: {
|
|
502
|
+
note: Array<XMLNote>;
|
|
503
|
+
};
|
|
504
|
+
properties?: {
|
|
505
|
+
property: Array<XMLProperty>;
|
|
506
|
+
};
|
|
507
|
+
bibliographies?: {
|
|
508
|
+
bibliography: Array<XMLBibliography>;
|
|
509
|
+
};
|
|
510
|
+
};
|
|
511
|
+
type XMLPropertyVariable = XMLBaseItem & {
|
|
512
|
+
type?: string;
|
|
513
|
+
coordinates?: XMLCoordinates;
|
|
514
|
+
links?: XMLLink;
|
|
515
|
+
notes?: {
|
|
516
|
+
note: Array<XMLNote>;
|
|
517
|
+
};
|
|
518
|
+
bibliographies?: {
|
|
519
|
+
bibliography: Array<XMLBibliography>;
|
|
520
|
+
};
|
|
521
|
+
};
|
|
522
|
+
type XMLPropertyValue = XMLBaseItem & {
|
|
523
|
+
coordinates?: XMLCoordinates;
|
|
524
|
+
links?: XMLLink;
|
|
525
|
+
notes?: {
|
|
526
|
+
note: Array<XMLNote>;
|
|
527
|
+
};
|
|
528
|
+
properties?: {
|
|
529
|
+
property: Array<XMLProperty>;
|
|
530
|
+
};
|
|
531
|
+
bibliographies?: {
|
|
532
|
+
bibliography: Array<XMLBibliography>;
|
|
533
|
+
};
|
|
534
|
+
};
|
|
535
|
+
type XMLResource = XMLBaseItem & {
|
|
536
|
+
type?: string;
|
|
537
|
+
date?: Date | XMLString;
|
|
538
|
+
href?: string;
|
|
539
|
+
fileFormat?: string;
|
|
540
|
+
fileSize?: XMLNumber;
|
|
541
|
+
rend?: "inline";
|
|
542
|
+
height?: XMLNumber;
|
|
543
|
+
width?: XMLNumber;
|
|
544
|
+
image?: XMLImage;
|
|
545
|
+
imagemap?: XMLImageMap;
|
|
546
|
+
document?: XMLContent;
|
|
547
|
+
coordinates?: XMLCoordinates;
|
|
548
|
+
periods?: {
|
|
549
|
+
period: Array<XMLPeriod>;
|
|
550
|
+
};
|
|
551
|
+
links?: XMLLink;
|
|
552
|
+
reverseLinks?: XMLLink | XMLDataItem | Array<XMLLink | XMLDataItem>;
|
|
553
|
+
notes?: {
|
|
554
|
+
note: Array<XMLNote>;
|
|
555
|
+
};
|
|
556
|
+
properties?: {
|
|
557
|
+
property: Array<XMLProperty>;
|
|
558
|
+
};
|
|
559
|
+
bibliographies?: {
|
|
560
|
+
bibliography: Array<XMLBibliography>;
|
|
561
|
+
};
|
|
562
|
+
resource?: Array<XMLResource>;
|
|
563
|
+
view?: {
|
|
564
|
+
resource?: Array<XMLWebsiteResource>;
|
|
565
|
+
};
|
|
566
|
+
};
|
|
567
|
+
type XMLSection = {
|
|
568
|
+
uuid: string;
|
|
569
|
+
publicationDateTime?: Date;
|
|
570
|
+
type: string;
|
|
571
|
+
identification: XMLIdentification;
|
|
572
|
+
project?: {
|
|
573
|
+
identification: XMLIdentification;
|
|
574
|
+
};
|
|
575
|
+
};
|
|
576
|
+
type XMLText = XMLBaseItem & {
|
|
577
|
+
type?: string;
|
|
578
|
+
text?: string;
|
|
579
|
+
language?: string;
|
|
580
|
+
image?: XMLImage;
|
|
581
|
+
coordinates?: XMLCoordinates;
|
|
582
|
+
links?: XMLLink;
|
|
583
|
+
reverseLinks?: XMLLink | XMLDataItem | Array<XMLLink | XMLDataItem>;
|
|
584
|
+
notes?: {
|
|
585
|
+
note: Array<XMLNote>;
|
|
586
|
+
};
|
|
587
|
+
sections?: {
|
|
588
|
+
translation?: Array<{
|
|
589
|
+
section: Array<XMLSection>;
|
|
590
|
+
}>;
|
|
591
|
+
phonemic?: Array<{
|
|
592
|
+
section: Array<XMLSection>;
|
|
593
|
+
}>;
|
|
594
|
+
} | XMLString;
|
|
595
|
+
periods?: {
|
|
596
|
+
period: Array<XMLPeriod>;
|
|
597
|
+
};
|
|
598
|
+
creators?: {
|
|
599
|
+
creator: Array<XMLPerson>;
|
|
600
|
+
};
|
|
601
|
+
editions?: {
|
|
602
|
+
edition?: Array<XMLPerson>;
|
|
603
|
+
editor?: Array<XMLPerson>;
|
|
604
|
+
publisher?: Array<XMLPerson>;
|
|
605
|
+
};
|
|
606
|
+
};
|
|
607
|
+
type XMLHeading = {
|
|
608
|
+
name: string;
|
|
609
|
+
abbreviation?: string;
|
|
610
|
+
heading?: Array<XMLHeading>;
|
|
611
|
+
} & ({
|
|
612
|
+
person?: Array<XMLPerson>;
|
|
613
|
+
} | {
|
|
614
|
+
propertyVariable?: Array<XMLPropertyVariable>;
|
|
615
|
+
} | {
|
|
616
|
+
variable?: Array<XMLPropertyVariable>;
|
|
617
|
+
} | {
|
|
618
|
+
propertyValue?: Array<XMLPropertyValue>;
|
|
619
|
+
} | {
|
|
620
|
+
resource?: Array<XMLResource | {
|
|
621
|
+
resource: Array<XMLResource>;
|
|
622
|
+
}>;
|
|
623
|
+
} | {
|
|
624
|
+
text?: Array<XMLText>;
|
|
625
|
+
} | {
|
|
626
|
+
set?: Array<XMLSet>;
|
|
627
|
+
});
|
|
628
|
+
type XMLTree = XMLBaseItem & {
|
|
629
|
+
type?: string;
|
|
630
|
+
date?: Date | XMLString;
|
|
631
|
+
links?: XMLLink;
|
|
632
|
+
notes?: {
|
|
633
|
+
note: Array<XMLNote>;
|
|
634
|
+
};
|
|
635
|
+
properties?: {
|
|
636
|
+
property: Array<XMLProperty>;
|
|
637
|
+
};
|
|
638
|
+
bibliographies?: {
|
|
639
|
+
bibliography: Array<XMLBibliography>;
|
|
640
|
+
};
|
|
641
|
+
items?: {
|
|
642
|
+
heading?: Array<XMLHeading>;
|
|
643
|
+
} & Partial<{
|
|
644
|
+
bibliography: Array<XMLBibliography>;
|
|
645
|
+
concept: Array<XMLConcept>;
|
|
646
|
+
spatialUnit: Array<XMLSpatialUnit>;
|
|
647
|
+
period: Array<XMLPeriod>;
|
|
648
|
+
person: Array<XMLPerson>;
|
|
649
|
+
propertyVariable: Array<XMLPropertyVariable>;
|
|
650
|
+
variable: Array<XMLPropertyVariable>;
|
|
651
|
+
propertyValue: Array<XMLPropertyValue>;
|
|
652
|
+
resource: Array<XMLResource | {
|
|
653
|
+
resource: Array<XMLResource>;
|
|
654
|
+
}>;
|
|
655
|
+
text: Array<XMLText>;
|
|
656
|
+
set: Array<XMLSet>;
|
|
657
|
+
}>;
|
|
658
|
+
};
|
|
659
|
+
type XMLWebsiteContextLevel = XMLString & {
|
|
660
|
+
payload: string;
|
|
661
|
+
dataType?: string;
|
|
662
|
+
};
|
|
663
|
+
type XMLWebsiteContextItem = {
|
|
664
|
+
identification: XMLIdentification;
|
|
665
|
+
levels?: {
|
|
666
|
+
level: Array<XMLWebsiteContextLevel>;
|
|
667
|
+
};
|
|
668
|
+
};
|
|
669
|
+
type XMLWebsiteFilterContextItem = XMLWebsiteContextItem & {
|
|
670
|
+
filterType?: "property" | "coordinates" | "bibliography" | "period";
|
|
671
|
+
filterOption?: "inline-displayed" | "inline-sidebar-displayed-closed" | "inline-sidebar-displayed-open" | "sidebar-displayed-closed" | "sidebar-displayed-open" | "inline-sidebar-hidden";
|
|
672
|
+
};
|
|
673
|
+
type XMLWebsiteContext = {
|
|
674
|
+
context: Array<XMLWebsiteContextItem>;
|
|
675
|
+
};
|
|
676
|
+
type XMLWebsiteFilterContext = {
|
|
677
|
+
context: Array<XMLWebsiteFilterContextItem>;
|
|
678
|
+
};
|
|
679
|
+
type XMLWebsiteScope = {
|
|
680
|
+
uuid: XMLString & {
|
|
681
|
+
payload: string;
|
|
682
|
+
type: string;
|
|
683
|
+
};
|
|
684
|
+
identification: XMLIdentification;
|
|
685
|
+
};
|
|
686
|
+
type XMLWebsiteOptions = {
|
|
687
|
+
notes?: {
|
|
688
|
+
note: Array<XMLNote>;
|
|
689
|
+
};
|
|
690
|
+
scopes?: {
|
|
691
|
+
scope: Array<XMLWebsiteScope>;
|
|
692
|
+
};
|
|
693
|
+
flattenContexts?: Array<XMLWebsiteContext>;
|
|
694
|
+
suppressContexts?: Array<XMLWebsiteContext>;
|
|
695
|
+
filterContexts?: Array<XMLWebsiteFilterContext>;
|
|
696
|
+
sortContexts?: Array<XMLWebsiteContext>;
|
|
697
|
+
detailContexts?: Array<XMLWebsiteContext>;
|
|
698
|
+
downloadContexts?: Array<XMLWebsiteContext>;
|
|
699
|
+
labelContexts?: Array<XMLWebsiteContext>;
|
|
700
|
+
prominentContexts?: Array<XMLWebsiteContext>;
|
|
701
|
+
};
|
|
702
|
+
type XMLWebsiteStyle = XMLString & {
|
|
703
|
+
variableUuid: string;
|
|
704
|
+
valueUuid?: string;
|
|
705
|
+
category?: string;
|
|
706
|
+
lucideIcon?: string;
|
|
707
|
+
payload: string;
|
|
708
|
+
} & Record<string, unknown>;
|
|
709
|
+
type XMLWebsiteProperties = {
|
|
710
|
+
property: Array<XMLSimplifiedProperty>;
|
|
711
|
+
simplify?: XMLBoolean;
|
|
712
|
+
};
|
|
713
|
+
type XMLWebsiteResourceGroup = {
|
|
714
|
+
resource: Array<XMLWebsiteResource>;
|
|
715
|
+
};
|
|
716
|
+
type XMLWebsiteSegment = {
|
|
717
|
+
segments: {
|
|
718
|
+
tree: Array<XMLWebsiteTree>;
|
|
719
|
+
};
|
|
720
|
+
uuid: string;
|
|
721
|
+
publicationDateTime?: Date;
|
|
722
|
+
};
|
|
723
|
+
type XMLWebsiteResourceItem = XMLWebsiteResource | XMLWebsiteResourceGroup | XMLWebsiteSegment;
|
|
724
|
+
type XMLWebsiteResource = Omit<XMLResource, "properties" | "resource" | "view"> & {
|
|
725
|
+
format?: string;
|
|
726
|
+
slug?: string;
|
|
727
|
+
options?: XMLWebsiteOptions;
|
|
728
|
+
properties?: XMLWebsiteProperties;
|
|
729
|
+
resource?: Array<XMLWebsiteResourceItem>;
|
|
730
|
+
};
|
|
731
|
+
type XMLWebsiteTree = Omit<XMLTree, "items" | "properties"> & {
|
|
732
|
+
options?: XMLWebsiteOptions;
|
|
733
|
+
styleOptions?: {
|
|
734
|
+
style: Array<XMLWebsiteStyle>;
|
|
735
|
+
};
|
|
736
|
+
properties?: XMLWebsiteProperties;
|
|
737
|
+
items?: {
|
|
738
|
+
resource?: Array<XMLWebsiteResourceItem>;
|
|
739
|
+
};
|
|
740
|
+
};
|
|
741
|
+
type XMLSet = XMLBaseItem & {
|
|
742
|
+
type?: string;
|
|
743
|
+
suppressBlanks?: XMLBoolean;
|
|
744
|
+
tabularStructure?: XMLBoolean;
|
|
745
|
+
links?: XMLLink;
|
|
746
|
+
notes?: {
|
|
747
|
+
note: Array<XMLNote>;
|
|
748
|
+
};
|
|
749
|
+
properties?: {
|
|
750
|
+
property: Array<XMLProperty>;
|
|
751
|
+
};
|
|
752
|
+
items?: {
|
|
753
|
+
tree?: Array<XMLTree>;
|
|
754
|
+
bibliography?: Array<XMLBibliography>;
|
|
755
|
+
concept?: Array<XMLConcept>;
|
|
756
|
+
spatialUnit?: Array<XMLSpatialUnit>;
|
|
757
|
+
period?: Array<XMLPeriod>;
|
|
758
|
+
person?: Array<XMLPerson>;
|
|
759
|
+
propertyVariable?: Array<XMLPropertyVariable>;
|
|
760
|
+
variable?: Array<XMLPropertyVariable>;
|
|
761
|
+
propertyValue?: Array<XMLPropertyValue>;
|
|
762
|
+
resource?: Array<XMLResource | {
|
|
763
|
+
resource: Array<XMLResource>;
|
|
764
|
+
}>;
|
|
765
|
+
text?: Array<XMLText>;
|
|
766
|
+
set?: Array<XMLSet>;
|
|
767
|
+
};
|
|
768
|
+
};
|
|
769
|
+
type XMLLink = {
|
|
770
|
+
tree?: Array<XMLLinkedTree>;
|
|
771
|
+
bibliography?: Array<XMLLinkedBibliography>;
|
|
772
|
+
concept?: Array<XMLLinkedConcept>;
|
|
773
|
+
spatialUnit?: Array<XMLLinkedSpatialUnit>;
|
|
774
|
+
period?: Array<XMLLinkedPeriod>;
|
|
775
|
+
person?: Array<XMLLinkedPerson>;
|
|
776
|
+
propertyVariable?: Array<XMLLinkedPropertyVariable>;
|
|
777
|
+
variable?: Array<XMLLinkedPropertyVariable>;
|
|
778
|
+
propertyValue?: Array<XMLLinkedPropertyValue>;
|
|
779
|
+
value?: Array<XMLLinkedPropertyValue>;
|
|
780
|
+
resource?: Array<XMLLinkedResource>;
|
|
781
|
+
text?: Array<XMLLinkedText>;
|
|
782
|
+
set?: Array<XMLLinkedSet>;
|
|
783
|
+
dictionaryUnit?: Array<XMLDictionaryUnit>;
|
|
784
|
+
};
|
|
785
|
+
type XMLDataItem = {
|
|
786
|
+
tree: Array<XMLTree>;
|
|
787
|
+
} | {
|
|
788
|
+
bibliography: Array<XMLBibliography>;
|
|
789
|
+
} | {
|
|
790
|
+
concept: Array<XMLConcept>;
|
|
791
|
+
} | {
|
|
792
|
+
spatialUnit: Array<XMLSpatialUnit>;
|
|
793
|
+
} | {
|
|
794
|
+
period: Array<XMLPeriod>;
|
|
795
|
+
} | {
|
|
796
|
+
person: Array<XMLPerson>;
|
|
797
|
+
} | {
|
|
798
|
+
propertyVariable: Array<XMLPropertyVariable>;
|
|
799
|
+
} | {
|
|
800
|
+
variable: Array<XMLPropertyVariable>;
|
|
801
|
+
} | {
|
|
802
|
+
propertyValue: Array<XMLPropertyValue>;
|
|
803
|
+
} | {
|
|
804
|
+
value: Array<XMLPropertyValue>;
|
|
805
|
+
} | {
|
|
806
|
+
resource: Array<XMLResource>;
|
|
807
|
+
} | {
|
|
808
|
+
text: Array<XMLText>;
|
|
809
|
+
} | {
|
|
810
|
+
set: Array<XMLSet>;
|
|
811
|
+
};
|
|
812
|
+
type XMLItemLinks = Partial<{
|
|
813
|
+
payload: string;
|
|
814
|
+
tree: Array<XMLTree>;
|
|
815
|
+
bibliography: Array<XMLBibliography>;
|
|
816
|
+
concept: Array<XMLConcept>;
|
|
817
|
+
spatialUnit: Array<XMLSpatialUnit>;
|
|
818
|
+
period: Array<XMLPeriod>;
|
|
819
|
+
person: Array<XMLPerson>;
|
|
820
|
+
propertyVariable: Array<XMLPropertyVariable>;
|
|
821
|
+
variable: Array<XMLPropertyVariable>;
|
|
822
|
+
propertyValue: Array<XMLPropertyValue>;
|
|
823
|
+
value: Array<XMLPropertyValue>;
|
|
824
|
+
resource: Array<XMLResource>;
|
|
825
|
+
text: Array<XMLText>;
|
|
826
|
+
set: Array<XMLSet>;
|
|
827
|
+
}>;
|
|
828
|
+
type XMLItemLinksData = {
|
|
829
|
+
result: {
|
|
830
|
+
ochre: {
|
|
831
|
+
payload?: string;
|
|
832
|
+
items?: XMLItemLinks;
|
|
833
|
+
};
|
|
834
|
+
};
|
|
835
|
+
};
|
|
836
|
+
type XMLGallery = {
|
|
837
|
+
payload?: string;
|
|
838
|
+
project: {
|
|
839
|
+
uuid?: string;
|
|
840
|
+
identification: XMLIdentification;
|
|
841
|
+
dateFormat?: string;
|
|
842
|
+
page?: "item" | "entry";
|
|
843
|
+
};
|
|
844
|
+
item: {
|
|
845
|
+
uuid?: string;
|
|
846
|
+
identification: XMLIdentification;
|
|
847
|
+
category?: XMLItemCategory;
|
|
848
|
+
type?: string;
|
|
849
|
+
maxLength?: XMLNumber;
|
|
850
|
+
};
|
|
851
|
+
resource?: Array<XMLResource>;
|
|
852
|
+
maxLength: XMLNumber;
|
|
853
|
+
};
|
|
854
|
+
type XMLGalleryData = {
|
|
855
|
+
result: {
|
|
856
|
+
ochre: {
|
|
857
|
+
gallery: XMLGallery;
|
|
858
|
+
};
|
|
859
|
+
};
|
|
860
|
+
};
|
|
861
|
+
type XMLSetItems = XMLItemLinks & {
|
|
862
|
+
totalCount: XMLNumber;
|
|
863
|
+
page: XMLNumber;
|
|
864
|
+
pageSize: XMLNumber;
|
|
865
|
+
};
|
|
866
|
+
type XMLSetItemsData = {
|
|
867
|
+
result: {
|
|
868
|
+
ochre: {
|
|
869
|
+
items: XMLSetItems;
|
|
870
|
+
};
|
|
871
|
+
};
|
|
872
|
+
};
|
|
873
|
+
type XMLData = {
|
|
874
|
+
result: {
|
|
875
|
+
ochre: {
|
|
876
|
+
uuid: string;
|
|
877
|
+
belongsTo: string;
|
|
878
|
+
uuidBelongsTo: string;
|
|
879
|
+
publicationDateTime: Date;
|
|
880
|
+
metadata: XMLMetadata;
|
|
881
|
+
persistentUrl?: string;
|
|
882
|
+
languages?: string;
|
|
883
|
+
} & XMLDataItem;
|
|
884
|
+
};
|
|
885
|
+
};
|
|
886
|
+
type XMLWebsiteData = {
|
|
887
|
+
result: {
|
|
888
|
+
ochre: {
|
|
889
|
+
uuid: string;
|
|
890
|
+
belongsTo: string;
|
|
891
|
+
uuidBelongsTo: string;
|
|
892
|
+
publicationDateTime: Date;
|
|
893
|
+
metadata: XMLMetadata;
|
|
894
|
+
persistentUrl?: string;
|
|
895
|
+
languages?: string;
|
|
896
|
+
tree: Array<XMLWebsiteTree>;
|
|
897
|
+
};
|
|
898
|
+
};
|
|
899
|
+
};
|
|
900
|
+
//#endregion
|
|
901
|
+
export { XMLBaseItem, XMLBibliography, XMLBoolean, XMLConcept, XMLContent, XMLContext, XMLContextGroup, XMLContextItem, XMLContextValue, XMLCoordinate, XMLCoordinates, XMLCoordinatesSource, XMLData, XMLDataItem, XMLDictionaryUnit, XMLEmptyContext, XMLEvent, XMLGallery, XMLGalleryData, XMLHeading, XMLHeadingItemCategory, XMLIdentification, XMLImage, XMLImageMap, XMLImageMapArea, XMLInterpretation, XMLItemCategory, XMLItemLinks, XMLItemLinksData, XMLLicense, XMLLink, XMLLinkedBaseItem, XMLLinkedBibliography, XMLLinkedConcept, XMLLinkedPeriod, XMLLinkedPerson, XMLLinkedPropertyValue, XMLLinkedPropertyVariable, XMLLinkedResource, XMLLinkedSet, XMLLinkedSpatialUnit, XMLLinkedText, XMLLinkedTree, XMLMetadata, XMLNote, XMLNumber, XMLObservation, XMLPeriod, XMLPerson, XMLProperty, XMLPropertyValue, XMLPropertyVariable, XMLRecursiveItemCategory, XMLResource, XMLSection, XMLSet, XMLSetItems, XMLSetItemsData, XMLSimplifiedProperty, XMLSpatialUnit, XMLString, XMLText, XMLTree, XMLWebsiteContext, XMLWebsiteContextItem, XMLWebsiteContextLevel, XMLWebsiteData, XMLWebsiteFilterContext, XMLWebsiteFilterContextItem, XMLWebsiteOptions, XMLWebsiteProperties, XMLWebsiteResource, XMLWebsiteResourceGroup, XMLWebsiteResourceItem, XMLWebsiteScope, XMLWebsiteSegment, XMLWebsiteStyle, XMLWebsiteTree };
|