{
  "openapi": "3.0.1",
  "info": {
    "title": "Expert Witness Directory",
    "description": "Expert witness and medico-legal directory records for the United States and Australia from 18 public sources, deduped into one record per person, mapped to one specialty taxonomy, with each source's terms posture disclosed.",
    "version": "0.1",
    "x-build-id": "HaUAyqkBD4UHjs7iA"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/mambalabs~expert-witness-directory/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-mambalabs-expert-witness-directory",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/mambalabs~expert-witness-directory/runs": {
      "post": {
        "operationId": "runs-sync-mambalabs-expert-witness-directory",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/mambalabs~expert-witness-directory/run-sync": {
      "post": {
        "operationId": "run-sync-mambalabs-expert-witness-directory",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "specialty": {
            "title": "Specialty",
            "type": "array",
            "description": "Taxonomy codes. A parent code also matches its children: medicine.psychiatry includes medicine.psychiatry.forensic. Empty returns every specialty.",
            "items": {
              "type": "string",
              "enum": [
                "medicine.psychiatry",
                "medicine.psychiatry.forensic",
                "medicine.psychology",
                "medicine.psychology.neuropsychology",
                "medicine.orthopaedics",
                "medicine.neurology",
                "medicine.neurosurgery",
                "medicine.occupational",
                "medicine.rehabilitation",
                "medicine.pain",
                "medicine.general_practice",
                "medicine.emergency",
                "medicine.general_surgery",
                "medicine.plastic_surgery",
                "medicine.ophthalmology",
                "medicine.ent",
                "medicine.cardiology",
                "medicine.obstetrics_gynaecology",
                "medicine.radiology",
                "medicine.pathology",
                "medicine.anaesthesia",
                "medicine.dermatology",
                "medicine.rheumatology",
                "medicine.urology",
                "medicine.paediatrics",
                "medicine.internal",
                "medicine.toxicology",
                "medicine.nursing",
                "medicine.dentistry",
                "medicine.physiotherapy",
                "medicine.occupational_therapy",
                "medicine.podiatry",
                "medicine.chiropractic",
                "medicine.pharmacy",
                "medicine.other",
                "engineering.structural",
                "engineering.civil",
                "engineering.mechanical",
                "engineering.electrical",
                "engineering.fire",
                "engineering.accident_reconstruction",
                "engineering.other",
                "property.surveying",
                "property.construction",
                "finance.forensic_accounting",
                "finance.valuation",
                "finance.economics",
                "insurance.claims",
                "technology.digital_forensics",
                "technology.software",
                "science.forensic",
                "science.handwriting",
                "employment.vocational",
                "care.life_care_planning",
                "other"
              ],
              "enumTitles": [
                "Psychiatry",
                "Forensic psychiatry",
                "Psychology",
                "Neuropsychology",
                "Orthopaedic surgery",
                "Neurology",
                "Neurosurgery",
                "Occupational and environmental medicine",
                "Physical medicine and rehabilitation",
                "Pain medicine",
                "General practice",
                "Emergency medicine",
                "General surgery",
                "Plastic and reconstructive surgery",
                "Ophthalmology",
                "Ear, nose, and throat",
                "Cardiology",
                "Obstetrics and gynaecology",
                "Radiology",
                "Pathology",
                "Anaesthesia",
                "Dermatology",
                "Rheumatology",
                "Urology",
                "Paediatrics",
                "Internal medicine",
                "Toxicology",
                "Nursing and care",
                "Dentistry",
                "Physiotherapy",
                "Occupational therapy",
                "Podiatry",
                "Chiropractic",
                "Pharmacy and pharmacology",
                "Medicine, other",
                "Structural engineering",
                "Civil engineering",
                "Mechanical engineering",
                "Electrical engineering",
                "Fire investigation",
                "Accident reconstruction",
                "Engineering, other",
                "Surveying and valuation",
                "Construction and quantity surveying",
                "Forensic accounting",
                "Business valuation",
                "Economics and damages",
                "Insurance and claims practice",
                "Digital forensics",
                "Software and IT",
                "Forensic science",
                "Handwriting and document examination",
                "Vocational and employment",
                "Life care planning and care costs",
                "Other"
              ]
            },
            "default": []
          },
          "region": {
            "title": "State or region",
            "type": "array",
            "description": "State or region as the source prints it, for example Queensland, California, New South Wales. Case and accents are ignored. Empty returns every region.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "country": {
            "title": "Country",
            "type": "array",
            "description": "United States and Australia today. Empty returns both.",
            "items": {
              "type": "string",
              "enum": [
                "US",
                "AU"
              ],
              "enumTitles": [
                "United States",
                "Australia"
              ]
            },
            "default": []
          },
          "sources": {
            "title": "Sources",
            "type": "array",
            "description": "Directories to read. Empty reads every implemented source. Sources that are not implemented yet, or that the actor does not cover, are skipped and named in the RUN_SUMMARY record.",
            "items": {
              "type": "string",
              "enum": [
                "abime",
                "lacourt-panels",
                "sfbar",
                "cccba",
                "isba",
                "lsba",
                "aaimco",
                "medilaw",
                "lexmedicus",
                "aushub",
                "medicolegal-specialists",
                "index-medicolegal",
                "themis",
                "integrityml",
                "vmls",
                "lime",
                "mag-directory",
                "workcover-wa",
                "lacba-expert4law",
                "lexvisio",
                "lawcom-experts",
                "expertpages",
                "jurispro",
                "experts-com",
                "trialsmith",
                "seak",
                "expert-institute",
                "aapl",
                "specialists-medicolegal-australia",
                "medibytes",
                "nsw-pic",
                "ranzcp",
                "sira-nsw",
                "worksafe-qld",
                "worksafe-tas"
              ],
              "enumTitles": [
                "ABIME business directory",
                "LA Superior Court psychiatrist and psychologist panels (3 PDFs)",
                "SF Bar Register of Experts",
                "Contra Costa County Bar experts directory",
                "Illinois State Bar expert directory",
                "Louisiana State Bar expert directory PDF",
                "AAIMCO member directory (insurance consultants)",
                "Medilaw",
                "Lex Medicus",
                "Australian Specialist Hub",
                "Medico Legal Specialists",
                "Index Medicolegal",
                "Themis Medico-Legal",
                "IntegrityML",
                "VERIFY Medico-Legal Solutions",
                "LIME Medicolegal",
                "Medicolegal Assessments Group directory PDF",
                "WorkCover WA approved medical specialists",
                "LACBA expert4law",
                "Lexvisio",
                "Law.com Experts (ALM)",
                "ExpertPages",
                "JurisPro",
                "Experts.com",
                "TrialSmith expert index (names only)",
                "SEAK expert witness directory",
                "Expert Institute",
                "American Academy of Psychiatry and the Law",
                "Specialists Medicolegal Australia",
                "Medibytes Legal",
                "NSW Personal Injury Commission medical assessors",
                "RANZCP Find a Psychiatrist (yourhealthinmind.org)",
                "SIRA NSW permanent impairment assessors",
                "WorkSafe Queensland register of permanent impairment trained assessors",
                "WorkSafe Tasmania accredited medical practitioners"
              ]
            },
            "default": [
              "abime",
              "lacourt-panels",
              "sfbar",
              "cccba",
              "isba",
              "lsba",
              "aaimco",
              "medilaw",
              "lexmedicus",
              "aushub",
              "medicolegal-specialists",
              "index-medicolegal",
              "themis",
              "integrityml",
              "vmls",
              "lime",
              "mag-directory",
              "workcover-wa"
            ]
          },
          "mode": {
            "title": "Output mode",
            "enum": [
              "list",
              "feed"
            ],
            "type": "string",
            "description": "list returns every matching expert. feed returns only experts that are new, changed, or returned since the last run on the same persistent store, plus removed rows; unchanged experts are not emitted and cost nothing. A listing counts as removed after 2 complete, unfiltered runs miss it.",
            "default": "list"
          },
          "verifyNppes": {
            "title": "Verify US physicians against NPPES",
            "type": "boolean",
            "description": "Check each US record against the free NPPES monthly file (name, state, and specialty). Adds npi and nppes_status. NPPES carries no email. Charged per checked record.",
            "default": false
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after this many output rows (one row per deduplicated expert). 0 means no cap. A capped run never marks listings as removed.",
            "default": 100
          },
          "persistStoreName": {
            "title": "Persistent store name",
            "type": "string",
            "description": "Named key-value store in your account that keeps expert records between runs. Reuse the same name for feed mode.",
            "default": "expert-witness-directory-store"
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}