Schema cannot be a JSON reference that points outside of the '#/components/schemas'
Issue ID: v3-validation-reference-schema
Description
You have defined the reusable schema in question as a JSON reference that points outside of the #/components/schemas
object. This is not possible.
For more details, see the OpenAPI Specification.
Remediation
Make sure that all reusable schemas are defined in the #/components/schemas
object.