2019-06-17 20:21:45 +10:00
|
|
|
{
|
|
|
|
"id": "/editProduct",
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2019-06-20 13:14:04 +10:00
|
|
|
"productId": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2019-06-17 20:21:45 +10:00
|
|
|
"productPermalink": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"productTitle": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"productPrice": {
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"productDescription": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"productPublished": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"productTags": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"productOptions": {
|
|
|
|
"type": ["object", "string", "null"]
|
|
|
|
},
|
|
|
|
"productComment": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"productStock": {
|
|
|
|
"type": ["number", "null"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": [
|
2019-06-20 13:14:04 +10:00
|
|
|
"productId"
|
2019-06-17 20:21:45 +10:00
|
|
|
]
|
|
|
|
}
|