The validation plugin context containing the invocation to validate and execution context
Current invocation being processed
The array of validators to execute
Discriminant property
Plugin identifier
Defines when this plugin should run
OptionalcapabilityUri?: keyof JMAPServerCapabilitiesThe capability URI of the invocation being processed.
This differs from requiredCapabilityUri in that it is the capability
URI of the specific invocation, rather than a general support requirement.
OptionaldataType?: JMAPDataTypeThe data type of the invocation being processed.
Optionalmethod?: JMAPMethodNameThe method name of the invocation being processed.
Execute the validation logic
Current invocation being processed
Promise resolving to validation result with any errors found
Validates an invocation against registered validators