summaryrefslogtreecommitdiffstats
path: root/test/schemas/negative_test/galaxy_1/galaxy.yml.md
diff options
context:
space:
mode:
Diffstat (limited to 'test/schemas/negative_test/galaxy_1/galaxy.yml.md')
-rw-r--r--test/schemas/negative_test/galaxy_1/galaxy.yml.md34
1 files changed, 34 insertions, 0 deletions
diff --git a/test/schemas/negative_test/galaxy_1/galaxy.yml.md b/test/schemas/negative_test/galaxy_1/galaxy.yml.md
new file mode 100644
index 0000000..bbb79ec
--- /dev/null
+++ b/test/schemas/negative_test/galaxy_1/galaxy.yml.md
@@ -0,0 +1,34 @@
+# ajv errors
+
+```json
+[
+ {
+ "instancePath": "/manifest",
+ "keyword": "additionalProperties",
+ "message": "must NOT have additional properties",
+ "params": {
+ "additionalProperty": "directive"
+ },
+ "schemaPath": "#/properties/manifest/additionalProperties"
+ }
+]
+```
+
+# check-jsonschema
+
+stdout:
+
+```json
+{
+ "status": "fail",
+ "errors": [
+ {
+ "filename": "negative_test/galaxy_1/galaxy.yml",
+ "path": "$.manifest",
+ "message": "Additional properties are not allowed ('directive' was unexpected)",
+ "has_sub_errors": false
+ }
+ ],
+ "parse_errors": []
+}
+```