fn validate_obstacle( obstacle: &StaticObstacle, path: &str, ) -> Result<SpatialLayerId, EncounterValidationError>