Make validate definition similar to this: https://github.com/TBD54566975/web5-kt/blob/main/credentials/src/main/kotlin/web5/sdk/credentials/model/Validator.kt#L12