AckdbEventTypeFieldInput
One field within an event type's content schema. `requiredWhen` makes an otherwise-optional field conditionally required based on the value of a sibling field.
Properties
typestringrequiredField value type.
"string""number""boolean""datetime""string_array"requiredbooleanrequiredWhether the field must always be present.
descriptionstringrequiredWhat the field means (for AI agents and workflow builders).
exampleAn example value for this field.
computeHintstringHow to extract this field from the raw source API.
allowedValuesarray ofOptional enum constraint.
string
requiredWhenobjectConditional requirement: required only when a sibling field has one of the listed values.
fieldstringrequiredSibling field name to inspect.
valueInarray ofrequiredstring
Example
AckdbEventTypeFieldInput example
{
"type": "string",
"required": false,
"description": "string",
"example": null,
"computeHint": "string",
"allowedValues": [
"string"
],
"requiredWhen": {
"field": "string",
"valueIn": [
"string"
]
}
}