Skip to main content

TypedValueWithMetadata

A typed value. Typically used to represent the value of a property or an evaluated expression.

NameDescriptionType
typeData type.
Note. Name of the property can't be isNull because name collision with Objective-C reserved name.
Datatype
is_null_valueIs the value NULL.boolean
dataThe value data as a union, if not NULL.TypedValueUnionWithMetadata
value_metadataThe metadata about the typed value. If the value is a Lookup or MSLookup, this data will be in that struct.TypedValueMetadata

Example

{
"type": 15 /* Enum: Datatype */,
"is_null_value": false,
"data": {
"acl": {
"checked_out_to_user": 0,
"is_fully_authoritative": false,
"custom_component": {
"named_acl_id": 0,
"has_named_acl": false,
"current_user_id": 0,
"has_current_user": false,
"permissions": [] /* Array of AccessControlEntry */,
"overridability_permissions": [] /* Array of AccessControlEntry */,
"status": {
"all": false,
"deleted": false,
"source_item_linked_via_pseudo_users": false
}
},
"restrictive_components": [] /* Array of AccessControlListComponentMapEntry */,
"secondary_access_control_list": {} /* AccessControlList */,
"additive_components": [] /* Array of AccessControlListComponentMapEntry */
}
},
"value_metadata": {
"set_by": 3 /* Enum: PropertySetByType */,
"reason": "<reason>",
"confidence": "<confidence>",
"batch_id": "<batch id>"
}
}