{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ovh/json-schema/ovh-connectivity-monitoring-generic-incident-schema.json",
  "title": "connectivity.monitoring.GenericIncident",
  "description": "Generic incident structure",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ovh-v1-connectivity-openapi.yml#/components/schemas/connectivity.monitoring.GenericIncident",
  "type": "object",
  "properties": {
    "comment": {
      "type": [
        "string",
        "null"
      ],
      "description": "Optional comment, that contains some information and updates about the generic incident",
      "readOnly": true
    },
    "creationDate": {
      "type": "string",
      "description": "Creation date, the generic incident has been detected",
      "readOnly": true
    },
    "default": {
      "type": [
        "string",
        "null"
      ],
      "description": "Type of fault",
      "readOnly": true
    },
    "departments": {
      "type": "array",
      "description": "List of impacted department codes",
      "items": {
        "type": "string"
      },
      "readOnly": true
    },
    "endDate": {
      "type": [
        "string",
        "null"
      ],
      "description": "End date, the generic incident is resolved and closed",
      "readOnly": true
    },
    "estimatedResolutionDate": {
      "type": [
        "string",
        "null"
      ],
      "description": "Estimated resolution date for generic incident",
      "readOnly": true
    },
    "id": {
      "type": "integer",
      "description": "Generic incident id",
      "readOnly": true
    },
    "isNational": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "Identify a national generic incident",
      "readOnly": true
    },
    "nature": {
      "type": [
        "string",
        "null"
      ],
      "description": "Details about the consequence of the default",
      "readOnly": true
    },
    "nra": {
      "type": "array",
      "description": "List of impacted NRA/NRO",
      "items": {
        "type": "string"
      },
      "readOnly": true
    },
    "operators": {
      "type": "array",
      "description": "List of impacted operators",
      "items": {
        "$ref": "#/$defs/connectivity.OperatorEnum"
      },
      "readOnly": true
    },
    "status": {
      "allOf": [
        {
          "$ref": "#/$defs/connectivity.monitoring.GenericIncidentStatusEnum"
        }
      ],
      "description": "Generic incident status",
      "readOnly": true
    },
    "taskId": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Task id",
      "readOnly": true
    },
    "taskReference": {
      "type": [
        "string",
        "null"
      ],
      "description": "Task reference created on Ovhcloud status web page",
      "readOnly": true
    },
    "technologies": {
      "type": "array",
      "description": "Impacted technologies",
      "items": {
        "type": "string"
      },
      "readOnly": true
    }
  },
  "$defs": {
    "connectivity.OperatorEnum": {
      "type": "string",
      "description": "Operator",
      "enum": [
        "AXIONE",
        "BOUYGUES",
        "KOSC",
        "ORANGE",
        "OVH",
        "SFR"
      ]
    },
    "connectivity.monitoring.GenericIncidentStatusEnum": {
      "type": "string",
      "description": "Generic incident status",
      "enum": [
        "closed",
        "detected",
        "validated"
      ]
    }
  }
}