/** * geohash-length-index is an indexing scheme that groups data by geohash string lengths. As with all indexes, it is not a document type itself and therefore cannot be linked to. It can also have a "datum" key which tells the earth model used for GPS. * * * File automatically generated using json-schema-to-typescript. * ! DO NOT MODIFY IT BY HAND ! * Instead, modify the source file ./oada/indexes/geohash-length-index.schema.json of @oada/formats * and run `$ yarn build` to regenerate this file. * * @packageDocumentation */ /** * `$id` of the source schema * @see {@link https://formats.openag.io/oada/indexes/geohash-length-index.schema.json} */ export declare const $id = "https://formats.openag.io/oada/indexes/geohash-length-index.schema.json"; /** * JSON Schema used to generate this type * @see {@link https://formats.openag.io/oada/indexes/geohash-length-index.schema.json} */ export declare const schema: { readonly $id: "https://formats.openag.io/oada/indexes/geohash-length-index.schema.json"; readonly $schema: "http://json-schema.org/draft-07/schema#"; readonly description: "geohash-length-index is an indexing scheme that groups data by geohash string lengths. As with all indexes, it is not a document type itself and therefore cannot be linked to. It can also have a \"datum\" key which tells the earth model used for GPS."; readonly properties: { readonly datum: { readonly description: "datum describes the model of the earth used for GPS coordinates. It can be from a set of known strings, or an EPSG model from http://spatialreference.org"; readonly anyOf: readonly [{ readonly type: "string"; readonly examples: readonly ["WGS84"]; }, { readonly required: readonly ["type", "properties"]; readonly properties: { readonly type: { readonly enum: readonly ["EPSG"]; }; readonly properties: { readonly required: readonly ["code"]; readonly properties: { readonly code: { readonly type: "number"; }; }; readonly type: "object"; }; }; readonly type: "object"; }]; }; readonly 'geohash-1': { readonly $ref: "../link/v1.schema.json#/definitions/link"; }; readonly 'geohash-2': { readonly $ref: "../link/v1.schema.json#/definitions/link"; }; readonly 'geohash-3': { readonly $ref: "../link/v1.schema.json#/definitions/link"; }; readonly 'geohash-4': { readonly $ref: "../link/v1.schema.json#/definitions/link"; }; readonly 'geohash-5': { readonly $ref: "../link/v1.schema.json#/definitions/link"; }; readonly 'geohash-6': { readonly $ref: "../link/v1.schema.json#/definitions/link"; }; readonly 'geohash-7': { readonly $ref: "../link/v1.schema.json#/definitions/link"; }; readonly 'geohash-8': { readonly $ref: "../link/v1.schema.json#/definitions/link"; }; readonly 'geohash-9': { readonly $ref: "../link/v1.schema.json#/definitions/link"; }; readonly 'geohash-10': { readonly $ref: "../link/v1.schema.json#/definitions/link"; }; readonly 'geohash-11': { readonly $ref: "../link/v1.schema.json#/definitions/link"; }; readonly 'geohash-12': { readonly $ref: "../link/v1.schema.json#/definitions/link"; }; readonly 'geohash-13': { readonly $ref: "../link/v1.schema.json#/definitions/link"; }; readonly 'geohash-14': { readonly $ref: "../link/v1.schema.json#/definitions/link"; }; readonly 'geohash-15': { readonly $ref: "../link/v1.schema.json#/definitions/link"; }; }; readonly type: "object"; }; /** * Returns true if `val` is a @type `GeohashLengthIndexSchema`, false otherwise */ export declare function is(val: unknown): val is GeohashLengthIndexSchema; /** * Asserts that `val` is a @type `GeohashLengthIndexSchema` */ export declare function assert(val: unknown): asserts val is GeohashLengthIndexSchema; /** * geohash-length-index is an indexing scheme that groups data by geohash string lengths. As with all indexes, it is not a document type itself and therefore cannot be linked to. It can also have a "datum" key which tells the earth model used for GPS. * */ export default GeohashLengthIndexSchema; /** * geohash-length-index is an indexing scheme that groups data by geohash string lengths. As with all indexes, it is not a document type itself and therefore cannot be linked to. It can also have a "datum" key which tells the earth model used for GPS. */ export interface GeohashLengthIndexSchema { /** * datum describes the model of the earth used for GPS coordinates. It can be from a set of known strings, or an EPSG model from http://spatialreference.org */ 'datum'?: string | { type: 'EPSG'; properties: { code: number; [k: string]: unknown; }; [k: string]: unknown; }; 'geohash-1'?: Nonversioned | Versioned; 'geohash-2'?: Nonversioned | Versioned; 'geohash-3'?: Nonversioned | Versioned; 'geohash-4'?: Nonversioned | Versioned; 'geohash-5'?: Nonversioned | Versioned; 'geohash-6'?: Nonversioned | Versioned; 'geohash-7'?: Nonversioned | Versioned; 'geohash-8'?: Nonversioned | Versioned; 'geohash-9'?: Nonversioned | Versioned; 'geohash-10'?: Nonversioned | Versioned; 'geohash-11'?: Nonversioned | Versioned; 'geohash-12'?: Nonversioned | Versioned; 'geohash-13'?: Nonversioned | Versioned; 'geohash-14'?: Nonversioned | Versioned; 'geohash-15'?: Nonversioned | Versioned; [k: string]: unknown; } export interface Nonversioned { _id: string; [k: string]: unknown; } export interface Versioned { _id: string; /** * _rev is the revision for a resource in the OADA API. */ _rev: number; [k: string]: unknown; }