{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/university-of-waterloo/json-schema/university-of-waterloo-site-blog-post-schema.json",
  "title": "SiteBlogPost",
  "description": "Model representing a WCMS blog post item",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/university-of-waterloo-wcms-api-openapi.yml#/components/schemas/SiteBlogPost",
  "type": "object",
  "properties": {
    "siteId": {
      "type": "integer",
      "description": "Unique, numeric site ID",
      "format": "int32"
    },
    "uniqueKey": {
      "type": [
        "string",
        "null"
      ],
      "description": "Unique Id of this post item"
    },
    "title": {
      "type": [
        "string",
        "null"
      ],
      "description": "Title of the blog post"
    },
    "postedDate": {
      "type": [
        "string",
        "null"
      ],
      "description": "Content created or posted date",
      "format": "date-time"
    },
    "updatedDate": {
      "type": [
        "string",
        "null"
      ],
      "description": "Content updated date",
      "format": "date-time"
    },
    "itemUri": {
      "type": [
        "string",
        "null"
      ],
      "description": "URI to the item in WCMS"
    },
    "audience": {
      "type": [
        "string",
        "null"
      ],
      "description": "Intended audience tag(s)"
    },
    "content": {
      "type": [
        "string",
        "null"
      ],
      "description": "Blog post content, often with HTML markup"
    },
    "delegatedAuthorName": {
      "type": [
        "string",
        "null"
      ],
      "description": "Display name of the delegated author for this blog post"
    },
    "delegatedAuthorUri": {
      "type": [
        "string",
        "null"
      ],
      "description": "Link to the WCMS profiel of the delegated author"
    },
    "publisherUsername": {
      "type": [
        "string",
        "null"
      ],
      "description": "Username of the person publishing the content, not necessarily the author"
    }
  },
  "additionalProperties": false
}