Skip to content

Improve validateSchemas script to handle deprecated schemas referenced by previously released schemas #597

@hl662

Description

@hl662

From this PR: #594

Tried to move the RoadRailUnits folder into a 'Deprecated' folder under '2-DisciplinePhysical/Civil', and manually updated schemaInventory.json to point all previous and WIP RRU schemas to the deprecated folder.

However, running the validateSchema node script causes released schemas, like RoadRailAlignment.01.00.0X, to complain about RoadRailUnits.01.00.0X to not be found.

It seems like that script ignores schemas that are found in 'Deprecated' folders... this issue can be used to discuss how we want to update the validation script to handle deprecated schemas that are released previously, back when it wasn't flagged as deprecated.

Should be noted, this process of deprecation is different from adding a custom attribute to a schema saying it is 'Deprecated', we are trying to move the deprecated schemas into a dedicated 'Deprecated' folder

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions