Attributes List Object
Properties
Name | Type | Description |
total | integer | Total number of attributes in the given collection. |
attributes | array of attributeBoolean attributeInteger attributeFloat attributeEmail attributeEnum attributeUrl attributeIp attributeString | List of attributes. |
Examples
JSON
{
"total": 5,
"attributes": [
{
"key": "isEnabled",
"type": "boolean",
"status": "available",
"required": true,
"array": false,
"default": false
},
{
"key": "count",
"type": "integer",
"status": "available",
"required": true,
"array": false,
"min": 1,
"max": 10,
"default": 10
},
{
"key": "percentageCompleted",
"type": "double",
"status": "available",
"required": true,
"array": false,
"min": 1.5,
"max": 10.5,
"default": 2.5
},
{
"key": "userEmail",
"type": "string",
"status": "available",
"required": true,
"array": false,
"format": "email",
"default": "default@example.com"
},
{
"key": "status",
"type": "string",
"status": "available",
"required": true,
"array": false,
"elements": [
"element"
],
"format": "enum",
"default": "element"
},
{
"key": "githubUrl",
"type": "string",
"status": "available",
"required": true,
"array": false,
"format": "url",
"default": "http:\/\/example.com"
},
{
"key": "ipAddress",
"type": "string",
"status": "available",
"required": true,
"array": false,
"format": "ip",
"default": "192.0.2.0"
},
{
"key": "fullName",
"type": "string",
"status": "available",
"required": true,
"array": false,
"size": 128,
"default": "default"
}
]
}