UNPKG

@rapharacing/schemas

Version:

OpenAPI to JSON Schema to be used with middy for CC response validation

44 lines 865 B
{ "type": "object", "properties": { "code": { "type": "string" }, "colorName": { "type": "string" }, "marketingMessage": { "type": "string" }, "price": { "$ref": "_definitions.json#/definitions/Price", "originalRef": "Price" }, "rootProduct": { "type": "string" }, "sizes": { "type": "array", "items": { "$ref": "_definitions.json#/definitions/RaphaSize", "originalRef": "RaphaSize" } }, "slug": { "type": "string" }, "stockValue": { "type": "integer", "format": "int32" }, "swatchColor": { "type": "string" }, "wasPrice": { "$ref": "_definitions.json#/definitions/Price", "originalRef": "Price" } }, "title": "RaphaColor", "$schema": "http://json-schema.org/schema#" }