# ai.newnal.mydata.lifestyleMobility

> Commuting and travel routes and modes of transport.

- Kind: record
- Record key: literal:self
- Authority: mydata.newnal.ai
- Lexicon: 1
- Published by [newnal-platform.newnal.id](https://lexicon.garden/identity/did:plc:vciktevzoffubdvdaajz2yp3), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:vciktevzoffubdvdaajz2yp3/ai.newnal.mydata.lifestyleMobility)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:vciktevzoffubdvdaajz2yp3/ai.newnal.mydata.lifestyleMobility/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:vciktevzoffubdvdaajz2yp3/ai.newnal.mydata.lifestyleMobility/analytics)

## Record (`ai.newnal.mydata.lifestyleMobility`)

Type: record · key literal:self

### Properties

- `_meta` (ref, required)
  - Reference: `ai.newnal.mydata.defs#recordMeta`
- `data` (union, required)
  - One of (closed): `#section`

## #section (`ai.newnal.mydata.lifestyleMobility#section`)

Type: object

Commuting and travel routes and modes of transport.

### Properties

- `commute` (string): A description of the everyday way or route of commuting.
  - Constraints: maxLength: 30000, maxGraphemes: 3000
- `primaryMode` (string): The mode of transport used most.
  - Constraints: maxLength: 640, maxGraphemes: 64, knownValues: public_transit | car | walking | bike | taxi | rideshare
- `transportModes` (array): List of the modes of transport mainly used.
  - Constraints: maxLength: 100
  - `items` (string): One item of the list of the modes of transport mainly used.
    - Constraints: maxLength: 640, maxGraphemes: 64, knownValues: public_transit | walking | car | bike | taxi | rideshare
- `usualRoutes` (array): List of the routes travelled often.
  - Constraints: maxLength: 100
  - `items` (string): One item of the list of the routes travelled often.
    - Constraints: maxLength: 640, maxGraphemes: 64, knownValues: home_to_work | home_to_school | gym_route | airport_route

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Commuting and travel routes and modes of transport.",
      "key": "literal:self",
      "record": {
        "properties": {
          "_meta": {
            "ref": "ai.newnal.mydata.defs#recordMeta",
            "type": "ref"
          },
          "data": {
            "closed": true,
            "refs": [
              "#section"
            ],
            "type": "union"
          }
        },
        "required": [
          "data",
          "_meta"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "section": {
      "description": "Commuting and travel routes and modes of transport.",
      "properties": {
        "commute": {
          "description": "A description of the everyday way or route of commuting.",
          "maxGraphemes": 3000,
          "maxLength": 30000,
          "type": "string"
        },
        "primaryMode": {
          "description": "The mode of transport used most.",
          "knownValues": [
            "public_transit",
            "car",
            "walking",
            "bike",
            "taxi",
            "rideshare"
          ],
          "maxGraphemes": 64,
          "maxLength": 640,
          "type": "string"
        },
        "transportModes": {
          "description": "List of the modes of transport mainly used.",
          "items": {
            "description": "One item of the list of the modes of transport mainly used.",
            "knownValues": [
              "public_transit",
              "walking",
              "car",
              "bike",
              "taxi",
              "rideshare"
            ],
            "maxGraphemes": 64,
            "maxLength": 640,
            "type": "string"
          },
          "maxLength": 100,
          "type": "array"
        },
        "usualRoutes": {
          "description": "List of the routes travelled often.",
          "items": {
            "description": "One item of the list of the routes travelled often.",
            "knownValues": [
              "home_to_work",
              "home_to_school",
              "gym_route",
              "airport_route"
            ],
            "maxGraphemes": 64,
            "maxLength": 640,
            "type": "string"
          },
          "maxLength": 100,
          "type": "array"
        }
      },
      "type": "object"
    }
  },
  "id": "ai.newnal.mydata.lifestyleMobility",
  "lexicon": 1
}
```
