From ad3721fab3f83d41db80912fb2e50291d18485fa Mon Sep 17 00:00:00 2001 From: Joshua Lucas Date: Tue, 10 Nov 2026 13:30:47 -0600 Subject: [PATCH] Add mapping file and definition file nodes to YAML schema. --- extensions/schema.yaml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/extensions/schema.yaml b/extensions/schema.yaml index 2af5597..ff232d9 100644 --- a/extensions/schema.yaml +++ b/extensions/schema.yaml @@ -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.