{
  "$id": "https://schema.nfh.global/MasterSearchAction/v2.0",
  "x-iri": "https://schema.nfh.global/MasterSearchAction/v2.0",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "description": "Message payload for catalog/master_search",
  "properties": {
    "filters": {
      "type": "object",
      "description": "Search filters (empty lists match all)",
      "properties": {
        "networkIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Filter by network IDs (empty = all networks)"
        },
        "schemaTypes": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Filter by schema type URIs (empty = all types)"
        }
      }
    },
    "pagination": {
      "type": "object",
      "properties": {
        "limit": {
          "type": "integer",
          "minimum": 1,
          "maximum": 100,
          "default": 20,
          "description": "Maximum items per page (clamped to [1, 100])"
        },
        "offset": {
          "type": "integer",
          "minimum": 0,
          "default": 0,
          "description": "Zero-based result offset"
        }
      }
    }
  }
}
