AutoBE
    Preparing search index...

    Boolean type info.

    interface IBoolean {
        description: string;
        type: "boolean";
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    description: string

    Description about the type.

    CRITICAL: This description MUST be extensively detailed and MUST reference and align with the description comments from the corresponding Prisma DB schema tables and columns.

    The description MUST be organized into MULTIPLE PARAGRAPHS (separated by line breaks) based on different aspects of the type:

    • The purpose and business meaning of the type
    • Relationships to other entities in the system
    • Validation rules, constraints, and edge cases
    • Usage context and examples when helpful

    This structured approach improves readability and helps readers better understand the type's various characteristics and use cases. The description should be so comprehensive that anyone reading it can fully understand the type without needing to reference other documentation.

    MUST be written in English. Never use other languages.

    type: "boolean"

    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.