{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pitchbook/json-schema/pitchbook-credit-news-search-page-dto-schema.json",
  "title": "CreditNewsSearchPageDto",
  "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/CreditNewsSearchPageDto",
  "type": "object",
  "properties": {
    "stats": {
      "$ref": "#/$defs/CreditNewsStatsDto"
    },
    "items": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/CreditNewsItemDto"
      }
    }
  },
  "$defs": {
    "AuthorDto": {
      "type": "object",
      "properties": {
        "authorName": {
          "type": "string"
        }
      }
    },
    "CreditNewsItemDto": {
      "type": "object",
      "properties": {
        "articleId": {
          "type": "integer",
          "format": "int32"
        },
        "title": {
          "type": "string"
        },
        "authors": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AuthorDto"
          }
        },
        "regions": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "publishDate": {
          "type": "string",
          "format": "date-time"
        },
        "assetClasses": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "topics": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "issuer": {
          "$ref": "#/$defs/NewsBusinessEntityDto"
        },
        "lender": {
          "$ref": "#/$defs/NewsBusinessEntityDto"
        },
        "sponsor": {
          "$ref": "#/$defs/NewsBusinessEntityDto"
        },
        "deal": {
          "$ref": "#/$defs/DealDto"
        }
      }
    },
    "CreditNewsStatsDto": {
      "type": "object",
      "properties": {
        "total": {
          "type": "integer",
          "format": "int32"
        },
        "perPage": {
          "type": "integer",
          "format": "int32"
        },
        "page": {
          "type": "integer",
          "format": "int32"
        },
        "lastPage": {
          "type": "integer",
          "format": "int32"
        }
      }
    },
    "DealDto": {
      "type": "object",
      "properties": {
        "dealId": {
          "type": "string"
        }
      }
    },
    "NewsBusinessEntityDto": {
      "type": "object",
      "properties": {
        "pbId": {
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      }
    }
  }
}