Data models
Data models common fields
Field | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
_id | String | Database id of the document | ||||||||||||
_id_web | String | Short id of the document (aka web id) | ||||||||||||
_meta | Object | Meta data about the document
| ||||||||||||
_acl | Object | Access Control List data
|
NOTE: Due to backward compatibility with the older versions of the elDoc system some data models may have first-level property names used in lower-case
DocForm data model
DocForm data model represents documents in the system
Field | Type | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| String | See the common fields table | ||||||||||||||||
| String | See the common fields table | ||||||||||||||||
| Object | See the common fields table | ||||||||||||||||
| Object | See the common fields table | ||||||||||||||||
| Object | List of document templates | ||||||||||||||||
| Integer | Indicates document process phase
| ||||||||||||||||
| Integer | Indicates document step on the phase where step=0 is always an initiator step Recognition Document has the following standard steps:
| ||||||||||||||||
| Integer | Indicates document status
| ||||||||||||||||
| Integer | Indicates document iteration on the phase, starts from 1 for 1st iteration, incremented by 1 on each document sending to re-work | ||||||||||||||||
| String | Id of the document author (user account which created the document) | ||||||||||||||||
| String | Id of the actual account which acted on behalf of the stated author | ||||||||||||||||
| String | Short id of the Document Form (equals to the _id_web of the respective SysForm data model, e.g.: fd1, fd12, frd1) | ||||||||||||||||
| Integer | Document form system type: 0 - static, 1 - dynamic | ||||||||||||||||
| String | Id of the of the document process definition data model (_id of the SysProcess data model) | ||||||||||||||||
| Object | Standard Fields definition data | ||||||||||||||||
| Object | Custom Fields definition data | ||||||||||||||||
| - | Custom Field value (where XXX is index of the field in the cfdata.customFields array starting with 0). Data type defined by Custom Fields definition data | ||||||||||||||||
| String/Array | List of references to other document ids | ||||||||||||||||
| String | Name of the document form | ||||||||||||||||
| String | Document number | ||||||||||||||||
| String | Document subject | ||||||||||||||||
| String | Document description | ||||||||||||||||
| Date | Date document was created | ||||||||||||||||
| Date | Date due | ||||||||||||||||
| Date | Date document was moved to the current phase | ||||||||||||||||
| Date | Date document was archived |
RecoData data model
RecoData data model represents recognition data retrieved during IDP cycle. RecoData models are accessed as embedded fields of the respective DocForm data model (of the Recognition Document form only).
Field | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| String | See the common fields table | ||||||||||||
| Object | See the common fields table | ||||||||||||
| Array | Custom fields defenition | ||||||||||||
| Object | Custom fields values | ||||||||||||
| String | Referenced DocForm | ||||||||||||
| Integer | Start page indexes (inclusive) | ||||||||||||
| Integer | End page indexes (inclusive) | ||||||||||||
| Boolean | Property shows whether values were validated (either 1: auto based on confidence levels or 2: manually via UI by end-user) | ||||||||||||
| Object | RecoForm object which is confirmed by either auto-validation or manual-validation step. Its value represents the RecoForm selected by user during manual-validation step, whereas recoData.recoResult.recoForm always remains unchanged.
| ||||||||||||
| Object (Embeddable) | Recognition result identified for the given document
|
DocResponse data model
DocResponse data model represents document actions of the document process participants.
Field | Type | Description |
---|---|---|
| String | See the common fields table |
| Object | See the common fields table |
| String | Id of the DocForm model to which this DocResponse belongs to |
| String | Id of the action author (user account which created the document) |
| String | Id of the actual account which acted on behalf of the stated author |
| Integer | Indicates document process phase |
| Integer | Indicates document step on the phase where step=0 is always an initiator step |
| Integer | Indicates document iteration on the phase, starts from 1 for 1st iteration, incremented by 1 on each document sending to re-work |
| Integer | Indicates document status |
| Integer | Action status |
| String | Resolution id |
| String | Id of the account to which resolution was given |
| String/array | List of references to other document ids |
| String | Action description |
Last modified: August 13, 2021