Version 1
[yaffs-website] / web / core / modules / book / config / schema / book.schema.yml
diff --git a/web/core/modules/book/config/schema/book.schema.yml b/web/core/modules/book/config/schema/book.schema.yml
new file mode 100644 (file)
index 0000000..97d2f93
--- /dev/null
@@ -0,0 +1,34 @@
+# Schema for the configuration files of the book module.
+
+book.settings:
+  type: config_object
+  label: 'Book settings'
+  mapping:
+    allowed_types:
+      type: sequence
+      label: 'Content types allowed in book outlines'
+      sequence:
+        type: string
+        label: 'Content type'
+    block:
+      type: mapping
+      label: 'Block'
+      mapping:
+        navigation:
+          type: mapping
+          label: 'Navigation'
+          mapping:
+            mode:
+              type: string
+              label: 'Mode'
+    child_type:
+      type: string
+      label: 'Content type for child pages'
+
+block.settings.book_navigation:
+  type: block_settings
+  label: 'Book navigation block'
+  mapping:
+    block_mode:
+      type: string
+      label: 'Block display mode'