Skip to content

Instantly share code, notes, and snippets.

@sritasngh
Created April 9, 2021 08:43
Show Gist options
  • Save sritasngh/04baf29bd1e130eeb425f5801f126959 to your computer and use it in GitHub Desktop.
Save sritasngh/04baf29bd1e130eeb425f5801f126959 to your computer and use it in GitHub Desktop.
{
"headers": [
{
"tool_name": "scancode-toolkit",
"tool_version": "3.2.3",
"options": {
"input": [
"mit.txt"
],
"--copyright": true,
"--email": true,
"--json-pp": "coutput.json",
"--license": true,
"--processes": "8",
"--url": true
},
"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-09T062339.364602",
"end_timestamp": "2021-04-09T062345.896612",
"duration": 6.532037019729614,
"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": 3,
"end_line": 20,
"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": "2-aho",
"rule_length": 161,
"matched_length": 161,
"match_coverage": 100.0,
"rule_relevance": 100
}
}
],
"license_expressions": [
"mit"
],
"percentage_of_license_text": 95.83,
"copyrights": [
{
"value": "(c) 1996 Jane Doe [email protected]",
"start_line": 1,
"end_line": 8
}
],
"holders": [
{
"value": "Jane Doe",
"start_line": 1,
"end_line": 8
}
],
"authors": [],
"emails": [
{
"email": "[email protected]",
"start_line": 2,
"end_line": 2
}
],
"urls": [],
"scan_errors": []
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment