Skip to content

Commit a33e82f

Browse files
authored
Merge pull request #1000 from Jagannath-Padhy/draft-RETeB2B
added on_update validation
2 parents c0b5e04 + 7130bfb commit a33e82f

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

api-service/src/config/build.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2055,6 +2055,8 @@ components:
20552055
additionalProperties: false
20562056
type: object
20572057
properties:
2058+
agent:
2059+
$ref: '#/components/schemas/Agent'
20582060
location:
20592061
$ref: '#/components/schemas/FulfillmentLocation'
20602062
time:
@@ -2071,6 +2073,8 @@ components:
20712073
type: array
20722074
items:
20732075
$ref: '#/components/schemas/TagGroup'
2076+
time:
2077+
$ref: '#/components/schemas/Time'
20742078
required:
20752079
- id
20762080
- type
@@ -106764,6 +106768,9 @@ x-validations:
106764106768
- _NAME_: FULFILLMENTS_ID
106765106769
attr: "$.message.order.fulfillments[*].id"
106766106770
_RETURN_: attr are present
106771+
- _NAME_: FULFILLMENTS_TIME_TIMESTAMP
106772+
attr: "$.message.order.fulfillments[*].time.timestamp"
106773+
_RETURN_: attr are present
106767106774
- _NAME_: FULFILLMENTS_TYPE
106768106775
attr: "$.message.order.fulfillments[*].type"
106769106776
_RETURN_: attr are present
@@ -106774,6 +106781,15 @@ x-validations:
106774106781
var_enum: ["text/plain", "text/html"]
106775106782
_CONTINUE_: "!(attr are present)"
106776106783
_RETURN_: attr are present
106784+
- _NAME_: FULFILLMENTS_END_AGENT_NAME
106785+
attr: "$.message.order.fulfillments[*].end.agent.name"
106786+
_CONTINUE_: "!(attr are present)"
106787+
_RETURN_: attr are present
106788+
- _NAME_: FULFILLMENTS_END_AGENT_EMAIL
106789+
attr: "$.message.order.fulfillments[*].end.agent.email"
106790+
_CONTINUE_: "!(attr are present)"
106791+
_RETURN_: attr are present
106792+
106777106793
- _NAME_: FULFILLMENTS_TAGS
106778106794
_RETURN_:
106779106795
- _NAME_: TAGS_RETURN_REQUEST

0 commit comments

Comments
 (0)