AssetLab · Schema

AssetCost

CMMSAsset ManagementFacilitiesCanadaSoftware-as-a-Service

Properties

Name Type Description
id string
asset_id string
site_id stringnull
building_id stringnull
category stringnull
amount number Money in the organization's currency - GET /v1/organization-settings for currency_code
cost_date stringnull
description stringnull
invoice_number stringnull
po_number stringnull
purchase_order_id stringnull Purchase order (see /purchase-orders) that paid this cost. Counts against the order's remaining balance unless the cost belongs to a work order, whose own purchase_order_id counts it; null clears it.
vendor_id stringnull Vendor (see /vendors) this cost was paid to; null clears it.
work_order_id stringnull
work_order_number integernull
created_by stringnull Clerk user ID
created_at stringnull
updated_at stringnull
asset objectnull
sites object
buildings object
vendors objectnull
View JSON Schema on GitHub

JSON Schema

assetlab-ca-asset-cost-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/assetlab-ca/json-schema/assetlab-ca-asset-cost-schema.json",
  "title": "AssetCost",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/assetlab-ca-asset-costs-api-openapi.yml#/components/schemas/AssetCost",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "asset_id": {
      "type": "string",
      "format": "uuid"
    },
    "site_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "building_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "category": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "Acquisition",
        "Repair",
        "PM",
        "Operation",
        "Replacement",
        "Decommission",
        "Other"
      ]
    },
    "amount": {
      "type": "number",
      "description": "Money in the organization's currency - GET /v1/organization-settings for currency_code"
    },
    "cost_date": {
      "type": [
        "string",
        "null"
      ],
      "format": "date"
    },
    "description": {
      "type": [
        "string",
        "null"
      ]
    },
    "invoice_number": {
      "type": [
        "string",
        "null"
      ]
    },
    "po_number": {
      "type": [
        "string",
        "null"
      ]
    },
    "purchase_order_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "description": "Purchase order (see /purchase-orders) that paid this cost. Counts against the order's remaining balance unless the cost belongs to a work order, whose own purchase_order_id counts it; null clears it. po_number stays for order numbers typed as free text."
    },
    "vendor_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "description": "Vendor (see /vendors) this cost was paid to; null clears it."
    },
    "work_order_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "work_order_number": {
      "type": [
        "integer",
        "null"
      ]
    },
    "created_by": {
      "type": [
        "string",
        "null"
      ],
      "description": "Clerk user ID"
    },
    "created_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "updated_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "asset": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "name": {
          "type": "string"
        }
      }
    },
    "sites": {
      "$ref": "#/$defs/SiteRef"
    },
    "buildings": {
      "$ref": "#/$defs/BuildingRef"
    },
    "vendors": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "name": {
          "type": "string"
        }
      }
    }
  },
  "$defs": {
    "BuildingRef": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "name": {
          "type": "string"
        }
      }
    },
    "SiteRef": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "name": {
          "type": "string"
        }
      }
    }
  }
}

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-asset-cost"
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.