/** * Squidex API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.0.0.0 * * * 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 { SchemaPropertiesDto } from './SchemaPropertiesDto'; import type { SchemaScriptsDto } from './SchemaScriptsDto'; import type { ResourceLink } from './ResourceLink'; import type { FieldRuleDto } from './FieldRuleDto'; import type { SchemaType } from './SchemaType'; import type { FieldDto } from './FieldDto'; /** * * @export * @interface SchemaDto */ export interface SchemaDto { /** * The links. * @type {{ [key: string]: ResourceLink; }} * @memberof SchemaDto */ links: { [key: string]: ResourceLink; }; /** * The ID of the schema. * @type {string} * @memberof SchemaDto */ id: string; /** * The user that has created the schema. * @type {string} * @memberof SchemaDto */ createdBy: string; /** * The user that has updated the schema. * @type {string} * @memberof SchemaDto */ lastModifiedBy: string; /** * The name of the schema. Unique within the app. * @type {string} * @memberof SchemaDto */ name: string; /** * * @type {SchemaType} * @memberof SchemaDto */ type: SchemaType; /** * The name of the category. * @type {string} * @memberof SchemaDto */ category?: string | null; /** * * @type {SchemaPropertiesDto} * @memberof SchemaDto */ properties: SchemaPropertiesDto; /** * Indicates if the schema is a singleton. * @type {boolean} * @memberof SchemaDto * @deprecated */ isSingleton: boolean; /** * Indicates if the schema is published. * @type {boolean} * @memberof SchemaDto */ isPublished: boolean; /** * The date and time when the schema has been created. * @type {Date} * @memberof SchemaDto */ created: Date; /** * The date and time when the schema has been modified last. * @type {Date} * @memberof SchemaDto */ lastModified: Date; /** * The version of the schema. * @type {number} * @memberof SchemaDto */ version: number; /** * * @type {SchemaScriptsDto} * @memberof SchemaDto */ scripts: SchemaScriptsDto; /** * The preview Urls. * @type {{ [key: string]: string; }} * @memberof SchemaDto */ previewUrls: { [key: string]: string; }; /** * The name of fields that are used in content lists. * @type {Array} * @memberof SchemaDto */ fieldsInLists: Array; /** * The name of fields that are used in content references. * @type {Array} * @memberof SchemaDto */ fieldsInReferences: Array; /** * The field rules. * @type {Array} * @memberof SchemaDto */ fieldRules: Array; /** * The list of fields. * @type {Array} * @memberof SchemaDto */ fields: Array; } /** * Check if a given object implements the SchemaDto interface. */ export declare function instanceOfSchemaDto(value: any): value is SchemaDto; export declare function SchemaDtoFromJSON(json: any): SchemaDto; export declare function SchemaDtoFromJSONTyped(json: any, _ignoreDiscriminator: boolean): SchemaDto; export declare function SchemaDtoToJSON(value?: SchemaDto | null, _ignoreDiscriminator?: boolean): any;