{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/nordic-financial-news/json-schema/nordic-financial-news-watchlist-summary-schema.json",
  "title": "WatchlistSummary",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/nordic-financial-news-watchlists-api-openapi.yml#/components/schemas/WatchlistSummary",
  "type": "object",
  "required": [
    "id",
    "name",
    "position",
    "company_count"
  ],
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique watchlist identifier"
    },
    "name": {
      "type": "string",
      "description": "User-defined watchlist name"
    },
    "position": {
      "type": "integer",
      "description": "Display order (lower values appear first)"
    },
    "company_count": {
      "type": "integer",
      "description": "Number of companies in the watchlist"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "When the watchlist was created"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "description": "When the watchlist was last modified"
    }
  }
}