@piveau/sdk-vue 1.0.0-beta.1 → 1.0.0-beta.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +2952 -637
- package/dist/index.d.ts +2952 -637
- package/dist/index.mjs +546 -263
- package/dist/index.mjs.map +1 -1
- package/dist/locale/index.mjs.map +1 -1
- package/dist/utils/vHelpers.d.mts +6 -0
- package/dist/utils/vHelpers.d.ts +6 -0
- package/dist/utils/vHelpers.mjs.map +1 -1
- package/package.json +3 -12
package/dist/index.d.mts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as vue from 'vue';
|
|
2
|
+
import { MaybeRefOrGetter, InjectionKey, Slot, VNode, PropType, VNodeArrayChildren, MaybeRef, Ref, ComputedRef, App } from 'vue';
|
|
2
3
|
import { UseQueryReturnType, QueryClient } from '@tanstack/vue-query';
|
|
3
4
|
export { QueryClient, UseQueryReturnType } from '@tanstack/vue-query';
|
|
5
|
+
import { Resource, SearchParamsBase, GetResourceResult, GetResourceByIdParams, SearchResult, Dataset, Distribution, Catalog, SearchResultFacetGroup, SearchParams } from '@piveau/sdk-core/hubSearch';
|
|
6
|
+
import { StandardSchemaV1 } from '@standard-schema/spec';
|
|
4
7
|
import * as zod from 'zod';
|
|
5
|
-
import { z, ZodSchema } from 'zod';
|
|
6
8
|
export { Schema, ZodObject as _ZodObject } from 'zod';
|
|
7
|
-
import { SearchParamsBase, GetResourceResult, GetResourceByIdParams, SearchResult, Resource, Dataset, Distribution, SearchParams, SearchResultFacetGroup } from '@piveau/sdk-core';
|
|
8
9
|
export { getNestedValue, getObjectValueByPath, replace } from './utils/vHelpers.mjs';
|
|
9
10
|
|
|
10
11
|
interface LocaleMessages {
|
|
@@ -42,110 +43,519 @@ declare function useLocaleUnwrapped(): UnwrappedLocaleInstance;
|
|
|
42
43
|
declare const localeKey: InjectionKey<LocaleInstance>;
|
|
43
44
|
declare function useLocale(): LocaleInstance;
|
|
44
45
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
46
|
+
/**
|
|
47
|
+
* Returns the representative locale from the given candidates based on the priority list.
|
|
48
|
+
* If none of the locales in the priority list are found in the candidates, the first candidate is returned.
|
|
49
|
+
* @returns The representative locale.
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* ```ts
|
|
53
|
+
* const candidates = ['en-US', 'en-GB', 'en']
|
|
54
|
+
* const preferredLocale = ['en-GB', 'en-US']
|
|
55
|
+
* const representativeLocale = getRepresentativeLocaleOf({ candidates, preferredLocale })
|
|
56
|
+
* console.log(representativeLocale) // 'en-GB'
|
|
57
|
+
* ```
|
|
58
|
+
*/
|
|
59
|
+
declare function getRepresentativeLocaleOf({ candidates, preferredLocale, }: {
|
|
60
|
+
candidates: string[];
|
|
61
|
+
preferredLocale?: string | string[] | null;
|
|
62
|
+
}): string | undefined;
|
|
63
|
+
/**
|
|
64
|
+
* Retrieves the translation for the specified object based on the preferred locale.
|
|
65
|
+
* If the preferred locale is not found, an empty string is returned.
|
|
66
|
+
*
|
|
67
|
+
* @param obj - A record containing key-value pairs where keys represent locale codes and values represent translations.
|
|
68
|
+
* @param preferredLocale - A single locale or an array of locales representing the preference order.
|
|
69
|
+
* @returns The translation string for the most preferred available locale, or an empty string if no match is found.
|
|
70
|
+
*
|
|
71
|
+
* @example
|
|
72
|
+
* ```ts
|
|
73
|
+
* const translations = { 'en': 'Hello', 'fr': 'Bonjour' }
|
|
74
|
+
* const locale = getTranslationFor(translations, ['fr', 'en'])
|
|
75
|
+
* console.log(locale) // 'Bonjour'
|
|
76
|
+
* ```
|
|
77
|
+
*/
|
|
78
|
+
declare function getTranslationFor(obj?: Record<string, string> | null, preferredLocale?: string | string[] | null): string | undefined;
|
|
79
|
+
/**
|
|
80
|
+
* Retrieves a localized value from an object based on the preferred locale.
|
|
81
|
+
* If a translation is not found for the preferred locale, it attempts to use the fallback locale.
|
|
82
|
+
*
|
|
83
|
+
* @returns The translation string for the most preferred available locale, or an empty string if no match is found.
|
|
84
|
+
*/
|
|
85
|
+
declare function getLocalizedValue({ obj, fallbackLocale, }: {
|
|
86
|
+
obj?: Record<string, string> | null;
|
|
87
|
+
fallbackLocale: MaybeRefOrGetter<string>;
|
|
88
|
+
}): string;
|
|
89
|
+
/**
|
|
90
|
+
* Type guard that checks if the given value is not null or undefined. Helps with typings when
|
|
91
|
+
* filtering out null or undefined values from an array.
|
|
92
|
+
*
|
|
93
|
+
* @example
|
|
94
|
+
* ```ts
|
|
95
|
+
* const filteredArray = array.filter(nonNullable)
|
|
96
|
+
* ```
|
|
97
|
+
*
|
|
98
|
+
* @param value - The value to check.
|
|
99
|
+
* @returns true if the value is not null or undefined, false otherwise.
|
|
100
|
+
*/
|
|
101
|
+
declare function nonNullable<T>(value: T): value is NonNullable<T>;
|
|
102
|
+
declare function isUrl(str: string): boolean;
|
|
103
|
+
/**
|
|
104
|
+
* Type guard for arrays that checks if all elements are strings.
|
|
105
|
+
*
|
|
106
|
+
*/
|
|
107
|
+
declare function isStringArray(x: any[]): x is string[];
|
|
108
|
+
/**
|
|
109
|
+
* Checks if the given value is empty.
|
|
110
|
+
*
|
|
111
|
+
* @param value - The value to check.
|
|
112
|
+
* @returns true if the value is empty, false otherwise.
|
|
113
|
+
*
|
|
114
|
+
* A value is considered empty if it is:
|
|
115
|
+
* - undefined
|
|
116
|
+
* - null
|
|
117
|
+
* - An object with no keys
|
|
118
|
+
* - A string with no content (after trimming)
|
|
119
|
+
*/
|
|
120
|
+
declare function isEmpty(value: any): boolean;
|
|
121
|
+
/**
|
|
122
|
+
* Converts the given value to an array if it is not already an array.
|
|
123
|
+
*/
|
|
124
|
+
declare function asArray<T>(arg: T | T[] | null): T[];
|
|
125
|
+
declare function hasSlotContent(slot: Slot | undefined | null, props?: any): boolean;
|
|
126
|
+
declare function isSlotEmpty(slot: Slot | undefined | null, props?: any): boolean;
|
|
127
|
+
declare function isVNodeEmpty(vnode: VNode | VNode[] | undefined | null): boolean;
|
|
128
|
+
interface SelectOption {
|
|
129
|
+
label: string;
|
|
130
|
+
value: string;
|
|
131
|
+
}
|
|
132
|
+
type SelectOptionList = SelectOption[];
|
|
133
|
+
interface Facet {
|
|
50
134
|
id: string;
|
|
51
|
-
|
|
52
|
-
|
|
135
|
+
label: string;
|
|
136
|
+
value?: string;
|
|
137
|
+
count?: number;
|
|
53
138
|
}
|
|
54
|
-
type
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
139
|
+
type FacetList<T extends string = string> = {
|
|
140
|
+
id: T;
|
|
141
|
+
label: string;
|
|
142
|
+
items: Facet[];
|
|
143
|
+
}[];
|
|
59
144
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
resultEnhanced: ComputedRef<undefined>;
|
|
145
|
+
/** @public */
|
|
146
|
+
interface PropertyTableEntryBase {
|
|
147
|
+
id: string;
|
|
64
148
|
}
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
149
|
+
/** @public */
|
|
150
|
+
interface PropertyTableCellHref {
|
|
151
|
+
label: string;
|
|
152
|
+
href: string;
|
|
69
153
|
}
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
interface UseResourceParams {
|
|
79
|
-
additionalParams?: MaybeRefOrGetter<any>;
|
|
80
|
-
headers?: MaybeRefOrGetter<Record<string, string>>;
|
|
81
|
-
queryOptions?: {
|
|
82
|
-
staleTime?: MaybeRef<number>;
|
|
83
|
-
refetchOnWindowFocus?: MaybeRef<boolean>;
|
|
84
|
-
refetchInterval?: MaybeRef<number>;
|
|
85
|
-
suspense?: MaybeRef<boolean>;
|
|
86
|
-
retry?: MaybeRef<number>;
|
|
87
|
-
};
|
|
154
|
+
/** @public */
|
|
155
|
+
interface PropertyTableCellContact {
|
|
156
|
+
type: 'adress';
|
|
157
|
+
name: string;
|
|
158
|
+
address: string;
|
|
159
|
+
telephone: string;
|
|
160
|
+
email: string;
|
|
161
|
+
organization: string;
|
|
88
162
|
}
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
163
|
+
/** @public */
|
|
164
|
+
type PropertyTableCell = string | number;
|
|
165
|
+
/** @public */
|
|
166
|
+
interface PropertyTableEntryNode extends PropertyTableEntryBase {
|
|
167
|
+
type: 'node';
|
|
168
|
+
label: string;
|
|
169
|
+
help?: string;
|
|
170
|
+
isRoot?: boolean;
|
|
171
|
+
data?: PropertyTableEntry[];
|
|
172
|
+
/** @private */
|
|
173
|
+
__processed?: boolean;
|
|
98
174
|
}
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
type
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
interface DefineHubSearchOptions<TIndex extends string, TFacetNames extends string, TModelSchema> {
|
|
105
|
-
baseUrl: string;
|
|
106
|
-
index: TIndex;
|
|
107
|
-
indexDetails?: string;
|
|
108
|
-
enabled?: MaybeRefOrGetter<boolean>;
|
|
109
|
-
schema: ZodSchema<TModelSchema>;
|
|
110
|
-
facets?: TFacetNames[];
|
|
111
|
-
defaultOptions?: {
|
|
112
|
-
searchFetcherFn?: () => Promise<SearchResult<TModelSchema>>;
|
|
113
|
-
resourceFetcherFn?: () => Promise<SearchResult<TModelSchema>>;
|
|
114
|
-
qc?: QueryClient;
|
|
115
|
-
};
|
|
175
|
+
/** @public */
|
|
176
|
+
interface PropertyTableRoot extends PropertyTableEntryNode {
|
|
177
|
+
type: 'node';
|
|
178
|
+
isRoot: true;
|
|
179
|
+
data?: PropertyTableEntry[];
|
|
116
180
|
}
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
params?: Record<string, string>;
|
|
121
|
-
queryParams?: Record<string, any>;
|
|
122
|
-
headers?: Record<string, string>;
|
|
123
|
-
schema?: ZodSchema<TModelSchema>;
|
|
124
|
-
} & UnwrappedLocaleInstance;
|
|
125
|
-
type SetupFn<TSetup extends object, TModelSchema = any> = (data: TModelSchema, ctx: SetupContext<TModelSchema>) => TSetup;
|
|
126
|
-
type ResolvedSetupFn<TSetup extends object, TModelSchema = any> = (data: TModelSchema) => TSetup;
|
|
127
|
-
declare function defineHubSearch<TIndex extends string, TFacetNames extends string, TModelSchema, TSetup extends object>(options: DefineHubSearchOptions<TIndex, TFacetNames, TModelSchema>, setup?: SetupFn<TSetup, TModelSchema>): HubSearchDefinition<TFacetNames, TModelSchema, TSetup>;
|
|
128
|
-
interface HubSearchDefinition<TFacetNames extends string, TModelSchema, TSetup extends object> {
|
|
129
|
-
useSearch: (params: UseSearchParams<TFacetNames>) => UseSearchFactoryReturn<TFacetNames, TModelSchema, TSetup>;
|
|
130
|
-
useResource: UseResourceFunction<TSetup, TModelSchema>;
|
|
131
|
-
refSyncedWithRouteQuery: RefSyncedWithRouteQueryFn;
|
|
132
|
-
refSyncedWithRouteQueryFacet: RefSyncedWithRouteQueryFacetFn<TFacetNames>;
|
|
133
|
-
setup?: SetupFn<TSetup, TModelSchema>;
|
|
181
|
+
/** @public */
|
|
182
|
+
interface PropertyTableEntryNodeSimplified extends PropertyTableEntryBase {
|
|
183
|
+
data: PropertyTableEntrySimplified | PropertyTableEntrySimplified[];
|
|
134
184
|
}
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
185
|
+
/** @public */
|
|
186
|
+
interface PropertyTableEntryValue extends PropertyTableEntryBase {
|
|
187
|
+
type: 'value';
|
|
188
|
+
badge?: string;
|
|
189
|
+
data: PropertyTableCell[] | PropertyTableCell;
|
|
190
|
+
}
|
|
191
|
+
/** @public */
|
|
192
|
+
interface PropertyTableEntryHref extends PropertyTableEntryBase {
|
|
193
|
+
type: 'href';
|
|
194
|
+
badge?: string;
|
|
195
|
+
data: PropertyTableCellHref | PropertyTableCellHref[];
|
|
196
|
+
}
|
|
197
|
+
/** @public */
|
|
198
|
+
interface PropertyTableLeafValue extends PropertyTableEntryBase {
|
|
199
|
+
type: 'value';
|
|
200
|
+
badge?: string;
|
|
201
|
+
data: string;
|
|
202
|
+
}
|
|
203
|
+
/** @public */
|
|
204
|
+
interface PropertyTableLeafHref extends PropertyTableEntryBase {
|
|
205
|
+
type: 'href';
|
|
206
|
+
badge?: string;
|
|
207
|
+
data: {
|
|
208
|
+
href: string;
|
|
209
|
+
label?: string;
|
|
210
|
+
};
|
|
211
|
+
}
|
|
212
|
+
/** @public */
|
|
213
|
+
type PropertyTableEntryLeaf = PropertyTableLeafValue | PropertyTableLeafHref;
|
|
214
|
+
/** @public */
|
|
215
|
+
type PropertyTableEntry = PropertyTableEntryNode | PropertyTableEntryLeaf;
|
|
216
|
+
/** @public */
|
|
217
|
+
type PropertyTableEntrySimplified = undefined | null | string | string[] | PropertyTableEntry | DefinePropertyNodeOptions & {
|
|
218
|
+
type: 'node';
|
|
139
219
|
};
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
220
|
+
/** @public */
|
|
221
|
+
type PropertyTableProps = PropertyTableEntry[];
|
|
222
|
+
/** @public */
|
|
223
|
+
interface DefinePropertyNodeOptions {
|
|
224
|
+
id: string;
|
|
225
|
+
label?: string;
|
|
226
|
+
help?: string;
|
|
227
|
+
data?: PropertyTableEntrySimplified | PropertyTableEntrySimplified[] | null;
|
|
228
|
+
__processed?: boolean;
|
|
144
229
|
}
|
|
145
|
-
|
|
230
|
+
/** @public */
|
|
231
|
+
interface DefinePropertyNodeGeneralOptions {
|
|
232
|
+
compact?: boolean;
|
|
233
|
+
debug?: boolean;
|
|
234
|
+
maxDepth?: number;
|
|
235
|
+
}
|
|
236
|
+
/** @public */
|
|
237
|
+
declare function definePropertyNode(nodeOptions: DefinePropertyNodeOptions, options?: DefinePropertyNodeGeneralOptions): PropertyTableEntryNode;
|
|
238
|
+
/** @public */
|
|
239
|
+
declare function definePropertyNodeCompact(nodeOptions: DefinePropertyNodeOptions, options?: Omit<DefinePropertyNodeGeneralOptions, 'compact'>): PropertyTableEntryNode;
|
|
240
|
+
/** @public */
|
|
241
|
+
interface DefinePropertyValueOptions {
|
|
242
|
+
id?: string;
|
|
243
|
+
data?: string | string[];
|
|
244
|
+
}
|
|
245
|
+
/** @public */
|
|
246
|
+
declare function definePropertyValue(propertyOptions: DefinePropertyValueOptions): PropertyTableEntryLeaf;
|
|
146
247
|
/**
|
|
147
|
-
*
|
|
148
|
-
*
|
|
248
|
+
* Parses a Resource object to a PropertyTableEntry.
|
|
249
|
+
* Determines the type of entry based on the presence of a resource URL.
|
|
250
|
+
* If the resource URL exists, it returns an entry of type 'href'.
|
|
251
|
+
* Otherwise, it returns an entry of type 'value'.
|
|
252
|
+
*
|
|
253
|
+
* @param obj - The Resource object to be parsed.
|
|
254
|
+
* @param id - An optional string used as a fallback for the entry's id.
|
|
255
|
+
* @returns A PropertyTableEntry object with type 'href' or 'value', or undefined if the input object is invalid.
|
|
256
|
+
* @public
|
|
257
|
+
*/
|
|
258
|
+
declare function parseResource(obj?: Resource | null, id?: string): PropertyTableEntryLeaf | undefined;
|
|
259
|
+
/**
|
|
260
|
+
* Parses an array of Resource objects to an array of PropertyTableEntry objects.
|
|
261
|
+
* It applies the parseResource function to each element and filters out any undefined values.
|
|
262
|
+
*
|
|
263
|
+
* @param obj - The array of Resource objects to be parsed.
|
|
264
|
+
* @param id - An optional string used as a fallback for the entry's id.
|
|
265
|
+
* @returns An array of PropertyTableEntry objects with type 'href' or 'value'.
|
|
266
|
+
* @public
|
|
267
|
+
*/
|
|
268
|
+
declare function parseResourceList(obj?: Resource[] | null, id?: string): PropertyTableEntryLeaf[];
|
|
269
|
+
/** @public */
|
|
270
|
+
declare function parseUrl(url?: string | null, id?: string): PropertyTableLeafHref | undefined;
|
|
271
|
+
/** @public */
|
|
272
|
+
declare function parseUrlList(urls?: string[] | null): PropertyTableLeafHref[];
|
|
273
|
+
interface SelectNodesOptions {
|
|
274
|
+
select?: string[];
|
|
275
|
+
discardUnused?: boolean;
|
|
276
|
+
}
|
|
277
|
+
/** @public */
|
|
278
|
+
interface SelectNodesByIdParams extends SelectNodesOptions {
|
|
279
|
+
nodes: PropertyTableEntryNode[];
|
|
280
|
+
}
|
|
281
|
+
/**
|
|
282
|
+
* Selects nodes by their id from a list of nodes.
|
|
283
|
+
*
|
|
284
|
+
* The function returns a new list of nodes that is sorted according to the order of their ids in the `select` array and does not contain any nodes that are not in the `select` array.
|
|
285
|
+
*
|
|
286
|
+
* @returns A new list of nodes that is sorted and filtered according to the options.
|
|
287
|
+
* @public
|
|
288
|
+
*/
|
|
289
|
+
declare function selectNodesById(options: SelectNodesByIdParams): PropertyTableEntryNode[];
|
|
290
|
+
|
|
291
|
+
declare const PropertyTableNode: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
292
|
+
as: {
|
|
293
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
294
|
+
default: string;
|
|
295
|
+
};
|
|
296
|
+
nodes: {
|
|
297
|
+
type: PropType<PropertyTableEntry[]>;
|
|
298
|
+
default: () => never[];
|
|
299
|
+
};
|
|
300
|
+
depth: {
|
|
301
|
+
type: NumberConstructor;
|
|
302
|
+
default: number;
|
|
303
|
+
};
|
|
304
|
+
nodeClass: {
|
|
305
|
+
type: StringConstructor;
|
|
306
|
+
default: string;
|
|
307
|
+
};
|
|
308
|
+
}>, () => VNode<vue.RendererNode, vue.RendererElement, {
|
|
309
|
+
[key: string]: any;
|
|
310
|
+
}> | VNodeArrayChildren, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
311
|
+
as: {
|
|
312
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
313
|
+
default: string;
|
|
314
|
+
};
|
|
315
|
+
nodes: {
|
|
316
|
+
type: PropType<PropertyTableEntry[]>;
|
|
317
|
+
default: () => never[];
|
|
318
|
+
};
|
|
319
|
+
depth: {
|
|
320
|
+
type: NumberConstructor;
|
|
321
|
+
default: number;
|
|
322
|
+
};
|
|
323
|
+
nodeClass: {
|
|
324
|
+
type: StringConstructor;
|
|
325
|
+
default: string;
|
|
326
|
+
};
|
|
327
|
+
}>> & Readonly<{}>, {
|
|
328
|
+
as: string | Record<string, any>;
|
|
329
|
+
nodes: PropertyTableEntry[];
|
|
330
|
+
depth: number;
|
|
331
|
+
nodeClass: string;
|
|
332
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
333
|
+
declare const PropertyTable: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
334
|
+
as: {
|
|
335
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
336
|
+
default: string;
|
|
337
|
+
};
|
|
338
|
+
root: {
|
|
339
|
+
type: BooleanConstructor;
|
|
340
|
+
default: boolean;
|
|
341
|
+
};
|
|
342
|
+
node: {
|
|
343
|
+
type: PropType<PropertyTableEntryNode>;
|
|
344
|
+
required: true;
|
|
345
|
+
};
|
|
346
|
+
nodeClass: {
|
|
347
|
+
type: StringConstructor;
|
|
348
|
+
default: string;
|
|
349
|
+
};
|
|
350
|
+
}>, () => VNode<vue.RendererNode, vue.RendererElement, {
|
|
351
|
+
[key: string]: any;
|
|
352
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
353
|
+
as: {
|
|
354
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
355
|
+
default: string;
|
|
356
|
+
};
|
|
357
|
+
root: {
|
|
358
|
+
type: BooleanConstructor;
|
|
359
|
+
default: boolean;
|
|
360
|
+
};
|
|
361
|
+
node: {
|
|
362
|
+
type: PropType<PropertyTableEntryNode>;
|
|
363
|
+
required: true;
|
|
364
|
+
};
|
|
365
|
+
nodeClass: {
|
|
366
|
+
type: StringConstructor;
|
|
367
|
+
default: string;
|
|
368
|
+
};
|
|
369
|
+
}>> & Readonly<{}>, {
|
|
370
|
+
as: string | Record<string, any>;
|
|
371
|
+
nodeClass: string;
|
|
372
|
+
root: boolean;
|
|
373
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
374
|
+
|
|
375
|
+
type Reffify<T> = {
|
|
376
|
+
[key in keyof T]: MaybeRef<T[key]>;
|
|
377
|
+
};
|
|
378
|
+
type SearchParamsRef = Reffify<SearchParamsBase>;
|
|
379
|
+
interface SelectedFacetItemObject {
|
|
380
|
+
id: string;
|
|
381
|
+
title: Record<string, string> | string;
|
|
382
|
+
count: number;
|
|
383
|
+
}
|
|
384
|
+
type SelectedFacetItemList = (SelectedFacetItemObject | string)[];
|
|
385
|
+
type FacetRef<TFacetNames extends string = string> = {
|
|
386
|
+
readonly [key in TFacetNames]?: MaybeRef<SelectedFacetItemList>;
|
|
387
|
+
};
|
|
388
|
+
type _UseQueryReturnType<TData, TError> = UseQueryReturnType<TData, TError>;
|
|
389
|
+
|
|
390
|
+
type RefSyncedWithRouteQueryFn = <T extends string | number, K = T extends string ? string : T extends number ? number : never>(searchParam: keyof SearchParamsBase, defaultValue?: MaybeRefOrGetter<T>) => Ref<K>;
|
|
391
|
+
type RefSyncedWithRouteQueryFacetFn<TFacetNames> = <T extends string[]>(searchParam: TFacetNames, defaultValue?: MaybeRefOrGetter<T>) => Ref<string[], string[]>;
|
|
392
|
+
/**
|
|
393
|
+
* Narrowed interface of QueryOptions from @tanstack/vue-query
|
|
394
|
+
*/
|
|
395
|
+
interface OurQueryOptions {
|
|
396
|
+
enabled?: MaybeRef<boolean>;
|
|
397
|
+
staleTime?: MaybeRef<number>;
|
|
398
|
+
refetchOnWindowFocus?: MaybeRef<boolean>;
|
|
399
|
+
refetchInterval?: MaybeRef<number>;
|
|
400
|
+
suspense?: MaybeRef<boolean>;
|
|
401
|
+
retry?: MaybeRef<number>;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
interface UseResourceResultNoData {
|
|
405
|
+
isSuccess: false;
|
|
406
|
+
result: ComputedRef<undefined>;
|
|
407
|
+
resultEnhanced: ComputedRef<undefined>;
|
|
408
|
+
}
|
|
409
|
+
interface UseResourceResultWithData<TSetup extends object, T = any> {
|
|
410
|
+
isSuccess: true;
|
|
411
|
+
result: ComputedRef<T>;
|
|
412
|
+
resultEnhanced: ComputedRef<TSetup>;
|
|
413
|
+
}
|
|
414
|
+
type UseResourceResultBase<TSetup extends object, T = any> = UseResourceResultNoData | UseResourceResultWithData<TSetup, T>;
|
|
415
|
+
type UseResourceResult<TSetup extends object, TModelSchema extends StandardSchemaV1, TResult = UseResourceResultBase<TSetup, StandardSchemaV1.InferOutput<TModelSchema>>> = {
|
|
416
|
+
[K in keyof TResult]: K extends 'isSuccess' ? Ref<TResult[K]> : TResult[K];
|
|
417
|
+
} & {
|
|
418
|
+
query: _UseQueryReturnType<GetResourceResult<StandardSchemaV1.InferOutput<TModelSchema>>, Error>;
|
|
419
|
+
isLoading: Ref<boolean> | Ref<true> | Ref<false>;
|
|
420
|
+
isFetching: Ref<boolean>;
|
|
421
|
+
};
|
|
422
|
+
interface UseResourceParams {
|
|
423
|
+
additionalParams?: MaybeRefOrGetter<any>;
|
|
424
|
+
headers?: MaybeRefOrGetter<Record<string, string>>;
|
|
425
|
+
queryOptions?: OurQueryOptions;
|
|
426
|
+
}
|
|
427
|
+
type UseResourceFunction<TSetup extends object, TModelSchema extends StandardSchemaV1> = (resourceId: MaybeRefOrGetter<string>, params?: UseResourceParams) => UseResourceResult<TSetup, TModelSchema>;
|
|
428
|
+
interface UseResourceFactoryParams<TModelSchema extends StandardSchemaV1> {
|
|
429
|
+
baseUrl: string;
|
|
430
|
+
schema: TModelSchema;
|
|
431
|
+
index: MaybeRefOrGetter<string>;
|
|
432
|
+
indexSearch?: MaybeRefOrGetter<string>;
|
|
433
|
+
queryOptions?: OurQueryOptions;
|
|
434
|
+
qc: QueryClient;
|
|
435
|
+
fetcherFn: (_options: GetResourceByIdParams) => Promise<GetResourceResult<StandardSchemaV1.InferOutput<TModelSchema>>>;
|
|
436
|
+
}
|
|
437
|
+
declare function useResourceFactory<TSetup extends object, TModelSchema extends StandardSchemaV1>(options: UseResourceFactoryParams<TModelSchema>, setup?: SetupFn<TSetup, TModelSchema>): UseResourceFunction<TSetup, TModelSchema>;
|
|
438
|
+
|
|
439
|
+
interface UseResourcesResult<TSetup extends object, TModelSchema extends StandardSchemaV1> {
|
|
440
|
+
isSuccess: boolean;
|
|
441
|
+
isLoading: boolean;
|
|
442
|
+
isFetching: boolean;
|
|
443
|
+
query: _UseQueryReturnType<GetResourceResult<StandardSchemaV1.InferOutput<TModelSchema>>, Error>;
|
|
444
|
+
result: StandardSchemaV1.InferOutput<TModelSchema> | undefined;
|
|
445
|
+
resultEnhanced: TSetup | undefined;
|
|
446
|
+
}
|
|
447
|
+
interface UseResourcesItemInput {
|
|
448
|
+
resourceId: string;
|
|
449
|
+
params?: UseResourceParams;
|
|
450
|
+
}
|
|
451
|
+
type UseResourcesFunction<TSetup extends object, TModelSchema extends StandardSchemaV1> = (items: MaybeRefOrGetter<UseResourcesItemInput[]>) => ComputedRef<UseResourcesResult<TSetup, TModelSchema>[]>;
|
|
452
|
+
interface UseResourcesFactoryParams<TModelSchema extends StandardSchemaV1> {
|
|
453
|
+
baseUrl: string;
|
|
454
|
+
schema: TModelSchema;
|
|
455
|
+
index: MaybeRefOrGetter<string>;
|
|
456
|
+
indexSearch?: MaybeRefOrGetter<string>;
|
|
457
|
+
queryOptions?: OurQueryOptions;
|
|
458
|
+
qc: QueryClient;
|
|
459
|
+
fetcherFn: (_options: GetResourceByIdParams) => Promise<GetResourceResult<StandardSchemaV1.InferOutput<TModelSchema>>>;
|
|
460
|
+
}
|
|
461
|
+
declare function useResourcesFactory<TSetup extends object, TModelSchema extends StandardSchemaV1>(options: UseResourcesFactoryParams<TModelSchema>, setup?: SetupFn<TSetup, TModelSchema>): UseResourcesFunction<TSetup, TModelSchema>;
|
|
462
|
+
|
|
463
|
+
interface DefineHubSearchOptions<TFacetNames extends string, TModelSchema extends StandardSchemaV1> {
|
|
464
|
+
baseUrl: string;
|
|
465
|
+
index: string | string[];
|
|
466
|
+
indexDetails?: string;
|
|
467
|
+
enabled?: MaybeRefOrGetter<boolean>;
|
|
468
|
+
schema: TModelSchema;
|
|
469
|
+
facets?: TFacetNames[];
|
|
470
|
+
defaultOptions?: {
|
|
471
|
+
queryOptions?: OurQueryOptions;
|
|
472
|
+
searchFetcherFn?: () => Promise<SearchResult<StandardSchemaV1.InferOutput<TModelSchema>>>;
|
|
473
|
+
resourceFetcherFn?: () => Promise<SearchResult<StandardSchemaV1.InferOutput<TModelSchema>>>;
|
|
474
|
+
qc?: QueryClient;
|
|
475
|
+
};
|
|
476
|
+
}
|
|
477
|
+
type SetupContext<TModelSchema extends StandardSchemaV1> = {
|
|
478
|
+
qc?: QueryClient;
|
|
479
|
+
queryKey?: string[];
|
|
480
|
+
params?: Record<string, string>;
|
|
481
|
+
queryParams?: Record<string, any>;
|
|
482
|
+
headers?: Record<string, string>;
|
|
483
|
+
schema?: TModelSchema;
|
|
484
|
+
} & UnwrappedLocaleInstance;
|
|
485
|
+
type SetupFn<TSetup extends object, TModelSchema extends StandardSchemaV1> = (data: StandardSchemaV1.InferOutput<TModelSchema>, ctx: SetupContext<TModelSchema>) => TSetup;
|
|
486
|
+
type ResolvedSetupFn<TSetup extends object, T> = (data: T) => TSetup;
|
|
487
|
+
/**
|
|
488
|
+
* Creates a hub search query definition based on the provided options.
|
|
489
|
+
* A hub search query definition contains various things to simplify development of data portals. This involves:
|
|
490
|
+
* - composable functions (`useSearch`, `useResource`) that can be used for asynchronous state management for hub-search queries
|
|
491
|
+
* - utility state for common usecases, such as two-way-binding query parameters to the router.
|
|
492
|
+
*
|
|
493
|
+
* @example
|
|
494
|
+
* ```ts
|
|
495
|
+
* // Create a hub search definition (DCAT-AP dataset)
|
|
496
|
+
* const hubSearchDefinition = defineHubSearch({
|
|
497
|
+
* baseUrl: 'https://demo.piveau.io/api/hub/search',
|
|
498
|
+
* index: 'dataset',
|
|
499
|
+
* indexDetails: 'datasets',
|
|
500
|
+
* facets: ['categories', 'publisher', 'catalog', 'format', 'license'],
|
|
501
|
+
* schema: schemaDataset,
|
|
502
|
+
* }, dcatApDataset().setup)
|
|
503
|
+
*
|
|
504
|
+
* // For a search page
|
|
505
|
+
* const q = ref('') // When providing reactive values, useSearch will refetch the query whenever the value changes
|
|
506
|
+
* const limit = ref(10)
|
|
507
|
+
* const page = ref(1)
|
|
508
|
+
* const catalog = ref<string[]>([])
|
|
509
|
+
* const { useSearch } = hubSearchDefinition
|
|
510
|
+
* const { getSearchResultsEnhanced, getAvailableFacets, isSuccess, isFetching } = useSearch({
|
|
511
|
+
* queryParams: {
|
|
512
|
+
* q,
|
|
513
|
+
* page,
|
|
514
|
+
* limit,
|
|
515
|
+
* },
|
|
516
|
+
* selectedFacets: {
|
|
517
|
+
* catalog,
|
|
518
|
+
* },
|
|
519
|
+
* })
|
|
520
|
+
*
|
|
521
|
+
* // For a dataset details page
|
|
522
|
+
* const id = ref('some-dataset-id')
|
|
523
|
+
* const { useResource } = hubSearchDefinition
|
|
524
|
+
* const { isSuccess, resultEnhanced } = useResource(id)
|
|
525
|
+
* ```
|
|
526
|
+
*
|
|
527
|
+
* @group Essentials
|
|
528
|
+
* @remarks
|
|
529
|
+
* While piveau infrastructure commonly provides datasets based on DCAT-AP, the result model is generally unpredictable.
|
|
530
|
+
* To use hub-search for custom data models, you need to provide two things:
|
|
531
|
+
* 1. A `schema` for the result model
|
|
532
|
+
* 2. A setup function that maps the type of the `schema` model to a unified data model for your application.
|
|
533
|
+
*/
|
|
534
|
+
declare function defineHubSearch<TFacetNames extends string, TModelSchema extends StandardSchemaV1, TSetup extends object>(options: DefineHubSearchOptions<TFacetNames, TModelSchema>, setup?: SetupFn<TSetup, TModelSchema>): HubSearchDefinition<TFacetNames, TModelSchema, TSetup>;
|
|
535
|
+
interface HubSearchDefinition<TFacetNames extends string, TModelSchema extends StandardSchemaV1, TSetup extends object> {
|
|
536
|
+
setup?: SetupFn<TSetup, TModelSchema>;
|
|
537
|
+
useSearch: (params: UseSearchParams<TFacetNames>) => UseSearchFactoryReturn<TFacetNames, TModelSchema, TSetup>;
|
|
538
|
+
useResource: UseResourceFunction<TSetup, TModelSchema>;
|
|
539
|
+
useResources: UseResourcesFunction<TSetup, TModelSchema>;
|
|
540
|
+
refSyncedWithRouteQuery: RefSyncedWithRouteQueryFn;
|
|
541
|
+
refSyncedWithRouteQueryFacet: RefSyncedWithRouteQueryFacetFn<TFacetNames>;
|
|
542
|
+
}
|
|
543
|
+
type HubSearchIntegrationOptions<TModelSchema extends StandardSchemaV1> = DefineHubSearchOptions<string, TModelSchema>;
|
|
544
|
+
declare function defineHubSearchIntegration<TModelSchema extends StandardSchemaV1, TSetup extends object>(schema: TModelSchema, setup: SetupFn<TSetup, TModelSchema>): {
|
|
545
|
+
setup: SetupFn<TSetup, TModelSchema>;
|
|
546
|
+
schema: TModelSchema;
|
|
547
|
+
};
|
|
548
|
+
|
|
549
|
+
interface DcatApDatasetParams {
|
|
550
|
+
datasetProperties?: SelectNodesOptions;
|
|
551
|
+
distributionProperties?: SelectNodesOptions;
|
|
552
|
+
baseUrlHubRepo?: string;
|
|
553
|
+
}
|
|
554
|
+
type LinkedDataFormats = 'rdf' | 'ttl' | 'n3' | 'nt' | 'jsonld';
|
|
555
|
+
|
|
556
|
+
/**
|
|
557
|
+
* Integration dcat-ap datasets.
|
|
558
|
+
* It contains computed getters for dcat-ap properties and opinionated computed getters for common use cases
|
|
149
559
|
*
|
|
150
560
|
*/
|
|
151
561
|
declare function dcatApDataset(options?: DcatApDatasetParams): {
|
|
@@ -155,8 +565,8 @@ declare function dcatApDataset(options?: DcatApDatasetParams): {
|
|
|
155
565
|
getDescription: string | undefined;
|
|
156
566
|
getCategories: {
|
|
157
567
|
label: Record<string, string>;
|
|
158
|
-
resource: string;
|
|
159
568
|
id: string;
|
|
569
|
+
resource: string;
|
|
160
570
|
}[];
|
|
161
571
|
getPublisher: {
|
|
162
572
|
type?: string | null | undefined;
|
|
@@ -169,6 +579,7 @@ declare function dcatApDataset(options?: DcatApDatasetParams): {
|
|
|
169
579
|
getIssued: string | undefined;
|
|
170
580
|
getCreated: string | undefined;
|
|
171
581
|
getModified: string | undefined;
|
|
582
|
+
getLinkedData: Record<LinkedDataFormats, string>;
|
|
172
583
|
getDistributions: {
|
|
173
584
|
/**
|
|
174
585
|
* The ID of the distribution
|
|
@@ -194,15 +605,16 @@ declare function dcatApDataset(options?: DcatApDatasetParams): {
|
|
|
194
605
|
*/
|
|
195
606
|
license: {
|
|
196
607
|
label?: string | null | undefined;
|
|
197
|
-
resource?: string | null | undefined;
|
|
198
608
|
id?: string | null | undefined;
|
|
199
609
|
description?: string | null | undefined;
|
|
610
|
+
resource?: string | null | undefined;
|
|
200
611
|
} | undefined;
|
|
201
612
|
created: string | undefined;
|
|
202
613
|
issued: string | undefined;
|
|
203
614
|
languages: string[];
|
|
204
615
|
accessUrls: string[];
|
|
205
616
|
downloadUrls: string[];
|
|
617
|
+
getLinkedData: Record<LinkedDataFormats, string>;
|
|
206
618
|
/**
|
|
207
619
|
* Opinionated recursive property table
|
|
208
620
|
*/
|
|
@@ -210,26 +622,1620 @@ declare function dcatApDataset(options?: DcatApDatasetParams): {
|
|
|
210
622
|
}[];
|
|
211
623
|
getPropertyTable: PropertyTableEntryNode[];
|
|
212
624
|
getPropertyTable2: PropertyTableEntryNode[];
|
|
213
|
-
}, {
|
|
214
|
-
id:
|
|
215
|
-
|
|
625
|
+
}, zod.ZodObject<{
|
|
626
|
+
id: zod.ZodString;
|
|
627
|
+
title: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
628
|
+
description: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
629
|
+
country: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
630
|
+
id: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
631
|
+
label: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
632
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
633
|
+
}, "strip", zod.ZodTypeAny, {
|
|
634
|
+
label?: string | null | undefined;
|
|
635
|
+
id?: string | null | undefined;
|
|
636
|
+
resource?: string | null | undefined;
|
|
637
|
+
}, {
|
|
638
|
+
label?: string | null | undefined;
|
|
639
|
+
id?: string | null | undefined;
|
|
640
|
+
resource?: string | null | undefined;
|
|
641
|
+
}>>>;
|
|
642
|
+
keywords: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
|
|
643
|
+
language: zod.ZodString;
|
|
644
|
+
id: zod.ZodString;
|
|
645
|
+
label: zod.ZodString;
|
|
646
|
+
}, "strip", zod.ZodTypeAny, {
|
|
647
|
+
label: string;
|
|
648
|
+
id: string;
|
|
649
|
+
language: string;
|
|
650
|
+
}, {
|
|
651
|
+
label: string;
|
|
652
|
+
id: string;
|
|
653
|
+
language: string;
|
|
654
|
+
}>, "many">>>;
|
|
655
|
+
license: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
656
|
+
id: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
657
|
+
label: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
658
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
659
|
+
} & {
|
|
660
|
+
description: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
661
|
+
}, "strip", zod.ZodTypeAny, {
|
|
662
|
+
label?: string | null | undefined;
|
|
663
|
+
id?: string | null | undefined;
|
|
664
|
+
description?: string | null | undefined;
|
|
665
|
+
resource?: string | null | undefined;
|
|
666
|
+
}, {
|
|
667
|
+
label?: string | null | undefined;
|
|
668
|
+
id?: string | null | undefined;
|
|
669
|
+
description?: string | null | undefined;
|
|
670
|
+
resource?: string | null | undefined;
|
|
671
|
+
}>>>;
|
|
672
|
+
catalog: zod.ZodObject<{
|
|
673
|
+
id: zod.ZodString;
|
|
674
|
+
title: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
675
|
+
description: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
676
|
+
license: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
677
|
+
id: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
678
|
+
label: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
679
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
680
|
+
} & {
|
|
681
|
+
description: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
682
|
+
}, "strip", zod.ZodTypeAny, {
|
|
683
|
+
label?: string | null | undefined;
|
|
684
|
+
id?: string | null | undefined;
|
|
685
|
+
description?: string | null | undefined;
|
|
686
|
+
resource?: string | null | undefined;
|
|
687
|
+
}, {
|
|
688
|
+
label?: string | null | undefined;
|
|
689
|
+
id?: string | null | undefined;
|
|
690
|
+
description?: string | null | undefined;
|
|
691
|
+
resource?: string | null | undefined;
|
|
692
|
+
}>>>;
|
|
693
|
+
publisher: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
694
|
+
name: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
695
|
+
type: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
696
|
+
email: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
697
|
+
homepage: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
698
|
+
}, "strip", zod.ZodTypeAny, {
|
|
699
|
+
type?: string | null | undefined;
|
|
700
|
+
name?: string | null | undefined;
|
|
701
|
+
email?: string | null | undefined;
|
|
702
|
+
homepage?: string | null | undefined;
|
|
703
|
+
}, {
|
|
704
|
+
type?: string | null | undefined;
|
|
705
|
+
name?: string | null | undefined;
|
|
706
|
+
email?: string | null | undefined;
|
|
707
|
+
homepage?: string | null | undefined;
|
|
708
|
+
}>>>;
|
|
709
|
+
language: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
|
|
710
|
+
id: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
711
|
+
label: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
712
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
713
|
+
}, "strip", zod.ZodTypeAny, {
|
|
714
|
+
label?: string | null | undefined;
|
|
715
|
+
id?: string | null | undefined;
|
|
716
|
+
resource?: string | null | undefined;
|
|
717
|
+
}, {
|
|
718
|
+
label?: string | null | undefined;
|
|
719
|
+
id?: string | null | undefined;
|
|
720
|
+
resource?: string | null | undefined;
|
|
721
|
+
}>, "many">>>;
|
|
722
|
+
country: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
723
|
+
id: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
724
|
+
label: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
725
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
726
|
+
}, "strip", zod.ZodTypeAny, {
|
|
727
|
+
label?: string | null | undefined;
|
|
728
|
+
id?: string | null | undefined;
|
|
729
|
+
resource?: string | null | undefined;
|
|
730
|
+
}, {
|
|
731
|
+
label?: string | null | undefined;
|
|
732
|
+
id?: string | null | undefined;
|
|
733
|
+
resource?: string | null | undefined;
|
|
734
|
+
}>>>;
|
|
735
|
+
homepage: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
736
|
+
issued: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
737
|
+
modified: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
738
|
+
spatial: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodAny, "many">>>;
|
|
739
|
+
spatial_resource: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
|
|
740
|
+
theme_taxonomy: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
|
|
741
|
+
catalog: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
|
|
742
|
+
has_part: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
|
|
743
|
+
is_part_of: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
|
|
744
|
+
creator: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
|
|
745
|
+
rights: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
|
|
746
|
+
count: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
|
|
747
|
+
}, "strip", zod.ZodTypeAny, {
|
|
748
|
+
id: string;
|
|
749
|
+
title?: Record<string, string> | null | undefined;
|
|
750
|
+
description?: Record<string, string> | null | undefined;
|
|
751
|
+
country?: {
|
|
752
|
+
label?: string | null | undefined;
|
|
753
|
+
id?: string | null | undefined;
|
|
754
|
+
resource?: string | null | undefined;
|
|
755
|
+
} | null | undefined;
|
|
756
|
+
language?: {
|
|
757
|
+
label?: string | null | undefined;
|
|
758
|
+
id?: string | null | undefined;
|
|
759
|
+
resource?: string | null | undefined;
|
|
760
|
+
}[] | null | undefined;
|
|
761
|
+
license?: {
|
|
762
|
+
label?: string | null | undefined;
|
|
763
|
+
id?: string | null | undefined;
|
|
764
|
+
description?: string | null | undefined;
|
|
765
|
+
resource?: string | null | undefined;
|
|
766
|
+
} | null | undefined;
|
|
767
|
+
homepage?: string | null | undefined;
|
|
768
|
+
publisher?: {
|
|
769
|
+
type?: string | null | undefined;
|
|
770
|
+
name?: string | null | undefined;
|
|
771
|
+
email?: string | null | undefined;
|
|
772
|
+
homepage?: string | null | undefined;
|
|
773
|
+
} | null | undefined;
|
|
774
|
+
issued?: string | null | undefined;
|
|
775
|
+
modified?: string | null | undefined;
|
|
776
|
+
spatial?: any[] | null | undefined;
|
|
777
|
+
spatial_resource?: any;
|
|
778
|
+
theme_taxonomy?: any;
|
|
779
|
+
catalog?: any;
|
|
780
|
+
has_part?: any;
|
|
781
|
+
is_part_of?: any;
|
|
782
|
+
creator?: any;
|
|
783
|
+
rights?: any;
|
|
784
|
+
count?: number | null | undefined;
|
|
785
|
+
}, {
|
|
786
|
+
id: string;
|
|
787
|
+
title?: Record<string, string> | null | undefined;
|
|
788
|
+
description?: Record<string, string> | null | undefined;
|
|
789
|
+
country?: {
|
|
790
|
+
label?: string | null | undefined;
|
|
791
|
+
id?: string | null | undefined;
|
|
792
|
+
resource?: string | null | undefined;
|
|
793
|
+
} | null | undefined;
|
|
794
|
+
language?: {
|
|
795
|
+
label?: string | null | undefined;
|
|
796
|
+
id?: string | null | undefined;
|
|
797
|
+
resource?: string | null | undefined;
|
|
798
|
+
}[] | null | undefined;
|
|
799
|
+
license?: {
|
|
800
|
+
label?: string | null | undefined;
|
|
801
|
+
id?: string | null | undefined;
|
|
802
|
+
description?: string | null | undefined;
|
|
803
|
+
resource?: string | null | undefined;
|
|
804
|
+
} | null | undefined;
|
|
805
|
+
homepage?: string | null | undefined;
|
|
806
|
+
publisher?: {
|
|
807
|
+
type?: string | null | undefined;
|
|
808
|
+
name?: string | null | undefined;
|
|
809
|
+
email?: string | null | undefined;
|
|
810
|
+
homepage?: string | null | undefined;
|
|
811
|
+
} | null | undefined;
|
|
812
|
+
issued?: string | null | undefined;
|
|
813
|
+
modified?: string | null | undefined;
|
|
814
|
+
spatial?: any[] | null | undefined;
|
|
815
|
+
spatial_resource?: any;
|
|
816
|
+
theme_taxonomy?: any;
|
|
817
|
+
catalog?: any;
|
|
818
|
+
has_part?: any;
|
|
819
|
+
is_part_of?: any;
|
|
820
|
+
creator?: any;
|
|
821
|
+
rights?: any;
|
|
822
|
+
count?: number | null | undefined;
|
|
823
|
+
}>;
|
|
824
|
+
subject: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
|
|
825
|
+
label: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
826
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
827
|
+
}, "strip", zod.ZodTypeAny, {
|
|
828
|
+
label?: string | null | undefined;
|
|
829
|
+
resource?: string | null | undefined;
|
|
830
|
+
}, {
|
|
831
|
+
label?: string | null | undefined;
|
|
832
|
+
resource?: string | null | undefined;
|
|
833
|
+
}>, "many">>>;
|
|
834
|
+
language: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
|
|
835
|
+
id: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
836
|
+
label: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
837
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
838
|
+
}, "strip", zod.ZodTypeAny, {
|
|
839
|
+
label?: string | null | undefined;
|
|
840
|
+
id?: string | null | undefined;
|
|
841
|
+
resource?: string | null | undefined;
|
|
842
|
+
}, {
|
|
843
|
+
label?: string | null | undefined;
|
|
844
|
+
id?: string | null | undefined;
|
|
845
|
+
resource?: string | null | undefined;
|
|
846
|
+
}>, "many">>>;
|
|
847
|
+
source: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodString, "many">>>;
|
|
848
|
+
type: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
849
|
+
id: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
850
|
+
label: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
851
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
852
|
+
}, "strip", zod.ZodTypeAny, {
|
|
853
|
+
label?: string | null | undefined;
|
|
854
|
+
id?: string | null | undefined;
|
|
855
|
+
resource?: string | null | undefined;
|
|
856
|
+
}, {
|
|
857
|
+
label?: string | null | undefined;
|
|
858
|
+
id?: string | null | undefined;
|
|
859
|
+
resource?: string | null | undefined;
|
|
860
|
+
}>>>;
|
|
861
|
+
temporal_resolution: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
862
|
+
relation: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodString, "many">>>;
|
|
863
|
+
legal_basis: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
864
|
+
stat_unit_measure: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodString, "many">>>;
|
|
865
|
+
qualified_relation: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
|
|
866
|
+
relation: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodString, "many">>>;
|
|
867
|
+
had_role: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodString, "many">>>;
|
|
868
|
+
}, "strip", zod.ZodTypeAny, {
|
|
869
|
+
relation?: string[] | null | undefined;
|
|
870
|
+
had_role?: string[] | null | undefined;
|
|
871
|
+
}, {
|
|
872
|
+
relation?: string[] | null | undefined;
|
|
873
|
+
had_role?: string[] | null | undefined;
|
|
874
|
+
}>, "many">>>;
|
|
875
|
+
spatial_resource: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
|
|
876
|
+
modified: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
877
|
+
issued: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
878
|
+
spatial: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{}, "passthrough", zod.ZodTypeAny, zod.objectOutputType<{}, zod.ZodTypeAny, "passthrough">, zod.objectInputType<{}, zod.ZodTypeAny, "passthrough">>, "many">>>;
|
|
879
|
+
temporal: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
|
|
880
|
+
lte: zod.ZodString;
|
|
881
|
+
gte: zod.ZodString;
|
|
882
|
+
}, "strip", zod.ZodTypeAny, {
|
|
883
|
+
lte: string;
|
|
884
|
+
gte: string;
|
|
885
|
+
}, {
|
|
886
|
+
lte: string;
|
|
887
|
+
gte: string;
|
|
888
|
+
}>, "many">>>;
|
|
889
|
+
identifier: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodString, "many">>>;
|
|
890
|
+
is_version_of: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodString, "many">>>;
|
|
891
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
892
|
+
distributions: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
|
|
893
|
+
id: zod.ZodString;
|
|
894
|
+
access_service: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
|
|
895
|
+
endpoint_url: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodString, "many">>>;
|
|
896
|
+
license: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
897
|
+
id: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
898
|
+
label: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
899
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
900
|
+
} & {
|
|
901
|
+
description: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
902
|
+
}, "strip", zod.ZodTypeAny, {
|
|
903
|
+
label?: string | null | undefined;
|
|
904
|
+
id?: string | null | undefined;
|
|
905
|
+
description?: string | null | undefined;
|
|
906
|
+
resource?: string | null | undefined;
|
|
907
|
+
}, {
|
|
908
|
+
label?: string | null | undefined;
|
|
909
|
+
id?: string | null | undefined;
|
|
910
|
+
description?: string | null | undefined;
|
|
911
|
+
resource?: string | null | undefined;
|
|
912
|
+
}>>>;
|
|
913
|
+
description: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
914
|
+
title: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
915
|
+
}, "strip", zod.ZodTypeAny, {
|
|
916
|
+
title?: Record<string, string> | null | undefined;
|
|
917
|
+
description?: Record<string, string> | null | undefined;
|
|
918
|
+
license?: {
|
|
919
|
+
label?: string | null | undefined;
|
|
920
|
+
id?: string | null | undefined;
|
|
921
|
+
description?: string | null | undefined;
|
|
922
|
+
resource?: string | null | undefined;
|
|
923
|
+
} | null | undefined;
|
|
924
|
+
endpoint_url?: string[] | null | undefined;
|
|
925
|
+
}, {
|
|
926
|
+
title?: Record<string, string> | null | undefined;
|
|
927
|
+
description?: Record<string, string> | null | undefined;
|
|
928
|
+
license?: {
|
|
929
|
+
label?: string | null | undefined;
|
|
930
|
+
id?: string | null | undefined;
|
|
931
|
+
description?: string | null | undefined;
|
|
932
|
+
resource?: string | null | undefined;
|
|
933
|
+
} | null | undefined;
|
|
934
|
+
endpoint_url?: string[] | null | undefined;
|
|
935
|
+
}>, "many">>>;
|
|
936
|
+
spatial_resolution_in_meters: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
|
|
937
|
+
format: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
938
|
+
id: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
939
|
+
label: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
940
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
941
|
+
}, "strip", zod.ZodTypeAny, {
|
|
942
|
+
label?: string | null | undefined;
|
|
943
|
+
id?: string | null | undefined;
|
|
944
|
+
resource?: string | null | undefined;
|
|
945
|
+
}, {
|
|
946
|
+
label?: string | null | undefined;
|
|
947
|
+
id?: string | null | undefined;
|
|
948
|
+
resource?: string | null | undefined;
|
|
949
|
+
}>>>;
|
|
950
|
+
issued: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
951
|
+
conforms_to: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
|
|
952
|
+
label: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
953
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
954
|
+
}, "strip", zod.ZodTypeAny, {
|
|
955
|
+
label?: string | null | undefined;
|
|
956
|
+
resource?: string | null | undefined;
|
|
957
|
+
}, {
|
|
958
|
+
label?: string | null | undefined;
|
|
959
|
+
resource?: string | null | undefined;
|
|
960
|
+
}>, "many">>>;
|
|
961
|
+
availability: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
962
|
+
label: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
963
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
964
|
+
}, "strip", zod.ZodTypeAny, {
|
|
965
|
+
label?: string | null | undefined;
|
|
966
|
+
resource?: string | null | undefined;
|
|
967
|
+
}, {
|
|
968
|
+
label?: string | null | undefined;
|
|
969
|
+
resource?: string | null | undefined;
|
|
970
|
+
}>>>;
|
|
971
|
+
status: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
972
|
+
label: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
973
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
974
|
+
}, "strip", zod.ZodTypeAny, {
|
|
975
|
+
label?: string | null | undefined;
|
|
976
|
+
resource?: string | null | undefined;
|
|
977
|
+
}, {
|
|
978
|
+
label?: string | null | undefined;
|
|
979
|
+
resource?: string | null | undefined;
|
|
980
|
+
}>>>;
|
|
981
|
+
temporal_resolution: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
982
|
+
media_type: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
983
|
+
rights: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
984
|
+
label: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
985
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
986
|
+
}, "strip", zod.ZodTypeAny, {
|
|
987
|
+
label?: string | null | undefined;
|
|
988
|
+
resource?: string | null | undefined;
|
|
989
|
+
}, {
|
|
990
|
+
label?: string | null | undefined;
|
|
991
|
+
resource?: string | null | undefined;
|
|
992
|
+
}>>>;
|
|
993
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
994
|
+
title: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
995
|
+
description: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
996
|
+
access_url: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodString, "many">>>;
|
|
997
|
+
download_url: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodString, "many">>>;
|
|
998
|
+
license: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
999
|
+
id: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1000
|
+
label: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1001
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1002
|
+
} & {
|
|
1003
|
+
description: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1004
|
+
}, "strip", zod.ZodTypeAny, {
|
|
1005
|
+
label?: string | null | undefined;
|
|
1006
|
+
id?: string | null | undefined;
|
|
1007
|
+
description?: string | null | undefined;
|
|
1008
|
+
resource?: string | null | undefined;
|
|
1009
|
+
}, {
|
|
1010
|
+
label?: string | null | undefined;
|
|
1011
|
+
id?: string | null | undefined;
|
|
1012
|
+
description?: string | null | undefined;
|
|
1013
|
+
resource?: string | null | undefined;
|
|
1014
|
+
}>>>;
|
|
1015
|
+
byte_size: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
|
|
1016
|
+
checksum: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
1017
|
+
algorithm: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1018
|
+
checksum_value: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1019
|
+
}, "strip", zod.ZodTypeAny, {
|
|
1020
|
+
algorithm?: string | null | undefined;
|
|
1021
|
+
checksum_value?: string | null | undefined;
|
|
1022
|
+
}, {
|
|
1023
|
+
algorithm?: string | null | undefined;
|
|
1024
|
+
checksum_value?: string | null | undefined;
|
|
1025
|
+
}>>>;
|
|
1026
|
+
language: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
|
|
1027
|
+
id: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1028
|
+
label: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1029
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1030
|
+
}, "strip", zod.ZodTypeAny, {
|
|
1031
|
+
label?: string | null | undefined;
|
|
1032
|
+
id?: string | null | undefined;
|
|
1033
|
+
resource?: string | null | undefined;
|
|
1034
|
+
}, {
|
|
1035
|
+
label?: string | null | undefined;
|
|
1036
|
+
id?: string | null | undefined;
|
|
1037
|
+
resource?: string | null | undefined;
|
|
1038
|
+
}>, "many">>>;
|
|
1039
|
+
modified: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1040
|
+
page: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
1041
|
+
title: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
1042
|
+
description: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
1043
|
+
format: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
1044
|
+
id: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1045
|
+
label: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1046
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1047
|
+
}, "strip", zod.ZodTypeAny, {
|
|
1048
|
+
label?: string | null | undefined;
|
|
1049
|
+
id?: string | null | undefined;
|
|
1050
|
+
resource?: string | null | undefined;
|
|
1051
|
+
}, {
|
|
1052
|
+
label?: string | null | undefined;
|
|
1053
|
+
id?: string | null | undefined;
|
|
1054
|
+
resource?: string | null | undefined;
|
|
1055
|
+
}>>>;
|
|
1056
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1057
|
+
}, "strip", zod.ZodTypeAny, {
|
|
1058
|
+
title?: Record<string, string> | null | undefined;
|
|
1059
|
+
description?: Record<string, string> | null | undefined;
|
|
1060
|
+
resource?: string | null | undefined;
|
|
1061
|
+
format?: {
|
|
1062
|
+
label?: string | null | undefined;
|
|
1063
|
+
id?: string | null | undefined;
|
|
1064
|
+
resource?: string | null | undefined;
|
|
1065
|
+
} | null | undefined;
|
|
1066
|
+
}, {
|
|
1067
|
+
title?: Record<string, string> | null | undefined;
|
|
1068
|
+
description?: Record<string, string> | null | undefined;
|
|
1069
|
+
resource?: string | null | undefined;
|
|
1070
|
+
format?: {
|
|
1071
|
+
label?: string | null | undefined;
|
|
1072
|
+
id?: string | null | undefined;
|
|
1073
|
+
resource?: string | null | undefined;
|
|
1074
|
+
} | null | undefined;
|
|
1075
|
+
}>>>, "many">>>;
|
|
1076
|
+
compress_format: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
1077
|
+
label: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1078
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1079
|
+
}, "strip", zod.ZodTypeAny, {
|
|
1080
|
+
label?: string | null | undefined;
|
|
1081
|
+
resource?: string | null | undefined;
|
|
1082
|
+
}, {
|
|
1083
|
+
label?: string | null | undefined;
|
|
1084
|
+
resource?: string | null | undefined;
|
|
1085
|
+
}>>>;
|
|
1086
|
+
package_format: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
1087
|
+
label: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1088
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1089
|
+
}, "strip", zod.ZodTypeAny, {
|
|
1090
|
+
label?: string | null | undefined;
|
|
1091
|
+
resource?: string | null | undefined;
|
|
1092
|
+
}, {
|
|
1093
|
+
label?: string | null | undefined;
|
|
1094
|
+
resource?: string | null | undefined;
|
|
1095
|
+
}>>>;
|
|
1096
|
+
has_policy: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1097
|
+
type: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
1098
|
+
label: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1099
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1100
|
+
}, "strip", zod.ZodTypeAny, {
|
|
1101
|
+
label?: string | null | undefined;
|
|
1102
|
+
resource?: string | null | undefined;
|
|
1103
|
+
}, {
|
|
1104
|
+
label?: string | null | undefined;
|
|
1105
|
+
resource?: string | null | undefined;
|
|
1106
|
+
}>>>;
|
|
1107
|
+
extended_metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodString, "many">>>;
|
|
1108
|
+
applicable_legislation: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
1109
|
+
id: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1110
|
+
label: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1111
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1112
|
+
}, "strip", zod.ZodTypeAny, {
|
|
1113
|
+
label?: string | null | undefined;
|
|
1114
|
+
id?: string | null | undefined;
|
|
1115
|
+
resource?: string | null | undefined;
|
|
1116
|
+
}, {
|
|
1117
|
+
label?: string | null | undefined;
|
|
1118
|
+
id?: string | null | undefined;
|
|
1119
|
+
resource?: string | null | undefined;
|
|
1120
|
+
}>>>, "many">>>;
|
|
1121
|
+
}, "strip", zod.ZodTypeAny, {
|
|
1122
|
+
id: string;
|
|
1123
|
+
type?: {
|
|
1124
|
+
label?: string | null | undefined;
|
|
1125
|
+
resource?: string | null | undefined;
|
|
1126
|
+
} | null | undefined;
|
|
1127
|
+
title?: Record<string, string> | null | undefined;
|
|
1128
|
+
status?: {
|
|
1129
|
+
label?: string | null | undefined;
|
|
1130
|
+
resource?: string | null | undefined;
|
|
1131
|
+
} | null | undefined;
|
|
1132
|
+
description?: Record<string, string> | null | undefined;
|
|
1133
|
+
resource?: string | null | undefined;
|
|
1134
|
+
language?: {
|
|
1135
|
+
label?: string | null | undefined;
|
|
1136
|
+
id?: string | null | undefined;
|
|
1137
|
+
resource?: string | null | undefined;
|
|
1138
|
+
}[] | null | undefined;
|
|
1139
|
+
license?: {
|
|
1140
|
+
label?: string | null | undefined;
|
|
1141
|
+
id?: string | null | undefined;
|
|
1142
|
+
description?: string | null | undefined;
|
|
1143
|
+
resource?: string | null | undefined;
|
|
1144
|
+
} | null | undefined;
|
|
1145
|
+
issued?: string | null | undefined;
|
|
1146
|
+
modified?: string | null | undefined;
|
|
1147
|
+
rights?: {
|
|
1148
|
+
label?: string | null | undefined;
|
|
1149
|
+
resource?: string | null | undefined;
|
|
1150
|
+
} | null | undefined;
|
|
1151
|
+
temporal_resolution?: string | null | undefined;
|
|
1152
|
+
access_service?: {
|
|
1153
|
+
title?: Record<string, string> | null | undefined;
|
|
1154
|
+
description?: Record<string, string> | null | undefined;
|
|
1155
|
+
license?: {
|
|
1156
|
+
label?: string | null | undefined;
|
|
1157
|
+
id?: string | null | undefined;
|
|
1158
|
+
description?: string | null | undefined;
|
|
1159
|
+
resource?: string | null | undefined;
|
|
1160
|
+
} | null | undefined;
|
|
1161
|
+
endpoint_url?: string[] | null | undefined;
|
|
1162
|
+
}[] | null | undefined;
|
|
1163
|
+
spatial_resolution_in_meters?: number | null | undefined;
|
|
1164
|
+
format?: {
|
|
1165
|
+
label?: string | null | undefined;
|
|
1166
|
+
id?: string | null | undefined;
|
|
1167
|
+
resource?: string | null | undefined;
|
|
1168
|
+
} | null | undefined;
|
|
1169
|
+
conforms_to?: {
|
|
1170
|
+
label?: string | null | undefined;
|
|
1171
|
+
resource?: string | null | undefined;
|
|
1172
|
+
}[] | null | undefined;
|
|
1173
|
+
availability?: {
|
|
1174
|
+
label?: string | null | undefined;
|
|
1175
|
+
resource?: string | null | undefined;
|
|
1176
|
+
} | null | undefined;
|
|
1177
|
+
media_type?: string | null | undefined;
|
|
1178
|
+
access_url?: string[] | null | undefined;
|
|
1179
|
+
download_url?: string[] | null | undefined;
|
|
1180
|
+
byte_size?: number | null | undefined;
|
|
1181
|
+
checksum?: {
|
|
1182
|
+
algorithm?: string | null | undefined;
|
|
1183
|
+
checksum_value?: string | null | undefined;
|
|
1184
|
+
} | null | undefined;
|
|
1185
|
+
page?: ({
|
|
1186
|
+
title?: Record<string, string> | null | undefined;
|
|
1187
|
+
description?: Record<string, string> | null | undefined;
|
|
1188
|
+
resource?: string | null | undefined;
|
|
1189
|
+
format?: {
|
|
1190
|
+
label?: string | null | undefined;
|
|
1191
|
+
id?: string | null | undefined;
|
|
1192
|
+
resource?: string | null | undefined;
|
|
1193
|
+
} | null | undefined;
|
|
1194
|
+
} | null | undefined)[] | null | undefined;
|
|
1195
|
+
compress_format?: {
|
|
1196
|
+
label?: string | null | undefined;
|
|
1197
|
+
resource?: string | null | undefined;
|
|
1198
|
+
} | null | undefined;
|
|
1199
|
+
package_format?: {
|
|
1200
|
+
label?: string | null | undefined;
|
|
1201
|
+
resource?: string | null | undefined;
|
|
1202
|
+
} | null | undefined;
|
|
1203
|
+
has_policy?: string | null | undefined;
|
|
1204
|
+
extended_metadata?: string[] | null | undefined;
|
|
1205
|
+
applicable_legislation?: ({
|
|
1206
|
+
label?: string | null | undefined;
|
|
1207
|
+
id?: string | null | undefined;
|
|
1208
|
+
resource?: string | null | undefined;
|
|
1209
|
+
} | null | undefined)[] | null | undefined;
|
|
1210
|
+
}, {
|
|
1211
|
+
id: string;
|
|
1212
|
+
type?: {
|
|
1213
|
+
label?: string | null | undefined;
|
|
1214
|
+
resource?: string | null | undefined;
|
|
1215
|
+
} | null | undefined;
|
|
1216
|
+
title?: Record<string, string> | null | undefined;
|
|
1217
|
+
status?: {
|
|
1218
|
+
label?: string | null | undefined;
|
|
1219
|
+
resource?: string | null | undefined;
|
|
1220
|
+
} | null | undefined;
|
|
1221
|
+
description?: Record<string, string> | null | undefined;
|
|
1222
|
+
resource?: string | null | undefined;
|
|
1223
|
+
language?: {
|
|
1224
|
+
label?: string | null | undefined;
|
|
1225
|
+
id?: string | null | undefined;
|
|
1226
|
+
resource?: string | null | undefined;
|
|
1227
|
+
}[] | null | undefined;
|
|
1228
|
+
license?: {
|
|
1229
|
+
label?: string | null | undefined;
|
|
1230
|
+
id?: string | null | undefined;
|
|
1231
|
+
description?: string | null | undefined;
|
|
1232
|
+
resource?: string | null | undefined;
|
|
1233
|
+
} | null | undefined;
|
|
1234
|
+
issued?: string | null | undefined;
|
|
1235
|
+
modified?: string | null | undefined;
|
|
1236
|
+
rights?: {
|
|
1237
|
+
label?: string | null | undefined;
|
|
1238
|
+
resource?: string | null | undefined;
|
|
1239
|
+
} | null | undefined;
|
|
1240
|
+
temporal_resolution?: string | null | undefined;
|
|
1241
|
+
access_service?: {
|
|
1242
|
+
title?: Record<string, string> | null | undefined;
|
|
1243
|
+
description?: Record<string, string> | null | undefined;
|
|
1244
|
+
license?: {
|
|
1245
|
+
label?: string | null | undefined;
|
|
1246
|
+
id?: string | null | undefined;
|
|
1247
|
+
description?: string | null | undefined;
|
|
1248
|
+
resource?: string | null | undefined;
|
|
1249
|
+
} | null | undefined;
|
|
1250
|
+
endpoint_url?: string[] | null | undefined;
|
|
1251
|
+
}[] | null | undefined;
|
|
1252
|
+
spatial_resolution_in_meters?: number | null | undefined;
|
|
1253
|
+
format?: {
|
|
1254
|
+
label?: string | null | undefined;
|
|
1255
|
+
id?: string | null | undefined;
|
|
1256
|
+
resource?: string | null | undefined;
|
|
1257
|
+
} | null | undefined;
|
|
1258
|
+
conforms_to?: {
|
|
1259
|
+
label?: string | null | undefined;
|
|
1260
|
+
resource?: string | null | undefined;
|
|
1261
|
+
}[] | null | undefined;
|
|
1262
|
+
availability?: {
|
|
1263
|
+
label?: string | null | undefined;
|
|
1264
|
+
resource?: string | null | undefined;
|
|
1265
|
+
} | null | undefined;
|
|
1266
|
+
media_type?: string | null | undefined;
|
|
1267
|
+
access_url?: string[] | null | undefined;
|
|
1268
|
+
download_url?: string[] | null | undefined;
|
|
1269
|
+
byte_size?: number | null | undefined;
|
|
1270
|
+
checksum?: {
|
|
1271
|
+
algorithm?: string | null | undefined;
|
|
1272
|
+
checksum_value?: string | null | undefined;
|
|
1273
|
+
} | null | undefined;
|
|
1274
|
+
page?: ({
|
|
1275
|
+
title?: Record<string, string> | null | undefined;
|
|
1276
|
+
description?: Record<string, string> | null | undefined;
|
|
1277
|
+
resource?: string | null | undefined;
|
|
1278
|
+
format?: {
|
|
1279
|
+
label?: string | null | undefined;
|
|
1280
|
+
id?: string | null | undefined;
|
|
1281
|
+
resource?: string | null | undefined;
|
|
1282
|
+
} | null | undefined;
|
|
1283
|
+
} | null | undefined)[] | null | undefined;
|
|
1284
|
+
compress_format?: {
|
|
1285
|
+
label?: string | null | undefined;
|
|
1286
|
+
resource?: string | null | undefined;
|
|
1287
|
+
} | null | undefined;
|
|
1288
|
+
package_format?: {
|
|
1289
|
+
label?: string | null | undefined;
|
|
1290
|
+
resource?: string | null | undefined;
|
|
1291
|
+
} | null | undefined;
|
|
1292
|
+
has_policy?: string | null | undefined;
|
|
1293
|
+
extended_metadata?: string[] | null | undefined;
|
|
1294
|
+
applicable_legislation?: ({
|
|
1295
|
+
label?: string | null | undefined;
|
|
1296
|
+
id?: string | null | undefined;
|
|
1297
|
+
resource?: string | null | undefined;
|
|
1298
|
+
} | null | undefined)[] | null | undefined;
|
|
1299
|
+
}>, "many">>>;
|
|
1300
|
+
is_referenced_by: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodString, "many">>>;
|
|
1301
|
+
quality_meas: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
1302
|
+
scoring: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
|
|
1303
|
+
}, "strip", zod.ZodTypeAny, {
|
|
1304
|
+
scoring?: number | null | undefined;
|
|
1305
|
+
}, {
|
|
1306
|
+
scoring?: number | null | undefined;
|
|
1307
|
+
}>>>;
|
|
1308
|
+
publisher: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
1309
|
+
name: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1310
|
+
type: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1311
|
+
email: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1312
|
+
homepage: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1313
|
+
}, "strip", zod.ZodTypeAny, {
|
|
1314
|
+
type?: string | null | undefined;
|
|
1315
|
+
name?: string | null | undefined;
|
|
1316
|
+
email?: string | null | undefined;
|
|
1317
|
+
homepage?: string | null | undefined;
|
|
1318
|
+
}, {
|
|
1319
|
+
type?: string | null | undefined;
|
|
1320
|
+
name?: string | null | undefined;
|
|
1321
|
+
email?: string | null | undefined;
|
|
1322
|
+
homepage?: string | null | undefined;
|
|
1323
|
+
}>>>;
|
|
1324
|
+
was_generated_by: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodString, "many">>>;
|
|
1325
|
+
page: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
|
|
1326
|
+
has_quality_annotation: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodString, "many">>>;
|
|
1327
|
+
spatial_resolution_in_meters: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
|
|
1328
|
+
catalog_record: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
1329
|
+
issued: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1330
|
+
modified: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1331
|
+
}, "strip", zod.ZodTypeAny, {
|
|
1332
|
+
issued?: string | null | undefined;
|
|
1333
|
+
modified?: string | null | undefined;
|
|
1334
|
+
}, {
|
|
1335
|
+
issued?: string | null | undefined;
|
|
1336
|
+
modified?: string | null | undefined;
|
|
1337
|
+
}>>>;
|
|
1338
|
+
contact_point: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
|
|
1339
|
+
organisation_name: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1340
|
+
name: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1341
|
+
address: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1342
|
+
telephone: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1343
|
+
url: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodString, "many">>>;
|
|
1344
|
+
type: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1345
|
+
email: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1346
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1347
|
+
}, "strip", zod.ZodTypeAny, {
|
|
1348
|
+
type?: string | null | undefined;
|
|
1349
|
+
name?: string | null | undefined;
|
|
1350
|
+
address?: string | null | undefined;
|
|
1351
|
+
resource?: string | null | undefined;
|
|
1352
|
+
email?: string | null | undefined;
|
|
1353
|
+
organisation_name?: string | null | undefined;
|
|
1354
|
+
telephone?: string | null | undefined;
|
|
1355
|
+
url?: string[] | null | undefined;
|
|
1356
|
+
}, {
|
|
1357
|
+
type?: string | null | undefined;
|
|
1358
|
+
name?: string | null | undefined;
|
|
1359
|
+
address?: string | null | undefined;
|
|
1360
|
+
resource?: string | null | undefined;
|
|
1361
|
+
email?: string | null | undefined;
|
|
1362
|
+
organisation_name?: string | null | undefined;
|
|
1363
|
+
telephone?: string | null | undefined;
|
|
1364
|
+
url?: string[] | null | undefined;
|
|
1365
|
+
}>, "many">>>;
|
|
1366
|
+
translation_meta: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
1367
|
+
details: zod.ZodRecord<zod.ZodString, zod.ZodObject<{
|
|
1368
|
+
machine_translated: zod.ZodBoolean;
|
|
1369
|
+
}, "strip", zod.ZodTypeAny, {
|
|
1370
|
+
machine_translated: boolean;
|
|
1371
|
+
}, {
|
|
1372
|
+
machine_translated: boolean;
|
|
1373
|
+
}>>;
|
|
1374
|
+
full_available_languages: zod.ZodArray<zod.ZodString, "many">;
|
|
1375
|
+
status: zod.ZodString;
|
|
1376
|
+
}, "strip", zod.ZodTypeAny, {
|
|
1377
|
+
details: Record<string, {
|
|
1378
|
+
machine_translated: boolean;
|
|
1379
|
+
}>;
|
|
1380
|
+
status: string;
|
|
1381
|
+
full_available_languages: string[];
|
|
1382
|
+
}, {
|
|
1383
|
+
details: Record<string, {
|
|
1384
|
+
machine_translated: boolean;
|
|
1385
|
+
}>;
|
|
1386
|
+
status: string;
|
|
1387
|
+
full_available_languages: string[];
|
|
1388
|
+
}>>>;
|
|
1389
|
+
version_notes: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
1390
|
+
has_version: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodString, "many">>>;
|
|
1391
|
+
accrual_periodicity: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
1392
|
+
id: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1393
|
+
label: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1394
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1395
|
+
}, "strip", zod.ZodTypeAny, {
|
|
1396
|
+
label?: string | null | undefined;
|
|
1397
|
+
id?: string | null | undefined;
|
|
1398
|
+
resource?: string | null | undefined;
|
|
1399
|
+
}, {
|
|
1400
|
+
label?: string | null | undefined;
|
|
1401
|
+
id?: string | null | undefined;
|
|
1402
|
+
resource?: string | null | undefined;
|
|
1403
|
+
}>>>;
|
|
1404
|
+
geocoding_description: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
|
|
1405
|
+
access_right: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
1406
|
+
id: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1407
|
+
label: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1408
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1409
|
+
}, "strip", zod.ZodTypeAny, {
|
|
1410
|
+
label?: string | null | undefined;
|
|
1411
|
+
id?: string | null | undefined;
|
|
1412
|
+
resource?: string | null | undefined;
|
|
1413
|
+
}, {
|
|
1414
|
+
label?: string | null | undefined;
|
|
1415
|
+
id?: string | null | undefined;
|
|
1416
|
+
resource?: string | null | undefined;
|
|
1417
|
+
}>>>;
|
|
1418
|
+
provenance: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
|
|
1419
|
+
id: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1420
|
+
label: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1421
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1422
|
+
}, "strip", zod.ZodTypeAny, {
|
|
1423
|
+
label?: string | null | undefined;
|
|
1424
|
+
id?: string | null | undefined;
|
|
1425
|
+
resource?: string | null | undefined;
|
|
1426
|
+
}, {
|
|
1427
|
+
label?: string | null | undefined;
|
|
1428
|
+
id?: string | null | undefined;
|
|
1429
|
+
resource?: string | null | undefined;
|
|
1430
|
+
}>, "many">>>;
|
|
1431
|
+
categories: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
|
|
1432
|
+
resource: zod.ZodString;
|
|
1433
|
+
id: zod.ZodString;
|
|
1434
|
+
label: zod.ZodRecord<zod.ZodString, zod.ZodString>;
|
|
1435
|
+
}, "strip", zod.ZodTypeAny, {
|
|
1436
|
+
label: Record<string, string>;
|
|
1437
|
+
id: string;
|
|
1438
|
+
resource: string;
|
|
1439
|
+
}, {
|
|
1440
|
+
label: Record<string, string>;
|
|
1441
|
+
id: string;
|
|
1442
|
+
resource: string;
|
|
1443
|
+
}>, "many">>>;
|
|
1444
|
+
adms_identifier: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
|
|
1445
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1446
|
+
identifier: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1447
|
+
scheme: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1448
|
+
}, "strip", zod.ZodTypeAny, {
|
|
1449
|
+
resource?: string | null | undefined;
|
|
1450
|
+
identifier?: string | null | undefined;
|
|
1451
|
+
scheme?: string | null | undefined;
|
|
1452
|
+
}, {
|
|
1453
|
+
resource?: string | null | undefined;
|
|
1454
|
+
identifier?: string | null | undefined;
|
|
1455
|
+
scheme?: string | null | undefined;
|
|
1456
|
+
}>, "many">>>;
|
|
1457
|
+
attribute: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodString, "many">>>;
|
|
1458
|
+
deadline: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
|
|
1459
|
+
qualified_attribution: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodString, "many">>>;
|
|
1460
|
+
dimension: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodString, "many">>>;
|
|
1461
|
+
creator: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
1462
|
+
name: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1463
|
+
type: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1464
|
+
email: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1465
|
+
homepage: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1466
|
+
}, "strip", zod.ZodTypeAny, {
|
|
1467
|
+
type?: string | null | undefined;
|
|
1468
|
+
name?: string | null | undefined;
|
|
1469
|
+
email?: string | null | undefined;
|
|
1470
|
+
homepage?: string | null | undefined;
|
|
1471
|
+
}, {
|
|
1472
|
+
type?: string | null | undefined;
|
|
1473
|
+
name?: string | null | undefined;
|
|
1474
|
+
email?: string | null | undefined;
|
|
1475
|
+
homepage?: string | null | undefined;
|
|
1476
|
+
}>>>;
|
|
1477
|
+
landing_page: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
|
|
1478
|
+
id: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1479
|
+
label: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1480
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1481
|
+
}, "strip", zod.ZodTypeAny, {
|
|
1482
|
+
label?: string | null | undefined;
|
|
1483
|
+
id?: string | null | undefined;
|
|
1484
|
+
resource?: string | null | undefined;
|
|
1485
|
+
}, {
|
|
1486
|
+
label?: string | null | undefined;
|
|
1487
|
+
id?: string | null | undefined;
|
|
1488
|
+
resource?: string | null | undefined;
|
|
1489
|
+
}>, "many">>>;
|
|
1490
|
+
version_info: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
|
|
1491
|
+
sample: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodString, "many">>>;
|
|
1492
|
+
extended_metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
|
|
1493
|
+
conforms_to: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
|
|
1494
|
+
id: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1495
|
+
label: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1496
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1497
|
+
}, "strip", zod.ZodTypeAny, {
|
|
1498
|
+
label?: string | null | undefined;
|
|
1499
|
+
id?: string | null | undefined;
|
|
1500
|
+
resource?: string | null | undefined;
|
|
1501
|
+
}, {
|
|
1502
|
+
label?: string | null | undefined;
|
|
1503
|
+
id?: string | null | undefined;
|
|
1504
|
+
resource?: string | null | undefined;
|
|
1505
|
+
}>, "many">>>;
|
|
1506
|
+
num_series: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
|
|
1507
|
+
is_hvd: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
|
|
1508
|
+
applicable_legislation: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
|
|
1509
|
+
id: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1510
|
+
label: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1511
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1512
|
+
}, "strip", zod.ZodTypeAny, {
|
|
1513
|
+
label?: string | null | undefined;
|
|
1514
|
+
id?: string | null | undefined;
|
|
1515
|
+
resource?: string | null | undefined;
|
|
1516
|
+
}, {
|
|
1517
|
+
label?: string | null | undefined;
|
|
1518
|
+
id?: string | null | undefined;
|
|
1519
|
+
resource?: string | null | undefined;
|
|
1520
|
+
}>, "many">>>;
|
|
1521
|
+
hvd_category: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
|
|
1522
|
+
id: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1523
|
+
label: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1524
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1525
|
+
}, "strip", zod.ZodTypeAny, {
|
|
1526
|
+
label?: string | null | undefined;
|
|
1527
|
+
id?: string | null | undefined;
|
|
1528
|
+
resource?: string | null | undefined;
|
|
1529
|
+
}, {
|
|
1530
|
+
label?: string | null | undefined;
|
|
1531
|
+
id?: string | null | undefined;
|
|
1532
|
+
resource?: string | null | undefined;
|
|
1533
|
+
}>, "many">>>;
|
|
1534
|
+
}, "strip", zod.ZodTypeAny, {
|
|
1535
|
+
id: string;
|
|
1536
|
+
catalog: {
|
|
1537
|
+
id: string;
|
|
1538
|
+
title?: Record<string, string> | null | undefined;
|
|
1539
|
+
description?: Record<string, string> | null | undefined;
|
|
1540
|
+
country?: {
|
|
1541
|
+
label?: string | null | undefined;
|
|
1542
|
+
id?: string | null | undefined;
|
|
1543
|
+
resource?: string | null | undefined;
|
|
1544
|
+
} | null | undefined;
|
|
1545
|
+
language?: {
|
|
1546
|
+
label?: string | null | undefined;
|
|
1547
|
+
id?: string | null | undefined;
|
|
1548
|
+
resource?: string | null | undefined;
|
|
1549
|
+
}[] | null | undefined;
|
|
1550
|
+
license?: {
|
|
1551
|
+
label?: string | null | undefined;
|
|
1552
|
+
id?: string | null | undefined;
|
|
1553
|
+
description?: string | null | undefined;
|
|
1554
|
+
resource?: string | null | undefined;
|
|
1555
|
+
} | null | undefined;
|
|
1556
|
+
homepage?: string | null | undefined;
|
|
1557
|
+
publisher?: {
|
|
1558
|
+
type?: string | null | undefined;
|
|
1559
|
+
name?: string | null | undefined;
|
|
1560
|
+
email?: string | null | undefined;
|
|
1561
|
+
homepage?: string | null | undefined;
|
|
1562
|
+
} | null | undefined;
|
|
1563
|
+
issued?: string | null | undefined;
|
|
1564
|
+
modified?: string | null | undefined;
|
|
1565
|
+
spatial?: any[] | null | undefined;
|
|
1566
|
+
spatial_resource?: any;
|
|
1567
|
+
theme_taxonomy?: any;
|
|
1568
|
+
catalog?: any;
|
|
1569
|
+
has_part?: any;
|
|
1570
|
+
is_part_of?: any;
|
|
1571
|
+
creator?: any;
|
|
1572
|
+
rights?: any;
|
|
1573
|
+
count?: number | null | undefined;
|
|
1574
|
+
};
|
|
1575
|
+
type?: {
|
|
1576
|
+
label?: string | null | undefined;
|
|
1577
|
+
id?: string | null | undefined;
|
|
1578
|
+
resource?: string | null | undefined;
|
|
1579
|
+
} | null | undefined;
|
|
1580
|
+
source?: string[] | null | undefined;
|
|
1581
|
+
title?: Record<string, string> | null | undefined;
|
|
1582
|
+
description?: Record<string, string> | null | undefined;
|
|
1583
|
+
resource?: string | null | undefined;
|
|
1584
|
+
country?: {
|
|
1585
|
+
label?: string | null | undefined;
|
|
1586
|
+
id?: string | null | undefined;
|
|
1587
|
+
resource?: string | null | undefined;
|
|
1588
|
+
} | null | undefined;
|
|
1589
|
+
language?: {
|
|
1590
|
+
label?: string | null | undefined;
|
|
1591
|
+
id?: string | null | undefined;
|
|
1592
|
+
resource?: string | null | undefined;
|
|
1593
|
+
}[] | null | undefined;
|
|
1594
|
+
keywords?: {
|
|
1595
|
+
label: string;
|
|
1596
|
+
id: string;
|
|
1597
|
+
language: string;
|
|
1598
|
+
}[] | null | undefined;
|
|
1599
|
+
license?: {
|
|
1600
|
+
label?: string | null | undefined;
|
|
1601
|
+
id?: string | null | undefined;
|
|
1602
|
+
description?: string | null | undefined;
|
|
1603
|
+
resource?: string | null | undefined;
|
|
1604
|
+
} | null | undefined;
|
|
1605
|
+
publisher?: {
|
|
1606
|
+
type?: string | null | undefined;
|
|
1607
|
+
name?: string | null | undefined;
|
|
1608
|
+
email?: string | null | undefined;
|
|
1609
|
+
homepage?: string | null | undefined;
|
|
1610
|
+
} | null | undefined;
|
|
1611
|
+
issued?: string | null | undefined;
|
|
1612
|
+
modified?: string | null | undefined;
|
|
1613
|
+
spatial?: zod.objectOutputType<{}, zod.ZodTypeAny, "passthrough">[] | null | undefined;
|
|
1614
|
+
spatial_resource?: any;
|
|
1615
|
+
creator?: {
|
|
1616
|
+
type?: string | null | undefined;
|
|
1617
|
+
name?: string | null | undefined;
|
|
1618
|
+
email?: string | null | undefined;
|
|
1619
|
+
homepage?: string | null | undefined;
|
|
1620
|
+
} | null | undefined;
|
|
1621
|
+
subject?: {
|
|
1622
|
+
label?: string | null | undefined;
|
|
1623
|
+
resource?: string | null | undefined;
|
|
1624
|
+
}[] | null | undefined;
|
|
1625
|
+
temporal_resolution?: string | null | undefined;
|
|
1626
|
+
relation?: string[] | null | undefined;
|
|
1627
|
+
legal_basis?: Record<string, string> | null | undefined;
|
|
1628
|
+
stat_unit_measure?: string[] | null | undefined;
|
|
1629
|
+
qualified_relation?: {
|
|
1630
|
+
relation?: string[] | null | undefined;
|
|
1631
|
+
had_role?: string[] | null | undefined;
|
|
1632
|
+
}[] | null | undefined;
|
|
1633
|
+
temporal?: {
|
|
1634
|
+
lte: string;
|
|
1635
|
+
gte: string;
|
|
1636
|
+
}[] | null | undefined;
|
|
1637
|
+
identifier?: string[] | null | undefined;
|
|
1638
|
+
is_version_of?: string[] | null | undefined;
|
|
1639
|
+
spatial_resolution_in_meters?: any;
|
|
1640
|
+
conforms_to?: {
|
|
1641
|
+
label?: string | null | undefined;
|
|
1642
|
+
id?: string | null | undefined;
|
|
1643
|
+
resource?: string | null | undefined;
|
|
1644
|
+
}[] | null | undefined;
|
|
1645
|
+
page?: any;
|
|
1646
|
+
extended_metadata?: any;
|
|
1647
|
+
applicable_legislation?: {
|
|
1648
|
+
label?: string | null | undefined;
|
|
1649
|
+
id?: string | null | undefined;
|
|
1650
|
+
resource?: string | null | undefined;
|
|
1651
|
+
}[] | null | undefined;
|
|
1652
|
+
distributions?: {
|
|
1653
|
+
id: string;
|
|
1654
|
+
type?: {
|
|
1655
|
+
label?: string | null | undefined;
|
|
1656
|
+
resource?: string | null | undefined;
|
|
1657
|
+
} | null | undefined;
|
|
1658
|
+
title?: Record<string, string> | null | undefined;
|
|
1659
|
+
status?: {
|
|
1660
|
+
label?: string | null | undefined;
|
|
1661
|
+
resource?: string | null | undefined;
|
|
1662
|
+
} | null | undefined;
|
|
1663
|
+
description?: Record<string, string> | null | undefined;
|
|
1664
|
+
resource?: string | null | undefined;
|
|
1665
|
+
language?: {
|
|
1666
|
+
label?: string | null | undefined;
|
|
1667
|
+
id?: string | null | undefined;
|
|
1668
|
+
resource?: string | null | undefined;
|
|
1669
|
+
}[] | null | undefined;
|
|
1670
|
+
license?: {
|
|
1671
|
+
label?: string | null | undefined;
|
|
1672
|
+
id?: string | null | undefined;
|
|
1673
|
+
description?: string | null | undefined;
|
|
1674
|
+
resource?: string | null | undefined;
|
|
1675
|
+
} | null | undefined;
|
|
1676
|
+
issued?: string | null | undefined;
|
|
1677
|
+
modified?: string | null | undefined;
|
|
1678
|
+
rights?: {
|
|
1679
|
+
label?: string | null | undefined;
|
|
1680
|
+
resource?: string | null | undefined;
|
|
1681
|
+
} | null | undefined;
|
|
1682
|
+
temporal_resolution?: string | null | undefined;
|
|
1683
|
+
access_service?: {
|
|
1684
|
+
title?: Record<string, string> | null | undefined;
|
|
1685
|
+
description?: Record<string, string> | null | undefined;
|
|
1686
|
+
license?: {
|
|
1687
|
+
label?: string | null | undefined;
|
|
1688
|
+
id?: string | null | undefined;
|
|
1689
|
+
description?: string | null | undefined;
|
|
1690
|
+
resource?: string | null | undefined;
|
|
1691
|
+
} | null | undefined;
|
|
1692
|
+
endpoint_url?: string[] | null | undefined;
|
|
1693
|
+
}[] | null | undefined;
|
|
1694
|
+
spatial_resolution_in_meters?: number | null | undefined;
|
|
1695
|
+
format?: {
|
|
1696
|
+
label?: string | null | undefined;
|
|
1697
|
+
id?: string | null | undefined;
|
|
1698
|
+
resource?: string | null | undefined;
|
|
1699
|
+
} | null | undefined;
|
|
1700
|
+
conforms_to?: {
|
|
1701
|
+
label?: string | null | undefined;
|
|
1702
|
+
resource?: string | null | undefined;
|
|
1703
|
+
}[] | null | undefined;
|
|
1704
|
+
availability?: {
|
|
1705
|
+
label?: string | null | undefined;
|
|
1706
|
+
resource?: string | null | undefined;
|
|
1707
|
+
} | null | undefined;
|
|
1708
|
+
media_type?: string | null | undefined;
|
|
1709
|
+
access_url?: string[] | null | undefined;
|
|
1710
|
+
download_url?: string[] | null | undefined;
|
|
1711
|
+
byte_size?: number | null | undefined;
|
|
1712
|
+
checksum?: {
|
|
1713
|
+
algorithm?: string | null | undefined;
|
|
1714
|
+
checksum_value?: string | null | undefined;
|
|
1715
|
+
} | null | undefined;
|
|
1716
|
+
page?: ({
|
|
1717
|
+
title?: Record<string, string> | null | undefined;
|
|
1718
|
+
description?: Record<string, string> | null | undefined;
|
|
1719
|
+
resource?: string | null | undefined;
|
|
1720
|
+
format?: {
|
|
1721
|
+
label?: string | null | undefined;
|
|
1722
|
+
id?: string | null | undefined;
|
|
1723
|
+
resource?: string | null | undefined;
|
|
1724
|
+
} | null | undefined;
|
|
1725
|
+
} | null | undefined)[] | null | undefined;
|
|
1726
|
+
compress_format?: {
|
|
1727
|
+
label?: string | null | undefined;
|
|
1728
|
+
resource?: string | null | undefined;
|
|
1729
|
+
} | null | undefined;
|
|
1730
|
+
package_format?: {
|
|
1731
|
+
label?: string | null | undefined;
|
|
1732
|
+
resource?: string | null | undefined;
|
|
1733
|
+
} | null | undefined;
|
|
1734
|
+
has_policy?: string | null | undefined;
|
|
1735
|
+
extended_metadata?: string[] | null | undefined;
|
|
1736
|
+
applicable_legislation?: ({
|
|
1737
|
+
label?: string | null | undefined;
|
|
1738
|
+
id?: string | null | undefined;
|
|
1739
|
+
resource?: string | null | undefined;
|
|
1740
|
+
} | null | undefined)[] | null | undefined;
|
|
1741
|
+
}[] | null | undefined;
|
|
1742
|
+
is_referenced_by?: string[] | null | undefined;
|
|
1743
|
+
quality_meas?: {
|
|
1744
|
+
scoring?: number | null | undefined;
|
|
1745
|
+
} | null | undefined;
|
|
1746
|
+
was_generated_by?: string[] | null | undefined;
|
|
1747
|
+
has_quality_annotation?: string[] | null | undefined;
|
|
1748
|
+
catalog_record?: {
|
|
1749
|
+
issued?: string | null | undefined;
|
|
1750
|
+
modified?: string | null | undefined;
|
|
1751
|
+
} | null | undefined;
|
|
1752
|
+
contact_point?: {
|
|
1753
|
+
type?: string | null | undefined;
|
|
1754
|
+
name?: string | null | undefined;
|
|
1755
|
+
address?: string | null | undefined;
|
|
1756
|
+
resource?: string | null | undefined;
|
|
1757
|
+
email?: string | null | undefined;
|
|
1758
|
+
organisation_name?: string | null | undefined;
|
|
1759
|
+
telephone?: string | null | undefined;
|
|
1760
|
+
url?: string[] | null | undefined;
|
|
1761
|
+
}[] | null | undefined;
|
|
1762
|
+
translation_meta?: {
|
|
1763
|
+
details: Record<string, {
|
|
1764
|
+
machine_translated: boolean;
|
|
1765
|
+
}>;
|
|
1766
|
+
status: string;
|
|
1767
|
+
full_available_languages: string[];
|
|
1768
|
+
} | null | undefined;
|
|
1769
|
+
version_notes?: Record<string, string> | null | undefined;
|
|
1770
|
+
has_version?: string[] | null | undefined;
|
|
1771
|
+
accrual_periodicity?: {
|
|
1772
|
+
label?: string | null | undefined;
|
|
1773
|
+
id?: string | null | undefined;
|
|
1774
|
+
resource?: string | null | undefined;
|
|
1775
|
+
} | null | undefined;
|
|
1776
|
+
geocoding_description?: any;
|
|
1777
|
+
access_right?: {
|
|
1778
|
+
label?: string | null | undefined;
|
|
1779
|
+
id?: string | null | undefined;
|
|
1780
|
+
resource?: string | null | undefined;
|
|
1781
|
+
} | null | undefined;
|
|
1782
|
+
provenance?: {
|
|
1783
|
+
label?: string | null | undefined;
|
|
1784
|
+
id?: string | null | undefined;
|
|
1785
|
+
resource?: string | null | undefined;
|
|
1786
|
+
}[] | null | undefined;
|
|
1787
|
+
categories?: {
|
|
1788
|
+
label: Record<string, string>;
|
|
1789
|
+
id: string;
|
|
1790
|
+
resource: string;
|
|
1791
|
+
}[] | null | undefined;
|
|
1792
|
+
adms_identifier?: {
|
|
1793
|
+
resource?: string | null | undefined;
|
|
1794
|
+
identifier?: string | null | undefined;
|
|
1795
|
+
scheme?: string | null | undefined;
|
|
1796
|
+
}[] | null | undefined;
|
|
1797
|
+
attribute?: string[] | null | undefined;
|
|
1798
|
+
deadline?: any;
|
|
1799
|
+
qualified_attribution?: string[] | null | undefined;
|
|
1800
|
+
dimension?: string[] | null | undefined;
|
|
1801
|
+
landing_page?: {
|
|
1802
|
+
label?: string | null | undefined;
|
|
1803
|
+
id?: string | null | undefined;
|
|
1804
|
+
resource?: string | null | undefined;
|
|
1805
|
+
}[] | null | undefined;
|
|
1806
|
+
version_info?: any;
|
|
1807
|
+
sample?: string[] | null | undefined;
|
|
1808
|
+
num_series?: number | null | undefined;
|
|
1809
|
+
is_hvd?: boolean | null | undefined;
|
|
1810
|
+
hvd_category?: {
|
|
1811
|
+
label?: string | null | undefined;
|
|
1812
|
+
id?: string | null | undefined;
|
|
1813
|
+
resource?: string | null | undefined;
|
|
1814
|
+
}[] | null | undefined;
|
|
1815
|
+
}, {
|
|
1816
|
+
id: string;
|
|
1817
|
+
catalog: {
|
|
1818
|
+
id: string;
|
|
1819
|
+
title?: Record<string, string> | null | undefined;
|
|
1820
|
+
description?: Record<string, string> | null | undefined;
|
|
1821
|
+
country?: {
|
|
1822
|
+
label?: string | null | undefined;
|
|
1823
|
+
id?: string | null | undefined;
|
|
1824
|
+
resource?: string | null | undefined;
|
|
1825
|
+
} | null | undefined;
|
|
1826
|
+
language?: {
|
|
1827
|
+
label?: string | null | undefined;
|
|
1828
|
+
id?: string | null | undefined;
|
|
1829
|
+
resource?: string | null | undefined;
|
|
1830
|
+
}[] | null | undefined;
|
|
1831
|
+
license?: {
|
|
1832
|
+
label?: string | null | undefined;
|
|
1833
|
+
id?: string | null | undefined;
|
|
1834
|
+
description?: string | null | undefined;
|
|
1835
|
+
resource?: string | null | undefined;
|
|
1836
|
+
} | null | undefined;
|
|
1837
|
+
homepage?: string | null | undefined;
|
|
1838
|
+
publisher?: {
|
|
1839
|
+
type?: string | null | undefined;
|
|
1840
|
+
name?: string | null | undefined;
|
|
1841
|
+
email?: string | null | undefined;
|
|
1842
|
+
homepage?: string | null | undefined;
|
|
1843
|
+
} | null | undefined;
|
|
1844
|
+
issued?: string | null | undefined;
|
|
1845
|
+
modified?: string | null | undefined;
|
|
1846
|
+
spatial?: any[] | null | undefined;
|
|
1847
|
+
spatial_resource?: any;
|
|
1848
|
+
theme_taxonomy?: any;
|
|
1849
|
+
catalog?: any;
|
|
1850
|
+
has_part?: any;
|
|
1851
|
+
is_part_of?: any;
|
|
1852
|
+
creator?: any;
|
|
1853
|
+
rights?: any;
|
|
1854
|
+
count?: number | null | undefined;
|
|
1855
|
+
};
|
|
1856
|
+
type?: {
|
|
1857
|
+
label?: string | null | undefined;
|
|
1858
|
+
id?: string | null | undefined;
|
|
1859
|
+
resource?: string | null | undefined;
|
|
1860
|
+
} | null | undefined;
|
|
1861
|
+
source?: string[] | null | undefined;
|
|
1862
|
+
title?: Record<string, string> | null | undefined;
|
|
1863
|
+
description?: Record<string, string> | null | undefined;
|
|
1864
|
+
resource?: string | null | undefined;
|
|
1865
|
+
country?: {
|
|
1866
|
+
label?: string | null | undefined;
|
|
1867
|
+
id?: string | null | undefined;
|
|
1868
|
+
resource?: string | null | undefined;
|
|
1869
|
+
} | null | undefined;
|
|
1870
|
+
language?: {
|
|
1871
|
+
label?: string | null | undefined;
|
|
1872
|
+
id?: string | null | undefined;
|
|
1873
|
+
resource?: string | null | undefined;
|
|
1874
|
+
}[] | null | undefined;
|
|
1875
|
+
keywords?: {
|
|
1876
|
+
label: string;
|
|
1877
|
+
id: string;
|
|
1878
|
+
language: string;
|
|
1879
|
+
}[] | null | undefined;
|
|
1880
|
+
license?: {
|
|
1881
|
+
label?: string | null | undefined;
|
|
1882
|
+
id?: string | null | undefined;
|
|
1883
|
+
description?: string | null | undefined;
|
|
1884
|
+
resource?: string | null | undefined;
|
|
1885
|
+
} | null | undefined;
|
|
1886
|
+
publisher?: {
|
|
1887
|
+
type?: string | null | undefined;
|
|
1888
|
+
name?: string | null | undefined;
|
|
1889
|
+
email?: string | null | undefined;
|
|
1890
|
+
homepage?: string | null | undefined;
|
|
1891
|
+
} | null | undefined;
|
|
1892
|
+
issued?: string | null | undefined;
|
|
1893
|
+
modified?: string | null | undefined;
|
|
1894
|
+
spatial?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough">[] | null | undefined;
|
|
1895
|
+
spatial_resource?: any;
|
|
1896
|
+
creator?: {
|
|
1897
|
+
type?: string | null | undefined;
|
|
1898
|
+
name?: string | null | undefined;
|
|
1899
|
+
email?: string | null | undefined;
|
|
1900
|
+
homepage?: string | null | undefined;
|
|
1901
|
+
} | null | undefined;
|
|
1902
|
+
subject?: {
|
|
1903
|
+
label?: string | null | undefined;
|
|
1904
|
+
resource?: string | null | undefined;
|
|
1905
|
+
}[] | null | undefined;
|
|
1906
|
+
temporal_resolution?: string | null | undefined;
|
|
1907
|
+
relation?: string[] | null | undefined;
|
|
1908
|
+
legal_basis?: Record<string, string> | null | undefined;
|
|
1909
|
+
stat_unit_measure?: string[] | null | undefined;
|
|
1910
|
+
qualified_relation?: {
|
|
1911
|
+
relation?: string[] | null | undefined;
|
|
1912
|
+
had_role?: string[] | null | undefined;
|
|
1913
|
+
}[] | null | undefined;
|
|
1914
|
+
temporal?: {
|
|
1915
|
+
lte: string;
|
|
1916
|
+
gte: string;
|
|
1917
|
+
}[] | null | undefined;
|
|
1918
|
+
identifier?: string[] | null | undefined;
|
|
1919
|
+
is_version_of?: string[] | null | undefined;
|
|
1920
|
+
spatial_resolution_in_meters?: any;
|
|
1921
|
+
conforms_to?: {
|
|
1922
|
+
label?: string | null | undefined;
|
|
1923
|
+
id?: string | null | undefined;
|
|
1924
|
+
resource?: string | null | undefined;
|
|
1925
|
+
}[] | null | undefined;
|
|
1926
|
+
page?: any;
|
|
1927
|
+
extended_metadata?: any;
|
|
1928
|
+
applicable_legislation?: {
|
|
1929
|
+
label?: string | null | undefined;
|
|
1930
|
+
id?: string | null | undefined;
|
|
1931
|
+
resource?: string | null | undefined;
|
|
1932
|
+
}[] | null | undefined;
|
|
1933
|
+
distributions?: {
|
|
1934
|
+
id: string;
|
|
1935
|
+
type?: {
|
|
1936
|
+
label?: string | null | undefined;
|
|
1937
|
+
resource?: string | null | undefined;
|
|
1938
|
+
} | null | undefined;
|
|
1939
|
+
title?: Record<string, string> | null | undefined;
|
|
1940
|
+
status?: {
|
|
1941
|
+
label?: string | null | undefined;
|
|
1942
|
+
resource?: string | null | undefined;
|
|
1943
|
+
} | null | undefined;
|
|
1944
|
+
description?: Record<string, string> | null | undefined;
|
|
1945
|
+
resource?: string | null | undefined;
|
|
1946
|
+
language?: {
|
|
1947
|
+
label?: string | null | undefined;
|
|
1948
|
+
id?: string | null | undefined;
|
|
1949
|
+
resource?: string | null | undefined;
|
|
1950
|
+
}[] | null | undefined;
|
|
1951
|
+
license?: {
|
|
1952
|
+
label?: string | null | undefined;
|
|
1953
|
+
id?: string | null | undefined;
|
|
1954
|
+
description?: string | null | undefined;
|
|
1955
|
+
resource?: string | null | undefined;
|
|
1956
|
+
} | null | undefined;
|
|
1957
|
+
issued?: string | null | undefined;
|
|
1958
|
+
modified?: string | null | undefined;
|
|
1959
|
+
rights?: {
|
|
1960
|
+
label?: string | null | undefined;
|
|
1961
|
+
resource?: string | null | undefined;
|
|
1962
|
+
} | null | undefined;
|
|
1963
|
+
temporal_resolution?: string | null | undefined;
|
|
1964
|
+
access_service?: {
|
|
1965
|
+
title?: Record<string, string> | null | undefined;
|
|
1966
|
+
description?: Record<string, string> | null | undefined;
|
|
1967
|
+
license?: {
|
|
1968
|
+
label?: string | null | undefined;
|
|
1969
|
+
id?: string | null | undefined;
|
|
1970
|
+
description?: string | null | undefined;
|
|
1971
|
+
resource?: string | null | undefined;
|
|
1972
|
+
} | null | undefined;
|
|
1973
|
+
endpoint_url?: string[] | null | undefined;
|
|
1974
|
+
}[] | null | undefined;
|
|
1975
|
+
spatial_resolution_in_meters?: number | null | undefined;
|
|
1976
|
+
format?: {
|
|
1977
|
+
label?: string | null | undefined;
|
|
1978
|
+
id?: string | null | undefined;
|
|
1979
|
+
resource?: string | null | undefined;
|
|
1980
|
+
} | null | undefined;
|
|
1981
|
+
conforms_to?: {
|
|
1982
|
+
label?: string | null | undefined;
|
|
1983
|
+
resource?: string | null | undefined;
|
|
1984
|
+
}[] | null | undefined;
|
|
1985
|
+
availability?: {
|
|
1986
|
+
label?: string | null | undefined;
|
|
1987
|
+
resource?: string | null | undefined;
|
|
1988
|
+
} | null | undefined;
|
|
1989
|
+
media_type?: string | null | undefined;
|
|
1990
|
+
access_url?: string[] | null | undefined;
|
|
1991
|
+
download_url?: string[] | null | undefined;
|
|
1992
|
+
byte_size?: number | null | undefined;
|
|
1993
|
+
checksum?: {
|
|
1994
|
+
algorithm?: string | null | undefined;
|
|
1995
|
+
checksum_value?: string | null | undefined;
|
|
1996
|
+
} | null | undefined;
|
|
1997
|
+
page?: ({
|
|
1998
|
+
title?: Record<string, string> | null | undefined;
|
|
1999
|
+
description?: Record<string, string> | null | undefined;
|
|
2000
|
+
resource?: string | null | undefined;
|
|
2001
|
+
format?: {
|
|
2002
|
+
label?: string | null | undefined;
|
|
2003
|
+
id?: string | null | undefined;
|
|
2004
|
+
resource?: string | null | undefined;
|
|
2005
|
+
} | null | undefined;
|
|
2006
|
+
} | null | undefined)[] | null | undefined;
|
|
2007
|
+
compress_format?: {
|
|
2008
|
+
label?: string | null | undefined;
|
|
2009
|
+
resource?: string | null | undefined;
|
|
2010
|
+
} | null | undefined;
|
|
2011
|
+
package_format?: {
|
|
2012
|
+
label?: string | null | undefined;
|
|
2013
|
+
resource?: string | null | undefined;
|
|
2014
|
+
} | null | undefined;
|
|
2015
|
+
has_policy?: string | null | undefined;
|
|
2016
|
+
extended_metadata?: string[] | null | undefined;
|
|
2017
|
+
applicable_legislation?: ({
|
|
2018
|
+
label?: string | null | undefined;
|
|
2019
|
+
id?: string | null | undefined;
|
|
2020
|
+
resource?: string | null | undefined;
|
|
2021
|
+
} | null | undefined)[] | null | undefined;
|
|
2022
|
+
}[] | null | undefined;
|
|
2023
|
+
is_referenced_by?: string[] | null | undefined;
|
|
2024
|
+
quality_meas?: {
|
|
2025
|
+
scoring?: number | null | undefined;
|
|
2026
|
+
} | null | undefined;
|
|
2027
|
+
was_generated_by?: string[] | null | undefined;
|
|
2028
|
+
has_quality_annotation?: string[] | null | undefined;
|
|
2029
|
+
catalog_record?: {
|
|
2030
|
+
issued?: string | null | undefined;
|
|
2031
|
+
modified?: string | null | undefined;
|
|
2032
|
+
} | null | undefined;
|
|
2033
|
+
contact_point?: {
|
|
2034
|
+
type?: string | null | undefined;
|
|
2035
|
+
name?: string | null | undefined;
|
|
2036
|
+
address?: string | null | undefined;
|
|
2037
|
+
resource?: string | null | undefined;
|
|
2038
|
+
email?: string | null | undefined;
|
|
2039
|
+
organisation_name?: string | null | undefined;
|
|
2040
|
+
telephone?: string | null | undefined;
|
|
2041
|
+
url?: string[] | null | undefined;
|
|
2042
|
+
}[] | null | undefined;
|
|
2043
|
+
translation_meta?: {
|
|
2044
|
+
details: Record<string, {
|
|
2045
|
+
machine_translated: boolean;
|
|
2046
|
+
}>;
|
|
2047
|
+
status: string;
|
|
2048
|
+
full_available_languages: string[];
|
|
2049
|
+
} | null | undefined;
|
|
2050
|
+
version_notes?: Record<string, string> | null | undefined;
|
|
2051
|
+
has_version?: string[] | null | undefined;
|
|
2052
|
+
accrual_periodicity?: {
|
|
2053
|
+
label?: string | null | undefined;
|
|
2054
|
+
id?: string | null | undefined;
|
|
2055
|
+
resource?: string | null | undefined;
|
|
2056
|
+
} | null | undefined;
|
|
2057
|
+
geocoding_description?: any;
|
|
2058
|
+
access_right?: {
|
|
2059
|
+
label?: string | null | undefined;
|
|
2060
|
+
id?: string | null | undefined;
|
|
2061
|
+
resource?: string | null | undefined;
|
|
2062
|
+
} | null | undefined;
|
|
2063
|
+
provenance?: {
|
|
2064
|
+
label?: string | null | undefined;
|
|
2065
|
+
id?: string | null | undefined;
|
|
2066
|
+
resource?: string | null | undefined;
|
|
2067
|
+
}[] | null | undefined;
|
|
2068
|
+
categories?: {
|
|
2069
|
+
label: Record<string, string>;
|
|
2070
|
+
id: string;
|
|
2071
|
+
resource: string;
|
|
2072
|
+
}[] | null | undefined;
|
|
2073
|
+
adms_identifier?: {
|
|
2074
|
+
resource?: string | null | undefined;
|
|
2075
|
+
identifier?: string | null | undefined;
|
|
2076
|
+
scheme?: string | null | undefined;
|
|
2077
|
+
}[] | null | undefined;
|
|
2078
|
+
attribute?: string[] | null | undefined;
|
|
2079
|
+
deadline?: any;
|
|
2080
|
+
qualified_attribution?: string[] | null | undefined;
|
|
2081
|
+
dimension?: string[] | null | undefined;
|
|
2082
|
+
landing_page?: {
|
|
2083
|
+
label?: string | null | undefined;
|
|
2084
|
+
id?: string | null | undefined;
|
|
2085
|
+
resource?: string | null | undefined;
|
|
2086
|
+
}[] | null | undefined;
|
|
2087
|
+
version_info?: any;
|
|
2088
|
+
sample?: string[] | null | undefined;
|
|
2089
|
+
num_series?: number | null | undefined;
|
|
2090
|
+
is_hvd?: boolean | null | undefined;
|
|
2091
|
+
hvd_category?: {
|
|
2092
|
+
label?: string | null | undefined;
|
|
2093
|
+
id?: string | null | undefined;
|
|
2094
|
+
resource?: string | null | undefined;
|
|
2095
|
+
}[] | null | undefined;
|
|
2096
|
+
}>>;
|
|
2097
|
+
schema: zod.ZodObject<{
|
|
2098
|
+
id: zod.ZodString;
|
|
2099
|
+
title: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
2100
|
+
description: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
2101
|
+
country: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
2102
|
+
id: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2103
|
+
label: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2104
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2105
|
+
}, "strip", zod.ZodTypeAny, {
|
|
2106
|
+
label?: string | null | undefined;
|
|
2107
|
+
id?: string | null | undefined;
|
|
2108
|
+
resource?: string | null | undefined;
|
|
2109
|
+
}, {
|
|
2110
|
+
label?: string | null | undefined;
|
|
2111
|
+
id?: string | null | undefined;
|
|
2112
|
+
resource?: string | null | undefined;
|
|
2113
|
+
}>>>;
|
|
2114
|
+
keywords: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
|
|
2115
|
+
language: zod.ZodString;
|
|
2116
|
+
id: zod.ZodString;
|
|
2117
|
+
label: zod.ZodString;
|
|
2118
|
+
}, "strip", zod.ZodTypeAny, {
|
|
2119
|
+
label: string;
|
|
2120
|
+
id: string;
|
|
2121
|
+
language: string;
|
|
2122
|
+
}, {
|
|
2123
|
+
label: string;
|
|
2124
|
+
id: string;
|
|
2125
|
+
language: string;
|
|
2126
|
+
}>, "many">>>;
|
|
2127
|
+
license: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
2128
|
+
id: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2129
|
+
label: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2130
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2131
|
+
} & {
|
|
2132
|
+
description: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2133
|
+
}, "strip", zod.ZodTypeAny, {
|
|
2134
|
+
label?: string | null | undefined;
|
|
2135
|
+
id?: string | null | undefined;
|
|
2136
|
+
description?: string | null | undefined;
|
|
2137
|
+
resource?: string | null | undefined;
|
|
2138
|
+
}, {
|
|
2139
|
+
label?: string | null | undefined;
|
|
2140
|
+
id?: string | null | undefined;
|
|
2141
|
+
description?: string | null | undefined;
|
|
2142
|
+
resource?: string | null | undefined;
|
|
2143
|
+
}>>>;
|
|
2144
|
+
catalog: zod.ZodObject<{
|
|
2145
|
+
id: zod.ZodString;
|
|
2146
|
+
title: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
2147
|
+
description: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
2148
|
+
license: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
2149
|
+
id: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2150
|
+
label: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2151
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2152
|
+
} & {
|
|
2153
|
+
description: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2154
|
+
}, "strip", zod.ZodTypeAny, {
|
|
2155
|
+
label?: string | null | undefined;
|
|
2156
|
+
id?: string | null | undefined;
|
|
2157
|
+
description?: string | null | undefined;
|
|
2158
|
+
resource?: string | null | undefined;
|
|
2159
|
+
}, {
|
|
2160
|
+
label?: string | null | undefined;
|
|
2161
|
+
id?: string | null | undefined;
|
|
2162
|
+
description?: string | null | undefined;
|
|
2163
|
+
resource?: string | null | undefined;
|
|
2164
|
+
}>>>;
|
|
2165
|
+
publisher: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
2166
|
+
name: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2167
|
+
type: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2168
|
+
email: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2169
|
+
homepage: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2170
|
+
}, "strip", zod.ZodTypeAny, {
|
|
2171
|
+
type?: string | null | undefined;
|
|
2172
|
+
name?: string | null | undefined;
|
|
2173
|
+
email?: string | null | undefined;
|
|
2174
|
+
homepage?: string | null | undefined;
|
|
2175
|
+
}, {
|
|
2176
|
+
type?: string | null | undefined;
|
|
2177
|
+
name?: string | null | undefined;
|
|
2178
|
+
email?: string | null | undefined;
|
|
2179
|
+
homepage?: string | null | undefined;
|
|
2180
|
+
}>>>;
|
|
2181
|
+
language: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
|
|
2182
|
+
id: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2183
|
+
label: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2184
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2185
|
+
}, "strip", zod.ZodTypeAny, {
|
|
2186
|
+
label?: string | null | undefined;
|
|
2187
|
+
id?: string | null | undefined;
|
|
2188
|
+
resource?: string | null | undefined;
|
|
2189
|
+
}, {
|
|
2190
|
+
label?: string | null | undefined;
|
|
2191
|
+
id?: string | null | undefined;
|
|
2192
|
+
resource?: string | null | undefined;
|
|
2193
|
+
}>, "many">>>;
|
|
2194
|
+
country: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
2195
|
+
id: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2196
|
+
label: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2197
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2198
|
+
}, "strip", zod.ZodTypeAny, {
|
|
2199
|
+
label?: string | null | undefined;
|
|
2200
|
+
id?: string | null | undefined;
|
|
2201
|
+
resource?: string | null | undefined;
|
|
2202
|
+
}, {
|
|
2203
|
+
label?: string | null | undefined;
|
|
2204
|
+
id?: string | null | undefined;
|
|
2205
|
+
resource?: string | null | undefined;
|
|
2206
|
+
}>>>;
|
|
2207
|
+
homepage: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2208
|
+
issued: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2209
|
+
modified: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2210
|
+
spatial: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodAny, "many">>>;
|
|
2211
|
+
spatial_resource: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
|
|
2212
|
+
theme_taxonomy: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
|
|
2213
|
+
catalog: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
|
|
2214
|
+
has_part: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
|
|
2215
|
+
is_part_of: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
|
|
2216
|
+
creator: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
|
|
2217
|
+
rights: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
|
|
2218
|
+
count: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
|
|
2219
|
+
}, "strip", zod.ZodTypeAny, {
|
|
216
2220
|
id: string;
|
|
2221
|
+
title?: Record<string, string> | null | undefined;
|
|
217
2222
|
description?: Record<string, string> | null | undefined;
|
|
218
|
-
|
|
2223
|
+
country?: {
|
|
219
2224
|
label?: string | null | undefined;
|
|
220
|
-
resource?: string | null | undefined;
|
|
221
2225
|
id?: string | null | undefined;
|
|
222
|
-
|
|
2226
|
+
resource?: string | null | undefined;
|
|
223
2227
|
} | null | undefined;
|
|
224
|
-
title?: Record<string, string> | null | undefined;
|
|
225
|
-
issued?: string | null | undefined;
|
|
226
|
-
rights?: any;
|
|
227
2228
|
language?: {
|
|
228
2229
|
label?: string | null | undefined;
|
|
229
|
-
resource?: string | null | undefined;
|
|
230
2230
|
id?: string | null | undefined;
|
|
2231
|
+
resource?: string | null | undefined;
|
|
231
2232
|
}[] | null | undefined;
|
|
232
|
-
|
|
2233
|
+
license?: {
|
|
2234
|
+
label?: string | null | undefined;
|
|
2235
|
+
id?: string | null | undefined;
|
|
2236
|
+
description?: string | null | undefined;
|
|
2237
|
+
resource?: string | null | undefined;
|
|
2238
|
+
} | null | undefined;
|
|
233
2239
|
homepage?: string | null | undefined;
|
|
234
2240
|
publisher?: {
|
|
235
2241
|
type?: string | null | undefined;
|
|
@@ -237,11 +2243,46 @@ declare function dcatApDataset(options?: DcatApDatasetParams): {
|
|
|
237
2243
|
email?: string | null | undefined;
|
|
238
2244
|
homepage?: string | null | undefined;
|
|
239
2245
|
} | null | undefined;
|
|
2246
|
+
issued?: string | null | undefined;
|
|
2247
|
+
modified?: string | null | undefined;
|
|
2248
|
+
spatial?: any[] | null | undefined;
|
|
2249
|
+
spatial_resource?: any;
|
|
2250
|
+
theme_taxonomy?: any;
|
|
2251
|
+
catalog?: any;
|
|
2252
|
+
has_part?: any;
|
|
2253
|
+
is_part_of?: any;
|
|
2254
|
+
creator?: any;
|
|
2255
|
+
rights?: any;
|
|
2256
|
+
count?: number | null | undefined;
|
|
2257
|
+
}, {
|
|
2258
|
+
id: string;
|
|
2259
|
+
title?: Record<string, string> | null | undefined;
|
|
2260
|
+
description?: Record<string, string> | null | undefined;
|
|
240
2261
|
country?: {
|
|
241
2262
|
label?: string | null | undefined;
|
|
2263
|
+
id?: string | null | undefined;
|
|
2264
|
+
resource?: string | null | undefined;
|
|
2265
|
+
} | null | undefined;
|
|
2266
|
+
language?: {
|
|
2267
|
+
label?: string | null | undefined;
|
|
2268
|
+
id?: string | null | undefined;
|
|
242
2269
|
resource?: string | null | undefined;
|
|
2270
|
+
}[] | null | undefined;
|
|
2271
|
+
license?: {
|
|
2272
|
+
label?: string | null | undefined;
|
|
243
2273
|
id?: string | null | undefined;
|
|
2274
|
+
description?: string | null | undefined;
|
|
2275
|
+
resource?: string | null | undefined;
|
|
2276
|
+
} | null | undefined;
|
|
2277
|
+
homepage?: string | null | undefined;
|
|
2278
|
+
publisher?: {
|
|
2279
|
+
type?: string | null | undefined;
|
|
2280
|
+
name?: string | null | undefined;
|
|
2281
|
+
email?: string | null | undefined;
|
|
2282
|
+
homepage?: string | null | undefined;
|
|
244
2283
|
} | null | undefined;
|
|
2284
|
+
issued?: string | null | undefined;
|
|
2285
|
+
modified?: string | null | undefined;
|
|
245
2286
|
spatial?: any[] | null | undefined;
|
|
246
2287
|
spatial_resource?: any;
|
|
247
2288
|
theme_taxonomy?: any;
|
|
@@ -249,116 +2290,443 @@ declare function dcatApDataset(options?: DcatApDatasetParams): {
|
|
|
249
2290
|
has_part?: any;
|
|
250
2291
|
is_part_of?: any;
|
|
251
2292
|
creator?: any;
|
|
2293
|
+
rights?: any;
|
|
252
2294
|
count?: number | null | undefined;
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
|
|
2295
|
+
}>;
|
|
2296
|
+
subject: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
|
|
2297
|
+
label: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2298
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2299
|
+
}, "strip", zod.ZodTypeAny, {
|
|
256
2300
|
label?: string | null | undefined;
|
|
257
2301
|
resource?: string | null | undefined;
|
|
258
|
-
|
|
259
|
-
} | null | undefined;
|
|
260
|
-
description?: Record<string, string> | null | undefined;
|
|
261
|
-
identifier?: string[] | null | undefined;
|
|
262
|
-
title?: Record<string, string> | null | undefined;
|
|
263
|
-
spatial_resolution_in_meters?: any;
|
|
264
|
-
issued?: string | null | undefined;
|
|
265
|
-
conforms_to?: {
|
|
2302
|
+
}, {
|
|
266
2303
|
label?: string | null | undefined;
|
|
267
2304
|
resource?: string | null | undefined;
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
2305
|
+
}>, "many">>>;
|
|
2306
|
+
language: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
|
|
2307
|
+
id: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2308
|
+
label: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2309
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2310
|
+
}, "strip", zod.ZodTypeAny, {
|
|
272
2311
|
label?: string | null | undefined;
|
|
273
|
-
resource?: string | null | undefined;
|
|
274
2312
|
id?: string | null | undefined;
|
|
275
|
-
}[] | null | undefined;
|
|
276
|
-
modified?: string | null | undefined;
|
|
277
|
-
page?: any;
|
|
278
|
-
extended_metadata?: any;
|
|
279
|
-
applicable_legislation?: {
|
|
280
|
-
label?: string | null | undefined;
|
|
281
2313
|
resource?: string | null | undefined;
|
|
282
|
-
|
|
283
|
-
}[] | null | undefined;
|
|
284
|
-
publisher?: {
|
|
285
|
-
type?: string | null | undefined;
|
|
286
|
-
name?: string | null | undefined;
|
|
287
|
-
email?: string | null | undefined;
|
|
288
|
-
homepage?: string | null | undefined;
|
|
289
|
-
} | null | undefined;
|
|
290
|
-
country?: {
|
|
2314
|
+
}, {
|
|
291
2315
|
label?: string | null | undefined;
|
|
2316
|
+
id?: string | null | undefined;
|
|
292
2317
|
resource?: string | null | undefined;
|
|
2318
|
+
}>, "many">>>;
|
|
2319
|
+
source: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodString, "many">>>;
|
|
2320
|
+
type: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
2321
|
+
id: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2322
|
+
label: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2323
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2324
|
+
}, "strip", zod.ZodTypeAny, {
|
|
2325
|
+
label?: string | null | undefined;
|
|
293
2326
|
id?: string | null | undefined;
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
spatial_resource?: any;
|
|
297
|
-
creator?: {
|
|
298
|
-
type?: string | null | undefined;
|
|
299
|
-
name?: string | null | undefined;
|
|
300
|
-
email?: string | null | undefined;
|
|
301
|
-
homepage?: string | null | undefined;
|
|
302
|
-
} | null | undefined;
|
|
303
|
-
keywords?: {
|
|
304
|
-
label: string;
|
|
305
|
-
id: string;
|
|
306
|
-
language: string;
|
|
307
|
-
}[] | null | undefined;
|
|
308
|
-
subject?: {
|
|
2327
|
+
resource?: string | null | undefined;
|
|
2328
|
+
}, {
|
|
309
2329
|
label?: string | null | undefined;
|
|
2330
|
+
id?: string | null | undefined;
|
|
310
2331
|
resource?: string | null | undefined;
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
relation
|
|
314
|
-
legal_basis
|
|
315
|
-
stat_unit_measure
|
|
316
|
-
qualified_relation
|
|
2332
|
+
}>>>;
|
|
2333
|
+
temporal_resolution: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2334
|
+
relation: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodString, "many">>>;
|
|
2335
|
+
legal_basis: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
2336
|
+
stat_unit_measure: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodString, "many">>>;
|
|
2337
|
+
qualified_relation: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
|
|
2338
|
+
relation: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodString, "many">>>;
|
|
2339
|
+
had_role: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodString, "many">>>;
|
|
2340
|
+
}, "strip", zod.ZodTypeAny, {
|
|
317
2341
|
relation?: string[] | null | undefined;
|
|
318
2342
|
had_role?: string[] | null | undefined;
|
|
319
|
-
}
|
|
320
|
-
|
|
2343
|
+
}, {
|
|
2344
|
+
relation?: string[] | null | undefined;
|
|
2345
|
+
had_role?: string[] | null | undefined;
|
|
2346
|
+
}>, "many">>>;
|
|
2347
|
+
spatial_resource: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
|
|
2348
|
+
modified: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2349
|
+
issued: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2350
|
+
spatial: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{}, "passthrough", zod.ZodTypeAny, zod.objectOutputType<{}, zod.ZodTypeAny, "passthrough">, zod.objectInputType<{}, zod.ZodTypeAny, "passthrough">>, "many">>>;
|
|
2351
|
+
temporal: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
|
|
2352
|
+
lte: zod.ZodString;
|
|
2353
|
+
gte: zod.ZodString;
|
|
2354
|
+
}, "strip", zod.ZodTypeAny, {
|
|
321
2355
|
lte: string;
|
|
322
2356
|
gte: string;
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
|
|
2357
|
+
}, {
|
|
2358
|
+
lte: string;
|
|
2359
|
+
gte: string;
|
|
2360
|
+
}>, "many">>>;
|
|
2361
|
+
identifier: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodString, "many">>>;
|
|
2362
|
+
is_version_of: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodString, "many">>>;
|
|
2363
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2364
|
+
distributions: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
|
|
2365
|
+
id: zod.ZodString;
|
|
2366
|
+
access_service: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
|
|
2367
|
+
endpoint_url: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodString, "many">>>;
|
|
2368
|
+
license: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
2369
|
+
id: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2370
|
+
label: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2371
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2372
|
+
} & {
|
|
2373
|
+
description: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2374
|
+
}, "strip", zod.ZodTypeAny, {
|
|
2375
|
+
label?: string | null | undefined;
|
|
2376
|
+
id?: string | null | undefined;
|
|
2377
|
+
description?: string | null | undefined;
|
|
2378
|
+
resource?: string | null | undefined;
|
|
2379
|
+
}, {
|
|
2380
|
+
label?: string | null | undefined;
|
|
2381
|
+
id?: string | null | undefined;
|
|
2382
|
+
description?: string | null | undefined;
|
|
2383
|
+
resource?: string | null | undefined;
|
|
2384
|
+
}>>>;
|
|
2385
|
+
description: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
2386
|
+
title: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
2387
|
+
}, "strip", zod.ZodTypeAny, {
|
|
2388
|
+
title?: Record<string, string> | null | undefined;
|
|
2389
|
+
description?: Record<string, string> | null | undefined;
|
|
2390
|
+
license?: {
|
|
2391
|
+
label?: string | null | undefined;
|
|
2392
|
+
id?: string | null | undefined;
|
|
2393
|
+
description?: string | null | undefined;
|
|
2394
|
+
resource?: string | null | undefined;
|
|
2395
|
+
} | null | undefined;
|
|
2396
|
+
endpoint_url?: string[] | null | undefined;
|
|
2397
|
+
}, {
|
|
2398
|
+
title?: Record<string, string> | null | undefined;
|
|
2399
|
+
description?: Record<string, string> | null | undefined;
|
|
2400
|
+
license?: {
|
|
2401
|
+
label?: string | null | undefined;
|
|
2402
|
+
id?: string | null | undefined;
|
|
2403
|
+
description?: string | null | undefined;
|
|
2404
|
+
resource?: string | null | undefined;
|
|
2405
|
+
} | null | undefined;
|
|
2406
|
+
endpoint_url?: string[] | null | undefined;
|
|
2407
|
+
}>, "many">>>;
|
|
2408
|
+
spatial_resolution_in_meters: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
|
|
2409
|
+
format: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
2410
|
+
id: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2411
|
+
label: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2412
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2413
|
+
}, "strip", zod.ZodTypeAny, {
|
|
2414
|
+
label?: string | null | undefined;
|
|
2415
|
+
id?: string | null | undefined;
|
|
2416
|
+
resource?: string | null | undefined;
|
|
2417
|
+
}, {
|
|
2418
|
+
label?: string | null | undefined;
|
|
2419
|
+
id?: string | null | undefined;
|
|
2420
|
+
resource?: string | null | undefined;
|
|
2421
|
+
}>>>;
|
|
2422
|
+
issued: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2423
|
+
conforms_to: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
|
|
2424
|
+
label: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2425
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2426
|
+
}, "strip", zod.ZodTypeAny, {
|
|
2427
|
+
label?: string | null | undefined;
|
|
2428
|
+
resource?: string | null | undefined;
|
|
2429
|
+
}, {
|
|
2430
|
+
label?: string | null | undefined;
|
|
2431
|
+
resource?: string | null | undefined;
|
|
2432
|
+
}>, "many">>>;
|
|
2433
|
+
availability: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
2434
|
+
label: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2435
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2436
|
+
}, "strip", zod.ZodTypeAny, {
|
|
2437
|
+
label?: string | null | undefined;
|
|
2438
|
+
resource?: string | null | undefined;
|
|
2439
|
+
}, {
|
|
2440
|
+
label?: string | null | undefined;
|
|
2441
|
+
resource?: string | null | undefined;
|
|
2442
|
+
}>>>;
|
|
2443
|
+
status: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
2444
|
+
label: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2445
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2446
|
+
}, "strip", zod.ZodTypeAny, {
|
|
2447
|
+
label?: string | null | undefined;
|
|
2448
|
+
resource?: string | null | undefined;
|
|
2449
|
+
}, {
|
|
2450
|
+
label?: string | null | undefined;
|
|
2451
|
+
resource?: string | null | undefined;
|
|
2452
|
+
}>>>;
|
|
2453
|
+
temporal_resolution: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2454
|
+
media_type: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2455
|
+
rights: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
2456
|
+
label: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2457
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2458
|
+
}, "strip", zod.ZodTypeAny, {
|
|
2459
|
+
label?: string | null | undefined;
|
|
2460
|
+
resource?: string | null | undefined;
|
|
2461
|
+
}, {
|
|
2462
|
+
label?: string | null | undefined;
|
|
2463
|
+
resource?: string | null | undefined;
|
|
2464
|
+
}>>>;
|
|
2465
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2466
|
+
title: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
2467
|
+
description: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
2468
|
+
access_url: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodString, "many">>>;
|
|
2469
|
+
download_url: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodString, "many">>>;
|
|
2470
|
+
license: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
2471
|
+
id: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2472
|
+
label: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2473
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2474
|
+
} & {
|
|
2475
|
+
description: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2476
|
+
}, "strip", zod.ZodTypeAny, {
|
|
2477
|
+
label?: string | null | undefined;
|
|
2478
|
+
id?: string | null | undefined;
|
|
2479
|
+
description?: string | null | undefined;
|
|
2480
|
+
resource?: string | null | undefined;
|
|
2481
|
+
}, {
|
|
2482
|
+
label?: string | null | undefined;
|
|
2483
|
+
id?: string | null | undefined;
|
|
2484
|
+
description?: string | null | undefined;
|
|
2485
|
+
resource?: string | null | undefined;
|
|
2486
|
+
}>>>;
|
|
2487
|
+
byte_size: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
|
|
2488
|
+
checksum: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
2489
|
+
algorithm: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2490
|
+
checksum_value: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2491
|
+
}, "strip", zod.ZodTypeAny, {
|
|
2492
|
+
algorithm?: string | null | undefined;
|
|
2493
|
+
checksum_value?: string | null | undefined;
|
|
2494
|
+
}, {
|
|
2495
|
+
algorithm?: string | null | undefined;
|
|
2496
|
+
checksum_value?: string | null | undefined;
|
|
2497
|
+
}>>>;
|
|
2498
|
+
language: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
|
|
2499
|
+
id: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2500
|
+
label: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2501
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2502
|
+
}, "strip", zod.ZodTypeAny, {
|
|
2503
|
+
label?: string | null | undefined;
|
|
2504
|
+
id?: string | null | undefined;
|
|
2505
|
+
resource?: string | null | undefined;
|
|
2506
|
+
}, {
|
|
2507
|
+
label?: string | null | undefined;
|
|
2508
|
+
id?: string | null | undefined;
|
|
2509
|
+
resource?: string | null | undefined;
|
|
2510
|
+
}>, "many">>>;
|
|
2511
|
+
modified: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2512
|
+
page: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
2513
|
+
title: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
2514
|
+
description: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
2515
|
+
format: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
2516
|
+
id: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2517
|
+
label: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2518
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2519
|
+
}, "strip", zod.ZodTypeAny, {
|
|
2520
|
+
label?: string | null | undefined;
|
|
2521
|
+
id?: string | null | undefined;
|
|
2522
|
+
resource?: string | null | undefined;
|
|
2523
|
+
}, {
|
|
2524
|
+
label?: string | null | undefined;
|
|
2525
|
+
id?: string | null | undefined;
|
|
2526
|
+
resource?: string | null | undefined;
|
|
2527
|
+
}>>>;
|
|
2528
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2529
|
+
}, "strip", zod.ZodTypeAny, {
|
|
2530
|
+
title?: Record<string, string> | null | undefined;
|
|
2531
|
+
description?: Record<string, string> | null | undefined;
|
|
2532
|
+
resource?: string | null | undefined;
|
|
2533
|
+
format?: {
|
|
2534
|
+
label?: string | null | undefined;
|
|
2535
|
+
id?: string | null | undefined;
|
|
2536
|
+
resource?: string | null | undefined;
|
|
2537
|
+
} | null | undefined;
|
|
2538
|
+
}, {
|
|
2539
|
+
title?: Record<string, string> | null | undefined;
|
|
2540
|
+
description?: Record<string, string> | null | undefined;
|
|
2541
|
+
resource?: string | null | undefined;
|
|
2542
|
+
format?: {
|
|
2543
|
+
label?: string | null | undefined;
|
|
2544
|
+
id?: string | null | undefined;
|
|
2545
|
+
resource?: string | null | undefined;
|
|
2546
|
+
} | null | undefined;
|
|
2547
|
+
}>>>, "many">>>;
|
|
2548
|
+
compress_format: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
2549
|
+
label: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2550
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2551
|
+
}, "strip", zod.ZodTypeAny, {
|
|
2552
|
+
label?: string | null | undefined;
|
|
2553
|
+
resource?: string | null | undefined;
|
|
2554
|
+
}, {
|
|
2555
|
+
label?: string | null | undefined;
|
|
2556
|
+
resource?: string | null | undefined;
|
|
2557
|
+
}>>>;
|
|
2558
|
+
package_format: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
2559
|
+
label: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2560
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2561
|
+
}, "strip", zod.ZodTypeAny, {
|
|
2562
|
+
label?: string | null | undefined;
|
|
2563
|
+
resource?: string | null | undefined;
|
|
2564
|
+
}, {
|
|
2565
|
+
label?: string | null | undefined;
|
|
2566
|
+
resource?: string | null | undefined;
|
|
2567
|
+
}>>>;
|
|
2568
|
+
has_policy: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2569
|
+
type: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
2570
|
+
label: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2571
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2572
|
+
}, "strip", zod.ZodTypeAny, {
|
|
2573
|
+
label?: string | null | undefined;
|
|
2574
|
+
resource?: string | null | undefined;
|
|
2575
|
+
}, {
|
|
2576
|
+
label?: string | null | undefined;
|
|
2577
|
+
resource?: string | null | undefined;
|
|
2578
|
+
}>>>;
|
|
2579
|
+
extended_metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodString, "many">>>;
|
|
2580
|
+
applicable_legislation: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
2581
|
+
id: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2582
|
+
label: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2583
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2584
|
+
}, "strip", zod.ZodTypeAny, {
|
|
2585
|
+
label?: string | null | undefined;
|
|
2586
|
+
id?: string | null | undefined;
|
|
2587
|
+
resource?: string | null | undefined;
|
|
2588
|
+
}, {
|
|
2589
|
+
label?: string | null | undefined;
|
|
2590
|
+
id?: string | null | undefined;
|
|
2591
|
+
resource?: string | null | undefined;
|
|
2592
|
+
}>>>, "many">>>;
|
|
2593
|
+
}, "strip", zod.ZodTypeAny, {
|
|
2594
|
+
id: string;
|
|
2595
|
+
type?: {
|
|
2596
|
+
label?: string | null | undefined;
|
|
2597
|
+
resource?: string | null | undefined;
|
|
2598
|
+
} | null | undefined;
|
|
2599
|
+
title?: Record<string, string> | null | undefined;
|
|
2600
|
+
status?: {
|
|
2601
|
+
label?: string | null | undefined;
|
|
2602
|
+
resource?: string | null | undefined;
|
|
2603
|
+
} | null | undefined;
|
|
2604
|
+
description?: Record<string, string> | null | undefined;
|
|
2605
|
+
resource?: string | null | undefined;
|
|
2606
|
+
language?: {
|
|
2607
|
+
label?: string | null | undefined;
|
|
2608
|
+
id?: string | null | undefined;
|
|
2609
|
+
resource?: string | null | undefined;
|
|
2610
|
+
}[] | null | undefined;
|
|
2611
|
+
license?: {
|
|
2612
|
+
label?: string | null | undefined;
|
|
2613
|
+
id?: string | null | undefined;
|
|
2614
|
+
description?: string | null | undefined;
|
|
2615
|
+
resource?: string | null | undefined;
|
|
2616
|
+
} | null | undefined;
|
|
2617
|
+
issued?: string | null | undefined;
|
|
2618
|
+
modified?: string | null | undefined;
|
|
2619
|
+
rights?: {
|
|
2620
|
+
label?: string | null | undefined;
|
|
2621
|
+
resource?: string | null | undefined;
|
|
2622
|
+
} | null | undefined;
|
|
2623
|
+
temporal_resolution?: string | null | undefined;
|
|
2624
|
+
access_service?: {
|
|
2625
|
+
title?: Record<string, string> | null | undefined;
|
|
2626
|
+
description?: Record<string, string> | null | undefined;
|
|
2627
|
+
license?: {
|
|
2628
|
+
label?: string | null | undefined;
|
|
2629
|
+
id?: string | null | undefined;
|
|
2630
|
+
description?: string | null | undefined;
|
|
2631
|
+
resource?: string | null | undefined;
|
|
2632
|
+
} | null | undefined;
|
|
2633
|
+
endpoint_url?: string[] | null | undefined;
|
|
2634
|
+
}[] | null | undefined;
|
|
2635
|
+
spatial_resolution_in_meters?: number | null | undefined;
|
|
2636
|
+
format?: {
|
|
2637
|
+
label?: string | null | undefined;
|
|
2638
|
+
id?: string | null | undefined;
|
|
2639
|
+
resource?: string | null | undefined;
|
|
2640
|
+
} | null | undefined;
|
|
2641
|
+
conforms_to?: {
|
|
2642
|
+
label?: string | null | undefined;
|
|
2643
|
+
resource?: string | null | undefined;
|
|
2644
|
+
}[] | null | undefined;
|
|
2645
|
+
availability?: {
|
|
2646
|
+
label?: string | null | undefined;
|
|
2647
|
+
resource?: string | null | undefined;
|
|
2648
|
+
} | null | undefined;
|
|
2649
|
+
media_type?: string | null | undefined;
|
|
2650
|
+
access_url?: string[] | null | undefined;
|
|
2651
|
+
download_url?: string[] | null | undefined;
|
|
2652
|
+
byte_size?: number | null | undefined;
|
|
2653
|
+
checksum?: {
|
|
2654
|
+
algorithm?: string | null | undefined;
|
|
2655
|
+
checksum_value?: string | null | undefined;
|
|
2656
|
+
} | null | undefined;
|
|
2657
|
+
page?: ({
|
|
2658
|
+
title?: Record<string, string> | null | undefined;
|
|
2659
|
+
description?: Record<string, string> | null | undefined;
|
|
2660
|
+
resource?: string | null | undefined;
|
|
2661
|
+
format?: {
|
|
2662
|
+
label?: string | null | undefined;
|
|
2663
|
+
id?: string | null | undefined;
|
|
2664
|
+
resource?: string | null | undefined;
|
|
2665
|
+
} | null | undefined;
|
|
2666
|
+
} | null | undefined)[] | null | undefined;
|
|
2667
|
+
compress_format?: {
|
|
2668
|
+
label?: string | null | undefined;
|
|
2669
|
+
resource?: string | null | undefined;
|
|
2670
|
+
} | null | undefined;
|
|
2671
|
+
package_format?: {
|
|
2672
|
+
label?: string | null | undefined;
|
|
2673
|
+
resource?: string | null | undefined;
|
|
2674
|
+
} | null | undefined;
|
|
2675
|
+
has_policy?: string | null | undefined;
|
|
2676
|
+
extended_metadata?: string[] | null | undefined;
|
|
2677
|
+
applicable_legislation?: ({
|
|
2678
|
+
label?: string | null | undefined;
|
|
2679
|
+
id?: string | null | undefined;
|
|
2680
|
+
resource?: string | null | undefined;
|
|
2681
|
+
} | null | undefined)[] | null | undefined;
|
|
2682
|
+
}, {
|
|
326
2683
|
id: string;
|
|
327
|
-
resource?: string | null | undefined;
|
|
328
2684
|
type?: {
|
|
329
2685
|
label?: string | null | undefined;
|
|
330
2686
|
resource?: string | null | undefined;
|
|
331
2687
|
} | null | undefined;
|
|
2688
|
+
title?: Record<string, string> | null | undefined;
|
|
332
2689
|
status?: {
|
|
333
2690
|
label?: string | null | undefined;
|
|
334
2691
|
resource?: string | null | undefined;
|
|
335
2692
|
} | null | undefined;
|
|
336
2693
|
description?: Record<string, string> | null | undefined;
|
|
337
|
-
|
|
2694
|
+
resource?: string | null | undefined;
|
|
2695
|
+
language?: {
|
|
338
2696
|
label?: string | null | undefined;
|
|
2697
|
+
id?: string | null | undefined;
|
|
339
2698
|
resource?: string | null | undefined;
|
|
2699
|
+
}[] | null | undefined;
|
|
2700
|
+
license?: {
|
|
2701
|
+
label?: string | null | undefined;
|
|
340
2702
|
id?: string | null | undefined;
|
|
341
2703
|
description?: string | null | undefined;
|
|
2704
|
+
resource?: string | null | undefined;
|
|
342
2705
|
} | null | undefined;
|
|
343
|
-
|
|
2706
|
+
issued?: string | null | undefined;
|
|
2707
|
+
modified?: string | null | undefined;
|
|
2708
|
+
rights?: {
|
|
2709
|
+
label?: string | null | undefined;
|
|
2710
|
+
resource?: string | null | undefined;
|
|
2711
|
+
} | null | undefined;
|
|
2712
|
+
temporal_resolution?: string | null | undefined;
|
|
344
2713
|
access_service?: {
|
|
2714
|
+
title?: Record<string, string> | null | undefined;
|
|
345
2715
|
description?: Record<string, string> | null | undefined;
|
|
346
|
-
endpoint_url?: string[] | null | undefined;
|
|
347
2716
|
license?: {
|
|
348
2717
|
label?: string | null | undefined;
|
|
349
|
-
resource?: string | null | undefined;
|
|
350
2718
|
id?: string | null | undefined;
|
|
351
2719
|
description?: string | null | undefined;
|
|
2720
|
+
resource?: string | null | undefined;
|
|
352
2721
|
} | null | undefined;
|
|
353
|
-
|
|
2722
|
+
endpoint_url?: string[] | null | undefined;
|
|
354
2723
|
}[] | null | undefined;
|
|
355
2724
|
spatial_resolution_in_meters?: number | null | undefined;
|
|
356
2725
|
format?: {
|
|
357
2726
|
label?: string | null | undefined;
|
|
358
|
-
resource?: string | null | undefined;
|
|
359
2727
|
id?: string | null | undefined;
|
|
2728
|
+
resource?: string | null | undefined;
|
|
360
2729
|
} | null | undefined;
|
|
361
|
-
issued?: string | null | undefined;
|
|
362
2730
|
conforms_to?: {
|
|
363
2731
|
label?: string | null | undefined;
|
|
364
2732
|
resource?: string | null | undefined;
|
|
@@ -367,12 +2735,7 @@ declare function dcatApDataset(options?: DcatApDatasetParams): {
|
|
|
367
2735
|
label?: string | null | undefined;
|
|
368
2736
|
resource?: string | null | undefined;
|
|
369
2737
|
} | null | undefined;
|
|
370
|
-
temporal_resolution?: string | null | undefined;
|
|
371
2738
|
media_type?: string | null | undefined;
|
|
372
|
-
rights?: {
|
|
373
|
-
label?: string | null | undefined;
|
|
374
|
-
resource?: string | null | undefined;
|
|
375
|
-
} | null | undefined;
|
|
376
2739
|
access_url?: string[] | null | undefined;
|
|
377
2740
|
download_url?: string[] | null | undefined;
|
|
378
2741
|
byte_size?: number | null | undefined;
|
|
@@ -380,20 +2743,14 @@ declare function dcatApDataset(options?: DcatApDatasetParams): {
|
|
|
380
2743
|
algorithm?: string | null | undefined;
|
|
381
2744
|
checksum_value?: string | null | undefined;
|
|
382
2745
|
} | null | undefined;
|
|
383
|
-
language?: {
|
|
384
|
-
label?: string | null | undefined;
|
|
385
|
-
resource?: string | null | undefined;
|
|
386
|
-
id?: string | null | undefined;
|
|
387
|
-
}[] | null | undefined;
|
|
388
|
-
modified?: string | null | undefined;
|
|
389
2746
|
page?: ({
|
|
390
|
-
resource?: string | null | undefined;
|
|
391
|
-
description?: Record<string, string> | null | undefined;
|
|
392
2747
|
title?: Record<string, string> | null | undefined;
|
|
2748
|
+
description?: Record<string, string> | null | undefined;
|
|
2749
|
+
resource?: string | null | undefined;
|
|
393
2750
|
format?: {
|
|
394
2751
|
label?: string | null | undefined;
|
|
395
|
-
resource?: string | null | undefined;
|
|
396
2752
|
id?: string | null | undefined;
|
|
2753
|
+
resource?: string | null | undefined;
|
|
397
2754
|
} | null | undefined;
|
|
398
2755
|
} | null | undefined)[] | null | undefined;
|
|
399
2756
|
compress_format?: {
|
|
@@ -408,104 +2765,266 @@ declare function dcatApDataset(options?: DcatApDatasetParams): {
|
|
|
408
2765
|
extended_metadata?: string[] | null | undefined;
|
|
409
2766
|
applicable_legislation?: ({
|
|
410
2767
|
label?: string | null | undefined;
|
|
411
|
-
resource?: string | null | undefined;
|
|
412
2768
|
id?: string | null | undefined;
|
|
2769
|
+
resource?: string | null | undefined;
|
|
413
2770
|
} | null | undefined)[] | null | undefined;
|
|
414
|
-
}
|
|
415
|
-
is_referenced_by
|
|
416
|
-
quality_meas
|
|
2771
|
+
}>, "many">>>;
|
|
2772
|
+
is_referenced_by: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodString, "many">>>;
|
|
2773
|
+
quality_meas: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
2774
|
+
scoring: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
|
|
2775
|
+
}, "strip", zod.ZodTypeAny, {
|
|
417
2776
|
scoring?: number | null | undefined;
|
|
418
|
-
}
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
2777
|
+
}, {
|
|
2778
|
+
scoring?: number | null | undefined;
|
|
2779
|
+
}>>>;
|
|
2780
|
+
publisher: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
2781
|
+
name: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2782
|
+
type: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2783
|
+
email: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2784
|
+
homepage: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2785
|
+
}, "strip", zod.ZodTypeAny, {
|
|
2786
|
+
type?: string | null | undefined;
|
|
2787
|
+
name?: string | null | undefined;
|
|
2788
|
+
email?: string | null | undefined;
|
|
2789
|
+
homepage?: string | null | undefined;
|
|
2790
|
+
}, {
|
|
2791
|
+
type?: string | null | undefined;
|
|
2792
|
+
name?: string | null | undefined;
|
|
2793
|
+
email?: string | null | undefined;
|
|
2794
|
+
homepage?: string | null | undefined;
|
|
2795
|
+
}>>>;
|
|
2796
|
+
was_generated_by: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodString, "many">>>;
|
|
2797
|
+
page: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
|
|
2798
|
+
has_quality_annotation: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodString, "many">>>;
|
|
2799
|
+
spatial_resolution_in_meters: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
|
|
2800
|
+
catalog_record: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
2801
|
+
issued: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2802
|
+
modified: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2803
|
+
}, "strip", zod.ZodTypeAny, {
|
|
422
2804
|
issued?: string | null | undefined;
|
|
423
2805
|
modified?: string | null | undefined;
|
|
424
|
-
}
|
|
425
|
-
|
|
426
|
-
|
|
2806
|
+
}, {
|
|
2807
|
+
issued?: string | null | undefined;
|
|
2808
|
+
modified?: string | null | undefined;
|
|
2809
|
+
}>>>;
|
|
2810
|
+
contact_point: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
|
|
2811
|
+
organisation_name: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2812
|
+
name: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2813
|
+
address: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2814
|
+
telephone: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2815
|
+
url: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodString, "many">>>;
|
|
2816
|
+
type: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2817
|
+
email: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2818
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2819
|
+
}, "strip", zod.ZodTypeAny, {
|
|
427
2820
|
type?: string | null | undefined;
|
|
428
2821
|
name?: string | null | undefined;
|
|
2822
|
+
address?: string | null | undefined;
|
|
2823
|
+
resource?: string | null | undefined;
|
|
429
2824
|
email?: string | null | undefined;
|
|
430
2825
|
organisation_name?: string | null | undefined;
|
|
2826
|
+
telephone?: string | null | undefined;
|
|
2827
|
+
url?: string[] | null | undefined;
|
|
2828
|
+
}, {
|
|
2829
|
+
type?: string | null | undefined;
|
|
2830
|
+
name?: string | null | undefined;
|
|
431
2831
|
address?: string | null | undefined;
|
|
2832
|
+
resource?: string | null | undefined;
|
|
2833
|
+
email?: string | null | undefined;
|
|
2834
|
+
organisation_name?: string | null | undefined;
|
|
432
2835
|
telephone?: string | null | undefined;
|
|
433
2836
|
url?: string[] | null | undefined;
|
|
434
|
-
}
|
|
435
|
-
translation_meta
|
|
2837
|
+
}>, "many">>>;
|
|
2838
|
+
translation_meta: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
2839
|
+
details: zod.ZodRecord<zod.ZodString, zod.ZodObject<{
|
|
2840
|
+
machine_translated: zod.ZodBoolean;
|
|
2841
|
+
}, "strip", zod.ZodTypeAny, {
|
|
2842
|
+
machine_translated: boolean;
|
|
2843
|
+
}, {
|
|
2844
|
+
machine_translated: boolean;
|
|
2845
|
+
}>>;
|
|
2846
|
+
full_available_languages: zod.ZodArray<zod.ZodString, "many">;
|
|
2847
|
+
status: zod.ZodString;
|
|
2848
|
+
}, "strip", zod.ZodTypeAny, {
|
|
2849
|
+
details: Record<string, {
|
|
2850
|
+
machine_translated: boolean;
|
|
2851
|
+
}>;
|
|
436
2852
|
status: string;
|
|
2853
|
+
full_available_languages: string[];
|
|
2854
|
+
}, {
|
|
437
2855
|
details: Record<string, {
|
|
438
2856
|
machine_translated: boolean;
|
|
439
2857
|
}>;
|
|
2858
|
+
status: string;
|
|
440
2859
|
full_available_languages: string[];
|
|
441
|
-
}
|
|
442
|
-
version_notes
|
|
443
|
-
has_version
|
|
444
|
-
accrual_periodicity
|
|
2860
|
+
}>>>;
|
|
2861
|
+
version_notes: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
|
|
2862
|
+
has_version: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodString, "many">>>;
|
|
2863
|
+
accrual_periodicity: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
2864
|
+
id: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2865
|
+
label: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2866
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2867
|
+
}, "strip", zod.ZodTypeAny, {
|
|
445
2868
|
label?: string | null | undefined;
|
|
2869
|
+
id?: string | null | undefined;
|
|
446
2870
|
resource?: string | null | undefined;
|
|
2871
|
+
}, {
|
|
2872
|
+
label?: string | null | undefined;
|
|
447
2873
|
id?: string | null | undefined;
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
2874
|
+
resource?: string | null | undefined;
|
|
2875
|
+
}>>>;
|
|
2876
|
+
geocoding_description: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
|
|
2877
|
+
access_right: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
2878
|
+
id: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2879
|
+
label: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2880
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2881
|
+
}, "strip", zod.ZodTypeAny, {
|
|
451
2882
|
label?: string | null | undefined;
|
|
2883
|
+
id?: string | null | undefined;
|
|
452
2884
|
resource?: string | null | undefined;
|
|
2885
|
+
}, {
|
|
2886
|
+
label?: string | null | undefined;
|
|
453
2887
|
id?: string | null | undefined;
|
|
454
|
-
|
|
455
|
-
|
|
2888
|
+
resource?: string | null | undefined;
|
|
2889
|
+
}>>>;
|
|
2890
|
+
provenance: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
|
|
2891
|
+
id: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2892
|
+
label: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2893
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2894
|
+
}, "strip", zod.ZodTypeAny, {
|
|
456
2895
|
label?: string | null | undefined;
|
|
2896
|
+
id?: string | null | undefined;
|
|
457
2897
|
resource?: string | null | undefined;
|
|
2898
|
+
}, {
|
|
2899
|
+
label?: string | null | undefined;
|
|
458
2900
|
id?: string | null | undefined;
|
|
459
|
-
|
|
460
|
-
|
|
2901
|
+
resource?: string | null | undefined;
|
|
2902
|
+
}>, "many">>>;
|
|
2903
|
+
categories: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
|
|
2904
|
+
resource: zod.ZodString;
|
|
2905
|
+
id: zod.ZodString;
|
|
2906
|
+
label: zod.ZodRecord<zod.ZodString, zod.ZodString>;
|
|
2907
|
+
}, "strip", zod.ZodTypeAny, {
|
|
461
2908
|
label: Record<string, string>;
|
|
2909
|
+
id: string;
|
|
462
2910
|
resource: string;
|
|
2911
|
+
}, {
|
|
2912
|
+
label: Record<string, string>;
|
|
463
2913
|
id: string;
|
|
464
|
-
|
|
465
|
-
|
|
2914
|
+
resource: string;
|
|
2915
|
+
}>, "many">>>;
|
|
2916
|
+
adms_identifier: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
|
|
2917
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2918
|
+
identifier: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2919
|
+
scheme: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2920
|
+
}, "strip", zod.ZodTypeAny, {
|
|
466
2921
|
resource?: string | null | undefined;
|
|
467
2922
|
identifier?: string | null | undefined;
|
|
468
2923
|
scheme?: string | null | undefined;
|
|
469
|
-
}
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
2924
|
+
}, {
|
|
2925
|
+
resource?: string | null | undefined;
|
|
2926
|
+
identifier?: string | null | undefined;
|
|
2927
|
+
scheme?: string | null | undefined;
|
|
2928
|
+
}>, "many">>>;
|
|
2929
|
+
attribute: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodString, "many">>>;
|
|
2930
|
+
deadline: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
|
|
2931
|
+
qualified_attribution: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodString, "many">>>;
|
|
2932
|
+
dimension: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodString, "many">>>;
|
|
2933
|
+
creator: zod.ZodOptional<zod.ZodNullable<zod.ZodObject<{
|
|
2934
|
+
name: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2935
|
+
type: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2936
|
+
email: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2937
|
+
homepage: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2938
|
+
}, "strip", zod.ZodTypeAny, {
|
|
2939
|
+
type?: string | null | undefined;
|
|
2940
|
+
name?: string | null | undefined;
|
|
2941
|
+
email?: string | null | undefined;
|
|
2942
|
+
homepage?: string | null | undefined;
|
|
2943
|
+
}, {
|
|
2944
|
+
type?: string | null | undefined;
|
|
2945
|
+
name?: string | null | undefined;
|
|
2946
|
+
email?: string | null | undefined;
|
|
2947
|
+
homepage?: string | null | undefined;
|
|
2948
|
+
}>>>;
|
|
2949
|
+
landing_page: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
|
|
2950
|
+
id: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2951
|
+
label: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2952
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2953
|
+
}, "strip", zod.ZodTypeAny, {
|
|
475
2954
|
label?: string | null | undefined;
|
|
2955
|
+
id?: string | null | undefined;
|
|
476
2956
|
resource?: string | null | undefined;
|
|
2957
|
+
}, {
|
|
2958
|
+
label?: string | null | undefined;
|
|
477
2959
|
id?: string | null | undefined;
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
2960
|
+
resource?: string | null | undefined;
|
|
2961
|
+
}>, "many">>>;
|
|
2962
|
+
version_info: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
|
|
2963
|
+
sample: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodString, "many">>>;
|
|
2964
|
+
extended_metadata: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
|
|
2965
|
+
conforms_to: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
|
|
2966
|
+
id: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2967
|
+
label: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2968
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2969
|
+
}, "strip", zod.ZodTypeAny, {
|
|
484
2970
|
label?: string | null | undefined;
|
|
2971
|
+
id?: string | null | undefined;
|
|
485
2972
|
resource?: string | null | undefined;
|
|
2973
|
+
}, {
|
|
2974
|
+
label?: string | null | undefined;
|
|
486
2975
|
id?: string | null | undefined;
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
2976
|
+
resource?: string | null | undefined;
|
|
2977
|
+
}>, "many">>>;
|
|
2978
|
+
num_series: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
|
|
2979
|
+
is_hvd: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
|
|
2980
|
+
applicable_legislation: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
|
|
2981
|
+
id: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2982
|
+
label: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2983
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2984
|
+
}, "strip", zod.ZodTypeAny, {
|
|
2985
|
+
label?: string | null | undefined;
|
|
2986
|
+
id?: string | null | undefined;
|
|
2987
|
+
resource?: string | null | undefined;
|
|
2988
|
+
}, {
|
|
2989
|
+
label?: string | null | undefined;
|
|
2990
|
+
id?: string | null | undefined;
|
|
2991
|
+
resource?: string | null | undefined;
|
|
2992
|
+
}>, "many">>>;
|
|
2993
|
+
hvd_category: zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
|
|
2994
|
+
id: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2995
|
+
label: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2996
|
+
resource: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2997
|
+
}, "strip", zod.ZodTypeAny, {
|
|
2998
|
+
label?: string | null | undefined;
|
|
2999
|
+
id?: string | null | undefined;
|
|
3000
|
+
resource?: string | null | undefined;
|
|
3001
|
+
}, {
|
|
3002
|
+
label?: string | null | undefined;
|
|
3003
|
+
id?: string | null | undefined;
|
|
3004
|
+
resource?: string | null | undefined;
|
|
3005
|
+
}>, "many">>>;
|
|
3006
|
+
}, "strip", zod.ZodTypeAny, {
|
|
490
3007
|
id: string;
|
|
491
3008
|
catalog: {
|
|
492
3009
|
id: string;
|
|
3010
|
+
title?: Record<string, string> | null | undefined;
|
|
493
3011
|
description?: Record<string, string> | null | undefined;
|
|
494
|
-
|
|
3012
|
+
country?: {
|
|
495
3013
|
label?: string | null | undefined;
|
|
496
|
-
resource?: string | null | undefined;
|
|
497
3014
|
id?: string | null | undefined;
|
|
498
|
-
|
|
3015
|
+
resource?: string | null | undefined;
|
|
499
3016
|
} | null | undefined;
|
|
500
|
-
title?: Record<string, string> | null | undefined;
|
|
501
|
-
issued?: string | null | undefined;
|
|
502
|
-
rights?: any;
|
|
503
3017
|
language?: {
|
|
504
3018
|
label?: string | null | undefined;
|
|
505
|
-
resource?: string | null | undefined;
|
|
506
3019
|
id?: string | null | undefined;
|
|
3020
|
+
resource?: string | null | undefined;
|
|
507
3021
|
}[] | null | undefined;
|
|
508
|
-
|
|
3022
|
+
license?: {
|
|
3023
|
+
label?: string | null | undefined;
|
|
3024
|
+
id?: string | null | undefined;
|
|
3025
|
+
description?: string | null | undefined;
|
|
3026
|
+
resource?: string | null | undefined;
|
|
3027
|
+
} | null | undefined;
|
|
509
3028
|
homepage?: string | null | undefined;
|
|
510
3029
|
publisher?: {
|
|
511
3030
|
type?: string | null | undefined;
|
|
@@ -513,11 +3032,8 @@ declare function dcatApDataset(options?: DcatApDatasetParams): {
|
|
|
513
3032
|
email?: string | null | undefined;
|
|
514
3033
|
homepage?: string | null | undefined;
|
|
515
3034
|
} | null | undefined;
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
resource?: string | null | undefined;
|
|
519
|
-
id?: string | null | undefined;
|
|
520
|
-
} | null | undefined;
|
|
3035
|
+
issued?: string | null | undefined;
|
|
3036
|
+
modified?: string | null | undefined;
|
|
521
3037
|
spatial?: any[] | null | undefined;
|
|
522
3038
|
spatial_resource?: any;
|
|
523
3039
|
theme_taxonomy?: any;
|
|
@@ -525,50 +3041,48 @@ declare function dcatApDataset(options?: DcatApDatasetParams): {
|
|
|
525
3041
|
has_part?: any;
|
|
526
3042
|
is_part_of?: any;
|
|
527
3043
|
creator?: any;
|
|
3044
|
+
rights?: any;
|
|
528
3045
|
count?: number | null | undefined;
|
|
529
3046
|
};
|
|
530
|
-
resource?: string | null | undefined;
|
|
531
3047
|
type?: {
|
|
532
3048
|
label?: string | null | undefined;
|
|
533
|
-
resource?: string | null | undefined;
|
|
534
3049
|
id?: string | null | undefined;
|
|
3050
|
+
resource?: string | null | undefined;
|
|
535
3051
|
} | null | undefined;
|
|
536
|
-
|
|
537
|
-
identifier?: string[] | null | undefined;
|
|
3052
|
+
source?: string[] | null | undefined;
|
|
538
3053
|
title?: Record<string, string> | null | undefined;
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
label?: string | null | undefined;
|
|
543
|
-
resource?: string | null | undefined;
|
|
544
|
-
id?: string | null | undefined;
|
|
545
|
-
}[] | null | undefined;
|
|
546
|
-
temporal_resolution?: string | null | undefined;
|
|
547
|
-
language?: {
|
|
3054
|
+
description?: Record<string, string> | null | undefined;
|
|
3055
|
+
resource?: string | null | undefined;
|
|
3056
|
+
country?: {
|
|
548
3057
|
label?: string | null | undefined;
|
|
3058
|
+
id?: string | null | undefined;
|
|
549
3059
|
resource?: string | null | undefined;
|
|
3060
|
+
} | null | undefined;
|
|
3061
|
+
language?: {
|
|
3062
|
+
label?: string | null | undefined;
|
|
550
3063
|
id?: string | null | undefined;
|
|
3064
|
+
resource?: string | null | undefined;
|
|
551
3065
|
}[] | null | undefined;
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
3066
|
+
keywords?: {
|
|
3067
|
+
label: string;
|
|
3068
|
+
id: string;
|
|
3069
|
+
language: string;
|
|
3070
|
+
}[] | null | undefined;
|
|
3071
|
+
license?: {
|
|
556
3072
|
label?: string | null | undefined;
|
|
557
|
-
resource?: string | null | undefined;
|
|
558
3073
|
id?: string | null | undefined;
|
|
559
|
-
|
|
3074
|
+
description?: string | null | undefined;
|
|
3075
|
+
resource?: string | null | undefined;
|
|
3076
|
+
} | null | undefined;
|
|
560
3077
|
publisher?: {
|
|
561
3078
|
type?: string | null | undefined;
|
|
562
3079
|
name?: string | null | undefined;
|
|
563
3080
|
email?: string | null | undefined;
|
|
564
3081
|
homepage?: string | null | undefined;
|
|
565
3082
|
} | null | undefined;
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
id?: string | null | undefined;
|
|
570
|
-
} | null | undefined;
|
|
571
|
-
spatial?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough">[] | null | undefined;
|
|
3083
|
+
issued?: string | null | undefined;
|
|
3084
|
+
modified?: string | null | undefined;
|
|
3085
|
+
spatial?: zod.objectOutputType<{}, zod.ZodTypeAny, "passthrough">[] | null | undefined;
|
|
572
3086
|
spatial_resource?: any;
|
|
573
3087
|
creator?: {
|
|
574
3088
|
type?: string | null | undefined;
|
|
@@ -576,16 +3090,11 @@ declare function dcatApDataset(options?: DcatApDatasetParams): {
|
|
|
576
3090
|
email?: string | null | undefined;
|
|
577
3091
|
homepage?: string | null | undefined;
|
|
578
3092
|
} | null | undefined;
|
|
579
|
-
keywords?: {
|
|
580
|
-
label: string;
|
|
581
|
-
id: string;
|
|
582
|
-
language: string;
|
|
583
|
-
}[] | null | undefined;
|
|
584
3093
|
subject?: {
|
|
585
3094
|
label?: string | null | undefined;
|
|
586
3095
|
resource?: string | null | undefined;
|
|
587
3096
|
}[] | null | undefined;
|
|
588
|
-
|
|
3097
|
+
temporal_resolution?: string | null | undefined;
|
|
589
3098
|
relation?: string[] | null | undefined;
|
|
590
3099
|
legal_basis?: Record<string, string> | null | undefined;
|
|
591
3100
|
stat_unit_measure?: string[] | null | undefined;
|
|
@@ -597,44 +3106,69 @@ declare function dcatApDataset(options?: DcatApDatasetParams): {
|
|
|
597
3106
|
lte: string;
|
|
598
3107
|
gte: string;
|
|
599
3108
|
}[] | null | undefined;
|
|
3109
|
+
identifier?: string[] | null | undefined;
|
|
600
3110
|
is_version_of?: string[] | null | undefined;
|
|
3111
|
+
spatial_resolution_in_meters?: any;
|
|
3112
|
+
conforms_to?: {
|
|
3113
|
+
label?: string | null | undefined;
|
|
3114
|
+
id?: string | null | undefined;
|
|
3115
|
+
resource?: string | null | undefined;
|
|
3116
|
+
}[] | null | undefined;
|
|
3117
|
+
page?: any;
|
|
3118
|
+
extended_metadata?: any;
|
|
3119
|
+
applicable_legislation?: {
|
|
3120
|
+
label?: string | null | undefined;
|
|
3121
|
+
id?: string | null | undefined;
|
|
3122
|
+
resource?: string | null | undefined;
|
|
3123
|
+
}[] | null | undefined;
|
|
601
3124
|
distributions?: {
|
|
602
3125
|
id: string;
|
|
603
|
-
resource?: string | null | undefined;
|
|
604
3126
|
type?: {
|
|
605
3127
|
label?: string | null | undefined;
|
|
606
3128
|
resource?: string | null | undefined;
|
|
607
3129
|
} | null | undefined;
|
|
3130
|
+
title?: Record<string, string> | null | undefined;
|
|
608
3131
|
status?: {
|
|
609
3132
|
label?: string | null | undefined;
|
|
610
3133
|
resource?: string | null | undefined;
|
|
611
3134
|
} | null | undefined;
|
|
612
3135
|
description?: Record<string, string> | null | undefined;
|
|
613
|
-
|
|
3136
|
+
resource?: string | null | undefined;
|
|
3137
|
+
language?: {
|
|
614
3138
|
label?: string | null | undefined;
|
|
3139
|
+
id?: string | null | undefined;
|
|
615
3140
|
resource?: string | null | undefined;
|
|
3141
|
+
}[] | null | undefined;
|
|
3142
|
+
license?: {
|
|
3143
|
+
label?: string | null | undefined;
|
|
616
3144
|
id?: string | null | undefined;
|
|
617
3145
|
description?: string | null | undefined;
|
|
3146
|
+
resource?: string | null | undefined;
|
|
618
3147
|
} | null | undefined;
|
|
619
|
-
|
|
3148
|
+
issued?: string | null | undefined;
|
|
3149
|
+
modified?: string | null | undefined;
|
|
3150
|
+
rights?: {
|
|
3151
|
+
label?: string | null | undefined;
|
|
3152
|
+
resource?: string | null | undefined;
|
|
3153
|
+
} | null | undefined;
|
|
3154
|
+
temporal_resolution?: string | null | undefined;
|
|
620
3155
|
access_service?: {
|
|
3156
|
+
title?: Record<string, string> | null | undefined;
|
|
621
3157
|
description?: Record<string, string> | null | undefined;
|
|
622
|
-
endpoint_url?: string[] | null | undefined;
|
|
623
3158
|
license?: {
|
|
624
3159
|
label?: string | null | undefined;
|
|
625
|
-
resource?: string | null | undefined;
|
|
626
3160
|
id?: string | null | undefined;
|
|
627
3161
|
description?: string | null | undefined;
|
|
3162
|
+
resource?: string | null | undefined;
|
|
628
3163
|
} | null | undefined;
|
|
629
|
-
|
|
3164
|
+
endpoint_url?: string[] | null | undefined;
|
|
630
3165
|
}[] | null | undefined;
|
|
631
3166
|
spatial_resolution_in_meters?: number | null | undefined;
|
|
632
3167
|
format?: {
|
|
633
3168
|
label?: string | null | undefined;
|
|
634
|
-
resource?: string | null | undefined;
|
|
635
3169
|
id?: string | null | undefined;
|
|
3170
|
+
resource?: string | null | undefined;
|
|
636
3171
|
} | null | undefined;
|
|
637
|
-
issued?: string | null | undefined;
|
|
638
3172
|
conforms_to?: {
|
|
639
3173
|
label?: string | null | undefined;
|
|
640
3174
|
resource?: string | null | undefined;
|
|
@@ -643,12 +3177,7 @@ declare function dcatApDataset(options?: DcatApDatasetParams): {
|
|
|
643
3177
|
label?: string | null | undefined;
|
|
644
3178
|
resource?: string | null | undefined;
|
|
645
3179
|
} | null | undefined;
|
|
646
|
-
temporal_resolution?: string | null | undefined;
|
|
647
3180
|
media_type?: string | null | undefined;
|
|
648
|
-
rights?: {
|
|
649
|
-
label?: string | null | undefined;
|
|
650
|
-
resource?: string | null | undefined;
|
|
651
|
-
} | null | undefined;
|
|
652
3181
|
access_url?: string[] | null | undefined;
|
|
653
3182
|
download_url?: string[] | null | undefined;
|
|
654
3183
|
byte_size?: number | null | undefined;
|
|
@@ -656,20 +3185,14 @@ declare function dcatApDataset(options?: DcatApDatasetParams): {
|
|
|
656
3185
|
algorithm?: string | null | undefined;
|
|
657
3186
|
checksum_value?: string | null | undefined;
|
|
658
3187
|
} | null | undefined;
|
|
659
|
-
language?: {
|
|
660
|
-
label?: string | null | undefined;
|
|
661
|
-
resource?: string | null | undefined;
|
|
662
|
-
id?: string | null | undefined;
|
|
663
|
-
}[] | null | undefined;
|
|
664
|
-
modified?: string | null | undefined;
|
|
665
3188
|
page?: ({
|
|
666
|
-
resource?: string | null | undefined;
|
|
667
|
-
description?: Record<string, string> | null | undefined;
|
|
668
3189
|
title?: Record<string, string> | null | undefined;
|
|
3190
|
+
description?: Record<string, string> | null | undefined;
|
|
3191
|
+
resource?: string | null | undefined;
|
|
669
3192
|
format?: {
|
|
670
3193
|
label?: string | null | undefined;
|
|
671
|
-
resource?: string | null | undefined;
|
|
672
3194
|
id?: string | null | undefined;
|
|
3195
|
+
resource?: string | null | undefined;
|
|
673
3196
|
} | null | undefined;
|
|
674
3197
|
} | null | undefined)[] | null | undefined;
|
|
675
3198
|
compress_format?: {
|
|
@@ -684,8 +3207,8 @@ declare function dcatApDataset(options?: DcatApDatasetParams): {
|
|
|
684
3207
|
extended_metadata?: string[] | null | undefined;
|
|
685
3208
|
applicable_legislation?: ({
|
|
686
3209
|
label?: string | null | undefined;
|
|
687
|
-
resource?: string | null | undefined;
|
|
688
3210
|
id?: string | null | undefined;
|
|
3211
|
+
resource?: string | null | undefined;
|
|
689
3212
|
} | null | undefined)[] | null | undefined;
|
|
690
3213
|
}[] | null | undefined;
|
|
691
3214
|
is_referenced_by?: string[] | null | undefined;
|
|
@@ -699,44 +3222,44 @@ declare function dcatApDataset(options?: DcatApDatasetParams): {
|
|
|
699
3222
|
modified?: string | null | undefined;
|
|
700
3223
|
} | null | undefined;
|
|
701
3224
|
contact_point?: {
|
|
702
|
-
resource?: string | null | undefined;
|
|
703
3225
|
type?: string | null | undefined;
|
|
704
3226
|
name?: string | null | undefined;
|
|
3227
|
+
address?: string | null | undefined;
|
|
3228
|
+
resource?: string | null | undefined;
|
|
705
3229
|
email?: string | null | undefined;
|
|
706
3230
|
organisation_name?: string | null | undefined;
|
|
707
|
-
address?: string | null | undefined;
|
|
708
3231
|
telephone?: string | null | undefined;
|
|
709
3232
|
url?: string[] | null | undefined;
|
|
710
3233
|
}[] | null | undefined;
|
|
711
3234
|
translation_meta?: {
|
|
712
|
-
status: string;
|
|
713
3235
|
details: Record<string, {
|
|
714
3236
|
machine_translated: boolean;
|
|
715
3237
|
}>;
|
|
3238
|
+
status: string;
|
|
716
3239
|
full_available_languages: string[];
|
|
717
3240
|
} | null | undefined;
|
|
718
3241
|
version_notes?: Record<string, string> | null | undefined;
|
|
719
3242
|
has_version?: string[] | null | undefined;
|
|
720
3243
|
accrual_periodicity?: {
|
|
721
3244
|
label?: string | null | undefined;
|
|
722
|
-
resource?: string | null | undefined;
|
|
723
3245
|
id?: string | null | undefined;
|
|
3246
|
+
resource?: string | null | undefined;
|
|
724
3247
|
} | null | undefined;
|
|
725
3248
|
geocoding_description?: any;
|
|
726
3249
|
access_right?: {
|
|
727
3250
|
label?: string | null | undefined;
|
|
728
|
-
resource?: string | null | undefined;
|
|
729
3251
|
id?: string | null | undefined;
|
|
3252
|
+
resource?: string | null | undefined;
|
|
730
3253
|
} | null | undefined;
|
|
731
3254
|
provenance?: {
|
|
732
3255
|
label?: string | null | undefined;
|
|
733
|
-
resource?: string | null | undefined;
|
|
734
3256
|
id?: string | null | undefined;
|
|
3257
|
+
resource?: string | null | undefined;
|
|
735
3258
|
}[] | null | undefined;
|
|
736
3259
|
categories?: {
|
|
737
3260
|
label: Record<string, string>;
|
|
738
|
-
resource: string;
|
|
739
3261
|
id: string;
|
|
3262
|
+
resource: string;
|
|
740
3263
|
}[] | null | undefined;
|
|
741
3264
|
adms_identifier?: {
|
|
742
3265
|
resource?: string | null | undefined;
|
|
@@ -749,8 +3272,8 @@ declare function dcatApDataset(options?: DcatApDatasetParams): {
|
|
|
749
3272
|
dimension?: string[] | null | undefined;
|
|
750
3273
|
landing_page?: {
|
|
751
3274
|
label?: string | null | undefined;
|
|
752
|
-
resource?: string | null | undefined;
|
|
753
3275
|
id?: string | null | undefined;
|
|
3276
|
+
resource?: string | null | undefined;
|
|
754
3277
|
}[] | null | undefined;
|
|
755
3278
|
version_info?: any;
|
|
756
3279
|
sample?: string[] | null | undefined;
|
|
@@ -758,29 +3281,31 @@ declare function dcatApDataset(options?: DcatApDatasetParams): {
|
|
|
758
3281
|
is_hvd?: boolean | null | undefined;
|
|
759
3282
|
hvd_category?: {
|
|
760
3283
|
label?: string | null | undefined;
|
|
761
|
-
resource?: string | null | undefined;
|
|
762
3284
|
id?: string | null | undefined;
|
|
3285
|
+
resource?: string | null | undefined;
|
|
763
3286
|
}[] | null | undefined;
|
|
764
|
-
},
|
|
3287
|
+
}, {
|
|
765
3288
|
id: string;
|
|
766
3289
|
catalog: {
|
|
767
3290
|
id: string;
|
|
3291
|
+
title?: Record<string, string> | null | undefined;
|
|
768
3292
|
description?: Record<string, string> | null | undefined;
|
|
769
|
-
|
|
3293
|
+
country?: {
|
|
770
3294
|
label?: string | null | undefined;
|
|
771
|
-
resource?: string | null | undefined;
|
|
772
3295
|
id?: string | null | undefined;
|
|
773
|
-
|
|
3296
|
+
resource?: string | null | undefined;
|
|
774
3297
|
} | null | undefined;
|
|
775
|
-
title?: Record<string, string> | null | undefined;
|
|
776
|
-
issued?: string | null | undefined;
|
|
777
|
-
rights?: any;
|
|
778
3298
|
language?: {
|
|
779
3299
|
label?: string | null | undefined;
|
|
780
|
-
resource?: string | null | undefined;
|
|
781
3300
|
id?: string | null | undefined;
|
|
3301
|
+
resource?: string | null | undefined;
|
|
782
3302
|
}[] | null | undefined;
|
|
783
|
-
|
|
3303
|
+
license?: {
|
|
3304
|
+
label?: string | null | undefined;
|
|
3305
|
+
id?: string | null | undefined;
|
|
3306
|
+
description?: string | null | undefined;
|
|
3307
|
+
resource?: string | null | undefined;
|
|
3308
|
+
} | null | undefined;
|
|
784
3309
|
homepage?: string | null | undefined;
|
|
785
3310
|
publisher?: {
|
|
786
3311
|
type?: string | null | undefined;
|
|
@@ -788,11 +3313,8 @@ declare function dcatApDataset(options?: DcatApDatasetParams): {
|
|
|
788
3313
|
email?: string | null | undefined;
|
|
789
3314
|
homepage?: string | null | undefined;
|
|
790
3315
|
} | null | undefined;
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
resource?: string | null | undefined;
|
|
794
|
-
id?: string | null | undefined;
|
|
795
|
-
} | null | undefined;
|
|
3316
|
+
issued?: string | null | undefined;
|
|
3317
|
+
modified?: string | null | undefined;
|
|
796
3318
|
spatial?: any[] | null | undefined;
|
|
797
3319
|
spatial_resource?: any;
|
|
798
3320
|
theme_taxonomy?: any;
|
|
@@ -800,49 +3322,47 @@ declare function dcatApDataset(options?: DcatApDatasetParams): {
|
|
|
800
3322
|
has_part?: any;
|
|
801
3323
|
is_part_of?: any;
|
|
802
3324
|
creator?: any;
|
|
3325
|
+
rights?: any;
|
|
803
3326
|
count?: number | null | undefined;
|
|
804
3327
|
};
|
|
805
|
-
resource?: string | null | undefined;
|
|
806
3328
|
type?: {
|
|
807
3329
|
label?: string | null | undefined;
|
|
808
|
-
resource?: string | null | undefined;
|
|
809
3330
|
id?: string | null | undefined;
|
|
3331
|
+
resource?: string | null | undefined;
|
|
810
3332
|
} | null | undefined;
|
|
811
|
-
|
|
812
|
-
identifier?: string[] | null | undefined;
|
|
3333
|
+
source?: string[] | null | undefined;
|
|
813
3334
|
title?: Record<string, string> | null | undefined;
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
3335
|
+
description?: Record<string, string> | null | undefined;
|
|
3336
|
+
resource?: string | null | undefined;
|
|
3337
|
+
country?: {
|
|
817
3338
|
label?: string | null | undefined;
|
|
818
|
-
resource?: string | null | undefined;
|
|
819
3339
|
id?: string | null | undefined;
|
|
820
|
-
|
|
821
|
-
|
|
3340
|
+
resource?: string | null | undefined;
|
|
3341
|
+
} | null | undefined;
|
|
822
3342
|
language?: {
|
|
823
3343
|
label?: string | null | undefined;
|
|
824
|
-
resource?: string | null | undefined;
|
|
825
3344
|
id?: string | null | undefined;
|
|
3345
|
+
resource?: string | null | undefined;
|
|
826
3346
|
}[] | null | undefined;
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
3347
|
+
keywords?: {
|
|
3348
|
+
label: string;
|
|
3349
|
+
id: string;
|
|
3350
|
+
language: string;
|
|
3351
|
+
}[] | null | undefined;
|
|
3352
|
+
license?: {
|
|
831
3353
|
label?: string | null | undefined;
|
|
832
|
-
resource?: string | null | undefined;
|
|
833
3354
|
id?: string | null | undefined;
|
|
834
|
-
|
|
3355
|
+
description?: string | null | undefined;
|
|
3356
|
+
resource?: string | null | undefined;
|
|
3357
|
+
} | null | undefined;
|
|
835
3358
|
publisher?: {
|
|
836
3359
|
type?: string | null | undefined;
|
|
837
3360
|
name?: string | null | undefined;
|
|
838
3361
|
email?: string | null | undefined;
|
|
839
3362
|
homepage?: string | null | undefined;
|
|
840
3363
|
} | null | undefined;
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
resource?: string | null | undefined;
|
|
844
|
-
id?: string | null | undefined;
|
|
845
|
-
} | null | undefined;
|
|
3364
|
+
issued?: string | null | undefined;
|
|
3365
|
+
modified?: string | null | undefined;
|
|
846
3366
|
spatial?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough">[] | null | undefined;
|
|
847
3367
|
spatial_resource?: any;
|
|
848
3368
|
creator?: {
|
|
@@ -851,16 +3371,11 @@ declare function dcatApDataset(options?: DcatApDatasetParams): {
|
|
|
851
3371
|
email?: string | null | undefined;
|
|
852
3372
|
homepage?: string | null | undefined;
|
|
853
3373
|
} | null | undefined;
|
|
854
|
-
keywords?: {
|
|
855
|
-
label: string;
|
|
856
|
-
id: string;
|
|
857
|
-
language: string;
|
|
858
|
-
}[] | null | undefined;
|
|
859
3374
|
subject?: {
|
|
860
3375
|
label?: string | null | undefined;
|
|
861
3376
|
resource?: string | null | undefined;
|
|
862
3377
|
}[] | null | undefined;
|
|
863
|
-
|
|
3378
|
+
temporal_resolution?: string | null | undefined;
|
|
864
3379
|
relation?: string[] | null | undefined;
|
|
865
3380
|
legal_basis?: Record<string, string> | null | undefined;
|
|
866
3381
|
stat_unit_measure?: string[] | null | undefined;
|
|
@@ -872,44 +3387,69 @@ declare function dcatApDataset(options?: DcatApDatasetParams): {
|
|
|
872
3387
|
lte: string;
|
|
873
3388
|
gte: string;
|
|
874
3389
|
}[] | null | undefined;
|
|
3390
|
+
identifier?: string[] | null | undefined;
|
|
875
3391
|
is_version_of?: string[] | null | undefined;
|
|
3392
|
+
spatial_resolution_in_meters?: any;
|
|
3393
|
+
conforms_to?: {
|
|
3394
|
+
label?: string | null | undefined;
|
|
3395
|
+
id?: string | null | undefined;
|
|
3396
|
+
resource?: string | null | undefined;
|
|
3397
|
+
}[] | null | undefined;
|
|
3398
|
+
page?: any;
|
|
3399
|
+
extended_metadata?: any;
|
|
3400
|
+
applicable_legislation?: {
|
|
3401
|
+
label?: string | null | undefined;
|
|
3402
|
+
id?: string | null | undefined;
|
|
3403
|
+
resource?: string | null | undefined;
|
|
3404
|
+
}[] | null | undefined;
|
|
876
3405
|
distributions?: {
|
|
877
3406
|
id: string;
|
|
878
|
-
resource?: string | null | undefined;
|
|
879
3407
|
type?: {
|
|
880
3408
|
label?: string | null | undefined;
|
|
881
3409
|
resource?: string | null | undefined;
|
|
882
3410
|
} | null | undefined;
|
|
3411
|
+
title?: Record<string, string> | null | undefined;
|
|
883
3412
|
status?: {
|
|
884
3413
|
label?: string | null | undefined;
|
|
885
3414
|
resource?: string | null | undefined;
|
|
886
3415
|
} | null | undefined;
|
|
887
3416
|
description?: Record<string, string> | null | undefined;
|
|
888
|
-
|
|
3417
|
+
resource?: string | null | undefined;
|
|
3418
|
+
language?: {
|
|
889
3419
|
label?: string | null | undefined;
|
|
3420
|
+
id?: string | null | undefined;
|
|
890
3421
|
resource?: string | null | undefined;
|
|
3422
|
+
}[] | null | undefined;
|
|
3423
|
+
license?: {
|
|
3424
|
+
label?: string | null | undefined;
|
|
891
3425
|
id?: string | null | undefined;
|
|
892
3426
|
description?: string | null | undefined;
|
|
3427
|
+
resource?: string | null | undefined;
|
|
893
3428
|
} | null | undefined;
|
|
894
|
-
|
|
3429
|
+
issued?: string | null | undefined;
|
|
3430
|
+
modified?: string | null | undefined;
|
|
3431
|
+
rights?: {
|
|
3432
|
+
label?: string | null | undefined;
|
|
3433
|
+
resource?: string | null | undefined;
|
|
3434
|
+
} | null | undefined;
|
|
3435
|
+
temporal_resolution?: string | null | undefined;
|
|
895
3436
|
access_service?: {
|
|
3437
|
+
title?: Record<string, string> | null | undefined;
|
|
896
3438
|
description?: Record<string, string> | null | undefined;
|
|
897
|
-
endpoint_url?: string[] | null | undefined;
|
|
898
3439
|
license?: {
|
|
899
3440
|
label?: string | null | undefined;
|
|
900
|
-
resource?: string | null | undefined;
|
|
901
3441
|
id?: string | null | undefined;
|
|
902
3442
|
description?: string | null | undefined;
|
|
3443
|
+
resource?: string | null | undefined;
|
|
903
3444
|
} | null | undefined;
|
|
904
|
-
|
|
3445
|
+
endpoint_url?: string[] | null | undefined;
|
|
905
3446
|
}[] | null | undefined;
|
|
906
3447
|
spatial_resolution_in_meters?: number | null | undefined;
|
|
907
3448
|
format?: {
|
|
908
3449
|
label?: string | null | undefined;
|
|
909
|
-
resource?: string | null | undefined;
|
|
910
3450
|
id?: string | null | undefined;
|
|
3451
|
+
resource?: string | null | undefined;
|
|
911
3452
|
} | null | undefined;
|
|
912
|
-
issued?: string | null | undefined;
|
|
913
3453
|
conforms_to?: {
|
|
914
3454
|
label?: string | null | undefined;
|
|
915
3455
|
resource?: string | null | undefined;
|
|
@@ -918,12 +3458,7 @@ declare function dcatApDataset(options?: DcatApDatasetParams): {
|
|
|
918
3458
|
label?: string | null | undefined;
|
|
919
3459
|
resource?: string | null | undefined;
|
|
920
3460
|
} | null | undefined;
|
|
921
|
-
temporal_resolution?: string | null | undefined;
|
|
922
3461
|
media_type?: string | null | undefined;
|
|
923
|
-
rights?: {
|
|
924
|
-
label?: string | null | undefined;
|
|
925
|
-
resource?: string | null | undefined;
|
|
926
|
-
} | null | undefined;
|
|
927
3462
|
access_url?: string[] | null | undefined;
|
|
928
3463
|
download_url?: string[] | null | undefined;
|
|
929
3464
|
byte_size?: number | null | undefined;
|
|
@@ -931,20 +3466,14 @@ declare function dcatApDataset(options?: DcatApDatasetParams): {
|
|
|
931
3466
|
algorithm?: string | null | undefined;
|
|
932
3467
|
checksum_value?: string | null | undefined;
|
|
933
3468
|
} | null | undefined;
|
|
934
|
-
language?: {
|
|
935
|
-
label?: string | null | undefined;
|
|
936
|
-
resource?: string | null | undefined;
|
|
937
|
-
id?: string | null | undefined;
|
|
938
|
-
}[] | null | undefined;
|
|
939
|
-
modified?: string | null | undefined;
|
|
940
3469
|
page?: ({
|
|
941
|
-
resource?: string | null | undefined;
|
|
942
|
-
description?: Record<string, string> | null | undefined;
|
|
943
3470
|
title?: Record<string, string> | null | undefined;
|
|
3471
|
+
description?: Record<string, string> | null | undefined;
|
|
3472
|
+
resource?: string | null | undefined;
|
|
944
3473
|
format?: {
|
|
945
3474
|
label?: string | null | undefined;
|
|
946
|
-
resource?: string | null | undefined;
|
|
947
3475
|
id?: string | null | undefined;
|
|
3476
|
+
resource?: string | null | undefined;
|
|
948
3477
|
} | null | undefined;
|
|
949
3478
|
} | null | undefined)[] | null | undefined;
|
|
950
3479
|
compress_format?: {
|
|
@@ -959,8 +3488,8 @@ declare function dcatApDataset(options?: DcatApDatasetParams): {
|
|
|
959
3488
|
extended_metadata?: string[] | null | undefined;
|
|
960
3489
|
applicable_legislation?: ({
|
|
961
3490
|
label?: string | null | undefined;
|
|
962
|
-
resource?: string | null | undefined;
|
|
963
3491
|
id?: string | null | undefined;
|
|
3492
|
+
resource?: string | null | undefined;
|
|
964
3493
|
} | null | undefined)[] | null | undefined;
|
|
965
3494
|
}[] | null | undefined;
|
|
966
3495
|
is_referenced_by?: string[] | null | undefined;
|
|
@@ -974,44 +3503,44 @@ declare function dcatApDataset(options?: DcatApDatasetParams): {
|
|
|
974
3503
|
modified?: string | null | undefined;
|
|
975
3504
|
} | null | undefined;
|
|
976
3505
|
contact_point?: {
|
|
977
|
-
resource?: string | null | undefined;
|
|
978
3506
|
type?: string | null | undefined;
|
|
979
3507
|
name?: string | null | undefined;
|
|
3508
|
+
address?: string | null | undefined;
|
|
3509
|
+
resource?: string | null | undefined;
|
|
980
3510
|
email?: string | null | undefined;
|
|
981
3511
|
organisation_name?: string | null | undefined;
|
|
982
|
-
address?: string | null | undefined;
|
|
983
3512
|
telephone?: string | null | undefined;
|
|
984
3513
|
url?: string[] | null | undefined;
|
|
985
3514
|
}[] | null | undefined;
|
|
986
3515
|
translation_meta?: {
|
|
987
|
-
status: string;
|
|
988
3516
|
details: Record<string, {
|
|
989
3517
|
machine_translated: boolean;
|
|
990
3518
|
}>;
|
|
3519
|
+
status: string;
|
|
991
3520
|
full_available_languages: string[];
|
|
992
3521
|
} | null | undefined;
|
|
993
3522
|
version_notes?: Record<string, string> | null | undefined;
|
|
994
3523
|
has_version?: string[] | null | undefined;
|
|
995
3524
|
accrual_periodicity?: {
|
|
996
3525
|
label?: string | null | undefined;
|
|
997
|
-
resource?: string | null | undefined;
|
|
998
3526
|
id?: string | null | undefined;
|
|
3527
|
+
resource?: string | null | undefined;
|
|
999
3528
|
} | null | undefined;
|
|
1000
3529
|
geocoding_description?: any;
|
|
1001
3530
|
access_right?: {
|
|
1002
3531
|
label?: string | null | undefined;
|
|
1003
|
-
resource?: string | null | undefined;
|
|
1004
3532
|
id?: string | null | undefined;
|
|
3533
|
+
resource?: string | null | undefined;
|
|
1005
3534
|
} | null | undefined;
|
|
1006
3535
|
provenance?: {
|
|
1007
3536
|
label?: string | null | undefined;
|
|
1008
|
-
resource?: string | null | undefined;
|
|
1009
3537
|
id?: string | null | undefined;
|
|
3538
|
+
resource?: string | null | undefined;
|
|
1010
3539
|
}[] | null | undefined;
|
|
1011
3540
|
categories?: {
|
|
1012
3541
|
label: Record<string, string>;
|
|
1013
|
-
resource: string;
|
|
1014
3542
|
id: string;
|
|
3543
|
+
resource: string;
|
|
1015
3544
|
}[] | null | undefined;
|
|
1016
3545
|
adms_identifier?: {
|
|
1017
3546
|
resource?: string | null | undefined;
|
|
@@ -1024,8 +3553,8 @@ declare function dcatApDataset(options?: DcatApDatasetParams): {
|
|
|
1024
3553
|
dimension?: string[] | null | undefined;
|
|
1025
3554
|
landing_page?: {
|
|
1026
3555
|
label?: string | null | undefined;
|
|
1027
|
-
resource?: string | null | undefined;
|
|
1028
3556
|
id?: string | null | undefined;
|
|
3557
|
+
resource?: string | null | undefined;
|
|
1029
3558
|
}[] | null | undefined;
|
|
1030
3559
|
version_info?: any;
|
|
1031
3560
|
sample?: string[] | null | undefined;
|
|
@@ -1033,158 +3562,12 @@ declare function dcatApDataset(options?: DcatApDatasetParams): {
|
|
|
1033
3562
|
is_hvd?: boolean | null | undefined;
|
|
1034
3563
|
hvd_category?: {
|
|
1035
3564
|
label?: string | null | undefined;
|
|
1036
|
-
resource?: string | null | undefined;
|
|
1037
3565
|
id?: string | null | undefined;
|
|
3566
|
+
resource?: string | null | undefined;
|
|
1038
3567
|
}[] | null | undefined;
|
|
1039
3568
|
}>;
|
|
1040
3569
|
};
|
|
1041
3570
|
|
|
1042
|
-
/** @public */
|
|
1043
|
-
interface PropertyTableEntryBase {
|
|
1044
|
-
id: string;
|
|
1045
|
-
}
|
|
1046
|
-
/** @public */
|
|
1047
|
-
interface PropertyTableCellHref {
|
|
1048
|
-
label: string;
|
|
1049
|
-
href: string;
|
|
1050
|
-
}
|
|
1051
|
-
/** @public */
|
|
1052
|
-
interface PropertyTableCellContact {
|
|
1053
|
-
type: 'adress';
|
|
1054
|
-
name: string;
|
|
1055
|
-
address: string;
|
|
1056
|
-
telephone: string;
|
|
1057
|
-
email: string;
|
|
1058
|
-
organization: string;
|
|
1059
|
-
}
|
|
1060
|
-
/** @public */
|
|
1061
|
-
type PropertyTableCell = string | number;
|
|
1062
|
-
/** @public */
|
|
1063
|
-
interface PropertyTableEntryNode extends PropertyTableEntryBase {
|
|
1064
|
-
type: 'node';
|
|
1065
|
-
label: string;
|
|
1066
|
-
help?: string;
|
|
1067
|
-
isRoot?: boolean;
|
|
1068
|
-
data?: PropertyTableEntry[];
|
|
1069
|
-
/** @private */
|
|
1070
|
-
__processed?: boolean;
|
|
1071
|
-
}
|
|
1072
|
-
/** @public */
|
|
1073
|
-
interface PropertyTableRoot extends PropertyTableEntryNode {
|
|
1074
|
-
type: 'node';
|
|
1075
|
-
isRoot: true;
|
|
1076
|
-
data?: PropertyTableEntry[];
|
|
1077
|
-
}
|
|
1078
|
-
/** @public */
|
|
1079
|
-
interface PropertyTableEntryNodeSimplified extends PropertyTableEntryBase {
|
|
1080
|
-
data: PropertyTableEntrySimplified | PropertyTableEntrySimplified[];
|
|
1081
|
-
}
|
|
1082
|
-
/** @public */
|
|
1083
|
-
interface PropertyTableEntryValue extends PropertyTableEntryBase {
|
|
1084
|
-
type: 'value';
|
|
1085
|
-
badge?: string;
|
|
1086
|
-
data: PropertyTableCell[] | PropertyTableCell;
|
|
1087
|
-
}
|
|
1088
|
-
/** @public */
|
|
1089
|
-
interface PropertyTableEntryHref extends PropertyTableEntryBase {
|
|
1090
|
-
type: 'href';
|
|
1091
|
-
badge?: string;
|
|
1092
|
-
data: PropertyTableCellHref | PropertyTableCellHref[];
|
|
1093
|
-
}
|
|
1094
|
-
/** @public */
|
|
1095
|
-
interface PropertyTableLeafValue extends PropertyTableEntryBase {
|
|
1096
|
-
type: 'value';
|
|
1097
|
-
badge?: string;
|
|
1098
|
-
data: string;
|
|
1099
|
-
}
|
|
1100
|
-
/** @public */
|
|
1101
|
-
interface PropertyTableLeafHref extends PropertyTableEntryBase {
|
|
1102
|
-
type: 'href';
|
|
1103
|
-
badge?: string;
|
|
1104
|
-
data: {
|
|
1105
|
-
href: string;
|
|
1106
|
-
label?: string;
|
|
1107
|
-
};
|
|
1108
|
-
}
|
|
1109
|
-
/** @public */
|
|
1110
|
-
type PropertyTableEntryLeaf = PropertyTableLeafValue | PropertyTableLeafHref;
|
|
1111
|
-
/** @public */
|
|
1112
|
-
type PropertyTableEntry = PropertyTableEntryNode | PropertyTableEntryLeaf;
|
|
1113
|
-
/** @public */
|
|
1114
|
-
type PropertyTableEntrySimplified = undefined | null | string | string[] | PropertyTableEntry | DefinePropertyNodeOptions & {
|
|
1115
|
-
type: 'node';
|
|
1116
|
-
};
|
|
1117
|
-
/** @public */
|
|
1118
|
-
type PropertyTableProps = PropertyTableEntry[];
|
|
1119
|
-
/** @public */
|
|
1120
|
-
interface DefinePropertyNodeOptions {
|
|
1121
|
-
id: string;
|
|
1122
|
-
label?: string;
|
|
1123
|
-
help?: string;
|
|
1124
|
-
data?: PropertyTableEntrySimplified | PropertyTableEntrySimplified[] | null;
|
|
1125
|
-
__processed?: boolean;
|
|
1126
|
-
}
|
|
1127
|
-
/** @public */
|
|
1128
|
-
interface DefinePropertyNodeGeneralOptions {
|
|
1129
|
-
compact?: boolean;
|
|
1130
|
-
debug?: boolean;
|
|
1131
|
-
maxDepth?: number;
|
|
1132
|
-
}
|
|
1133
|
-
/** @public */
|
|
1134
|
-
declare function definePropertyNode(nodeOptions: DefinePropertyNodeOptions, options?: DefinePropertyNodeGeneralOptions): PropertyTableEntryNode;
|
|
1135
|
-
/** @public */
|
|
1136
|
-
declare function definePropertyNodeCompact(nodeOptions: DefinePropertyNodeOptions, options?: Omit<DefinePropertyNodeGeneralOptions, 'compact'>): PropertyTableEntryNode;
|
|
1137
|
-
/** @public */
|
|
1138
|
-
interface DefinePropertyValueOptions {
|
|
1139
|
-
id?: string;
|
|
1140
|
-
data?: string | string[];
|
|
1141
|
-
}
|
|
1142
|
-
/** @public */
|
|
1143
|
-
declare function definePropertyValue(propertyOptions: DefinePropertyValueOptions): PropertyTableEntryLeaf;
|
|
1144
|
-
/**
|
|
1145
|
-
* Parses a Resource object to a PropertyTableEntry.
|
|
1146
|
-
* Determines the type of entry based on the presence of a resource URL.
|
|
1147
|
-
* If the resource URL exists, it returns an entry of type 'href'.
|
|
1148
|
-
* Otherwise, it returns an entry of type 'value'.
|
|
1149
|
-
*
|
|
1150
|
-
* @param obj - The Resource object to be parsed.
|
|
1151
|
-
* @param id - An optional string used as a fallback for the entry's id.
|
|
1152
|
-
* @returns A PropertyTableEntry object with type 'href' or 'value', or undefined if the input object is invalid.
|
|
1153
|
-
* @public
|
|
1154
|
-
*/
|
|
1155
|
-
declare function parseResource(obj?: Resource | null, id?: string): PropertyTableEntryLeaf | undefined;
|
|
1156
|
-
/**
|
|
1157
|
-
* Parses an array of Resource objects to an array of PropertyTableEntry objects.
|
|
1158
|
-
* It applies the parseResource function to each element and filters out any undefined values.
|
|
1159
|
-
*
|
|
1160
|
-
* @param obj - The array of Resource objects to be parsed.
|
|
1161
|
-
* @param id - An optional string used as a fallback for the entry's id.
|
|
1162
|
-
* @returns An array of PropertyTableEntry objects with type 'href' or 'value'.
|
|
1163
|
-
* @public
|
|
1164
|
-
*/
|
|
1165
|
-
declare function parseResourceList(obj?: Resource[] | null, id?: string): PropertyTableEntryLeaf[];
|
|
1166
|
-
/** @public */
|
|
1167
|
-
declare function parseUrl(url?: string | null, id?: string): PropertyTableLeafHref | undefined;
|
|
1168
|
-
/** @public */
|
|
1169
|
-
declare function parseUrlList(urls?: string[] | null): PropertyTableLeafHref[];
|
|
1170
|
-
interface SelectNodesOptions {
|
|
1171
|
-
select?: string[];
|
|
1172
|
-
discardUnused?: boolean;
|
|
1173
|
-
}
|
|
1174
|
-
/** @public */
|
|
1175
|
-
interface SelectNodesByIdParams extends SelectNodesOptions {
|
|
1176
|
-
nodes: PropertyTableEntryNode[];
|
|
1177
|
-
}
|
|
1178
|
-
/**
|
|
1179
|
-
* Selects nodes by their id from a list of nodes.
|
|
1180
|
-
*
|
|
1181
|
-
* The function returns a new list of nodes that is sorted according to the order of their ids in the `select` array and does not contain any nodes that are not in the `select` array.
|
|
1182
|
-
*
|
|
1183
|
-
* @returns A new list of nodes that is sorted and filtered according to the options.
|
|
1184
|
-
* @public
|
|
1185
|
-
*/
|
|
1186
|
-
declare function selectNodesById(options: SelectNodesByIdParams): PropertyTableEntryNode[];
|
|
1187
|
-
|
|
1188
3571
|
interface GetPropertyTableBase<T> {
|
|
1189
3572
|
data: T;
|
|
1190
3573
|
localeInstance: UnwrappedLocaleInstance;
|
|
@@ -1198,6 +3581,7 @@ declare function getPropertyTableDataset(options: GetPropertyTableDatasetParams)
|
|
|
1198
3581
|
getPropertyTable: PropertyTableEntryNode[];
|
|
1199
3582
|
};
|
|
1200
3583
|
declare function getPropertyTableDistribution(options: GetPropertyTableDistributionParams): PropertyTableEntryNode[];
|
|
3584
|
+
declare function getPropertyTableCatalog(options: GetPropertyTableBase<Catalog>): PropertyTableEntryNode[];
|
|
1201
3585
|
|
|
1202
3586
|
interface SearchResultFacetGroupLocalized {
|
|
1203
3587
|
id: string;
|
|
@@ -1208,25 +3592,25 @@ interface SearchResultFacetGroupLocalized {
|
|
|
1208
3592
|
count: number;
|
|
1209
3593
|
}[];
|
|
1210
3594
|
}
|
|
1211
|
-
interface UseSearchFactoryParams<TFacetNames extends string,
|
|
1212
|
-
schema:
|
|
1213
|
-
index:
|
|
3595
|
+
interface UseSearchFactoryParams<TFacetNames extends string, TModelSchema extends StandardSchemaV1> {
|
|
3596
|
+
schema: TModelSchema;
|
|
3597
|
+
index: string | string[];
|
|
1214
3598
|
facets?: TFacetNames[];
|
|
1215
|
-
|
|
3599
|
+
queryOptions?: OurQueryOptions;
|
|
1216
3600
|
qc: QueryClient;
|
|
1217
3601
|
fetcherFn: (_options: {
|
|
1218
3602
|
params: SearchParams;
|
|
1219
3603
|
additionalParams?: any;
|
|
1220
3604
|
headers?: Record<string, string>;
|
|
1221
|
-
}) => Promise<SearchResult<TModelSchema
|
|
3605
|
+
}) => Promise<SearchResult<StandardSchemaV1.InferOutput<TModelSchema>>>;
|
|
1222
3606
|
}
|
|
1223
|
-
interface UseSearchFactoryReturn<TFacetNames extends string, TModelSchema, TSetup> {
|
|
3607
|
+
interface UseSearchFactoryReturn<TFacetNames extends string, TModelSchema extends StandardSchemaV1, TSetup> {
|
|
1224
3608
|
/**
|
|
1225
3609
|
* The search query object.
|
|
1226
3610
|
*
|
|
1227
3611
|
* @see https://tanstack.com/query/latest/docs/framework/vue/reference/useQuery
|
|
1228
3612
|
*/
|
|
1229
|
-
query: _UseQueryReturnType<SearchResult<TModelSchema
|
|
3613
|
+
query: _UseQueryReturnType<SearchResult<StandardSchemaV1.InferOutput<TModelSchema>>, Error>;
|
|
1230
3614
|
/**
|
|
1231
3615
|
* The available facets for the current search results.
|
|
1232
3616
|
*/
|
|
@@ -1238,17 +3622,45 @@ interface UseSearchFactoryReturn<TFacetNames extends string, TModelSchema, TSetu
|
|
|
1238
3622
|
/**
|
|
1239
3623
|
* The search results.
|
|
1240
3624
|
*/
|
|
1241
|
-
getSearchResults: ComputedRef<TModelSchema[] | undefined>;
|
|
3625
|
+
getSearchResults: ComputedRef<StandardSchemaV1.InferOutput<TModelSchema>[] | undefined>;
|
|
1242
3626
|
getSearchResultsEnhanced: ComputedRef<TSetup[] | undefined>;
|
|
3627
|
+
/**
|
|
3628
|
+
* The normalized search result that handles both single and multi-index cases consistently.
|
|
3629
|
+
* This provides a unified interface regardless of whether you're using single or combined search.
|
|
3630
|
+
*/
|
|
3631
|
+
getNormalizedResult: ComputedRef<{
|
|
3632
|
+
indexes: string[];
|
|
3633
|
+
count: {
|
|
3634
|
+
total: number;
|
|
3635
|
+
} & Record<string, number>;
|
|
3636
|
+
results: StandardSchemaV1.InferOutput<TModelSchema>[] | undefined;
|
|
3637
|
+
facets: SearchResultFacetGroup[];
|
|
3638
|
+
} | null>;
|
|
1243
3639
|
/**
|
|
1244
3640
|
* The total number of search results.
|
|
3641
|
+
* For single index search, this returns the count for that index.
|
|
3642
|
+
* For multi-index search, this returns the total count.
|
|
1245
3643
|
*/
|
|
1246
3644
|
getSearchResultsCount: ComputedRef<number>;
|
|
1247
3645
|
/**
|
|
1248
3646
|
* The total number of pages of search results based on the current limit parameter.
|
|
1249
3647
|
* If the limit is not set or is less than or equal to 0, this will return `NaN`.
|
|
3648
|
+
* For single index search, this is based on the count for that index.
|
|
3649
|
+
* For multi-index search, this is based on the total count.
|
|
1250
3650
|
*/
|
|
1251
3651
|
getSearchResultsPagesCount: ComputedRef<number>;
|
|
3652
|
+
/**
|
|
3653
|
+
* Get the count for a specific index.
|
|
3654
|
+
* @param index The index to get the count for
|
|
3655
|
+
* @returns A computed ref with the count for the specified index
|
|
3656
|
+
*/
|
|
3657
|
+
getSearchResultCountByIndex: (index: string) => ComputedRef<number>;
|
|
3658
|
+
/**
|
|
3659
|
+
* Get the number of pages for a specific index based on the current limit parameter.
|
|
3660
|
+
* @param index The index to get the page count for
|
|
3661
|
+
* @returns A computed ref with the page count for the specified index
|
|
3662
|
+
*/
|
|
3663
|
+
getSearchResultsPagesCountByIndex: (index: string) => ComputedRef<number>;
|
|
1252
3664
|
/**
|
|
1253
3665
|
* Whether the search query is loading.
|
|
1254
3666
|
*/
|
|
@@ -1276,114 +3688,16 @@ interface UseSearchParams<TFacetNames extends string> {
|
|
|
1276
3688
|
selectedFacets?: FacetRef<TFacetNames>;
|
|
1277
3689
|
additionalParams?: MaybeRefOrGetter<any>;
|
|
1278
3690
|
headers?: MaybeRefOrGetter<Record<string, string>>;
|
|
1279
|
-
queryOptions?:
|
|
1280
|
-
staleTime?: MaybeRef<number>;
|
|
1281
|
-
refetchOnWindowFocus?: MaybeRef<boolean>;
|
|
1282
|
-
refetchInterval?: MaybeRef<number>;
|
|
1283
|
-
suspense?: MaybeRef<boolean>;
|
|
1284
|
-
retry?: MaybeRef<number>;
|
|
1285
|
-
};
|
|
3691
|
+
queryOptions?: OurQueryOptions;
|
|
1286
3692
|
}
|
|
1287
|
-
declare function useSearchFactory<TSetup extends object, TFacetNames extends string,
|
|
3693
|
+
declare function useSearchFactory<TSetup extends object, TFacetNames extends string, TModelSchema extends StandardSchemaV1>(options: UseSearchFactoryParams<TFacetNames, TModelSchema>, setup?: SetupFn<TSetup, TModelSchema>): (params: UseSearchParams<TFacetNames>) => UseSearchFactoryReturn<TFacetNames, TModelSchema, TSetup>;
|
|
1288
3694
|
|
|
1289
3695
|
/**
|
|
1290
|
-
*
|
|
1291
|
-
*
|
|
1292
|
-
* @
|
|
1293
|
-
*
|
|
1294
|
-
* @example
|
|
1295
|
-
* ```ts
|
|
1296
|
-
* const candidates = ['en-US', 'en-GB', 'en']
|
|
1297
|
-
* const preferredLocale = ['en-GB', 'en-US']
|
|
1298
|
-
* const representativeLocale = getRepresentativeLocaleOf({ candidates, preferredLocale })
|
|
1299
|
-
* console.log(representativeLocale) // 'en-GB'
|
|
1300
|
-
* ```
|
|
1301
|
-
*/
|
|
1302
|
-
declare function getRepresentativeLocaleOf({ candidates, preferredLocale, }: {
|
|
1303
|
-
candidates: string[];
|
|
1304
|
-
preferredLocale?: string | string[] | null;
|
|
1305
|
-
}): string | undefined;
|
|
1306
|
-
/**
|
|
1307
|
-
* Retrieves the translation for the specified object based on the preferred locale.
|
|
1308
|
-
* If the preferred locale is not found, an empty string is returned.
|
|
1309
|
-
*
|
|
1310
|
-
* @param obj - A record containing key-value pairs where keys represent locale codes and values represent translations.
|
|
1311
|
-
* @param preferredLocale - A single locale or an array of locales representing the preference order.
|
|
1312
|
-
* @returns The translation string for the most preferred available locale, or an empty string if no match is found.
|
|
1313
|
-
*
|
|
1314
|
-
* @example
|
|
1315
|
-
* ```ts
|
|
1316
|
-
* const translations = { 'en': 'Hello', 'fr': 'Bonjour' }
|
|
1317
|
-
* const locale = getTranslationFor(translations, ['fr', 'en'])
|
|
1318
|
-
* console.log(locale) // 'Bonjour'
|
|
1319
|
-
* ```
|
|
1320
|
-
*/
|
|
1321
|
-
declare function getTranslationFor(obj?: Record<string, string> | null, preferredLocale?: string | string[] | null): string | undefined;
|
|
1322
|
-
/**
|
|
1323
|
-
* Retrieves a localized value from an object based on the preferred locale.
|
|
1324
|
-
* If a translation is not found for the preferred locale, it attempts to use the fallback locale.
|
|
1325
|
-
*
|
|
1326
|
-
* @returns The translation string for the most preferred available locale, or an empty string if no match is found.
|
|
1327
|
-
*/
|
|
1328
|
-
declare function getLocalizedValue({ obj, fallbackLocale, }: {
|
|
1329
|
-
obj?: Record<string, string> | null;
|
|
1330
|
-
fallbackLocale: MaybeRefOrGetter<string>;
|
|
1331
|
-
}): string;
|
|
1332
|
-
/**
|
|
1333
|
-
* Type guard that checks if the given value is not null or undefined. Helps with typings when
|
|
1334
|
-
* filtering out null or undefined values from an array.
|
|
1335
|
-
*
|
|
1336
|
-
* @example
|
|
1337
|
-
* ```ts
|
|
1338
|
-
* const filteredArray = array.filter(nonNullable)
|
|
1339
|
-
* ```
|
|
1340
|
-
*
|
|
1341
|
-
* @param value - The value to check.
|
|
1342
|
-
* @returns true if the value is not null or undefined, false otherwise.
|
|
1343
|
-
*/
|
|
1344
|
-
declare function nonNullable<T>(value: T): value is NonNullable<T>;
|
|
1345
|
-
declare function isUrl(str: string): boolean;
|
|
1346
|
-
/**
|
|
1347
|
-
* Type guard for arrays that checks if all elements are strings.
|
|
1348
|
-
*
|
|
1349
|
-
*/
|
|
1350
|
-
declare function isStringArray(x: any[]): x is string[];
|
|
1351
|
-
/**
|
|
1352
|
-
* Checks if the given value is empty.
|
|
1353
|
-
*
|
|
1354
|
-
* @param value - The value to check.
|
|
1355
|
-
* @returns true if the value is empty, false otherwise.
|
|
1356
|
-
*
|
|
1357
|
-
* A value is considered empty if it is:
|
|
1358
|
-
* - undefined
|
|
1359
|
-
* - null
|
|
1360
|
-
* - An object with no keys
|
|
1361
|
-
* - A string with no content (after trimming)
|
|
1362
|
-
*/
|
|
1363
|
-
declare function isEmpty(value: any): boolean;
|
|
1364
|
-
/**
|
|
1365
|
-
* Converts the given value to an array if it is not already an array.
|
|
3696
|
+
* @groupDescription Essentials
|
|
3697
|
+
* Essential functions to get you started. ⭐
|
|
3698
|
+
* @showGroups
|
|
3699
|
+
* @module
|
|
1366
3700
|
*/
|
|
1367
|
-
declare function asArray<T>(arg: T | T[] | null): T[];
|
|
1368
|
-
declare function hasSlotContent(slot: Slot | undefined | null, props?: any): boolean;
|
|
1369
|
-
declare function isSlotEmpty(slot: Slot | undefined | null, props?: any): boolean;
|
|
1370
|
-
declare function isVNodeEmpty(vnode: VNode | VNode[] | undefined | null): boolean;
|
|
1371
|
-
interface SelectOption {
|
|
1372
|
-
label: string;
|
|
1373
|
-
value: string;
|
|
1374
|
-
}
|
|
1375
|
-
type SelectOptionList = SelectOption[];
|
|
1376
|
-
interface Facet {
|
|
1377
|
-
id: string;
|
|
1378
|
-
label: string;
|
|
1379
|
-
value?: string;
|
|
1380
|
-
count?: number;
|
|
1381
|
-
}
|
|
1382
|
-
type FacetList<T extends string = string> = {
|
|
1383
|
-
id: T;
|
|
1384
|
-
label: string;
|
|
1385
|
-
items: Facet[];
|
|
1386
|
-
}[];
|
|
1387
3701
|
|
|
1388
3702
|
interface PiveauKitPluginOptions {
|
|
1389
3703
|
queryClient?: QueryClient;
|
|
@@ -1400,4 +3714,5 @@ declare const piveauKitPlugin: {
|
|
|
1400
3714
|
install(app: App, options?: PiveauKitPluginOptions): void;
|
|
1401
3715
|
};
|
|
1402
3716
|
|
|
1403
|
-
export {
|
|
3717
|
+
export { PropertyTable, PropertyTableNode, asArray, dcatApDataset, defineHubSearch, defineHubSearchIntegration, definePropertyNode, definePropertyNodeCompact, definePropertyValue, getCurrentApp, getLocalizedValue, getPropertyTableCatalog, getPropertyTableDataset, getPropertyTableDistribution, getRepresentativeLocaleOf, getTranslationFor, hasSlotContent, isEmpty, isSlotEmpty, isStringArray, isUrl, isVNodeEmpty, keyQueryClient, localeKey, nonNullable, parseResource, parseResourceList, parseUrl, parseUrlList, piveauKitPlugin, plugin, selectNodesById, unwrapLocaleInstance, useLocale, useLocaleUnwrapped, useQueryClient, useResourceFactory, useResourcesFactory, useSearchFactory };
|
|
3718
|
+
export type { DateFormatStrings, DateFormats, DateLike, DcatApDatasetParams, DefineHubSearchOptions, DefinePropertyNodeGeneralOptions, DefinePropertyNodeOptions, DefinePropertyValueOptions, Facet, FacetList, GetPropertyTableBase, GetPropertyTableDatasetParams, GetPropertyTableDistributionParams, HubSearchDefinition, HubSearchIntegrationOptions, LinkedDataFormats, LocaleInstance, LocaleMessages, LocaleOptions, PiveauKitPluginOptions, PropertyTableCell, PropertyTableCellContact, PropertyTableCellHref, PropertyTableEntry, PropertyTableEntryBase, PropertyTableEntryHref, PropertyTableEntryLeaf, PropertyTableEntryNode, PropertyTableEntryNodeSimplified, PropertyTableEntrySimplified, PropertyTableEntryValue, PropertyTableLeafHref, PropertyTableLeafValue, PropertyTableProps, PropertyTableRoot, ResolvedSetupFn, SearchResultFacetGroupLocalized, SelectNodesByIdParams, SelectNodesOptions, SelectOption, SelectOptionList, SetupContext, SetupFn, UnwrappedLocaleInstance, UseResourceFactoryParams, UseResourceFunction, UseResourceParams, UseResourceResult, UseResourceResultBase, UseResourceResultNoData, UseResourceResultWithData, UseResourcesFactoryParams, UseResourcesFunction, UseResourcesItemInput, UseResourcesResult, UseSearchFactoryParams, UseSearchFactoryReturn, UseSearchParams, _UseQueryReturnType };
|