You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The good news is that the LinkML model is itself written in LinkML, so it should be validatable. Unfortunately, most of those validation methods are designed around other formats (such as validating JSON, JSON-LD, RDF and so on) but I haven't found one for validating the YAML directly. Two possibilities:
If we load the generated YAML Schema using the LinkML YAML loader, this should generate validation errors if something is wrong somewhere. We should probably write a unit test with a deliberately broken YAML file to make sure of that, though.
The good news is that the LinkML model is itself written in LinkML, so it should be validatable. Unfortunately, most of those validation methods are designed around other formats (such as validating JSON, JSON-LD, RDF and so on) but I haven't found one for validating the YAML directly. Two possibilities:
This might be something worth doing upstream in LinkML so that every LinkML model's generated JSON Schema can be automatically validated.
The text was updated successfully, but these errors were encountered: