{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/EnumConfigFieldSchema", "title": "EnumConfigFieldSchema", "description": "Defines an enum value integration config field.", "type": "object", "properties": { "display_name": { "description": "user-friendly name of the configuration field.", "type": "string" }, "description": { "description": "Optional brief description of the configuration field.", "type": "string" }, "required": { "description": "Denotes whether the config field is a required value.", "type": "boolean", "default": false }, "mutable_condition": { "$ref": "#/components/schemas/MutableCondition" }, "type": { "description": "The field type of config value.", "type": "string", "enum": [ "enum" ] }, "choices": { "description": "List of enumerated choices that can be selected as the config field value.", "type": "array", "items": { "type": "object", "required": [ "value", "display_name" ], "properties": { "value": { "description": "The value represented by this option.", "type": "string" }, "display_name": { "description": "user-friendly name of the option.", "type": "string" }, "description": { "description": "Optional brief description of the option.", "type": "string" } } } }, "default": { "description": "The default value for the config field.\nMust reference the value of an option listed in `choices`.\n", "type": "string" } }, "required": [ "type", "choices" ] }