Class JsonSchema

java.lang.Object
ai.doctruth.JsonSchema

public final class JsonSchema extends Object
Caller-supplied JSON Schema for schema-bound extraction. This is the interchange surface for exported Pydantic schemas: DocTruth consumes ordinary schema JSON and does not require Python at runtime.
Since:
0.1.0
  • Method Details

    • from

      public static JsonSchema from(String json)
    • from

      public static JsonSchema from(Path path)
    • node

      public com.fasterxml.jackson.databind.JsonNode node()