Adjusted the json schema

This commit is contained in:
Prarup Gurung
2024-05-14 16:24:13 +05:45
parent 35f3018d11
commit 0bf53eb0ba

View File

@@ -4857,19 +4857,10 @@ Feature: an user gets the resources shared to them
""" """
{ {
"type": "object", "type": "object",
"required": ["hidden", "mount_point"], "required": ["@UI.Hidden"],
"properties": { "properties": {
"hidden": { "@UI.Hidden": {
"const": true "const": true
},
"mount_point": {
"type": "object",
"required": ["path"],
"properties": {
"path": {
"const": "<resource>"
}
}
} }
} }
} }
@@ -4898,19 +4889,10 @@ Feature: an user gets the resources shared to them
""" """
{ {
"type": "object", "type": "object",
"required": ["hidden", "mount_point"], "required": ["@UI.Hidden"],
"properties": { "properties": {
"hidden": { "@UI.Hidden": {
"const": true "const": true
},
"mount_point": {
"type": "object",
"required": ["path"],
"properties": {
"path": {
"const": "<resource>"
}
}
} }
} }
} }