{
  "$id": "https://schema.nfh.global/DiscoverAction/v2.0",
  "x-iri": "https://schema.nfh.global/DiscoverAction/v2.0",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Discover Action (External)",
  "description": "Beckn /beckn/discover message payload as published at schema.nfh.global. Requires all discover qualifiers to be nested inside an `intent` container object. (Context wrapper stripped; only the message-content portion is inlined.)",
  "type": "object",
  "properties": {
    "intent": {
      "$ref": "https://schema.nfh.global/Intent/v2.0/schema.json"
    },
    "text_search": {
      "type": "string",
      "description": "Legacy flat free-text discover query"
    },
    "textSearch": {
      "type": "string",
      "description": "Flat free-text discover query"
    }
  },
  "additionalProperties": false,
  "required": [
    "intent"
  ]
}
