-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Khamidulla Abdulkhakimov
authored and
Khamidulla Abdulkhakimov
committed
Jan 18, 2024
1 parent
4aab2ae
commit f29e008
Showing
2 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"pieces": ["c6a7f2d7-8c11-4f7e-9a86-1b4a6f21de3c", "e2b1d88b-3c4d-4c1d-b71f-8d2d9c5f68a1"], | ||
"receivingStatus": "Claim sent", | ||
"claimingInterval": 7, | ||
"internalNote": "This piece requires further inspection.", | ||
"externalNote": "Please be aware of the inspection delay for the specified pieces." | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"description": "Patch piece request", | ||
"type": "object", | ||
"properties": { | ||
"pieces": { | ||
"description": "An array of piece record IDs", | ||
"type": "array", | ||
"items": { | ||
"description": "UUID of an piece record", | ||
"$ref": "../../common/schemas/uuid.json" | ||
}, | ||
"uniqueItems": true | ||
}, | ||
"receivingStatus": { | ||
"description": "The status to be applied to the specified pieces", | ||
"type": "string", | ||
"enum": [ | ||
"Received", | ||
"Expected", | ||
"Late", | ||
"Claim delayed", | ||
"Claim sent", | ||
"Unreceivable" | ||
] | ||
}, | ||
"claimingInterval": { | ||
"description": "Time interval (in days) for processing claims related to this piece", | ||
"type": ["integer", "null"] | ||
}, | ||
"internalNote": { | ||
"description": "Internal note for Send Claim action", | ||
"type": ["string", "null"] | ||
}, | ||
"externalNote": { | ||
"description": "External note for Send Claim action to share with Vendor", | ||
"type": ["string", "null"] | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"required": [ | ||
"pieces", | ||
"receivingStatus" | ||
] | ||
} |