Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 18 additions & 7 deletions sidekick/config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
"isBadge"
]
},
"additionalProperties": false
"additionalProperties": true
},
"sidekickSpecialView": {
"type": "object",
Expand All @@ -177,6 +177,10 @@
"/foo/**.json"
]
},
"title": {
"type": "string",
"description": "Title of the special view"
},
"viewer": {
"type": "string",
"description": "The URL of the special view. The resource path will be passed to it via 'path' parameter",
Expand All @@ -190,7 +194,7 @@
"path",
"viewer"
],
"additionalProperties": false
"additionalProperties": true
}
},
"title": "Sidekick Config",
Expand All @@ -206,12 +210,12 @@
},
"host": {
"type": "string",
"format": "idn-hostname",
"format": "hostname",
"description": "The host name of the production website (overrides cdn.prod.host)"
},
"liveHost": {
"type": "string",
"format": "idn-hostname",
"format": "hostname",
"description": "The host name of the live environment (overrides cdn.live.host, defaults to *.aem.live)"
},
"plugins": {
Expand All @@ -222,7 +226,7 @@
},
"previewHost": {
"type": "string",
"format": "idn-hostname",
"format": "hostname",
"description": "The host name of the preview environment (overrides cdn.preview.host, defaults to *.aem.page)"
},
"project": {
Expand All @@ -231,14 +235,21 @@
},
"reviewHost": {
"type": "string",
"format": "idn-hostname",
"format": "hostname",
"description": "The host name of the review environment (overrides cdn.review.host, defaults to *.aem.reviews)"
},
"specialViews": {
"type": "array",
"items": {
"$ref": "#/$defs/sidekickSpecialView"
"$ref": "#/definitions/sidekickSpecialView"
}
},
"trustedHosts": {
"type": "array",
"items": {
"type": "string"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we add "format": "hostname"?

},
"description": "Additional hosts that are trusted to use the sidekick authentication"
}
},
"additionalProperties": false
Expand Down