Ampersand · Schema
NumericFieldOptions
Additional options for numeric fields
Developer ToolsIntegrationsPlatformSaaSOAuthData SyncWebhooks
Properties
| Name | Type | Description |
|---|---|---|
| precision | integer | Total number of digits (for decimal types) |
| scale | integer | Number of digits to the right of the decimal point (for decimal types) |
| min | number | Minimum value for numeric fields |
| max | number | Maximum value for numeric fields |
| defaultValue | number | Default value for the field |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/ampersand/refs/heads/main/json-schema/ampersand-api-numeric-field-options-schema.json",
"title": "NumericFieldOptions",
"description": "Additional options for numeric fields",
"type": "object",
"properties": {
"precision": {
"type": "integer",
"description": "Total number of digits (for decimal types)"
},
"scale": {
"type": "integer",
"description": "Number of digits to the right of the decimal point (for decimal types)"
},
"min": {
"type": "number",
"description": "Minimum value for numeric fields"
},
"max": {
"type": "number",
"description": "Maximum value for numeric fields"
},
"defaultValue": {
"type": "number",
"description": "Default value for the field"
}
}
}