@rapharacing/schemas
Version:
OpenAPI to JSON Schema to be used with middy for CC response validation
32 lines • 870 B
JSON
{
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "Code of the opening schedule"
},
"name": {
"type": "string",
"description": "Name of the opening schedule"
},
"specialDayOpeningList": {
"type": "array",
"description": "List of special opening days",
"items": {
"$ref": "_definitions.json#/definitions/SpecialOpeningDay",
"originalRef": "SpecialOpeningDay"
}
},
"weekDayOpeningList": {
"type": "array",
"description": "List of weekday opening days",
"items": {
"$ref": "_definitions.json#/definitions/WeekdayOpeningDay",
"originalRef": "WeekdayOpeningDay"
}
}
},
"title": "OpeningSchedule",
"description": "Representation of an Opening schedule",
"$schema": "http://json-schema.org/schema#"
}