Add mapping file and definition file nodes to YAML schema.
This commit is contained in:
@@ -45,6 +45,8 @@ $defs:
|
|||||||
enum:
|
enum:
|
||||||
- mapping
|
- mapping
|
||||||
- regexmapping
|
- regexmapping
|
||||||
|
_file:
|
||||||
|
type: string
|
||||||
_default:
|
_default:
|
||||||
default: null
|
default: null
|
||||||
$ref: "#/$defs/scalar"
|
$ref: "#/$defs/scalar"
|
||||||
@@ -237,7 +239,7 @@ properties:
|
|||||||
default: ","
|
default: ","
|
||||||
extension:
|
extension:
|
||||||
$ref: "#/$defs/formatExtension"
|
$ref: "#/$defs/formatExtension"
|
||||||
# XML with options.
|
# XML (including XSY) with options.
|
||||||
- type: object
|
- type: object
|
||||||
required:
|
required:
|
||||||
- name
|
- name
|
||||||
@@ -247,7 +249,9 @@ properties:
|
|||||||
description: >-
|
description: >-
|
||||||
The file format used for storing the data handled by this
|
The file format used for storing the data handled by this
|
||||||
extension.
|
extension.
|
||||||
const: xml
|
enum:
|
||||||
|
- xml
|
||||||
|
- xsy # Remove when the Expander API is done.
|
||||||
extension:
|
extension:
|
||||||
$ref: "#/$defs/formatExtension"
|
$ref: "#/$defs/formatExtension"
|
||||||
importStylesheets:
|
importStylesheets:
|
||||||
@@ -266,6 +270,13 @@ properties:
|
|||||||
- type: array
|
- type: array
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
|
definitions:
|
||||||
|
description: Additional files to import definitions from.
|
||||||
|
oneOf:
|
||||||
|
- type: string
|
||||||
|
- type: array
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
import:
|
import:
|
||||||
description: >-
|
description: >-
|
||||||
Import configuration.
|
Import configuration.
|
||||||
|
|||||||
Reference in New Issue
Block a user