2023-01-16 18:58:04 +00:00
|
|
|
{
|
2023-01-16 19:54:33 +00:00
|
|
|
"definitions": {
|
|
|
|
"currencyEnum": {
|
|
|
|
"title": "Currency",
|
|
|
|
"type": "string",
|
|
|
|
"anyOf": [
|
|
|
|
"options_from_task_data_var:currency_enum_list"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2023-01-16 18:58:04 +00:00
|
|
|
"title": "Demand Request Items",
|
|
|
|
"description": "Itemized list of all items included in this demand request.",
|
2023-01-16 19:06:26 +00:00
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"tasks": {
|
|
|
|
"type": "array",
|
|
|
|
"title": "Items",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"required": [
|
|
|
|
"item",
|
2023-01-16 19:54:33 +00:00
|
|
|
"qty",
|
|
|
|
|
|
|
|
"unit-price"
|
2023-01-16 19:06:26 +00:00
|
|
|
],
|
|
|
|
"properties": {
|
|
|
|
"item": {
|
|
|
|
"type": "string",
|
|
|
|
"title": "Item",
|
|
|
|
"description": "Name of item to be purchased"
|
|
|
|
},
|
|
|
|
"qty": {
|
|
|
|
"type": "number",
|
|
|
|
"title": "Qty",
|
|
|
|
"description": "Number of items"
|
|
|
|
},
|
2023-01-16 19:54:33 +00:00
|
|
|
"currency": {
|
|
|
|
"$ref": "#/definitions/currencyEnum",
|
|
|
|
"title": "Currency"
|
|
|
|
},
|
2023-01-16 19:06:26 +00:00
|
|
|
"unit-price": {
|
|
|
|
"type": "number",
|
|
|
|
"title": "Unit Price"
|
|
|
|
}
|
2023-01-16 18:58:04 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|