You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by ar...@apache.org on 2023/03/17 03:22:08 UTC

[daffodil-vscode] branch main updated: Add JSON Schema for infosetFormat choices of xml or json.

This is an automated email from the ASF dual-hosted git repository.

arosien pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/daffodil-vscode.git


The following commit(s) were added to refs/heads/main by this push:
     new 0abccbe  Add JSON Schema for infosetFormat choices of xml or json.
0abccbe is described below

commit 0abccbe8e167939926bb0ec94ffad8e2dc85ed51
Author: Adam Rosien <ad...@rosien.net>
AuthorDate: Thu Mar 16 11:27:04 2023 -0700

    Add JSON Schema for infosetFormat choices of xml or json.
    
    Part of #343.
---
 package.json | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package.json b/package.json
index 47b729a..59d59b5 100644
--- a/package.json
+++ b/package.json
@@ -345,6 +345,10 @@
               "infosetFormat": {
                 "type": "string",
                 "description": "Infoset format type (xml/json)",
+                "enum": [
+                  "xml",
+                  "json"
+                ],
                 "default": "xml"
               },
               "infosetOutput": {