{"openapi":"3.0.3","info":{"title":"BEUDAMED API","version":"1.0.0","description":"Read-only access to regulatory records and research workflows across EU EUDAMED and US FDA data.\n\nFields documented by this contract are maintained by BEUDAMED. The `raw` property contains an opaque upstream\npayload whose keys and nested structure can change independently of the stable BEUDAMED fields.\n"},"externalDocs":{"description":"Human-readable API documentation","url":"https://beudamed.com/api"},"servers":[{"url":"https://beudamed.com/api/v1","description":"Production"}],"security":[{"bearerAuth":[]}],"tags":[{"name":"Resolution"},{"name":"Records"},{"name":"Research workflows"},{"name":"FDA analysis"},{"name":"Direct lookups"},{"name":"Search"}],"paths":{"/resolve":{"get":{"tags":["Resolution"],"operationId":"resolveIdentifier","summary":"Resolve a regulatory identifier","parameters":[{"$ref":"#/components/parameters/IdentifierQuery"},{"$ref":"#/components/parameters/ProviderQuery"},{"$ref":"#/components/parameters/LimitQuery"}],"responses":{"200":{"description":"Resolution candidates","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResolutionResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"}}}},"/records/{type}/{id}":{"get":{"tags":["Records"],"operationId":"getRecord","summary":"Fetch a full regulatory record","parameters":[{"$ref":"#/components/parameters/RecordTypePath"},{"$ref":"#/components/parameters/RecordIdPath"}],"responses":{"200":{"description":"Full record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecordResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/device_dossiers/{type}/{id}":{"get":{"tags":["Research workflows"],"operationId":"getDeviceDossier","summary":"Build a device or pathway dossier","parameters":[{"$ref":"#/components/parameters/DossierTypePath"},{"$ref":"#/components/parameters/RecordIdPath"}],"responses":{"200":{"description":"EUDAMED or FDA dossier","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeviceDossierResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/manufacturer_profiles/{id}":{"get":{"tags":["Research workflows"],"operationId":"getManufacturerProfile","summary":"Verify an EUDAMED manufacturer","parameters":[{"$ref":"#/components/parameters/RecordIdPath"}],"responses":{"200":{"description":"Manufacturer profile","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManufacturerProfileResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/certificate_verifications/{id}":{"get":{"tags":["Research workflows"],"operationId":"verifyCertificate","summary":"Verify an EUDAMED certificate","parameters":[{"$ref":"#/components/parameters/RecordIdPath"}],"responses":{"200":{"description":"Certificate verification","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CertificateVerificationResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/cross_references":{"get":{"tags":["Research workflows"],"operationId":"findCrossReferences","summary":"Find advisory EU-US record candidates","parameters":[{"name":"record_ref","in":"query","required":true,"description":"Canonical `type:id` reference returned by BEUDAMED.","schema":{"type":"string"},"example":"fda_udi:07615208382464"},{"name":"target_provider","in":"query","required":true,"schema":{"$ref":"#/components/schemas/Provider"}},{"$ref":"#/components/parameters/LimitQuery"}],"responses":{"200":{"description":"Advisory candidates","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrossReferenceResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/fda/product_codes/{code}":{"get":{"tags":["FDA analysis"],"operationId":"analyzeFdaProductCode","summary":"Analyze an FDA product code","parameters":[{"$ref":"#/components/parameters/ProductCodePath"}],"responses":{"200":{"description":"Classification, predicate, review-time, PMA, and registration analysis","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FdaProductCodeAnalysisResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"}}}},"/fda/product_codes/{code}/predicates":{"get":{"tags":["FDA analysis"],"operationId":"findFdaProductCodePredicates","summary":"Find 510(k) predicate candidates","parameters":[{"$ref":"#/components/parameters/ProductCodePath"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":50}}],"responses":{"200":{"description":"Predicate candidates","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PredicateSearchResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"}}}},"/fda/product_codes/{code}/review_times":{"get":{"tags":["FDA analysis"],"operationId":"getFdaProductCodeReviewTimes","summary":"Calculate 510(k) review-time statistics","parameters":[{"$ref":"#/components/parameters/ProductCodePath"}],"responses":{"200":{"description":"Review-time statistics and recent clearances","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewTimeResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"}}}},"/fda/psur_report_data":{"get":{"tags":["FDA analysis"],"operationId":"getFdaPsurReportData","summary":"Generate a PSUR post-market data pack","parameters":[{"name":"product_codes","in":"query","required":true,"description":"One to three comma- or whitespace-separated three-character FDA product codes.","schema":{"type":"string"},"example":"FRN"},{"name":"from","in":"query","required":false,"description":"Reporting-period start month.","schema":{"type":"string","pattern":"^\\d{4}-\\d{2}$"},"example":"2025-01"},{"name":"to","in":"query","required":false,"description":"Reporting-period end month.","schema":{"type":"string","pattern":"^\\d{4}-\\d{2}$"},"example":"2025-06"},{"name":"device_names","in":"query","required":false,"description":"Up to five comma-separated device-name filters.","schema":{"type":"string"}},{"name":"manufacturer_names","in":"query","required":false,"description":"Up to five comma-separated manufacturer-name filters.","schema":{"type":"string"}}],"responses":{"200":{"description":"PSUR data pack","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PsurReportDataResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/UnprocessableEntity"}}}},"/eudamed_basic_udi_dis/{id}":{"get":{"tags":["Direct lookups"],"operationId":"getEudamedBasicUdiDi","summary":"Fetch an EUDAMED Basic UDI-DI","parameters":[{"$ref":"#/components/parameters/RecordIdPath"}],"responses":{"200":{"description":"Basic UDI-DI","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EudamedBasicUdiDi"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/eudamed_devices/{id}":{"get":{"tags":["Direct lookups"],"operationId":"getEudamedDevice","summary":"Fetch an EUDAMED device","parameters":[{"$ref":"#/components/parameters/RecordIdPath"}],"responses":{"200":{"description":"EUDAMED device","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EudamedDevice"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/fda_udis/{id}":{"get":{"tags":["Direct lookups"],"operationId":"getFdaUdi","summary":"Fetch an FDA UDI by primary DI","parameters":[{"$ref":"#/components/parameters/RecordIdPath"}],"responses":{"200":{"description":"FDA UDI","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FdaUdi"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/search":{"get":{"tags":["Search"],"operationId":"searchRegulatoryData","summary":"Search FDA and EUDAMED records","parameters":[{"name":"q","in":"query","required":false,"description":"Query text. Blank queries browse all records.","schema":{"type":"string","default":"*"}},{"name":"query","in":"query","required":false,"deprecated":true,"description":"Deprecated alias for `q`; `q` takes precedence when both are present.","schema":{"type":"string"}},{"$ref":"#/components/parameters/ProviderQuery"},{"name":"type","in":"query","required":false,"description":"Canonical record-type filter. Legacy `eudamed_device` and `eudamed_basic_udi_di` aliases are also accepted.","schema":{"type":"string","enum":["basic_udi_di","device","fda_udi"]}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1}},{"name":"per_page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":50,"default":10}},{"name":"dedupe","in":"query","required":false,"schema":{"type":"string","enum":["primary_di"]}}],"responses":{"200":{"description":"Paginated search results","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"}}}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"BEUDAMED API token"}},"parameters":{"IdentifierQuery":{"name":"identifier","in":"query","required":true,"description":"UDI-DI, Basic UDI-DI, K-number, FDA product code, SRN, certificate number, or record reference.","schema":{"type":"string"}},"ProviderQuery":{"name":"provider","in":"query","required":false,"schema":{"$ref":"#/components/schemas/Provider"}},"LimitQuery":{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":50,"default":10}},"RecordTypePath":{"name":"type","in":"path","required":true,"schema":{"$ref":"#/components/schemas/RecordType"}},"DossierTypePath":{"name":"type","in":"path","required":true,"schema":{"type":"string","enum":["basic_udi_di","device","fda_udi","fda510k","fda_classification","fda_pre_market_approval"]}},"RecordIdPath":{"name":"id","in":"path","required":true,"description":"Public identifier, UUID, UDI-DI, SRN, certificate number, or pathway identifier.","schema":{"type":"string"}},"ProductCodePath":{"name":"code","in":"path","required":true,"description":"Three-character FDA product code.","schema":{"type":"string","pattern":"^[A-Za-z0-9]{3}$"}}},"responses":{"BadRequest":{"description":"Missing, unsupported, or incompatible parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"Unauthorized":{"description":"Missing, inactive, or invalid API token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"error":{"code":"unauthorized","message":"Missing or invalid API key. Provide a valid token in the Authorization header."}}}}},"PaymentRequired":{"description":"Workspace credit limit reached","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"NotFound":{"description":"Requested record was not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"UnprocessableEntity":{"description":"Invalid PSUR report input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"error":{"code":"invalid_input","message":"NOTACODE is not a valid FDA product code"}}}}}},"schemas":{"Provider":{"type":"string","enum":["eudamed","fda"]},"RecordType":{"type":"string","enum":["authorized_representative","basic_udi_di","certificate","competent_authority","device","fda510k","fda_adverse_event","fda_classification","fda_enforcement","fda_pre_market_approval","fda_recall","fda_registration","fda_udi","importer","manufacturer","notified_body","system_producer"]},"ErrorResponse":{"type":"object","additionalProperties":false,"required":["error"],"properties":{"error":{"type":"object","additionalProperties":false,"required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"}}}}},"RawPayload":{"type":"object","description":"Opaque upstream source payload. Its keys and nested structure are not part of the stable BEUDAMED contract.","additionalProperties":true},"FdaIdentifier":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"type":{"type":"string"},"issuing_agency":{"type":"string"},"package_status":{"type":"string"},"package_type":{"type":"string"},"package_discontinue_date":{"type":"string"},"quantity_per_package":{"type":"string"},"unit_of_use_id":{"type":"string"}}},"FdaProductCode":{"type":"object","additionalProperties":false,"properties":{"code":{"type":"string"},"name":{"type":"string"},"openfda":{"type":"object","additionalProperties":false,"properties":{"device_name":{"type":"string"},"device_class":{"type":"string"},"medical_specialty_description":{"type":"string"},"regulation_number":{"type":"string"}}}}},"GmdnTerm":{"type":"object","additionalProperties":false,"properties":{"code":{"type":"string"},"name":{"type":"string"},"definition":{"type":"string"},"implantable":{"type":"boolean"},"code_status":{"type":"string"}}},"FdaUdi":{"type":"object","additionalProperties":false,"required":["id","type","primary_di","brand_name","company_name","version_or_model_number","catalog_number","device_description","commercial_distribution_status","identifiers","product_codes","gmdn_terms","url","raw"],"properties":{"id":{"type":"string"},"type":{"type":"string","enum":["fda_udi"]},"primary_di":{"type":"string"},"brand_name":{"type":"string","nullable":true},"company_name":{"type":"string","nullable":true},"version_or_model_number":{"type":"string","nullable":true},"catalog_number":{"type":"string","nullable":true},"device_description":{"type":"string","nullable":true},"commercial_distribution_status":{"type":"string","nullable":true},"identifiers":{"type":"array","items":{"$ref":"#/components/schemas/FdaIdentifier"}},"product_codes":{"type":"array","items":{"$ref":"#/components/schemas/FdaProductCode"}},"gmdn_terms":{"type":"array","items":{"$ref":"#/components/schemas/GmdnTerm"}},"url":{"type":"string","format":"uri"},"raw":{"$ref":"#/components/schemas/RawPayload"}}},"CndNomenclature":{"type":"object","additionalProperties":false,"required":["code","description"],"properties":{"code":{"type":"string","nullable":true},"description":{"type":"string","nullable":true}}},"EudamedDevice":{"type":"object","additionalProperties":false,"required":["id","provider","type","primary_di","name","basic_udi_di","basic_udi_di_id","manufacturer_name","regulation","classification","status","legacy","device_criterion","reference","additional_description","cnd_nomenclatures","web_path","eudamed_url","raw"],"properties":{"id":{"type":"string"},"provider":{"type":"string","enum":["eudamed"]},"type":{"type":"string","enum":["device"]},"primary_di":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"basic_udi_di":{"type":"string","nullable":true},"basic_udi_di_id":{"type":"string","nullable":true},"manufacturer_name":{"type":"string","nullable":true},"regulation":{"type":"string","nullable":true},"classification":{"type":"string","nullable":true},"status":{"type":"string","nullable":true},"legacy":{"type":"boolean"},"device_criterion":{"type":"string","nullable":true},"reference":{"type":"string","nullable":true},"additional_description":{"type":"string","nullable":true},"cnd_nomenclatures":{"type":"array","items":{"$ref":"#/components/schemas/CndNomenclature"}},"web_path":{"type":"string"},"eudamed_url":{"type":"string","format":"uri","nullable":true},"raw":{"$ref":"#/components/schemas/RawPayload"}}},"EudamedBasicUdiDi":{"type":"object","additionalProperties":false,"required":["id","provider","type","basic_udi_di","name","manufacturer_name","regulation","classification","legacy","device_criterion","medical_purpose","device_count","web_path","eudamed_url","raw"],"properties":{"id":{"type":"string"},"provider":{"type":"string","enum":["eudamed"]},"type":{"type":"string","enum":["basic_udi_di"]},"basic_udi_di":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"manufacturer_name":{"type":"string","nullable":true},"regulation":{"type":"string","nullable":true},"classification":{"type":"string","nullable":true},"legacy":{"type":"boolean"},"device_criterion":{"type":"string","nullable":true},"medical_purpose":{"type":"string","nullable":true},"device_count":{"type":"integer","minimum":0},"web_path":{"type":"string"},"eudamed_url":{"type":"string","format":"uri","nullable":true},"raw":{"$ref":"#/components/schemas/RawPayload"}}},"Pagination":{"type":"object","additionalProperties":false,"required":["page","per_page","total_count","total_pages"],"properties":{"page":{"type":"integer","minimum":1},"per_page":{"type":"integer","minimum":1,"maximum":50},"total_count":{"type":"integer","minimum":0},"total_pages":{"type":"integer","minimum":0}}},"SearchResultBase":{"type":"object","required":["id","provider","type","class_name","name","web_path"],"properties":{"id":{"type":"string"},"provider":{"$ref":"#/components/schemas/Provider"},"type":{"$ref":"#/components/schemas/RecordType"},"class_name":{"type":"string"},"name":{"type":"string","nullable":true},"web_path":{"type":"string","nullable":true}}},"FdaUdiSearchResult":{"allOf":[{"$ref":"#/components/schemas/SearchResultBase"},{"type":"object","required":["primary_di","brand_name","company_name","version_or_model_number","catalog_number","device_description"],"properties":{"type":{"type":"string","enum":["fda_udi"]},"primary_di":{"type":"string"},"brand_name":{"type":"string","nullable":true},"company_name":{"type":"string","nullable":true},"version_or_model_number":{"type":"string","nullable":true},"catalog_number":{"type":"string","nullable":true},"device_description":{"type":"string","nullable":true}}}]},"DeviceSearchResult":{"allOf":[{"$ref":"#/components/schemas/SearchResultBase"},{"type":"object","required":["primary_di","manufacturer_name","regulation","classification","status"],"properties":{"type":{"type":"string","enum":["device"]},"primary_di":{"type":"string","nullable":true},"manufacturer_name":{"type":"string","nullable":true},"regulation":{"type":"string","nullable":true},"classification":{"type":"string","nullable":true},"status":{"type":"string","nullable":true}}}]},"BasicUdiDiSearchResult":{"allOf":[{"$ref":"#/components/schemas/SearchResultBase"},{"type":"object","required":["basic_udi_di","manufacturer_name","regulation","classification"],"properties":{"type":{"type":"string","enum":["basic_udi_di"]},"basic_udi_di":{"type":"string","nullable":true},"manufacturer_name":{"type":"string","nullable":true},"regulation":{"type":"string","nullable":true},"classification":{"type":"string","nullable":true}}}]},"GenericSearchResult":{"allOf":[{"$ref":"#/components/schemas/SearchResultBase"},{"type":"object","properties":{"type":{"type":"string","enum":["authorized_representative","certificate","competent_authority","fda510k","fda_adverse_event","fda_classification","fda_enforcement","fda_pre_market_approval","fda_recall","fda_registration","importer","manufacturer","notified_body","system_producer"]}}}]},"SearchResult":{"oneOf":[{"$ref":"#/components/schemas/FdaUdiSearchResult"},{"$ref":"#/components/schemas/DeviceSearchResult"},{"$ref":"#/components/schemas/BasicUdiDiSearchResult"},{"$ref":"#/components/schemas/GenericSearchResult"}],"discriminator":{"propertyName":"type","mapping":{"fda_udi":"#/components/schemas/FdaUdiSearchResult","device":"#/components/schemas/DeviceSearchResult","basic_udi_di":"#/components/schemas/BasicUdiDiSearchResult","authorized_representative":"#/components/schemas/GenericSearchResult","certificate":"#/components/schemas/GenericSearchResult","competent_authority":"#/components/schemas/GenericSearchResult","fda510k":"#/components/schemas/GenericSearchResult","fda_adverse_event":"#/components/schemas/GenericSearchResult","fda_classification":"#/components/schemas/GenericSearchResult","fda_enforcement":"#/components/schemas/GenericSearchResult","fda_pre_market_approval":"#/components/schemas/GenericSearchResult","fda_recall":"#/components/schemas/GenericSearchResult","fda_registration":"#/components/schemas/GenericSearchResult","importer":"#/components/schemas/GenericSearchResult","manufacturer":"#/components/schemas/GenericSearchResult","notified_body":"#/components/schemas/GenericSearchResult","system_producer":"#/components/schemas/GenericSearchResult"}}},"SearchResponse":{"type":"object","additionalProperties":false,"required":["query","pagination","took","aggregations","results"],"properties":{"query":{"type":"string"},"pagination":{"$ref":"#/components/schemas/Pagination"},"took":{"type":"number"},"aggregations":{"type":"object","description":"Search-backend aggregation data. Bucket names depend on the active index configuration.","additionalProperties":true},"results":{"type":"array","items":{"$ref":"#/components/schemas/SearchResult"}}}},"DataFreshness":{"type":"object","additionalProperties":false,"properties":{"last_crawled_at":{"type":"string","format":"date"}}},"FullRecord":{"type":"object","additionalProperties":false,"required":["id","record_ref","provider","type","class_name","data_freshness"],"properties":{"id":{"type":"string"},"record_ref":{"type":"string"},"provider":{"$ref":"#/components/schemas/Provider"},"type":{"$ref":"#/components/schemas/RecordType"},"class_name":{"type":"string"},"name":{"type":"string"},"web_path":{"type":"string"},"source_url":{"type":"string","format":"uri"},"data_freshness":{"$ref":"#/components/schemas/DataFreshness"},"primary_di":{"type":"string"},"brand_name":{"type":"string"},"company_name":{"type":"string"},"version_or_model_number":{"type":"string"},"catalog_number":{"type":"string"},"device_description":{"type":"string"},"commercial_distribution_status":{"type":"string"},"identifiers":{"type":"array","items":{"$ref":"#/components/schemas/FdaIdentifier"}},"product_codes":{"type":"array","items":{"$ref":"#/components/schemas/FdaProductCode"}},"gmdn_terms":{"type":"array","items":{"$ref":"#/components/schemas/GmdnTerm"}},"url":{"type":"string","format":"uri"},"basic_udi_di":{"type":"string"},"basic_udi_di_id":{"type":"string"},"manufacturer_name":{"type":"string"},"manufacturer_id":{"type":"string"},"regulation":{"type":"string"},"classification":{"type":"string"},"status":{"type":"string"},"legacy":{"type":"boolean"},"device_criterion":{"type":"string"},"reference":{"type":"string"},"additional_description":{"type":"string"},"cnd_nomenclatures":{"type":"array","items":{"$ref":"#/components/schemas/CndNomenclature"}},"eudamed_url":{"type":"string","format":"uri"},"medical_purpose":{"type":"string"},"device_count":{"type":"integer","minimum":0},"k_number":{"type":"string"},"device_name":{"type":"string"},"applicant":{"type":"string"},"product_code":{"type":"string"},"decision_date":{"type":"string"},"decision_description":{"type":"string"},"clearance_type":{"type":"string"},"advisory_committee":{"type":"string"},"device_class":{"type":"string"},"medical_specialty":{"type":"string"},"regulation_number":{"type":"string"},"definition":{"type":"string"},"pma_number":{"type":"string"},"supplement_number":{"type":"string"},"generic_name":{"type":"string"},"trade_name":{"type":"string"},"registration_number":{"type":"string"},"fei_number":{"type":"string"},"establishment_type":{"type":"string"},"proprietary_name":{"oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"country":{"type":"string"},"products":{"type":"array","items":{"type":"object","additionalProperties":true}},"report_key":{"type":"string"},"report_number":{"type":"string"},"event_type":{"type":"string"},"date_received":{"type":"string"},"date_of_event":{"type":"string"},"manufacturer":{"type":"string"},"text_excerpt":{"type":"string"},"recall_number":{"type":"string"},"firm":{"type":"string"},"product_description":{"type":"string"},"reason_for_recall":{"type":"string"},"event_date_initiated":{"type":"string"},"event_id":{"type":"string"},"report_date":{"type":"string"},"srn":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"},"website":{"type":"string","format":"uri"},"address":{"type":"string"},"competent_authority":{"type":"string"},"certificate_count":{"type":"integer","minimum":0},"number":{"type":"string"},"certificate_type":{"type":"string"},"issue_date":{"type":"string"},"expiry_date":{"type":"string"},"notified_body":{"type":"string"},"nb_number":{"type":"string"},"manufacturer_count":{"type":"integer","minimum":0},"raw":{"$ref":"#/components/schemas/RawPayload"}}},"FdaUdiRecord":{"allOf":[{"$ref":"#/components/schemas/FullRecord"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["fda_udi"]}}}]},"EudamedDeviceRecord":{"allOf":[{"$ref":"#/components/schemas/FullRecord"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["device"]}}}]},"EudamedBasicUdiDiRecord":{"allOf":[{"$ref":"#/components/schemas/FullRecord"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["basic_udi_di"]}}}]},"FdaPathwayRecord":{"allOf":[{"$ref":"#/components/schemas/FullRecord"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["fda510k","fda_classification","fda_pre_market_approval"]}}}]},"FdaRegistrationRecord":{"allOf":[{"$ref":"#/components/schemas/FullRecord"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["fda_registration"]}}}]},"FdaPostMarketRecord":{"allOf":[{"$ref":"#/components/schemas/FullRecord"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["fda_adverse_event","fda_recall","fda_enforcement"]}}}]},"EudamedActorRecord":{"allOf":[{"$ref":"#/components/schemas/FullRecord"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["authorized_representative","importer","manufacturer","system_producer"]}}}]},"EudamedCertificateRecord":{"allOf":[{"$ref":"#/components/schemas/FullRecord"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["certificate"]}}}]},"EudamedNotifiedBodyRecord":{"allOf":[{"$ref":"#/components/schemas/FullRecord"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["notified_body"]}}}]},"EudamedCompetentAuthorityRecord":{"allOf":[{"$ref":"#/components/schemas/FullRecord"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["competent_authority"]}}}]},"RegulatoryRecord":{"oneOf":[{"$ref":"#/components/schemas/FdaUdiRecord"},{"$ref":"#/components/schemas/EudamedDeviceRecord"},{"$ref":"#/components/schemas/EudamedBasicUdiDiRecord"},{"$ref":"#/components/schemas/FdaPathwayRecord"},{"$ref":"#/components/schemas/FdaRegistrationRecord"},{"$ref":"#/components/schemas/FdaPostMarketRecord"},{"$ref":"#/components/schemas/EudamedActorRecord"},{"$ref":"#/components/schemas/EudamedCertificateRecord"},{"$ref":"#/components/schemas/EudamedNotifiedBodyRecord"},{"$ref":"#/components/schemas/EudamedCompetentAuthorityRecord"}],"discriminator":{"propertyName":"type","mapping":{"fda_udi":"#/components/schemas/FdaUdiRecord","device":"#/components/schemas/EudamedDeviceRecord","basic_udi_di":"#/components/schemas/EudamedBasicUdiDiRecord","fda510k":"#/components/schemas/FdaPathwayRecord","fda_classification":"#/components/schemas/FdaPathwayRecord","fda_pre_market_approval":"#/components/schemas/FdaPathwayRecord","fda_registration":"#/components/schemas/FdaRegistrationRecord","fda_adverse_event":"#/components/schemas/FdaPostMarketRecord","fda_recall":"#/components/schemas/FdaPostMarketRecord","fda_enforcement":"#/components/schemas/FdaPostMarketRecord","authorized_representative":"#/components/schemas/EudamedActorRecord","importer":"#/components/schemas/EudamedActorRecord","manufacturer":"#/components/schemas/EudamedActorRecord","system_producer":"#/components/schemas/EudamedActorRecord","certificate":"#/components/schemas/EudamedCertificateRecord","notified_body":"#/components/schemas/EudamedNotifiedBodyRecord","competent_authority":"#/components/schemas/EudamedCompetentAuthorityRecord"}}},"RecordResponse":{"type":"object","additionalProperties":false,"required":["record","result_count"],"properties":{"record":{"$ref":"#/components/schemas/RegulatoryRecord"},"result_count":{"type":"integer","enum":[1]}}},"RecordSummary":{"type":"object","additionalProperties":false,"required":["id","provider","type","class_name","record_ref"],"properties":{"id":{"type":"string"},"provider":{"$ref":"#/components/schemas/Provider"},"type":{"$ref":"#/components/schemas/RecordType"},"class_name":{"type":"string"},"name":{"type":"string"},"web_path":{"type":"string"},"record_ref":{"type":"string"},"source_url":{"type":"string","format":"uri"},"text":{"type":"string"},"primary_di":{"type":"string"},"brand_name":{"type":"string"},"company_name":{"type":"string"},"version_or_model_number":{"type":"string"},"catalog_number":{"type":"string"},"device_description":{"type":"string"},"manufacturer_name":{"type":"string"},"regulation":{"type":"string"},"classification":{"type":"string"},"status":{"type":"string"},"basic_udi_di":{"type":"string"},"identifier_kind":{"type":"string"},"match_type":{"type":"string"},"confidence":{"type":"number","minimum":0,"maximum":1},"match_reason":{"type":"string"}}},"SourceReference":{"type":"object","additionalProperties":false,"required":["record_ref","type"],"properties":{"record_ref":{"type":"string"},"type":{"$ref":"#/components/schemas/RecordType"},"name":{"type":"string"},"source_url":{"type":"string","format":"uri"},"web_path":{"type":"string"}}},"ResolvedRecord":{"allOf":[{"$ref":"#/components/schemas/RecordSummary"},{"type":"object","required":["identifier_kind","match_type","confidence","match_reason"],"properties":{"identifier_kind":{"type":"string"},"match_type":{"type":"string"},"confidence":{"type":"number","minimum":0,"maximum":1},"match_reason":{"type":"string"}}}]},"ResolutionResponse":{"type":"object","additionalProperties":false,"required":["query","results","result_count"],"properties":{"query":{"type":"string"},"provider":{"$ref":"#/components/schemas/Provider"},"results":{"type":"array","items":{"$ref":"#/components/schemas/ResolvedRecord"}},"result_count":{"type":"integer","minimum":0}}},"EudamedDossierStatus":{"type":"object","additionalProperties":false,"required":["valid_certificate_count","expired_certificate_count"],"properties":{"eu_statuses":{"type":"array","items":{"type":"string"}},"valid_certificate_count":{"type":"integer","minimum":0},"expired_certificate_count":{"type":"integer","minimum":0}}},"FdaDossierStatus":{"type":"object","additionalProperties":false,"required":["has_510k_clearances","has_pma_records","has_registration_records"],"properties":{"has_510k_clearances":{"type":"boolean"},"has_pma_records":{"type":"boolean"},"has_registration_records":{"type":"boolean"}}},"EudamedDeviceDossier":{"type":"object","additionalProperties":false,"required":["core_record","provider","dossier_type","status_flags","evidence","sources","result_count"],"properties":{"core_record":{"$ref":"#/components/schemas/RegulatoryRecord"},"provider":{"type":"string","enum":["eudamed"]},"dossier_type":{"type":"string","enum":["basic_udi_di","device"]},"manufacturer":{"$ref":"#/components/schemas/RegulatoryRecord"},"basic_udi_di":{"$ref":"#/components/schemas/RegulatoryRecord"},"devices":{"type":"array","items":{"$ref":"#/components/schemas/RecordSummary"}},"certificates":{"type":"array","items":{"$ref":"#/components/schemas/RecordSummary"}},"notified_bodies":{"type":"array","items":{"$ref":"#/components/schemas/RecordSummary"}},"authorized_representatives":{"type":"array","items":{"$ref":"#/components/schemas/RecordSummary"}},"importers":{"type":"array","items":{"$ref":"#/components/schemas/RecordSummary"}},"status_flags":{"$ref":"#/components/schemas/EudamedDossierStatus"},"warnings":{"type":"array","items":{"type":"string"}},"evidence":{"type":"array","items":{"type":"string"}},"sources":{"type":"array","items":{"$ref":"#/components/schemas/SourceReference"}},"result_count":{"type":"integer","enum":[1]}}},"FdaDeviceDossier":{"type":"object","additionalProperties":false,"required":["core_record","provider","dossier_type","status_flags","evidence","sources","result_count"],"properties":{"core_record":{"$ref":"#/components/schemas/RegulatoryRecord"},"provider":{"type":"string","enum":["fda"]},"dossier_type":{"type":"string","enum":["fda_udi","fda510k","fda_classification","fda_pre_market_approval"]},"product_codes":{"type":"array","items":{"type":"string"}},"classifications":{"type":"array","items":{"$ref":"#/components/schemas/RegulatoryRecord"}},"fda_510ks":{"type":"array","items":{"$ref":"#/components/schemas/RecordSummary"}},"fda_pre_market_approvals":{"type":"array","items":{"$ref":"#/components/schemas/RecordSummary"}},"fda_registrations":{"type":"array","items":{"$ref":"#/components/schemas/RecordSummary"}},"status_flags":{"$ref":"#/components/schemas/FdaDossierStatus"},"warnings":{"type":"array","items":{"type":"string"}},"evidence":{"type":"array","items":{"type":"string"}},"sources":{"type":"array","items":{"$ref":"#/components/schemas/SourceReference"}},"result_count":{"type":"integer","enum":[1]}}},"DeviceDossierResponse":{"oneOf":[{"$ref":"#/components/schemas/EudamedDeviceDossier"},{"$ref":"#/components/schemas/FdaDeviceDossier"}],"discriminator":{"propertyName":"provider","mapping":{"eudamed":"#/components/schemas/EudamedDeviceDossier","fda":"#/components/schemas/FdaDeviceDossier"}}},"ManufacturerCounts":{"type":"object","additionalProperties":false,"required":["devices","devices_on_market","certificates","valid_certificates","authorized_representatives","importers","notified_bodies"],"properties":{"devices":{"type":"integer","minimum":0},"devices_on_market":{"type":"integer","minimum":0},"certificates":{"type":"integer","minimum":0},"valid_certificates":{"type":"integer","minimum":0},"authorized_representatives":{"type":"integer","minimum":0},"importers":{"type":"integer","minimum":0},"notified_bodies":{"type":"integer","minimum":0}}},"ManufacturerProfileResponse":{"type":"object","additionalProperties":false,"required":["status","manufacturer","counts","evidence","sources","result_count"],"properties":{"status":{"type":"string","enum":["ok","review"]},"manufacturer":{"$ref":"#/components/schemas/RegulatoryRecord"},"counts":{"$ref":"#/components/schemas/ManufacturerCounts"},"valid_certificates":{"type":"array","items":{"$ref":"#/components/schemas/RecordSummary"}},"expiring_certificates":{"type":"array","items":{"$ref":"#/components/schemas/RecordSummary"}},"devices_on_market":{"type":"array","items":{"$ref":"#/components/schemas/RecordSummary"}},"notified_bodies":{"type":"array","items":{"$ref":"#/components/schemas/RecordSummary"}},"authorized_representatives":{"type":"array","items":{"$ref":"#/components/schemas/RecordSummary"}},"importers":{"type":"array","items":{"$ref":"#/components/schemas/RecordSummary"}},"warnings":{"type":"array","items":{"type":"string"}},"evidence":{"type":"array","items":{"type":"string"}},"sources":{"type":"array","items":{"$ref":"#/components/schemas/SourceReference"}},"result_count":{"type":"integer","enum":[1]}}},"CertificateVerificationResponse":{"type":"object","additionalProperties":false,"required":["status","currently_valid","certificate","evidence","sources","result_count"],"properties":{"status":{"type":"string","enum":["valid","review"]},"currently_valid":{"type":"boolean"},"certificate":{"$ref":"#/components/schemas/RegulatoryRecord"},"manufacturer":{"$ref":"#/components/schemas/RegulatoryRecord"},"notified_body":{"$ref":"#/components/schemas/RegulatoryRecord"},"related_basic_udi_dis":{"type":"array","items":{"$ref":"#/components/schemas/RecordSummary"}},"warnings":{"type":"array","items":{"type":"string"}},"evidence":{"type":"array","items":{"type":"string"}},"sources":{"type":"array","items":{"$ref":"#/components/schemas/SourceReference"}},"result_count":{"type":"integer","enum":[1]}}},"CrossReferenceCandidate":{"type":"object","additionalProperties":false,"required":["record","match_type","confidence","match_reasons","limitations"],"properties":{"record":{"$ref":"#/components/schemas/RecordSummary"},"match_type":{"type":"string","enum":["exact_di","similarity"]},"confidence":{"type":"number","minimum":0,"maximum":1},"match_reasons":{"type":"array","items":{"type":"string"}},"limitations":{"type":"array","items":{"type":"string"}}}},"CrossReferenceResponse":{"type":"object","additionalProperties":false,"required":["advisory","limitation","source","target_provider","result_count"],"properties":{"advisory":{"type":"boolean","enum":[true]},"limitation":{"type":"string"},"source":{"$ref":"#/components/schemas/RegulatoryRecord"},"target_provider":{"$ref":"#/components/schemas/Provider"},"candidates":{"type":"array","items":{"$ref":"#/components/schemas/CrossReferenceCandidate"}},"result_count":{"type":"integer","minimum":0}}},"Fda510kSummary":{"type":"object","additionalProperties":false,"required":["id","record_ref"],"properties":{"id":{"type":"string"},"record_ref":{"type":"string"},"k_number":{"type":"string"},"device_name":{"type":"string"},"applicant":{"type":"string"},"product_code":{"type":"string"},"date_received":{"type":"string"},"decision_date":{"type":"string"},"decision_description":{"type":"string"},"web_path":{"type":"string"},"fda_url":{"type":"string","format":"uri"}}},"ReviewTimeStats":{"type":"object","additionalProperties":false,"required":["total_clearances","approval_rate"],"properties":{"total_clearances":{"type":"integer","minimum":0},"median_review_days":{"type":"integer","minimum":0,"nullable":true},"approval_rate":{"type":"number","minimum":0,"maximum":100},"by_year":{"type":"array","items":{"type":"array","minItems":2,"maxItems":2,"items":{"oneOf":[{"type":"string"},{"type":"integer"}]}}},"distribution":{"type":"array","items":{"type":"array","minItems":2,"maxItems":2,"items":{"oneOf":[{"type":"string"},{"type":"integer"}]}}},"top_committees":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["name","count","median_days"],"properties":{"name":{"type":"string"},"count":{"type":"integer","minimum":0},"median_days":{"type":"integer","minimum":0,"nullable":true}}}}}},"RecentClearance":{"type":"object","additionalProperties":false,"required":["days","record"],"properties":{"days":{"type":"integer","minimum":0},"record":{"$ref":"#/components/schemas/Fda510kSummary"}}},"PredicateSearchResponse":{"type":"object","additionalProperties":false,"required":["query","classification","results","result_count"],"properties":{"query":{"type":"string"},"classification":{"allOf":[{"$ref":"#/components/schemas/RegulatoryRecord"}],"nullable":true},"results":{"type":"array","items":{"$ref":"#/components/schemas/Fda510kSummary"}},"result_count":{"type":"integer","minimum":0}}},"ReviewTimeResponse":{"type":"object","additionalProperties":false,"required":["product_code","classification","stats","recent_clearances","result_count"],"properties":{"product_code":{"type":"string"},"classification":{"allOf":[{"$ref":"#/components/schemas/RegulatoryRecord"}],"nullable":true},"stats":{"$ref":"#/components/schemas/ReviewTimeStats"},"recent_clearances":{"type":"array","items":{"$ref":"#/components/schemas/RecentClearance"}},"result_count":{"type":"integer","minimum":0}}},"FdaProductCodeAnalysisResponse":{"type":"object","additionalProperties":false,"required":["product_code","review_times","evidence","result_count"],"properties":{"product_code":{"type":"string"},"classification":{"$ref":"#/components/schemas/RegulatoryRecord"},"predicates":{"type":"array","items":{"$ref":"#/components/schemas/Fda510kSummary"}},"review_times":{"$ref":"#/components/schemas/ReviewTimeStats"},"recent_clearances":{"type":"array","items":{"$ref":"#/components/schemas/RecentClearance"}},"fda_pre_market_approvals":{"type":"array","items":{"$ref":"#/components/schemas/RecordSummary"}},"fda_registrations":{"type":"array","items":{"$ref":"#/components/schemas/RecordSummary"}},"evidence":{"type":"array","items":{"type":"string"}},"warnings":{"type":"array","items":{"type":"string"}},"sources":{"type":"array","items":{"$ref":"#/components/schemas/SourceReference"}},"result_count":{"type":"integer","minimum":0,"maximum":1}}},"CountMap":{"type":"object","additionalProperties":{"type":"integer","minimum":0}},"PsurPeriod":{"type":"object","additionalProperties":false,"required":["from","to"],"properties":{"from":{"type":"string","pattern":"^\\d{4}-\\d{2}$"},"to":{"type":"string","pattern":"^\\d{4}-\\d{2}$"},"months":{"type":"integer","minimum":1}}},"PsurAdverseEvents":{"type":"object","additionalProperties":false,"required":["total","prior_total","by_event_type","prior_by_event_type","monthly","by_year","by_product_code"],"properties":{"total":{"type":"integer","minimum":0},"prior_total":{"type":"integer","minimum":0},"by_event_type":{"$ref":"#/components/schemas/CountMap"},"prior_by_event_type":{"$ref":"#/components/schemas/CountMap"},"monthly":{"$ref":"#/components/schemas/CountMap"},"by_year":{"$ref":"#/components/schemas/CountMap"},"by_product_code":{"$ref":"#/components/schemas/CountMap"}}},"PsurDeviceSplit":{"type":"object","additionalProperties":false,"required":["matched_total","by_event_type","monthly","match_basis","device_names","manufacturer_names"],"properties":{"matched_total":{"type":"integer","minimum":0},"by_event_type":{"$ref":"#/components/schemas/CountMap"},"monthly":{"$ref":"#/components/schemas/CountMap"},"match_basis":{"type":"string","enum":["name"]},"device_names":{"type":"array","items":{"type":"string"}},"manufacturer_names":{"type":"array","items":{"type":"string"}}}},"PsurProblem":{"type":"object","additionalProperties":false,"required":["value","count"],"properties":{"value":{"type":"string"},"count":{"type":"integer","minimum":0}}},"PsurProblems":{"type":"object","additionalProperties":false,"required":["product_problems","patient_problems"],"properties":{"product_problems":{"type":"array","items":{"$ref":"#/components/schemas/PsurProblem"}},"patient_problems":{"type":"array","items":{"$ref":"#/components/schemas/PsurProblem"}}}},"PsurRecall":{"type":"object","additionalProperties":false,"required":["uuid","recalling_firm","reason","status","date_initiated","product_res_number","device_name","firm_matched"],"properties":{"uuid":{"type":"string"},"recalling_firm":{"type":"string","nullable":true},"reason":{"type":"string","nullable":true},"status":{"type":"string","nullable":true},"date_initiated":{"type":"string","nullable":true},"product_res_number":{"type":"string","nullable":true},"device_name":{"type":"string","nullable":true},"firm_matched":{"type":"boolean"}}},"PsurRecalls":{"type":"object","additionalProperties":false,"required":["total","excluded_bad_dates","truncated","list"],"properties":{"total":{"type":"integer","minimum":0},"excluded_bad_dates":{"type":"integer","minimum":0},"truncated":{"type":"boolean"},"list":{"type":"array","items":{"$ref":"#/components/schemas/PsurRecall"}}}},"PsurEnforcements":{"type":"object","additionalProperties":false,"required":["by_classification","linked_total"],"properties":{"by_classification":{"$ref":"#/components/schemas/CountMap"},"linked_total":{"type":"integer","minimum":0}}},"DatasetMetadata":{"type":"object","additionalProperties":false,"required":["export_date","total_rows"],"properties":{"export_date":{"type":"string","nullable":true},"total_rows":{"type":"integer","minimum":0}}},"PsurMethodology":{"type":"object","additionalProperties":false,"required":["generated_at","datasets","filters","data_coverage_end"],"properties":{"generated_at":{"type":"string","format":"date-time"},"datasets":{"type":"object","additionalProperties":false,"required":["adverse_events","recalls","enforcements"],"properties":{"adverse_events":{"$ref":"#/components/schemas/DatasetMetadata"},"recalls":{"$ref":"#/components/schemas/DatasetMetadata"},"enforcements":{"$ref":"#/components/schemas/DatasetMetadata"}}},"filters":{"type":"object","additionalProperties":false,"required":["product_codes","period","device_names","manufacturer_names","recall_sane_date_min"],"properties":{"product_codes":{"type":"array","items":{"type":"string"}},"period":{"$ref":"#/components/schemas/PsurPeriod"},"device_names":{"type":"array","items":{"type":"string"}},"manufacturer_names":{"type":"array","items":{"type":"string"}},"recall_sane_date_min":{"type":"string"}}},"data_coverage_end":{"type":"string","nullable":true}}},"PsurReportDataResponse":{"type":"object","additionalProperties":false,"required":["product_codes","period","prior_period","adverse_events","problems","recalls","enforcements","methodology"],"properties":{"product_codes":{"type":"array","minItems":1,"maxItems":3,"items":{"type":"string"}},"period":{"allOf":[{"$ref":"#/components/schemas/PsurPeriod"}],"required":["from","to","months"]},"prior_period":{"$ref":"#/components/schemas/PsurPeriod"},"adverse_events":{"$ref":"#/components/schemas/PsurAdverseEvents"},"device_split":{"allOf":[{"$ref":"#/components/schemas/PsurDeviceSplit"}],"nullable":true},"problems":{"$ref":"#/components/schemas/PsurProblems"},"recalls":{"$ref":"#/components/schemas/PsurRecalls"},"enforcements":{"$ref":"#/components/schemas/PsurEnforcements"},"methodology":{"$ref":"#/components/schemas/PsurMethodology"}}}}}}