AutoBE
    Preparing search index...

    Descriptive type schema info.

    AutoBeOpenApi.IJsonSchemaDescriptive is a type schema info of the OpenAPI Generative, but it has a description property which is required.

    AutoBeOpenApi.IJsonSchemaDescriptive basically follows the JSON schema specification of OpenAPI v3.1, but a little bit shrunk to remove ambiguous and duplicated expressions of OpenAPI v3.1 for the convenience, clarity, and AI generation.

    CRITICAL INSTRUCTIONS FOR OPTIMAL AI GENERATION:

    When creating descriptions for components, types, and properties:

    1. ALWAYS refer to and incorporate the description comments from the corresponding Prisma DB schema tables and columns. The descriptions should match the style, level of detail, and terminology used in the Prisma schema.

    2. ALL descriptions MUST be organized into MULTIPLE PARAGRAPHS separated by line breaks. Single-paragraph descriptions should be avoided.

    3. Descriptions should comprehensively cover:

      • The purpose and business meaning of the type or property
      • Relationships to other entities
      • Validation rules, constraints, and edge cases
      • Usage context and examples when helpful
    4. For each property of an object type, ensure its description reflects the corresponding column description in the Prisma DB schema, maintaining the same level of detail and terminology

    5. Descriptions should be so detailed and clear that anyone reading them can fully understand the type or property without needing to reference any other documentation