diff --git a/mod-finance/examples/fy_finance_data.sample b/mod-finance/examples/fy_finance_data.sample index b0ef4165..9b5acf18 100644 --- a/mod-finance/examples/fy_finance_data.sample +++ b/mod-finance/examples/fy_finance_data.sample @@ -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"] } diff --git a/mod-finance/examples/fy_finance_data_collection.sample b/mod-finance/examples/fy_finance_data_collection.sample index 8a1f0f8d..00c88a94 100644 --- a/mod-finance/examples/fy_finance_data_collection.sample +++ b/mod-finance/examples/fy_finance_data_collection.sample @@ -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", @@ -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 diff --git a/mod-finance/schemas/fy_finance_data.json b/mod-finance/schemas/fy_finance_data.json index edb1f929..bad644f9 100644 --- a/mod-finance/schemas/fy_finance_data.json +++ b/mod-finance/schemas/fy_finance_data.json @@ -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" @@ -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": [