Skip to main content

Model Field Description

Common Field Properties

  • Field Name: The friendly text name displayed on the content management interface
  • Field Identifier: Corresponds to the field name in the database. When reading or writing via SDK or HTTP API, it will be based on the field identifier.
  • Field Description: The descriptive information displayed on the content management interface
  • Default Value: The value used by default in the content management interface when the user does not fill in the content.
  • Required: Specifies whether a field must be filled in. If not filled in, an error will be reported.
  • Unique: When enabled, the value of this field must be unique within a content table.
  • Is Primary Display Column: When associated by other content tables, the displayed list will show data based on the primary display column by default. The default primary display column is _id.

Supported Field Types

Currently supported types: Text, Boolean, Number, Array, Object, JSON, Email, Phone, URL, Image, Rich Text, Markdown, Date & Time, Enum, Geolocation, File, Auto ID, Region, Relationship (New)

TypeDescriptionExampleRemarks
TextUsed to store string-type text information, supporting both single-line and multi-line text."Hello, World!"The maximum storage capacity is 4000 bytes. For longer content, use the rich text field.
BooleanUsed to store logical values of true or false.true/ false-
NumberUsed to store integers or floating-point numbers42 / 3.14The total number of integer and decimal digits must not exceed 16; decimal calculations may experience precision loss.
ArrayUsed to store a set of elements of the same type.[1, 2, 3]-
ObjectUsed to store collections of key-value pairs, supporting nested types.{"name": "Alice", "age": 30}-
JSONUsed to store JSON-formatted data.{"key": "value"}Suitable for complex data structures or dynamic properties.
EmailUsed to store email addresses."john@example.com"-
PhoneUsed to store phone numbers, supporting both mobile and landline numbers."18888888888"Mobile numbers: 11-digit string compliant with Chinese mainland standards; landline numbers: string starting with 0 followed by 2-3 digit area code and local number, or 7-8 digit string without area code
URLUsed to store web links."https://www.example.com"-
ImageUsed to store links or paths to image files."cloud://xxx.com/path/to/image.jpg" / "https://foo.bar/example.png"Maximum 10M per image
MultimediaUsed to store links or paths to audio or video files."cloud://xxx.com/path/to/a.mp4" / "https://foo.bar/example.mp4"Maximum 500M per file
Rich TextUsed to store formatted text content, such as HTML.<p>This is a paragraph</p>Maximum length 262144 bytes
MarkdownUsed to store text content in Markdown format."# This is a heading"Can be edited using a Markdown editor with real-time preview support.
DateTimeUsed to store date and time information."1645977600000"Timestamp in milliseconds
EnumUsed to store values from a predefined set, supporting single or multiple selection."am" / ["1", "2"]Single selection stores a string; multiple selection stores an array.
GeolocationUsed to store geographic location information.{"geopoint": {"type": "Point","coordinates": [40.56, 5.89]}, "address": "Shennan Avenue, Nanshan District, Shenzhen"}Fixed-format object where address is the textual location description and coordinates is an array containing latitude and longitude.
FileUsed to store links or paths to files."cloud:://xxx.com/path/to/file.pdf" / "https://foo.bar/example.pdf"Maximum 500M per file
Auto-increment IDUsed to automatically generate unique identifiers.1001If left blank, the backend auto-populates; if provided, uses the user-defined value.
RegionUsed to store regional information."Shaanxi Province, Xi'an City, Yanta District" / "Beijing City, Haidian District"Comma-separated geographical locations supporting province, city, and district levels
Relationship (New)Used to represent associations between models.-Supports one-to-one, many-to-one, one-to-many