Commit 9923bfc
committed
fix(ontology): change trackId from single-select to string type
AT-30548 specifies that trackId content is not predefined and can be
any string containing letters and/or numbers. Changed trackId attribute
type from single-select (which requires predefined options) to string.
Also fixed:
- SingleSelectAttribute: Only convert numeric values to strings when
all options are numeric, preventing false-positive ATTRIBUTE_VALUE
errors for non-numeric option sets
- test_automatedtrain_has_safety_critical_classes: Updated expected
classes to match actual ontology (track, signal, buffer_stop, switch)1 parent ad1f4a0 commit 9923bfc
3 files changed
Lines changed: 673 additions & 493 deletions
File tree
- config/ontologies
- raillabel_providerkit/validation/validate_ontology/_ontology_classes/_attributes
- tests
0 commit comments