40 lines
876 B
JSON
40 lines
876 B
JSON
{
|
|
"id": "/newProduct",
|
|
"type": "object",
|
|
"properties": {
|
|
"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": [
|
|
"productPermalink",
|
|
"productTitle",
|
|
"productPrice",
|
|
"productDescription",
|
|
"productPublished"
|
|
]
|
|
} |