Security update for Core, with self-updated composer
[yaffs-website] / web / core / config / schema / core.data_types.schema.yml
index eeac1aea06306e512e3fc2b281f0853e4d4908dd..a11eedcbc003cd81c4cd20ca2481681f26096fd9 100644 (file)
@@ -46,7 +46,7 @@ mapping:
 sequence:
   label: Sequence
   class: '\Drupal\Core\Config\Schema\Sequence'
-  definition_class: '\Drupal\Core\TypedData\ListDataDefinition'
+  definition_class: '\Drupal\Core\Config\Schema\SequenceDataDefinition'
 
 # Simple extended data types:
 
@@ -72,6 +72,13 @@ text:
   label: 'Text'
   translatable: true
 
+# A UUID.
+uuid:
+  type: string
+  label: 'UUID'
+  constraints:
+    Uuid: {}
+
 # PHP Date format string that is translatable.
 date_format:
   type: string
@@ -275,7 +282,7 @@ config_entity:
   type: mapping
   mapping:
     uuid:
-      type: string
+      type: uuid
       label: 'UUID'
     langcode:
       type: string
@@ -336,8 +343,7 @@ condition.plugin:
       type: boolean
       label: 'Negate'
     uuid:
-      type: string
-      label: 'UUID'
+      type: uuid
     context_mapping:
       type: sequence
       label: 'Context assignments'
@@ -358,8 +364,7 @@ display_variant.plugin:
       type: integer
       label: 'Weight'
     uuid:
-      type: string
-      label: 'UUID'
+      type: uuid
 
 layout_plugin.settings:
   type: mapping
@@ -602,8 +607,7 @@ field.value.entity_reference:
       type: string
       label: 'Value'
     target_uuid:
-      type: string
-      label: 'Target UUID'
+      type: uuid
 
 # Schema for the configuration of the Boolean field type.
 
@@ -753,6 +757,16 @@ field.value.float:
       type: float
       label: 'Value'
 
+# Schema for the configuration of the Timestamp field type.
+
+field.value.timestamp:
+  type: mapping
+  label: 'Timestamp value'
+  mapping:
+    value:
+      type: timestamp
+      label: 'Value'
+
 # Text with a text format.
 text_format:
   type: mapping
@@ -776,11 +790,24 @@ text_format:
       # The text format should not be translated as part of the string
       # translation system, so this is not marked as translatable.
 
-# Schema for the configuration of the Entity reference selection plugins.
-
+# Base schema for all entity reference selection handler schemas.
 entity_reference_selection:
   type: mapping
-  label: 'Entity reference selection plugin configuration'
+  label: 'Entity reference selection handler settings'
+  mapping:
+    target_type:
+      type: string
+      label: 'Type of item to reference'
+
+# Schema for all entity reference selection handlers that are not providing a
+# specific schema.
+entity_reference_selection.*:
+  type: entity_reference_selection
+
+# Schema for the entity reference 'default' selection handler settings.
+entity_reference_selection.default:
+  type: entity_reference_selection
+  label: 'Default selection handler settings'
   mapping:
     target_bundles:
       type: sequence
@@ -788,7 +815,7 @@ entity_reference_selection:
       nullable: true
       sequence:
         type: string
-        label: 'Type'
+        label: 'Bundle'
     sort:
       type: mapping
       label: 'Sort settings'
@@ -806,5 +833,7 @@ entity_reference_selection:
       type: string
       label: 'Bundle assigned to the auto-created entities.'
 
-entity_reference_selection.*:
-  type: entity_reference_selection
+# Schema for all entity reference 'default:*' selection handlers that are not
+# providing a specific schema.
+entity_reference_selection.default:*:
+  type: entity_reference_selection.default