jsonschema¶
ecoscope.platform.jsonschema ¶
Classes¶
RJSFFilterProperty ¶
Bases: BaseModel
Model representing the properties of a React JSON Schema Form filter.
This model is used to generate the properties field for a filter schema in a dashboard.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
type
|
The type of the filter property. |
required | |
oneOf
|
The possible values for the filter property. |
required | |
default
|
The default value for the filter property |
required |
RJSFFilterUiSchema ¶
Bases: BaseModel
Model representing the UI schema of a React JSON Schema Form filter.
This model is used to generate the uiSchema field for a filter schema in a dashboard.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
title
|
The title of the filter. |
required | |
help
|
The help text for the filter. |
required |
ReactJSONSchemaFormFilters ¶
oneOf ¶
Bases: BaseModel
Model representing the oneOf field in a JSON schema.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
const
|
The value that will appear in the form data. |
required | |
title
|
The user-facing name that will appear in the input widget. |
required |