{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/crevio-co/json-schema/crevio-co-list-response-blog-post-schema.json",
  "title": "ListResponse_BlogPost",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/crevio-co-blogposts-api-openapi.yml#/components/schemas/ListResponse_BlogPost",
  "type": "object",
  "properties": {
    "object": {
      "type": "string",
      "enum": [
        "list"
      ]
    },
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/BlogPost"
      }
    },
    "has_more": {
      "type": "boolean"
    },
    "url": {
      "type": "string"
    }
  },
  "required": [
    "object",
    "data",
    "has_more",
    "url"
  ],
  "$defs": {
    "BlogPost": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "object": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "slug": {
          "type": "string"
        },
        "content": {
          "type": "string"
        },
        "status": {
          "type": "string",
          "enum": [
            "draft",
            "published",
            "scheduled",
            "archived"
          ]
        },
        "excerpt": {
          "type": "string"
        },
        "published_at": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "scheduled_at": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "created_at": {
          "type": "string",
          "format": "date-time"
        },
        "updated_at": {
          "type": "string",
          "format": "date-time"
        },
        "url": {
          "type": "string"
        },
        "category": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "id",
        "object",
        "title",
        "slug",
        "content",
        "status",
        "excerpt",
        "published_at",
        "scheduled_at",
        "created_at",
        "updated_at",
        "url",
        "category"
      ]
    }
  }
}