mirror of
https://github.com/sartography/sample-process-models.git
synced 2025-02-25 14:15:14 +00:00
137 lines
2.4 KiB
JSON
137 lines
2.4 KiB
JSON
{
|
|
"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",
|
|
"format": "date",
|
|
"minimumDate": "today",
|
|
"title": "Period",
|
|
"validationErrorMessage": "Date must be equal to or greater than today's date"
|
|
},
|
|
"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": []
|
|
} |