Custom Fields
Both Components and References may have custom fields.
While you must currently use the App to create and manage custom fields, you will most likely interact with them when using the API.
To find information about the custom fields available for a workspace, you should use the workspace context resource.
Ardoq Type | JSON type | Example |
---|---|---|
Checkbox | boolean |
true |
DateTime | string |
"2020-06-16T19:30:00.959Z" |
string |
"hello@ardoq.com" |
|
List | string |
"item" |
Number | number |
42 |
SelectMultipleList | List<string> |
["foo","bar"] |
Text | string |
"Hello" |
TextArea | string |
"Hello" |
Url | string |
"ardoq.com" |
User | string |
"562a6db79f2a2677633f9d17" |
Checkbox
The Checkbox
type represents a yes/no answer. The value is represented as a boolean
.
DateTime
The DateTime
type follows the ISO-8601 standard. The value is represented as a string
.
The Email
type is used to refer to an email. The value is validated against a regular expression (regex) string
.
List
The List
type is used to refer to an element of a list. The value belongs to the set of allowed values associated with the field definition.
Number
The Number
type is used to refer to both integers and floats.
SelectMultipleList
The SelectMultipleList
type is used to refer to multiple elements of a list. The value is a subset of the the set of allowed values associated with the field definition.
The input will be checked to ensure that every item in the list is an allowed value.
Text
The Text
type is used to refer to text.
TextArea
The TextArea
type is used to refer to text.
Url
The Url
type is used to refer to a Uniform Resource Locator.
User
The User
type is used to refer to a user in the Ardoq System.