Skip to main content

minimum

Category: Keyword — presence of a specific JSON Schema keyword triggers this rule

Error Codes

ProfileCode
anthropic.so.2026-04-30ANT-K-minimum

Description

Flag usage of the 'minimum' keyword, which is not supported by anthropic.so.2026-04-30

Rationale

The anthropic.so.2026-04-30 structured-output provider rejects the 'minimum' keyword. Schemas using this keyword may be rejected or silently altered.

Bad Example

{ "type": "object", "minimum": true, "properties": {} }

Good Example

{
"type": "object",
"properties": {
"name": { "type": "string" }
}
}