bayesline.api.IncidentSummaryItem#

pydantic model bayesline.api.IncidentSummaryItem#

A single incident summary item.

Parameters#

datetimedatetime.datetime

The datetime when the incident occurred.

incident_idstr

The unique identifier for the incident.

sourcestr

The source system that reported the incident.

Show JSON schema
{
   "title": "IncidentSummaryItem",
   "description": "A single incident summary item.\n\nParameters\n----------\ndatetime : datetime.datetime\n    The datetime when the incident occurred.\nincident_id : str\n    The unique identifier for the incident.\nsource : str\n    The source system that reported the incident.",
   "type": "object",
   "properties": {
      "datetime": {
         "format": "date-time",
         "title": "Datetime",
         "type": "string"
      },
      "incident_id": {
         "title": "Incident Id",
         "type": "string"
      },
      "source": {
         "title": "Source",
         "type": "string"
      }
   },
   "required": [
      "datetime",
      "incident_id",
      "source"
   ]
}

Fields:
  • datetime (datetime.datetime)

  • incident_id (str)

  • source (str)

field datetime: datetime [Required]#
field incident_id: str [Required]#
field source: str [Required]#