{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pitchbook/json-schema/pitchbook-serviced-deals-dto-schema.json",
  "title": "ServicedDealsDto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pitchbook-service-providers-api-openapi.yml#/components/schemas/ServicedDealsDto",
  "type": "object",
  "properties": {
    "serviceProviderId": {
      "type": "string"
    },
    "serviceProviderName": {
      "type": "string"
    },
    "servicedDealInfo": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ServicedDealInfoDto"
      }
    }
  },
  "$defs": {
    "DictionaryDto": {
      "type": "object",
      "properties": {
        "code": {
          "type": "string"
        },
        "description": {
          "type": "string"
        }
      }
    },
    "ServicedDealInfoDto": {
      "type": "object",
      "properties": {
        "companyId": {
          "type": "string"
        },
        "companyName": {
          "type": "string"
        },
        "serviceProvided": {
          "$ref": "#/$defs/DictionaryDto"
        },
        "dealId": {
          "type": "string"
        },
        "dealNumber": {
          "type": "integer",
          "format": "int32"
        },
        "dealDate": {
          "type": "string",
          "format": "date"
        }
      }
    }
  }
}