Closed ahdinosaur closed 4 years ago
Where is this API service layer documented currently?
@almereyda it's an idea in my mind. i ended up doing the fetching, parsing, caching, etc in the UI code for linked-data-browser.
Is there a need to define a typical API specification that different systems could use, which would work with model dataas defined by this vocab? Perhaps using RAML or Swagger, something like that?
@pmackay yeah i reckon so, since many developers i've talked to are confused by RDF-style Linked Open Data and instead want something they understand like what you suggest.
I've been exploring that kind of thing on this project http://communitiesuk.github.io/waste-service-standards/, which is about creating digital waste/recycling service standards for local government. Its very close to Popolo. The intent was to have JSON-LD models and a simple REST API that follows hypermedia principles. And I've been building the API in RAML.
We will probably develop a pretty full API for NRP in the coming months. We will use the ValueFlows model and vocab for it, not the current NRP internal model. Will probably use Swagger for doc.
A lot of dependencies of that plan, though, on things that people say they want to do. But don't always follow through on.
@pmackay the waste service standards are really interesting. How are they working in practice? What's being done with them?
I'm also wondering about some of the details. For example, is name, color and image sufficient to identify a material? What if it's paper, but a different color? (I suppose for recycling, color matters, but what about other properties of paper that affect its recycling?)
You can read more about the background and timeline here http://www.localdirect.gov.uk/product/local-waste-service-standards-project/ if interested :) We're at the start of beta phase where we're working to implement them. So the "in practice" bit is to be proven over the next few months.
Actually color for a material is related to the WRAP materials colours (see https://partners.wrap.org.uk/assets/3647/ for more info) so that property should be more specifically named.
We have moved the ValueFlows organization from GitHub to https://lab.allmende.io/valueflows.
This issue has been closed here, and all further discussion on this issue can be done at
https://lab.allmende.io/valueflows/forum-valueflo-ws/-/issues/25.
If you have not done so, you are very welcome to register at https://lab.allmende.io and join the ValueFlows organization there.
migrating a discussion from https://github.com/valueflows/agent/pull/37, so we have a dedicated issue to share learnings and discuss best practices for how we build functional systems with this vocab.