@rapharacing/schemas
Version:
OpenAPI to JSON Schema to be used with middy for CC response validation
22 lines • 509 B
JSON
{
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "Code of consent"
},
"consentGivenDate": {
"type": "string",
"format": "date-time",
"description": "Date of consenting"
},
"consentWithdrawnDate": {
"type": "string",
"format": "date-time",
"description": "Consent withdrawn date"
}
},
"title": "Consent",
"description": "Representation of a Consent",
"$schema": "http://json-schema.org/schema#"
}