Settings API - Datasource Example schema table
Datasource Example (builtin:example.custom-validation.datasource
)
Showcase of datasource properties.
For the Java implementation check out ExampleDatasourceSchema.java
Schema ID | Schema groups | Scope |
---|---|---|
builtin:example.custom-validation.datasource | - | environment environment-default |
Parameters
Property | Label | Type | Description | Required |
---|---|---|---|---|
type | Type | enum | Controls the type of values the datasouces will deliver | optional |
limit | Limit | integer | Controls the max number (inclusive) returned by the advanced datasource | required |
simple | Simple Datasource | text | Will return possible values based on type, but also allows custom defined values (no validation). Uses api to filter values. Some of the values are visible only with devops access. | required |
advanced | Advanced Datasource | text | Will return possible values based on type and limit, only allows datasource values (with validation). Does not use api to filter values. Some of the values are visible only with devops access. | required |
complex | Complex property with datasource | innerType | Inner datasource works with the full setting payload on validation | required |
Request body objects
The innerType
object
Property | Label | Type | Description | Required |
---|---|---|---|---|
fullContextDatasource | Full context datasource | text | Data source that expects full setting payload on validation Will return possible values based on type, only allows datasource values (with validation). Does not use api to filter values. Some of the values are visible only with devops access. | required |