{
  "headers": [
    {
      "tool_name": "scancode-toolkit",
      "tool_version": "32.0.0rc4",
      "options": {
        "input": [
          "/tmp/tmp1kvnzy78/projects/asgiref-4c7f2e2e/codebase/package_assembly_codebase.tar.gz-extract"
        ],
        "--info": true,
        "--json-pp": "scancode.io/scanpipe/tests/data/scancode/package_assembly_codebase.json",
        "--package": true,
        "--processes": "-1",
        "--verbose": 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": "2023-05-15T084938.496922",
      "end_timestamp": "2023-05-15T084939.909428",
      "output_format_version": "3.0.0",
      "duration": 1.412513017654419,
      "message": null,
      "errors": [],
      "warnings": [],
      "extra_data": {
        "system_environment": {
          "operating_system": "mac",
          "cpu_architecture": "64",
          "platform": "macOS-13.3.1-arm64-arm-64bit",
          "platform_version": "Darwin Kernel Version 22.4.0: Mon Mar  6 20:59:28 PST 2023; root:xnu-8796.101.5~3/RELEASE_ARM64_T6000",
          "python_version": "3.10.10 (v3.10.10:aad5f6a891, Feb  7 2023, 08:47:40) [Clang 13.0.0 (clang-1300.0.29.30)]"
        },
        "spdx_license_list_version": "3.20",
        "files_count": 3
      }
    }
  ],
  "packages": [
    {
      "type": "npm",
      "namespace": null,
      "name": "test",
      "version": "0.1.0",
      "qualifiers": {},
      "subpath": null,
      "primary_language": "JavaScript",
      "description": null,
      "release_date": null,
      "parties": [],
      "keywords": [],
      "homepage_url": null,
      "download_url": "https://registry.npmjs.org/test/-/test-0.1.0.tgz",
      "size": null,
      "sha1": null,
      "md5": null,
      "sha256": null,
      "sha512": null,
      "bug_tracking_url": null,
      "code_view_url": null,
      "vcs_url": null,
      "copyright": null,
      "holder": null,
      "declared_license_expression": "mit",
      "declared_license_expression_spdx": "MIT",
      "license_detections": [
        {
          "license_expression": "mit",
          "matches": [
            {
              "score": 100.0,
              "start_line": 1,
              "end_line": 1,
              "matched_length": 1,
              "match_coverage": 100.0,
              "matcher": "1-spdx-id",
              "license_expression": "mit",
              "rule_identifier": "spdx-license-identifier-mit-5da48780aba670b0860c46d899ed42a0f243ff06",
              "rule_relevance": 100,
              "rule_url": null,
              "matched_text": "MIT"
            }
          ],
          "identifier": "mit-a822f434-d61f-f2b1-c792-8b8cb9e7b9bf"
        }
      ],
      "other_license_expression": null,
      "other_license_expression_spdx": null,
      "other_license_detections": [],
      "extracted_license_statement": "['MIT']",
      "notice_text": null,
      "source_packages": [],
      "extra_data": {},
      "repository_homepage_url": "https://www.npmjs.com/package/test",
      "repository_download_url": "https://registry.npmjs.org/test/-/test-0.1.0.tgz",
      "api_data_url": "https://registry.npmjs.org/test/0.1.0",
      "package_uid": "pkg:npm/test@0.1.0?uuid=99415083-f4db-4163-b96e-d2e5f1b6b875",
      "datafile_paths": [
        "package_assembly_codebase.tar.gz-extract/test/get_package_resources/package.json"
      ],
      "datasource_ids": [
        "npm_package_json"
      ],
      "purl": "pkg:npm/test@0.1.0"
    }
  ],
  "dependencies": [],
  "files": [
    {
      "path": "package_assembly_codebase.tar.gz-extract",
      "type": "directory",
      "name": "package_assembly_codebase.tar.gz-extract",
      "base_name": "package_assembly_codebase.tar.gz-extract",
      "extension": "",
      "size": 0,
      "date": null,
      "sha1": null,
      "md5": null,
      "sha256": null,
      "mime_type": null,
      "file_type": null,
      "programming_language": null,
      "is_binary": false,
      "is_text": false,
      "is_archive": false,
      "is_media": false,
      "is_source": false,
      "is_script": false,
      "package_data": [],
      "for_packages": [],
      "files_count": 3,
      "dirs_count": 3,
      "size_count": 276,
      "scan_errors": []
    },
    {
      "path": "package_assembly_codebase.tar.gz-extract/test",
      "type": "directory",
      "name": "test",
      "base_name": "test",
      "extension": "",
      "size": 0,
      "date": null,
      "sha1": null,
      "md5": null,
      "sha256": null,
      "mime_type": null,
      "file_type": null,
      "programming_language": null,
      "is_binary": false,
      "is_text": false,
      "is_archive": false,
      "is_media": false,
      "is_source": false,
      "is_script": false,
      "package_data": [],
      "for_packages": [],
      "files_count": 3,
      "dirs_count": 2,
      "size_count": 276,
      "scan_errors": []
    },
    {
      "path": "package_assembly_codebase.tar.gz-extract/test/get_package_resources",
      "type": "directory",
      "name": "get_package_resources",
      "base_name": "get_package_resources",
      "extension": "",
      "size": 0,
      "date": null,
      "sha1": null,
      "md5": null,
      "sha256": null,
      "mime_type": null,
      "file_type": null,
      "programming_language": null,
      "is_binary": false,
      "is_text": false,
      "is_archive": false,
      "is_media": false,
      "is_source": false,
      "is_script": false,
      "package_data": [],
      "for_packages": [],
      "files_count": 3,
      "dirs_count": 1,
      "size_count": 276,
      "scan_errors": []
    },
    {
      "path": "package_assembly_codebase.tar.gz-extract/test/get_package_resources/package.json",
      "type": "file",
      "name": "package.json",
      "base_name": "package",
      "extension": ".json",
      "size": 276,
      "date": "2023-05-12",
      "sha1": "d8d1136ce3c69ea3662f55d3da246ed5013a696e",
      "md5": "b4da04c192e6366bc56087fcf9c634b7",
      "sha256": "386f5dfcc92eef62a974d8c2338e59c7d744fb5422ff5b1c63c7c2a5bbb8816b",
      "mime_type": "application/json",
      "file_type": "JSON text data",
      "programming_language": null,
      "is_binary": false,
      "is_text": true,
      "is_archive": false,
      "is_media": false,
      "is_source": false,
      "is_script": false,
      "package_data": [
        {
          "type": "npm",
          "namespace": null,
          "name": "test",
          "version": "0.1.0",
          "qualifiers": {},
          "subpath": null,
          "primary_language": "JavaScript",
          "description": null,
          "release_date": null,
          "parties": [],
          "keywords": [],
          "homepage_url": null,
          "download_url": "https://registry.npmjs.org/test/-/test-0.1.0.tgz",
          "size": null,
          "sha1": null,
          "md5": null,
          "sha256": null,
          "sha512": null,
          "bug_tracking_url": null,
          "code_view_url": null,
          "vcs_url": null,
          "copyright": null,
          "holder": null,
          "declared_license_expression": "mit",
          "declared_license_expression_spdx": "MIT",
          "license_detections": [
            {
              "license_expression": "mit",
              "matches": [
                {
                  "score": 100.0,
                  "start_line": 1,
                  "end_line": 1,
                  "matched_length": 1,
                  "match_coverage": 100.0,
                  "matcher": "1-spdx-id",
                  "license_expression": "mit",
                  "rule_identifier": "spdx-license-identifier-mit-5da48780aba670b0860c46d899ed42a0f243ff06",
                  "rule_relevance": 100,
                  "rule_url": null,
                  "matched_text": "MIT"
                }
              ],
              "identifier": "mit-a822f434-d61f-f2b1-c792-8b8cb9e7b9bf"
            }
          ],
          "other_license_expression": null,
          "other_license_expression_spdx": null,
          "other_license_detections": [],
          "extracted_license_statement": "['MIT']",
          "notice_text": null,
          "source_packages": [],
          "file_references": [],
          "extra_data": {},
          "dependencies": [],
          "repository_homepage_url": "https://www.npmjs.com/package/test",
          "repository_download_url": "https://registry.npmjs.org/test/-/test-0.1.0.tgz",
          "api_data_url": "https://registry.npmjs.org/test/0.1.0",
          "datasource_id": "npm_package_json",
          "purl": "pkg:npm/test@0.1.0"
        }
      ],
      "for_packages": [
        "pkg:npm/test@0.1.0?uuid=99415083-f4db-4163-b96e-d2e5f1b6b875"
      ],
      "files_count": 0,
      "dirs_count": 0,
      "size_count": 0,
      "scan_errors": []
    },
    {
      "path": "package_assembly_codebase.tar.gz-extract/test/get_package_resources/this-should-be-returned",
      "type": "file",
      "name": "this-should-be-returned",
      "base_name": "this-should-be-returned",
      "extension": "",
      "size": 0,
      "date": "2020-02-23",
      "sha1": null,
      "md5": null,
      "sha256": null,
      "mime_type": "inode/x-empty",
      "file_type": "empty",
      "programming_language": null,
      "is_binary": false,
      "is_text": true,
      "is_archive": false,
      "is_media": false,
      "is_source": false,
      "is_script": false,
      "package_data": [],
      "for_packages": [
        "pkg:npm/test@0.1.0?uuid=99415083-f4db-4163-b96e-d2e5f1b6b875"
      ],
      "files_count": 0,
      "dirs_count": 0,
      "size_count": 0,
      "scan_errors": []
    },
    {
      "path": "package_assembly_codebase.tar.gz-extract/test/get_package_resources/node_modules",
      "type": "directory",
      "name": "node_modules",
      "base_name": "node_modules",
      "extension": "",
      "size": 0,
      "date": null,
      "sha1": null,
      "md5": null,
      "sha256": null,
      "mime_type": null,
      "file_type": null,
      "programming_language": null,
      "is_binary": false,
      "is_text": false,
      "is_archive": false,
      "is_media": false,
      "is_source": false,
      "is_script": false,
      "package_data": [],
      "for_packages": [],
      "files_count": 1,
      "dirs_count": 0,
      "size_count": 0,
      "scan_errors": []
    },
    {
      "path": "package_assembly_codebase.tar.gz-extract/test/get_package_resources/node_modules/this-should-not-be-returned",
      "type": "file",
      "name": "this-should-not-be-returned",
      "base_name": "this-should-not-be-returned",
      "extension": "",
      "size": 0,
      "date": "2020-02-23",
      "sha1": null,
      "md5": null,
      "sha256": null,
      "mime_type": "inode/x-empty",
      "file_type": "empty",
      "programming_language": null,
      "is_binary": false,
      "is_text": true,
      "is_archive": false,
      "is_media": false,
      "is_source": false,
      "is_script": false,
      "package_data": [],
      "for_packages": [],
      "files_count": 0,
      "dirs_count": 0,
      "size_count": 0,
      "scan_errors": []
    }
  ]
}