category & country & jurisdiction

https://www.lawinsider.com/search?category:Employment+Agreement&country:United+States&jurisdiction:New+York

curl -X POST "https://www.lawinsider.com/api/v1alpha/search?token=xxx&pretty" -H 'Content-Type: application/json' -d'{
    "query": {
        "bool": {
            "must": [
                {
                    "bool": {
                        "should": [
                            {
                                "match_all": {}
                            },
                            {
                                "rank_feature": {
                                    "boost": 50,
                                    "field": "weight_rank",
                                    "saturation": {
                                        "pivot": 16
                                    }
                                }
                            }
                        ]
                    }
                },
                {
                    "bool": {
                        "filter": [
                            {
                                "nested": {
                                    "ignore_unmapped": true,
                                    "path": "sections",
                                    "query": {
                                        "bool": {
                                            "must": [
                                                {
                                                    "terms": {
                                                        "sections.type": [
                                                            "category"
                                                        ]
                                                    }
                                                },
                                                {
                                                    "term": {
                                                        "sections.name.raw": "Employment Agreement"
                                                    }
                                                }
                                            ]
                                        }
                                    }
                                }
                            }
                        ]
                    }
                },
                {
                    "bool": {
                        "filter": [
                            {
                                "nested": {
                                    "ignore_unmapped": true,
                                    "path": "sections",
                                    "query": {
                                        "bool": {
                                            "must": [
                                                {
                                                    "terms": {
                                                        "sections.type": [
                                                            "country"
                                                        ]
                                                    }
                                                },
                                                {
                                                    "term": {
                                                        "sections.name.raw": "United States"
                                                    }
                                                }
                                            ]
                                        }
                                    }
                                }
                            }
                        ]
                    }
                },
                {
                    "bool": {
                        "filter": [
                            {
                                "nested": {
                                    "ignore_unmapped": true,
                                    "path": "sections",
                                    "query": {
                                        "bool": {
                                            "must": [
                                                {
                                                    "terms": {
                                                        "sections.type": [
                                                            "jurisdiction"
                                                        ]
                                                    }
                                                },
                                                {
                                                    "term": {
                                                        "sections.name.raw": "New York"
                                                    }
                                                }
                                            ]
                                        }
                                    }
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "size": 1,
    "profile": false,
    "explain": false,
    "timeout": "15000ms",
    "_source": [
        "name",
        "snippet",
        "category.name",
        "category.value",
        "company.name",
        "company.value",
        "jurisdiction.name",
        "jurisdiction.value",
        "industry.name",
        "industry.value",
        "filing_date",
        "group_id",
        "group_size"
    ],
    "highlight": {
        "fields": {
            "body": {},
            "company.name": {},
            "jurisdiction.name": {}
        },
        "order": "score",
        "post_tags": [
            "</b>"
        ],
        "pre_tags": [
            "<b>"
        ]
    }
}'


Responds:

{
  "took" : 542,
  "timed_out" : false,
  "_shards" : {
    "total" : 42,
    "successful" : 42,
    "skipped" : 0,
    "failed" : 0
  },
  "hits" : {
    "total" : {
      "value" : 10000,
      "relation" : "gte"
    },
    "max_score" : 1.0,
    "hits" : [
      {
        "_index" : "contract",
        "_type" : "_doc",
        "_id" : "en/4qfOW6g9pmj",
        "_score" : 1.0,
        "_source" : {
          "snippet" : "THIS EMPLOYMENT AGREEMENT (this “Agreement”) is entered into by and between LIFETIME BRANDS, INC. (the “Company”) and DANIEL SIEGEL (the “Executive”) as of November 8, 2017.",
          "group_size" : 2,
          "group_id" : "4qfOW6g9pmj",
          "filing_date" : "2017-11-09",
          "jurisdiction" : {
            "name" : "New York",
            "value" : "new-york-us"
          },
          "name" : "EMPLOYMENT AGREEMENT",
          "industry" : {
            "name" : "Cutlery, handtools & general hardware",
            "value" : "cutlery-handtools-general-hardware"
          },
          "company" : {
            "name" : "Lifetime Brands, Inc",
            "value" : "874396"
          },
          "category" : {
            "name" : "Employment Agreement",
            "value" : "employment-agreement"
          }
        }
      }
    ]
  }
}