{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/vladahealth-com/json-schema/vladahealth-com-monitor-create-request-schema.json",
  "title": "MonitorCreateRequest",
  "x-generated": "2026-11-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/vladahealth-com-openapi.json#/components/schemas/MonitorCreateRequest",
  "properties": {
    "token": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Token"
    },
    "name": {
      "type": "string",
      "title": "Name",
      "default": ""
    },
    "scope": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Scope",
      "description": "{kind: category|hospital|procedure, key}"
    },
    "metric": {
      "type": "string",
      "title": "Metric",
      "default": "spend"
    },
    "threshold_usd": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Threshold Usd"
    },
    "direction": {
      "type": "string",
      "title": "Direction",
      "default": "above"
    },
    "enabled": {
      "type": "boolean",
      "title": "Enabled",
      "default": true
    }
  },
  "type": "object"
}