{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/mend/main/json-schema/mend-dwrresponse-pageable-list-light-library-dto-schema.json",
  "title": "DWRResponsePageableListLightLibraryDTO",
  "description": "Provides insights into endpoint-supported pagination information",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mend-library-organization-api-openapi.yml#/components/schemas/DWRResponsePageableListLightLibraryDTO",
  "type": "object",
  "properties": {
    "additionalData": {
      "title": "Provides insights into endpoint-supported pagination information.",
      "type": "object",
      "description": "+ **totalItems**: The total count of data points returned in an API response.\n+ **isLastPage**: Defines whether the current page represents the conclusion of the API response. When “true”, this signifies you are viewing the last page of the API response. When “false”, this indicates there are further pages remaining."
    },
    "supportToken": {
      "title": "Support Token",
      "type": "string"
    },
    "retVal": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/LightLibraryDTO"
      }
    }
  },
  "$defs": {
    "AttributionReportLibrarySettingRuleDTO": {
      "type": "object",
      "properties": {
        "excluded": {
          "type": "boolean"
        }
      }
    },
    "EntityDTO": {
      "type": "object",
      "properties": {
        "uuid": {
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      }
    },
    "LibraryExtraInfoDTO": {
      "type": "object",
      "properties": {
        "distributionUrl": {
          "type": "string"
        },
        "downloadUrl": {
          "type": "string"
        },
        "releaseDate": {
          "type": "string",
          "format": "date-time"
        },
        "packageManagerRepository": {
          "type": "string"
        },
        "homePage": {
          "type": "string"
        },
        "repositoryUrl": {
          "type": "string"
        },
        "author": {
          "type": "string"
        }
      }
    },
    "LibraryLocationDTO": {
      "type": "object",
      "properties": {
        "localPath": {
          "title": "Local Path",
          "type": "string"
        },
        "dependencyFile": {
          "title": "Dependency File",
          "type": "string"
        }
      }
    },
    "LightLibraryDTO": {
      "type": "object",
      "properties": {
        "uuid": {
          "title": "Library UUID",
          "type": "string"
        },
        "name": {
          "title": "Library Name",
          "type": "string"
        },
        "artifactId": {
          "title": "Artifact Id",
          "type": "string"
        },
        "groupId": {
          "title": "Group Id",
          "type": "string"
        },
        "version": {
          "type": "string"
        },
        "architecture": {
          "title": "Architecture",
          "type": "string"
        },
        "languageVersion": {
          "title": "Language Version",
          "type": "string"
        },
        "classifier": {
          "type": "string"
        },
        "extension": {
          "type": "string"
        },
        "sha1": {
          "title": "Sha1",
          "type": "string"
        },
        "description": {
          "title": "Description",
          "type": "string"
        },
        "type": {
          "title": "Type",
          "type": "string"
        },
        "libraryType": {
          "type": "string"
        },
        "directDependency": {
          "title": "Direct Dependency",
          "type": "boolean"
        },
        "purl": {
          "title": "Package Url",
          "type": "string"
        },
        "extraInfo": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "extraInformation": {
          "$ref": "#/$defs/LibraryExtraInfoDTO"
        },
        "securityRisks": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/SecurityRiskDTO"
          }
        },
        "noticeReference": {
          "$ref": "#/$defs/NoticeDTO"
        },
        "proprietaryInfo": {
          "$ref": "#/$defs/ProprietaryInfoDTO"
        },
        "locations": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/LibraryLocationDTO"
          }
        },
        "attributionReportSettings": {
          "$ref": "#/$defs/AttributionReportLibrarySettingRuleDTO"
        },
        "dependencyType": {
          "type": "string"
        },
        "violations": {
          "title": "Number Of Violations",
          "type": "integer",
          "format": "int32"
        },
        "workflowUuids": {
          "title": "Number Of Violated Workflows",
          "type": "array",
          "items": {
            "title": "Number Of Violated Workflows",
            "type": "string"
          }
        },
        "violatingFindings": {
          "title": "Number Of Violating Findings",
          "type": "integer",
          "format": "int32"
        },
        "trackedIssue": {
          "$ref": "#/$defs/TrackedIssueDTO"
        }
      }
    },
    "NoticeDTO": {
      "required": [
        "text"
      ],
      "type": "object",
      "properties": {
        "text": {
          "title": "Notice Text",
          "type": "string"
        },
        "reference": {
          "title": "Notice REFERENCE",
          "type": "string"
        }
      }
    },
    "ProprietaryInfoDTO": {
      "type": "object",
      "properties": {
        "ruleDescription": {
          "type": "string"
        },
        "rulePattern": {
          "type": "string"
        },
        "comment": {
          "type": "string"
        },
        "userInfo": {
          "$ref": "#/$defs/UserInfoDTO"
        },
        "proprietaryMarkType": {
          "type": "string",
          "enum": [
            "BY_RULE",
            "BY_USER"
          ]
        }
      }
    },
    "SecurityRiskDTO": {
      "type": "object",
      "properties": {
        "sourceUrl": {
          "type": "string"
        },
        "riskFactor": {
          "type": "string",
          "enum": [
            "NO_FINDINGS",
            "UNCONFIRMED_UNSAFE",
            "CONFIRMED_UNSAFE",
            "KNOWN_FALSE_POSITIVE"
          ]
        }
      }
    },
    "TrackedIssueDTO": {
      "title": "Tracked Issue Information",
      "type": "object",
      "properties": {
        "uuid": {
          "type": "string"
        },
        "issueId": {
          "type": "string"
        },
        "origin": {
          "type": "string"
        },
        "issueKey": {
          "type": "string"
        },
        "account": {
          "$ref": "#/$defs/EntityDTO"
        },
        "domain": {
          "$ref": "#/$defs/EntityDTO"
        },
        "application": {
          "$ref": "#/$defs/EntityDTO"
        },
        "project": {
          "$ref": "#/$defs/EntityDTO"
        },
        "status": {
          "type": "string",
          "enum": [
            "PENDING",
            "IN_PROGRESS",
            "SUCCESS",
            "FAILED",
            "DELETED"
          ]
        },
        "issueStatus": {
          "type": "string"
        },
        "failureReason": {
          "type": "string"
        },
        "errorMessage": {
          "type": "string"
        },
        "publicLink": {
          "type": "string"
        },
        "creationDate": {
          "type": "string",
          "format": "date-time"
        },
        "updatedAt": {
          "type": "string",
          "format": "date-time"
        },
        "createdBy": {
          "$ref": "#/$defs/EntityDTO"
        },
        "ticketType": {
          "type": "string",
          "enum": [
            "SECURITY",
            "LEGAL"
          ]
        }
      }
    },
    "UserInfoDTO": {
      "required": [
        "uuid"
      ],
      "type": "object",
      "properties": {
        "uuid": {
          "title": "User UUID",
          "type": "string"
        },
        "name": {
          "title": "User Name",
          "type": "string"
        },
        "email": {
          "title": "User Email",
          "type": "string"
        },
        "userType": {
          "title": "Type Of User",
          "type": "string",
          "enum": [
            "REGULAR",
            "SERVICE",
            "SCAN_SUMMARY_RECEIVER"
          ]
        },
        "accountStatus": {
          "type": "string",
          "enum": [
            "ACTIVE",
            "INACTIVE",
            "LOCKOUT"
          ]
        }
      }
    }
  }
}