AssetLab · Schema

AssetLifecycleEventCreate

Exactly one of `asset_type_id` / `asset_type_group_id` is required. `impact_add_years` is required for `add_years`, `impact_reset_to` for `reset_condition`. `cost_reviewed_on` is server-set.

CMMSAsset ManagementFacilitiesCanadaSoftware-as-a-Service

Properties

Name Type Description
name string
asset_type_id stringnull
asset_type_group_id stringnull
event_class string
trigger_condition_max integer
trigger_condition_min integer
impact_method string
impact_add_years numbernull
impact_reset_to integernull
fixed_cost numbernull Money in the organization's currency - GET /v1/organization-settings for currency_code
cost_source stringnull
max_applications integer
min_years_between number
sort_order integer
is_active boolean
work_generation string
work_generation_category_id stringnull
work_generation_priority stringnull
View JSON Schema on GitHub

JSON Schema

assetlab-ca-asset-lifecycle-event-create-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/assetlab-ca/json-schema/assetlab-ca-asset-lifecycle-event-create-schema.json",
  "title": "AssetLifecycleEventCreate",
  "description": "Exactly one of `asset_type_id` / `asset_type_group_id` is required.\n`impact_add_years` is required for `add_years`, `impact_reset_to` for\n`reset_condition`. `cost_reviewed_on` is server-set.\n",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/assetlab-ca-asset-lifecycle-events-api-openapi.yml#/components/schemas/AssetLifecycleEventCreate",
  "type": "object",
  "required": [
    "name",
    "event_class",
    "trigger_condition_max",
    "impact_method"
  ],
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 200
    },
    "asset_type_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "asset_type_group_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "event_class": {
      "type": "string",
      "enum": [
        "preventive",
        "rehabilitation"
      ]
    },
    "trigger_condition_max": {
      "type": "integer",
      "minimum": 1,
      "maximum": 99
    },
    "trigger_condition_min": {
      "type": "integer",
      "minimum": 0,
      "maximum": 98,
      "default": 0
    },
    "impact_method": {
      "type": "string",
      "enum": [
        "add_years",
        "reset_condition"
      ]
    },
    "impact_add_years": {
      "type": [
        "number",
        "null"
      ],
      "exclusiveMinimum": 0,
      "maximum": 100
    },
    "impact_reset_to": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 1,
      "maximum": 100
    },
    "fixed_cost": {
      "type": [
        "number",
        "null"
      ],
      "minimum": 0,
      "description": "Money in the organization's currency - GET /v1/organization-settings for currency_code"
    },
    "cost_source": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 200
    },
    "max_applications": {
      "type": "integer",
      "minimum": 1,
      "maximum": 10,
      "default": 1
    },
    "min_years_between": {
      "type": "number",
      "minimum": 1,
      "maximum": 100,
      "default": 1
    },
    "sort_order": {
      "type": "integer",
      "minimum": 0
    },
    "is_active": {
      "type": "boolean",
      "default": true
    },
    "work_generation": {
      "type": "string",
      "enum": [
        "none",
        "work_order",
        "project"
      ],
      "default": "none"
    },
    "work_generation_category_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "work_generation_priority": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "LOW",
        "MEDIUM",
        "HIGH",
        "URGENT"
      ]
    }
  }
}

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-lifecycle-event-create"
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.