schemas
Deprecated
Declarative schema configuration is not supported yet; automatic schema validation (autoValidate = true) throws UnsupportedOperationException and only SchemaFormat.JSON_SCHEMA is supported. Register and validate schemas programmatically via trustWeave.registerSchema { ... } and trustWeave.verify { validateSchema(...) } instead.
Schema configuration.
Throws
if autoValidate is true, as automatic schema validation is not yet implemented. Use SchemaValidatorRegistry directly for schema validation, accessible via TrustWeave.registerSchema.
if defaultFormat is anything other than SchemaFormat.JSON_SCHEMA; alternative default schema formats are not yet supported and would otherwise be silently ignored.