@rapharacing/schemas
Version:
OpenAPI to JSON Schema to be used with middy for CC response validation
33 lines • 661 B
JSON
{
"type": "object",
"properties": {
"code": {
"type": "string"
},
"description": {
"type": "string"
},
"headerCategory": {
"type": "string"
},
"heroProduct": {
"$ref": "_definitions.json#/definitions/CustomProduct",
"originalRef": "CustomProduct"
},
"media": {
"type": "string"
},
"name": {
"type": "string"
},
"products": {
"type": "array",
"items": {
"$ref": "_definitions.json#/definitions/CustomProduct",
"originalRef": "CustomProduct"
}
}
},
"title": "CustomCategory",
"$schema": "http://json-schema.org/schema#"
}