{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dexi-net/json-schema/dexi-net-published-feed-schema.json",
  "title": "PublishedFeed",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dexi-net-openapi.json#/components/schemas/PublishedFeed",
  "type": "object",
  "required": [
    "id",
    "title",
    "rss_url",
    "entries"
  ],
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "title": {
      "type": "string"
    },
    "description": {
      "type": [
        "string",
        "null"
      ]
    },
    "author": {
      "type": "string",
      "description": "Publisher's display name; may be empty"
    },
    "rss_url": {
      "type": "string",
      "format": "uri",
      "description": "RSS 2.0 rendering of the same feed"
    },
    "entries": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/FeedEntry"
      }
    }
  },
  "$defs": {
    "FeedEntry": {
      "type": "object",
      "required": [
        "id",
        "title",
        "text"
      ],
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "title": {
          "type": "string"
        },
        "text": {
          "type": "string",
          "description": "Entry body as plain text"
        },
        "updated": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        }
      }
    }
  }
}