JsonSchema:MetaSchema/EnumProvider
JsonSchema:MetaSchema/EnumProvider
From Wikisphere
Jump to navigation
Jump to search
| description | "Dynamic source for enum options. Can be a static array, a provider reference, or a combination of multiple sources." |
|---|
| oneOf | | title | "Provider Source" |
|---|
| description | "Reference to a watched field or registered function that provides options" |
|---|
| type | "object" |
|---|
| properties | | source | | type | "string" |
|---|
| description | "Name of the watched field or registered function" |
|---|
|
|---|
| title | | type | "string" |
|---|
| description | "Template for display title. Use {{item.property}} syntax" |
|---|
|
|---|
| value | | type | "string" |
|---|
| description | "Template for option value. Use {{item.property}} syntax" |
|---|
|
|---|
| filter | | type | "string" |
|---|
| description | "Filter function name or expression" |
|---|
|
|---|
|
|---|
| required | |
|---|
|
| title | "Multi-Source Combination" |
|---|
| description | "Combine multiple static arrays and/or providers into one dropdown" |
|---|
| type | "array" |
|---|
| items | | oneOf | | title | "Static Array" |
|---|
| type | "array" |
|---|
| items | |
|---|
|
| title | "Provider Source" |
|---|
| type | "object" |
|---|
| properties | | source | |
|---|
| title | |
|---|
| value | |
|---|
| filter | |
|---|
| slice | | type | "array" |
|---|
| items | |
|---|
| minItems | 1 |
|---|
| maxItems | 2 |
|---|
|
|---|
| sort | |
|---|
|
|---|
| required | |
|---|
|
|
|---|
|
|---|
| minItems | 1 |
|---|
|
|
|---|