{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ovh/json-schema/ovh-connectivity-maintenance-work-planned-schema.json",
  "title": "connectivity.maintenance.WorkPlanned",
  "description": "Work Planned operation 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.maintenance.WorkPlanned",
  "type": "object",
  "properties": {
    "dateBegin": {
      "type": "string",
      "description": "Begin date, the work planned operation starts at this time",
      "readOnly": true
    },
    "dateEnd": {
      "type": "string",
      "description": "End date, the work planned operation finishes at the time",
      "readOnly": true
    },
    "departments": {
      "type": [
        "array",
        "null"
      ],
      "description": "List of impacted department codes",
      "items": {
        "type": "string"
      },
      "readOnly": true
    },
    "description": {
      "type": [
        "string",
        "null"
      ],
      "description": "Description of the work planned operation",
      "readOnly": true
    },
    "duration": {
      "type": [
        "string",
        "null"
      ],
      "description": "Duration of the work planned operation",
      "format": "duration",
      "readOnly": true
    },
    "fallback": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "Fallback planned for the operation",
      "readOnly": true
    },
    "fallbackDateBegin": {
      "type": [
        "string",
        "null"
      ],
      "description": "Fallback operation starts at this time",
      "format": "date-time",
      "readOnly": true
    },
    "fallbackDateEnd": {
      "type": [
        "string",
        "null"
      ],
      "description": "Fallback operation ends at this time",
      "format": "date-time",
      "readOnly": true
    },
    "id": {
      "type": "integer",
      "description": "Work Planned operation id",
      "readOnly": true
    },
    "impact": {
      "type": [
        "string",
        "null"
      ],
      "description": "Impact of the work planned operation",
      "readOnly": true
    },
    "interventionType": {
      "allOf": [
        {
          "$ref": "#/$defs/connectivity.maintenance.InterventionTypeEnum"
        }
      ],
      "description": "Intervention type",
      "readOnly": true
    },
    "nras": {
      "type": [
        "array",
        "null"
      ],
      "description": "List of impacted NRA/NRO",
      "items": {
        "type": "string"
      },
      "readOnly": true
    },
    "operator": {
      "allOf": [
        {
          "$ref": "#/$defs/connectivity.OperatorEnum"
        }
      ],
      "description": "Operator",
      "readOnly": true
    },
    "technology": {
      "type": "string",
      "description": "Technology impacted by the work planned operation",
      "readOnly": true
    },
    "zone": {
      "type": [
        "string",
        "null"
      ],
      "description": "Zone of the work planned operation",
      "readOnly": true
    }
  },
  "$defs": {
    "connectivity.OperatorEnum": {
      "type": "string",
      "description": "Operator",
      "enum": [
        "AXIONE",
        "BOUYGUES",
        "KOSC",
        "ORANGE",
        "OVH",
        "SFR"
      ]
    },
    "connectivity.maintenance.InterventionTypeEnum": {
      "type": "string",
      "description": "Intervention type",
      "enum": [
        "BACKBONE_MAINTENANCE",
        "CARD_SWAP_WITH_IMPACT",
        "CLUSTER_AN_ROUTER_MIGRATION",
        "CORRECTIVE_MAINTENANCE",
        "DSLAM_LINK_UPGRADE_WITHOUT_CARD_SWAP",
        "DSLAM_UPGRADE_WITH_IMPACT",
        "FIBER_CABLE_LINK_SWAP",
        "FIBER_CONNECTION_WITH_IMPACT",
        "FIBER_MAINTENANCE",
        "FIBER_THIRD_PARTY_WORK_WITH_IMPACT",
        "IP_BACKBONE_LINK_MIGRATION_WITH_IMPACT",
        "IP_BACKBONE_SWITCH_UPGRADE_WITH_IMPACT",
        "IP_MAINTENANCE",
        "LEVEL2_DSLAM_MIGRATION",
        "LINK_MIGRATION_WITH_DSL_IMPACT",
        "LL_THIRD_PARTY_MAINTENANCE_WITH_IMPACT",
        "LOOP_AN_ROUTER_MIGRATION",
        "LOOP_AN_ROUTER_UPGRADE",
        "MAINTENANCE",
        "OPTIC_FIBER_WORK_WITH_OUTAGE_DURING_NON_WORKING_HOURS",
        "PLANNED_CORRECTIVE_MAINTENANCE",
        "SENSITIVE_LOOP_LINK_UPGRADE",
        "TRANSMISSION_CORRECTIVE_MAINTENANCE",
        "TRANSMISSION_CUSTOMER_TRANSFERT_MIGRATION_WITH_IMPACT",
        "TRANSMISSION_FIBRE_MAINTENANCE",
        "TRANSMISSION_LINK_COMMISSIONING_PRODUCTION_DECOMMISSIONING_WORK_WITH_IMPACT",
        "TRANSMISSION_LINK_TRANSFERT_MIGRATION_WITH_IMPACT",
        "TRANSMISSION_MAINTENANCE",
        "TRANSMISSION_MOVING_WITH_IMPACT",
        "TRANSMISSION_SWITCH_UPGRADE_WITH_IMPACT",
        "WITH_IMPACT"
      ]
    }
  }
}