Skip to content

Commit

Permalink
[MODORDERS-966] - Add description to acq unit dto schema
Browse files Browse the repository at this point in the history
  • Loading branch information
imerabishvili committed Nov 14, 2023
1 parent c63c5dc commit e4f6891
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 6 deletions.
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

0 comments on commit e4f6891

Please sign in to comment.