{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/neuron-ng/json-schema/neuron-ng-blog-post-schema.json",
  "title": "BlogPost",
  "x-generated": "2026-11-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/neuron-ng-openapi.json#/components/schemas/BlogPost",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "title": {
      "type": "string"
    },
    "slug": {
      "type": "string"
    },
    "content": {
      "type": "string"
    },
    "excerpt": {
      "type": "string"
    },
    "coverImageUrl": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri"
    },
    "status": {
      "type": "string",
      "enum": [
        "draft",
        "published",
        "archived"
      ]
    },
    "authorType": {
      "type": "string",
      "enum": [
        "user",
        "organization"
      ]
    },
    "authorUserId": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "authorOrgId": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "readTimeMinutes": {
      "type": "integer"
    },
    "viewCount": {
      "type": "integer"
    },
    "seoTitle": {
      "type": [
        "string",
        "null"
      ]
    },
    "seoDescription": {
      "type": [
        "string",
        "null"
      ]
    },
    "seoKeywords": {
      "type": [
        "string",
        "null"
      ]
    },
    "publishedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    }
  }
}