Home > scrubbr > JSONSchemaDefinitions
JSONSchemaDefinitions type¶
JSON Schema object that can be passed into Scrubbr. This needs to follow the format that ts-json-schema-generator
uses: * All types are defined in the root definitions
block. * All references ($ref
) point to definitions within the JSON object. (i.e. no external references)
Signature:
export declare type JSONSchemaDefinitions = JSONSchema7 | {
definitions: {
[k: string]: JSONSchema7;
};
};