/**
 * File was automatically generated using json-schema-to-typescript.
 * DO NOT MODIFY IT BY HAND.
 * Instead, modify the source file https://formats.openag.io/trellis/gs1/produce/receiving_event/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/trellis/gs1/produce/receiving_event/v1.schema.json}
 */
export declare const $id = "https://formats.openag.io/trellis/gs1/produce/receiving_event/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;
/**
 * GS1 receiving event has certain required fields and and array element
 */
export interface V1 {
    /**
     * all receiving trading items
     */
    contents_of_receipt?: {
        [k: string]: unknown;
    }[];
    /**
     * gln of the data originator and the data owner
     */
    originator?: string;
    /**
     * gln of the trading partner
     */
    trading_partner?: string;
    /**
     * defines the business process that taking place
     */
    activity_type?: string;
    /**
     * trading_partner_type of the originating trading partner
     */
    originator_type?: string;
    /**
     * trading_partner_type of the receiving trading partner
     */
    receiver_type?: string;
    /**
     * defines the timestamp of the data capture
     */
    timestamp?: string;
    /**
     * defines a unique identifer to implicate the transaction id of the business event - purchase order id etc
     */
    activity_no?: string;
    /**
     * _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.trellis.gs1.produce.receiving_event.1+json";
    [k: string]: unknown;
}
//# sourceMappingURL=v1.d.ts.map