summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMateu Aguiló Bosch2017-07-24 21:12:44 (GMT)
committerMateu Aguiló Bosch2017-07-24 21:12:53 (GMT)
commita9fedf0b826e088a569c93875773c1713c8ee3d9 (patch)
tree8c8ec4c716bff719077419bc2abc32342a9fa563
parent095bc9e7070edd90570822a7e0344302db2693fd (diff)
feat(Enhancer): Add configuration schema (#2897071 by e0ipso)
-rw-r--r--config/schema/jsonapi_extras.schema.yml17
1 files changed, 13 insertions, 4 deletions
diff --git a/config/schema/jsonapi_extras.schema.yml b/config/schema/jsonapi_extras.schema.yml
index 15b86c4..b944544 100644
--- a/config/schema/jsonapi_extras.schema.yml
+++ b/config/schema/jsonapi_extras.schema.yml
@@ -43,12 +43,21 @@ jsonapi_extras.resource_field:
mapping:
id:
type: string
- description: 'ID'
description: 'The enhancer plugin ID'
settings:
- type: mapping
- description: 'Settings'
- description: 'Unstructured settings.'
+ type: jsonapi_extras.enhancer_plugin.[%parent.id]
+
+jsonapi_extras.enhancer_plugin.date_time:
+ type: mapping
+ mapping:
+ dateTimeFormat:
+ type: string
+
+jsonapi_extras.enhancer_plugin.nested:
+ type: mapping
+ mapping:
+ path:
+ type: string
jsonapi_extras.settings:
type: config_object