{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pitchbook/json-schema/pitchbook-credit-research-page-dto-schema.json",
  "title": "CreditResearchPageDto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pitchbook-credit-analysis-api-openapi.yml#/components/schemas/CreditResearchPageDto",
  "type": "object",
  "properties": {
    "stats": {
      "$ref": "#/$defs/CreditResearchStatsDto"
    },
    "items": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ResearchReportDto"
      }
    }
  },
  "$defs": {
    "AuthorDto": {
      "type": "object",
      "properties": {
        "authorName": {
          "type": "string"
        }
      }
    },
    "CreditResearchCompanyDto": {
      "type": "object",
      "properties": {
        "companyId": {
          "type": "string"
        },
        "companyName": {
          "type": "string"
        }
      }
    },
    "CreditResearchStatsDto": {
      "type": "object",
      "properties": {
        "total": {
          "type": "integer",
          "format": "int32"
        },
        "perPage": {
          "type": "integer",
          "format": "int32"
        },
        "page": {
          "type": "integer",
          "format": "int32"
        },
        "lastPage": {
          "type": "integer",
          "format": "int32"
        }
      }
    },
    "ReportFileDto": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "url": {
          "type": "string"
        }
      }
    },
    "ResearchReportDto": {
      "type": "object",
      "properties": {
        "reportId": {
          "type": "integer",
          "format": "int32"
        },
        "title": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "authors": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AuthorDto"
          }
        },
        "regions": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "assetClasses": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "publishDate": {
          "type": "string",
          "format": "date"
        },
        "reportType": {
          "type": "string"
        },
        "companies": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/CreditResearchCompanyDto"
          }
        },
        "purposes": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "attachments": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ReportFileDto"
          }
        }
      }
    }
  }
}