{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/opoint/json-schema/opoint-article-reference-schema.json",
  "title": "ArticleReference",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/opoint-analytics-api-openapi.yml#/components/schemas/ArticleReference",
  "type": "object",
  "properties": {
    "topicId": {
      "type": "integer"
    },
    "id_site": {
      "type": "integer"
    },
    "id_article": {
      "type": "integer"
    },
    "status": {
      "type": "string"
    },
    "wordCount": {
      "type": "integer"
    },
    "sentiment": {
      "type": "integer"
    },
    "hitHeadline": {
      "type": "integer"
    },
    "hitArticle": {
      "type": "integer"
    },
    "hitPicture": {
      "type": "integer"
    },
    "swot": {
      "type": "string"
    },
    "articleType": {
      "type": "string"
    },
    "comment": {
      "type": "string"
    },
    "insertDate": {
      "type": "string",
      "format": "date-time"
    },
    "dominance": {
      "type": "integer"
    },
    "scoredBy": {
      "type": "integer"
    },
    "scoredAt": {
      "type": "string",
      "format": "date-time"
    },
    "headline": {
      "type": [
        "string",
        "null"
      ]
    },
    "timestamp": {
      "type": "string",
      "format": "date-time"
    },
    "mediatype": {
      "type": "string"
    },
    "author": {
      "type": "string"
    },
    "summary": {
      "type": "string"
    },
    "header": {
      "type": "string"
    },
    "siteName": {
      "type": "string"
    },
    "sourceName": {
      "type": "string"
    },
    "sourceLang": {
      "type": "string"
    },
    "sourceUrl": {
      "type": "string"
    },
    "estimatedReadership": {
      "type": "integer"
    },
    "scoredValues": {
      "type": "array",
      "items": {
        "type": "integer"
      }
    }
  },
  "required": [
    "articleType",
    "author",
    "comment",
    "dominance",
    "estimatedReadership",
    "header",
    "headline",
    "hitArticle",
    "hitHeadline",
    "hitPicture",
    "id_article",
    "id_site",
    "insertDate",
    "mediatype",
    "scoredAt",
    "scoredBy",
    "scoredValues",
    "sentiment",
    "siteName",
    "sourceLang",
    "sourceName",
    "sourceUrl",
    "status",
    "summary",
    "swot",
    "timestamp",
    "topicId",
    "wordCount"
  ]
}