Schema.Record({key: Schema.String, value: SomeStructSchema})patternProperties to represent this in the OpenAPI schema which has some issues:{}openapi-ts for example generates Record<string, never> from that. Not sure if that is a common issue with those type of tools though.OpenApi.Transform to manually modify the schema to use additionalProperties instead but it's a bit messy and not typechecked.