Skip to content

Commit

Permalink
Merge pull request #147 from regulaforensics/SP-13678/Fixes
Browse files Browse the repository at this point in the history
SP-13678:  Feedback fixes
  • Loading branch information
GubinAlexander authored Feb 19, 2024
2 parents 973324a + 7bc453e commit 86090ea
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 6 deletions.
5 changes: 5 additions & 0 deletions common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,11 @@ components:
image:
$ref: "#/components/schemas/ImageBase64"

ImageTransactionData:
type: array
items:
$ref: './rt-images.yml#/components/schemas/ImagesFieldValue'

ImageBase64:
description: "Base64 encoded image"
type: string
Expand Down
44 changes: 38 additions & 6 deletions p-transaction.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,29 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/TransactionProcessGetResponse'
type: object
properties:
ChipPage:
$ref: "./common.yml#/components/schemas/RfidLocation"
ProcessingFinished:
$ref: "./p-process.yml#/components/schemas/ProcessingStatus"
ContainerList:
$ref: "./rt.yml#/components/schemas/ContainerList"
TransactionInfo:
$ref: "./p-process.yml#/components/schemas/TransactionInfo"
log:
description: "Base64 encoded transaction processing log"
type: string
passBackObject:
type: object
description: "Free-form object provided in request. See passBackObject property of ProcessRequest."
additionalProperties: true
morePagesAvailable:
type: integer
elapsedTime:
type: integer
description: "Time the document processing has taken, ms."

"400":
description: "Bad request. Check your input data."
"403":
Expand Down Expand Up @@ -150,18 +172,28 @@ components:
url:
description: "Image url"
type: string
images:
type: array
items:
$ref: "common.yml#/components/schemas/ImageData"

InData:
type: object
properties:
rfidSession:
type: object
properties:
url:
description: "Image url"
type: string
video:
description: "Video"
type: object
properties:
metadata:
type: object
additionalProperties: true
description: "A free-form object containing video's extended attributes."
url:
description: "Video url"
type: string
images:
type: array
items:
$ref: "common.yml#/components/schemas/ImageData"
$ref: "common.yml#/components/schemas/ImageTransactionData"

0 comments on commit 86090ea

Please sign in to comment.