Full List: Attributes that you Can Query
LawInsider works by vacuuming up contracts and actual documents then applying AI and other techniques to parse these into a format that lends itself to querying disparate documents using some common approaches. Then the user can choose to search through either:
- the entire text of the document, thus treating it like a flat object, or
- specific attributes, thus treating it more like an object.
These attributes include:
- clause
- definition
- category
- country
- jurisdiction
- industry
- filing_year
- company
- lawfirm
- exhibit_id
- filing_id
- filing_type
This is in addition to the standard attributes:
- q (meaning full document)
- _index
Important Note on Format
The format is the same except for two special cases
clause
andcontract
, because those support what in the dashboard is called search within. We explain that here.Basically for any other attribute you write:
"attribute name": { "value": "(put nothing here)" }
For example, below we search
country = United States
in the second example and in the firstif clause is WHEREAS and WHEREAS includes the text Agreement
. The first one is an example of search within, which again, is only possible for clauses and definitions.clause": { "WHEREAS": "Agreement" }, "country": { "United States": "" }
The Complete List Viewed in the Dashboard
If you click this link it will take you to the LawInsider dashboard and with all of these elements filled. Thus it shows on the screen the same query that we show below in code (curl).
The Complete List Viewed in the Curl
This query is an example of a search of all searchable attributes.
curl -X POST \
"https://www.lawinsider.com/api/v1alpha/search?token="${token}"&pretty" \
-H 'Content-Type: application/json' \
-d '{
"query": {
"q": "",
"clause": {
"WHEREAS": "Agreement"
},
"definition": {
"Person": "partnership"
},
"category": {
"Credit Agreement": ""
},
"country": {
"United States": ""
},
"jurisdiction": {
"New York": ""
},
"industry": {
"Real estate investment trusts": ""
},
"filing_year": {
"max": "2022",
"min": "1996"
},
"company": {
"Omega Healthcare Investors Inc": ""
},
"lawfirm": {
"Kaye Scholer": ""
},
"exhibit_id": {
"ex-10": ""
},
"filing_id": {
"0001104659-21-061062": ""
},
"filing_type": {
"8-k": ""
},
"source": {
"www.sec.gov": ""
}
}
}'
Search Results
And the results:
{
"took": 466,
"timed_out": false,
"_shards": {
"total": 42,
"successful": 42,
"skipped": 0,
"failed": 0
},
"hits": {
"total": {
"value": 2,
"relation": "eq"
},
"max_score": 37.081306,
"hits": [
{
"_index": "contract",
"_id": "en/1LAXmPUsCNT",
"_score": 37.081306,
"_source": {
"name": "CREDIT AGREEMENT Dated as of April 30, 2021 among OHI Healthcare PROPERTIES LIMITED PARTNERSHIP, as Borrower, CERTAIN SUBSIDIARIES OF BORROWER REFERRED TO HEREIN as Guarantors, THE LENDERS PARTY HERETO, BANK OF AMERICA, N.A., as Administrative Agent CAPITAL ONE, NATIONAL ASSOCIATION, MORGAN STANLEY SENIOR FUNDING, INC., MUFG BANK, LTD., PEOPLE\u2019S UNITED BANK, NATIONAL ASSOCIATION, ROYAL BANK OF CANADA, REGIONS BANK, TRUIST BANK and BARCLAYS BANK PLC, as Co-Documentation Agents BOFA SECURITIES, INC., as Joint Lead Arranger and Sole Bookrunner CITIZENS BANK, NATIONAL ASSOCIATION, CR\u00c9DIT AGRICOLE ",
"snippet": "This CREDIT AGREEMENT, dated as of April 30, 2021 (as amended, restated, supplemented or otherwise modified from time to time, this \u201cAgreement\u201d), among OHI HEALTHCARE PROPERTIES LIMITED PARTNERSHIP, a Delaware limited partnership (\u201cBorrower\u201d), certain subsidiaries of Borrower identified herein, as Guarantors, the lending institutions party hereto from time to time (each, a \u201cLender\u201d and collectively, the \u201cLenders\u201d), and BANK OF AMERICA, N.A. (\u201cBank of America\u201d), as Administrative Agent.",
"url": "/contracts/1LAXmPUsCNT",
"category": {
"name": "Credit Agreement",
"value": "credit-agreement"
},
"company": {
"name": "Omega Healthcare Investors Inc",
"value": "888491"
},
"filing_date": "2021-05-04",
"industry": {
"name": "Real estate investment trusts",
"value": "real-estate-investment-trusts"
},
"jurisdiction": {
"name": "New York",
"value": "new-york-us"
},
"group_id": "1LAXmPUsCNT",
"group_size": 2
},
"inner_hits": {
"definition:Person": {
"hits": {
"total": {
"value": 1,
"relation": "eq"
},
"max_score": 5.9108505,
"hits": [
{
"_index": "contract",
"_id": "en/1LAXmPUsCNT",
"_nested": {
"field": "sections",
"offset": 473
},
"_score": 5.9108505,
"_source": {
"type": "definition",
"value": "person",
"name": "Person",
"snippet": "means any natural person, corporation, limited liability company, trust, joint venture, association, company, partnership, Governmental Authority or other entity.",
"group_id": "en/person#00000003"
}
}
]
}
},
"clause:WHEREAS": {
"hits": {
"total": {
"value": 2,
"relation": "eq"
},
"max_score": 1.8214426,
"hits": [
{
"_index": "contract",
"_id": "en/1LAXmPUsCNT",
"_nested": {
"field": "sections",
"offset": 274
},
"_score": 1.8214426,
"_source": {
"type": "clause",
"value": "whereas",
"name": "WHEREAS",
"snippet": "Borrower has requested that the Lenders provide a term loan facility pursuant to the terms of this Agreement, and the Lenders are willing to do so on the terms and conditions set forth in this Agreement; and",
"group_id": "en/whereas#00003f57"
}
},
{
"_index": "contract",
"_id": "en/1LAXmPUsCNT",
"_nested": {
"field": "sections",
"offset": 144
},
"_score": 1.7627136,
"_source": {
"type": "clause",
"value": "whereas",
"name": "WHEREAS",
"snippet": "Borrower and the guarantors party thereto, the lending institutions party thereto, and Bank of America, as administrative agent, previously entered into that certain Credit Agreement, dated as of May 25, 2017 (as amended, supplemented or otherwise modified through but excluding the date hereof, the \u201cExisting Credit Agreement\u201d);",
"group_id": "en/whereas#0007f09e"
}
}
]
}
}
}
},
{
"_index": "contract",
"_id": "en/7NYf99id705",
"_score": 37.05675,
"_source": {
"name": "CREDIT AGREEMENT Dated as of April 30, 2021 among Omega Healthcare Investors, Inc., as Borrower, CERTAIN SUBSIDIARIES OF BORROWER REFERRED TO HEREIN, as Guarantors, THE LENDERS PARTY HERETO, BANK OF AMERICA, N.A., as Administrative Agent and L/C Issuer CITIZENS BANK, NATIONAL ASSOCIATION, CR\u00c9DIT AGRICOLE CORPORATE AND INVESTMENT BANK, JPMORGAN CHASE BANK, N.A. and WELLS FARGO BANK, NATIONAL ASSOCIATION, as Co-Syndication Agents THE BANK OF NOVA SCOTIA, CAPITAL ONE, NATIONAL ASSOCIATION, MORGAN STANLEY SENIOR FUNDING, INC., MUFG BANK, LTD., PEOPLE\u2019S UNITED BANK, NATIONAL ASSOCIATION, ROYAL BANK",
"snippet": "This CREDIT AGREEMENT, dated as of April 30, 2021 (as amended, restated, supplemented or otherwise modified from time to time, this \u201cAgreement\u201d), among OMEGA HEALTHCARE INVESTORS, INC., a Maryland corporation (\u201cBorrower\u201d), certain subsidiaries of Borrower identified herein, as Guarantors, the lending institutions party hereto from time to time (each, a \u201cLender\u201d and collectively, the \u201cLenders\u201d), and BANK OF AMERICA, N.A. (\u201cBank of America\u201d), as Administrative Agent and L/C Issuer.",
"url": "/contracts/7NYf99id705",
"category": {
"name": "Credit Agreement",
"value": "credit-agreement"
},
"company": {
"name": "Omega Healthcare Investors Inc",
"value": "888491"
},
"filing_date": "2021-05-04",
"industry": {
"name": "Real estate investment trusts",
"value": "real-estate-investment-trusts"
},
"jurisdiction": {
"name": "New York",
"value": "new-york-us"
},
"group_id": "7YjXaWDXh2V",
"group_size": 3
},
"inner_hits": {
"definition:Person": {
"hits": {
"total": {
"value": 1,
"relation": "eq"
},
"max_score": 5.9108505,
"hits": [
{
"_index": "contract",
"_id": "en/7NYf99id705",
"_nested": {
"field": "sections",
"offset": 32
},
"_score": 5.9108505,
"_source": {
"type": "definition",
"value": "person",
"name": "Person",
"snippet": "means any natural person, corporation, limited liability company, trust, joint venture, association, company, partnership, Governmental Authority or other entity.",
"group_id": "en/person#00000003"
}
}
]
}
},
"clause:WHEREAS": {
"hits": {
"total": {
"value": 2,
"relation": "eq"
},
"max_score": 1.8214426,
"hits": [
{
"_index": "contract",
"_id": "en/7NYf99id705",
"_nested": {
"field": "sections",
"offset": 410
},
"_score": 1.8214426,
"_source": {
"type": "clause",
"value": "whereas",
"name": "WHEREAS",
"snippet": "Borrower has requested that the Lenders provide a revolving credit facility pursuant to the terms of this Agreement, and the Lenders are willing to do so on the terms and conditions set forth in this Agreement; and",
"group_id": "en/whereas#00003f57"
}
},
{
"_index": "contract",
"_id": "en/7NYf99id705",
"_nested": {
"field": "sections",
"offset": 14
},
"_score": 1.7136009,
"_source": {
"type": "clause",
"value": "whereas",
"name": "WHEREAS",
"snippet": "Borrower, Omega LP (as defined below) and the other guarantors party thereto, as guarantors, the lending institutions party thereto, and Bank of America, as administrative agent, previously entered into that certain Credit Agreement, dated as of May 25, 2017 (as amended, supplemented or otherwise modified through but excluding the date hereof, the \u201cExisting Credit Agreement\u201d);",
"group_id": "en/whereas#0007f09e"
}
}
]
}
}
}
}
]
},
"aggregations": {
"_index": {
"doc_count": 2,
"_index": {
"doc_count_error_upper_bound": 0,
"sum_other_doc_count": 0,
"buckets": [
{
"key": "contract",
"doc_count": 2
}
]
}
}
},
"queryTokens": [],
"size": 10
}
Updated over 1 year ago