Skip to content

Instantly share code, notes, and snippets.

@sritasngh
Created April 7, 2021 06:51
Show Gist options
  • Save sritasngh/30da32d345295c9ffc85f7d8fb6c4cd0 to your computer and use it in GitHub Desktop.
Save sritasngh/30da32d345295c9ffc85f7d8fb6c4cd0 to your computer and use it in GitHub Desktop.
{
"headers": [
{
"tool_name": "scancode-toolkit",
"tool_version": "3.2.3",
"options": {
"input": [
"mit.txt"
],
"--json-pp": "coutput.json",
"--license": true,
"--processes": "8"
},
"notice": "Generated with ScanCode and provided on an \"AS IS\" BASIS, WITHOUT WARRANTIES\nOR CONDITIONS OF ANY KIND, either express or implied. No content created from\nScanCode should be considered or used as legal advice. Consult an Attorney\nfor any legal advice.\nScanCode is a free software code scanning tool from nexB Inc. and others.\nVisit https://github.com/nexB/scancode-toolkit/ for support and download.",
"start_timestamp": "2021-04-07T064907.926683",
"end_timestamp": "2021-04-07T064914.372804",
"duration": 6.446136951446533,
"message": null,
"errors": [],
"extra_data": {
"files_count": 1
}
}
],
"files": [
{
"path": "mit.txt",
"type": "file",
"licenses": [
{
"key": "mit",
"score": 100.0,
"name": "MIT License",
"short_name": "MIT License",
"category": "Permissive",
"is_exception": false,
"owner": "MIT",
"homepage_url": "http://opensource.org/licenses/mit-license.php",
"text_url": "http://opensource.org/licenses/mit-license.php",
"reference_url": "https://scancode-licensedb.aboutcode.org/mit",
"scancode_text_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE",
"scancode_data_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.yml",
"spdx_license_key": "MIT",
"spdx_url": "https://spdx.org/licenses/MIT",
"start_line": 1,
"end_line": 18,
"matched_rule": {
"identifier": "mit.LICENSE",
"license_expression": "mit",
"licenses": [
"mit"
],
"is_license_text": true,
"is_license_notice": false,
"is_license_reference": false,
"is_license_tag": false,
"is_license_intro": false,
"matcher": "1-hash",
"rule_length": 161,
"matched_length": 161,
"match_coverage": 100.0,
"rule_relevance": 100
}
}
],
"license_expressions": [
"mit"
],
"percentage_of_license_text": 100.0,
"scan_errors": []
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment