json_schema: {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "definitions": {
          "failed_license_scan": {
              "additionalProperties": false,
              "description": "Failed automated software copyright license scan",
              "properties": {
                  "_release": {
                      "description": "Unique release id in form of \"ecosystem:package:version\"",
                      "type": "string"
                  },
                  "details": {
                      "additionalProperties": true,
                      "type": "object"
                  },
                  "schema": {
                      "additionalProperties": false,
                      "properties": {
                          "name": {
                              "description": "Name of the schema",
                              "pattern": "^[a-zA-Z0-9_]+$",
                              "type": "string"
                          },
                          "url": {
                              "_format": "uri",
                              "description": "Full URL of the schema",
                              "type": "string"
                          },
                          "version": {
                              "description": "Version of the schema",
                              "pattern": "^[0-9]+-[0-9]+-[0-9]+$",
                              "type": "string"
                          }
                      },
                      "required": [
                          "name",
                          "version"
                      ],
                      "type": "object"
                  },
                  "status": {
                      "enum": [
                          "error"
                      ],
                      "type": "string"
                  },
                  "summary": {
                      "additionalProperties": true,
                      "type": "object"
                  }
              },
              "required": [
                  "status",
                  "summary",
                  "details"
              ],
              "type": "object"
          },
          "license_scan_details": {
              "additionalProperties": true,
              "properties": {
                  "files_count": {
                      "type": "integer"
                  },
                  "licenses": {
                      "type": "object"
                  },
                  "scancode_notice": {
                      "type": "string"
                  },
                  "scancode_version": {
                      "type": "string"
                  }
              },
              "required": [
                  "files_count",
                  "licenses",
                  "scancode_notice",
                  "scancode_version"
              ],
              "type": "object"
          },
          "license_scan_summary": {
              "additionalProperties": false,
              "properties": {
                  "sure_licenses": {
                      "description": "Licenses detected with high match confidence",
                      "items": {
                          "type": "string"
                      },
                      "type": "array"
                  }
              },
              "required": [
                  "sure_licenses"
              ],
              "type": "object"
          },
          "successful_license_scan": {
              "additionalProperties": false,
              "description": "Successful automated software copyright license scan",
              "properties": {
                  "_release": {
                      "description": "Unique release id in form of \"ecosystem:package:version\"",
                      "type": "string"
                  },
                  "details": {
                      "$ref": "#/definitions/license_scan_details"
                  },
                  "schema": {
                      "additionalProperties": false,
                      "properties": {
                          "name": {
                              "description": "Name of the schema",
                              "pattern": "^[a-zA-Z0-9_]+$",
                              "type": "string"
                          },
                          "url": {
                              "_format": "uri",
                              "description": "Full URL of the schema",
                              "type": "string"
                          },
                          "version": {
                              "description": "Version of the schema",
                              "pattern": "^[0-9]+-[0-9]+-[0-9]+$",
                              "type": "string"
                          }
                      },
                      "required": [
                          "name",
                          "version"
                      ],
                      "type": "object"
                  },
                  "status": {
                      "enum": [
                          "success"
                      ],
                      "type": "string"
                  },
                  "summary": {
                      "$ref": "#/definitions/license_scan_summary"
                  }
              },
              "required": [
                  "status",
                  "summary",
                  "details"
              ],
              "type": "object"
          }
      },
      "oneOf": [
          {
              "$ref": "#/definitions/failed_license_scan"
          },
          {
              "$ref": "#/definitions/successful_license_scan"
          },
          {
              "additionalProperties": false,
              "description": "Successful automated software copyright license scan",
              "properties": {},
              "type": "object"
          }
      ],
      "title": "source_licenses-v3-0-0"
  }