AttributeFloat Object
Properties
| Name | Type | Description |
| key | string | Attribute Key. |
| type | string | Attribute type. |
| status | string | Attribute status. Possible values: |
| required | boolean | Is attribute required? |
| array | boolean | Is attribute an array? |
| min | number | Minimum value to enforce for new documents. |
| max | number | Maximum value to enforce for new documents. |
| default | number | Default value for attribute when not provided. Cannot be set when attribute is required. |
Examples
JSON
{
"key": "percentageCompleted",
"type": "double",
"status": "available",
"required": true,
"array": false,
"min": 1.5,
"max": 10.5,
"default": 2.5
}