This commit is contained in:
JMARyA 2024-10-20 04:04:50 +02:00
parent 2823eea3ee
commit 1cc0b61c35
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263

View file

@ -15,10 +15,8 @@
"type": "string" "type": "string"
}, },
"variants": { "variants": {
"type": "array",
"minItems": 1,
"items": {
"type": "object", "type": "object",
"minProperties": 1,
"title": "Item Variant", "title": "Item Variant",
"description": "A Variant of an Item", "description": "A Variant of an Item",
"properties": { "properties": {
@ -36,6 +34,14 @@
"type": "number", "type": "number",
"title": "Expiry days", "title": "Expiry days",
"description": "Number of days until this item variant is considered expired." "description": "Number of days until this item variant is considered expired."
},
"barcodes": {
"type": "array",
"title": "Associated Barcodes",
"description": "Associated Barcodes",
"items": {
"type": "number",
"title": "Barcode"
} }
} }
} }