mirror of
https://github.com/sartography/sample-process-models.git
synced 2025-02-24 21:58:18 +00:00
User: alex@sartography.com added process model file manage-procurement/procurement/requisition-order-management/new-demand-request-procurement/submit-procurement-schema.json
This commit is contained in:
parent
f0a5de7c84
commit
44cd6ebf6a
@ -0,0 +1,134 @@
|
|||||||
|
{
|
||||||
|
"definitions": {
|
||||||
|
|
||||||
|
"projectEnum": {
|
||||||
|
"title": "Project",
|
||||||
|
"type": "string",
|
||||||
|
"anyOf": [
|
||||||
|
"options_from_task_data_var:dept_enum_list"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"title": "Submit New Demand Request-Procurement",
|
||||||
|
"description": "Submit a new demand request for the procurement of needed items. Does not include Travel or Compensation.",
|
||||||
|
"properties": {
|
||||||
|
"requestor": {
|
||||||
|
"type": "string",
|
||||||
|
"title": "Requestor"
|
||||||
|
},
|
||||||
|
"project": {
|
||||||
|
"$ref": "#/definitions/projectEnum",
|
||||||
|
"title": "Project"
|
||||||
|
},
|
||||||
|
"category": {
|
||||||
|
"type": "string",
|
||||||
|
"title": "Category",
|
||||||
|
"enum": [
|
||||||
|
"Software & Licences",
|
||||||
|
"Learning & Development",
|
||||||
|
"Equipment"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"purpose": {
|
||||||
|
"maxLength": 250,
|
||||||
|
"type": "string",
|
||||||
|
"title": "Purpose"
|
||||||
|
},
|
||||||
|
"criticality": {
|
||||||
|
"type": "string",
|
||||||
|
"title": " Criticality",
|
||||||
|
"enum": [
|
||||||
|
"High",
|
||||||
|
"Medium",
|
||||||
|
"Low"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"vendor": {
|
||||||
|
"type": "string",
|
||||||
|
"title": "Vendor"
|
||||||
|
},
|
||||||
|
"period": {
|
||||||
|
"type": "string",
|
||||||
|
"title": "Period"
|
||||||
|
},
|
||||||
|
"payment-method": {
|
||||||
|
"type": "string",
|
||||||
|
"title": "Payment method",
|
||||||
|
"enum": [
|
||||||
|
"Bank transfer",
|
||||||
|
"Crypto transfer",
|
||||||
|
"Debit Card",
|
||||||
|
"Reimbursement"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"category": {
|
||||||
|
"oneOf": [{
|
||||||
|
"properties": {
|
||||||
|
"category": {
|
||||||
|
"enum": [
|
||||||
|
"Software & Licences"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"sub-category": {
|
||||||
|
"title": "Sub Category",
|
||||||
|
"type": "string",
|
||||||
|
"enum": [
|
||||||
|
"Licences",
|
||||||
|
"Subscriptions",
|
||||||
|
"Open Source"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"sub-category"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"properties": {
|
||||||
|
"category": {
|
||||||
|
"enum": [
|
||||||
|
"Learning & Development"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"sub-category": {
|
||||||
|
"title": "Sub Category",
|
||||||
|
"type": "string",
|
||||||
|
"enum": [
|
||||||
|
"Books",
|
||||||
|
"Courses",
|
||||||
|
"Online Conferences"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"sub-category"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"properties": {
|
||||||
|
"category": {
|
||||||
|
"enum": [
|
||||||
|
"Equipment"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"sub-category": {
|
||||||
|
"title": "Sub Category",
|
||||||
|
"type": "string",
|
||||||
|
"enum": [
|
||||||
|
"Laptops",
|
||||||
|
"Ledgers",
|
||||||
|
"Headset"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"sub-category"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": []
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user