Skip to content

Commit

Permalink
[MODORDERS-944/MODORDERS-948/MODFIN-333] BE - Added donor info to Fun…
Browse files Browse the repository at this point in the history
…d, POL and added new receiving statuses for piece to schema
  • Loading branch information
azizbekxm committed Oct 19, 2023
1 parent 08bbc65 commit e917d90
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 1 deletion.
8 changes: 8 additions & 0 deletions mod-finance/schemas/fund.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,14 @@
"$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"
}
},
"tags": {
"type" : "object",
"description": "arbitrary tags associated with this fund",
Expand Down
6 changes: 5 additions & 1 deletion mod-orders-storage/schemas/piece.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,11 @@
"type": "string",
"enum": [
"Received",
"Expected"
"Expected",
"Late",
"Claim delayed",
"Claim sent",
"Unreceivable"
],
"default": "Expected"
},
Expand Down
8 changes: 8 additions & 0 deletions mod-orders-storage/schemas/po_line.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,14 @@
"description": "the donor contributing to this purchase order line",
"type": "string"
},
"donorOrganizationIds": {
"description": "donor organization ids associated with this fund",
"type": "array",
"items": {
"description": "UUID of an donor organization record",
"$ref": "../../common/schemas/uuid.json"
}
},
"eresource": {
"description": "eresource record",
"type": "object",
Expand Down
8 changes: 8 additions & 0 deletions mod-orders/schemas/composite_po_line.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,14 @@
"description": "the donor contributing to this purchase order line",
"type": "string"
},
"donorOrganizationIds": {
"description": "donor organization ids associated with this fund",
"type": "array",
"items": {
"description": "UUID of an donor organization record",
"$ref": "../../common/schemas/uuid.json"
}
},
"eresource": {
"description": "eresource-related details of this purchase order line",
"type": "object",
Expand Down

0 comments on commit e917d90

Please sign in to comment.