{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pitchbook/json-schema/pitchbook-serviced-entities-dto-schema.json",
  "title": "ServicedEntitiesDto",
  "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/ServicedEntitiesDto",
  "type": "object",
  "properties": {
    "serviceProviderId": {
      "type": "string"
    },
    "serviceProviderName": {
      "type": "string"
    },
    "currentGeneralServices": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/GeneralServiceDto"
      }
    },
    "formerGeneralServices": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/GeneralServiceDto"
      }
    }
  },
  "$defs": {
    "DictionaryDto": {
      "type": "object",
      "properties": {
        "code": {
          "type": "string"
        },
        "description": {
          "type": "string"
        }
      }
    },
    "GeneralServiceDto": {
      "type": "object",
      "properties": {
        "entityId": {
          "type": "string"
        },
        "entityName": {
          "type": "string"
        },
        "serviceProvided": {
          "$ref": "#/$defs/DictionaryDto"
        }
      }
    }
  }
}