Skip to content
Select theme

Property kinds

AI agent getting started? Read Agents: start here first.

A property declaration defines the values an object can hold. Choose a kind for the value you need, then add it to a type definition.

Choose a kind by what you need to store. Each link opens its declaration example below. The version is the minimum schema-language version for that example. Arrays and objects can require a later version when their nested properties do. Required object fields are declared separately from their kinds.

KindUse forMinimum version
nullAn explicitly empty value1
booleanA yes/no choice1
stringText, identifiers and descriptions1
numberMeasurements, including fractions1
integerWhole-number counts1
personA person assigned to a record1
enumOne choice from declared options1
arrayAn ordered list of values1
objectA group of named properties1
datetimeA date and time2
attachmentA file, such as a drawing or report3
boundA numeric limit or acceptable range, with units4
{
"kind": "null"
}
{
"kind": "boolean"
}
{
"kind": "string"
}
{
"kind": "number"
}
{
"kind": "integer"
}
{
"kind": "person"
}
{
"kind": "enum",
"members": [
"open",
"closed"
]
}
{
"kind": "array",
"items": {
"kind": "string"
},
"maxItems": 10
}
{
"kind": "object",
"properties": {
"name": {
"kind": "string"
}
},
"required": [
"name"
]
}
{
"kind": "datetime"
}
{
"typeCategory": "object",
"typeKey": "drawing_record",
"version": 1,
"displayName": "Drawing record",
"description": null,
"schemaLanguageVersion": "3",
"propertyDefinitions": {
"drawing": {
"kind": "attachment",
"accept": [
"image",
"pdf",
"step",
"mesh",
"text"
]
}
},
"requiredPropertyKeys": []
}
{
"kind": "bound"
}