hyf

Context-aware query service for Radroots
git clone https://radroots.dev/git/hyf.git
Log | Files | Refs | README | LICENSE

buyer_request_match.response.json (2175B)


      1 {
      2   "version": 1,
      3   "request_id": "buyer-match-req-1",
      4   "ok": true,
      5   "output": {
      6     "versions": {
      7       "schema": "hyf_ops_v2",
      8       "taxonomy": "hyf_ops_v2.taxonomy.v1",
      9       "normalization": "hyf_ops_v2.normalization.v1",
     10       "review_policy": "hyf_ops_v2.review_policy.v1",
     11       "ranking_policy": "hyf_ops_v2.ranking_policy.v1",
     12       "question_bundle": "hyf_ops_v2.question_bundle.v1",
     13       "model": "jev-1.13.0"
     14     },
     15     "provenance": {
     16       "need": {"need_id": "need-1", "revision": "rev-4"},
     17       "snapshots": [
     18         {"lot_id": "lot-1", "revision": "rev-9"},
     19         {"lot_id": "lot-2", "revision": "rev-4"}
     20       ]
     21     },
     22     "assessments": [
     23       {
     24         "candidate_id": "lot-1",
     25         "eligibility": "eligible",
     26         "checks": [
     27           {"kind": "product", "result": "pass", "reason": "product_match", "evidence": []},
     28           {"kind": "availability", "result": "pass", "reason": "availability_known", "evidence": []},
     29           {"kind": "quantity", "result": "pass", "reason": "quantity_sufficient", "evidence": []}
     30         ]
     31       },
     32       {
     33         "candidate_id": "lot-2",
     34         "eligibility": "conditional",
     35         "checks": [
     36           {"kind": "product", "result": "unknown", "reason": "product_unresolved", "evidence": []},
     37           {"kind": "availability", "result": "unknown", "reason": "stock_unknown", "evidence": []}
     38         ]
     39       }
     40     ],
     41     "plans": [
     42       {
     43         "plan_id": "plan-1",
     44         "supplier_id": "farm-1",
     45         "allocations": [
     46           {
     47             "lot_id": "lot-1",
     48             "revision": "rev-9",
     49             "line_id": "line-1",
     50             "quantity": {"state": "known", "value": "25", "unit": "lb", "qualifier": "exact"}
     51           }
     52         ],
     53         "coverage": {"lines_covered": ["line-1"], "uncovered": [], "partial": false},
     54         "unresolved": []
     55       }
     56     ],
     57     "limitations": {
     58       "scope": "supplied_only",
     59       "truncated": false,
     60       "supported_mode": "single_supplier_compatible_lots",
     61       "unsupported": ["multi_supplier"]
     62     },
     63     "execution": {"status": "complete", "provider_calls": 0, "model": null, "question_bundle": null, "degraded_reason": null}
     64   }
     65 }