File size: 60,694 Bytes
f43f2d3 83ba6f2 f43f2d3 83ba6f2 f43f2d3 043003f f43f2d3 83ba6f2 f43f2d3 043003f f43f2d3 83ba6f2 f43f2d3 83ba6f2 f43f2d3 83ba6f2 f43f2d3 83ba6f2 f43f2d3 83ba6f2 f43f2d3 83ba6f2 f43f2d3 83ba6f2 f43f2d3 83ba6f2 f43f2d3 83ba6f2 f43f2d3 83ba6f2 f43f2d3 83ba6f2 f43f2d3 83ba6f2 f43f2d3 83ba6f2 f43f2d3 83ba6f2 f43f2d3 83ba6f2 f43f2d3 83ba6f2 f43f2d3 83ba6f2 f43f2d3 83ba6f2 f43f2d3 83ba6f2 f43f2d3 83ba6f2 4a63df8 83ba6f2 c934aa2 4a63df8 c934aa2 4a63df8 c934aa2 4a63df8 c934aa2 4a63df8 c934aa2 4a63df8 c934aa2 bbcff60 4a63df8 bbcff60 4a63df8 f43f2d3 83ba6f2 f43f2d3 83ba6f2 f43f2d3 83ba6f2 4a63df8 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 |
"""
Stores the detailed metadata for the Solr index fields.
This information is crucial for the LLM to understand the data schema,
enabling it to construct accurate and efficient Solr queries. Separating it
into its own module keeps the main application logic cleaner.
"""
field_metadata = [
{
"core_name": "news",
"field_name": "business_model",
"type": "string (categorical)",
"example_values": ["pharma/bio", "drug delivery", "pharma services"],
"definition": "The primary business category of the company involved in the news. Use for filtering by high-level industry segments."
},
{
"core_name": "news",
"field_name": "news_type",
"type": "string (categorical)",
"example_values": ["financial news", "product news", "other company news", "regulatory news", "people news", "funding news", "pharma services deals", "product approvals", "product deals", "technology news", "company acquisitions", "product filings", "legal news", "discovery technology deals", "company divestitures", "latest dds patents", "dd technology deals", "product acquisitions", "option agreement", "joint venture deal", "technology acquisitions"],
"definition": "The category of the news article itself (e.g., financial, regulatory, acquisition). Use for filtering by the type of event being reported."
},
{
"core_name": "news",
"field_name": "event_type",
"type": "string (categorical)",
"example_values": ["phase 1", "phase 2", "pre clinical", "phase 3", "marketed", "approved", "registration", "research", "phase 0", "tentative approval", "bioequivalency", "undisclosed", "approvable"],
"definition": "The clinical or developmental stage of a product or event discussed in the article. Essential for queries about clinical trial phases."
},
{
"core_name": "news",
"field_name": "source",
"type": "string (categorical)",
"example_values": ["Press Release", "PR Newswire", "Business Wire"],
"definition": "The original source of the news article, such as a newswire or official report."
},
{
"core_name": "news",
"field_name": "company_name",
"type": "string (exact match, for faceting)",
"example_values": ["pfizer inc.", "astrazeneca plc", "roche"],
"definition": "The canonical, standardized name of a company. **Crucially, you MUST use this field for `terms` faceting** to group results by a unique company. Do NOT use this for searching."
},
{
"core_name": "news",
"field_name": "company_name_s",
"type": "string (multi-valued, for searching)",
"example_values": ["pfizer inc.", "roche", "f. hoffmann-la roche ag", "nih"],
"definition": "A field containing all known names and synonyms for a company. **You MUST use this field for all `query` parameter searches involving a company name** to ensure comprehensive results. Do NOT use for `terms` faceting."
},
{
"core_name": "news",
"field_name": "territory_hq_s",
"type": "string (multi-valued, hierarchical)",
"example_values": ["united states of america", "europe", "europe western"],
"definition": "The geographic location (country and continent) of a company's headquarters. It is hierarchical. Use for filtering by location."
},
{
"core_name": "news",
"field_name": "therapeutic_category",
"type": "string (specific)",
"example_values": ["cancer, other", "cancer, nsclc metastatic", "alzheimer's"],
"definition": "The specific disease or therapeutic area being targeted. Use for very specific disease queries."
},
{
"core_name": "news",
"field_name": "therapeutic_category_s",
"type": "string (multi-valued, for searching)",
"example_values": ["cancer", "oncology", "infections", "cns"],
"definition": "Broader, multi-valued therapeutic categories and their synonyms. **Use this field for broad category searches** in the `query` parameter."
},
{
"core_name": "news",
"field_name": "compound_name",
"type": "string (exact match, for faceting)",
"example_values": ["opdivo injection solution", "keytruda injection solution"],
"definition": "The specific, full trade name of a drug. **Use this field for `terms` faceting** on compounds."
},
{
"core_name": "news",
"field_name": "compound_name_s",
"type": "string (multi-valued, for searching)",
"example_values": ["nivolumab injection solution", "opdivo injection solution", "ono-4538 injection solution"],
"definition": "A field with all known trade names and synonyms for a drug. **Use this field for all `query` parameter searches** involving a compound name."
},
{
"core_name": "news",
"field_name": "molecule_name",
"type": "string (exact match, for faceting)",
"example_values": ["cannabidiol", "paclitaxel", "pembrolizumab"],
"definition": "The generic, non-proprietary name of the active molecule. **Use this field for `terms` faceting** on molecules."
},
{
"core_name": "news",
"field_name": "molecule_name_s",
"type": "string (multi-valued, for searching)",
"example_values": ["cbd", "s1-220", "a1002n5s"],
"definition": "A field with all known generic names and synonyms for a molecule. **Use this field for all `query` parameter searches** involving a molecule name."
},
{
"core_name": "news",
"field_name": "highest_phase",
"type": "string (categorical)",
"example_values": ["marketed", "phase 2", "phase 1"],
"definition": "The highest stage of development a drug has ever reached."
},
{
"core_name": "news",
"field_name": "drug_delivery_branch_s",
"type": "string (multi-valued, for searching)",
"example_values": ["injection", "parenteral", "oral", "injection, other", "oral, other"],
"definition": "The method of drug administration. **Use this for `query` parameter searches about route of administration** as it contains broader, search-friendly terms."
},
{
"core_name": "news",
"field_name": "drug_delivery_branch",
"type": "string (categorical, specific, for faceting)",
"example_values": ["injection, other", "prefilled syringes", "np liposome", "oral enteric/delayed release"],
"definition": "The most specific category of drug delivery technology. **Use this field for `terms` faceting** on specific delivery technologies."
},
{
"core_name": "news",
"field_name": "route_branch",
"type": "string (categorical)",
"example_values": ["injection", "oral", "topical", "inhalation"],
"definition": "The primary route of drug administration. Good for faceting on exact routes."
},
{
"core_name": "news",
"field_name": "molecule_api_group",
"type": "string (categorical)",
"example_values": ["small molecules", "biologics", "nucleic acids"],
"definition": "High-level classification of the drug's molecular type."
},
{
"core_name": "news",
"field_name": "content",
"type": "text (full-text search)",
"example_values": ["The largest study to date...", "balstilimab..."],
"definition": "The full text content of the news article. Use for keyword searches on topics not covered by other specific fields."
},
{
"core_name": "news",
"field_name": "date",
"type": "date",
"example_values": ["2020-10-22T00:00:00Z"],
"definition": "The full publication date and time in ISO 8601 format. Use for precise date range queries."
},
{
"core_name": "news",
"field_name": "date_year",
"type": "number (year)",
"example_values": [2020, 2021, 2022],
"definition": "The 4-digit year of publication. **Use this for queries involving whole years** (e.g., 'in 2023', 'last year', 'since 2020')."
},
{
"core_name": "news",
"field_name": "total_deal_value_in_million",
"type": "number (metric)",
"example_values": [50, 120.5, 176.157, 1000],
"definition": "The total value of a financial deal, in millions of USD. This is the primary numeric field for financial aggregations (sum, avg, etc.). To use this, you must also filter for news that has a deal value, e.g., 'total_deal_value_in_million:[0 TO *]'."
},
# NEW 'deal' CORE METADATA
{
"core_name": "deal",
"field_name": "id",
"type": "string",
"example_values": ["275302", "275306", "275307"],
"definition": "Unique identifier for the deal document."
},
{
"core_name": "deal",
"field_name": "date",
"type": "date",
"example_values": ["2018-01-08T00:00:00Z"],
"definition": "The full publication date and time of the deal in ISO 8601 format. Use for precise date range queries."
},
{
"core_name": "deal",
"field_name": "date_year",
"type": "number (year)",
"example_values": [2018, 2017, 2016],
"definition": "The 4-digit year of the deal. Use for queries involving whole years."
},
{
"core_name": "deal",
"field_name": "type",
"type": "string (multi-valued, categorical)",
"example_values": ["drug delivery", "medical device", "pharma/bio", "pharma services"],
"definition": "The primary business categories associated with the deal (e.g., drug delivery, pharma/bio). Use for filtering by high-level industry segments."
},
{
"core_name": "deal",
"field_name": "news_branch",
"type": "string (categorical)",
"example_values": ["DD Technology Deals", "Company Acquisitions", "Product Deals", "Pharma Services Deals", "Discovery Technology Deals"],
"definition": "The category of the deal itself (e.g., technology deal, acquisition). Use for filtering by the type of deal."
},
{
"core_name": "deal",
"field_name": "news_header",
"type": "text",
"example_values": ["Intec Pharma Announces Development Collaboration With Global Pharmaceutical Company", "Alcyone Lifesciences Announces Research Collaboration..."],
"definition": "The headline or title of the news article announcing the deal. Use for keyword searches on the deal's title."
},
{
"core_name": "deal",
"field_name": "total_deal_value_in_million",
"type": "number (metric)",
"example_values": [68.9968, 260.0, 100.0, 12.0],
"definition": "The total value of a financial deal, in millions of USD. This is the primary numeric field for financial aggregations (sum, avg, etc.)."
},
{
"core_name": "deal",
"field_name": "deal_upfront",
"type": "number (metric)",
"example_values": [23.6042, 80.0, 12.0],
"definition": "The upfront payment value of the deal, in millions of USD."
},
{
"core_name": "deal",
"field_name": "milestones",
"type": "number (metric)",
"example_values": [120.0],
"definition": "The value of milestone payments associated with the deal, in millions of USD."
},
{
"core_name": "deal",
"field_name": "company_name",
"type": "string (exact match, for faceting, multi-valued)",
"example_values": ["Novartis AG", "Intec Pharma Ltd.", "Guerbet SA", "REGENXBIO, Inc."],
"definition": "The canonical, standardized names of companies involved in the deal. **Crucially, you MUST use this field for `terms` faceting** to group results by unique companies."
},
{
"core_name": "deal",
"field_name": "company_name_s",
"type": "string (multi-valued, for searching)",
"example_values": ["Novartis AG", "Intec Pharma Ltd.", "Orly Guy Ltd.", "AveXis, Inc."],
"definition": "A field containing all known names and synonyms for companies in a deal. **You MUST use this field for all `query` parameter searches involving a company name**."
},
{
"core_name": "deal",
"field_name": "company_name_investor",
"type": "string (multi-valued, for faceting)",
"example_values": ["Novartis AG", "Undisclosed Co.", "Merck KGaA", "Surface Oncology, Inc."],
"definition": "The canonical name(s) of the investor or acquiring company in the deal. Use for faceting on investors."
},
{
"core_name": "deal",
"field_name": "company_name_investor_s",
"type": "string (multi-valued, for searching)",
"example_values": ["Novartis AG", "Undisclosed Co.", "AveXis, Inc.", "Surface Oncology, Inc."],
"definition": "A field with all known names and synonyms for the investor company. **Use this field for `query` parameter searches for investors.**"
},
{
"core_name": "deal",
"field_name": "company_name_invested",
"type": "string (multi-valued, for faceting)",
"example_values": ["Intec Pharma Ltd.", "Alcyone Therapeutics, Inc.", "Juniper Pharmaceuticals, Inc.", "Vaccinex, Inc."],
"definition": "The canonical name(s) of the company receiving investment or being acquired. Use for faceting on investees."
},
{
"core_name": "deal",
"field_name": "company_name_invested_s",
"type": "string (multi-valued, for searching)",
"example_values": ["Intec Pharma Ltd.", "Orly Guy Ltd.", "Alcyone Lifesciences, Inc.", "Vaccinex, Inc."],
"definition": "A field with all known names and synonyms for the company receiving investment. **Use this field for `query` parameter searches for investees.**"
},
{
"core_name": "deal",
"field_name": "territory_name",
"type": "string (multi-valued, hierarchical)",
"example_values": ["Israel", "Asia Middle East", "Switzerland", "Europe Western", "United States of America"],
"definition": "The geographic locations (country, continent) of the companies involved in the deal. It is hierarchical. Use for filtering by location."
},
{
"core_name": "deal",
"field_name": "therapeutic_category",
"type": "string (multi-valued, specific)",
"example_values": ["Duodenal Ulcer", "CNS, Other", "Infertility, Other", "Spinal Muscular Atrophy, Other"],
"definition": "The specific disease or therapeutic area being targeted by the deal. Use for very specific disease queries."
},
{
"core_name": "deal",
"field_name": "therapeutic_category_s",
"type": "string (multi-valued, for searching)",
"example_values": ["gastrointestinal diseases", "peptic ulcer", "cns", "central nervous system", "musculoskeletal diseases"],
"definition": "Broader, multi-valued therapeutic categories and their synonyms related to the deal. **Use this field for broad category searches** in the `query` parameter."
},
{
"core_name": "deal",
"field_name": "drug_delivery_branch",
"type": "string (multi-valued, for faceting)",
"example_values": ["Gastro Retentive", "Catheter Delivery Systems", "Bioadhesion", "Adeno-Associated Virus Vectors"],
"definition": "Specific categories of drug delivery technology involved in the deal. **Use this field for `terms` faceting** on specific delivery technologies."
},
{
"core_name": "deal",
"field_name": "drug_delivery_branch_s",
"type": "string (multi-valued, for searching)",
"example_values": ["oral", "oral modified release", "gastro retentive", "medical devices", "viral vectors"],
"definition": "The method of drug administration and its broader search-friendly terms. **Use this for `query` parameter searches about route of administration**."
},
{
"core_name": "deal",
"field_name": "route_branch",
"type": "string (multi-valued, categorical)",
"example_values": ["ORAL", "INJECTION", "SURGICAL INSERTION", "VAGINAL"],
"definition": "The primary route of drug administration related to the deal. Good for faceting on exact routes."
},
{
"core_name": "deal",
"field_name": "product_name",
"type": "string (multi-valued, for searching and faceting)",
"example_values": ["Accordion Oral Capsule, Intec/Novartis", "Zolgensma Injection Suspension", "Crinone Vaginal Gel"],
"definition": "The name(s) of the product(s) central to the deal. Can be used for searching and faceting."
},
{
"core_name": "deal",
"field_name": "phase",
"type": "string (multi-valued, categorical)",
"example_values": ["Phase 1", "Research", "Marketed", "Phase 3", "Pre Clinical"],
"definition": "The clinical or developmental stage(s) of a product or event discussed in the deal. Essential for queries about clinical trial phases."
},
{
"core_name": "deal",
"field_name": "highest_phase",
"type": "string (multi-valued, categorical)",
"example_values": ["Phase 1", "Research", "Marketed", "Phase 3"],
"definition": "The highest stage of development a drug involved in the deal has ever reached."
},
{
"core_name": "deal",
"field_name": "technology",
"type": "string (multi-valued, for searching and faceting)",
"example_values": ["Accordion GR Pill", "Alcyone Pulsar", "NAV Vectors", "Qb VLP Platform"],
"definition": "The specific named technologies that are part of the deal (e.g., a platform or a device)."
},
{
"core_name": "deal",
"field_name": "mechanism_type_s",
"type": "string (multi-valued, for searching)",
"example_values": ["antiulcerative agents", "cns modulators", "hormone related", "progestogens", "gene replacements"],
"definition": "A field with all known mechanisms of action and their synonyms. **Use this field for all `query` parameter searches** involving mechanism of action."
},
{
"core_name": "deal",
"field_name": "molecule_name_s",
"type": "string (multi-valued, for searching)",
"example_values": ["Accordion Pill Program Oral Capsule, Intec/Novartis", "progesterone", "onasemnogene abeparvovec-xioi", "apabetalone"],
"definition": "A field with all known generic names and synonyms for a molecule involved in the deal. **Use this field for all `query` parameter searches** involving a molecule name."
},
{
"core_name": "deal",
"field_name": "molecule_api_group",
"type": "string (multi-valued, categorical)",
"example_values": ["Small Molecules", "Biologics", "Nucleic Acids", "Peptides"],
"definition": "High-level classification of the drug's molecular type involved in the deal."
},
{
"core_name": "compound",
"field_name": "id",
"type": "string",
"example_values": ["519-571", "35518_child"],
"definition": "Unique identifier for the compound document."
},
{
"core_name": "compound",
"field_name": "molecule_id",
"type": "string",
# Placeholder, not in provided doc examples directly.
"example_values": ["mol_12345", "mol_67890"],
"definition": "Unique identifier for the molecule associated with the compound."
},
{
"core_name": "compound",
"field_name": "product_name",
"type": "string (exact match, for faceting)",
"example_values": ["Toprol-XL Tablets"],
"definition": "The specific, full trade name of the product. **Use this field for `terms` faceting** on products."
},
{
"core_name": "compound",
"field_name": "product_name_s",
"type": "string (multi-valued, for searching)",
"example_values": ["Toprol-XL Tablets", "Toprol Extended Release Tablets"],
"definition": "A field containing all known trade names and synonyms for a product. **Use this field for all `query` parameter searches involving a product name** to ensure comprehensive results."
},
{
"core_name": "compound",
"field_name": "product_synonym",
"type": "string (multi-valued)",
"example_values": ["Toprol Extended Release Tablets", "metoprolol succinate ER Tablets"],
"definition": "Synonyms or alternative names for the product."
},
{
"core_name": "compound",
"field_name": "molecule_name",
"type": "string (exact match, for faceting)",
"example_values": ["metoprolol succinate"],
"definition": "The generic, non-proprietary name of the active molecule. **Use this field for `terms` faceting** on molecules."
},
{
"core_name": "compound",
"field_name": "molecule_name_s",
"type": "string (multi-valued, for searching)",
"example_values": ["metoprolol succinate", "Métoprolol, Succinate de"],
"definition": "A field with all known generic names and synonyms for a molecule. **Use this field for all `query` parameter searches** involving a molecule name."
},
{
"core_name": "compound",
"field_name": "molecule_synonym",
"type": "string (multi-valued)",
"example_values": ["Métoprolol, Succinate de", "Metoprololi Succinas"],
"definition": "Synonyms or alternative names for the molecule."
},
{
"core_name": "compound",
"field_name": "molecule_type",
"type": "string (categorical)",
"example_values": ["small molecule", "biologic", "nucleic acid"],
"definition": "High-level classification of the compound's molecular type."
},
{
"core_name": "compound",
"field_name": "company_name",
"type": "string (multi-valued, exact match, for faceting)",
"example_values": ["AstraZeneca Plc", "Recordati S.p.A."],
"definition": "The canonical, standardized names of companies associated with the compound. **Use this field for `terms` faceting** to group results by unique companies."
},
{
"core_name": "compound",
"field_name": "company_name_s",
"type": "string (multi-valued, for searching)",
"example_values": ["AstraZeneca Plc", "New American Therapeutics, Inc."],
"definition": "A field containing all known names and synonyms for companies associated with the compound. **Use this field for all `query` parameter searches involving a company name**."
},
{
"core_name": "compound",
"field_name": "company_role",
"type": "string (multi-valued, categorical)",
"example_values": ["owner", "partner", "manufacturer"],
"definition": "The role of the company in relation to the compound (e.g., owner, partner, manufacturer)."
},
{
"core_name": "compound",
"field_name": "owner_company_name",
"type": "string (multi-valued, exact match, for faceting)",
# Placeholder, based on common patterns
"example_values": ["AstraZeneca Plc"],
"definition": "The canonical, standardized name(s) of the owner company of the compound. Use for faceting on owner companies."
},
{
"core_name": "compound",
"field_name": "overall_status",
"type": "string (multi-valued, categorical)",
"example_values": ["Marketed", "Completed", "Terminated"],
"definition": "The overall development status of the compound (e.g., Marketed, Completed, Terminated)."
},
{
"core_name": "compound",
"field_name": "phase",
"type": "string (multi-valued, categorical)",
"example_values": ["Marketed", "Phase 1", "Pre Clinical"],
"definition": "The current or most advanced clinical or developmental stage of the compound. Essential for queries about clinical trial phases."
},
{
"core_name": "compound",
"field_name": "highest_phase_molecule",
"type": "string (multi-valued, categorical)",
"example_values": ["Marketed", "Phase 3"],
"definition": "The highest development stage a molecule associated with this compound has ever reached."
},
{
"core_name": "compound",
"field_name": "therapeutic_category",
"type": "string (multi-valued, specific, for faceting)",
"example_values": ["Angina Pectoris", "Heart Failure, Other"],
"definition": "The specific disease or therapeutic area being targeted by the compound. Use for very specific disease queries or faceting."
},
{
"core_name": "compound",
"field_name": "therapeutic_category_s",
"type": "string (multi-valued, for searching)",
"example_values": ["cardiovascular diseases", "heart diseases", "angina pectoris"],
"definition": "Broader, multi-valued therapeutic categories and their synonyms. **Use this field for broad category searches** in the `query` parameter."
},
{
"core_name": "compound",
"field_name": "therapeutic_category_hierarchy",
"type": "string (multi-valued, hierarchical)",
"example_values": ["Cardiovascular Diseases|Heart Diseases|Coronary Artery Disease|Angina Pectoris"],
"definition": "The hierarchical classification of the therapeutic area (e.g., 'Category|Subcategory|Specific Area'). Useful for hierarchical faceting or broader path-based searches. [12, 16, 18, 24]"
},
{
"core_name": "compound",
"field_name": "mechanism",
"type": "string (multi-valued, specific, for faceting)",
# Placeholder
"example_values": ["Beta-1 Adrenergic Receptor Antagonist"],
"definition": "The specific mechanism of action of the compound. Use for very specific mechanism queries or faceting."
},
{
"core_name": "compound",
"field_name": "mechanism_s",
"type": "string (multi-valued, for searching)",
# Placeholder
"example_values": ["beta blocker", "adrenergic receptor antagonist"],
"definition": "Broader, multi-valued mechanisms of action and their synonyms. **Use this field for broad mechanism searches** in the `query` parameter."
},
{
"core_name": "compound",
"field_name": "mechanism_type",
"type": "string (multi-valued, categorical)",
"example_values": ["Cardioprotectants", "Antihypertensive Agents", "Beta-1 Blockers"],
"definition": "High-level classification of the mechanism type."
},
{
"core_name": "compound",
"field_name": "mechanism_type_hierarchy",
"type": "string (multi-valued, hierarchical)",
"example_values": ["Tissue Protectants|Cardioprotectants", "Adrenergic Receptor Modulators|Beta Adrenergic Receptor Modulators|Beta Blockers|Beta-1 Blockers"],
"definition": "The hierarchical classification of the mechanism type."
},
{
"core_name": "compound",
"field_name": "target_name",
"type": "string (multi-valued, exact match, for faceting)",
"example_values": ["Beta1 Adrenergic"],
"definition": "The specific name of the biological target(s) of the compound. **Use this field for `terms` faceting** on targets."
},
{
"core_name": "compound",
"field_name": "target_name_s",
"type": "string (multi-valued, for searching)",
"example_values": ["Beta1 Adrenergic", "Beta-1 Adrenergic Receptor", "ADRB1"],
"definition": "A field with all known names and synonyms for the biological target(s). **Use this field for all `query` parameter searches** involving a target name."
},
{
"core_name": "compound",
"field_name": "target_type",
"type": "string (multi-valued, categorical)",
"example_values": ["protein", "biochemical process/pathway", "other"],
"definition": "The type of biological target (e.g., protein, pathway)."
},
{
"core_name": "compound",
"field_name": "route",
"type": "string (multi-valued, categorical)",
"example_values": ["ORAL", "INJECTION", "TOPICAL"],
"definition": "The primary route of administration for the compound. Good for faceting on exact routes."
},
{
"core_name": "compound",
"field_name": "route_s",
"type": "string (multi-valued, for searching)",
"example_values": ["oral", "parenteral", "injection"],
"definition": "Broader, multi-valued routes of administration and their synonyms. **Use this field for broad route searches** in the `query` parameter."
},
{
"core_name": "compound",
"field_name": "route_branch_hierarchy",
"type": "string (multi-valued, hierarchical)",
"example_values": ["ORAL"],
"definition": "The hierarchical classification of the route of administration."
},
{
"core_name": "compound",
"field_name": "form_name",
"type": "string (multi-valued, categorical)",
"example_values": ["ORAL|Oral Tablet", "INJECTION|Solution"],
"definition": "The pharmaceutical form of the compound, often combined with the route (e.g., 'Route|Form')."
},
{
"core_name": "compound",
"field_name": "drug_delivery_technology",
"type": "string (multi-valued, specific, for faceting)",
"example_values": ["Conventional Melt Tablets", "Oral Matrix MR", "Bioadhesion"],
"definition": "Specific categories of drug delivery technology employed for the compound. **Use this field for `terms` faceting** on specific delivery technologies."
},
{
"core_name": "compound",
"field_name": "drug_delivery_branch_s",
"type": "string (multi-valued, for searching)",
"example_values": ["oral", "oral modified release", "oral extended release"],
"definition": "The method of drug administration technology and its broader search-friendly terms. **Use this for `query` parameter searches about drug delivery technologies**."
},
{
"core_name": "compound",
"field_name": "earliest_approval_date",
"type": "date",
"example_values": ["1986-06-19T00:00:00Z"],
"definition": "The earliest known approval date for the compound in ISO 8601 format. Use for precise date range queries."
},
{
"core_name": "compound",
"field_name": "approval_year",
"type": "number (multi-valued, year)",
"example_values": [1992, 2000, 2001],
"definition": "The 4-digit year(s) of approval for the compound. Use for queries involving whole years."
},
{
"core_name": "compound",
"field_name": "compound_territory",
"type": "string (multi-valued, hierarchical)",
"example_values": ["United States of America", "Americas Northern", "Europe", "World"],
"definition": "The geographic territories where the compound is approved or marketed. It is hierarchical. Use for filtering by location. [12, 16, 18, 24]"
},
{
"core_name": "compound",
"field_name": "is_orphan",
# Solr typically stores booleans as strings or numbers [14, 15, 21, 23]
"type": "string (boolean)",
"example_values": ["yes", "no"],
"definition": "Indicates if the compound has received orphan drug designation. Orphan drugs are intended for rare diseases that affect a small population, making them less profitable to develop without incentives. [2, 4, 7, 9, 10]"
},
{
"core_name": "compound",
"field_name": "is_prodrug",
"type": "string (boolean)",
"example_values": ["yes", "no"],
"definition": "Indicates if the compound is a prodrug (an inactive compound that is metabolized in the body to an active drug)."
},
{
"core_name": "compound",
"field_name": "black_box",
"type": "string (boolean)",
"example_values": ["yes", "no"],
"definition": "Indicates if the compound carries a 'Black Box Warning' (the strongest warning by the FDA that a drug carries significant risks)."
},
{
"core_name": "compound",
"field_name": "molecular_weight",
"type": "number (metric)",
"example_values": [652.816, 300.25],
"definition": "The molecular weight of the compound in Daltons. Use for numerical range queries."
},
{
"core_name": "compound",
"field_name": "logP",
"type": "number (metric)",
"example_values": [2.5, -0.7, 4.1],
"definition": "The logarithm of the octanol-water partition coefficient, a measure of a compound's lipophilicity (fat-liking) or hydrophilicity (water-liking). Higher values indicate more lipophilicity. [1, 3, 5, 6, 8]"
},
{
"core_name": "company",
"field_name": "US_state",
"type": "string",
"example_values": ["California", "Massachusetts", "New York"],
"definition": "The US state(s) where the company operates or has a significant presence."
},
{
"core_name": "company",
"field_name": "acquired_by",
"type": "string",
"example_values": ["Pfizer Inc.", "Johnson & Johnson"],
"definition": "Names of companies that have acquired this company."
},
{
"core_name": "company",
"field_name": "address",
"type": "string",
"example_values": ["123 Biotech Ave, Boston, MA 02110", "456 Pharma Rd, San Francisco, CA 94107"],
"definition": "Physical address(es) of the company."
},
{
"core_name": "company",
"field_name": "city",
"type": "string",
"example_values": ["Boston", "San Diego", "Basel"],
"definition": "City/cities where the company is located or has a significant presence."
},
{
"core_name": "company",
"field_name": "company_IPO_date",
"type": "string",
"example_values": ["2005-10-15", "2018-03-22"],
"definition": "Date(s) of the company's Initial Public Offering (IPO) in YYYY-MM-DD format."
},
{
"core_name": "company",
"field_name": "company_US_state",
"type": "string",
"example_values": ["California", "Massachusetts"],
"definition": "The primary US state of the company."
},
{
"core_name": "company",
"field_name": "company_business_model",
"type": "string",
"example_values": ["Drug Discovery", "Drug Development", "Contract Manufacturing", "Diagnostics"],
"definition": "Description(s) of the company's business model(s)."
},
{
"core_name": "company",
"field_name": "company_city",
"type": "string",
"example_values": ["Cambridge", "Princeton"],
"definition": "The primary city of the company."
},
{
"core_name": "company",
"field_name": "company_development_capabilities",
"type": "string",
"example_values": ["Preclinical Research", "Clinical Trials Management", "CMC Development", "Regulatory Affairs"],
"definition": "Capabilities of the company in drug/product development."
},
{
"core_name": "company",
"field_name": "company_gross_profit",
"type": "float",
"example_values": [1500.5, 750.25],
"definition": "Gross profit(s) of the company, possibly over different periods (in millions USD)."
},
{
"core_name": "company",
"field_name": "company_highest_phase",
"type": "string",
"example_values": ["Marketed", "Phase 3", "Preclinical"],
"definition": "The highest development phase achieved by any of the company's products/molecules."
},
{
"core_name": "company",
"field_name": "company_is_active",
"type": "string",
"example_values": ["Yes", "No"],
"definition": "Indicates if the company is currently active ('Yes' or 'No')."
},
{
"core_name": "company",
"field_name": "company_liabilities",
"type": "float",
"example_values": [800.75, 400.0],
"definition": "Total liabilities of the company, possibly over different periods (in millions USD)."
},
{
"core_name": "company",
"field_name": "company_location_facility_type",
"type": "string",
"example_values": ["R&D Center", "Manufacturing Plant", "Headquarters", "Clinical Site"],
"definition": "Type of facilities associated with the company's locations (e.g., 'manufacturing', 'R&D')."
},
{
"core_name": "company",
"field_name": "company_main_territory",
"type": "text_ci",
"example_values": ["North America", "Europe", "Asia-Pacific"],
"definition": "Main geographical territories where the company operates or focuses."
},
{
"core_name": "company",
"field_name": "company_market_cap",
"type": "float",
"example_values": [50000.0, 12500.75],
"definition": "The market capitalization of the company (in millions USD)."
},
{
"core_name": "company",
"field_name": "company_name",
"type": "string",
"example_values": ["BioGen Innovations", "TheraWorks Pharmaceuticals", "MediTech Solutions"],
"definition": "The official name of the company."
},
{
"core_name": "company",
"field_name": "company_net_income",
"type": "float",
"example_values": [250.1, -50.0],
"definition": "Net income(s) of the company, possibly over different periods (in millions USD)."
},
{
"core_name": "company",
"field_name": "company_number_of_employees",
"type": "int",
"example_values": [500, 12000, 75],
"definition": "Number of employees in the company, possibly over different periods."
},
{
"core_name": "company",
"field_name": "company_operating_income",
"type": "float",
"example_values": [300.0, 80.5],
"definition": "Operating income(s) of the company, possibly over different periods (in millions USD)."
},
{
"core_name": "company",
"field_name": "company_private_public",
"type": "string",
"example_values": ["Public", "Private"],
"definition": "Indicates if the company is 'Private' or 'Public'."
},
{
"core_name": "company",
"field_name": "company_r_d",
"type": "float",
"example_values": [120.0, 45.7],
"definition": "Research and Development (R&D) expenditure of the company, possibly over different periods (in millions USD)."
},
{
"core_name": "company",
"field_name": "company_revenue",
"type": "float",
"example_values": [2500.0, 1100.2],
"definition": "Total revenue(s) of the company, possibly over different periods (in millions USD)."
},
{
"core_name": "company",
"field_name": "company_role",
"type": "string",
"example_values": ["Developer", "Manufacturer", "Distributor", "Contract Research Organization (CRO)"],
"definition": "Role(s) of the company (e.g., 'developer', 'manufacturer')."
},
{
"core_name": "company",
"field_name": "company_sales",
"type": "float",
"example_values": [2300.0, 950.0],
"definition": "Sales figures of the company, possibly over different periods (in millions USD)."
},
{
"core_name": "company",
"field_name": "company_sales_ga_expenses",
"type": "float",
"example_values": [500.0, 210.5],
"definition": "Sales, General, and Administrative (SG&A) expenses of the company (in millions USD)."
},
{
"core_name": "company",
"field_name": "company_summary",
"type": "string",
"example_values": ["A leading biotechnology company focused on oncology.", "Specializes in developing advanced drug delivery systems."],
"definition": "A summary or description of the company."
},
{
"core_name": "company",
"field_name": "company_synonym",
"type": "string",
"example_values": ["BioGen Inc.", "TheraWorks Pharma"],
"definition": "Alternative names or synonyms for the company."
},
{
"core_name": "company",
"field_name": "company_territory",
"type": "text_ci",
"example_values": ["United States", "Germany", "Japan", "Global"],
"definition": "Geographical territories where the company operates."
},
{
"core_name": "company",
"field_name": "company_territory_hierarchy",
"type": "hierarchy",
"example_values": ["continent/North America/country/United States", "continent/Europe/country/Germany"],
"definition": "Hierarchical representation of the company's operating territories."
},
{
"core_name": "company",
"field_name": "company_territory_s",
"type": "string",
"example_values": ["United States", "Germany", "Japan"],
"definition": "String representation of the company's operating territories (likely for faceted search)."
},
{
"core_name": "company",
"field_name": "company_total_assets",
"type": "float",
"example_values": [3000.0, 1500.0],
"definition": "Total assets of the company, possibly over different periods (in millions USD)."
},
{
"core_name": "company",
"field_name": "company_total_current_assets",
"type": "float",
"example_values": [1200.0, 600.0],
"definition": "Total current assets of the company, possibly over different periods (in millions USD)."
},
{
"core_name": "company",
"field_name": "company_total_current_liabilities",
"type": "float",
"example_values": [400.0, 200.0],
"definition": "Total current liabilities of the company, possibly over different periods (in millions USD)."
},
{
"core_name": "company",
"field_name": "company_total_equity",
"type": "float",
"example_values": [2600.0, 1300.0],
"definition": "Total equity of the company, possibly over different periods (in millions USD)."
},
{
"core_name": "company",
"field_name": "company_website",
"type": "string",
"example_values": ["https://www.biogeninnovations.com", "https://www.theraworks.com"],
"definition": "The official website URL of the company."
},
{
"core_name": "company",
"field_name": "company_year_founded",
"type": "string",
"example_values": ["1998", "2010"],
"definition": "The year the company was founded."
},
{
"core_name": "company",
"field_name": "conjugate_molecule_type_1",
"type": "text_ci",
"example_values": ["Antibody", "Polymer"],
"definition": "Type of the first conjugate molecule associated with the company's products."
},
{
"core_name": "company",
"field_name": "conjugate_molecule_type_2",
"type": "text_ci",
"example_values": ["Small Molecule", "Peptide"],
"definition": "Type of the second conjugate molecule associated with the company's products."
},
{
"core_name": "company",
"field_name": "conjugate_molecule_types",
"type": "text_ci",
"example_values": ["Antibody-Drug Conjugate", "Polymer-Drug Conjugate"],
"definition": "Overall types of conjugate molecules associated with the company's products."
},
{
"core_name": "company",
"field_name": "corporate_history",
"type": "string",
"example_values": ["Founded in 1998, went public in 2005.", "Acquired by Pfizer in 2020."],
"definition": "Historical information about the company's corporate activities."
},
{
"core_name": "company",
"field_name": "cp_moment_updated",
"type": "string",
"example_values": ["2023-01-15T10:30:00Z", "2024-05-20T14:00:00Z"],
"definition": "Timestamp(s) when the company's profile was last updated in ISO 8601 format."
},
{
"core_name": "company",
"field_name": "drug_delivery_branch",
"type": "string",
"example_values": ["Oral Delivery", "Injectable Delivery", "Transdermal Patches"],
"definition": "Branch(es) of drug delivery technologies related to the company's products."
},
{
"core_name": "company",
"field_name": "drug_delivery_branch_hierarchy",
"type": "hierarchy",
"example_values": ["route/Oral/branch/Oral Delivery", "route/Parenteral/branch/Injectable Delivery"],
"definition": "Hierarchical representation of drug delivery branches."
},
{
"core_name": "company",
"field_name": "drug_delivery_branch_s",
"type": "string",
"example_values": ["Oral Delivery", "Injectable Delivery"],
"definition": "String representation of drug delivery branches (likely for faceted search)."
},
{
"core_name": "company",
"field_name": "drug_delivery_technology",
"type": "string",
"example_values": ["Nanoparticle Delivery", "Liposomal Encapsulation", "Microneedle Systems"],
"definition": "Specific drug delivery technologies used by the company."
},
{
"core_name": "company",
"field_name": "drug_delivery_technology_categories",
"type": "string",
"example_values": ["Advanced Formulations", "Targeted Delivery"],
"definition": "Categories of drug delivery technologies."
},
{
"core_name": "company",
"field_name": "drug_delivery_technology_hierarchy",
"type": "hierarchy",
"example_values": ["category/Advanced Formulations/technology/Nanoparticle Delivery"],
"definition": "Hierarchical representation of drug delivery technologies."
},
{
"core_name": "company",
"field_name": "drug_delivery_technology_names",
"type": "string",
"example_values": ["NanoCaps", "LipoSphere", "MicroDerm"],
"definition": "Names of drug delivery technologies."
},
{
"core_name": "company",
"field_name": "drug_delivery_technology_s",
"type": "string",
"example_values": ["nanoparticle", "liposomal", "microneedle"],
"definition": "String representation of drug delivery technologies (likely for faceted search)."
},
{
"core_name": "company",
"field_name": "efficiency_income_employee",
"type": "float",
"example_values": [50000.0, 75000.0],
"definition": "Efficiency metric: income per employee (in USD)."
},
{
"core_name": "company",
"field_name": "efficiency_revenue_employee",
"type": "float",
"example_values": [250000.0, 180000.0],
"definition": "Efficiency metric: revenue per employee (in USD)."
},
{
"core_name": "company",
"field_name": "efficiency_total_asset_turnover",
"type": "float",
"example_values": [0.8, 1.2],
"definition": "Efficiency metric: total asset turnover."
},
{
"core_name": "company",
"field_name": "email",
"type": "string",
"example_values": ["info@biogeninnovations.com", "contact@theraworks.com"],
"definition": "Email address(es) for the company."
},
{
"core_name": "company",
"field_name": "facility_state",
"type": "string",
"example_values": ["Maryland", "North Carolina"],
"definition": "State(s) where company facilities are located."
},
{
"core_name": "company",
"field_name": "facility_territory",
"type": "text_ci",
"example_values": ["United States", "Ireland"],
"definition": "Geographical territories where company facilities are located."
},
{
"core_name": "company",
"field_name": "facility_territory_id",
"type": "text_ci",
"example_values": ["USA", "IRL"],
"definition": "ID(s) for the geographical territories of company facilities."
},
{
"core_name": "company",
"field_name": "fax",
"type": "string",
"example_values": ["+1-123-456-7890", "+44-20-1234-5678"],
"definition": "Fax number(s) for the company."
},
{
"core_name": "company",
"field_name": "founder",
"type": "string",
"example_values": ["Dr. Jane Doe", "John Smith"],
"definition": "The founder(s) of the company."
},
{
"core_name": "company",
"field_name": "generic_or_innovator",
"type": "string",
"example_values": ["Innovator", "Generic"],
"definition": "Indicates if the company primarily develops 'Generic' or 'Innovator' products."
},
{
"core_name": "company",
"field_name": "highest_phase",
"type": "string",
"example_values": ["Marketed", "Phase 3"],
"definition": "The highest development phase achieved by any of the company's products/molecules."
},
{
"core_name": "company",
"field_name": "id",
"type": "string",
"example_values": ["COMP_0001", "COMP_0002", "COMP_0003"],
"definition": "Unique identifier for the company."
},
{
"core_name": "company",
"field_name": "investor_company",
"type": "string",
"example_values": ["BlackRock", "Sequoia Capital"],
"definition": "Names of companies that have invested in this company."
},
{
"core_name": "company",
"field_name": "investors",
"type": "string",
"example_values": ["VentureCorp Capital", "Angel Investors Network"],
"definition": "Names of individual or institutional investors in the company."
},
{
"core_name": "company",
"field_name": "last_update_time",
"type": "date",
"example_values": ["2023-11-01T08:00:00Z", "2024-01-25T16:45:00Z"],
"definition": "Timestamp(s) of the last update to the company's record in ISO 8601 format."
},
{
"core_name": "company",
"field_name": "last_update_user",
"type": "string",
"example_values": ["admin_user_1", "data_editor_2"],
"definition": "User(s) who last updated the company's record."
},
{
"core_name": "company",
"field_name": "liquidity_data_current_ratio_mrq",
"type": "float",
"example_values": [1.8, 2.5],
"definition": "Liquidity data: current ratio for the most recent quarter (MRQ)."
},
{
"core_name": "company",
"field_name": "liquidity_data_current_ratio_yoy",
"type": "float",
"example_values": [1.9, 2.3],
"definition": "Liquidity data: current ratio year-over-year (YOY)."
},
{
"core_name": "company",
"field_name": "liquidity_data_quick_ratio_mrq",
"type": "float",
"example_values": [1.2, 1.7],
"definition": "Liquidity data: quick ratio for the most recent quarter (MRQ)."
},
{
"core_name": "company",
"field_name": "liquidity_data_quick_ratio_yoy",
"type": "float",
"example_values": [1.3, 1.6],
"definition": "Liquidity data: quick ratio year-over-year (YOY)."
},
{
"core_name": "company",
"field_name": "major_business_model",
"type": "string",
"example_values": ["Biopharmaceutical Development", "Medical Device Manufacturing"],
"definition": "Major business model(s) of the company."
},
{
"core_name": "company",
"field_name": "marketing_status",
"type": "text_ci",
"example_values": ["Marketed", "Pre-Market", "Discontinued"],
"definition": "Current marketing status of the company's products (e.g., 'pre-market', 'on-market')."
},
{
"core_name": "company",
"field_name": "mechanism_type",
"type": "string",
"example_values": ["Kinase Inhibitor", "Monoclonal Antibody", "Gene Therapy"],
"definition": "Mechanism of action type(s) for molecules/products associated with the company."
},
{
"core_name": "company",
"field_name": "mechanism_type_hierarchy",
"type": "hierarchy",
"example_values": ["type/Kinase Inhibitor", "type/Monoclonal Antibody"],
"definition": "Hierarchical representation of mechanism types."
},
{
"core_name": "company",
"field_name": "molecule_api_group",
"type": "string",
"example_values": ["Small Molecules", "Biologics", "Gene Therapies"],
"definition": "API (Active Pharmaceutical Ingredient) group(s) of molecules associated with the company."
},
{
"core_name": "company",
"field_name": "molecule_name",
"type": "string",
"example_values": ["DrugX-200", "mAb-Y101", "GeneEdit-Z"],
"definition": "Names of molecules associated with the company."
},
{
"core_name": "company",
"field_name": "molecule_type",
"type": "string",
"example_values": ["Small Molecule", "Monoclonal Antibody", "CRISPR-Cas9"],
"definition": "Type(s) of molecules associated with the company."
},
{
"core_name": "company",
"field_name": "original_financial_rd",
"type": "string",
"example_values": ["$120,000,000", "€45M"],
"definition": "Original raw R&D financial data (as string)."
},
{
"core_name": "company",
"field_name": "original_financial_total_revenue",
"type": "string",
"example_values": ["$2.5 Billion", "£1.1B"],
"definition": "Original raw total revenue financial data (as string)."
},
{
"core_name": "company",
"field_name": "owner_company_private_public",
"type": "string",
"example_values": ["Public", "Private"],
"definition": "Indicates if the owner company is 'Private' or 'Public'."
},
{
"core_name": "company",
"field_name": "phase",
"type": "string",
"example_values": ["Phase 1", "Phase 2", "Preclinical", "Marketed"],
"definition": "Development phase(s) of products/molecules associated with the company."
},
{
"core_name": "company",
"field_name": "product_name",
"type": "string",
"example_values": ["OncoTherapy-A", "CardioGuard-XL", "NeuroBoost-System"],
"definition": "Names of products developed or marketed by the company."
},
{
"core_name": "company",
"field_name": "product_synonym",
"type": "string",
"example_values": ["OncoTA", "CGXL"],
"definition": "Synonyms for products associated with the company."
},
{
"core_name": "company",
"field_name": "profitability_data_operating_margin_ttm",
"type": "float",
"example_values": [0.15, 0.22],
"definition": "Profitability data: operating margin for the trailing twelve months (TTM)."
},
{
"core_name": "company",
"field_name": "profitability_data_profit_margin",
"type": "float",
"example_values": [0.10, 0.18],
"definition": "Profitability data: overall profit margin."
},
{
"core_name": "company",
"field_name": "profitability_data_return_on_assets_ttm",
"type": "float",
"example_values": [0.08, 0.14],
"definition": "Profitability data: return on assets for the trailing twelve months (TTM)."
},
{
"core_name": "company",
"field_name": "profitability_data_return_on_equity_ttm",
"type": "float",
"example_values": [0.12, 0.20],
"definition": "Profitability data: return on equity for the trailing twelve months (TTM)."
},
{
"core_name": "company",
"field_name": "route",
"type": "string",
"example_values": ["Oral", "Intravenous", "Topical"],
"definition": "Route(s) of administration for products/molecules associated with the company."
},
{
"core_name": "company",
"field_name": "route_branch",
"type": "string",
"example_values": ["Oral Solid Dosage", "Injectable Solutions"],
"definition": "Branch(es) of route of administration."
},
{
"core_name": "company",
"field_name": "route_branch_hierarchy",
"type": "hierarchy",
"example_values": ["route/Oral/branch/Oral Solid Dosage"],
"definition": "Hierarchical representation of route of administration branches."
},
{
"core_name": "company",
"field_name": "route_branch_s",
"type": "string",
"example_values": ["Oral Solid Dosage", "Injectable Solutions"],
"definition": "String representation of route of administration branches (likely for faceted search)."
},
{
"core_name": "company",
"field_name": "route_s",
"type": "text_ci",
"example_values": ["oral", "injection", "topical"],
"definition": "String representation of routes of administration (likely for faceted search)."
},
{
"core_name": "company",
"field_name": "subsidiary",
"type": "string",
"example_values": ["BioGen Labs", "TheraWorks Diagnostics"],
"definition": "Names of subsidiaries of this company."
},
{
"core_name": "company",
"field_name": "subsidiary_of_company",
"type": "string",
"example_values": ["Global Pharma Corp", "United Healthcare Inc."],
"definition": "Names of parent companies if this company is a subsidiary."
},
{
"core_name": "company",
"field_name": "telephone",
"type": "string",
"example_values": ["+1-555-123-4567", "+49-30-9876-5432"],
"definition": "Telephone number(s) for the company."
},
{
"core_name": "company",
"field_name": "therapeutic_category",
"type": "string",
"example_values": ["Oncology", "Cardiology", "Neurology"],
"definition": "Therapeutic category/categories of products/molecules associated with the company."
},
{
"core_name": "company",
"field_name": "therapeutic_category_hierarchy",
"type": "hierarchy",
"example_values": ["disease/Cancer/category/Oncology", "disease/Cardiovascular/category/Cardiology"],
"definition": "Hierarchical representation of therapeutic categories."
},
{
"core_name": "company",
"field_name": "therapeutic_category_s",
"type": "text_ci",
"example_values": ["cancer", "heart disease", "nervous system disorders"],
"definition": "String representation of therapeutic categories (likely for faceted search)."
},
{
"core_name": "company",
"field_name": "therapeutic_group_id",
"type": "string",
"example_values": ["THERA_ONC_01", "THERA_CARD_02"],
"definition": "ID(s) for the therapeutic group(s) of products/molecules associated with the company."
},
{
"core_name": "company",
"field_name": "type",
"type": "string",
"example_values": ["Biotech", "Pharmaceutical", "CRO", "Medical Device Company"],
"definition": "Type(s) of the company (e.g., 'Biotech', 'Pharma')."
}
]
def format_metadata_for_prompt(core_name="news"):
"""Formats the field metadata for a specific core into a string for the LLM prompt."""
formatted_string = ""
# Filter fields by the provided core name
for field in field_metadata:
if field.get("core_name") == core_name:
formatted_string += f"- **{field['field_name']}**\n"
formatted_string += f" - **Type**: {field['type']}\n"
formatted_string += f" - **Definition**: {field['definition']}\n"
formatted_string += f" - **Examples**: {', '.join(map(str, field['example_values']))}\n\n"
return formatted_string
|