Schema cannot be a JSON reference that points outside '#/definitions'
You have defined the schema in question as a JSON reference that points outside of the
definitions object. This is not possible.
For more details, see the OpenAPI Specification.
Make sure that all schemas that are JSON references are defined in the