{
  "workflow_id": "supplier_discovery",
  "customer": "wizium",
  "description": "Find, inspect, and verify suppliers for a customer product request.",
  "runtime": "protocol_native",
  "auth_model": {
    "type": "customer_approved_session",
    "scope": "Workflow-specific access granted by the design partner."
  },
  "inputs": [
    {
      "name": "product_request",
      "type": "string",
      "required": true,
      "description": "The customer's product or sourcing request."
    },
    {
      "name": "quality_constraints",
      "type": "object",
      "required": false,
      "description": "Optional supplier quality requirements, geography, MOQ, certification, or price constraints."
    }
  ],
  "actions": [
    {
      "id": "search_suppliers",
      "description": "Search candidate suppliers for the requested product family.",
      "method": "POST",
      "endpoint_hint": "Mapped during design partner workflow discovery."
    },
    {
      "id": "inspect_supplier",
      "description": "Collect supplier profile, catalog, contact, and evidence fields.",
      "method": "GET",
      "endpoint_hint": "Mapped during design partner workflow discovery."
    },
    {
      "id": "verify_supplier",
      "description": "Score candidate suppliers against source evidence and quality constraints.",
      "method": "POST",
      "endpoint_hint": "Mapped during design partner workflow discovery."
    },
    {
      "id": "contact_supplier",
      "description": "Submit or prepare a supplier contact/RFQ action when approved.",
      "method": "POST",
      "endpoint_hint": "Mapped during design partner workflow discovery."
    }
  ],
  "verification": {
    "success_signals": [
      "qualified supplier list returned",
      "source evidence attached",
      "supplier contact path present",
      "quality constraints evaluated"
    ],
    "failure_signals": [
      "auth expired",
      "supplier evidence missing",
      "workflow endpoint drift",
      "manual approval required"
    ]
  },
  "retention": {
    "store_payloads": false,
    "redaction": "Retain workflow structure and metrics; redact sensitive product and supplier payloads unless explicitly approved."
  },
  "sdk_targets": [
    "python",
    "typescript",
    "langchain",
    "mcp"
  ]
}
