{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/IncomeByContactResponse",
  "title": "IncomeByContactResponse",
  "type": "object",
  "properties": {
    "startDate": {
      "type": "string",
      "description": "Start date of the report",
      "format": "date"
    },
    "endDate": {
      "type": "string",
      "description": "End date of the report",
      "format": "date"
    },
    "total": {
      "type": "number",
      "description": "Total value",
      "format": "double",
      "x-is-money": true
    },
    "totalDetail": {
      "$ref": "#/components/schemas/TotalDetail"
    },
    "totalOther": {
      "$ref": "#/components/schemas/TotalOther"
    },
    "contacts": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/ContactDetail"
      }
    },
    "manualJournals": {
      "$ref": "#/components/schemas/ManualJournalTotal"
    }
  },
  "additionalProperties": false
}