Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SP-17577: Add rfid models #189

Merged
merged 1 commit into from
Sep 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
79 changes: 79 additions & 0 deletions rt-text-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,85 @@ components:
$ref: "#/components/schemas/DocVisualExtendedInfo"
- $ref: "./rt.yml#/components/schemas/ResultItem"

RawDataResult:
type: object
title: "Raw Data"
description: ""
properties:
nFields:
type: integer
description: "Count of array fields"
pArrayFields:
type: array
description: ""
items:
$ref: "#/components/schemas/TBinaryData"

BinaryDataResult:
type: object
title: "Binary Data"
description: ""
properties:
nFields:
type: integer
description: "Count of array fields"
pArrayFields:
type: array
description: ""
items:
$ref: "#/components/schemas/TBinaryData"

OriginalGraphicsResult:
type: object
title: "Graphic Data"
description: ""
properties:
nFields:
type: integer
description: "Count of array fields"
pArrayFields:
type: array
description: ""
items:
$ref: "#/components/schemas/TOriginalRFIDGraphics"

TOriginalRFIDGraphics:
type: object
description: ""
properties:
FieldType:
type: integer
GraphicsType:
type: integer
RFID_OriginDG:
type: integer
RFID_OriginDGTag:
type: integer
RFID_OriginTagEntry:
type: integer
RFID_OriginEntryView:
type: integer
Buf_Length:
type: integer
Buffer:
type: string
format: byte

TBinaryData:
type: object
description: "Container for extracted text fields. Fields are identified by type and language"
properties:
FieldType:
type: integer
FieldName:
type: string
Buf_Length:
type: integer
Buffer:
type: string
format: byte


DocVisualExtendedInfo:
type: object
description: "Container for extracted text fields. Fields are identified by type and language"
Expand Down
15 changes: 15 additions & 0 deletions rt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,11 @@ components:
49: "EncryptedRCLResult"
50: "LicenseResult"
85: "DocumentPositionResult"
101: "RawDataResult"
102: "TextDataResult"
103: "GraphicsResult"
104: "BinaryDataResult"
105: "OriginalGraphicsResult"

ContainerList:
type: object
Expand Down Expand Up @@ -161,6 +164,9 @@ components:
- $ref: "#/components/schemas/DocBarCodeInfo"
- $ref: "#/components/schemas/LicenseResult"
- $ref: "#/components/schemas/EncryptedRCLResult"
- $ref: "#/components/schemas/RawDataResult"
- $ref: "#/components/schemas/BinaryDataResult"
- $ref: "#/components/schemas/OriginalGraphicsResult"

DocumentPositionResult:
$ref: "./rt-document-position.yml#/components/schemas/DocumentPositionResult"
Expand All @@ -183,6 +189,15 @@ components:
TextDataResult:
$ref: "./rt-text-data.yml#/components/schemas/TextDataResult"

RawDataResult:
$ref: "./rt-text-data.yml#/components/schemas/RawDataResult"

BinaryDataResult:
$ref: "./rt-text-data.yml#/components/schemas/BinaryDataResult"

OriginalGraphicsResult:
$ref: "./rt-text-data.yml#/components/schemas/OriginalGraphicsResult"

GraphicsResult:
$ref: "./rt-image-data.yml#/components/schemas/GraphicsResult"

Expand Down
Loading