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