-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add versions of venvironment(-basic) schema missing from last update (#…
- Loading branch information
1 parent
d77c05d
commit 9c188ae
Showing
12 changed files
with
33,383 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,198 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"$id": "https://json.schemastore.org/venvironment-basic-schema-v1.0.0.json", | ||
"$ref": "#/definitions/e0721/full", | ||
"type": "object", | ||
"title": "venvironment-basic schema", | ||
"definitions": { | ||
"e0721": { | ||
"full": { | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "venvironment-basic schema", | ||
"type": "object", | ||
"additionalProperties": false, | ||
"required": ["version"], | ||
"properties": { | ||
"version": { | ||
"$ref": "#/definitions/ac6e5/full" | ||
}, | ||
"includes": { | ||
"$ref": "#/definitions/6c391/full" | ||
}, | ||
"datasources": { | ||
"$ref": "#/definitions/63f09/full" | ||
}, | ||
"system-variables": { | ||
"$ref": "#/definitions/b6d06/full" | ||
} | ||
} | ||
} | ||
}, | ||
"ac6e5": { | ||
"full": { | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "Version", | ||
"description": "Json schema version for the vEnvironment-Basic configuration file. Acceptance criteria: equal major version, less/equal minor and patch version.", | ||
"const": "1.0.0", | ||
"type": "string", | ||
"examples": ["1.0.0"] | ||
} | ||
}, | ||
"b6d06": { | ||
"full": { | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "System Variables", | ||
"description": "A lists of system variables to be used by the simulation.", | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/definitions/9f6ed/full" | ||
}, | ||
"examples": [ | ||
[ | ||
{ | ||
"file-path": "path/to/my.vsysvar" | ||
} | ||
] | ||
] | ||
} | ||
}, | ||
"6c391": { | ||
"local": { | ||
"one": { | ||
"type": "string", | ||
"pattern": "\\.([Yy][Aa][Mm][Ll]|[Jj][Ss][Oo][Nn])$" | ||
} | ||
}, | ||
"full": { | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "Include files", | ||
"description": "Include a different file (similar to #include of the c preprocessor). The order of includes does not matter. Circular / multiple includes are resolved correctly.", | ||
"oneOf": [ | ||
{ | ||
"$ref": "#/definitions/6c391/local/one" | ||
}, | ||
{ | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/definitions/6c391/local/one" | ||
} | ||
} | ||
], | ||
"examples": [ | ||
"my_include.yaml", | ||
["my_include.yaml", "my_other_include.json"] | ||
] | ||
} | ||
}, | ||
"63f09": { | ||
"full": { | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "Datasources", | ||
"description": "The definition of datasources used by application models.", | ||
"type": "object", | ||
"additionalProperties": false, | ||
"properties": { | ||
"input-files": { | ||
"type": "array", | ||
"items": { | ||
"type": "object", | ||
"additionalProperties": false, | ||
"required": ["file-path"], | ||
"properties": { | ||
"file-path": { | ||
"$ref": "#/definitions/59271/full" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"examples": [ | ||
{ | ||
"input-files": [ | ||
{ | ||
"file-path": "path/to/my.vcdl" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
}, | ||
"59271": { | ||
"full": { | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"anyOf": [ | ||
{ | ||
"$ref": "#/definitions/1440f/full" | ||
}, | ||
{ | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/definitions/1440f/full" | ||
}, | ||
"examples": [["path/to/my.vcdl"], ["path/to/my.vcodm"]] | ||
} | ||
], | ||
"examples": ["path/to/my.vcdl", ["path/to/my.vcodm"]] | ||
} | ||
}, | ||
"9f6ed": { | ||
"full": { | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "System variables", | ||
"description": "Absolute or relative path to an external file containing system variables. Relative path specifications are resolved relative to the defining configuration file.", | ||
"type": "object", | ||
"additionalProperties": false, | ||
"required": ["file-path"], | ||
"properties": { | ||
"file-path": { | ||
"anyOf": [ | ||
{ | ||
"$ref": "#/definitions/94751/full" | ||
}, | ||
{ | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/definitions/94751/full" | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
"examples": [ | ||
{ | ||
"file-path": "path/to/my.vsysvar" | ||
} | ||
] | ||
} | ||
}, | ||
"1440f": { | ||
"full": { | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"description": "Reference to external datasource files (.vcdl/.vcodm). Absolute or relative path. Relative path specifications are resolved relative to the defining configuration file.", | ||
"type": "string", | ||
"anyOf": [ | ||
{ | ||
"pattern": "^.*\\.[vV][cC][dD][lL]$" | ||
}, | ||
{ | ||
"pattern": "^.*\\.[vV][cC][oO][dD][mM]$" | ||
} | ||
], | ||
"examples": ["path/to/my.vcdl", "path/to/my.vcodm"] | ||
} | ||
}, | ||
"94751": { | ||
"full": { | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"description": "Absolute or relative path to a vsysvar file. Relative path specifications are resolved relative to the configuration file.", | ||
"type": "string", | ||
"anyOf": [ | ||
{ | ||
"pattern": "^.*\\.[vV][sS][yY][sS][vV][aA][rR]$" | ||
} | ||
], | ||
"examples": ["path/to/my.vsysvar"] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.