BM Industrie · Schema

LineHealth

CompanyPaymentsMobile MoneyGeocodingMapsIdentity VerificationKYCFleet TrackingAfricaCameroon

Properties

Name Type Description
data array
meta object
View JSON Schema on GitHub

JSON Schema

bm-e-industrie-com-line-health-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bm-e-industrie-com/json-schema/bm-e-industrie-com-line-health-schema.json",
  "title": "LineHealth",
  "x-generated": "2026-11-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bm-e-industrie-com-track-openapi.yml#/components/schemas/LineHealth",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "letter": {
            "type": "string"
          },
          "color": {
            "type": [
              "object",
              "null"
            ],
            "description": "Call 4: the line's palette slot, `key`, with its `light` and `dark` step, for the map's theme.",
            "properties": {
              "key": {
                "type": "string"
              },
              "light": {
                "type": "string"
              },
              "dark": {
                "type": "string"
              }
            }
          },
          "measured_on": {
            "type": "string",
            "enum": [
              "road",
              "chords"
            ]
          },
          "vehicles": {
            "type": "array",
            "description": "Each vehicle assigned to the line, by name.",
            "items": {
              "type": "object",
              "properties": {
                "device": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "name": {
                      "type": "string"
                    }
                  }
                },
                "state": {
                  "type": "string",
                  "enum": [
                    "on_line",
                    "off_line",
                    "stale",
                    "elsewhere"
                  ],
                  "description": "`elsewhere`: on a line it is assigned to but not judged on, because it is running another of its lines (`on`); nothing is said or counted about it here. A vehicle off every one of its lines is `off_line` on the nearest only."
                },
                "on": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "uuid",
                  "description": "With `elsewhere` only: the line it is judged on."
                },
                "along_m": {
                  "type": [
                    "integer",
                    "null"
                  ],
                  "description": "From the first station; on_line only."
                },
                "off_by_m": {
                  "type": [
                    "integer",
                    "null"
                  ],
                  "description": "How far off; off_line only."
                },
                "at": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "uuid",
                  "description": "The station's zone it stands in."
                },
                "flags": {
                  "type": "array",
                  "description": "In this order, when present.",
                  "items": {
                    "type": "string",
                    "enum": [
                      "bunched",
                      "gap",
                      "overstay"
                    ]
                  }
                },
                "dwell_minutes": {
                  "type": [
                    "integer",
                    "null"
                  ],
                  "description": "How long it has stood at `at`."
                },
                "bunched_with": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "description": "The nearest vehicle it is bunched with, and how far along the line.",
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "name": {
                      "type": "string"
                    },
                    "metres": {
                      "type": "integer"
                    }
                  }
                },
                "gap_to": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "description": "The vehicle going the same way across its gap (the longer, if it has two), and how far.",
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "name": {
                      "type": "string"
                    },
                    "metres": {
                      "type": "integer"
                    }
                  }
                }
              }
            }
          },
          "counts": {
            "type": "object",
            "properties": {
              "on_line": {
                "type": "integer"
              },
              "off_line": {
                "type": "integer"
              },
              "stale": {
                "type": "integer"
              },
              "bunched": {
                "type": "integer"
              },
              "gap": {
                "type": "integer"
              },
              "overstay": {
                "type": "integer"
              }
            }
          }
        }
      }
    },
    "meta": {
      "type": "object",
      "properties": {
        "computed_at": {
          "type": "string",
          "format": "date-time"
        },
        "lines_hash": {
          "type": "string"
        },
        "thresholds": {
          "type": "object",
          "properties": {
            "corridor_m": {
              "type": "integer"
            },
            "bunched_m": {
              "type": "integer"
            },
            "gap_m": {
              "type": "integer"
            },
            "overstay_minutes": {
              "type": "integer"
            },
            "position_max_age_minutes": {
              "type": "integer"
            }
          }
        }
      }
    }
  },
  "required": [
    "data",
    "meta"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/bm-e-industrie-com-line-health"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.