Skip to content

Commit

Permalink
docs(mespapiers): Add doc for ocrAttributes parameter to config file
Browse files Browse the repository at this point in the history
  • Loading branch information
Merkur39 committed Dec 14, 2023
1 parent 2d95154 commit 56e2350
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions packages/cozy-mespapiers-lib/docs/papersDefinitions.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,22 @@

***

## The `ocrAttributes` property:

- `version`: {string} Version of the paper (e.g. "2020.01").
- `ìllustration`: {string} Illustration of the choice of format displayed to the user.
- `versionLabel`: {string} Translation key for the name of the format displayed to the user.
- `label`: {string} The discriminating label.
- `side`: {string} Side where the label is.
- `front`: {object} All the front panel parameters allowing you to find the information to use.
- `referenceRules`: {object\[]} Rules that allow you to define the version of a paper.
- `regex`: {string} Regex that will be tested to deduce the paper version. (e.g. "^\[A-Z]")
- `[flag]`: {string} Regex flag (e.g. "/gi")
- `[back]`: {object} All the front panel parameters allowing you to find the information to use.
- `referenceRules`: {object\[]} Rules that allow you to define the version of a paper.
- `regex`: {string} Regex that will be tested to deduce the paper version. (e.g. "^\[A-Z]")
- `[flag]`: {string} Regex flag (e.g. "/gi")

## Steps of the `acquisitionSteps` property:

- ### Step `scan`:
Expand Down

0 comments on commit 56e2350

Please sign in to comment.