app.attrails.defs

attrails.app

Documentation

aspectRatio object

Width:height ratio so clients can lay out before the image loads.

Properties

height integer Required

No description available.

minimum: 1
width integer Required

No description available.

minimum: 1
View raw schema
{
  "description": "Width:height ratio so clients can lay out before the image loads.",
  "properties": {
    "height": {
      "minimum": 1,
      "type": "integer"
    },
    "width": {
      "minimum": 1,
      "type": "integer"
    }
  },
  "required": [
    "width",
    "height"
  ],
  "type": "object"
}
cycling token

Cycling of any kind.

Referenceapp.attrails.defs#cycling

Tokens have no data representation. Use the reference string as a value.

View raw schema
{
  "description": "Cycling of any kind.",
  "type": "token"
}
easy token

Easy for the stated activity.

Referenceapp.attrails.defs#easy

Tokens have no data representation. Use the reference string as a value.

View raw schema
{
  "description": "Easy for the stated activity.",
  "type": "token"
}
extreme token

Extreme for the stated activity.

Referenceapp.attrails.defs#extreme

Tokens have no data representation. Use the reference string as a value.

View raw schema
{
  "description": "Extreme for the stated activity.",
  "type": "token"
}
gravel token

Mostly gravel / unpaved roads.

Referenceapp.attrails.defs#gravel

Tokens have no data representation. Use the reference string as a value.

View raw schema
{
  "description": "Mostly gravel / unpaved roads.",
  "type": "token"
}
hard token

Hard for the stated activity.

Referenceapp.attrails.defs#hard

Tokens have no data representation. Use the reference string as a value.

View raw schema
{
  "description": "Hard for the stated activity.",
  "type": "token"
}
hiking token

Hiking or trekking.

Referenceapp.attrails.defs#hiking

Tokens have no data representation. Use the reference string as a value.

View raw schema
{
  "description": "Hiking or trekking.",
  "type": "token"
}
image object

A photo attached to a route or review.

Properties

alt string Required

Alt text for accessibility. May be empty.

maxLength: 20000 bytesmaxGraphemes: 2000 graphemes
aspectRatio ref #aspectRatio Optional

No description available.

image blob Required

No description available.

maxSize: 1.0 MB
View raw schema
{
  "description": "A photo attached to a route or review.",
  "properties": {
    "alt": {
      "description": "Alt text for accessibility. May be empty.",
      "maxGraphemes": 2000,
      "maxLength": 20000,
      "type": "string"
    },
    "aspectRatio": {
      "ref": "#aspectRatio",
      "type": "ref"
    },
    "image": {
      "accept": [
        "image/*"
      ],
      "maxSize": 1000000,
      "type": "blob"
    }
  },
  "required": [
    "image",
    "alt"
  ],
  "type": "object"
}
mixed token

Mix of surfaces.

Referenceapp.attrails.defs#mixed

Tokens have no data representation. Use the reference string as a value.

View raw schema
{
  "description": "Mix of surfaces.",
  "type": "token"
}
moderate token

Moderate for the stated activity.

Referenceapp.attrails.defs#moderate

Tokens have no data representation. Use the reference string as a value.

View raw schema
{
  "description": "Moderate for the stated activity.",
  "type": "token"
}
other token

Any other activity.

Referenceapp.attrails.defs#other

Tokens have no data representation. Use the reference string as a value.

View raw schema
{
  "description": "Any other activity.",
  "type": "token"
}
paved token

Entirely paved.

Referenceapp.attrails.defs#paved

Tokens have no data representation. Use the reference string as a value.

View raw schema
{
  "description": "Entirely paved.",
  "type": "token"
}
running token

Running or jogging.

Referenceapp.attrails.defs#running

Tokens have no data representation. Use the reference string as a value.

View raw schema
{
  "description": "Running or jogging.",
  "type": "token"
}
trail token

Singletrack, footpath or trail.

Referenceapp.attrails.defs#trail

Tokens have no data representation. Use the reference string as a value.

View raw schema
{
  "description": "Singletrack, footpath or trail.",
  "type": "token"
}
walking token

Walking.

Referenceapp.attrails.defs#walking

Tokens have no data representation. Use the reference string as a value.

View raw schema
{
  "description": "Walking.",
  "type": "token"
}

Lexicon Garden

@