{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/immowelt/json-schema/immowelt-webhook-subscription-response-schema.json",
  "title": "webhookSubscriptionResponse",
  "x-generated": "2026-10-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/immowelt-seeker-leads-openapi.yml#/components/schemas/webhookSubscriptionResponse",
  "type": "object",
  "properties": {
    "subscriptionId": {
      "type": "string",
      "minLength": 1
    },
    "url": {
      "type": "string",
      "format": "url",
      "description": "The URL to send new lead notifications to."
    },
    "status": {
      "$ref": "#/$defs/subscriptionStatus"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "subscriptionId",
    "url",
    "status",
    "createdAt",
    "updatedAt"
  ],
  "$defs": {
    "subscriptionStatus": {
      "type": "string",
      "description": "The status of the subscription.",
      "enum": [
        "ACTIVE",
        "INACTIVE"
      ]
    }
  }
}