The length of a parameter field exeeds the limit

I am unable to save the Schema created from text.json file (attached). The error occured The length of a parameter field exeeds the limi. For this schema we can not split it to more smaller chemas, because we used generated TypeScript definition for i18next and i18next is unable to work with a type that contains multiple other types.
test.json|nullxnull
image.png

Hello, sorry to hear you’re experiencing this issue. Generally, we don’t recommend designing overly large data models as they reduce readability and increase maintenance difficulty. In your case, splitting the schema into smaller sub-models and combining them via references could bypass the field length limit while improving maintainability.

Could you confirm:

  1. Is this Schema a one-time import or will it require multiple updates?
  2. Which specific usage aspects concern you if we split it? We’ll review how to optimize based on your actual scenario.
  1. it is updated regularly
  1. it is updated regularly
  2. we generate typescript types from ApiDog open api definition for our javascript project. But if we have schemas in open api the typescript types have more than one typ definition (Button is schema) smth. like this (attached image). But i18next does not support it and does not work. The Translation type has to be one type without any refer to any types.
    image.png

We understand your concern about not being able to split the schema due to i18next limitations. Currently, the only workaround is to split the models and use references. We’ve documented your use case and will share it with our product team for evaluation.