Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/node-core-library > IJsonSchemaLoadOptions > schemaVersion

IJsonSchemaLoadOptions.schemaVersion property

The json-schema version to target for validation.

Signature:

schemaVersion?: JsonSchemaVersion;

Remarks

If the a version is not explicitly set, the schema object's $schema property will be inspected to determine the version. If a $schema property is not found or does not match an expected URL, the default version will be used.