Skip to content

Commit

Permalink
[MODFIN-388] - add acqunitIds to finance data view (#488)
Browse files Browse the repository at this point in the history
* add acqunitIds

* add acqunitIds

* add acqunitIds
  • Loading branch information
azizbekxm authored Nov 20, 2024
1 parent 1335cf6 commit c06778a
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 3 deletions.
4 changes: 3 additions & 1 deletion mod-finance/examples/fy_finance_data.sample
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@
"fundTags": {
"tagList": ["Education", "Research"]
},
"fundAcqUnitIds": ["123e4567-e89b-12d3-a456-426614174006"],
"budgetId": "123e4567-e89b-12d3-a456-426614174001",
"budgetName": "Annual Budget",
"budgetStatus": "Active",
"budgetInitialAllocation": 1000000,
"budgetCurrentAllocation": 950000,
"budgetAllowableExpenditure": 80,
"budgetAllowableEncumbrance": 90
"budgetAllowableEncumbrance": 90,
"budgetAcqUnitIds": ["123e4567-e89b-12d3-a456-426614174008"]
}
8 changes: 6 additions & 2 deletions mod-finance/examples/fy_finance_data_collection.sample
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,15 @@
"fundTags": {
"tagList": ["Education", "Research"]
},
"fundAcqUnitIds": ["123e4567-e89b-12d3-a456-426614174006"],
"budgetId": "123e4567-e89b-12d3-a456-426614174001",
"budgetName": "Annual Budget",
"budgetStatus": "Active",
"budgetInitialAllocation": 1000000,
"budgetCurrentAllocation": 950000,
"budgetAllowableExpenditure": 80,
"budgetAllowableEncumbrance": 90
"budgetAllowableEncumbrance": 90,
"budgetAcqUnitIds": ["123e4567-e89b-12d3-a456-426614174008"]
},
{
"fiscalYearId": "123e4567-e89b-12d3-a456-426614174005",
Expand All @@ -30,13 +32,15 @@
"fundTags": {
"tagList": ["Science", "Innovation"]
},
"fundAcqUnitIds": ["123e4567-e89b-12d3-a456-426614174007"],
"budgetId": "123e4567-e89b-12d3-a456-426614174003",
"budgetName": "Research Budget",
"budgetStatus": "Planned",
"budgetInitialAllocation": 500000,
"budgetCurrentAllocation": 450000,
"budgetAllowableExpenditure": 70,
"budgetAllowableEncumbrance": 85
"budgetAllowableEncumbrance": 85,
"budgetAcqUnitIds": ["123e4567-e89b-12d3-a456-426614174009"]
}
],
"totalRecords": 2
Expand Down
14 changes: 14 additions & 0 deletions mod-finance/schemas/fy_finance_data.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@
"description": "Arbitrary tags associated with this fund",
"$ref": "../../../raml-util/schemas/tags.schema"
},
"fundAcqUnitIds": {
"description": "List of acquisition unit IDs associated with the fund",
"type": "array",
"items": {
"$ref": "../../common/schemas/uuid.json"
}
},
"budgetId": {
"description": "UUID of this budget",
"$ref": "../../common/schemas/uuid.json"
Expand Down Expand Up @@ -77,6 +84,13 @@
"budgetAllowableEncumbrance": {
"description": "The encumbrance percentage limit for this budget",
"type": "number"
},
"budgetAcqUnitIds": {
"description": "List of acquisition unit IDs associated with the budget",
"type": "array",
"items": {
"$ref": "../../common/schemas/uuid.json"
}
}
},
"required": [
Expand Down

0 comments on commit c06778a

Please sign in to comment.