query getPackageMetadata($id: PackagesPackageID!) {
  package(id: $id) {
    id
    packageType
    metadata {
      ... on ComposerMetadata {
        targetSha
        composerJson {
          license
          version
        }
      }
      ... on PypiMetadata {
        id
        requiredPython
      }
      ... on ConanMetadata {
        id
        packageChannel
        packageUsername
        recipe
        recipePath
      }
      ... on MavenMetadata {
        id
        appName
        appGroup
        appVersion
        path
      }
      ... on NugetMetadata {
        id
        iconUrl
        licenseUrl
        projectUrl
      }
    }
  }
}
