{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/stat-api-com/json-schema/stat-api-com-nhlplayer-news-schema.json",
  "title": "NHLPlayerNews",
  "description": "News about NHL players — trades, IR placements, line changes, suspensions, and general beat-reporter updates.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/stat-api-com-nhl-api-openapi.yml#/components/schemas/NHLPlayerNews",
  "properties": {
    "ai_processed": {
      "description": "Whether this story was generated or enriched via LLM summarization.",
      "type": "boolean"
    },
    "author": {
      "description": "Reporter or author of the article.",
      "type": [
        "string",
        "null"
      ]
    },
    "categories": {
      "description": "Comma-separated raw topic tags.",
      "type": [
        "string",
        "null"
      ]
    },
    "category": {
      "description": "injury, transaction, lineup, general",
      "type": [
        "string",
        "null"
      ]
    },
    "content": {
      "description": "Full text content of the news report.",
      "type": [
        "string",
        "null"
      ]
    },
    "description": {
      "description": "Brief synopsis or summary of the news event.",
      "type": [
        "string",
        "null"
      ]
    },
    "first_reported_at": {
      "description": "Timestamp when this story was first reported before multi-source compaction.",
      "format": "date-time",
      "type": [
        "string",
        "null"
      ]
    },
    "game_id": {
      "description": "Associated game ID when this news item relates to a specific game.",
      "format": "int64",
      "type": [
        "integer",
        "null"
      ]
    },
    "id": {
      "description": "Primary Key",
      "format": "int64",
      "type": "integer"
    },
    "news_id": {
      "description": "External news item ID from the provider.",
      "type": [
        "integer",
        "null"
      ]
    },
    "news_time": {
      "description": "Publication timestamp of the news story.",
      "format": "date-time",
      "type": "string"
    },
    "opponent_team_id": {
      "description": "Opponent team ID when this news item relates to an upcoming or active game matchup.",
      "format": "int64",
      "type": [
        "integer",
        "null"
      ]
    },
    "player_id": {
      "description": "Player ID associated with the news report.",
      "format": "int64",
      "type": [
        "integer",
        "null"
      ]
    },
    "priority": {
      "description": "Display priority score (1-10).",
      "type": "integer"
    },
    "situational_impact": {
      "description": "Structured situational impact assessment and fantasy implications for the player.",
      "properties": {
        "affected_player_ids": {
          "description": "IDs of impacted teammates.",
          "type": [
            "array",
            "null"
          ]
        },
        "affected_players": {
          "description": "Teammates whose opportunity or role is impacted.",
          "type": [
            "array",
            "null"
          ]
        },
        "impact_enum": {
          "description": "Standardized impact state (ACTIVE, CLEARED, QUESTIONABLE, etc.).",
          "type": [
            "string",
            "null"
          ]
        },
        "reason": {
          "description": "Narrative explaining the fantasy and playing-time impact.",
          "type": [
            "string",
            "null"
          ]
        },
        "ripple_effect": {
          "description": "Downstream tactical or fantasy consequences.",
          "type": [
            "string",
            "null"
          ]
        },
        "type": {
          "description": "Impact direction: positive, negative, or neutral.",
          "type": [
            "string",
            "null"
          ]
        }
      },
      "type": [
        "object",
        "array",
        "null"
      ]
    },
    "status_enum": {
      "description": "Standardized player status designation (RULED_OUT, DOUBTFUL, QUESTIONABLE, PROBABLE, CLEARED, MINUTES_LIMIT, MINUTES_LIFTED, STARTING, BENCHED, INACTIVE, ACTIVE, IR_PLACED, IR_ACTIVATED, TRADED, RELEASED, SIGNED, ROUTINE).",
      "type": [
        "string",
        "null"
      ]
    },
    "team_id": {
      "description": "Team ID of the player at the time of publication.",
      "format": "int64",
      "type": [
        "integer",
        "null"
      ]
    },
    "terms_of_use": {
      "description": "Syndication terms and attribution.",
      "type": [
        "string",
        "null"
      ]
    },
    "title": {
      "description": "Headline of the news report.",
      "type": "string"
    },
    "updated_time": {
      "description": "Timestamp when the story was last revised.",
      "format": "date-time",
      "type": [
        "string",
        "null"
      ]
    },
    "urgency": {
      "description": "Urgency level of the news event (BREAKING_GAME_TIME, HIGH, MEDIUM, ROUTINE).",
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "id",
    "ai_processed",
    "news_time",
    "priority",
    "title"
  ],
  "type": "object"
}