if schemaurl is a uri-ref, how do I get it?
See original GitHub issueSuppose I get a cloudevent with a schemaurl
set to /spec/v0.1/data/schema/events.json
This is valid from the specs point of view. But from an event consumer, they are out of luck to know how to fetch that schema data.
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (7 by maintainers)
Top Results From Across the Web
RDF terms in rdflib — rdflib 6.2.0 documentation
Those that are part of core RDF concepts are: IRIs , Blank Node and Literal ... RDFLib's class for representing IRIs/URIs is called...
Read more >updating graph with multiple programs automatically ...
from rdflib import Graph, Literal, BNode, RDF,URIRef from rdflib ... is run it prepends the path of the location of turtle file to...
Read more >Source code for swh.indexer.metadata_dictionary.npm
URIRef ('git+https://github.com/foo/bar.git') """ if ( isinstance(d, dict) and isinstance(d.get("type"), str) and isinstance(d.get("url"), ...
Read more >URL - Schema.org Type
Property On Types Description
asin Demand or. Offer or. Product
bankAccountType BankAccount The type of a bank account.
childTaxon Taxon Closest child taxa of the taxon...
Read more >Event
Package event provides primitives to work with CloudEvents ... Time // GetDataSchema returns the CloudEvents schema URL (if any) from the ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I understand that it’s especially unfortunate because of the url part, but
source
is a piece of metadata that needs to be handled generically by middleware. A well-defined way for de-referencing relative uri references would be helpful. Otherwise you might end up with “if-then-else” logic in event routers. I realize that this is off-topic in this issue, though. 🤔This makes sense for
source
becausesource
is just metadata about the entity that produced the event, butschemarul
is provided for the consumers benefit to understand the payload. And yet… they can not. Also, schemaurl is a uri-ref 😕