github.com/lineaje-labs/syft@v0.98.1-0.20231227153149-9e393f60ff1b/schema/json/schema-11.0.1.json (about) 1 { 2 "$schema": "https://json-schema.org/draft/2020-12/schema", 3 "$id": "anchore.io/schema/syft/json/11.0.1/document", 4 "$ref": "#/$defs/Document", 5 "$defs": { 6 "AlpmFileRecord": { 7 "properties": { 8 "path": { 9 "type": "string" 10 }, 11 "type": { 12 "type": "string" 13 }, 14 "uid": { 15 "type": "string" 16 }, 17 "gid": { 18 "type": "string" 19 }, 20 "time": { 21 "type": "string", 22 "format": "date-time" 23 }, 24 "size": { 25 "type": "string" 26 }, 27 "link": { 28 "type": "string" 29 }, 30 "digest": { 31 "items": { 32 "$ref": "#/$defs/Digest" 33 }, 34 "type": "array" 35 } 36 }, 37 "type": "object" 38 }, 39 "AlpmMetadata": { 40 "properties": { 41 "basepackage": { 42 "type": "string" 43 }, 44 "package": { 45 "type": "string" 46 }, 47 "version": { 48 "type": "string" 49 }, 50 "description": { 51 "type": "string" 52 }, 53 "architecture": { 54 "type": "string" 55 }, 56 "size": { 57 "type": "integer" 58 }, 59 "packager": { 60 "type": "string" 61 }, 62 "url": { 63 "type": "string" 64 }, 65 "validation": { 66 "type": "string" 67 }, 68 "reason": { 69 "type": "integer" 70 }, 71 "files": { 72 "items": { 73 "$ref": "#/$defs/AlpmFileRecord" 74 }, 75 "type": "array" 76 }, 77 "backup": { 78 "items": { 79 "$ref": "#/$defs/AlpmFileRecord" 80 }, 81 "type": "array" 82 } 83 }, 84 "type": "object", 85 "required": [ 86 "basepackage", 87 "package", 88 "version", 89 "description", 90 "architecture", 91 "size", 92 "packager", 93 "url", 94 "validation", 95 "reason", 96 "files", 97 "backup" 98 ] 99 }, 100 "ApkFileRecord": { 101 "properties": { 102 "path": { 103 "type": "string" 104 }, 105 "ownerUid": { 106 "type": "string" 107 }, 108 "ownerGid": { 109 "type": "string" 110 }, 111 "permissions": { 112 "type": "string" 113 }, 114 "digest": { 115 "$ref": "#/$defs/Digest" 116 } 117 }, 118 "type": "object", 119 "required": [ 120 "path" 121 ] 122 }, 123 "ApkMetadata": { 124 "properties": { 125 "package": { 126 "type": "string" 127 }, 128 "originPackage": { 129 "type": "string" 130 }, 131 "maintainer": { 132 "type": "string" 133 }, 134 "version": { 135 "type": "string" 136 }, 137 "architecture": { 138 "type": "string" 139 }, 140 "url": { 141 "type": "string" 142 }, 143 "description": { 144 "type": "string" 145 }, 146 "size": { 147 "type": "integer" 148 }, 149 "installedSize": { 150 "type": "integer" 151 }, 152 "pullDependencies": { 153 "items": { 154 "type": "string" 155 }, 156 "type": "array" 157 }, 158 "provides": { 159 "items": { 160 "type": "string" 161 }, 162 "type": "array" 163 }, 164 "pullChecksum": { 165 "type": "string" 166 }, 167 "gitCommitOfApkPort": { 168 "type": "string" 169 }, 170 "files": { 171 "items": { 172 "$ref": "#/$defs/ApkFileRecord" 173 }, 174 "type": "array" 175 } 176 }, 177 "type": "object", 178 "required": [ 179 "package", 180 "originPackage", 181 "maintainer", 182 "version", 183 "architecture", 184 "url", 185 "description", 186 "size", 187 "installedSize", 188 "pullDependencies", 189 "provides", 190 "pullChecksum", 191 "gitCommitOfApkPort", 192 "files" 193 ] 194 }, 195 "BinaryMetadata": { 196 "properties": { 197 "matches": { 198 "items": { 199 "$ref": "#/$defs/ClassifierMatch" 200 }, 201 "type": "array" 202 } 203 }, 204 "type": "object", 205 "required": [ 206 "matches" 207 ] 208 }, 209 "CargoPackageMetadata": { 210 "properties": { 211 "name": { 212 "type": "string" 213 }, 214 "version": { 215 "type": "string" 216 }, 217 "source": { 218 "type": "string" 219 }, 220 "checksum": { 221 "type": "string" 222 }, 223 "dependencies": { 224 "items": { 225 "type": "string" 226 }, 227 "type": "array" 228 } 229 }, 230 "type": "object", 231 "required": [ 232 "name", 233 "version", 234 "source", 235 "checksum", 236 "dependencies" 237 ] 238 }, 239 "ClassifierMatch": { 240 "properties": { 241 "classifier": { 242 "type": "string" 243 }, 244 "location": { 245 "$ref": "#/$defs/Location" 246 } 247 }, 248 "type": "object", 249 "required": [ 250 "classifier", 251 "location" 252 ] 253 }, 254 "CocoapodsMetadata": { 255 "properties": { 256 "checksum": { 257 "type": "string" 258 } 259 }, 260 "type": "object", 261 "required": [ 262 "checksum" 263 ] 264 }, 265 "ConanLockMetadata": { 266 "properties": { 267 "ref": { 268 "type": "string" 269 }, 270 "package_id": { 271 "type": "string" 272 }, 273 "prev": { 274 "type": "string" 275 }, 276 "requires": { 277 "items": { 278 "type": "string" 279 }, 280 "type": "array" 281 }, 282 "build_requires": { 283 "items": { 284 "type": "string" 285 }, 286 "type": "array" 287 }, 288 "py_requires": { 289 "items": { 290 "type": "string" 291 }, 292 "type": "array" 293 }, 294 "options": { 295 "patternProperties": { 296 ".*": { 297 "type": "string" 298 } 299 }, 300 "type": "object" 301 }, 302 "path": { 303 "type": "string" 304 }, 305 "context": { 306 "type": "string" 307 } 308 }, 309 "type": "object", 310 "required": [ 311 "ref" 312 ] 313 }, 314 "ConanMetadata": { 315 "properties": { 316 "ref": { 317 "type": "string" 318 } 319 }, 320 "type": "object", 321 "required": [ 322 "ref" 323 ] 324 }, 325 "Coordinates": { 326 "properties": { 327 "path": { 328 "type": "string" 329 }, 330 "layerID": { 331 "type": "string" 332 } 333 }, 334 "type": "object", 335 "required": [ 336 "path" 337 ] 338 }, 339 "DartPubMetadata": { 340 "properties": { 341 "name": { 342 "type": "string" 343 }, 344 "version": { 345 "type": "string" 346 }, 347 "hosted_url": { 348 "type": "string" 349 }, 350 "vcs_url": { 351 "type": "string" 352 } 353 }, 354 "type": "object", 355 "required": [ 356 "name", 357 "version" 358 ] 359 }, 360 "Descriptor": { 361 "properties": { 362 "name": { 363 "type": "string" 364 }, 365 "version": { 366 "type": "string" 367 }, 368 "configuration": true 369 }, 370 "type": "object", 371 "required": [ 372 "name", 373 "version" 374 ] 375 }, 376 "Digest": { 377 "properties": { 378 "algorithm": { 379 "type": "string" 380 }, 381 "value": { 382 "type": "string" 383 } 384 }, 385 "type": "object", 386 "required": [ 387 "algorithm", 388 "value" 389 ] 390 }, 391 "Document": { 392 "properties": { 393 "artifacts": { 394 "items": { 395 "$ref": "#/$defs/Package" 396 }, 397 "type": "array" 398 }, 399 "artifactRelationships": { 400 "items": { 401 "$ref": "#/$defs/Relationship" 402 }, 403 "type": "array" 404 }, 405 "files": { 406 "items": { 407 "$ref": "#/$defs/File" 408 }, 409 "type": "array" 410 }, 411 "secrets": { 412 "items": { 413 "$ref": "#/$defs/Secrets" 414 }, 415 "type": "array" 416 }, 417 "source": { 418 "$ref": "#/$defs/Source" 419 }, 420 "distro": { 421 "$ref": "#/$defs/LinuxRelease" 422 }, 423 "descriptor": { 424 "$ref": "#/$defs/Descriptor" 425 }, 426 "schema": { 427 "$ref": "#/$defs/Schema" 428 } 429 }, 430 "type": "object", 431 "required": [ 432 "artifacts", 433 "artifactRelationships", 434 "source", 435 "distro", 436 "descriptor", 437 "schema" 438 ] 439 }, 440 "DotnetDepsMetadata": { 441 "properties": { 442 "name": { 443 "type": "string" 444 }, 445 "version": { 446 "type": "string" 447 }, 448 "path": { 449 "type": "string" 450 }, 451 "sha512": { 452 "type": "string" 453 }, 454 "hashPath": { 455 "type": "string" 456 } 457 }, 458 "type": "object", 459 "required": [ 460 "name", 461 "version", 462 "path", 463 "sha512", 464 "hashPath" 465 ] 466 }, 467 "DotnetPortableExecutableMetadata": { 468 "properties": { 469 "assemblyVersion": { 470 "type": "string" 471 }, 472 "legalCopyright": { 473 "type": "string" 474 }, 475 "comments": { 476 "type": "string" 477 }, 478 "internalName": { 479 "type": "string" 480 }, 481 "companyName": { 482 "type": "string" 483 }, 484 "productName": { 485 "type": "string" 486 }, 487 "productVersion": { 488 "type": "string" 489 } 490 }, 491 "type": "object", 492 "required": [ 493 "assemblyVersion", 494 "legalCopyright", 495 "companyName", 496 "productName", 497 "productVersion" 498 ] 499 }, 500 "DpkgFileRecord": { 501 "properties": { 502 "path": { 503 "type": "string" 504 }, 505 "digest": { 506 "$ref": "#/$defs/Digest" 507 }, 508 "isConfigFile": { 509 "type": "boolean" 510 } 511 }, 512 "type": "object", 513 "required": [ 514 "path", 515 "isConfigFile" 516 ] 517 }, 518 "DpkgMetadata": { 519 "properties": { 520 "package": { 521 "type": "string" 522 }, 523 "source": { 524 "type": "string" 525 }, 526 "version": { 527 "type": "string" 528 }, 529 "sourceVersion": { 530 "type": "string" 531 }, 532 "architecture": { 533 "type": "string" 534 }, 535 "maintainer": { 536 "type": "string" 537 }, 538 "installedSize": { 539 "type": "integer" 540 }, 541 "provides": { 542 "items": { 543 "type": "string" 544 }, 545 "type": "array" 546 }, 547 "depends": { 548 "items": { 549 "type": "string" 550 }, 551 "type": "array" 552 }, 553 "preDepends": { 554 "items": { 555 "type": "string" 556 }, 557 "type": "array" 558 }, 559 "files": { 560 "items": { 561 "$ref": "#/$defs/DpkgFileRecord" 562 }, 563 "type": "array" 564 } 565 }, 566 "type": "object", 567 "required": [ 568 "package", 569 "source", 570 "version", 571 "sourceVersion", 572 "architecture", 573 "maintainer", 574 "installedSize", 575 "files" 576 ] 577 }, 578 "File": { 579 "properties": { 580 "id": { 581 "type": "string" 582 }, 583 "location": { 584 "$ref": "#/$defs/Coordinates" 585 }, 586 "metadata": { 587 "$ref": "#/$defs/FileMetadataEntry" 588 }, 589 "contents": { 590 "type": "string" 591 }, 592 "digests": { 593 "items": { 594 "$ref": "#/$defs/Digest" 595 }, 596 "type": "array" 597 }, 598 "licenses": { 599 "items": { 600 "$ref": "#/$defs/FileLicense" 601 }, 602 "type": "array" 603 } 604 }, 605 "type": "object", 606 "required": [ 607 "id", 608 "location" 609 ] 610 }, 611 "FileLicense": { 612 "properties": { 613 "value": { 614 "type": "string" 615 }, 616 "spdxExpression": { 617 "type": "string" 618 }, 619 "type": { 620 "type": "string" 621 }, 622 "evidence": { 623 "$ref": "#/$defs/FileLicenseEvidence" 624 } 625 }, 626 "type": "object", 627 "required": [ 628 "value", 629 "spdxExpression", 630 "type" 631 ] 632 }, 633 "FileLicenseEvidence": { 634 "properties": { 635 "confidence": { 636 "type": "integer" 637 }, 638 "offset": { 639 "type": "integer" 640 }, 641 "extent": { 642 "type": "integer" 643 } 644 }, 645 "type": "object", 646 "required": [ 647 "confidence", 648 "offset", 649 "extent" 650 ] 651 }, 652 "FileMetadataEntry": { 653 "properties": { 654 "mode": { 655 "type": "integer" 656 }, 657 "type": { 658 "type": "string" 659 }, 660 "linkDestination": { 661 "type": "string" 662 }, 663 "userID": { 664 "type": "integer" 665 }, 666 "groupID": { 667 "type": "integer" 668 }, 669 "mimeType": { 670 "type": "string" 671 }, 672 "size": { 673 "type": "integer" 674 } 675 }, 676 "type": "object", 677 "required": [ 678 "mode", 679 "type", 680 "userID", 681 "groupID", 682 "mimeType", 683 "size" 684 ] 685 }, 686 "GemMetadata": { 687 "properties": { 688 "name": { 689 "type": "string" 690 }, 691 "version": { 692 "type": "string" 693 }, 694 "files": { 695 "items": { 696 "type": "string" 697 }, 698 "type": "array" 699 }, 700 "authors": { 701 "items": { 702 "type": "string" 703 }, 704 "type": "array" 705 }, 706 "homepage": { 707 "type": "string" 708 } 709 }, 710 "type": "object", 711 "required": [ 712 "name", 713 "version" 714 ] 715 }, 716 "GolangBinMetadata": { 717 "properties": { 718 "goBuildSettings": { 719 "patternProperties": { 720 ".*": { 721 "type": "string" 722 } 723 }, 724 "type": "object" 725 }, 726 "goCompiledVersion": { 727 "type": "string" 728 }, 729 "architecture": { 730 "type": "string" 731 }, 732 "h1Digest": { 733 "type": "string" 734 }, 735 "mainModule": { 736 "type": "string" 737 }, 738 "goCryptoSettings": { 739 "items": { 740 "type": "string" 741 }, 742 "type": "array" 743 } 744 }, 745 "type": "object", 746 "required": [ 747 "goCompiledVersion", 748 "architecture" 749 ] 750 }, 751 "GolangModMetadata": { 752 "properties": { 753 "h1Digest": { 754 "type": "string" 755 } 756 }, 757 "type": "object" 758 }, 759 "HackageMetadata": { 760 "properties": { 761 "name": { 762 "type": "string" 763 }, 764 "version": { 765 "type": "string" 766 }, 767 "pkgHash": { 768 "type": "string" 769 }, 770 "snapshotURL": { 771 "type": "string" 772 } 773 }, 774 "type": "object", 775 "required": [ 776 "name", 777 "version" 778 ] 779 }, 780 "IDLikes": { 781 "items": { 782 "type": "string" 783 }, 784 "type": "array" 785 }, 786 "JavaManifest": { 787 "properties": { 788 "main": { 789 "patternProperties": { 790 ".*": { 791 "type": "string" 792 } 793 }, 794 "type": "object" 795 }, 796 "namedSections": { 797 "patternProperties": { 798 ".*": { 799 "patternProperties": { 800 ".*": { 801 "type": "string" 802 } 803 }, 804 "type": "object" 805 } 806 }, 807 "type": "object" 808 } 809 }, 810 "type": "object" 811 }, 812 "JavaMetadata": { 813 "properties": { 814 "virtualPath": { 815 "type": "string" 816 }, 817 "manifest": { 818 "$ref": "#/$defs/JavaManifest" 819 }, 820 "pomProperties": { 821 "$ref": "#/$defs/PomProperties" 822 }, 823 "pomProject": { 824 "$ref": "#/$defs/PomProject" 825 }, 826 "digest": { 827 "items": { 828 "$ref": "#/$defs/Digest" 829 }, 830 "type": "array" 831 } 832 }, 833 "type": "object", 834 "required": [ 835 "virtualPath" 836 ] 837 }, 838 "KbPackageMetadata": { 839 "properties": { 840 "product_id": { 841 "type": "string" 842 }, 843 "kb": { 844 "type": "string" 845 } 846 }, 847 "type": "object", 848 "required": [ 849 "product_id", 850 "kb" 851 ] 852 }, 853 "License": { 854 "properties": { 855 "value": { 856 "type": "string" 857 }, 858 "spdxExpression": { 859 "type": "string" 860 }, 861 "type": { 862 "type": "string" 863 }, 864 "urls": { 865 "items": { 866 "type": "string" 867 }, 868 "type": "array" 869 }, 870 "locations": { 871 "items": { 872 "$ref": "#/$defs/Location" 873 }, 874 "type": "array" 875 } 876 }, 877 "type": "object", 878 "required": [ 879 "value", 880 "spdxExpression", 881 "type", 882 "urls", 883 "locations" 884 ] 885 }, 886 "LinuxKernelMetadata": { 887 "properties": { 888 "name": { 889 "type": "string" 890 }, 891 "architecture": { 892 "type": "string" 893 }, 894 "version": { 895 "type": "string" 896 }, 897 "extendedVersion": { 898 "type": "string" 899 }, 900 "buildTime": { 901 "type": "string" 902 }, 903 "author": { 904 "type": "string" 905 }, 906 "format": { 907 "type": "string" 908 }, 909 "rwRootFS": { 910 "type": "boolean" 911 }, 912 "swapDevice": { 913 "type": "integer" 914 }, 915 "rootDevice": { 916 "type": "integer" 917 }, 918 "videoMode": { 919 "type": "string" 920 } 921 }, 922 "type": "object", 923 "required": [ 924 "name", 925 "architecture", 926 "version" 927 ] 928 }, 929 "LinuxKernelModuleMetadata": { 930 "properties": { 931 "name": { 932 "type": "string" 933 }, 934 "version": { 935 "type": "string" 936 }, 937 "sourceVersion": { 938 "type": "string" 939 }, 940 "path": { 941 "type": "string" 942 }, 943 "description": { 944 "type": "string" 945 }, 946 "author": { 947 "type": "string" 948 }, 949 "license": { 950 "type": "string" 951 }, 952 "kernelVersion": { 953 "type": "string" 954 }, 955 "versionMagic": { 956 "type": "string" 957 }, 958 "parameters": { 959 "patternProperties": { 960 ".*": { 961 "$ref": "#/$defs/LinuxKernelModuleParameter" 962 } 963 }, 964 "type": "object" 965 } 966 }, 967 "type": "object" 968 }, 969 "LinuxKernelModuleParameter": { 970 "properties": { 971 "type": { 972 "type": "string" 973 }, 974 "description": { 975 "type": "string" 976 } 977 }, 978 "type": "object" 979 }, 980 "LinuxRelease": { 981 "properties": { 982 "prettyName": { 983 "type": "string" 984 }, 985 "name": { 986 "type": "string" 987 }, 988 "id": { 989 "type": "string" 990 }, 991 "idLike": { 992 "$ref": "#/$defs/IDLikes" 993 }, 994 "version": { 995 "type": "string" 996 }, 997 "versionID": { 998 "type": "string" 999 }, 1000 "versionCodename": { 1001 "type": "string" 1002 }, 1003 "buildID": { 1004 "type": "string" 1005 }, 1006 "imageID": { 1007 "type": "string" 1008 }, 1009 "imageVersion": { 1010 "type": "string" 1011 }, 1012 "variant": { 1013 "type": "string" 1014 }, 1015 "variantID": { 1016 "type": "string" 1017 }, 1018 "homeURL": { 1019 "type": "string" 1020 }, 1021 "supportURL": { 1022 "type": "string" 1023 }, 1024 "bugReportURL": { 1025 "type": "string" 1026 }, 1027 "privacyPolicyURL": { 1028 "type": "string" 1029 }, 1030 "cpeName": { 1031 "type": "string" 1032 }, 1033 "supportEnd": { 1034 "type": "string" 1035 } 1036 }, 1037 "type": "object" 1038 }, 1039 "Location": { 1040 "properties": { 1041 "path": { 1042 "type": "string" 1043 }, 1044 "layerID": { 1045 "type": "string" 1046 }, 1047 "annotations": { 1048 "patternProperties": { 1049 ".*": { 1050 "type": "string" 1051 } 1052 }, 1053 "type": "object" 1054 } 1055 }, 1056 "type": "object", 1057 "required": [ 1058 "path" 1059 ] 1060 }, 1061 "MixLockMetadata": { 1062 "properties": { 1063 "name": { 1064 "type": "string" 1065 }, 1066 "version": { 1067 "type": "string" 1068 }, 1069 "pkgHash": { 1070 "type": "string" 1071 }, 1072 "pkgHashExt": { 1073 "type": "string" 1074 } 1075 }, 1076 "type": "object", 1077 "required": [ 1078 "name", 1079 "version", 1080 "pkgHash", 1081 "pkgHashExt" 1082 ] 1083 }, 1084 "NixStoreMetadata": { 1085 "properties": { 1086 "outputHash": { 1087 "type": "string" 1088 }, 1089 "output": { 1090 "type": "string" 1091 }, 1092 "files": { 1093 "items": { 1094 "type": "string" 1095 }, 1096 "type": "array" 1097 } 1098 }, 1099 "type": "object", 1100 "required": [ 1101 "outputHash", 1102 "files" 1103 ] 1104 }, 1105 "NpmPackageJSONMetadata": { 1106 "properties": { 1107 "name": { 1108 "type": "string" 1109 }, 1110 "version": { 1111 "type": "string" 1112 }, 1113 "author": { 1114 "type": "string" 1115 }, 1116 "homepage": { 1117 "type": "string" 1118 }, 1119 "description": { 1120 "type": "string" 1121 }, 1122 "url": { 1123 "type": "string" 1124 }, 1125 "private": { 1126 "type": "boolean" 1127 } 1128 }, 1129 "type": "object", 1130 "required": [ 1131 "name", 1132 "version", 1133 "author", 1134 "homepage", 1135 "description", 1136 "url", 1137 "private" 1138 ] 1139 }, 1140 "NpmPackageLockJSONMetadata": { 1141 "properties": { 1142 "resolved": { 1143 "type": "string" 1144 }, 1145 "integrity": { 1146 "type": "string" 1147 } 1148 }, 1149 "type": "object", 1150 "required": [ 1151 "resolved", 1152 "integrity" 1153 ] 1154 }, 1155 "Package": { 1156 "properties": { 1157 "id": { 1158 "type": "string" 1159 }, 1160 "name": { 1161 "type": "string" 1162 }, 1163 "version": { 1164 "type": "string" 1165 }, 1166 "type": { 1167 "type": "string" 1168 }, 1169 "foundBy": { 1170 "type": "string" 1171 }, 1172 "locations": { 1173 "items": { 1174 "$ref": "#/$defs/Location" 1175 }, 1176 "type": "array" 1177 }, 1178 "licenses": { 1179 "$ref": "#/$defs/licenses" 1180 }, 1181 "language": { 1182 "type": "string" 1183 }, 1184 "cpes": { 1185 "items": { 1186 "type": "string" 1187 }, 1188 "type": "array" 1189 }, 1190 "purl": { 1191 "type": "string" 1192 }, 1193 "metadataType": { 1194 "type": "string" 1195 }, 1196 "metadata": { 1197 "anyOf": [ 1198 { 1199 "type": "null" 1200 }, 1201 { 1202 "$ref": "#/$defs/AlpmMetadata" 1203 }, 1204 { 1205 "$ref": "#/$defs/ApkMetadata" 1206 }, 1207 { 1208 "$ref": "#/$defs/BinaryMetadata" 1209 }, 1210 { 1211 "$ref": "#/$defs/CargoPackageMetadata" 1212 }, 1213 { 1214 "$ref": "#/$defs/CocoapodsMetadata" 1215 }, 1216 { 1217 "$ref": "#/$defs/ConanLockMetadata" 1218 }, 1219 { 1220 "$ref": "#/$defs/ConanMetadata" 1221 }, 1222 { 1223 "$ref": "#/$defs/DartPubMetadata" 1224 }, 1225 { 1226 "$ref": "#/$defs/DotnetDepsMetadata" 1227 }, 1228 { 1229 "$ref": "#/$defs/DotnetPortableExecutableMetadata" 1230 }, 1231 { 1232 "$ref": "#/$defs/DpkgMetadata" 1233 }, 1234 { 1235 "$ref": "#/$defs/GemMetadata" 1236 }, 1237 { 1238 "$ref": "#/$defs/GolangBinMetadata" 1239 }, 1240 { 1241 "$ref": "#/$defs/GolangModMetadata" 1242 }, 1243 { 1244 "$ref": "#/$defs/HackageMetadata" 1245 }, 1246 { 1247 "$ref": "#/$defs/JavaMetadata" 1248 }, 1249 { 1250 "$ref": "#/$defs/KbPackageMetadata" 1251 }, 1252 { 1253 "$ref": "#/$defs/LinuxKernelMetadata" 1254 }, 1255 { 1256 "$ref": "#/$defs/LinuxKernelModuleMetadata" 1257 }, 1258 { 1259 "$ref": "#/$defs/MixLockMetadata" 1260 }, 1261 { 1262 "$ref": "#/$defs/NixStoreMetadata" 1263 }, 1264 { 1265 "$ref": "#/$defs/NpmPackageJSONMetadata" 1266 }, 1267 { 1268 "$ref": "#/$defs/NpmPackageLockJSONMetadata" 1269 }, 1270 { 1271 "$ref": "#/$defs/PhpComposerJSONMetadata" 1272 }, 1273 { 1274 "$ref": "#/$defs/PortageMetadata" 1275 }, 1276 { 1277 "$ref": "#/$defs/PythonPackageMetadata" 1278 }, 1279 { 1280 "$ref": "#/$defs/PythonPipfileLockMetadata" 1281 }, 1282 { 1283 "$ref": "#/$defs/PythonRequirementsMetadata" 1284 }, 1285 { 1286 "$ref": "#/$defs/RDescriptionFileMetadata" 1287 }, 1288 { 1289 "$ref": "#/$defs/RebarLockMetadata" 1290 }, 1291 { 1292 "$ref": "#/$defs/RpmMetadata" 1293 }, 1294 { 1295 "$ref": "#/$defs/SwiftPackageManagerMetadata" 1296 } 1297 ] 1298 } 1299 }, 1300 "type": "object", 1301 "required": [ 1302 "id", 1303 "name", 1304 "version", 1305 "type", 1306 "foundBy", 1307 "locations", 1308 "licenses", 1309 "language", 1310 "cpes", 1311 "purl" 1312 ] 1313 }, 1314 "PhpComposerAuthors": { 1315 "properties": { 1316 "name": { 1317 "type": "string" 1318 }, 1319 "email": { 1320 "type": "string" 1321 }, 1322 "homepage": { 1323 "type": "string" 1324 } 1325 }, 1326 "type": "object", 1327 "required": [ 1328 "name" 1329 ] 1330 }, 1331 "PhpComposerExternalReference": { 1332 "properties": { 1333 "type": { 1334 "type": "string" 1335 }, 1336 "url": { 1337 "type": "string" 1338 }, 1339 "reference": { 1340 "type": "string" 1341 }, 1342 "shasum": { 1343 "type": "string" 1344 } 1345 }, 1346 "type": "object", 1347 "required": [ 1348 "type", 1349 "url", 1350 "reference" 1351 ] 1352 }, 1353 "PhpComposerJSONMetadata": { 1354 "properties": { 1355 "name": { 1356 "type": "string" 1357 }, 1358 "version": { 1359 "type": "string" 1360 }, 1361 "source": { 1362 "$ref": "#/$defs/PhpComposerExternalReference" 1363 }, 1364 "dist": { 1365 "$ref": "#/$defs/PhpComposerExternalReference" 1366 }, 1367 "require": { 1368 "patternProperties": { 1369 ".*": { 1370 "type": "string" 1371 } 1372 }, 1373 "type": "object" 1374 }, 1375 "provide": { 1376 "patternProperties": { 1377 ".*": { 1378 "type": "string" 1379 } 1380 }, 1381 "type": "object" 1382 }, 1383 "require-dev": { 1384 "patternProperties": { 1385 ".*": { 1386 "type": "string" 1387 } 1388 }, 1389 "type": "object" 1390 }, 1391 "suggest": { 1392 "patternProperties": { 1393 ".*": { 1394 "type": "string" 1395 } 1396 }, 1397 "type": "object" 1398 }, 1399 "license": { 1400 "items": { 1401 "type": "string" 1402 }, 1403 "type": "array" 1404 }, 1405 "type": { 1406 "type": "string" 1407 }, 1408 "notification-url": { 1409 "type": "string" 1410 }, 1411 "bin": { 1412 "items": { 1413 "type": "string" 1414 }, 1415 "type": "array" 1416 }, 1417 "authors": { 1418 "items": { 1419 "$ref": "#/$defs/PhpComposerAuthors" 1420 }, 1421 "type": "array" 1422 }, 1423 "description": { 1424 "type": "string" 1425 }, 1426 "homepage": { 1427 "type": "string" 1428 }, 1429 "keywords": { 1430 "items": { 1431 "type": "string" 1432 }, 1433 "type": "array" 1434 }, 1435 "time": { 1436 "type": "string" 1437 } 1438 }, 1439 "type": "object", 1440 "required": [ 1441 "name", 1442 "version", 1443 "source", 1444 "dist" 1445 ] 1446 }, 1447 "PomParent": { 1448 "properties": { 1449 "groupId": { 1450 "type": "string" 1451 }, 1452 "artifactId": { 1453 "type": "string" 1454 }, 1455 "version": { 1456 "type": "string" 1457 } 1458 }, 1459 "type": "object", 1460 "required": [ 1461 "groupId", 1462 "artifactId", 1463 "version" 1464 ] 1465 }, 1466 "PomProject": { 1467 "properties": { 1468 "path": { 1469 "type": "string" 1470 }, 1471 "parent": { 1472 "$ref": "#/$defs/PomParent" 1473 }, 1474 "groupId": { 1475 "type": "string" 1476 }, 1477 "artifactId": { 1478 "type": "string" 1479 }, 1480 "version": { 1481 "type": "string" 1482 }, 1483 "name": { 1484 "type": "string" 1485 }, 1486 "description": { 1487 "type": "string" 1488 }, 1489 "url": { 1490 "type": "string" 1491 } 1492 }, 1493 "type": "object", 1494 "required": [ 1495 "path", 1496 "groupId", 1497 "artifactId", 1498 "version", 1499 "name" 1500 ] 1501 }, 1502 "PomProperties": { 1503 "properties": { 1504 "path": { 1505 "type": "string" 1506 }, 1507 "name": { 1508 "type": "string" 1509 }, 1510 "groupId": { 1511 "type": "string" 1512 }, 1513 "artifactId": { 1514 "type": "string" 1515 }, 1516 "version": { 1517 "type": "string" 1518 }, 1519 "scope": { 1520 "type": "string" 1521 }, 1522 "extraFields": { 1523 "patternProperties": { 1524 ".*": { 1525 "type": "string" 1526 } 1527 }, 1528 "type": "object" 1529 } 1530 }, 1531 "type": "object", 1532 "required": [ 1533 "path", 1534 "name", 1535 "groupId", 1536 "artifactId", 1537 "version" 1538 ] 1539 }, 1540 "PortageFileRecord": { 1541 "properties": { 1542 "path": { 1543 "type": "string" 1544 }, 1545 "digest": { 1546 "$ref": "#/$defs/Digest" 1547 } 1548 }, 1549 "type": "object", 1550 "required": [ 1551 "path" 1552 ] 1553 }, 1554 "PortageMetadata": { 1555 "properties": { 1556 "installedSize": { 1557 "type": "integer" 1558 }, 1559 "files": { 1560 "items": { 1561 "$ref": "#/$defs/PortageFileRecord" 1562 }, 1563 "type": "array" 1564 } 1565 }, 1566 "type": "object", 1567 "required": [ 1568 "installedSize", 1569 "files" 1570 ] 1571 }, 1572 "PythonDirectURLOriginInfo": { 1573 "properties": { 1574 "url": { 1575 "type": "string" 1576 }, 1577 "commitId": { 1578 "type": "string" 1579 }, 1580 "vcs": { 1581 "type": "string" 1582 } 1583 }, 1584 "type": "object", 1585 "required": [ 1586 "url" 1587 ] 1588 }, 1589 "PythonFileDigest": { 1590 "properties": { 1591 "algorithm": { 1592 "type": "string" 1593 }, 1594 "value": { 1595 "type": "string" 1596 } 1597 }, 1598 "type": "object", 1599 "required": [ 1600 "algorithm", 1601 "value" 1602 ] 1603 }, 1604 "PythonFileRecord": { 1605 "properties": { 1606 "path": { 1607 "type": "string" 1608 }, 1609 "digest": { 1610 "$ref": "#/$defs/PythonFileDigest" 1611 }, 1612 "size": { 1613 "type": "string" 1614 } 1615 }, 1616 "type": "object", 1617 "required": [ 1618 "path" 1619 ] 1620 }, 1621 "PythonPackageMetadata": { 1622 "properties": { 1623 "name": { 1624 "type": "string" 1625 }, 1626 "version": { 1627 "type": "string" 1628 }, 1629 "author": { 1630 "type": "string" 1631 }, 1632 "authorEmail": { 1633 "type": "string" 1634 }, 1635 "platform": { 1636 "type": "string" 1637 }, 1638 "files": { 1639 "items": { 1640 "$ref": "#/$defs/PythonFileRecord" 1641 }, 1642 "type": "array" 1643 }, 1644 "sitePackagesRootPath": { 1645 "type": "string" 1646 }, 1647 "topLevelPackages": { 1648 "items": { 1649 "type": "string" 1650 }, 1651 "type": "array" 1652 }, 1653 "directUrlOrigin": { 1654 "$ref": "#/$defs/PythonDirectURLOriginInfo" 1655 } 1656 }, 1657 "type": "object", 1658 "required": [ 1659 "name", 1660 "version", 1661 "author", 1662 "authorEmail", 1663 "platform", 1664 "sitePackagesRootPath" 1665 ] 1666 }, 1667 "PythonPipfileLockMetadata": { 1668 "properties": { 1669 "hashes": { 1670 "items": { 1671 "type": "string" 1672 }, 1673 "type": "array" 1674 }, 1675 "index": { 1676 "type": "string" 1677 } 1678 }, 1679 "type": "object", 1680 "required": [ 1681 "hashes", 1682 "index" 1683 ] 1684 }, 1685 "PythonRequirementsMetadata": { 1686 "properties": { 1687 "name": { 1688 "type": "string" 1689 }, 1690 "extras": { 1691 "items": { 1692 "type": "string" 1693 }, 1694 "type": "array" 1695 }, 1696 "versionConstraint": { 1697 "type": "string" 1698 }, 1699 "url": { 1700 "type": "string" 1701 }, 1702 "markers": { 1703 "type": "string" 1704 } 1705 }, 1706 "type": "object", 1707 "required": [ 1708 "name", 1709 "versionConstraint" 1710 ] 1711 }, 1712 "RDescriptionFileMetadata": { 1713 "properties": { 1714 "title": { 1715 "type": "string" 1716 }, 1717 "description": { 1718 "type": "string" 1719 }, 1720 "author": { 1721 "type": "string" 1722 }, 1723 "maintainer": { 1724 "type": "string" 1725 }, 1726 "url": { 1727 "items": { 1728 "type": "string" 1729 }, 1730 "type": "array" 1731 }, 1732 "repository": { 1733 "type": "string" 1734 }, 1735 "built": { 1736 "type": "string" 1737 }, 1738 "needsCompilation": { 1739 "type": "boolean" 1740 }, 1741 "imports": { 1742 "items": { 1743 "type": "string" 1744 }, 1745 "type": "array" 1746 }, 1747 "depends": { 1748 "items": { 1749 "type": "string" 1750 }, 1751 "type": "array" 1752 }, 1753 "suggests": { 1754 "items": { 1755 "type": "string" 1756 }, 1757 "type": "array" 1758 } 1759 }, 1760 "type": "object" 1761 }, 1762 "RebarLockMetadata": { 1763 "properties": { 1764 "name": { 1765 "type": "string" 1766 }, 1767 "version": { 1768 "type": "string" 1769 }, 1770 "pkgHash": { 1771 "type": "string" 1772 }, 1773 "pkgHashExt": { 1774 "type": "string" 1775 } 1776 }, 1777 "type": "object", 1778 "required": [ 1779 "name", 1780 "version", 1781 "pkgHash", 1782 "pkgHashExt" 1783 ] 1784 }, 1785 "Relationship": { 1786 "properties": { 1787 "parent": { 1788 "type": "string" 1789 }, 1790 "child": { 1791 "type": "string" 1792 }, 1793 "type": { 1794 "type": "string" 1795 }, 1796 "metadata": true 1797 }, 1798 "type": "object", 1799 "required": [ 1800 "parent", 1801 "child", 1802 "type" 1803 ] 1804 }, 1805 "RpmMetadata": { 1806 "properties": { 1807 "name": { 1808 "type": "string" 1809 }, 1810 "version": { 1811 "type": "string" 1812 }, 1813 "epoch": { 1814 "oneOf": [ 1815 { 1816 "type": "integer" 1817 }, 1818 { 1819 "type": "null" 1820 } 1821 ] 1822 }, 1823 "architecture": { 1824 "type": "string" 1825 }, 1826 "release": { 1827 "type": "string" 1828 }, 1829 "sourceRpm": { 1830 "type": "string" 1831 }, 1832 "size": { 1833 "type": "integer" 1834 }, 1835 "vendor": { 1836 "type": "string" 1837 }, 1838 "modularityLabel": { 1839 "type": "string" 1840 }, 1841 "files": { 1842 "items": { 1843 "$ref": "#/$defs/RpmdbFileRecord" 1844 }, 1845 "type": "array" 1846 } 1847 }, 1848 "type": "object", 1849 "required": [ 1850 "name", 1851 "version", 1852 "epoch", 1853 "architecture", 1854 "release", 1855 "sourceRpm", 1856 "size", 1857 "vendor", 1858 "modularityLabel", 1859 "files" 1860 ] 1861 }, 1862 "RpmdbFileRecord": { 1863 "properties": { 1864 "path": { 1865 "type": "string" 1866 }, 1867 "mode": { 1868 "type": "integer" 1869 }, 1870 "size": { 1871 "type": "integer" 1872 }, 1873 "digest": { 1874 "$ref": "#/$defs/Digest" 1875 }, 1876 "userName": { 1877 "type": "string" 1878 }, 1879 "groupName": { 1880 "type": "string" 1881 }, 1882 "flags": { 1883 "type": "string" 1884 } 1885 }, 1886 "type": "object", 1887 "required": [ 1888 "path", 1889 "mode", 1890 "size", 1891 "digest", 1892 "userName", 1893 "groupName", 1894 "flags" 1895 ] 1896 }, 1897 "Schema": { 1898 "properties": { 1899 "version": { 1900 "type": "string" 1901 }, 1902 "url": { 1903 "type": "string" 1904 } 1905 }, 1906 "type": "object", 1907 "required": [ 1908 "version", 1909 "url" 1910 ] 1911 }, 1912 "SearchResult": { 1913 "properties": { 1914 "classification": { 1915 "type": "string" 1916 }, 1917 "lineNumber": { 1918 "type": "integer" 1919 }, 1920 "lineOffset": { 1921 "type": "integer" 1922 }, 1923 "seekPosition": { 1924 "type": "integer" 1925 }, 1926 "length": { 1927 "type": "integer" 1928 }, 1929 "value": { 1930 "type": "string" 1931 } 1932 }, 1933 "type": "object", 1934 "required": [ 1935 "classification", 1936 "lineNumber", 1937 "lineOffset", 1938 "seekPosition", 1939 "length" 1940 ] 1941 }, 1942 "Secrets": { 1943 "properties": { 1944 "location": { 1945 "$ref": "#/$defs/Coordinates" 1946 }, 1947 "secrets": { 1948 "items": { 1949 "$ref": "#/$defs/SearchResult" 1950 }, 1951 "type": "array" 1952 } 1953 }, 1954 "type": "object", 1955 "required": [ 1956 "location", 1957 "secrets" 1958 ] 1959 }, 1960 "Source": { 1961 "properties": { 1962 "id": { 1963 "type": "string" 1964 }, 1965 "name": { 1966 "type": "string" 1967 }, 1968 "version": { 1969 "type": "string" 1970 }, 1971 "type": { 1972 "type": "string" 1973 }, 1974 "metadata": true 1975 }, 1976 "type": "object", 1977 "required": [ 1978 "id", 1979 "name", 1980 "version", 1981 "type", 1982 "metadata" 1983 ] 1984 }, 1985 "SwiftPackageManagerMetadata": { 1986 "properties": { 1987 "revision": { 1988 "type": "string" 1989 } 1990 }, 1991 "type": "object", 1992 "required": [ 1993 "revision" 1994 ] 1995 }, 1996 "licenses": { 1997 "items": { 1998 "$ref": "#/$defs/License" 1999 }, 2000 "type": "array" 2001 } 2002 } 2003 }