cdevents / cdevents.dev

https://cdevents.dev
Apache License 2.0
2 stars 5 forks source link

Host schema files under cdevent.dev #11

Closed afrittoli closed 1 year ago

afrittoli commented 1 year ago

The website uses the docsy hugo theme to host the content for the spec under https://cdevents.dev/docs. The content of the spec is pulled into the website repo via git submodule.

The IDs of JSON schemas in the spec are in the format "$id": "https://cdevents.dev/draft/schema/artifact-packaged-event",. We need to make sure that the URLs embedded in the schemas resolve to the actual schema, so that we may use that URL in CDEvents and CDEvents clients may fetch the schema from the URL.