Create a new attribute.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
An short identifier for the attribute to be used when it is referenced in validations.
Attribute names must consist of only alphanumeric characters or underscores and be < 255 characters long.
A public-facing descriptive name for the attribute.
Defines which companies have access to view and map this attribute. Defaults to no companies (owner only).
An array with elements of any data type.
array A description of the type of data the attribute represents, including collection methodology, assumptions, etc.
List of tags to associate with the attribute
A raw Spark SQL expression determining whether a value for the given column is valid or not.
If more than one validation is specified then all the validation must evaluate to true for the column value to be considered valid.
If validations is not specified or empty then all rows will match the access rule.
E.g. for an attribute with the following definition:
{
"name": "unique_id",
"type": "object",
"properties": {
"identifier_value": {
"type": "string"
},
"identifier_type": {
"type": "string"
},
"timestamp": {
"type": "timestamptz"
}
},
"required": [
"value"
]
}Valid validations include:
"identifier_type": {
"type": "string",
"validations": [
"lower($this.identifier_type) = $this.identifier_type"
]
}"timestamp": {
"type": "timestamptz",
"validations": [
"$this.timestamp > date_sub(current_date(), 90)"
]
}OK
An owned attribute response includes additional fields for attributes owned by the requesting company.
An array with elements of any data type.
array The ID of the company that owns this attribute
Defines which companies have access to view and map this attribute
Unique identifier for the attribute.
A description of the type of data the attribute represents, including collection methodology, assumptions, etc.
A public-facing descriptive name for the attribute.
An short identifier for the attribute to be used when it is referenced in validations.
Attribute names must consist of only alphanumeric characters or underscores and be < 255 characters long.
List of tags associated with the attribute
A raw Spark SQL expression determining whether a value for the given column is valid or not.
If more than one validation is specified then all the validation must evaluate to true for the column value to be considered valid.
If validations is not specified or empty then all rows will match the access rule.
E.g. for an attribute with the following definition:
{
"name": "unique_id",
"type": "object",
"properties": {
"identifier_value": {
"type": "string"
},
"identifier_type": {
"type": "string"
},
"timestamp": {
"type": "timestamptz"
}
},
"required": [
"value"
]
}Valid validations include:
"identifier_type": {
"type": "string",
"validations": [
"lower($this.identifier_type) = $this.identifier_type"
]
}"timestamp": {
"type": "timestamptz",
"validations": [
"$this.timestamp > date_sub(current_date(), 90)"
]
}