Ampersand · JSON Structure

Ampersand Api Numeric Field Options Structure

Additional options for numeric fields

Type: object Properties: 5
Developer ToolsIntegrationsPlatformSaaSOAuthData SyncWebhooks

NumericFieldOptions is a JSON Structure definition published by Ampersand, describing 5 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

precision scale min max defaultValue

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/ampersand/refs/heads/main/json-structure/ampersand-api-numeric-field-options-structure.json",
  "name": "NumericFieldOptions",
  "description": "Additional options for numeric fields",
  "type": "object",
  "properties": {
    "precision": {
      "type": "int32",
      "description": "Total number of digits (for decimal types)"
    },
    "scale": {
      "type": "int32",
      "description": "Number of digits to the right of the decimal point (for decimal types)"
    },
    "min": {
      "type": "double",
      "description": "Minimum value for numeric fields"
    },
    "max": {
      "type": "double",
      "description": "Maximum value for numeric fields"
    },
    "defaultValue": {
      "type": "double",
      "description": "Default value for the field"
    }
  }
}