2019-06-17 20:21:45 +10:00
|
|
|
{
|
2019-11-16 09:01:57 +10:00
|
|
|
"$id": "newProduct",
|
2019-06-17 20:21:45 +10:00
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"productPermalink": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"productTitle": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"productPrice": {
|
2020-01-08 18:28:29 +10:00
|
|
|
"type": "string",
|
2019-11-16 12:22:54 +10:00
|
|
|
"format": "amount"
|
2019-06-17 20:21:45 +10:00
|
|
|
},
|
|
|
|
"productDescription": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"productPublished": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"productTags": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"productOptions": {
|
|
|
|
"type": ["object", "string", "null"]
|
|
|
|
},
|
|
|
|
"productComment": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"productStock": {
|
|
|
|
"type": ["number", "null"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": [
|
|
|
|
"productPermalink",
|
|
|
|
"productTitle",
|
|
|
|
"productPrice",
|
|
|
|
"productDescription",
|
|
|
|
"productPublished"
|
|
|
|
]
|
|
|
|
}
|