{"database": "aphis", "table": "inspections", "is_view": false, "human_description_en": "where cert_number = \"51-C-0123\" sorted by inspection_date descending", "rows": [["2a48f5755d04b44a", "51-C-0123", "2025-07-03", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068SJ00000gVFSP&d=%2Fa%2FSJ0000058ifJ%2FCwZWCHwhbBXl0CzYn172wMZyB7yVZ3o0S5syM4V6JMY&asPdf=false", null], ["d2277d8dc5a6adf0", "51-C-0123", "2025-03-25", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068SJ00000SLcGp&d=%2Fa%2FSJ000002skxZ%2Fgtn0nC1NP.Uziix2Ioi.wgxsvX_nnWqWflb.E1b8xpc&asPdf=false", null], ["efcbcd31e847bf73", "51-C-0123", "2024-10-17", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068SJ00000AfM3n&d=%2Fa%2FSJ000000mqQv%2Fmh78AHaZOk4z506qrs_QjmC_LrZlrehKrEug8kbLA5k&asPdf=false", null], ["98216757af9c64a0", "51-C-0123", "2024-08-16", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068SJ000002VEnB&d=%2Fa%2FSJ0000006nHN%2FeT5TIyOuuPwLThrOujPNFkf_PFZVmlzCGYzs1GwwdV4&asPdf=false", null], ["c50c02211f0d12c9", "51-C-0123", "2024-03-18", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d00000ClzYn&d=%2Fa%2F3d000002fYnU%2Fxx7YwGucUl4KNujgVIv.5moe_moqmNFaV7azCUphLBc&asPdf=false", null], ["130ac45282a8ff80", "51-C-0123", "2024-02-07", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d00000CF5Ca&d=%2Fa%2F3d000002VryX%2Ff1Xax3pdgAcXI7xFfQ2MM.0rjFUfOhaFwWqBBkJEfc0&asPdf=false", null], ["c33729c28d781517", "51-C-0123", "2023-05-04", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d000008Odkl&d=%2Fa%2F3d000001CJ1P%2Fh0EZ1AhRSxQgDy7H5efCbFDll9UM9t6c4LiVNrNsXf8&asPdf=false", null], ["5a79697e92f67e35", "51-C-0123", "2022-09-07", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000awBI1&d=%2Fa%2F3d000000pZ9z%2F..BxYM.ECYshY8IwxpP7NR179ViB.qz1sM.BPpxs8wg&asPdf=false", null], ["f76669f4fbddd336", "51-C-0123", "2021-12-10", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000V8qYd&d=%2Fa%2F3d000000pZ9C%2F0IssKF624x_XaIceq3h3EBetFlyoiIMqnDK.qftjlX4&asPdf=false", null], ["1e54515a3865baa8", "51-C-0123", "2021-02-17", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000ESN6R&d=%2Fa%2F3d000000pZ9W%2Ff.S6Pbo.1fe185f6cQr4fwwJ0mb8coWJMyPO941yOHM&asPdf=false", null], ["2b95b9f67034d6d3", "51-C-0123", "2019-02-22", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgcJJ&d=%2Fa%2F3d000000pZ95%2FMz1OuYM3FnYB.uoL1AB._jHzc7db_vpwVeZDFGITl9o&asPdf=false", null], ["5b4a152fcf2f1a4f", "51-C-0123", "2018-07-11", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgXu6&d=%2Fa%2F3d000000pZ9n%2FVWSJG_z3Q0cTSHBDHqQ1zCqjk3pGszlmm6Lkszsf7VI&asPdf=false", null]], "truncated": false, "filtered_table_rows_count": 12, "expanded_columns": [], "expandable_columns": [[{"column": "cert_number", "other_table": "facilities", "other_column": "cert_number"}, "legal_name"]], "columns": ["id", "cert_number", "inspection_date", "inspection_type", "critical_count", "noncritical_count", "direct_count", "teachable_moment_count", "pdf_url", "pdf_local_path"], "primary_keys": ["id"], "units": {}, "query": {"sql": "select id, cert_number, inspection_date, inspection_type, critical_count, noncritical_count, direct_count, teachable_moment_count, pdf_url, pdf_local_path from inspections where \"cert_number\" = :p0 order by inspection_date desc limit 101", "params": {"p0": "51-C-0123"}}, "facet_results": {"inspection_type": {"name": "inspection_type", "type": "column", "hideable": false, "toggle_url": "/aphis/inspections.json?cert_number=51-C-0123", "results": [], "truncated": false}}, "suggested_facets": [{"name": "inspection_date", "type": "date", "toggle_url": "https://regs.datadawn.org/aphis/inspections.json?cert_number=51-C-0123&_facet_date=inspection_date"}], "next": null, "next_url": null, "private": false, "allow_execute_sql": true, "query_ms": 240.71446084417403, "source": "Federal Register API & Regulations.gov API", "source_url": "https://www.federalregister.gov/developers/api/v1", "license": "Public Domain (U.S. Government data)", "license_url": "https://www.regulations.gov/faq"}