diff --git a/docs/src/content/docs/reference/scripts/schemas.mdx b/docs/src/content/docs/reference/scripts/schemas.mdx index 473d6a9f7..b8bfbff09 100644 --- a/docs/src/content/docs/reference/scripts/schemas.mdx +++ b/docs/src/content/docs/reference/scripts/schemas.mdx @@ -211,6 +211,10 @@ const schema = defSchema(...) $`Use ${schema} for the JSON schema.` ``` +## inference + +Use `JSONSchema.infer` to generate a JSON schema from a JSON object. + ## Validation When a JSON/YAML payload is generated with the schema identifier,