Comments (3)
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.
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.
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)
- Change to CC0 HOT 2
- Thoughts on license-generator (string variable interpolation)? HOT 3
- All instances of `https` are currently output as `http s ` HOT 3
- Update to SPDX version 3.6 2019-07-10 HOT 1
- TypeScript typings HOT 2
- Dynamically generate the JSON files HOT 1
- Clean up junk files
- Switch to the official API in the build script HOT 9
- Problem with APL-1.0 HOT 1
- Generate licenses? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spdx-license-list.