Git Product home page Git Product logo

Comments (3)

kemitchell avatar kemitchell commented on May 31, 2024

When the time comes, I may be the one who actually ends up figuring out the SPDX template XML format and coming up with the code to translate to JSON. I've already done JSON templates for the most popular licenses under https://github.com/jslicense. Here's MIT, for example: https://github.com/jslicense/jslicense-mit/blob/master/index.json

We obviously don't need more than one effort copying out and proofreading license templates!

from spdx-license-list.

bradleeedmondson avatar bradleeedmondson commented on May 31, 2024

FWIW I believe the thought from the SPDX side is that once our XML format is stable and the data is ready, we would use that XML format to continue to produce and release the other formats of the license list (RDF, etc.) which could be expanded to include JSON. That is, I'm not sure the idea is to have the XML ever be directly consumed.

I'm only mildly technical though; I believe @goneall would be able to confirm or correct. Gary, is that right? And if so, could/might it change if people want to consume the XML?

from spdx-license-list.

goneall avatar goneall commented on May 31, 2024

The JSON formats are available on the website and on github. The github url is https://github.com/spdx/license-list-data/tree/master/json and the web url is https://spdx.org/licenses/licenses.json for the index and https://spdx.org/licenses/[spdx-id].json where [spdx-id] is the SPDX license short identifier.

I have on my todo list to better document this better.

The XML format is intended to be internal to the SPDX legal team and is subject to change. That being said, we did try to align the format with the standard to minimize potential future incompatibilities.

from spdx-license-list.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.