Schema validation error for nested $ref in Patch version
As discussed in !654 (comment 297369) , there is an issue with the validation code whenever a nested $ref is present.
Intended behavior
The validation should be passing for Patch version changes since it is not considered breaking.
Try PUT for id: osdu:wks:AbstractFileSourceInfo:1.0.1
The kind osdu:wks:AbstractFileSourceInfo:1.0.1 was registered successfully.
Actual behavior
The validation is failing
Error with kind osdu:wks:dataset--File.Generic:1.0.1: Message: Patch version validation failed.
Changes requiring a minor or major version increment were found; analysed version: 1.0.1 and 1.0.0. Updating the schema version to a higher minor or major version is required.