{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/seovyn-com/json-schema/seovyn-com-post-api-content-webhook-request-schema.json",
  "title": "PostApiContentWebhookRequest",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/seovyn-com-openapi-generated.yml#/components/schemas/PostApiContentWebhookRequest",
  "type": "object",
  "properties": {
    "event": {
      "type": "string",
      "description": "When article.approved or article.updated"
    },
    "data": {
      "type": "object",
      "description": "Article payload"
    },
    "data.itemId": {
      "type": "string"
    },
    "data.title": {
      "type": "string"
    },
    "data.pageType": {
      "type": "string",
      "description": "blog, comparison or landing"
    },
    "data.slug": {
      "type": "string"
    },
    "data.body": {
      "type": "string",
      "description": "Markdown content"
    },
    "data.summary": {
      "type": "string"
    },
    "data.metaTitle": {
      "type": "string"
    },
    "data.metaDescription": {
      "type": "string"
    },
    "data.focusKeyword": {
      "type": "string"
    },
    "data.tags": {
      "type": "array",
      "description": "Array of strings"
    },
    "data.sourceUrl": {
      "type": "string"
    },
    "data.readingMinutes": {
      "type": "integer"
    },
    "data.sources": {
      "type": "array",
      "description": "Array of objects with title and url"
    },
    "data.image": {
      "type": "object",
      "description": "Cover image"
    },
    "data.image.url": {
      "type": "string"
    },
    "data.image.alt": {
      "type": "string"
    },
    "data.image.width": {
      "type": "integer"
    },
    "data.image.height": {
      "type": "integer"
    },
    "data.author": {
      "type": "string"
    },
    "data.approvedAt": {
      "type": "string",
      "description": "ISO 8601 timestamp"
    },
    "data.updatedAt": {
      "type": "string",
      "description": "ISO 8601 timestamp or null"
    },
    "data.jsonLd": {
      "type": "object",
      "description": "Schema.org graph"
    }
  },
  "required": [
    "event",
    "data"
  ]
}