Skip to content

Capture strict structured-output JSON-schema encoding rules #66

Description

@OmarAlJarrah

Problem

If the generator ever emits JSON schemas for structured outputs, the encoding must be strict (all-required + additionalProperties:false + optional-as-nullable-union).

Proposed change

Capture the strict-schema encoding rules. Any schema derivation is a Jackson-based adapter module (never sdk-core), and we hand-roll a subset validator rather than pulling a json-schema library.

Acceptance

  • Encoding rules documented
  • Confirmed adapter-only (no core dep)

Priority: low · Effort: small

Metadata

Metadata

Assignees

No one assigned

    Labels

    codegenfuture KotlinPoet codegenenhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions