Skip to content
This repository was archived by the owner on Sep 6, 2019. It is now read-only.
This repository was archived by the owner on Sep 6, 2019. It is now read-only.

POD Metadata schema would be useful as a JavaScript file #13

@rclark

Description

@rclark

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:

  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions