AssetLab · Schema

InfrastructureAssetUpdate

Replace geometry by providing a new GeoJSON Point/LineString matching the existing `feature_type`. Computed columns cannot be set.

CMMSAsset ManagementFacilitiesCanadaSoftware-as-a-Service

Properties

Name Type Description
geometry object
name stringnull
feature_code stringnull Human-readable Feature ID, unique per tenant
description stringnull
external_ids object
from_street stringnull
to_street stringnull
image_url stringnull
qr_code stringnull
from_feature_id stringnull
to_feature_id stringnull
flow_direction stringnull
asset_type_id stringnull
manufacturer_id stringnull
system_class_id stringnull
system_group_id stringnull
system_id stringnull
model stringnull
serial_number stringnull
site_id stringnull
building_id stringnull
location_id stringnull
status_id stringnull
condition_score numbernull
last_maintenance_date stringnull
risk_factor stringnull
consequence_of_failure_score numbernull
likelihood_of_failure_score numbernull
safety_impact stringnull
service_impact stringnull
environmental_impact stringnull
financial_impact numbernull Estimated cost of a failure. Money in the organization's currency - GET /v1/organization-settings for currency_code
regulatory_impact stringnull
reputation_impact stringnull
purchase_cost numbernull Money in the organization's currency - GET /v1/organization-settings for currency_code
purchase_date stringnull
install_date stringnull
expected_lifetime_years numbernull
salvage_value numbernull Money in the organization's currency - GET /v1/organization-settings for currency_code
salvage_value_percentage numbernull
quantity numbernull
unit_of_measure stringnull
unit_replacement_value numbernull Money in the organization's currency - GET /v1/organization-settings for currency_code
purchase_cost_calculation_method stringnull
material stringnull
diameter_mm numbernull
width_m numbernull
lanes integernull
road_class integernull O. Reg. 239/02 road class. Classes 1-2 are arterial, 3-4 collector, 5-6 local.
depth_m numbernull
from_invert_m numbernull
to_invert_m numbernull
positional_accuracy_class stringnull
data_source stringnull
View JSON Schema on GitHub

JSON Schema

assetlab-ca-infrastructure-asset-update-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/assetlab-ca/json-schema/assetlab-ca-infrastructure-asset-update-schema.json",
  "title": "InfrastructureAssetUpdate",
  "description": "Replace geometry by providing a new GeoJSON Point/LineString matching the existing\n`feature_type`. Computed columns cannot be set.\n",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/assetlab-ca-openapi.yaml#/components/schemas/InfrastructureAssetUpdate",
  "type": "object",
  "properties": {
    "geometry": {
      "$ref": "#/$defs/GeoJsonGeometry"
    },
    "name": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 500
    },
    "feature_code": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 100,
      "description": "Human-readable Feature ID, unique per tenant"
    },
    "description": {
      "type": [
        "string",
        "null"
      ]
    },
    "external_ids": {
      "type": "object",
      "additionalProperties": true
    },
    "from_street": {
      "type": [
        "string",
        "null"
      ]
    },
    "to_street": {
      "type": [
        "string",
        "null"
      ]
    },
    "image_url": {
      "type": [
        "string",
        "null"
      ]
    },
    "qr_code": {
      "type": [
        "string",
        "null"
      ]
    },
    "from_feature_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "to_feature_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "flow_direction": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "with_geometry",
        "against_geometry"
      ]
    },
    "asset_type_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "manufacturer_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "system_class_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "system_group_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "system_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "model": {
      "type": [
        "string",
        "null"
      ]
    },
    "serial_number": {
      "type": [
        "string",
        "null"
      ]
    },
    "site_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "building_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "location_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "status_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "condition_score": {
      "type": [
        "number",
        "null"
      ],
      "minimum": 0,
      "maximum": 100
    },
    "last_maintenance_date": {
      "type": [
        "string",
        "null"
      ],
      "format": "date"
    },
    "risk_factor": {
      "type": [
        "string",
        "null"
      ]
    },
    "consequence_of_failure_score": {
      "type": [
        "number",
        "null"
      ]
    },
    "likelihood_of_failure_score": {
      "type": [
        "number",
        "null"
      ]
    },
    "safety_impact": {
      "type": [
        "string",
        "null"
      ]
    },
    "service_impact": {
      "type": [
        "string",
        "null"
      ]
    },
    "environmental_impact": {
      "type": [
        "string",
        "null"
      ]
    },
    "financial_impact": {
      "type": [
        "number",
        "null"
      ],
      "description": "Estimated cost of a failure. Money in the organization's currency - GET /v1/organization-settings for currency_code"
    },
    "regulatory_impact": {
      "type": [
        "string",
        "null"
      ]
    },
    "reputation_impact": {
      "type": [
        "string",
        "null"
      ]
    },
    "purchase_cost": {
      "type": [
        "number",
        "null"
      ],
      "description": "Money in the organization's currency - GET /v1/organization-settings for currency_code"
    },
    "purchase_date": {
      "type": [
        "string",
        "null"
      ],
      "format": "date"
    },
    "install_date": {
      "type": [
        "string",
        "null"
      ],
      "format": "date"
    },
    "expected_lifetime_years": {
      "type": [
        "number",
        "null"
      ]
    },
    "salvage_value": {
      "type": [
        "number",
        "null"
      ],
      "description": "Money in the organization's currency - GET /v1/organization-settings for currency_code"
    },
    "salvage_value_percentage": {
      "type": [
        "number",
        "null"
      ]
    },
    "quantity": {
      "type": [
        "number",
        "null"
      ]
    },
    "unit_of_measure": {
      "type": [
        "string",
        "null"
      ]
    },
    "unit_replacement_value": {
      "type": [
        "number",
        "null"
      ],
      "description": "Money in the organization's currency - GET /v1/organization-settings for currency_code"
    },
    "purchase_cost_calculation_method": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "manual",
        "calculated_sqft",
        "calculated_unit"
      ]
    },
    "material": {
      "type": [
        "string",
        "null"
      ]
    },
    "diameter_mm": {
      "type": [
        "number",
        "null"
      ]
    },
    "width_m": {
      "type": [
        "number",
        "null"
      ]
    },
    "lanes": {
      "type": [
        "integer",
        "null"
      ]
    },
    "road_class": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 1,
      "maximum": 6,
      "description": "O. Reg. 239/02 road class. Classes 1-2 are arterial, 3-4 collector, 5-6 local."
    },
    "depth_m": {
      "type": [
        "number",
        "null"
      ]
    },
    "from_invert_m": {
      "type": [
        "number",
        "null"
      ]
    },
    "to_invert_m": {
      "type": [
        "number",
        "null"
      ]
    },
    "positional_accuracy_class": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "survey_grade",
        "mapping_grade",
        "sketch",
        "unknown"
      ]
    },
    "data_source": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "$defs": {
    "GeoJsonGeometry": {
      "oneOf": [
        {
          "$ref": "#/$defs/GeoJsonPoint"
        },
        {
          "$ref": "#/$defs/GeoJsonLineString"
        }
      ]
    },
    "GeoJsonLineString": {
      "type": "object",
      "required": [
        "type",
        "coordinates"
      ],
      "description": "GeoJSON LineString in EPSG:4326. Each coordinate is [longitude, latitude]; minimum 2 points.",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "LineString"
          ]
        },
        "coordinates": {
          "type": "array",
          "minItems": 2,
          "items": {
            "type": "array",
            "minItems": 2,
            "maxItems": 2,
            "items": {
              "type": "number"
            }
          }
        }
      }
    },
    "GeoJsonPoint": {
      "type": "object",
      "required": [
        "type",
        "coordinates"
      ],
      "description": "GeoJSON Point in EPSG:4326. Coordinates are [longitude, latitude].",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "Point"
          ]
        },
        "coordinates": {
          "type": "array",
          "minItems": 2,
          "maxItems": 2,
          "items": {
            "type": "number"
          }
        }
      }
    }
  }
}

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/assetlab-ca-infrastructure-asset-update"
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.