propertyNames
Category: Keyword — presence of a specific JSON Schema keyword triggers this rule
Error Codes
| Profile | Code | Severity |
|---|---|---|
| openai.so.2026-04-30 | OAI-K-propertyNames | Forbid |
Description
Flag usage of the 'propertyNames' keyword, which is not supported by openai.so.2026-04-30
Provider Evidence
| Profile | Status | Source | Basis |
|---|---|---|---|
| openai.so.2026-04-30 | inferred | OpenAI type-specific keywords | Absent from the documented supported object constraints. |
Rationale
The openai.so.2026-04-30 structured-output provider rejects the 'propertyNames' keyword. Schemas using this keyword may be rejected or silently altered.
Bad Example
{ "type": "object", "propertyNames": true, "properties": {} }
Good Example
{
"type": "object",
"properties": {
"name": { "type": "string" }
}
}