{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/pagopa/main/json-schema/pagopa-debt-position-response-schema.json",
  "title": "DebtPositionResponse",
  "x-generated": "2026-10-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pagopa-aca-openapi.yml#/components/schemas/DebtPositionResponse",
  "type": "object",
  "properties": {
    "paFiscalCode": {
      "type": "string"
    },
    "companyName": {
      "type": "string"
    },
    "entityType": {
      "type": "string"
    },
    "entityFiscalCode": {
      "type": "string"
    },
    "entityFullName": {
      "type": "string"
    },
    "iuv": {
      "type": "string"
    },
    "nav": {
      "type": "string"
    },
    "amount": {
      "type": "integer",
      "format": "int64"
    },
    "description": {
      "type": "string"
    },
    "expirationDate": {
      "type": "string",
      "format": "local-date-time"
    },
    "iban": {
      "type": "string"
    },
    "postalIban": {
      "type": "string"
    },
    "switchToExpired": {
      "type": "boolean"
    },
    "status": {
      "type": "string"
    }
  }
}