From 2f85b3410524347ccc6a0850c97e91d69c6b9ec0 Mon Sep 17 00:00:00 2001 From: sartography-automated-committer Date: Thu, 15 Feb 2024 08:16:48 +0000 Subject: [PATCH] User: hurairaidrees@gmail.com clicked save for playground/nutech/issue2/issue-schema.json --- playground/nutech/issue2/issue-schema.json | 141 ++++++++++++++++++++- 1 file changed, 140 insertions(+), 1 deletion(-) diff --git a/playground/nutech/issue2/issue-schema.json b/playground/nutech/issue2/issue-schema.json index 9e26dfee..b9aecee8 100644 --- a/playground/nutech/issue2/issue-schema.json +++ b/playground/nutech/issue2/issue-schema.json @@ -1 +1,140 @@ -{} \ No newline at end of file +{ + "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" +    } +  } +} \ No newline at end of file