graph_element-1.0.4/config/schema/graph_element.schema.yml
config/schema/graph_element.schema.yml
# Schema for the configuration files of the poc_mkc module.
graph_element.settings:
type: config_object
mapping:
stats_types:
type: sequence
label: 'Stats type'
sequence:
name:
type: string
label: 'Service name'
endpoint:
type: string
label: 'Service endpoint'
method:
type: string
label: 'Service method'
x_key_name:
type: string
label: 'X Service key name'
x_key:
type: string
label: 'X Service key'
y_key_name:
type: string
label: 'Y Service key name'
y_key:
type: string
label: 'Y Service key'
# Relates to the graph_element_item field type plugin.
field.graph_element_item:
type: mapping
mapping:
graph_title:
type: string
label: 'Chart title'
graph_source:
type: string
label: 'Chart source'
graph_type:
type: string
label: 'Chart type'
graph_description:
type: string
label: 'Chart description'
