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.
How to read this page
Section titled “How to read this page”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.
| Kind | Use for | Minimum version |
|---|---|---|
| null | An explicitly empty value | 1 |
| boolean | A yes/no choice | 1 |
| string | Text, identifiers and descriptions | 1 |
| number | Measurements, including fractions | 1 |
| integer | Whole-number counts | 1 |
| person | A person assigned to a record | 1 |
| enum | One choice from declared options | 1 |
| array | An ordered list of values | 1 |
| object | A group of named properties | 1 |
| datetime | A date and time | 2 |
| attachment | A file, such as a drawing or report | 3 |
| bound | A numeric limit or acceptable range, with units | 4 |
{ "kind": "null"}boolean
Section titled “boolean”{ "kind": "boolean"}string
Section titled “string”{ "kind": "string"}number
Section titled “number”{ "kind": "number"}integer
Section titled “integer”{ "kind": "integer"}person
Section titled “person”{ "kind": "person"}{ "kind": "enum", "members": [ "open", "closed" ]}{ "kind": "array", "items": { "kind": "string" }, "maxItems": 10}object
Section titled “object”{ "kind": "object", "properties": { "name": { "kind": "string" } }, "required": [ "name" ]}datetime
Section titled “datetime”{ "kind": "datetime"}attachment
Section titled “attachment”{ "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"}