/** * Synapse REST API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { ValidationException } from './ValidationException'; /** * Results of validating an object against a schema * @export * @interface SchemaValidationResults */ export interface SchemaValidationResults { /** * The identifier of the object that was validated. * @type {string} * @memberof SchemaValidationResults */ objectId?: string; /** * Type types of Synapse objects that can have a JSON schema. * @type {string} * @memberof SchemaValidationResults */ objectType?: SchemaValidationResultsObjectTypeEnum; /** * The etag of the object at the time of validation. Note: If this etag does not match the current etag of the object then these validation results should be considered out of date. * @type {string} * @memberof SchemaValidationResults */ objectEtag?: string; /** * The $id of the schema that the object was validated against. * @type {string} * @memberof SchemaValidationResults */ schema$id?: string; /** * True if the object is currently valid according to the schema. * @type {boolean} * @memberof SchemaValidationResults */ isValid?: boolean; /** * The date-time this object was validated * @type {string} * @memberof SchemaValidationResults */ validatedOn?: string; /** * If the object is not valid according to the schema, a simple one line error message will be provided. * @type {string} * @memberof SchemaValidationResults */ validationErrorMessage?: string; /** * If the object is not valid according to the schema, a the flat list of error messages will be provided with one error message per sub-schema. * @type {Array} * @memberof SchemaValidationResults */ allValidationMessages?: Array; /** * * @type {ValidationException} * @memberof SchemaValidationResults */ validationException?: ValidationException; } /** * @export */ export declare const SchemaValidationResultsObjectTypeEnum: { readonly entity: "entity"; }; export type SchemaValidationResultsObjectTypeEnum = typeof SchemaValidationResultsObjectTypeEnum[keyof typeof SchemaValidationResultsObjectTypeEnum]; /** * Check if a given object implements the SchemaValidationResults interface. */ export declare function instanceOfSchemaValidationResults(value: object): value is SchemaValidationResults; export declare function SchemaValidationResultsFromJSON(json: any): SchemaValidationResults; export declare function SchemaValidationResultsFromJSONTyped(json: any, ignoreDiscriminator: boolean): SchemaValidationResults; export declare function SchemaValidationResultsToJSON(json: any): SchemaValidationResults; export declare function SchemaValidationResultsToJSONTyped(value?: SchemaValidationResults | null, ignoreDiscriminator?: boolean): any;