{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/lexgo-be/json-schema/lexgo-be-event-schema.json",
  "title": "Event",
  "x-generated": "2026-11-15",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/lexgo-be-openapi.json#/components/schemas/Event",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "id": {
      "type": "integer"
    },
    "url": {
      "type": "string",
      "format": "uri"
    },
    "click_url": {
      "type": "string",
      "format": "uri"
    },
    "domain": {
      "type": "string",
      "enum": [
        "be",
        "lu"
      ]
    },
    "languages": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "nl",
          "fr",
          "en"
        ]
      }
    },
    "event_starts_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "event_ends_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "titles": {
      "$ref": "#/$defs/LocalizedStrings"
    },
    "summaries": {
      "$ref": "#/$defs/LocalizedStrings"
    },
    "company": {
      "$ref": "#/$defs/CompanyName"
    }
  },
  "$defs": {
    "CompanyName": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "name": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "LocalizedStrings": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "nl": {
          "type": [
            "string",
            "null"
          ]
        },
        "fr": {
          "type": [
            "string",
            "null"
          ]
        },
        "en": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    }
  }
}