App Directory main endpoint and other examples don't match the JSON schema at interop.intents.raises
#1085
Labels
bug
Something isn't working
interop.intents.raises
#1085
Area of Issue
[x] App Directory
[ ] API
[ ] Context Data
[ ] Intents
[ ] Desktop Agent Bridging
[ ] Use Cases
[ ] Other
Issue Description:
According to the spec,
raises
should map intent names to list of context types:https://github.com/finos/FDC3/blob/master/src/app-directory/specification/appd.schema.json#L816-L827
But the JSON returned by the AppD main endpoint uses the same schema as for
listensFor
(a map from intent name to intent metadata).Example: https://github.com/finos-labs/FDC3-App-Directory/blob/main/_apps/adaptabledemo.json#L64-L78
I'm not sure if this is an error in the JSON schema or the examples.
Additional Context:
FDC3-Sail also has an example JSON file with a non-compliant element: https://github.com/finos/FDC3-Sail/blob/44873c90b99925ac93f9c339407547a1a6652764/directory/local.v2.json#L581-L600
The text was updated successfully, but these errors were encountered: