| hide_title | true |
|---|---|
| custom_edit_url | |
| pagination_prev | |
| pagination_next |
Home > @rushstack/node-core-library > IJsonSchemaLoadOptions
Options for JsonSchema.fromFile() and JsonSchema.fromLoadedObject()
Signature:
export interface IJsonSchemaLoadOptions |
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
Record<string, IJsonSchemaCustomFormat<></><string> | IJsonSchemaCustomFormat<></><number>> |
(Optional) Any custom formats to consider during validation. Some standard formats are supported out-of-the-box (e.g. emails, uris), but additional formats can be defined here. You could for example define generic numeric formats (e.g. uint8) or domain-specific formats. | ||
|
JsonSchema<></>[] |
(Optional) Other schemas that this schema references, e.g. via the "$ref" directive. | ||
|
boolean |
(BETA) (Optional) If true, the AJV validator will reject JSON Schema vendor extension keywords matching the pattern | ||
|
(Optional) The json-schema version to target for validation. |