{
  "kind": "original-bounded-choice-workflow",
  "version": 1,
  "scope": "Assign one already supplied address fragment to a defined form slot by its meaning, without extracting or generating address text. Original fictional addresses only; no geocoding, postal validation or form submission.",
  "question": "Choose the form slot for the supplied fragment and context. Street: road name plus building number. Locality: town or city. Region: state or province. Postal code: explicitly identified delivery code. Need address context: role is unclear or insufficient. Match meaning from the provided surrounding address; do not validate delivery or generate text.",
  "choices": [
    "Street",
    "Locality",
    "Region",
    "Postal code",
    "Need address context"
  ],
  "actions": {
    "Street": {
      "action": "preview_decision_report",
      "payload": {
        "decision": "Street",
        "workflow": "address-component-selection"
      },
      "pending": false
    },
    "Locality": {
      "action": "preview_decision_report",
      "payload": {
        "decision": "Locality",
        "workflow": "address-component-selection"
      },
      "pending": false
    },
    "Region": {
      "action": "preview_decision_report",
      "payload": {
        "decision": "Region",
        "workflow": "address-component-selection"
      },
      "pending": false
    },
    "Postal code": {
      "action": "preview_decision_report",
      "payload": {
        "decision": "Postal code",
        "workflow": "address-component-selection"
      },
      "pending": false
    },
    "Need address context": {
      "action": "preview_decision_report",
      "payload": {
        "decision": "Need address context",
        "workflow": "address-component-selection"
      },
      "pending": true
    }
  },
  "samples": [
    {
      "id": "street",
      "label": "A road and building fragment",
      "expected": "Street",
      "request": {
        "context": "{\n  \"task\": \"Fragment: 14 Maple Lane. Surrounding address explicitly calls this the street and building line.\"\n}",
        "question": "Choose the form slot for the supplied fragment and context. Street: road name plus building number. Locality: town or city. Region: state or province. Postal code: explicitly identified delivery code. Need address context: role is unclear or insufficient. Match meaning from the provided surrounding address; do not validate delivery or generate text.",
        "choices": [
          "Street",
          "Locality",
          "Region",
          "Postal code",
          "Need address context"
        ]
      }
    },
    {
      "id": "city",
      "label": "A place used as a locality",
      "expected": "Locality",
      "request": {
        "context": "{\n  \"task\": \"Fragment: Brookford. Surrounding address says Brookford is the town. Fictional address.\"\n}",
        "question": "Choose the form slot for the supplied fragment and context. Street: road name plus building number. Locality: town or city. Region: state or province. Postal code: explicitly identified delivery code. Need address context: role is unclear or insufficient. Match meaning from the provided surrounding address; do not validate delivery or generate text.",
        "choices": [
          "Street",
          "Locality",
          "Region",
          "Postal code",
          "Need address context"
        ]
      }
    },
    {
      "id": "region",
      "label": "A province fragment",
      "expected": "Region",
      "request": {
        "context": "{\n  \"task\": \"Fragment: North Province. Surrounding address identifies it as the province, distinct from town Brookford.\"\n}",
        "question": "Choose the form slot for the supplied fragment and context. Street: road name plus building number. Locality: town or city. Region: state or province. Postal code: explicitly identified delivery code. Need address context: role is unclear or insufficient. Match meaning from the provided surrounding address; do not validate delivery or generate text.",
        "choices": [
          "Street",
          "Locality",
          "Region",
          "Postal code",
          "Need address context"
        ]
      }
    },
    {
      "id": "postal",
      "label": "An explicit delivery-code fragment",
      "expected": "Postal code",
      "request": {
        "context": "{\n  \"task\": \"Fragment: AB12 3CD. Surrounding address explicitly identifies this as its postal code. Fictional address.\"\n}",
        "question": "Choose the form slot for the supplied fragment and context. Street: road name plus building number. Locality: town or city. Region: state or province. Postal code: explicitly identified delivery code. Need address context: role is unclear or insufficient. Match meaning from the provided surrounding address; do not validate delivery or generate text.",
        "choices": [
          "Street",
          "Locality",
          "Region",
          "Postal code",
          "Need address context"
        ]
      }
    },
    {
      "id": "ambiguous",
      "label": "A place without its role",
      "expected": "Need address context",
      "request": {
        "context": "{\n  \"task\": \"Fragment: Washington. No surrounding address or statement of city versus region is supplied.\"\n}",
        "question": "Choose the form slot for the supplied fragment and context. Street: road name plus building number. Locality: town or city. Region: state or province. Postal code: explicitly identified delivery code. Need address context: role is unclear or insufficient. Match meaning from the provided surrounding address; do not validate delivery or generate text.",
        "choices": [
          "Street",
          "Locality",
          "Region",
          "Postal code",
          "Need address context"
        ]
      }
    },
    {
      "id": "purpose",
      "label": "A familiar word with an explicit role",
      "expected": "Locality",
      "request": {
        "context": "{\n  \"task\": \"Fragment: York. Surrounding fictional address identifies York as the city and a different value as the region.\"\n}",
        "question": "Choose the form slot for the supplied fragment and context. Street: road name plus building number. Locality: town or city. Region: state or province. Postal code: explicitly identified delivery code. Need address context: role is unclear or insufficient. Match meaning from the provided surrounding address; do not validate delivery or generate text.",
        "choices": [
          "Street",
          "Locality",
          "Region",
          "Postal code",
          "Need address context"
        ]
      }
    }
  ],
  "consumer": "preview_choice_workflow_v2.py"
}
