validateSchema
Enable schema validation.
Validates the credential against a JSON Schema or SHACL shape.
Example:
trustWeave.verify {
credential(credential)
validateSchema("https://example.com/schemas/degree.json")
}Content copied to clipboard
Parameters
schemaId
The schema IRI to validate against