Files
api-specs/idn/beta/schemas/forms/FormElement.yaml
GitHub Action Bot 1f9ccf319b Automated commit 'Merge pull request #1461 from sailpoint/devrel-1231
Devrel 1231' by github action: 6590689930
2023-10-20 17:10:31 +00:00

60 lines
1.5 KiB
YAML

properties:
id:
description: Form element identifier.
example: 00000000-0000-0000-0000-000000000000
type: string
x-go-name: ID
elementType:
description: |-
FormElementType value.
TEXT FormElementTypeText
TOGGLE FormElementTypeToggle
TEXTAREA FormElementTypeTextArea
HIDDEN FormElementTypeHidden
PHONE FormElementTypePhone
EMAIL FormElementTypeEmail
SELECT FormElementTypeSelect
DATE FormElementTypeDate
SECTION FormElementTypeSection
COLUMNS FormElementTypeColumns
enum:
- TEXT
- TOGGLE
- TEXTAREA
- HIDDEN
- PHONE
- EMAIL
- SELECT
- DATE
- SECTION
- COLUMNS
example: TEXT
type: string
x-go-name: ElementType
config:
additionalProperties: { }
description: Config object.
example:
label: Department
type: object
x-go-name: Config
x-go-enum-desc: |-
TEXT FormElementTypeText
TOGGLE FormElementTypeToggle
TEXTAREA FormElementTypeTextArea
HIDDEN FormElementTypeHidden
PHONE FormElementTypePhone
EMAIL FormElementTypeEmail
SELECT FormElementTypeSelect
DATE FormElementTypeDate
SECTION FormElementTypeSection
COLUMNS FormElementTypeColumnsn
key:
description: Technical key.
example: department
type: string
x-go-name: Key
validations:
$ref: './FormElementValidationsSet.yaml'
type: object
x-go-package: github.com/sailpoint/sp-forms/domain