responseConstraint

abstract external var responseConstraint: Any?(source)

a JSON schema object or a RegExp used to constrain the response to match the specified restraints.