Data Object
To determine the structure of the properties that saves the data acquired from the document, we have develop the schema Data Object. This schema defines an object that contains two properties. These properties are:
- value: Property that stores the specific data.
- confidence: Property that reflects us the level of confidence that has been granted to the data.
With refence to the property value , we would like to highlight that It can be any type of value : string, number, boolean, Date , Object, ... . The property confidence only accepts values of type number.
Next, we are going to show several examples of propreties defined by the model Data Object.
"currency": {
"value": "EUR",
"confidence": 0.8
},
"totalTaxBaseAmount": {
"value": 275.99,
"confidence": 1
},
"period": {
"value": [
"2019-03-01T12:00:00.000Z",
"2019-03-31T12:00:00.000Z"
],
"confidence": 1
},
Updated 4 months ago