Commit 8d0915bd authored by Siebers, Michael's avatar Siebers, Michael
Browse files

refined JSON schema for type path

parent 3a6372ce
......@@ -13,7 +13,7 @@
"properties": {
"abs_path": {
"description": "The path of the irrelevant file this explanation is for.",
"$ref": "type-abs_path-schema.json"
"$ref": "type-path-schema.json"
},
"reasoning": {
"description": "The top-view reason why the file is irrelevant.",
......@@ -43,7 +43,7 @@
"properties": {
"abs_path": {
"description": "The absolute path of the referenced item.",
"$ref": "type-abs_path-schema.json"
"$ref": "type-path-schema.json"
},
"property": {
"description": "The real-world property of the item that is references, like it's 'name' or its 'size'.",
......
......@@ -9,10 +9,8 @@
"type": "string",
"pattern": "directory"
},
"abs_path": {
"type": "string",
"description": "The unique identifier as absolute path",
"minLength": 1
"abs_path": { "description": "The unique identifier as absolute path",
"$ref": "type-path-schema.json"
},
"creation_time": {
"type": "integer",
......
......@@ -10,9 +10,8 @@
"pattern": "file"
},
"abs_path": {
"type": "string",
"description": "The unique identifier as absolute path",
"minLength": 0
"$ref": "type-path-schema.json"
},
"file_size": {
"type": "integer",
......
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "type-abs_path-schema.json",
"$id": "type-path-schema.json",
"title": "Absolute Path",
"description": "An absolute path.",
"type": "string",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment