import { IType } from "./i-type"; export interface ISchema { type?: IType | 'object' | 'array'; items?: ISchemaItem; required?: Array; properties?: { [name: string]: ISchema; }; additionalProperties?: any; '$ref'?: string; enum?: Array; allOf?: Array<{ '$ref': string; } | any>; oneOf?: Array<{ '$ref': string; } | any>; } export interface ISchemaItem { type: 'string' | 'integer'; enum?: Array; '$ref': string; }