{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/nordic-financial-news/json-schema/nordic-financial-news-source-summary-schema.json",
  "title": "SourceSummary",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/nordic-financial-news-sources-api-openapi.yml#/components/schemas/SourceSummary",
  "type": "object",
  "required": [
    "id",
    "name",
    "domain",
    "source_type"
  ],
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique source identifier"
    },
    "name": {
      "type": "string",
      "description": "Source display name"
    },
    "domain": {
      "type": "string",
      "description": "Primary domain of the source"
    },
    "country": {
      "type": [
        "string",
        "null"
      ],
      "description": "Country code (ISO 3166-1 alpha-2)"
    },
    "source_type": {
      "type": "string",
      "description": "Source type",
      "enum": [
        "news_publication",
        "wire_service",
        "press_release",
        "government",
        "trade_publication",
        "blog",
        "stock_exchange",
        "research"
      ]
    }
  }
}