raillabel_providerkit.validation.validate_schema package

Submodules

raillabel_providerkit.validation.validate_schema.validate_schema module

raillabel_providerkit.validation.validate_schema.validate_schema.validate_schema(data: dict) list[Issue]

Validate a scene for adherence to the raillabel schema.

Parameters:

data (dict) – _description_

Returns:

List of all schema errors in the scene. If an empty list is returned, then there are no errors present

Return type:

list[Issue]

Module contents

Code for schema validation.

raillabel_providerkit.validation.validate_schema.validate_schema(data: dict) list[Issue]

Validate a scene for adherence to the raillabel schema.

Parameters:

data (dict) – _description_

Returns:

List of all schema errors in the scene. If an empty list is returned, then there are no errors present

Return type:

list[Issue]