Skip to content
This repository has been archived by the owner on May 27, 2023. It is now read-only.

Commit

Permalink
added receiver spec into the wms_items_in schema
Browse files Browse the repository at this point in the history
  • Loading branch information
source-c committed Apr 13, 2020
1 parent 18dc921 commit 66cc67c
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions adoc/wms_aaS/json-schema/wms_items_in.json
Original file line number Diff line number Diff line change
Expand Up @@ -525,6 +525,42 @@
"sender": {
"$ref": "#/definitions/uuid"
},
"recevier_spec": {
"anyOf": [
{
"type": "null"
},
{
"type": "object",
"required": [
"first_name",
"last_name",
"phone"
],
"properties": {
"first_name": {
"type": "string",
"description": "First name of person | Legal entitity name"
},
"last_name": {
"type": "string",
"description": "Last name of person | Business unit structure"
},
"phone": {
"type": "string",
"description": "Receiver phone number",
"pattern": "^[0-9]{12}$"
},
"reg_id": {
"type": "string",
"description": "State register number for legal entity",
"pattern": "^[^ ]{6,64}$"
}
},
"additionalProperties": false
}
]
},
"address_id": {
"$ref": "#/definitions/uuid"
},
Expand Down

0 comments on commit 66cc67c

Please sign in to comment.