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