{"database": "aphis", "table": "inspections", "is_view": false, "human_description_en": "where cert_number = \"21-G-0002\" sorted by inspection_date descending", "rows": [["58b427399af89835", "21-G-0002", "2025-07-08", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068SJ00000eAc6k&d=%2Fa%2FSJ000004nU13%2F789j1d1ej6FZFgyBu6PebCTcHSMn1Ji3n22Flq5EfWQ&asPdf=false", null], ["b95e18be2957b887", "21-G-0002", "2024-07-09", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d00000ETnwi&d=%2Fa%2F3d000003AFbO%2FUW0_rEfEVwUBa4znzdu7vB6ccy2Hcs3zJgNO8TxRLjs&asPdf=false", null], ["0492b17f94b6f3b3", "21-G-0002", "2024-01-17", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d00000BlxFt&d=%2Fa%2F3d000002NgHM%2FJFIM0O9UZgL5.5bJ61fZJYN3BuSrRpSTjuhtkdSnUjA&asPdf=false", null], ["43f8e02a0ed64853", "21-G-0002", "2023-10-31", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d00000AeH6P&d=%2Fa%2F3d0000025JvL%2FtwsByX9MxXudJr8Jw3XPRGINILU0K5QyLweBCm6WYwc&asPdf=false", null], ["33ccfff1f2d65d73", "21-G-0002", "2023-08-01", null, 1, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d000009SwNU&d=%2Fa%2F3d000001aUOZ%2FKIIdpDpP8pRzdkJxrTCAvZ5tFf3XeiyusqJbmgbY2e8&asPdf=false", null], ["a4732f157343bdd3", "21-G-0002", "2022-09-20", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000awUh9&d=%2Fa%2F3d000000pZld%2Faws7OAoykfhE5D1IGfxO1SrPs18LB6vgr19vSsuGsLk&asPdf=false", null], ["adbd59c0873c67c5", "21-G-0002", "2021-09-21", null, 0, 1, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000V8oL2&d=%2Fa%2F3d000000pZh0%2FNm3t4aeiCPxg_wQqExM_b6IcsUC1w_uiJwamqKZQ8N4&asPdf=false", null], ["197218785b7a5375", "21-G-0002", "2020-09-15", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000DjcCv&d=%2Fa%2F3d000000pZgw%2FxIi61Ksq_phPuTOwf5azU80.mVH9oHo4rmsIf5drGKo&asPdf=false", null], ["5a5eb1d011013ba2", "21-G-0002", "2019-05-08", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgcLE&d=%2Fa%2F3d000000pZh6%2F3388cWdRn8buYK9.4JejmzzkVWjeb81X_zcLASW28gs&asPdf=false", null], ["f013398ef6f6bac4", "21-G-0002", "2018-09-05", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egda5&d=%2Fa%2F3d000000pZgn%2Fm7IuBJT5T6x6vhD7fdV9__azpH7Xqqo_bho58RnrX48&asPdf=false", null], ["d6ea77c0dceac78d", "21-G-0002", "2017-09-18", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgdwE&d=%2Fa%2F3d000000pZi2%2FBtYAPY3mg1pWyYwU_fzJupqIIcGLoPjTq9GUGpXyG0U&asPdf=false", null]], "truncated": false, "filtered_table_rows_count": 11, "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": "21-G-0002"}}, "facet_results": {"inspection_type": {"name": "inspection_type", "type": "column", "hideable": false, "toggle_url": "/aphis/inspections.json?cert_number=21-G-0002", "results": [], "truncated": false}}, "suggested_facets": [{"name": "critical_count", "toggle_url": "https://www.pawtectors.org/aphis/inspections.json?cert_number=21-G-0002&_facet=critical_count"}, {"name": "noncritical_count", "toggle_url": "https://www.pawtectors.org/aphis/inspections.json?cert_number=21-G-0002&_facet=noncritical_count"}, {"name": "inspection_date", "type": "date", "toggle_url": "https://www.pawtectors.org/aphis/inspections.json?cert_number=21-G-0002&_facet_date=inspection_date"}], "next": null, "next_url": null, "private": false, "allow_execute_sql": true, "query_ms": 61.4510711748153, "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"}