{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/bancomat/main/json-schema/bancomat-invoice-preference-schema.json",
  "title": "InvoicePreference",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bancomat-fatture-api-openapi.yml#/components/schemas/InvoicePreference",
  "properties": {
    "incomingAccount": {
      "description": "Account di default sul quale incassare le fatture",
      "properties": {
        "bankID": {
          "type": "string"
        },
        "currency": {
          "type": "string"
        },
        "iban": {
          "type": "string"
        }
      },
      "required": [
        "iban",
        "currency",
        "bankID"
      ],
      "type": "object"
    },
    "outgoingAccount": {
      "description": "Account di default dal quale pagare le fatture",
      "properties": {
        "bankID": {
          "type": "string"
        },
        "currency": {
          "type": "string"
        },
        "iban": {
          "type": "string"
        }
      },
      "required": [
        "iban",
        "currency",
        "bankID"
      ],
      "type": "object"
    },
    "warnings": {
      "description": "Identificativi dei messaggi silenziati",
      "items": {
        "type": "string"
      },
      "type": "array"
    }
  },
  "type": "object"
}