API documentation for the type.
This is the standard OpenAPI description field that will be displayed in Swagger UI, SDK documentation, and other API documentation tools. Focus on explaining the type from an API consumer's perspective.
The description SHOULD be organized into MULTIPLE PARAGRAPHS (separated by line breaks) covering:
x-autobe-specification for object types)MUST be written in English. Never use other languages.
OptionalexclusiveExclusive maximum value restriction.
OptionalexclusiveExclusive minimum value restriction.
OptionalmaximumMaximum value restriction.
OptionalminimumMinimum value restriction.
OptionalmultipleMultiple of value restriction.
Discriminator value of the type.
CRITICAL: This MUST be a SINGLE string value, NOT an array. The type field identifies the JSON Schema type and must be exactly one of: "boolean", "integer", "number", "string", "array", "object", or "null".
❌ INCORRECT: type: ["string", "null"] // This is WRONG! ✅ CORRECT: type: "string" // For nullable string, use oneOf instead
If you need to express a nullable type (e.g., string | null), you MUST
use the IOneOf structure:
{
"oneOf": [{ "type": "string" }, { "type": "null" }]
}
NEVER use array notation in the type field. The type field is a discriminator that accepts only a single string value.
Implementation specification for this type.
This is an AutoBE-internal field (not exposed in standard OpenAPI output) that provides detailed implementation guidance for downstream agents (Realize Agent, Test Agent, etc.).
Include HOW this type should be implemented:
SUM, COUNT, AVG, etc.)This field is especially critical when x-autobe-database-schema is
null (for composite, computed, or request parameter types), as it
provides the only guidance for implementing data retrieval or
computation logic.
MUST be written in English. Never use other languages.
Number (double) type info.