{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cavuno-com/json-schema/cavuno-com-create-blog-post-body-schema.json",
  "title": "CreateBlogPostBody",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cavuno-com-blog-posts-api-openapi.yml#/components/schemas/CreateBlogPostBody",
  "type": "object",
  "properties": {
    "slug": {
      "type": "string",
      "minLength": 1,
      "maxLength": 120,
      "pattern": "^[a-z0-9-]+$"
    },
    "html": {
      "type": "string",
      "maxLength": 1048576
    },
    "customExcerpt": {
      "type": "string",
      "maxLength": 500
    },
    "readingTimeMin": {
      "type": "integer",
      "minimum": 0,
      "maximum": 1000
    },
    "featured": {
      "type": "boolean"
    },
    "authorIds": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      },
      "maxItems": 10
    },
    "tagIds": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      },
      "maxItems": 20
    },
    "coverMediaId": {
      "type": [
        "string",
        "null"
      ],
      "minLength": 1
    },
    "ogImageMediaId": {
      "type": [
        "string",
        "null"
      ],
      "minLength": 1
    },
    "featureImageAlt": {
      "type": "string",
      "maxLength": 200
    },
    "featureImageCaption": {
      "type": "string",
      "maxLength": 500
    },
    "seoTitle": {
      "type": "string",
      "maxLength": 150
    },
    "seoDescription": {
      "type": "string",
      "maxLength": 320
    },
    "canonicalUrl": {
      "type": "string",
      "maxLength": 500,
      "format": "uri"
    },
    "publishedAt": {
      "type": "string",
      "format": "date-time"
    },
    "title": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "status": {
      "type": "string",
      "enum": [
        "draft",
        "scheduled",
        "published"
      ]
    }
  },
  "required": [
    "title"
  ],
  "additionalProperties": false
}