Skip to main content

string-length-budget

Category: Structural — overall schema structure triggers this rule

Error Codes​

ProfileCodeSeverity
openai.so.2026-04-30OAI-S-string-length-budgetForbid

Description​

Total property and enum string length must not exceed 120000

Provider Evidence​

ProfileStatusSourceBasis
openai.so.2026-04-30documentedOpenAI schema limits—

Rationale​

openai.so.2026-04-30 enforces a schema string-length budget.

Bad Example​

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

Good Example​

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