Skip to content

Commit

Permalink
More schema definition fun. (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-vessey authored Sep 15, 2022
1 parent 09b607f commit 9598fca
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions config/schema/controlled_access_terms.schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ field.widget.settings.text_edtf:
type: boolean
label: 'Intervals Permitted'

field.widget.settings.edtf_default:
type: field.widget.settings.text_edtf
mapping:
sets:
type: boolean
label: Sets permitted

field.widget.settings.text_date:
type: mapping
link: ''
Expand Down Expand Up @@ -83,14 +90,52 @@ field.formatter.settings.text_edtf_human:
day_format:
type: string
label: 'Day Format'
year_format:
type: string
label: 'Year Format'
season_hemisphere:
type: string
label: 'Hemisphere Seasons'

field.formatter.settings.edtf_default:
type: field.formatter.settings.text_edtf_human

field.formatter.settings.text_edtf_iso8601:
type: mapping
label: 'EDTF ISO8601 format settings'
mapping:
season_hemisphere:
type: string
label: 'Hemisphere Seasons'

field.field_settings.typed_relation:
type: field.field_settings.entity_reference
mapping:
rel_types:
type: sequence
sequence:
type: string

field.storage_settings.edtf:
type: field.storage_settings.string

field.widget.settings.typed_relation_default:
type: mapping
mapping:
match_operator:
type: string
size:
type: integer
placeholder:
type: string
match_limit:
type: integer

field.formatter.settings.typed_relation_default:
type: mapping
mapping:
link:
type: boolean

field.storage_settings.typed_relation:
type: field.storage_settings.entity_reference

0 comments on commit 9598fca

Please sign in to comment.