I am looking for detailed information regarding the function and limitations of schema names in Structured JSON Output. I understand that the purpose of these names is to cache schemas to speed up reuse of the same schemas, but I want to know its limits.
My objective is to create a service that allows clients to create their own response structures, which will be converted into dynamically generated schemas. My current plan is to use a hashing algorithm to generate names based on schema structure, ensuring that the same schemas retain the same names.
However, this can potentially result in many thousands of schemas being cached on the same API Key, including no longer relevant schemas that had unique names but were only partially developed. Are there problems with this? How many schemas is the system intended to handle? Will it start removing schemas from the cache, causing the system to break down? Is there a better way of creating this kind of dynamic schema system?