{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/hanchu-ess/json-schema/hanchu-ess-post-v1-oem-subscribe-request-schema.json",
  "title": "PostV1OemSubscribeRequest",
  "x-generated": "2026-11-17",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/hanchu-ess-openapi-generated.yml#/components/schemas/PostV1OemSubscribeRequest",
  "type": "object",
  "properties": {
    "oem": {
      "type": "string",
      "description": "Partner client id"
    },
    "webhookUrl": {
      "type": "string",
      "description": "The HTTPS URL that subscription payloads shouldbe sent to"
    },
    "events": {
      "type": "array",
      "description": "List of events which subscribe to, default `[\"*\"]`"
    },
    "secret": {
      "type": "string",
      "description": "A cryptographically secure secret, generated and provided by your platform"
    },
    "version": {
      "type": "string",
      "description": "The version of the webhooks, HanChuESS will set in http header by key `X-Api-Version` when invoke"
    },
    "devices": {
      "type": "array",
      "description": "List of device identifiers which subscribe to"
    }
  },
  "required": [
    "oem",
    "webhookUrl",
    "secret",
    "devices"
  ]
}