{
  "slug": "local-answer",
  "title": "Settle an order ID answer without text",
  "config": {
    "language": "en",
    "schema": {
      "type": "object",
      "properties": {
        "orderId": {
          "type": "string",
          "pattern": "^[0-9]+$"
        }
      }
    }
  },
  "request": {
    "fields": [
      "orderId"
    ],
    "clarification": {
      "scopeRef": "orders",
      "bindings": [
        {
          "ref": "order-id",
          "revision": 1,
          "origin": "declared",
          "state": "pending",
          "target": {
            "kind": "field",
            "location": {
              "container": "facts",
              "intentId": null,
              "field": "orderId",
              "path": "/orderId"
            }
          },
          "issue": {
            "category": "data",
            "code": "FIELD_REQUIRED_MISSING"
          },
          "answerForm": {
            "kind": "open"
          }
        }
      ],
      "responses": [
        {
          "kind": "value",
          "ref": "order-id",
          "revision": 1,
          "value": "000123"
        }
      ]
    }
  },
  "result": {
    "schemaVersion": "3.0",
    "status": "partial",
    "effective": {
      "schemaVersion": "3.0",
      "scope": "current_request",
      "coverage": "unavailable",
      "intents": [],
      "constraints": [],
      "relations": [],
      "unresolved": []
    },
    "turn": {
      "kind": "answer",
      "changes": [],
      "intentIds": [],
      "facts": {
        "orderId": "000123"
      },
      "clarificationResults": [
        {
          "answerRef": {
            "kind": "answer",
            "scopeRef": "orders",
            "ref": "order-id",
            "revision": 1
          },
          "status": "resolved",
          "fieldEffect": {
            "fieldResultPointer": "/fieldResults/0",
            "valuePointer": "/turn/facts/orderId"
          }
        }
      ]
    },
    "fieldResults": [
      {
        "container": "facts",
        "intentId": null,
        "field": "orderId",
        "path": "/orderId",
        "status": "present",
        "trigger": "selection"
      }
    ],
    "issues": [],
    "inferences": []
  }
}
