Raw schema
{
"type": "object",
"properties": {
"status": {
"description": "Matter status, e.g. \"OPEN\" or \"CLOSED\".",
"type": "string",
"pattern": "^[A-Za-z_ ]{2,30}$"
},
"name_contains": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"number": {
"description": "Matter number (exact).",
"type": "string",
"minLength": 1,
"maxLength": 60
},
"client_id": {
"description": "Numeric id of the client contact.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"responsible_attorney_id": {
"description": "Numeric user id.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"opened_after": {
"type": "string",
"description": "A UTC date (yyyy-mm-dd) or timestamp (yyyy-mm-dd hh:mm:ss)."
},
"updated_after": {
"type": "string",
"description": "A UTC date (yyyy-mm-dd) or timestamp (yyyy-mm-dd hh:mm:ss)."
},
"filters": {
"description": "Advanced: extra Lawcus v2 filter objects {field, operator, value}, ANDed with the other filters. Dates are 'yyyy-mm-dd hh:mm:ss' UTC.",
"maxItems": 20,
"type": "array",
"items": {
"type": "object",
"properties": {
"field": {
"type": "string",
"minLength": 1,
"maxLength": 60,
"description": "The record field to filter by, e.g. status, practice, responsible_attorney, trust_balance."
},
"operator": {
"type": "string",
"minLength": 1,
"maxLength": 30,
"description": "e.g. is, not, contains, equals, startsWith, after, before, between, >, <, isEmpty."
},
"value": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "array",
"items": {
"type": [
"string",
"number"
]
}
},
{
"type": "object",
"properties": {
"start": {
"type": "string"
},
"end": {
"type": "string"
}
},
"required": [
"start",
"end"
]
}
]
}
},
"required": [
"field",
"operator"
]
}
},
"sort_by": {
"type": "string",
"enum": [
"number",
"name",
"open_date",
"created_at",
"updated_at"
]
},
"sort_order": {
"type": "string",
"enum": [
"asc",
"desc"
]
},
"skip": {
"description": "Records to skip (default 0). Pass the previous reply's next_skip.",
"type": "integer",
"minimum": 0,
"maximum": 1000000
},
"take": {
"description": "Records per page (default 25, max 100).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}