Properties
NAME | TYPE | DESCRIPTION |
key | string | Attribute Key. |
type | string | Attribute type. |
status | string | Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed` |
error | string | Error message. Displays error generated on failure of creating or deleting an attribute. |
required | boolean | Is attribute required? |
array | boolean | Is attribute an array? |
elements | array | Array of elements in enumerated type. |
format | string | String format. |
default | string | Default value for attribute when not provided. Cannot be set when attribute is required. |
Example
JSON
{
"key": "status",
"type": "string",
"status": "available",
"error": "string",
"required": true,
"array": false,
"elements": "element",
"format": "enum",
"default": "element"
}
JSON
{
"key": "status",
"type": "string",
"status": "available",
"error": "string",
"required": true,
"array": false,
"elements": "element",
"format": "enum",
"default": "element"
}