/**
 * File was automatically generated using json-schema-to-typescript.
 * DO NOT MODIFY IT BY HAND.
 * Instead, modify the source file https://formats.openag.io/oada/isoblue/can/v1.schema.json of @oada/formats
 * and run `$ yarn build` to regenerate this file.
 */
/**
 * $id of the source schema
 * @see {@link https://formats.openag.io/oada/isoblue/can/v1.schema.json}
 */
export declare const $id = "https://formats.openag.io/oada/isoblue/can/v1.schema.json";
/**
 * Returns true if val is a @type V1, false otherwise
 */
export declare function is(val: any): val is V1;
/**
 * Asserts that val is a @type V1
 */
export declare function assert(val: any): asserts val is V1;
export default V1;
/**
 * CAN frame collected from machine attached to ISOBlue (or similar) device
 */
export interface V1 {
    /**
     * templates is a general key for holding a collection of data points indexed by random strings.  Templates serve as prototypes for data points under "data" keys. If you have a piece of information that exists is all or almost all of the data points in a particular group of points, you can put the repeated things in templates and then just put the name of the template into the data point.  The full data point is therefore a merge of the template object and the data point itself, with the data point overruling when there are any keys that exist in both objects.  Schema is therefore identical to "data".
     */
    templates?: {
        [k: string]: unknown;
    };
    /**
     * data is a general key for holding a collection of data points indexed by random strings.
     */
    data?: {
        [k: string]: unknown;
    };
    /**
     * _id identifies a resource in the OADA API.
     */
    _id?: string;
    /**
     * _rev is the revision string for a resource in the OADA API.
     */
    _rev?: number;
    /**
     * _meta is a link to the meta document for a resources.
     */
    _meta?: {
        /**
         * _id identifies a resource in the OADA API.
         */
        _id: string;
        /**
         * _rev is the revision string for a resource in the OADA API.
         */
        _rev: number;
        [k: string]: unknown;
    };
    _type: "application/vnd.oada.isoblue.can.1+json";
    indexing?: ({
        index?: "year-index";
        source?: "oada.vocab.year-index";
        value?: string;
        [k: string]: unknown;
    } | {
        index?: "day-index";
        source?: "oada.vocab.day-index";
        value?: string;
        [k: string]: unknown;
    } | {
        index?: "hour-index";
        source?: "oada.vocab.hour-index";
        value?: string;
        [k: string]: unknown;
    })[];
    /**
     * year-index splits things up by a 4-digit year
     */
    "year-index"?: {
        [k: string]: unknown;
    };
    /**
     * day-index splits things up by days, with full year-month-day string for keys
     */
    "day-index"?: {
        [k: string]: unknown;
    };
    /**
     * hour-index splits things up by hours, 24-hour time string in GMT like 06:07 or 23:44
     */
    "hour-index"?: {
        [k: string]: unknown;
    };
    [k: string]: unknown;
}
//# sourceMappingURL=v1.d.ts.map