OpenSimulationInterface / osi-validation

Tools around the OSI used to verify the content of messages and more.
Other
10 stars 8 forks source link

Validating a .yml rule #64

Closed jdsika closed 5 months ago

jdsika commented 8 months ago

As a user I want to make sure that a custom rule set that has been created manually is parsed and checked for validity. The parser module is currently handling errors like a misspelled rule (without saying in which line the error is). This parser should be extended.

masipp commented 8 months ago

To add to this request we have the following usecase: We want to be able to gather requirements from a provider of a sensor fmu so that we are able to

  1. Check if the currently used environment simulation provides all information necessary for a specific FMU
  2. Be able to approach the supplier of the environment simulation with new requirements

In order to make this possible the process of using the validator should be as userfriendly as possible to get high quality requirements.

The validation of the yaml files should therefore tell the user where an error has occured. In addition it would be great if the user is provided with a schema of what he is allowed to fill the yaml files with that can be included in an IDE for autocompletion.