/**
 * VRt.Studio [ST]
 *
 * The version of the OpenAPI document: 7.18.2755
 * Contact: servicedesk@veeroute.com
 *
 * NOTE: This class is auto generated by OpenAPI Generator.
 * Do not edit the class manually.
 */
import { AttributeStudio } from './attribute';
import { FactTypeStudio } from './factType';
/**
 * The fact about the order is the action taken with the order or its part (demand).
 */
export interface FactStudio {
    [key: string]: any | any;
    /**
     * Fact key.
     */
    key: string;
    /**
     * Fact creation time in the [ISO 8601](https://tools.ietf.org/html/rfc3339#section-5.6) format.
     */
    time: string;
    type: FactTypeStudio;
    /**
     * Trip key, to which the fact relates.
     */
    trip_key: string;
    /**
     * Order key, required for facts with type `ORDER_DONE`.
     */
    order_key?: string | null;
    /**
     * Demand key, required for facts with types `DEMAND_DONE` and `DEMAND_START`.
     */
    demand_key?: string | null;
    /**
     * Performer key, required for facts with type `NEW_LOCATION`.
     */
    performer_key?: string | null;
    /**
     * Location key, required for facts with type `NEW_LOCATION`.
     */
    location_key?: string | null;
    /**
     * Attributes. Used to add service information.
     */
    attributes?: Array<AttributeStudio>;
}
