Database model name that this schema maps to.
Specifies which database table/model this DTO type corresponds to. Creates a traceable link between API types and database entities.
Set to the exact model name (e.g., "shopping_customers",
"bbs_articles") when this schema directly represents or derives from a
database entity
Set to null for:
When null, the specification field becomes critical for downstream
agents to understand how to implement data retrieval or computation.
API documentation for consumers.
Standard OpenAPI description displayed in Swagger UI, SDK documentation, and other API documentation tools. Focus on explaining WHAT the type represents and WHY it exists from an API consumer's perspective.
Guidelines:
JSON Schema definition for the type.
The actual type structure following OpenAPI v3.1 JSON Schema specification. Can be any valid JSON Schema type: object, array, string, number, integer, boolean, oneOf, or $ref.
Important:
oneOf - NEVER use array notation in type fieldoneOf: [{ type: "..." }, { type: "null" }]$ref for referencing other named schemasImplementation specification for downstream agents.
Detailed guidance on HOW to implement data retrieval, transformation, or computation for this type. Internal documentation for Realize Agent, Test Agent, and other implementation agents - NOT exposed in public API docs.
When databaseSchema is set (direct mapping):
When databaseSchema is null (computed/aggregated types):
This field is CRITICAL. Must include:
Must be precise enough for downstream agents to implement the actual data retrieval or computation. Vague specifications are unacceptable.
Design structure for creating OpenAPI schema components.
Separates schema metadata from the actual JSON Schema definition, allowing clear organization of implementation details (
specification), API documentation (description), and the type structure (schema).The
specificationanddescriptionfields are documented at the design level, separate from theschemafield which holds the pure type structure.Author
Samchon