A json_schema can be added to the field description The json_schema is used to validate the jsonfield data during full_clean or during restframework validation The field is also documented on Swagger ...
Next steps A change is required to the ChatCompletion class such that extra fields that aren't exactly matching with OpenAI's completion definition are not excluded, or for support to be made ...