Skip to content

Content & social · Fictional sample data

Blog posts JSON Sample

Published and draft posts with author details, tags, timestamps, and editorial metrics.

Use this dataset for cms previews, content cards, draft-versus-published states.

JSON preview

blog-posts.json · 1.4 KB · formatted JSON

{
  "site": {
    "name": "The Small Web Journal",
    "url": "https://journal.example.org"
  },
  "posts": [
    {
      "id": "post-2025-014",
      "slug": "a-practical-guide-to-small-json-fixtures",
      "title": "A practical guide to small JSON fixtures",
      "excerpt": "Keep test data readable, representative, and easy to change.",
      "author": {
        "id": "author-07",
        "name": "Noah Ellis",
        "email": "noah.ellis@example.org"
      },
      "publishedAt": "2025-02-20T10:15:00Z",
      "updatedAt": "2025-02-22T08:00:00Z",
      "status": "published",
      "tags": [
        "testing",
        "json",
        "developer-tools"
      ],
      "readingTimeMinutes": 6,
      "metrics": {
        "views": 1280,
        "likes": 37
      }
    },
    {
      "id": "post-2025-019",
      "slug": "when-to-keep-an-optional-field-null",
      "title": "When to keep an optional field null",
      "excerpt": "A short note on modeling missing values in API payloads.",
      "author": {
        "id": "author-12",
        "name": "Avery Park"
      },
      "publishedAt": null,
      "status": "draft",
      "tags": [
        "api-design",
        "data-modeling"
      ],
      "readingTimeMinutes": 4,
      "metrics": {
        "views": 0,
        "likes": 0
      }
    }
  ],
  "pagination": {
    "page": 1,
    "perPage": 10,
    "totalItems": 2
  }
}

Notable fields

posts[].author
Author information; the draft example intentionally omits an email.
posts[].publishedAt
Null when a draft has not been published.

This is fictional sample data created for development and testing. Names, addresses, identifiers, and example-domain URLs are illustrative. It is not sourced from real people or a live API.

If an in-page download is unavailable, download the static JSON file directly.

Try these related samples

  • Comment threadsA small discussion thread with nested replies, reactions, optional moderation data, and nullable avatars.
  • User profileA realistic account profile with nested preferences, roles, social links, and optional values.

Useful JSON tools

Browse every JSON sample