allowAdditionalProperties

Whether object schemas allow properties that are not declared.

When true: object schemas omit additionalProperties (JSON Schema allows them by default). When false: object schemas emit "additionalProperties": false.

Map schemas are unaffected: they always describe their value type in additionalProperties.

Default: false