-
Notifications
You must be signed in to change notification settings - Fork 4
/
ocrd-tool.json
35 lines (35 loc) · 1.29 KB
/
ocrd-tool.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
"version": "0.1.3",
"git_url": "https://github.com/bertsky/workflow-configuration",
"tools": {
"ocrd-page-transform": {
"executable": "ocrd-page-transform",
"description": "apply arbitrary XSL transformation file for PAGE-XML",
"parameters": {
"xsl": {
"description": "File path of the XSL transformation script",
"type": "string",
"format": "uri",
"content-type": "text/xsl",
"required": true
},
"xslt-params": {
"description": "Assignment of XSL transformation parameter values, given as in `xmlstarlet` (which differentiates between `-s name=value` for literal `value` and `-p name=value` for XPath expression `value`), white-space separated.",
"type": "string",
"default": ""
},
"pretty-print": {
"description": "Reformat with line breaks and this many spaces of indentation after XSL transformation (unless zero).",
"type": "number",
"format": "integer",
"default": 0
},
"mimetype": {
"description": "MIME type to register the output files under (should correspond to `xsl` result)",
"type": "string",
"default": "application/vnd.prima.page+xml"
}
}
}
}
}