Runs JSON Schema validation against a DocumentInputwithout creating or
mutating anything. Useful for client-side “check before submit” UX when you
want the authoritative server-side schema verdict.
Auth
Bearer JWT. Vault can be sealed — this endpoint does not touch encrypted data.
{
"data": {
"user": {
"document": {
"validate": {
"valid": false,
"errors": [
"/firstName: required field missing",
"/dateOfBirth: not a valid ISO 8601 date" ]
}
}
}
}
}
valid: true with errors: null means the payload would be accepted by
create or update. Validation failures return as a structured result,
not as GraphQL errors.