109 lines
2.1 KiB
JSON

{
"title": "Receipt DRS",
"type": "object",
"required": [
"received_date",
"supplier_manufacturer",
"inspection",
"operating_unit",
"commodity",
"cat_part_no",
"nomenclature",
"drs_no",
"au",
"cno",
"serial_no",
"destination",
"item_tag_id",
"time"
],
"properties": {
"received_date": {
"type": "string",
"title": "Received Date",
"format": "date"
},
"supplier_manufacturer": {
"type": "string",
"title": "Supplier / Manufacturer",
"default": "112 Ordance"
},
"inspection": {
"type": "string",
"title": "Inspection",
"enum": [
"Not Done",
"Done"
]
},
"operating_unit": {
"type": "string",
"title": "Operating Unit (Consignee)",
"default": "CoD, Rawalpindi"
},
"commodity": {
"type": "string",
"title": "Commodity",
"default": "Armament"
},
"cat_part_no": {
"type": "integer",
"title": "Cat Port No"
},
"nomenclature": {
"type": "string",
"title": "Nomenclature"
},
"drs_no": {
"type": "string",
"title": "DRS No."
},
"total_qty": {
"type": "object",
"title": "Total Qty",
"required": [
"child_qty",
"parent_qty"
],
"properties": {
"parent_qty": {
"type": "integer",
"title": "Parent Qty"
},
"child_qty": {
"type": "integer",
"title": "Child Qty"
}
}
},
"au": {
"type": "string",
"title": "A/U",
"enum": [
"feet",
"kg"
]
},
"cno": {
"type": "integer",
"title": "C/No."
},
"serial_no": {
"type": "integer",
"title": "Serial No."
},
"destination": {
"type": "string",
"title": "Destination",
"default": "S10"
},
"item_tag_id": {
"type": "integer",
"title": "Item Tag ID"
},
"time": {
"type": "string",
"title": "Time"
}
}
}