/** * 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. */ /** * The JSON schema is defined by: json-schema.org, specifically draft-07. Only features listed here are currently supported. * @export * @interface JsonSchema */ export interface JsonSchema { /** * See: The "$schema" Keyword * @type {string} * @memberof JsonSchema */ $schema?: string; /** * See: The "$id" Keyword * @type {string} * @memberof JsonSchema */ $id?: string; /** * See: Direct References with "$ref" * @type {string} * @memberof JsonSchema */ $ref?: string; /** * See: Instance Data Model * @type {string} * @memberof JsonSchema */ type?: JsonSchemaTypeEnum; /** * * @type {JsonSchema} * @memberof JsonSchema */ items?: JsonSchema; /** * See: properties * @type {{ [key: string]: JsonSchema; }} * @memberof JsonSchema */ properties?: { [key: string]: JsonSchema; }; /** * See: title * @type {string} * @memberof JsonSchema */ title?: string; /** * See: description * @type {string} * @memberof JsonSchema */ description?: string; /** * Use allOf to 'extend' or 'implement' one or more schemas. See: allOf * @type {Array} * @memberof JsonSchema */ allOf?: Array; /** * See: anyOf * @type {Array} * @memberof JsonSchema */ anyOf?: Array; /** * See: oneOf * @type {Array} * @memberof JsonSchema */ oneOf?: Array; /** * * @type {JsonSchema} * @memberof JsonSchema */ not?: JsonSchema; /** * See: Defined Formats * @type {string} * @memberof JsonSchema */ format?: string; /** * In an effor to support draft-07 implementations, we are using 'definitions' instead of '$defs'. See: Appendix A * @type {{ [key: string]: JsonSchema; }} * @memberof JsonSchema */ definitions?: { [key: string]: JsonSchema; }; /** * See: enum * @type {Array} * @memberof JsonSchema */ _enum?: Array; /** * See: const * @type {any} * @memberof JsonSchema */ _const?: any | null; /** * Used to indicate that this schema is derived from another object/schema. The value should be a URL reference to the original work. The 'source' is solely descriptive and should have no impact on validation. * @type {string} * @memberof JsonSchema */ source?: string; /** * See: required * @type {Array} * @memberof JsonSchema */ required?: Array; /** * See: maxLength * @type {number} * @memberof JsonSchema */ maxLength?: number; /** * See: minLength * @type {number} * @memberof JsonSchema */ minLength?: number; /** * See: maxItems * @type {number} * @memberof JsonSchema */ maxItems?: number; /** * See: minItems * @type {number} * @memberof JsonSchema */ minItems?: number; /** * See: uniqueItems * @type {boolean} * @memberof JsonSchema */ uniqueItems?: boolean; /** * See: pattern * @type {string} * @memberof JsonSchema */ pattern?: string; /** * * @type {JsonSchema} * @memberof JsonSchema */ _if?: JsonSchema; /** * * @type {JsonSchema} * @memberof JsonSchema */ then?: JsonSchema; /** * * @type {JsonSchema} * @memberof JsonSchema */ _else?: JsonSchema; /** * See: maximum * @type {number} * @memberof JsonSchema */ maximum?: number; /** * See: minimum * @type {number} * @memberof JsonSchema */ minimum?: number; /** * See: default * @type {any} * @memberof JsonSchema */ _default?: any | null; /** * * @type {JsonSchema} * @memberof JsonSchema */ contains?: JsonSchema; /** * * @type {JsonSchema} * @memberof JsonSchema */ additionalProperties?: JsonSchema; } /** * @export */ export declare const JsonSchemaTypeEnum: { readonly null: "null"; readonly boolean: "boolean"; readonly object: "object"; readonly array: "array"; readonly number: "number"; readonly string: "string"; readonly integer: "integer"; }; export type JsonSchemaTypeEnum = typeof JsonSchemaTypeEnum[keyof typeof JsonSchemaTypeEnum]; /** * Check if a given object implements the JsonSchema interface. */ export declare function instanceOfJsonSchema(value: object): value is JsonSchema; export declare function JsonSchemaFromJSON(json: any): JsonSchema; export declare function JsonSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): JsonSchema; export declare function JsonSchemaToJSON(json: any): JsonSchema; export declare function JsonSchemaToJSONTyped(value?: JsonSchema | null, ignoreDiscriminator?: boolean): any;