@rapharacing/schemas
Version:
OpenAPI to JSON Schema to be used with middy for CC response validation
34 lines • 640 B
JSON
{
"type": "object",
"properties": {
"code": {
"type": "string"
},
"name": {
"type": "string"
},
"price": {
"$ref": "_definitions.json#/definitions/Price",
"originalRef": "Price"
},
"rootProduct": {
"type": "string"
},
"sanitizedName": {
"type": "string"
},
"slug": {
"type": "string"
},
"stockValue": {
"type": "integer",
"format": "int32"
},
"wasPrice": {
"$ref": "_definitions.json#/definitions/Price",
"originalRef": "Price"
}
},
"title": "RaphaSize",
"$schema": "http://json-schema.org/schema#"
}