{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/telenor-sverige/json-schema/telenor-sverige-close-case-dto-schema.json",
  "title": "CloseCase",
  "description": "Represent a closed case",
  "x-generated": "2026-10-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/telenor-sverige-safe-external-openapi.yml#/components/schemas/CloseCaseDto",
  "type": "object",
  "properties": {
    "objectId": {
      "type": "integer",
      "format": "int64"
    },
    "summary": {
      "type": [
        "string",
        "null"
      ],
      "description": "Internal summary containing closing reason"
    },
    "closeDate": {
      "type": "string",
      "format": "date-time"
    },
    "previousCloseDate": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "outageReason": {
      "type": [
        "string",
        "null"
      ]
    },
    "failureCode": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalOutageTime": {
      "type": [
        "string",
        "null"
      ],
      "description": "The outage to time if the SLA was exceeded",
      "format": "date-span"
    },
    "externalSummary": {
      "type": [
        "string",
        "null"
      ],
      "description": "External summary containing the closing reason, may be visible for external parties or the customer"
    },
    "resolution": {
      "type": [
        "string",
        "null"
      ]
    },
    "reasonExceededNotes": {
      "type": [
        "string",
        "null"
      ]
    },
    "reasonExceededResponsible": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "additionalProperties": false
}