{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/openuptime-app/json-schema/openuptime-app-post-channels-request-schema.json",
  "title": "PostChannelsRequest",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/openuptime-app-openapi-generated.yml#/components/schemas/PostChannelsRequest",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "description": "\"email\" | \"slack\" | \"telegram\" | \"webhook\" | \"pagerduty\" | \"lark\" | \"discord\" | \"teams\" | \"ntfy\" | \"bark\" | \"apprise\"."
    },
    "name": {
      "type": "string",
      "description": "1‑80 characters."
    },
    "config": {
      "type": "object",
      "description": "Channel‑type‑specific configuration."
    },
    "enabled": {
      "type": "boolean",
      "description": "Default true."
    },
    "autoEnable": {
      "type": "boolean",
      "description": "Default false."
    },
    "scope": {
      "type": "string",
      "description": "\"workspace\" | \"project\" (default \"workspace\")."
    }
  },
  "required": [
    "type",
    "name"
  ]
}