1 | {
|
2 | "$schema": "http://json-schema.org/draft-07/schema",
|
3 | "title": "Extract i18n Target",
|
4 | "description": "Extract i18n target options for Build Facade.",
|
5 | "type": "object",
|
6 | "properties": {
|
7 | "browserTarget": {
|
8 | "type": "string",
|
9 | "description": "A browser builder target to extract i18n messages in the format of `project:target[:configuration]`. You can also pass in more than one configuration name as a comma-separated list. Example: `project:target:production,staging`.",
|
10 | "pattern": "^[^:\\s]+:[^:\\s]+(:[^\\s]+)?$"
|
11 | },
|
12 | "format": {
|
13 | "type": "string",
|
14 | "description": "Output format for the generated file.",
|
15 | "default": "xlf",
|
16 | "enum": ["xmb", "xlf", "xlif", "xliff", "xlf2", "xliff2", "json", "arb", "legacy-migrate"]
|
17 | },
|
18 | "progress": {
|
19 | "type": "boolean",
|
20 | "description": "Log progress to the console.",
|
21 | "default": true
|
22 | },
|
23 | "outputPath": {
|
24 | "type": "string",
|
25 | "description": "Path where output will be placed."
|
26 | },
|
27 | "outFile": {
|
28 | "type": "string",
|
29 | "description": "Name of the file to output."
|
30 | }
|
31 | },
|
32 | "additionalProperties": false,
|
33 | "required": ["browserTarget"]
|
34 | }
|