Skip to content

Commit

Permalink
Add CheckBox feature (option-A)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandeep Parab committed Mar 25, 2020
1 parent 6475991 commit 29d4b26
Showing 1 changed file with 43 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1481,7 +1481,14 @@
"items": {
"$ref": "#/definitions/DataTable"
}
}
},
"checkboxes": {
"description": "List of checkboxes extracted from the page.",
"type": "array",
"items": {
"$ref": "#/definitions/Checkbox"
}
}
}
},
"KeyValuePair": {
Expand Down Expand Up @@ -1518,6 +1525,9 @@
"text"
],
"properties": {
"type": {
"$ref": "#/definitions/KeyValueType"

This comment has been minimized.

Copy link
@bojunehsu

bojunehsu Mar 30, 2020

This is not defined. Do we really need this?

This comment has been minimized.

Copy link
@ramparab

ramparab Jun 17, 2020

Owner

this is now addressed.

},
"text": {
"description": "The text content of the key or value.",
"type": "string"
Expand All @@ -1539,6 +1549,38 @@
"description": "Reference to a line or word.",
"type": "string"
},
"Checkbox": {
"description": "Information about the extracted checkbox contained in a page.",
"type": "object",
"required": [
"boundingBox",
"confidence",
"checkboxState"
],
"properties": {
"boundingBox": {
"description": "Bounding box of the checkbox.",
"$ref": "#/definitions/BoundingBox"
},
"confidence": {
"description": "Confidence value.",
"$ref": "#/definitions/Confidence"
},
"checkboxState": {
"type": "string",
"description": "Is the current checkbox checked?",
"enum": [
"checked",
"unchecked"
],
"x-ms-enum": {
"name": "FieldValueType",
"modelAsString": false
},
"x-nullable": false
}
}
},
"DataTable": {
"description": "Information about the extracted table contained in a page.",
"type": "object",
Expand Down

0 comments on commit 29d4b26

Please sign in to comment.