{ "title": "Create Issue Voucher", "type": "object", "required": [ "authorizationLetter", "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": { "authorizationLetter": { "type": "boolean", "title": "Unit Demand / Authorization Letter", "default": "false" }, "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" }   } }