config/schema/cdn.conditions.schema.yml | 3 +++ config/schema/cdn.mapping.schema.yml | 2 ++ 2 files changed, 5 insertions(+) diff --git a/config/schema/cdn.conditions.schema.yml b/config/schema/cdn.conditions.schema.yml index ad0147e..a4022e5 100644 --- a/config/schema/cdn.conditions.schema.yml +++ b/config/schema/cdn.conditions.schema.yml @@ -1,18 +1,21 @@ # AND logic applies: all conditions must be met. cdn.conditions: type: sequence + orderby: key label: 'Conditions' sequence: type: cdn.condition.[%key] cdn.condition.not: type: sequence + orderby: key label: 'Negated conditions' sequence: type: cdn.condition.[%key] cdn.condition.extensions: type: sequence + orderby: value label: 'Allowed file extensions' sequence: type: string diff --git a/config/schema/cdn.mapping.schema.yml b/config/schema/cdn.mapping.schema.yml index dd76def..e582490 100644 --- a/config/schema/cdn.mapping.schema.yml +++ b/config/schema/cdn.mapping.schema.yml @@ -27,6 +27,7 @@ cdn.mapping.auto-balanced: mapping: domains: type: sequence + orderby: value label: 'Multiple CDN domains across which to auto-balance files (in a consistent manner).' sequence: type: cdn.domain @@ -43,6 +44,7 @@ cdn.mapping.complex: label: 'The optional fallback CDN domain to use when none of the other domains are selected.' domains: type: sequence + orderby: value sequence: # @todo How to prevent recursion? This should only accept 'simple', 'auto-balanced' and whichever ones are added in the future. type: cdn.mapping.[type]