{
  "config": {
    "mode": "host",
    "instances": {
      "main": {
        "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"
        }
      ]
    }
  }
}
