/**
 * 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/certificate/generic/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/certificate/generic/v1.schema.json}
 */
export declare const $id = "https://formats.openag.io/trellis/certificate/generic/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;
/**
 * A PrimusGFS audit is like a generic audit, but more restrictive.  Certain keys are marked as "required" here that should always exist if you have a PrimusGFS audit.
 */
export interface V1 {
    /**
     * the set of descriptors for identifying the current audit scheme for this document.
     */
    scheme?: {
        /**
         * name is a string, typically the name of the object the key appears in.
         */
        name: "PrimusGFS";
        /**
         * version is a string which describes the version of the schema used for the current audit.
         */
        version: string;
        /**
         * option is used as an indicator of type of audit for a given audit version.  Introduced for GlobalGAP audit, also present in CanadaGAP audit.
         */
        option?: string;
        /**
         * If an audit covers multiple scheme options, you can make an array of them.
         */
        options?: string;
        [k: string]: unknown;
    };
    /**
     * specifies the credentials of the organization is performing the audit along with the specific individual performing the audit.
     */
    certifying_body?: {
        /**
         * name is a string, typically the name of the object the key appears in.
         */
        name: string;
        /**
         * "auditor" is the person performing the audit for the certifying body
         */
        auditor: {
            /**
             * conflict_of_interest indicates if a particular person (auditor) has a known conflict of interest for creating a certification for an organization
             */
            conflict_of_interest?: boolean;
            /**
             * Introduced for CanadaGAP, this is the auditor's attestation of how many times they have audited this operation before.
             */
            number_prior_audits_this_organization?: string;
            /**
             * Introduced for CanadaGAP, this is the auditor's attestation of how many consecutive times they have audited this operation, excluding the current audit.
             */
            number_prior_consecutive_audits_this_organization?: string;
            [k: string]: unknown;
        };
        /**
         * Introduced for CanadaGAP audit.  Represents the person who reviewed the audit within the certifiation body.
         */
        reviewer?: {
            /**
             * name is a string, typically the name of the object the key appears in.
             */
            name?: string;
            /**
             * email address for an organization or contact
             */
            email?: string;
            /**
             * location describes the postal address used to identify where something is.
             */
            location?: {
                /**
                 * postal_code is the postal code used in a postal address
                 */
                postal_code?: string;
                /**
                 * The street name and mailbox number of a postal address.
                 */
                street_address?: string;
                /**
                 * The name of the city, usually in a postal address.
                 */
                city?: string;
                /**
                 * The name of the state or major region, usually in a postal address.
                 */
                state?: string;
                /**
                 * The name of the country, usually in a postal address.
                 */
                country?: string;
                /**
                 * name is a string, typically the name of the object the key appears in.
                 */
                name?: string;
                [k: string]: unknown;
            };
            /**
             * phone describes the phone number with country code and area code.
             */
            phone?: string;
            /**
             * fax number for a person or organization
             */
            fax?: string;
            [k: string]: unknown;
        };
        /**
         * Introduced for CanadaGAP.  Indicates when the review of the audit was performed.
         */
        review_date?: string;
        [k: string]: unknown;
    };
    /**
     * organization contains information about the organization under audit.
     */
    organization?: {
        /**
         * organizationid identifies the organization which is the subject of the audit/certification.
         */
        organizationid: {
            /**
             * An id is a string which should be reasonably unique to represent the  object it belongs to.
             */
            id?: string;
            /**
             * An id_source is a representation of who assigned the id: i.e. who do you go ask to figure out what a particular ID goes to.
             */
            id_source?: {
                /**
                 * specifies the credentials of the organization is performing the audit along with the specific individual performing the audit.
                 */
                certifying_body?: {
                    /**
                     * name is a string, typically the name of the object the key appears in.
                     */
                    name?: string;
                    /**
                     * "auditor" is the person performing the audit for the certifying body
                     */
                    auditor?: {
                        /**
                         * conflict_of_interest indicates if a particular person (auditor) has a known conflict of interest for creating a certification for an organization
                         */
                        conflict_of_interest?: boolean;
                        /**
                         * Introduced for CanadaGAP, this is the auditor's attestation of how many times they have audited this operation before.
                         */
                        number_prior_audits_this_organization?: string;
                        /**
                         * Introduced for CanadaGAP, this is the auditor's attestation of how many consecutive times they have audited this operation, excluding the current audit.
                         */
                        number_prior_consecutive_audits_this_organization?: string;
                        [k: string]: unknown;
                    };
                    /**
                     * Introduced for CanadaGAP audit.  Represents the person who reviewed the audit within the certifiation body.
                     */
                    reviewer?: {
                        /**
                         * name is a string, typically the name of the object the key appears in.
                         */
                        name?: string;
                        /**
                         * email address for an organization or contact
                         */
                        email?: string;
                        /**
                         * location describes the postal address used to identify where something is.
                         */
                        location?: {
                            /**
                             * postal_code is the postal code used in a postal address
                             */
                            postal_code?: string;
                            /**
                             * The street name and mailbox number of a postal address.
                             */
                            street_address?: string;
                            /**
                             * The name of the city, usually in a postal address.
                             */
                            city?: string;
                            /**
                             * The name of the state or major region, usually in a postal address.
                             */
                            state?: string;
                            /**
                             * The name of the country, usually in a postal address.
                             */
                            country?: string;
                            /**
                             * name is a string, typically the name of the object the key appears in.
                             */
                            name?: string;
                            [k: string]: unknown;
                        };
                        /**
                         * phone describes the phone number with country code and area code.
                         */
                        phone?: string;
                        /**
                         * fax number for a person or organization
                         */
                        fax?: string;
                        [k: string]: unknown;
                    };
                    /**
                     * Introduced for CanadaGAP.  Indicates when the review of the audit was performed.
                     */
                    review_date?: string;
                    [k: string]: unknown;
                };
                /**
                 * the set of descriptors for identifying the current audit scheme for this document.
                 */
                scheme?: {
                    /**
                     * name is a string, typically the name of the object the key appears in.
                     */
                    name?: string;
                    /**
                     * version is a string which describes the version of the schema used for the current audit.
                     */
                    version?: string;
                    /**
                     * option is used as an indicator of type of audit for a given audit version.  Introduced for GlobalGAP audit, also present in CanadaGAP audit.
                     */
                    option?: string;
                    /**
                     * If an audit covers multiple scheme options, you can make an array of them.
                     */
                    options?: string;
                    [k: string]: unknown;
                };
                [k: string]: unknown;
            };
            [k: string]: unknown;
        };
        /**
         * A Global Location Number, assigned by GS1.  Usually exists in "organization".
         */
        GLN?: string;
        /**
         * name is a string, typically the name of the object the key appears in.
         */
        name: string;
        /**
         * contacts is a list of contact people for an organization.
         */
        contacts?: {
            /**
             * name is a string, typically the name of the object the key appears in.
             */
            name?: string;
            /**
             * email address for an organization or contact
             */
            email?: string;
            /**
             * location describes the postal address used to identify where something is.
             */
            location?: {
                /**
                 * postal_code is the postal code used in a postal address
                 */
                postal_code?: string;
                /**
                 * The street name and mailbox number of a postal address.
                 */
                street_address?: string;
                /**
                 * The name of the city, usually in a postal address.
                 */
                city?: string;
                /**
                 * The name of the state or major region, usually in a postal address.
                 */
                state?: string;
                /**
                 * The name of the country, usually in a postal address.
                 */
                country?: string;
                /**
                 * name is a string, typically the name of the object the key appears in.
                 */
                name?: string;
                [k: string]: unknown;
            };
            /**
             * phone describes the phone number with country code and area code.
             */
            phone?: string;
            /**
             * fax number for a person or organization
             */
            fax?: string;
            /**
             * Indicates if this particular contact person has some special role in the organization such as "Food Safety Program Coordinator" or "Recall Coordinator."  Introduced for CanadaGAP Audit
             */
            contact_type?: string;
            /**
             * Allows one person to be multiple contact types.  Introduced for CanadaGAP audits.
             */
            contact_types?: string[];
            [k: string]: unknown;
        }[];
        /**
         * location describes the postal address used to identify where something is.
         */
        location?: {
            /**
             * postal_code is the postal code used in a postal address
             */
            postal_code?: string;
            /**
             * The street name and mailbox number of a postal address.
             */
            street_address?: string;
            /**
             * The name of the city, usually in a postal address.
             */
            city?: string;
            /**
             * The name of the state or major region, usually in a postal address.
             */
            state?: string;
            /**
             * The name of the country, usually in a postal address.
             */
            country?: string;
            /**
             * name is a string, typically the name of the object the key appears in.
             */
            name?: string;
            [k: string]: unknown;
        };
        /**
         * phone describes the phone number with country code and area code.
         */
        phone?: string;
        /**
         * fax number for a person or organization
         */
        fax?: string;
        /**
         * orgchart is a tricky one.  It is intended to represent the reporting structure within an organization.  Introduced for the CanadaGAP audit. It is a flat object with keys that represent the "id" of a person.  Each value in this outer object is a single person, and may have name, job_title, and job_description.  If this person reports to someone else, the reports_to key should be included in their object as well (an array of all the people they report to), thus creating a directed graph of relationships.
         */
        orgchart?: {
            [k: string]: unknown;
        };
        [k: string]: unknown;
    };
    /**
     * scope describes the breadth of the audit in terms of operations, personnel, products, etc.
     */
    scope?: {
        /**
         * a string description of an object, usually longer than "name"
         */
        description: string;
        /**
         * notification describes whether the target of the audit was notified in advance that this audit would take place.  "announced" or "unannounced".
         */
        notification?: string;
        /**
         * an object describing the operation that is under audit. For GlobalGAP, this is just an object with a name.  For PrimusGFS, this is holds description
         */
        operation: {
            /**
             * type of a given operation
             */
            operation_type?: string;
            /**
             * operator is used to detail the information about the crew or on-site operators for a given operation.
             */
            operator?: {
                /**
                 * contacts is a list of contact people for an organization.
                 */
                contacts?: {
                    /**
                     * name is a string, typically the name of the object the key appears in.
                     */
                    name?: string;
                    /**
                     * email address for an organization or contact
                     */
                    email?: string;
                    /**
                     * location describes the postal address used to identify where something is.
                     */
                    location?: {
                        /**
                         * postal_code is the postal code used in a postal address
                         */
                        postal_code?: string;
                        /**
                         * The street name and mailbox number of a postal address.
                         */
                        street_address?: string;
                        /**
                         * The name of the city, usually in a postal address.
                         */
                        city?: string;
                        /**
                         * The name of the state or major region, usually in a postal address.
                         */
                        state?: string;
                        /**
                         * The name of the country, usually in a postal address.
                         */
                        country?: string;
                        /**
                         * name is a string, typically the name of the object the key appears in.
                         */
                        name?: string;
                        [k: string]: unknown;
                    };
                    /**
                     * phone describes the phone number with country code and area code.
                     */
                    phone?: string;
                    /**
                     * fax number for a person or organization
                     */
                    fax?: string;
                    /**
                     * Indicates if this particular contact person has some special role in the organization such as "Food Safety Program Coordinator" or "Recall Coordinator."  Introduced for CanadaGAP Audit
                     */
                    contact_type?: string;
                    /**
                     * Allows one person to be multiple contact types.  Introduced for CanadaGAP audits.
                     */
                    contact_types?: string[];
                    [k: string]: unknown;
                }[];
                /**
                 * name is a string, typically the name of the object the key appears in.
                 */
                name?: string;
                /**
                 * location describes the postal address used to identify where something is.
                 */
                location?: {
                    /**
                     * postal_code is the postal code used in a postal address
                     */
                    postal_code?: string;
                    /**
                     * The street name and mailbox number of a postal address.
                     */
                    street_address?: string;
                    /**
                     * The name of the city, usually in a postal address.
                     */
                    city?: string;
                    /**
                     * The name of the state or major region, usually in a postal address.
                     */
                    state?: string;
                    /**
                     * The name of the country, usually in a postal address.
                     */
                    country?: string;
                    /**
                     * name is a string, typically the name of the object the key appears in.
                     */
                    name?: string;
                    [k: string]: unknown;
                };
                [k: string]: unknown;
            };
            /**
             * shipper is the parent organization who will be responsible for moving the product(s) to their next destination.
             */
            shipper?: {
                /**
                 * name is a string, typically the name of the object the key appears in.
                 */
                name?: string;
                [k: string]: unknown;
            };
            /**
             * location describes the postal address used to identify where something is.
             */
            location?: {
                /**
                 * postal_code is the postal code used in a postal address
                 */
                postal_code?: string;
                /**
                 * The street name and mailbox number of a postal address.
                 */
                street_address?: string;
                /**
                 * The name of the city, usually in a postal address.
                 */
                city?: string;
                /**
                 * The name of the state or major region, usually in a postal address.
                 */
                state?: string;
                /**
                 * The name of the country, usually in a postal address.
                 */
                country?: string;
                /**
                 * name is a string, typically the name of the object the key appears in.
                 */
                name?: string;
                [k: string]: unknown;
            };
            /**
             * name is a string, typically the name of the object the key appears in.
             */
            name?: string;
            [k: string]: unknown;
        };
        /**
         * The set of products evaluated in the audit.
         */
        products_observed: {
            /**
             * name is a string, typically the name of the object the key appears in.
             */
            name?: string;
            /**
             * organic is a true/false value indicating if a particular product is considered organic or not.
             */
            organic?: boolean;
            /**
             * area describes a quantity of area such as acres or hectares.
             */
            area?: {
                /**
                 * the units used to interpret the associated value.
                 */
                units?: string;
                /**
                 * a numeric or qualitative value, represented as a string
                 */
                value?: string;
                [k: string]: unknown;
            };
            /**
             * location describes the postal address used to identify where something is.
             */
            location?: {
                /**
                 * postal_code is the postal code used in a postal address
                 */
                postal_code?: string;
                /**
                 * The street name and mailbox number of a postal address.
                 */
                street_address?: string;
                /**
                 * The name of the city, usually in a postal address.
                 */
                city?: string;
                /**
                 * The name of the state or major region, usually in a postal address.
                 */
                state?: string;
                /**
                 * The name of the country, usually in a postal address.
                 */
                country?: string;
                /**
                 * name is a string, typically the name of the object the key appears in.
                 */
                name?: string;
                [k: string]: unknown;
            };
            [k: string]: unknown;
        }[];
        /**
         * array of products not under evaulation that may be similar to those observed in the audit.
         */
        similar_products_not_observed?: {
            /**
             * name is a string, typically the name of the object the key appears in.
             */
            name?: string;
            /**
             * organic is a true/false value indicating if a particular product is considered organic or not.
             */
            organic?: boolean;
            /**
             * area describes a quantity of area such as acres or hectares.
             */
            area?: {
                /**
                 * the units used to interpret the associated value.
                 */
                units?: string;
                /**
                 * a numeric or qualitative value, represented as a string
                 */
                value?: string;
                [k: string]: unknown;
            };
            /**
             * location describes the postal address used to identify where something is.
             */
            location?: {
                /**
                 * postal_code is the postal code used in a postal address
                 */
                postal_code?: string;
                /**
                 * The street name and mailbox number of a postal address.
                 */
                street_address?: string;
                /**
                 * The name of the city, usually in a postal address.
                 */
                city?: string;
                /**
                 * The name of the state or major region, usually in a postal address.
                 */
                state?: string;
                /**
                 * The name of the country, usually in a postal address.
                 */
                country?: string;
                /**
                 * name is a string, typically the name of the object the key appears in.
                 */
                name?: string;
                [k: string]: unknown;
            };
            [k: string]: unknown;
        }[];
        /**
         * array of products that had been applied for but are not under evaulation in this particular audit.
         */
        products_applied_for_but_not_observed?: {
            /**
             * name is a string, typically the name of the object the key appears in.
             */
            name?: string;
            /**
             * organic is a true/false value indicating if a particular product is considered organic or not.
             */
            organic?: boolean;
            /**
             * area describes a quantity of area such as acres or hectares.
             */
            area?: {
                /**
                 * the units used to interpret the associated value.
                 */
                units?: string;
                /**
                 * a numeric or qualitative value, represented as a string
                 */
                value?: string;
                [k: string]: unknown;
            };
            /**
             * location describes the postal address used to identify where something is.
             */
            location?: {
                /**
                 * postal_code is the postal code used in a postal address
                 */
                postal_code?: string;
                /**
                 * The street name and mailbox number of a postal address.
                 */
                street_address?: string;
                /**
                 * The name of the city, usually in a postal address.
                 */
                city?: string;
                /**
                 * The name of the state or major region, usually in a postal address.
                 */
                state?: string;
                /**
                 * The name of the country, usually in a postal address.
                 */
                country?: string;
                /**
                 * name is a string, typically the name of the object the key appears in.
                 */
                name?: string;
                [k: string]: unknown;
            };
            [k: string]: unknown;
        }[];
        /**
         * production_sites is an array of object, each of which are a production site.
         */
        production_sites?: {
            /**
             * name is a string, typically the name of the object the key appears in.
             */
            name?: string;
            /**
             * An id is a string which should be reasonably unique to represent the  object it belongs to.
             */
            id?: string;
            /**
             * The set of products evaluated in the audit.
             */
            products_observed?: {
                /**
                 * name is a string, typically the name of the object the key appears in.
                 */
                name?: string;
                /**
                 * organic is a true/false value indicating if a particular product is considered organic or not.
                 */
                organic?: boolean;
                /**
                 * area describes a quantity of area such as acres or hectares.
                 */
                area?: {
                    /**
                     * the units used to interpret the associated value.
                     */
                    units?: string;
                    /**
                     * a numeric or qualitative value, represented as a string
                     */
                    value?: string;
                    [k: string]: unknown;
                };
                /**
                 * location describes the postal address used to identify where something is.
                 */
                location?: {
                    /**
                     * postal_code is the postal code used in a postal address
                     */
                    postal_code?: string;
                    /**
                     * The street name and mailbox number of a postal address.
                     */
                    street_address?: string;
                    /**
                     * The name of the city, usually in a postal address.
                     */
                    city?: string;
                    /**
                     * The name of the state or major region, usually in a postal address.
                     */
                    state?: string;
                    /**
                     * The name of the country, usually in a postal address.
                     */
                    country?: string;
                    /**
                     * name is a string, typically the name of the object the key appears in.
                     */
                    name?: string;
                    [k: string]: unknown;
                };
                [k: string]: unknown;
            }[];
            [k: string]: unknown;
        }[];
        /**
         * parallel_production is defined for GlobalGAP as to whether the site is growing other things in addition to those under audit.
         */
        parallel_production?: boolean;
        /**
         * parallel_ownership is defined for GlobalGAP as to whether the site is growing things owned by someone other than the party under audit
         */
        parallel_ownership?: boolean;
        /**
         * Introduced for CanadaGAP, this holds a free-form string describing which  types of sites this audit applies to.
         */
        applicable_sites_description?: string;
        [k: string]: unknown;
    };
    /**
     * describes conditions when the audit took place.  Date audit started/finished, etc.
     */
    conditions_during_audit?: {
        /**
         * the period (beginning and ending times) of the FSMS portion of the audit.
         */
        FSMS_observed_date: {
            /**
             * start describes the date and time when the audit started
             */
            start: string;
            /**
             * end describes the date and time when the audit was completed.
             */
            end: string;
            /**
             * duration describes how long an audit took to perform.  Introduced for GlobalGAP audits since that is how they specify it instead of start/end.
             */
            duration?: {
                /**
                 * the units used to interpret the associated value.
                 */
                units?: string;
                /**
                 * a numeric or qualitative value, represented as a string
                 */
                value?: string;
                [k: string]: unknown;
            };
            [k: string]: unknown;
        };
        /**
         * the period (beginning and ending times) of the walk-through/field operations portion of the audit.
         */
        operation_observed_date: {
            /**
             * start describes the date and time when the audit started
             */
            start: string;
            /**
             * end describes the date and time when the audit was completed.
             */
            end: string;
            /**
             * duration describes how long an audit took to perform.  Introduced for GlobalGAP audits since that is how they specify it instead of start/end.
             */
            duration?: {
                /**
                 * the units used to interpret the associated value.
                 */
                units?: string;
                /**
                 * a numeric or qualitative value, represented as a string
                 */
                value?: string;
                [k: string]: unknown;
            };
            [k: string]: unknown;
        };
        [k: string]: unknown;
    };
    /**
     * certificate_validity_period denotes the period of time (beginning date to end date) through which the audit is valid.
     */
    certificate_validity_period?: string;
    /**
     * certificationid is an id which spans all documents for a single certification process.  i.e. the audit, corrective actions, and final certificate all share the same certificationid
     */
    certificationid?: {
        /**
         * An id is a string which should be reasonably unique to represent the  object it belongs to.
         */
        id?: string;
        /**
         * An id_source is a representation of who assigned the id: i.e. who do you go ask to figure out what a particular ID goes to.
         */
        id_source?: {
            /**
             * specifies the credentials of the organization is performing the audit along with the specific individual performing the audit.
             */
            certifying_body?: {
                /**
                 * name is a string, typically the name of the object the key appears in.
                 */
                name?: string;
                /**
                 * "auditor" is the person performing the audit for the certifying body
                 */
                auditor?: {
                    /**
                     * conflict_of_interest indicates if a particular person (auditor) has a known conflict of interest for creating a certification for an organization
                     */
                    conflict_of_interest?: boolean;
                    /**
                     * Introduced for CanadaGAP, this is the auditor's attestation of how many times they have audited this operation before.
                     */
                    number_prior_audits_this_organization?: string;
                    /**
                     * Introduced for CanadaGAP, this is the auditor's attestation of how many consecutive times they have audited this operation, excluding the current audit.
                     */
                    number_prior_consecutive_audits_this_organization?: string;
                    [k: string]: unknown;
                };
                /**
                 * Introduced for CanadaGAP audit.  Represents the person who reviewed the audit within the certifiation body.
                 */
                reviewer?: {
                    /**
                     * name is a string, typically the name of the object the key appears in.
                     */
                    name?: string;
                    /**
                     * email address for an organization or contact
                     */
                    email?: string;
                    /**
                     * location describes the postal address used to identify where something is.
                     */
                    location?: {
                        /**
                         * postal_code is the postal code used in a postal address
                         */
                        postal_code?: string;
                        /**
                         * The street name and mailbox number of a postal address.
                         */
                        street_address?: string;
                        /**
                         * The name of the city, usually in a postal address.
                         */
                        city?: string;
                        /**
                         * The name of the state or major region, usually in a postal address.
                         */
                        state?: string;
                        /**
                         * The name of the country, usually in a postal address.
                         */
                        country?: string;
                        /**
                         * name is a string, typically the name of the object the key appears in.
                         */
                        name?: string;
                        [k: string]: unknown;
                    };
                    /**
                     * phone describes the phone number with country code and area code.
                     */
                    phone?: string;
                    /**
                     * fax number for a person or organization
                     */
                    fax?: string;
                    [k: string]: unknown;
                };
                /**
                 * Introduced for CanadaGAP.  Indicates when the review of the audit was performed.
                 */
                review_date?: string;
                [k: string]: unknown;
            };
            /**
             * the set of descriptors for identifying the current audit scheme for this document.
             */
            scheme?: {
                /**
                 * name is a string, typically the name of the object the key appears in.
                 */
                name?: string;
                /**
                 * version is a string which describes the version of the schema used for the current audit.
                 */
                version?: string;
                /**
                 * option is used as an indicator of type of audit for a given audit version.  Introduced for GlobalGAP audit, also present in CanadaGAP audit.
                 */
                option?: string;
                /**
                 * If an audit covers multiple scheme options, you can make an array of them.
                 */
                options?: string;
                [k: string]: unknown;
            };
            [k: string]: unknown;
        };
        [k: string]: unknown;
    };
    /**
     * score presents the quanititative performance of a control point, section, or overall audit.
     */
    score?: {
        /**
         * the units used to interpret the associated value.
         */
        units?: string;
        /**
         * A prelimiary score for an audit
         */
        preliminary?: {
            /**
             * a numeric or qualitative value, represented as a string
             */
            value?: string;
            /**
             * the units used to interpret the associated value.
             */
            units?: string;
            /**
             * Number of points possible for this control point
             */
            possible?: string;
            [k: string]: unknown;
        };
        /**
         * The final score for an audit
         */
        final?: {
            /**
             * a numeric or qualitative value, represented as a string
             */
            value?: string;
            /**
             * the units used to interpret the associated value.
             */
            units?: string;
            /**
             * Number of points possible for this control point
             */
            possible?: string;
            [k: string]: unknown;
        };
        /**
         * a numeric or qualitative value, represented as a string
         */
        value?: string;
        /**
         * Number of points possible for this control point
         */
        possible?: string;
        /**
         * written description indicating the level of satisfaction of the control point. E.g., "Total Compliance", "Minor Deficiency", or simply "Pass"/"Fail".
         */
        compliance?: string;
        /**
         * GlobalGAP has particular levels of major_musts and minor_must that are entirely unique to GlobalGAP, hence the name.
         */
        globalgap_levels?: {
            /**
             * The summary score for all major-must level questions
             */
            major_musts?: {
                /**
                 * yes is used to represent the summary count of "yes" answers in the audit
                 */
                yes?: {
                    /**
                     * a numeric or qualitative value, represented as a string
                     */
                    value?: string;
                    /**
                     * the units used to interpret the associated value.
                     */
                    units?: string;
                    /**
                     * Number of points possible for this control point
                     */
                    possible?: string;
                    [k: string]: unknown;
                };
                /**
                 * no is used to represent the summary count of "no" answers in the audit
                 */
                no?: {
                    /**
                     * a numeric or qualitative value, represented as a string
                     */
                    value?: string;
                    /**
                     * the units used to interpret the associated value.
                     */
                    units?: string;
                    /**
                     * Number of points possible for this control point
                     */
                    possible?: string;
                    [k: string]: unknown;
                };
                /**
                 * n_a is used to represent the summary count of "Not Applicable" answers in the audit
                 */
                n_a?: {
                    /**
                     * a numeric or qualitative value, represented as a string
                     */
                    value?: string;
                    /**
                     * the units used to interpret the associated value.
                     */
                    units?: string;
                    /**
                     * Number of points possible for this control point
                     */
                    possible?: string;
                    [k: string]: unknown;
                };
                /**
                 * GlobalGAP has an overall true/false compliance for an audit score
                 */
                is_compliant?: boolean;
                [k: string]: unknown;
            } | {
                /**
                 * major_must is used to represent the summary count of "Major Must" answers in the audit
                 */
                major_must?: {
                    /**
                     * a numeric or qualitative value, represented as a string
                     */
                    value?: string;
                    /**
                     * the units used to interpret the associated value.
                     */
                    units?: string;
                    /**
                     * Number of points possible for this control point
                     */
                    possible?: string;
                    [k: string]: unknown;
                };
                /**
                 * major_must is used to represent the summary count of "Minor Must" answers in the audit
                 */
                minor_must?: {
                    /**
                     * a numeric or qualitative value, represented as a string
                     */
                    value?: string;
                    /**
                     * the units used to interpret the associated value.
                     */
                    units?: string;
                    /**
                     * Number of points possible for this control point
                     */
                    possible?: string;
                    [k: string]: unknown;
                };
                /**
                 * major_must is used to represent the summary count of "Minor Must" answers in the audit
                 */
                recommended?: {
                    /**
                     * a numeric or qualitative value, represented as a string
                     */
                    value?: string;
                    /**
                     * the units used to interpret the associated value.
                     */
                    units?: string;
                    /**
                     * Number of points possible for this control point
                     */
                    possible?: string;
                    [k: string]: unknown;
                };
                [k: string]: unknown;
            };
            /**
             * The summary score for all minor-must level questions
             */
            minor_musts?: {
                /**
                 * yes is used to represent the summary count of "yes" answers in the audit
                 */
                yes?: {
                    /**
                     * a numeric or qualitative value, represented as a string
                     */
                    value?: string;
                    /**
                     * the units used to interpret the associated value.
                     */
                    units?: string;
                    /**
                     * Number of points possible for this control point
                     */
                    possible?: string;
                    [k: string]: unknown;
                };
                /**
                 * no is used to represent the summary count of "no" answers in the audit
                 */
                no?: {
                    /**
                     * a numeric or qualitative value, represented as a string
                     */
                    value?: string;
                    /**
                     * the units used to interpret the associated value.
                     */
                    units?: string;
                    /**
                     * Number of points possible for this control point
                     */
                    possible?: string;
                    [k: string]: unknown;
                };
                /**
                 * n_a is used to represent the summary count of "Not Applicable" answers in the audit
                 */
                n_a?: {
                    /**
                     * a numeric or qualitative value, represented as a string
                     */
                    value?: string;
                    /**
                     * the units used to interpret the associated value.
                     */
                    units?: string;
                    /**
                     * Number of points possible for this control point
                     */
                    possible?: string;
                    [k: string]: unknown;
                };
                /**
                 * GlobalGAP has an overall true/false compliance for an audit score
                 */
                is_compliant?: boolean;
                [k: string]: unknown;
            } | {
                /**
                 * major_must is used to represent the summary count of "Major Must" answers in the audit
                 */
                major_must?: {
                    /**
                     * a numeric or qualitative value, represented as a string
                     */
                    value?: string;
                    /**
                     * the units used to interpret the associated value.
                     */
                    units?: string;
                    /**
                     * Number of points possible for this control point
                     */
                    possible?: string;
                    [k: string]: unknown;
                };
                /**
                 * major_must is used to represent the summary count of "Minor Must" answers in the audit
                 */
                minor_must?: {
                    /**
                     * a numeric or qualitative value, represented as a string
                     */
                    value?: string;
                    /**
                     * the units used to interpret the associated value.
                     */
                    units?: string;
                    /**
                     * Number of points possible for this control point
                     */
                    possible?: string;
                    [k: string]: unknown;
                };
                /**
                 * major_must is used to represent the summary count of "Minor Must" answers in the audit
                 */
                recommended?: {
                    /**
                     * a numeric or qualitative value, represented as a string
                     */
                    value?: string;
                    /**
                     * the units used to interpret the associated value.
                     */
                    units?: string;
                    /**
                     * Number of points possible for this control point
                     */
                    possible?: string;
                    [k: string]: unknown;
                };
                [k: string]: unknown;
            };
            [k: string]: unknown;
        };
        /**
         * If the audit is scored as autofail, this key should be set to true in the score section.  Otherwise it can either be missing or set to false.  Specific to CanadaGAP
         */
        canadagap_isautofail?: boolean;
        /**
         * Introduced for CanadaGAP.  Represents the sub totals for various combinations of sections as specified by CanadaGAP, as well as the weighting_factor for that combination of sections toward the overall score.  This is needed because the subtotals do not perfectly match the sections, so it exists here as a separate key.  Other audits should just put the subtotal under the section that it goes with.
         */
        subtotals?: {
            /**
             * Do not use score_core in an audit schema.  It exists to avoid recursive definition of score and subtotals.
             */
            score?: {
                /**
                 * the units used to interpret the associated value.
                 */
                units?: string;
                /**
                 * A prelimiary score for an audit
                 */
                preliminary?: {
                    /**
                     * a numeric or qualitative value, represented as a string
                     */
                    value?: string;
                    /**
                     * the units used to interpret the associated value.
                     */
                    units?: string;
                    /**
                     * Number of points possible for this control point
                     */
                    possible?: string;
                    [k: string]: unknown;
                };
                /**
                 * The final score for an audit
                 */
                final?: {
                    /**
                     * a numeric or qualitative value, represented as a string
                     */
                    value?: string;
                    /**
                     * the units used to interpret the associated value.
                     */
                    units?: string;
                    /**
                     * Number of points possible for this control point
                     */
                    possible?: string;
                    [k: string]: unknown;
                };
                /**
                 * a numeric or qualitative value, represented as a string
                 */
                value?: string;
                /**
                 * Number of points possible for this control point
                 */
                possible?: string;
                /**
                 * written description indicating the level of satisfaction of the control point. E.g., "Total Compliance", "Minor Deficiency", or simply "Pass"/"Fail".
                 */
                compliance?: string;
                /**
                 * GlobalGAP has particular levels of major_musts and minor_must that are entirely unique to GlobalGAP, hence the name.
                 */
                globalgap_levels?: {
                    /**
                     * The summary score for all major-must level questions
                     */
                    major_musts?: {
                        /**
                         * yes is used to represent the summary count of "yes" answers in the audit
                         */
                        yes?: {
                            /**
                             * a numeric or qualitative value, represented as a string
                             */
                            value?: string;
                            /**
                             * the units used to interpret the associated value.
                             */
                            units?: string;
                            /**
                             * Number of points possible for this control point
                             */
                            possible?: string;
                            [k: string]: unknown;
                        };
                        /**
                         * no is used to represent the summary count of "no" answers in the audit
                         */
                        no?: {
                            /**
                             * a numeric or qualitative value, represented as a string
                             */
                            value?: string;
                            /**
                             * the units used to interpret the associated value.
                             */
                            units?: string;
                            /**
                             * Number of points possible for this control point
                             */
                            possible?: string;
                            [k: string]: unknown;
                        };
                        /**
                         * n_a is used to represent the summary count of "Not Applicable" answers in the audit
                         */
                        n_a?: {
                            /**
                             * a numeric or qualitative value, represented as a string
                             */
                            value?: string;
                            /**
                             * the units used to interpret the associated value.
                             */
                            units?: string;
                            /**
                             * Number of points possible for this control point
                             */
                            possible?: string;
                            [k: string]: unknown;
                        };
                        /**
                         * GlobalGAP has an overall true/false compliance for an audit score
                         */
                        is_compliant?: boolean;
                        [k: string]: unknown;
                    } | {
                        /**
                         * major_must is used to represent the summary count of "Major Must" answers in the audit
                         */
                        major_must?: {
                            /**
                             * a numeric or qualitative value, represented as a string
                             */
                            value?: string;
                            /**
                             * the units used to interpret the associated value.
                             */
                            units?: string;
                            /**
                             * Number of points possible for this control point
                             */
                            possible?: string;
                            [k: string]: unknown;
                        };
                        /**
                         * major_must is used to represent the summary count of "Minor Must" answers in the audit
                         */
                        minor_must?: {
                            /**
                             * a numeric or qualitative value, represented as a string
                             */
                            value?: string;
                            /**
                             * the units used to interpret the associated value.
                             */
                            units?: string;
                            /**
                             * Number of points possible for this control point
                             */
                            possible?: string;
                            [k: string]: unknown;
                        };
                        /**
                         * major_must is used to represent the summary count of "Minor Must" answers in the audit
                         */
                        recommended?: {
                            /**
                             * a numeric or qualitative value, represented as a string
                             */
                            value?: string;
                            /**
                             * the units used to interpret the associated value.
                             */
                            units?: string;
                            /**
                             * Number of points possible for this control point
                             */
                            possible?: string;
                            [k: string]: unknown;
                        };
                        [k: string]: unknown;
                    };
                    /**
                     * The summary score for all minor-must level questions
                     */
                    minor_musts?: {
                        /**
                         * yes is used to represent the summary count of "yes" answers in the audit
                         */
                        yes?: {
                            /**
                             * a numeric or qualitative value, represented as a string
                             */
                            value?: string;
                            /**
                             * the units used to interpret the associated value.
                             */
                            units?: string;
                            /**
                             * Number of points possible for this control point
                             */
                            possible?: string;
                            [k: string]: unknown;
                        };
                        /**
                         * no is used to represent the summary count of "no" answers in the audit
                         */
                        no?: {
                            /**
                             * a numeric or qualitative value, represented as a string
                             */
                            value?: string;
                            /**
                             * the units used to interpret the associated value.
                             */
                            units?: string;
                            /**
                             * Number of points possible for this control point
                             */
                            possible?: string;
                            [k: string]: unknown;
                        };
                        /**
                         * n_a is used to represent the summary count of "Not Applicable" answers in the audit
                         */
                        n_a?: {
                            /**
                             * a numeric or qualitative value, represented as a string
                             */
                            value?: string;
                            /**
                             * the units used to interpret the associated value.
                             */
                            units?: string;
                            /**
                             * Number of points possible for this control point
                             */
                            possible?: string;
                            [k: string]: unknown;
                        };
                        /**
                         * GlobalGAP has an overall true/false compliance for an audit score
                         */
                        is_compliant?: boolean;
                        [k: string]: unknown;
                    } | {
                        /**
                         * major_must is used to represent the summary count of "Major Must" answers in the audit
                         */
                        major_must?: {
                            /**
                             * a numeric or qualitative value, represented as a string
                             */
                            value?: string;
                            /**
                             * the units used to interpret the associated value.
                             */
                            units?: string;
                            /**
                             * Number of points possible for this control point
                             */
                            possible?: string;
                            [k: string]: unknown;
                        };
                        /**
                         * major_must is used to represent the summary count of "Minor Must" answers in the audit
                         */
                        minor_must?: {
                            /**
                             * a numeric or qualitative value, represented as a string
                             */
                            value?: string;
                            /**
                             * the units used to interpret the associated value.
                             */
                            units?: string;
                            /**
                             * Number of points possible for this control point
                             */
                            possible?: string;
                            [k: string]: unknown;
                        };
                        /**
                         * major_must is used to represent the summary count of "Minor Must" answers in the audit
                         */
                        recommended?: {
                            /**
                             * a numeric or qualitative value, represented as a string
                             */
                            value?: string;
                            /**
                             * the units used to interpret the associated value.
                             */
                            units?: string;
                            /**
                             * Number of points possible for this control point
                             */
                            possible?: string;
                            [k: string]: unknown;
                        };
                        [k: string]: unknown;
                    };
                    [k: string]: unknown;
                };
                /**
                 * If the audit is scored as autofail, this key should be set to true in the score section.  Otherwise it can either be missing or set to false.  Specific to CanadaGAP
                 */
                canadagap_isautofail?: boolean;
                [k: string]: unknown;
            };
            /**
             * name is a string, typically the name of the object the key appears in.
             */
            name?: string;
            /**
             * An array of section id strings that belong to a subtotal or a sub-section.
             */
            sectionids?: string[];
            /**
             * Introduced for CanadaGAP.  Represents the weight used to combine sections into a total score.
             */
            weighting_factor?: string;
            [k: string]: unknown;
        };
        [k: string]: unknown;
    };
    /**
     * Introduced for smithfield-foodlogiq integration
     */
    holder?: {
        /**
         * Certificate holder name
         */
        name?: string;
        /**
         * location describes the postal address used to identify where something is.
         */
        location?: {
            /**
             * postal_code is the postal code used in a postal address
             */
            postal_code?: string;
            /**
             * The street name and mailbox number of a postal address.
             */
            street_address?: string;
            /**
             * The name of the city, usually in a postal address.
             */
            city?: string;
            /**
             * The name of the state or major region, usually in a postal address.
             */
            state?: string;
            /**
             * The name of the country, usually in a postal address.
             */
            country?: string;
            [k: string]: unknown;
        };
        [k: string]: unknown;
    };
    /**
     * Introduced for smithfield-foodlogiq integration
     */
    policies?: {
        /**
         * The information describing a COI policy
         */
        [k: string]: {
            /**
             * policy number associated with the listed certificate
             */
            number?: string;
            /**
             * The date the policy becomes active
             */
            effective_date?: string;
            /**
             * The date the policy expires
             */
            expire_date?: string;
            [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.trellis.audit.primusgfs.1+json" | "application/vnd.trellisfw.coi.accord+json";
    [k: string]: unknown;
}
//# sourceMappingURL=v1.d.ts.map