{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/thaiprops-com/json-schema/thaiprops-com-article-payload-schema.json",
  "title": "ArticlePayload",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/thaiprops-com-openapi.json#/components/schemas/ArticlePayload",
  "properties": {
    "title": {
      "type": "string",
      "maxLength": 255,
      "minLength": 1,
      "title": "Title"
    },
    "slug": {
      "type": "string",
      "maxLength": 255,
      "minLength": 1,
      "title": "Slug"
    },
    "content_type": {
      "type": "string",
      "title": "Content Type",
      "default": "post"
    },
    "status": {
      "type": "string",
      "title": "Status",
      "default": "draft"
    },
    "excerpt": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Excerpt"
    },
    "tldr": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Tldr"
    },
    "body_json": {
      "title": "Body Json"
    },
    "body_html": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Body Html"
    },
    "raw_code": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Raw Code"
    },
    "category_id": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Category Id"
    },
    "seo_title": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Seo Title"
    },
    "meta_description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Meta Description"
    },
    "canonical_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Canonical Url"
    },
    "og_title": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Og Title"
    },
    "og_description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Og Description"
    },
    "og_image": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Og Image"
    },
    "schema_type": {
      "type": "string",
      "title": "Schema Type",
      "default": "Article"
    },
    "faq_schema": {
      "title": "Faq Schema"
    },
    "index_status": {
      "type": "string",
      "title": "Index Status",
      "default": "index"
    },
    "ai_prompt": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Ai Prompt"
    },
    "ai_notes": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Ai Notes"
    },
    "language": {
      "type": "string",
      "title": "Language",
      "default": "en"
    },
    "translation_group_id": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Translation Group Id"
    },
    "author_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Author Name"
    },
    "featured_image": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Featured Image"
    },
    "published_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Published At"
    }
  },
  "type": "object",
  "required": [
    "title",
    "slug"
  ]
}