Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MODORDERS-966] - Add description to acq unit dto schema #438

Merged
merged 1 commit into from
Nov 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions acquisitions-unit/examples/acquisitions_unit_get.sample
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"id": "7ec2ed06-0504-40dc-bc53-7515955ff0cb",
"name": "main",
"description": "main desc",
"isDeleted": false,
"protectCreate": true,
"protectRead": false,
Expand Down
1 change: 1 addition & 0 deletions acquisitions-unit/examples/acquisitions_unit_post.sample
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "main",
"description": "main desc",
"isDeleted": false,
"protectCreate": true,
"protectRead": false,
Expand Down
4 changes: 4 additions & 0 deletions acquisitions-unit/schemas/acquisitions_unit.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
"description": "a name for this acquisitions unit",
"type": "string"
},
"description": {
"description": "The description of this acq unit",
"type": "string"
},
"isDeleted": {
"description": "If true, the record is marked for deletion at some point. This prevents it from being assigned to any record.",
"type": "boolean",
Expand Down
4 changes: 2 additions & 2 deletions mod-orgs/examples/banking_information_collection.sample
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"id": "c59680de-3e0e-46d6-a0a1-62528e8e92ae",
"organizationId": "fde0af0b-9735-45c9-b9cb-3f3ee989bba9",
"addressId": "3501d066-76b1-4260-9db3-44699d40a18e",
"categoryId": "3501d066-76b1-4260-9db3-44699d40a18e",
"accountTypeId": "6a901d4c-4bea-47a4-8020-fac364a6c41a",
"bankName": "TRC",
"bankAccountNumber": "123456",
Expand All @@ -18,7 +18,7 @@
{
"id": "b6f4aba8-fe60-43f4-bd7b-2ce60bb0f60b",
"organizationId": "1efbd4e0-748c-465a-82fc-8ce520f849ac",
"addressId": "e248a371-599c-4870-8f3c-b5f5aee06de8",
"categoryId": "e248a371-599c-4870-8f3c-b5f5aee06de8",
"accountTypeId": "076efbe9-eaa8-4991-92dc-dc95728bd8eb",
"bankName": "GOR",
"bankAccountNumber": "56789",
Expand Down
2 changes: 1 addition & 1 deletion mod-orgs/examples/banking_information_get.sample
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "c59680de-3e0e-46d6-a0a1-62528e8e92ae",
"organizationId": "fde0af0b-9735-45c9-b9cb-3f3ee989bba9",
"addressId": "3501d066-76b1-4260-9db3-44699d40a18e",
"categoryId": "3501d066-76b1-4260-9db3-44699d40a18e",
"accountTypeId": "6a901d4c-4bea-47a4-8020-fac364a6c41a",
"bankName": "TRC",
"bankAccountNumber": "123456",
Expand Down
2 changes: 1 addition & 1 deletion mod-orgs/examples/banking_information_post.sample
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"organizationId": "fde0af0b-9735-45c9-b9cb-3f3ee989bba9",
"addressId": "3501d066-76b1-4260-9db3-44699d40a18e",
"categoryId": "3501d066-76b1-4260-9db3-44699d40a18e",
"accountTypeId": "6a901d4c-4bea-47a4-8020-fac364a6c41a",
"bankName": "TRC",
"bankAccountNumber": "123456",
Expand Down
4 changes: 2 additions & 2 deletions mod-orgs/schemas/banking_information.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"description": "The unique id of organization",
"$ref": "../../common/schemas/uuid.json"
},
"addressId": {
"description": "The unique id of address",
"categoryId": {
"description": "The unique id of category",
"$ref": "../../common/schemas/uuid.json"
},
"accountTypeId": {
Expand Down