{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/entur/main/json-schema/entur-partner-settlement-import-response-dto-schema.json",
  "title": "PartnerSettlementImportResponseDto",
  "description": "Relevant information on the successfully registered Settlement Import. See documentation for PartnerSettlementImportDto for details on fields that the client submitted.",
  "x-generated": "2026-10-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/entur-clearing-openapi.yml#/components/schemas/PartnerSettlementImportResponseDto",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "format": "int64",
      "description": "Unique identifier of queued Settlement Import."
    },
    "posRef": {
      "type": "string"
    },
    "settlementDate": {
      "type": "string",
      "format": "date"
    },
    "settlementNo": {
      "type": "integer",
      "format": "int64"
    },
    "correctedSettlementId": {
      "type": "integer",
      "format": "int64"
    },
    "externalSettlementNo": {
      "type": "integer",
      "format": "int64"
    },
    "ignoreSequence": {
      "type": "boolean",
      "description": "Indicates whether sequence errors will be ignored during import, typical for negative settlement sequences (corrections)."
    },
    "comments": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "status": {
      "type": "integer",
      "format": "int32",
      "description": "Status code indicating the result of the import operation. This will always be 0 (TO BE PROCESSED) on creation. 1 indicates SUCCESSFUL CLEARING"
    },
    "statusDescription": {
      "type": "string",
      "description": "Message providing additional information on the import status."
    }
  }
}