summaryrefslogtreecommitdiffstats
path: root/browser/components/pagedata/schemas/document.schema.json
diff options
context:
space:
mode:
Diffstat (limited to 'browser/components/pagedata/schemas/document.schema.json')
-rw-r--r--browser/components/pagedata/schemas/document.schema.json18
1 files changed, 18 insertions, 0 deletions
diff --git a/browser/components/pagedata/schemas/document.schema.json b/browser/components/pagedata/schemas/document.schema.json
new file mode 100644
index 0000000000..849010773b
--- /dev/null
+++ b/browser/components/pagedata/schemas/document.schema.json
@@ -0,0 +1,18 @@
+{
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "$id": "document.schema.json",
+ "title": "Document",
+ "description": "A document of some kind, either viewable or editable",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "The document's name",
+ "type": "string"
+ },
+ "mimeType": {
+ "description": "The document's mimetype",
+ "type": "string"
+ }
+ },
+ "required": ["name"]
+}