Skip to content

Commit

Permalink
Merge branch 'master' into MODFISTO-133
Browse files Browse the repository at this point in the history
  • Loading branch information
azizbekxm authored Nov 3, 2023
2 parents 0afdf1b + 4e5a876 commit efe9024
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mod-finance/examples/fund.sample
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@
"d926d900-e27d-46d6-bba8-31e9d5c2cf44",
"077274ad-6b4f-4c28-9779-6d381e7a1ca1"
],
"locationIds": [
"eb2d063a-5b4c-4cab-8db1-5fc5c5941df6",
"fcd64ce1-6995-48f0-840e-89ffa2288371"
],
"tags": {
"tagList": [
"tag"
Expand Down
4 changes: 4 additions & 0 deletions mod-finance/examples/fund_collection.sample
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@
"d926d900-e27d-46d6-bba8-31e9d5c2cf44",
"077274ad-6b4f-4c28-9779-6d381e7a1ca1"
],
"locationIds": [
"eb2d063a-5b4c-4cab-8db1-5fc5c5941df6",
"fcd64ce1-6995-48f0-840e-89ffa2288371"
],
"tags": {
"tagList": [
"tag"
Expand Down
4 changes: 4 additions & 0 deletions mod-finance/examples/fund_details.sample
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,9 @@
"donorOrganizationIds": [
"d926d900-e27d-46d6-bba8-31e9d5c2cf44",
"077274ad-6b4f-4c28-9779-6d381e7a1ca1"
],
"locationIds": [
"eb2d063a-5b4c-4cab-8db1-5fc5c5941df6",
"fcd64ce1-6995-48f0-840e-89ffa2288371"
]
}
8 changes: 8 additions & 0 deletions mod-finance/schemas/fund.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,14 @@
"$ref": "../../common/schemas/uuid.json"
}
},
"locationIds": {
"description": "location ids associated with this fund",
"type": "array",
"items": {
"description": "UUID of an location record",
"$ref": "../../common/schemas/uuid.json"
}
},
"tags": {
"type" : "object",
"description": "arbitrary tags associated with this fund",
Expand Down
16 changes: 16 additions & 0 deletions mod-finance/schemas/fund_details.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,22 @@
"$ref": "../../common/schemas/uuid.json"
}
},
"donorOrganizationIds": {
"description": "donor organization ids associated with this fund",
"type": "array",
"items": {
"description": "UUID of an donor organization record",
"$ref": "../../common/schemas/uuid.json"
}
},
"locationIds": {
"description": "location ids associated with this fund",
"type": "array",
"items": {
"description": "UUID of an location record",
"$ref": "../../common/schemas/uuid.json"
}
},
"allocatedFromIds": {
"description": "All the funds ids that this fund is allowed to receive money from. This would be 1 fund or none. If this field is blank their is no restriction on allocating to this fund",
"type": "array",
Expand Down

0 comments on commit efe9024

Please sign in to comment.