-
Notifications
You must be signed in to change notification settings - Fork 12
/
mountpoint.schema.json
1 lines (1 loc) · 1.45 KB
/
mountpoint.schema.json
1
{"meta:license":["Copyright 2019 Adobe. All rights reserved.","This file is licensed to you under the Apache License, Version 2.0 (the \"License\");","you may not use this file except in compliance with the License. You may obtain a copy","of the License at http://www.apache.org/licenses/LICENSE-2.0","","Unless required by applicable law or agreed to in writing, software distributed under","the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS","OF ANY KIND, either express or implied. See the License for the specific language","governing permissions and limitations under the License."],"$id":"https://ns.adobe.com/helix/shared/mountpoint","$schema":"http://json-schema.org/draft-07/schema#","title":"Mount Point","description":"Defines the target URL where content should be retrieved from.","oneOf":[{"type":"string","format":"uri"},{"type":"object","required":["url"],"properties":{"url":{"type":"string","format":"uri"},"fallbackPath":{"type":"string","description":"Specifies the fallback path if the requested item cannot be found. The fallback path is relative to the basepath of the item originally requested, so if the requested item is `/foo/bar.md` and the `fallbackPath` is `baz.md`, then `/foo/baz.md` will be the fallback item. "},"credentials":{"type":"array","description":"encrypted credentials.","items":{"type":"string"}},"tenantId":{"type":"string","description":"Onedrive tenant id. If missing, it is computed from url."}}}]}