@rapharacing/schemas
Version:
OpenAPI to JSON Schema to be used with middy for CC response validation
25 lines • 643 B
JSON
{
"type": "object",
"properties": {
"decision": {
"type": "string",
"description": "Decision"
},
"errors": {
"description": "List of errors",
"$ref": "_definitions.json#/definitions/errorList",
"originalRef": "errorList"
},
"suggestedAddresses": {
"type": "array",
"description": "List of suggested addresses",
"items": {
"$ref": "_definitions.json#/definitions/Address",
"originalRef": "Address"
}
}
},
"title": "AddressValidation",
"description": "Representation of an Address Validation",
"$schema": "http://json-schema.org/schema#"
}