mirror of
https://github.com/harivansh-afk/betterNAS.git
synced 2026-04-15 18:01:26 +00:00
Split node enrollment from export sync and issue Finder-compatible DAV credentials so the stack proves the real backend seam before any web UI consumes it.
38 lines
701 B
JSON
38 lines
701 B
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://betternas.local/schemas/mount-profile.schema.json",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"id",
|
|
"exportId",
|
|
"protocol",
|
|
"displayName",
|
|
"mountUrl",
|
|
"readonly",
|
|
"credential"
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"type": "string"
|
|
},
|
|
"exportId": {
|
|
"type": "string"
|
|
},
|
|
"protocol": {
|
|
"const": "webdav"
|
|
},
|
|
"displayName": {
|
|
"type": "string"
|
|
},
|
|
"mountUrl": {
|
|
"type": "string"
|
|
},
|
|
"readonly": {
|
|
"type": "boolean"
|
|
},
|
|
"credential": {
|
|
"$ref": "./mount-credential.schema.json"
|
|
}
|
|
}
|
|
}
|