{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cavuno-com/json-schema/cavuno-com-distribution-feed-origin-schema.json",
  "title": "DistributionFeedOrigin",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cavuno-com-distribution-api-openapi.yml#/components/schemas/DistributionFeedOrigin",
  "type": "object",
  "properties": {
    "object": {
      "type": "string",
      "enum": [
        "distribution_feed_origin"
      ]
    },
    "origin": {
      "type": [
        "string",
        "null"
      ],
      "description": "The board's public origin that every feed URL is on; `null` while it has none."
    },
    "hosting": {
      "type": "string",
      "enum": [
        "cavuno",
        "external"
      ],
      "description": "`cavuno`: Cavuno serves the feed URLs. `external`: the origin is your own frontend (a self-hosted domain or SDK site), which must serve `/feeds/<slug>.xml` before the URLs work."
    },
    "changed": {
      "type": "boolean",
      "description": "True when an aggregator first fetched some feed on another origin: the URLs it holds have moved. Resubmit them, then acknowledge."
    },
    "previousOrigins": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The origins aggregators fetched moved feeds on."
    }
  },
  "required": [
    "object",
    "origin",
    "hosting",
    "changed",
    "previousOrigins"
  ]
}