Skip to main content

unknown-keyword

Category: Structural — overall schema structure triggers this rule

Error Codes​

ProfileCodeSeverity
openai.so.2026-04-30OAI-S-unknown-keywordWarn
anthropic.so.2026-04-30ANT-S-unknown-keywordWarn

Description​

Flag a keyword the engine does not recognize at all

Provider Evidence​

ProfileStatusSourceBasis
anthropic.so.2026-04-30inferredAnthropic JSON Schema limitationsUnknown keywords are outside the documented supported subset.
openai.so.2026-04-30inferredOpenAI supported schemasUnknown keywords are not covered by the documented supported subset.

Rationale​

schemalint knows a fixed set of JSON Schema keywords. A keyword outside that set was never checked against provider behavior, so schemalint cannot say whether the provider accepts, ignores, or rejects it.

Bad Example​

{ "type": "string", "contentEncoding": "base64" }

Good Example​

{ "type": "string" }