/** * 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 { JsonSchema } from './JsonSchema'; /** * An AsynchronousRequestBody to define a new JsonSchema. * @export * @interface CreateSchemaRequest */ export interface CreateSchemaRequest { /** * * @type {string} * @memberof CreateSchemaRequest */ concreteType: CreateSchemaRequestConcreteTypeEnum; /** * * @type {JsonSchema} * @memberof CreateSchemaRequest */ schema?: JsonSchema; /** * When true, an attempt will be made to create the schema normally, but the resulting schema will not be retained. This can be used to validate a schema without actually registering it. The default value is false. * @type {boolean} * @memberof CreateSchemaRequest */ dryRun?: boolean; } /** * @export */ export declare const CreateSchemaRequestConcreteTypeEnum: { readonly org_sagebionetworks_repo_model_schema_CreateSchemaRequest: "org.sagebionetworks.repo.model.schema.CreateSchemaRequest"; }; export type CreateSchemaRequestConcreteTypeEnum = typeof CreateSchemaRequestConcreteTypeEnum[keyof typeof CreateSchemaRequestConcreteTypeEnum]; /** * Check if a given object implements the CreateSchemaRequest interface. */ export declare function instanceOfCreateSchemaRequest(value: object): value is CreateSchemaRequest; export declare function CreateSchemaRequestFromJSON(json: any): CreateSchemaRequest; export declare function CreateSchemaRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateSchemaRequest; export declare function CreateSchemaRequestToJSON(json: any): CreateSchemaRequest; export declare function CreateSchemaRequestToJSONTyped(value?: CreateSchemaRequest | null, ignoreDiscriminator?: boolean): any;