Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cogsys
Dare2Del
Demonstrator - Reasoning WebAPI
Commits
8d0915bd
Commit
8d0915bd
authored
Jun 11, 2021
by
Siebers, Michael
Browse files
refined JSON schema for type path
parent
3a6372ce
Changes
4
Hide whitespace changes
Inline
Side-by-side
doc/schema/response-explain-schema.json
View file @
8d0915bd
...
...
@@ -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'."
,
...
...
doc/schema/type-directory-schema.json
View file @
8d0915bd
...
...
@@ -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"
,
...
...
doc/schema/type-file-schema.json
View file @
8d0915bd
...
...
@@ -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"
,
...
...
doc/schema/type-
abs_
path-schema.json
→
doc/schema/type-path-schema.json
View file @
8d0915bd
{
"$schema"
:
"http://json-schema.org/draft-07/schema"
,
"$id"
:
"type-
abs_
path-schema.json"
,
"$schema"
:
"http://json-schema.org/draft-07/schema"
,
"$id"
:
"type-path-schema.json"
,
"title"
:
"Absolute Path"
,
"description"
:
"An absolute path."
,
"type"
:
"string"
,
"type"
:
"string"
,
"pattern"
:
"^(/|.*[^/])$"
}
\ No newline at end of file
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment