I’m working on an app that also uses tasks, so I’ve been trying to work out how to make it interoperable with Focus.
It seems what is needed is:
- look up the Pod to store data in using pim:storage, because it might be somewhere other than the profile doc, e.g. for performance or bandwidth reasons
- look up the container to store tasks in using type registration. If there is no container specified, then suggest a default and let user override it
If my app then does the same, then we’ll both be able to find the tasks wherever they are.
I pieced this together from:
- The right location for a new app's data?
- Fun-fact - using SPARQL to query the type registry
- https://github.com/solid/solid/blob/master/proposals/data-discovery.md
Corrections are welcome.
However, it’s not clear that the type registry is a final solution for interoperability between apps. I’m not sure how it fits with: Blog post: Shaping Linked Data apps