diff --git a/core/modules/tour/config/schema/tour.schema.yml b/core/modules/tour/config/schema/tour.schema.yml new file mode 100644 index 0000000..6baea04 --- /dev/null +++ b/core/modules/tour/config/schema/tour.schema.yml @@ -0,0 +1,53 @@ +# Schema for the configuration files of the Tour module. + +tour.tour.*: + type: mapping + label: 'Tour settings' + mapping: + id: + type: string + label: 'ID' + label: + type: label + label: 'Label' + langcode: + type: string + label: 'Language' + paths: + type: sequence + label: 'Path settings' + sequence: + - type: path + label: 'Path' + tips: + type: sequence + label: 'Tips' + sequence: + - type: tour.tip.[plugin] + label: 'Tour tip' + +tour.tip.text: + type: mapping + label: 'Tour tip' + mapping: + id: + type: string + label: 'ID' + plugin: + type: string + label: 'Plugin' + label: + type: label + label: 'Label' + body: + type: text + label: 'Body' + weight: + type: integer + label: 'Weight' + attributes: + type: sequence + label: 'Attributes' + sequence: + - type: string + label: 'Attribute'