{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/anthonyhunts-com/json-schema/anthonyhunts-com-post-page-schema.json",
  "title": "PostPage",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/anthonyhunts-com-content-api-openapi.yml#/components/schemas/PostPage",
  "type": "object",
  "required": [
    "data",
    "total",
    "next_cursor"
  ],
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Post"
      }
    },
    "total": {
      "type": "integer"
    },
    "next_cursor": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "$defs": {
    "Post": {
      "type": "object",
      "required": [
        "slug",
        "title",
        "url"
      ],
      "properties": {
        "slug": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "published": {
          "type": "string",
          "format": "date"
        },
        "updated": {
          "type": "string",
          "format": "date"
        },
        "tag": {
          "type": "string"
        },
        "url": {
          "type": "string",
          "format": "uri"
        },
        "markdown_url": {
          "type": "string",
          "format": "uri"
        }
      }
    }
  }
}