summaryrefslogtreecommitdiff
path: root/tests/mime-detection/schema.json
diff options
context:
space:
mode:
authorAlex Henrie <alexhenrie24@gmail.com>2021-05-28 12:17:27 -0600
committerDavid Faure <faure@kde.org>2021-05-28 19:59:36 +0000
commit758bc44aea72ebde6e0819b48769e0fbb1f83eba (patch)
treee2999ab065ffdc2c21fe2b650c4da26ca7c6b5d4 /tests/mime-detection/schema.json
parent19ae0236be95b168d3049907cdd0c521f8dc45a3 (diff)
downloadshared-mime-info-758bc44aea72ebde6e0819b48769e0fbb1f83eba.tar.gz
application/schema+json: new type
JSON Schema files are distinguished from other JSON files by a "$schema" property which is typically at the beginning of the file. https://datatracker.ietf.org/doc/html/draft-bhutton-json-schema-00
Diffstat (limited to 'tests/mime-detection/schema.json')
-rw-r--r--tests/mime-detection/schema.json6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/mime-detection/schema.json b/tests/mime-detection/schema.json
new file mode 100644
index 00000000..5ee3ed6c
--- /dev/null
+++ b/tests/mime-detection/schema.json
@@ -0,0 +1,6 @@
+{
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "properties": {
+ "foo": {"type": "string"}
+ }
+}