finos / FDC3

An open standard for the financial desktop.
https://fdc3.finos.org
Other
187 stars 109 forks source link

Broadcast Example not compatible with schema #1178

Closed robmoffat closed 2 months ago

robmoffat commented 3 months ago

Minor Issue

Area of Issue

[ ] App Directory [ ] API [ ] Context Data [ ] Intents [x] Desktop Agent Bridging [ ] Use Cases [ ] Other

Issue Description:

On this page: https://fdc3.finos.org/docs/next/agent-bridging/ref/broadcast

The example is:

// agent-A -> DAB
{
    "type": "broadcastRequest",
    "payload": {
        "channelId": "myChannel",
        "context": { /*contextObj*/ }
    },
    "meta": {
        "requestUuid": "<requestUuid>",
        "timestamp": "2022-03-...",
        "source": [{
            "appId": "agentA-app1",
            "instanceId": "c6ad5174-6f78-4582-8e96-728d93a4d7d7"
        }]
    }
}

NB: Source is an array.

However here https://fdc3.finos.org/assets/files/broadcastAgentRequest.schema-ae49cce8b8e358ec2b04033bc8570357.json it is not.

robmoffat commented 3 months ago

@kriswest fyi