-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '592-intent-proposal-create-interaction' of https://gith…
…ub.com/singletracksystems/FDC3 into singletracksystems-592-intent-proposal-create-interaction
- Loading branch information
Showing
15 changed files
with
1,883 additions
and
1,543 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
--- | ||
id: Interaction | ||
sidebar_label: Interaction | ||
title: Interaction | ||
hide_title: true | ||
--- | ||
# `Interaction` | ||
|
||
An interaction is a significant direct exchange of ideas or information between a Sell Side party and one or more Buy Side parties. An interaction might be a call, a meeting (physical or virtual), an IM or the preparation of some specialist data. | ||
|
||
Notes: | ||
|
||
- interactionType SHOULD be one of 'Instant Message', 'Email', 'Call', or 'Meeting' although other values can be provided | ||
- origin indicates the application or service that the interaction was created from to aid in tracing the source of the interaction | ||
|
||
## Type | ||
|
||
`fdc3.interaction` | ||
|
||
## Schema | ||
|
||
https://fdc3.finos.org/schemas/next/interaction.schema.json | ||
|
||
## Details | ||
|
||
| Property | Type | Required | Example Value | | ||
|-------------|---------|----------|---------------------| | ||
| `type` | string | Yes | `fdc3.interaction` | | ||
| `participants` | fdc3.contactList | Yes | See below | | ||
| `timeRange` | fdc3.timeRange | Yes | See below | | ||
| `interactionType` | string | Yes | `Instant Message` | | ||
| `description` | string | Yes | `Blah, blah, blah` | | ||
| `initiator` | fdc3.contact | No | See below | | ||
| `origin` | string | No | `Outlook` | | ||
|
||
## Example | ||
|
||
```js | ||
const interaction = { | ||
type: 'fdc3.interaction', | ||
participants: { | ||
type: 'fdc3.contactList', | ||
contacts: [ | ||
{ | ||
type: 'fdc3.contact', | ||
name: 'Jane Doe', | ||
id: { | ||
email: 'jane.doe@mail.com' | ||
} | ||
}, | ||
{ | ||
type: 'fdc3.contact', | ||
name: 'John Doe', | ||
id: { | ||
email: 'john.doe@mail.com' | ||
} | ||
}, | ||
] | ||
}, | ||
interactionType: 'Instant Message', | ||
timeRange: { | ||
type: 'fdc3.timeRange', | ||
startTime: '2022-02-10T15:12:00Z' | ||
}, | ||
description: 'Laboris libero dapibus fames elit adipisicing eu, fermentum, dignissimos laboriosam, erat, risus qui deserunt. Praesentium! Reiciendis. Hic harum nostrud, harum potenti amet? Mauris. Pretium aliquid animi, eget eiusmod integer proident. Architecto ipsum blandit ducimus, possimus illum sunt illum necessitatibus ab litora sed, nonummy integer minus corrupti ducimus iste senectus accumsan, fugiat nostrud? Pede vero dictumst excepturi, iure earum consequuntur voluptatum', | ||
initiator: { | ||
type: 'fdc3.contact', | ||
name: 'Jane Doe', | ||
id: { | ||
email: 'jane.doe@mail.com' | ||
} | ||
}, | ||
origin: 'Outlook' | ||
} | ||
|
||
fdc3.raiseIntent('CreateInteraction', interaction) | ||
``` | ||
|
||
## See Also | ||
|
||
Other Types | ||
- [Contact](Contact) | ||
- [ContactList](ContactList) | ||
- [TimeRange](TimeRange) | ||
|
||
Intents | ||
- [CreateInteraction](../../intents/ref/CreateInteraction) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
--- | ||
id: CreateInteraction | ||
sidebar_label: CreateInteraction | ||
title: CreateInteraction | ||
hide_title: true | ||
--- | ||
# `CreateInteraction` | ||
|
||
Create an interaction with a list of contacts. | ||
|
||
## Intent Name | ||
|
||
`CreateInteraction` | ||
|
||
## Display Name | ||
|
||
`Create Interaction` | ||
|
||
## Possible Contexts | ||
|
||
* [ContactList](../../context/ref/ContactList) | ||
|
||
## Example | ||
|
||
```js | ||
const interaction = { | ||
type: 'fdc3.interaction', | ||
contacts: { | ||
type: 'fdc3.contactList', | ||
contacts: [ | ||
{ | ||
type: 'fdc3.contact', | ||
name: 'Jane Doe', | ||
id: { | ||
email: 'jane.doe@mail.com' | ||
} | ||
}, | ||
{ | ||
type: 'fdc3.contact', | ||
name: 'John Doe', | ||
id: { | ||
email: 'john.doe@mail.com' | ||
} | ||
}, | ||
] | ||
}, | ||
interactionType: 'Instant Message', | ||
timeRange: { | ||
type: 'fdc3.timeRange', | ||
startTime: '2022-02-10T15:12:00Z' | ||
}, | ||
description: 'Laboris libero dapibus fames elit adipisicing eu, fermentum, dignissimos laboriosam, erat, risus qui deserunt. Praesentium! Reiciendis. Hic harum nostrud, harum potenti amet? Mauris. Pretium aliquid animi, eget eiusmod integer proident. Architecto ipsum blandit ducimus, possimus illum sunt illum necessitatibus ab litora sed, nonummy integer minus corrupti ducimus iste senectus accumsan, fugiat nostrud? Pede vero dictumst excepturi, iure earum consequuntur voluptatum', | ||
initiator: { | ||
type: 'fdc3.contact', | ||
name: 'Jane Doe', | ||
id: { | ||
email: 'jane.doe@mail.com' | ||
} | ||
}, | ||
origin: 'Outlook' | ||
} | ||
|
||
fdc3.raiseIntent('CreateInteraction', interaction) | ||
``` | ||
|
||
## See Also | ||
|
||
Context | ||
- [Interaction](../../context/ref/Interaction) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"$id": "https://fdc3.finos.org/schemas/next/interaction.schema.json", | ||
"type": "object", | ||
"title": "Interaction", | ||
"allOf": [{ "$ref": "context.schema.json#" }], | ||
"properties": { | ||
"type": { "const": "fdc3.interaction" }, | ||
"participants": { | ||
"$ref": "contactList.schema.json#" | ||
}, | ||
"timeRange": { | ||
"$ref": "timerange.schema.json#" | ||
}, | ||
"interactionType": { | ||
"anyOf": [ | ||
{ | ||
"type": "string", | ||
"enum": ["Instant Message", "Email", "Call", "Meeting"] | ||
}, | ||
{ | ||
"type": "string" | ||
} | ||
] | ||
}, | ||
"description": { | ||
"type": "string" | ||
}, | ||
"initiator": { | ||
"$ref": "contact.schema.json#" | ||
}, | ||
"origin": { | ||
"type": "string" | ||
} | ||
}, | ||
"required": ["contacts", "timeRange", "interactionType", "description"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.