Skip to main content

additionalProperties-restricted

Category: Restriction — a keyword value outside the allowed set triggers this rule

Error Codes​

ProfileCodeSeverity
openai.so.2026-04-30OAI-K-additionalProperties-restrictedForbid
anthropic.so.2026-04-30ANT-K-additionalProperties-restrictedForbid

Description​

Restrict 'additionalProperties' values according to the active provider profile.

Provider Evidence​

ProfileStatusSourceBasis
anthropic.so.2026-04-30documentedAnthropic JSON Schema limitations—
openai.so.2026-04-30documentedOpenAI additionalProperties—

Rationale​

Provider profiles may enforce different behavior and severity for this rule; use the table below for the selected profile.

Bad Example​

{ "type": "object", "additionalProperties": "invalid-value", "properties": {} }

Good Example​

{ "type": "object", "additionalProperties": false, "properties": {} }