{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"medicine.schema.json","title":"EU medicine record (EMA): authorised medicine, shortage, safety communication or referral","description":"Source: European Medicines Agency (www.ema.europa.eu). Reproduced with acknowledgement of the source under the EMA legal notice.","type":"object","required":["id","record_type","name","status","updated","url","therapeutic_areas","verification","paid_placement","source_id","source_url","retrieved_at"],"additionalProperties":false,"properties":{"id":{"type":"string","description":"EMA product number for medicines (for example EMEA/H/C/005392); SHORTAGE-, DHPC- or REFERRAL- plus the EMA page slug for the other record types"},"record_type":{"enum":["medicine","shortage","safety-communication","referral"],"description":"medicine: centrally authorised medicine (EPAR); shortage: EMA-monitored supply shortage; safety-communication: direct healthcare professional communication (DHPC); referral: EU referral procedure"},"category":{"enum":["human","veterinary",null],"description":"Human or veterinary medicine"},"name":{"type":["string","null"],"description":"Medicine name, or the referral name"},"active_substance":{"type":["string","null"]},"inn":{"type":["string","null"],"description":"International non-proprietary name or common name"},"atc_code":{"type":["string","null"],"description":"ATC code (ATCvet for veterinary medicines)"},"therapeutic_areas":{"type":"array","items":{"type":"string"},"description":"MeSH therapeutic areas as published by EMA"},"status":{"type":["string","null"],"description":"Status as published: for example Authorised, Withdrawn, Refused (medicines); Shortage ongoing, Shortage resolved (shortages); European Commission final decision (referrals)"},"holder":{"type":["string","null"],"description":"Marketing authorisation holder or applicant (a company)"},"published":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"First published by EMA (ISO date)"},"updated":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"Last updated by EMA (ISO date)"},"summary":{"type":["string","null"],"description":"Therapeutic indication (medicines, at most 600 characters), affected forms and strengths (shortages), DHPC type, or PRAC recommendation (referrals)"},"url":{"type":"string","format":"uri","description":"EMA page for the record"},"pharmacotherapeutic_group":{"type":["string","null"]},"species":{"type":"array","items":{"type":"string"},"description":"Target species (veterinary)"},"flags":{"type":"array","items":{"enum":["orphan","biosimilar","generic","conditional_approval","exceptional_circumstances","additional_monitoring","advanced_therapy","prime","accelerated_assessment"]},"description":"Regulatory flags set on the medicine"},"authorisation_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"Marketing authorisation date"},"ec_decision_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"European Commission decision date"},"withdrawal_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"Withdrawal, expiry, revocation or lapse date of the authorisation"},"ongoing_shortage":{"type":"boolean","description":"Medicine records: an EMA shortage record with status Shortage ongoing exists for this medicine name"},"shortage_url":{"type":["string","null"],"description":"Medicine records: EMA page of the ongoing shortage"},"dhpc_urls":{"type":"array","items":{"type":"string"},"description":"Medicine records: EMA pages of DHPCs for this medicine name, newest first, at most 10"},"alternatives_available":{"type":["string","null"],"description":"Shortages: availability of alternatives as published"},"shortage_start":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"Shortages: start of shortage"},"expected_resolution":{"type":["string","null"],"description":"Shortages: expected resolution as published"},"dhpc_types":{"type":"array","items":{"type":"string"},"description":"Safety communications: DHPC types"},"procedure_number":{"type":["string","null"],"description":"Procedure or reference number"},"dissemination_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"Safety communications: date the DHPC was sent"},"referral_type":{"type":["string","null"],"description":"Referrals: legal basis, for example Article 20 procedures"},"safety_referral":{"type":["boolean","null"],"description":"Referrals: started for safety reasons"},"procedure_start_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"Referrals: start of procedure"},"verification":{"const":"official-publication","description":"Published by the European Medicines Agency, an EU agency"},"paid_placement":{"const":false,"description":"Always false: no record is paid for or promoted"},"source_id":{"const":"ema-medicines-json"},"source_url":{"type":"string","format":"uri"},"retrieved_at":{"type":"string","format":"date-time"}}}