You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 6, 2019. It is now read-only.
It is a JSON file. That means that if I want to use it in any distributed fashion, I have to make an AJAX-style request. This can be problematic in browser applications, and adds async to a Node.js app that really shouldn't have to be there.
A better approach might be to:
make a standalone Git repository for the schema to live in
expose a JavaScript file that wraps the JSON object in a variable name. That allows me to include the schema in a front-end application with <script> tags
write a package.json and register with NPM for use in Node.js apps
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Currently the canonical version of the metadata schema is available here:
http://project-open-data.github.io/schema/1_0_final/single_entry.json
It is a JSON file. That means that if I want to use it in any distributed fashion, I have to make an AJAX-style request. This can be problematic in browser applications, and adds async to a Node.js app that really shouldn't have to be there.
A better approach might be to:
<script>
tagspackage.json
and register with NPM for use in Node.js appsThe text was updated successfully, but these errors were encountered: