Skip to content

Latest commit

 

History

History
390 lines (254 loc) · 14.1 KB

File metadata and controls

390 lines (254 loc) · 14.1 KB
page_title subcategory description
epilot-schema_schema Data Source - terraform-provider-epilot-schema
Schema DataSource

epilot-schema_schema (Data Source)

Schema DataSource

Example Usage

data "epilot-schema_schema" "my_schema" {
  id   = "89868668-91fd-45da-ba4d-b78cf9b60131"
  slug = "contact"
}

Schema

Required

  • slug (String) Entity Type

Read-Only

  • attributes (String) Parsed as JSON.
  • blueprint (String) Reference to blueprint
  • capabilities (String) Parsed as JSON.
  • category (String)
  • created_at (String)
  • description (String)
  • dialog_config (Map of String)
  • docs_url (String)
  • draft (Boolean)
  • enable_setting (List of String) This schema should only be active when one of the organization settings is enabled
  • explicit_search_mappings (Attributes Map) Advanced: explicit Elasticsearch index mapping definitions for entity data (see below for nested schema)
  • feature_flag (String) This schema should only be active when the feature flag is enabled
  • group_headlines (String) Parsed as JSON.
  • group_settings (String) Parsed as JSON.
  • icon (String)
  • id (String) The ID of this resource.
  • layout_settings (Attributes) Custom grid definitions for the layout. These settings are composed by managed and un-managed properties:
  • Managed Properties: are interpreted and transformed into layout styles
  • Un-managed Properties: are appended as styles into the attribute mounting node (see below for nested schema)
  • name (String) User-friendly identifier for the entity schema
  • plural (String)
  • published (Boolean)
  • purpose (List of String)
  • title_template (String) Template for rendering the title field. Uses handlebars
  • ui_config (Attributes) (see below for nested schema)
  • updated_at (String)
  • version (Number)

Nested Schema for explicit_search_mappings

Read-Only:

  • fields (Map of String)
  • index (Boolean)
  • type (String)

Nested Schema for layout_settings

Read-Only:

  • additional_properties (String) Parsed as JSON.
  • grid_gap (String) Defines the grid gap for the mounting node of the attribute.
  • grid_template_columns (String) Defines the grid column template for the mounting node of the attribute.

Nested Schema for ui_config

Read-Only:

Nested Schema for ui_config.create_view

Read-Only:

Nested Schema for ui_config.create_view.entity_default_create

Read-Only:

  • search_params (Map of String)
  • view_type (String)

Nested Schema for ui_config.create_view.entity_view_disabled

Read-Only:

  • view_type (String)

Nested Schema for ui_config.create_view.redirect_entity_view

Read-Only:

  • route (String)
  • view_type (String)

Nested Schema for ui_config.edit_view

Read-Only:

Nested Schema for ui_config.edit_view.entity_default_edit

Read-Only:

  • search_params (Map of String)
  • summary_attributes (List of String) List of attribute names that we show in the summary header
  • view_type (String)

Nested Schema for ui_config.edit_view.entity_view_disabled

Read-Only:

  • view_type (String)

Nested Schema for ui_config.edit_view.redirect_entity_view

Read-Only:

  • route (String)
  • view_type (String)

Nested Schema for ui_config.list_item

Read-Only:

Nested Schema for ui_config.list_item.quick_actions

Read-Only:

  • action (String) A unique action name
  • icon (String)
  • label (String)
  • permission (String) Permission required to show the action. If not provided, the action will be shown to all users.

Nested Schema for ui_config.list_item.summary_attributes

Read-Only:

  • str (String)
  • summary_attribute (Attributes) Represents an expanded version of an attribute to be displayed in the list item summary. This configuration can be used in the following way:
{
  "label": "Price components"
  "value": "{{"{{"}}item.prices.length{{"}}"}} price components"
  "show_as_tag": true
  "render_condition": "is_composite_price = "true""
}

The value field supports handlebar expressions from which you can pick any field from the entity state. (see below for nested schema)

Nested Schema for ui_config.list_item.summary_attributes.summary_attribute

Read-Only:

  • content_line_cap (Number) Defines the line numbers of the content. For instance, When set to 1, the content will be displayed in a single line.
  • content_wrap (String) Defines white-space of the content.
  • display_mode (String) Defines the display mode of the summary attribute. When set to inline, the label and value will be displayed in the same line. When set to block, the label and value will be displayed in separate lines.
  • feature_flag (String) Binds summary field visibility to the feature flag state.
  • hide_label (Boolean) When set to true, will hide the label of the field.
  • highlight_container (Boolean) When set to true, will highlight the container of the field.
  • label (String) Label to be shown on the top of the value.
  • render_condition (String) Defines the conditional rendering expression for showing this field. When a valid expression is parsed, their evaluation defines the visibility of this attribute. Note: Empty or invalid expression have no effect on the field visibility.
  • settings_flag (Attributes List) This summary attribute should only be visible when all the settings have the correct value (see below for nested schema)
  • show_as_tag (Boolean) Displays the value within a tag chip.
  • tag_color (String) CSS hex color or CSS color name for the tag chip.
  • value (String) A static value or an handlebar expression.

Nested Schema for ui_config.list_item.summary_attributes.summary_attribute.settings_flag

Read-Only:

  • enabled (Boolean) Whether the setting should be enabled or not
  • name (String) The name of the organization setting to check

Nested Schema for ui_config.list_item.ui_config

Read-Only:

  • content_direction (String) Show attributes in a row or column

Nested Schema for ui_config.sharing

Read-Only:

  • show_sharing_button (Boolean) Show the sharing button in entity detail view

Nested Schema for ui_config.single_view

Read-Only:

Nested Schema for ui_config.single_view.entity_default_edit

Read-Only:

  • search_params (Map of String)
  • summary_attributes (List of String) List of attribute names that we show in the summary header
  • view_type (String)

Nested Schema for ui_config.single_view.entity_view_disabled

Read-Only:

  • view_type (String)

Nested Schema for ui_config.single_view.redirect_entity_view

Read-Only:

  • route (String)
  • view_type (String)

Nested Schema for ui_config.table_view

Read-Only:

Nested Schema for ui_config.table_view.entity_default_table

Read-Only:

Nested Schema for ui_config.table_view.entity_default_table.bulk_actions

Read-Only:

  • entity_action (Attributes) An entity action configured from the entity schema (see below for nested schema)
  • str (String)

Nested Schema for ui_config.table_view.entity_default_table.bulk_actions.entity_action

Read-Only:

  • action (String) A unique action name
  • icon (String)
  • label (String)
  • permission (String) Permission required to show the action. If not provided, the action will be shown to all users.

Nested Schema for ui_config.table_view.entity_default_table.navbar_actions

Read-Only:

Nested Schema for ui_config.table_view.entity_default_table.navbar_actions.options

Read-Only:

Nested Schema for ui_config.table_view.entity_default_table.navbar_actions.options.params

Nested Schema for ui_config.table_view.entity_default_table.row_actions

Read-Only:

  • entity_action (Attributes) An entity action configured from the entity schema (see below for nested schema)
  • str (String)

Nested Schema for ui_config.table_view.entity_default_table.row_actions.entity_action

Read-Only:

  • action (String) A unique action name
  • icon (String)
  • label (String)
  • permission (String) Permission required to show the action. If not provided, the action will be shown to all users.

Nested Schema for ui_config.table_view.entity_view_disabled

Read-Only:

  • view_type (String)

Nested Schema for ui_config.table_view.redirect_entity_view

Read-Only:

  • route (String)
  • view_type (String)