## validate_structure_map_references()


Validate that all RepresentationMap references are resolved.


Usage

``` python
validate_structure_map_references(structure_map)
```


This function checks if ComponentMap and MultiComponentMap rules contain actual RepresentationMap objects rather than just URN strings. It also validates that RepresentationMaps have required fields set.


## Parameters


`structure_map: StructureMap`  
The StructureMap to validate.


## Raises


`ValueError`  
If any ComponentMap or MultiComponentMap contains only a URN string reference instead of the actual object, or if RepresentationMaps have missing required fields.


## Examples

``` python
    >>> try:
    ...     validate_structure_map_references(my_structure_map)
    ...     print("All references are resolved!")
    ... except ValueError as e:
    ...     print(f"Unresolved references: {e}")
```
