{
  "kind": "original-bounded-choice-workflow",
  "version": 1,
  "scope": "Map one source CSV column to a specific supplied destination field using semantic ownership and sample context, without performing a full import.",
  "question": "Map the source column to the supplied destination schema. Buyer country means the purchaser residence country; Company country means company registration country; Delivery country means shipment destination country. No field means the column clearly describes something else. Review takes precedence when ownership/context is missing, contradictory or permits multiple matches. Use definitions and sample context, not header similarity alone. Do not import data or discard unmatched columns.",
  "choices": [
    "Buyer country",
    "Company country",
    "Delivery country",
    "No field",
    "Review"
  ],
  "actions": {
    "Buyer country": {
      "action": "preview_jev_csv_destination_field",
      "payload": {
        "decision": "Buyer country"
      },
      "pending": true
    },
    "Company country": {
      "action": "preview_jev_csv_destination_field",
      "payload": {
        "decision": "Company country"
      },
      "pending": true
    },
    "Delivery country": {
      "action": "preview_jev_csv_destination_field",
      "payload": {
        "decision": "Delivery country"
      },
      "pending": true
    },
    "No field": {
      "action": "preview_jev_csv_destination_field",
      "payload": {
        "decision": "No field"
      },
      "pending": true
    },
    "Review": {
      "action": "preview_jev_csv_destination_field",
      "payload": {
        "decision": "Review"
      },
      "pending": true
    }
  },
  "samples": [
    {
      "id": "case-1",
      "label": "Buyer residence",
      "expected": "Buyer country",
      "request": {
        "context": "{\n  \"task\": \"Map one source CSV column to a specific supplied destination field using semantic ownership and sample context, without performing a full import.\",\n  \"evidence\": {\n    \"header\": \"country\",\n    \"description\": \"Country where the individual purchaser lives.\",\n    \"samples\": [\n      \"Canada\",\n      \"Japan\"\n    ],\n    \"schema\": \"Buyer residence; company registration; shipment destination.\"\n  }\n}",
        "question": "Map the source column to the supplied destination schema. Buyer country means the purchaser residence country; Company country means company registration country; Delivery country means shipment destination country. No field means the column clearly describes something else. Review takes precedence when ownership/context is missing, contradictory or permits multiple matches. Use definitions and sample context, not header similarity alone. Do not import data or discard unmatched columns.",
        "choices": [
          "Buyer country",
          "Company country",
          "Delivery country",
          "No field",
          "Review"
        ]
      }
    },
    {
      "id": "case-2",
      "label": "Registration location",
      "expected": "Company country",
      "request": {
        "context": "{\n  \"task\": \"Map one source CSV column to a specific supplied destination field using semantic ownership and sample context, without performing a full import.\",\n  \"evidence\": {\n    \"header\": \"country\",\n    \"description\": \"Legal registration country of the company, regardless of customer address.\",\n    \"samples\": [\n      \"Canada\",\n      \"Japan\"\n    ],\n    \"schema\": \"Buyer residence; company registration; shipment destination.\"\n  }\n}",
        "question": "Map the source column to the supplied destination schema. Buyer country means the purchaser residence country; Company country means company registration country; Delivery country means shipment destination country. No field means the column clearly describes something else. Review takes precedence when ownership/context is missing, contradictory or permits multiple matches. Use definitions and sample context, not header similarity alone. Do not import data or discard unmatched columns.",
        "choices": [
          "Buyer country",
          "Company country",
          "Delivery country",
          "No field",
          "Review"
        ]
      }
    },
    {
      "id": "case-3",
      "label": "Shipping destination",
      "expected": "Delivery country",
      "request": {
        "context": "{\n  \"task\": \"Map one source CSV column to a specific supplied destination field using semantic ownership and sample context, without performing a full import.\",\n  \"evidence\": {\n    \"header\": \"destination\",\n    \"description\": \"Country to which this order will be shipped.\",\n    \"samples\": [\n      \"Canada\",\n      \"Japan\"\n    ],\n    \"schema\": \"Buyer residence; company registration; shipment destination.\"\n  }\n}",
        "question": "Map the source column to the supplied destination schema. Buyer country means the purchaser residence country; Company country means company registration country; Delivery country means shipment destination country. No field means the column clearly describes something else. Review takes precedence when ownership/context is missing, contradictory or permits multiple matches. Use definitions and sample context, not header similarity alone. Do not import data or discard unmatched columns.",
        "choices": [
          "Buyer country",
          "Company country",
          "Delivery country",
          "No field",
          "Review"
        ]
      }
    },
    {
      "id": "case-4",
      "label": "Unmatched concept",
      "expected": "No field",
      "request": {
        "context": "{\n  \"task\": \"Map one source CSV column to a specific supplied destination field using semantic ownership and sample context, without performing a full import.\",\n  \"evidence\": {\n    \"header\": \"preferred_language\",\n    \"description\": \"Language used for customer messages.\",\n    \"samples\": [\n      \"French\",\n      \"English\"\n    ],\n    \"schema\": \"Buyer residence; company registration; shipment destination.\"\n  }\n}",
        "question": "Map the source column to the supplied destination schema. Buyer country means the purchaser residence country; Company country means company registration country; Delivery country means shipment destination country. No field means the column clearly describes something else. Review takes precedence when ownership/context is missing, contradictory or permits multiple matches. Use definitions and sample context, not header similarity alone. Do not import data or discard unmatched columns.",
        "choices": [
          "Buyer country",
          "Company country",
          "Delivery country",
          "No field",
          "Review"
        ]
      }
    },
    {
      "id": "case-5",
      "label": "Generic header alone",
      "expected": "Review",
      "request": {
        "context": "{\n  \"task\": \"Map one source CSV column to a specific supplied destination field using semantic ownership and sample context, without performing a full import.\",\n  \"evidence\": {\n    \"header\": \"country\",\n    \"description\": null,\n    \"samples\": [\n      \"Canada\",\n      \"Japan\"\n    ],\n    \"schema\": \"Buyer residence; company registration; shipment destination.\"\n  }\n}",
        "question": "Map the source column to the supplied destination schema. Buyer country means the purchaser residence country; Company country means company registration country; Delivery country means shipment destination country. No field means the column clearly describes something else. Review takes precedence when ownership/context is missing, contradictory or permits multiple matches. Use definitions and sample context, not header similarity alone. Do not import data or discard unmatched columns.",
        "choices": [
          "Buyer country",
          "Company country",
          "Delivery country",
          "No field",
          "Review"
        ]
      }
    },
    {
      "id": "case-6",
      "label": "Contradictory ownership",
      "expected": "Review",
      "request": {
        "context": "{\n  \"task\": \"Map one source CSV column to a specific supplied destination field using semantic ownership and sample context, without performing a full import.\",\n  \"evidence\": {\n    \"header\": \"country\",\n    \"description\": \"Declared both company registration country and delivery country, with no precedence.\",\n    \"samples\": [\n      \"Canada\"\n    ],\n    \"schema\": \"Buyer residence; company registration; shipment destination.\"\n  }\n}",
        "question": "Map the source column to the supplied destination schema. Buyer country means the purchaser residence country; Company country means company registration country; Delivery country means shipment destination country. No field means the column clearly describes something else. Review takes precedence when ownership/context is missing, contradictory or permits multiple matches. Use definitions and sample context, not header similarity alone. Do not import data or discard unmatched columns.",
        "choices": [
          "Buyer country",
          "Company country",
          "Delivery country",
          "No field",
          "Review"
        ]
      }
    }
  ],
  "consumer": "preview_choice_workflow.py"
}
