mirror of
https://github.com/sartography/demo-process-models.git
synced 2025-02-24 14:48:08 +00:00
135 lines
2.5 KiB
JSON
135 lines
2.5 KiB
JSON
{
|
|
"title": "Create Issue Voucher",
|
|
"type": "object",
|
|
"required": [
|
|
"issue_voucher_number",
|
|
"demand_type",
|
|
"issue_date",
|
|
"na_number",
|
|
"commodity",
|
|
"authority_number",
|
|
"consignee",
|
|
"remarks",
|
|
"demand_no",
|
|
"condition",
|
|
"demand_date",
|
|
"locator",
|
|
"serial_no",
|
|
"cat_part_no",
|
|
"nomenclatures",
|
|
"issue_quantity",
|
|
"unit",
|
|
"demand_quantity"
|
|
],
|
|
"properties": {
|
|
"issue_voucher_number": {
|
|
"type": "string",
|
|
"title": "Issue Voucher Number",
|
|
"maxLength": 12,
|
|
"unique": true,
|
|
"ui:autofocus": true
|
|
},
|
|
"demand_type": {
|
|
"type": "string",
|
|
"title": "Demand Type",
|
|
"maxLength": 10,
|
|
"enum": [
|
|
"Control",
|
|
"Uncontrol"
|
|
]
|
|
},
|
|
"issue_date": {
|
|
"type": "string",
|
|
"title": "Issue Date",
|
|
"format": "date"
|
|
},
|
|
"na_number": {
|
|
"type": "string",
|
|
"title": "NA Number",
|
|
"maxLength": 8,
|
|
"unique": true
|
|
|
|
},
|
|
"commodity": {
|
|
"type": "string",
|
|
"maxLength": 50,
|
|
"title": "Commodity",
|
|
"default": "ARMAMENT"
|
|
},
|
|
"authority_number": {
|
|
"type": "string",
|
|
"title": "Authority Number",
|
|
"maxLength": 50
|
|
},
|
|
"consignee": {
|
|
"type": "string",
|
|
"maxLength": 50,
|
|
"title": "Consignee",
|
|
"default": "112 Ordinance"
|
|
},
|
|
"remarks": {
|
|
"type": "string",
|
|
"title": "Remarks",
|
|
"maxLength": 10,
|
|
"enum": [
|
|
"Ok",
|
|
"Not Ok"
|
|
]
|
|
},
|
|
"demand_no": {
|
|
"type": "string",
|
|
"title": "Demand No",
|
|
"maxLength": 6,
|
|
"unique": true
|
|
},
|
|
"condition": {
|
|
"type": "string",
|
|
"maxLength": 10,
|
|
"title": "Condition",
|
|
"enum": [
|
|
"Good",
|
|
"Bad"
|
|
]
|
|
},
|
|
"demand_date": {
|
|
"type": "string",
|
|
"title": "Demand Date",
|
|
"format": "date"
|
|
},
|
|
"locator": {
|
|
"type": "string",
|
|
"title": "Locator",
|
|
"maxLength": 10
|
|
},
|
|
"serial_no": {
|
|
"type": "integer",
|
|
"title": "Serial No"
|
|
},
|
|
"cat_part_no": {
|
|
"type": "integer",
|
|
"title": "Cat Part No"
|
|
},
|
|
"nomenclatures": {
|
|
"type": "string",
|
|
"title": "Nomenclatures",
|
|
"maxLength": 100
|
|
},
|
|
"issue_quantity": {
|
|
"type": "integer",
|
|
"title": "Issue Quantity"
|
|
},
|
|
"unit": {
|
|
"type": "string",
|
|
"title": "Unit",
|
|
"maxLength": 5,
|
|
"enum": [
|
|
"kg",
|
|
"feet"
|
|
]
|
|
},
|
|
"demand_quantity": {
|
|
"type": "integer",
|
|
"title": "Demand Quantity"
|
|
}
|
|
}
|
|
} |