Skip to main content
Version: Next

ChatSearchCriteria

A context type that represents a simple search criterion, based on a list of other context objects, that can be used to search or filter messages in a chat application.

Schema

https://fdc3.finos.org/schemas/next/context/chatSearchCriteria.schema.json (github)

Type

fdc3.chat.searchCriteria

Properties

criteria (required)

type: array

Items
Search Criteria

One of:

An individual criteria against which to match chat messages, based on an FDC3 context or free-text string.

An array of criteria that should match chats returned from by a search.

⚠️ Operators (and/or/not) are not defined in fdc3.chat.searchCriteria. It is up to the application that processes the FDC3 Intent to choose and apply the operators between the criteria.

Empty search criteria can be supported to allow resetting of filters.

Example

{
"type": "fdc3.chat.searchCriteria",
"criteria": [
{
"type": "fdc3.contact",
"name": "Jane Doe",
"id": {
"email": "jane.doe@mail.com"
}
},
{
"type": "fdc3.instrument",
"id": {
"ticker": "TSLA"
},
"name": "Tesla, inc."
},
"annual return"
]
}