@rapharacing/schemas
Version:
OpenAPI to JSON Schema to be used with middy for CC response validation
31 lines • 744 B
JSON
{
"type": "object",
"properties": {
"basePrice": {
"$ref": "_definitions.json#/definitions/Price",
"originalRef": "Price"
},
"product": {
"$ref": "_definitions.json#/definitions/Product",
"originalRef": "Product"
},
"quantity": {
"type": "integer",
"format": "int32"
},
"totalPrice": {
"$ref": "_definitions.json#/definitions/Price",
"originalRef": "Price"
},
"wasPrice": {
"$ref": "_definitions.json#/definitions/Price",
"originalRef": "Price"
},
"wasTotalPrice": {
"$ref": "_definitions.json#/definitions/Price",
"originalRef": "Price"
}
},
"title": "WishlistEntry",
"$schema": "http://json-schema.org/schema#"
}