OCR-D / spec

Specification of the @OCR-D technical architecture, interface definitions and data exchange format(s)
https://ocr-d.de/en/spec/
17 stars 5 forks source link

ocrd-tool.json: allow more fine-grained parameter descriptions #206

Closed kba closed 2 years ago

kba commented 2 years ago

cf. OCR-D/core#848

Allows processor developers to describe numerical, object and array parameters in more detail.

Drops the pattern on input/output file groups since the naming convention is a SHOULD not a MUST.

kba commented 2 years ago

Will these be validated automatically by any chance?

Yes, the OcrdToolValidator now allows those additional properties and the ParameterValidator only maps those required properties of the individual parameters to the parameter-level required list, otherwise the descriptions are passed directly into the JSON-Schema validation.