diff core/modules/rest/config/schema/rest.views.schema.yml @ 0:4c8ae668cc8c

Initial import (non-working)
author Chris Cannam
date Wed, 29 Nov 2017 16:09:58 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/core/modules/rest/config/schema/rest.views.schema.yml	Wed Nov 29 16:09:58 2017 +0000
@@ -0,0 +1,41 @@
+# Schema for the views plugins of the REST module.
+
+views.display.rest_export:
+  type: views_display_path
+  label: 'REST display options'
+  mapping:
+    auth:
+      type: sequence
+      label: 'Authentication'
+      sequence:
+        type: string
+        label: 'Authentication Provider'
+
+views.row.data_field:
+  type: views_row
+  label: 'Field row'
+  mapping:
+    field_options:
+      type: sequence
+      label: 'Options'
+      sequence:
+        type: mapping
+        label: 'Row'
+        mapping:
+          alias:
+            type: string
+            label: 'Alias for ID'
+          raw_output:
+            type: boolean
+            label: 'Raw output for ID'
+
+views.style.serializer:
+  type: views_style
+  label: 'Serialized output format'
+  mapping:
+    formats:
+      type: sequence
+      label: 'Formats'
+      sequence:
+        type: string
+        label: 'Format'