I have 2 files with uses the same $ref call to another file - just to prevent code duplication.
... SomePropName: type: object allOf: - $ref: "./exam