@rapharacing/schemas
Version:
OpenAPI to JSON Schema to be used with middy for CC response validation
101 lines • 1.91 kB
JSON
{
"type": "object",
"properties": {
"availableSizes": {
"type": "array",
"items": {
"$ref": "_definitions.json#/definitions/CustomFeature",
"originalRef": "CustomFeature"
}
},
"baseProduct": {
"type": "string"
},
"code": {
"type": "string"
},
"designId": {
"type": "string"
},
"detailImages": {
"type": "array",
"items": {
"type": "string"
}
},
"genders": {
"type": "array",
"items": {
"type": "string"
}
},
"headerImages": {
"type": "array",
"items": {
"type": "string"
}
},
"isFeatured": {
"type": "boolean"
},
"isHeroProduct": {
"type": "boolean"
},
"isRCCAvailable": {
"type": "boolean"
},
"isSampleEnabled": {
"type": "boolean"
},
"isSampleOrdered": {
"type": "boolean"
},
"managerAccess": {
"type": "boolean"
},
"mannequinImages": {
"type": "array",
"items": {
"type": "string"
}
},
"minOrder": {
"type": "integer",
"format": "int32"
},
"name": {
"type": "string"
},
"preview": {
"type": "string"
},
"product": {
"type": "string"
},
"productReferences": {
"type": "array",
"items": {
"$ref": "_definitions.json#/definitions/CustomProduct",
"originalRef": "CustomProduct"
}
},
"rejectedReason": {
"type": "string"
},
"sampleSizes": {
"type": "array",
"items": {
"$ref": "_definitions.json#/definitions/CustomFeature",
"originalRef": "CustomFeature"
}
},
"shareableLink": {
"type": "string"
},
"status": {
"type": "string"
}
},
"title": "CustomProduct",
"$schema": "http://json-schema.org/schema#"
}