# Transit Set

> Custom movement descriptions for a dimension.

Page: https://docs.icepack.ai/ivr/transit-set/

## Overview

### Applicable models
* IVR7 `ivr7-kt461v8eoaif`
* IVR8 `ivr8-yni1c9k2swof`

<hr>

## Transit Set
Transit sets define a collection of movements between locations. Transit sets are typically included in a model through [transit generators](/ivr/transit-generator/) directly or through a [data upload](/ivr/ivrdata/) which is then, again, referenced through a [transit generator](/ivr/transit-generator/).
### Schema definition 

```protobuf
message TransitSet {
  repeated TransitValue transits = 1;
}
```



### Fields

transits
: A list of transit values. A transit value defines a dimensional quantity between an origin and destination pair. The pairs are directed. Duplicates pairs within a collection is considered an input error.

### Examples

The following sample illustrates a custom time matrix:
```protobuf
transitSet {
  transits {
    fromId: "A"
    toId: "B"
    value: 26.8884
  }
  ...
  transits {
    fromId: "B"
    toId: "C"
    value: 10.6725
  }
  transits {
    fromId: "B"
    toId: "A"
    value: 93.9055
  }
}
```



<hr> 


## Transit Value
A transit value defines the value for movement between a pair of [locations](/ivr/location/).

### Schema definition 

```protobuf
message TransitValue {
  required string fromId = 1;
  required string toId = 2;
  required float value = 3;
}
```



### Fields

fromId
: The [location](/ivr/location/) identifier for the origin of the pair. 

toId
: The [location](/ivr/location/) identifier for the destination of the pair.

value
: The value corresponding to the pair.

### Examples

```protobuf
  fromId: "Dublin Central"
  toId: "Temple Bar"
  value: 12.68
```



<hr>

