github.com/lineaje-labs/syft@v0.98.1-0.20231227153149-9e393f60ff1b/schema/json/schema-6.1.0.json (about) 1 { 2 "$schema": "https://json-schema.org/draft/2020-12/schema", 3 "$id": "https://github.com/anchore/syft/syft/formats/syftjson/model/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 "license": { 63 "type": "string" 64 }, 65 "url": { 66 "type": "string" 67 }, 68 "validation": { 69 "type": "string" 70 }, 71 "reason": { 72 "type": "integer" 73 }, 74 "files": { 75 "items": { 76 "$ref": "#/$defs/AlpmFileRecord" 77 }, 78 "type": "array" 79 }, 80 "backup": { 81 "items": { 82 "$ref": "#/$defs/AlpmFileRecord" 83 }, 84 "type": "array" 85 } 86 }, 87 "type": "object", 88 "required": [ 89 "basepackage", 90 "package", 91 "version", 92 "description", 93 "architecture", 94 "size", 95 "packager", 96 "license", 97 "url", 98 "validation", 99 "reason", 100 "files", 101 "backup" 102 ] 103 }, 104 "ApkFileRecord": { 105 "properties": { 106 "path": { 107 "type": "string" 108 }, 109 "ownerUid": { 110 "type": "string" 111 }, 112 "ownerGid": { 113 "type": "string" 114 }, 115 "permissions": { 116 "type": "string" 117 }, 118 "digest": { 119 "$ref": "#/$defs/Digest" 120 } 121 }, 122 "type": "object", 123 "required": [ 124 "path" 125 ] 126 }, 127 "ApkMetadata": { 128 "properties": { 129 "package": { 130 "type": "string" 131 }, 132 "originPackage": { 133 "type": "string" 134 }, 135 "maintainer": { 136 "type": "string" 137 }, 138 "version": { 139 "type": "string" 140 }, 141 "license": { 142 "type": "string" 143 }, 144 "architecture": { 145 "type": "string" 146 }, 147 "url": { 148 "type": "string" 149 }, 150 "description": { 151 "type": "string" 152 }, 153 "size": { 154 "type": "integer" 155 }, 156 "installedSize": { 157 "type": "integer" 158 }, 159 "pullDependencies": { 160 "items": { 161 "type": "string" 162 }, 163 "type": "array" 164 }, 165 "provides": { 166 "items": { 167 "type": "string" 168 }, 169 "type": "array" 170 }, 171 "pullChecksum": { 172 "type": "string" 173 }, 174 "gitCommitOfApkPort": { 175 "type": "string" 176 }, 177 "files": { 178 "items": { 179 "$ref": "#/$defs/ApkFileRecord" 180 }, 181 "type": "array" 182 } 183 }, 184 "type": "object", 185 "required": [ 186 "package", 187 "originPackage", 188 "maintainer", 189 "version", 190 "license", 191 "architecture", 192 "url", 193 "description", 194 "size", 195 "installedSize", 196 "pullDependencies", 197 "provides", 198 "pullChecksum", 199 "gitCommitOfApkPort", 200 "files" 201 ] 202 }, 203 "BinaryMetadata": { 204 "properties": { 205 "classifier": { 206 "type": "string" 207 }, 208 "realPath": { 209 "type": "string" 210 }, 211 "virtualPath": { 212 "type": "string" 213 } 214 }, 215 "type": "object", 216 "required": [ 217 "classifier", 218 "realPath", 219 "virtualPath" 220 ] 221 }, 222 "CargoPackageMetadata": { 223 "properties": { 224 "name": { 225 "type": "string" 226 }, 227 "version": { 228 "type": "string" 229 }, 230 "source": { 231 "type": "string" 232 }, 233 "checksum": { 234 "type": "string" 235 }, 236 "dependencies": { 237 "items": { 238 "type": "string" 239 }, 240 "type": "array" 241 } 242 }, 243 "type": "object", 244 "required": [ 245 "name", 246 "version", 247 "source", 248 "checksum", 249 "dependencies" 250 ] 251 }, 252 "CocoapodsMetadata": { 253 "properties": { 254 "checksum": { 255 "type": "string" 256 } 257 }, 258 "type": "object", 259 "required": [ 260 "checksum" 261 ] 262 }, 263 "ConanLockMetadata": { 264 "properties": { 265 "ref": { 266 "type": "string" 267 }, 268 "package_id": { 269 "type": "string" 270 }, 271 "prev": { 272 "type": "string" 273 }, 274 "requires": { 275 "type": "string" 276 }, 277 "build_requires": { 278 "type": "string" 279 }, 280 "py_requires": { 281 "type": "string" 282 }, 283 "options": { 284 "patternProperties": { 285 ".*": { 286 "type": "string" 287 } 288 }, 289 "type": "object" 290 }, 291 "path": { 292 "type": "string" 293 }, 294 "context": { 295 "type": "string" 296 } 297 }, 298 "type": "object", 299 "required": [ 300 "ref" 301 ] 302 }, 303 "ConanMetadata": { 304 "properties": { 305 "ref": { 306 "type": "string" 307 } 308 }, 309 "type": "object", 310 "required": [ 311 "ref" 312 ] 313 }, 314 "Coordinates": { 315 "properties": { 316 "path": { 317 "type": "string" 318 }, 319 "layerID": { 320 "type": "string" 321 } 322 }, 323 "type": "object", 324 "required": [ 325 "path" 326 ] 327 }, 328 "DartPubMetadata": { 329 "properties": { 330 "name": { 331 "type": "string" 332 }, 333 "version": { 334 "type": "string" 335 }, 336 "hosted_url": { 337 "type": "string" 338 }, 339 "vcs_url": { 340 "type": "string" 341 } 342 }, 343 "type": "object", 344 "required": [ 345 "name", 346 "version" 347 ] 348 }, 349 "Descriptor": { 350 "properties": { 351 "name": { 352 "type": "string" 353 }, 354 "version": { 355 "type": "string" 356 }, 357 "configuration": true 358 }, 359 "type": "object", 360 "required": [ 361 "name", 362 "version" 363 ] 364 }, 365 "Digest": { 366 "properties": { 367 "algorithm": { 368 "type": "string" 369 }, 370 "value": { 371 "type": "string" 372 } 373 }, 374 "type": "object", 375 "required": [ 376 "algorithm", 377 "value" 378 ] 379 }, 380 "Document": { 381 "properties": { 382 "artifacts": { 383 "items": { 384 "$ref": "#/$defs/Package" 385 }, 386 "type": "array" 387 }, 388 "artifactRelationships": { 389 "items": { 390 "$ref": "#/$defs/Relationship" 391 }, 392 "type": "array" 393 }, 394 "files": { 395 "items": { 396 "$ref": "#/$defs/File" 397 }, 398 "type": "array" 399 }, 400 "secrets": { 401 "items": { 402 "$ref": "#/$defs/Secrets" 403 }, 404 "type": "array" 405 }, 406 "source": { 407 "$ref": "#/$defs/Source" 408 }, 409 "distro": { 410 "$ref": "#/$defs/LinuxRelease" 411 }, 412 "descriptor": { 413 "$ref": "#/$defs/Descriptor" 414 }, 415 "schema": { 416 "$ref": "#/$defs/Schema" 417 } 418 }, 419 "type": "object", 420 "required": [ 421 "artifacts", 422 "artifactRelationships", 423 "source", 424 "distro", 425 "descriptor", 426 "schema" 427 ] 428 }, 429 "DotnetDepsMetadata": { 430 "properties": { 431 "name": { 432 "type": "string" 433 }, 434 "version": { 435 "type": "string" 436 }, 437 "path": { 438 "type": "string" 439 }, 440 "sha512": { 441 "type": "string" 442 }, 443 "hashPath": { 444 "type": "string" 445 } 446 }, 447 "type": "object", 448 "required": [ 449 "name", 450 "version", 451 "path", 452 "sha512", 453 "hashPath" 454 ] 455 }, 456 "DpkgFileRecord": { 457 "properties": { 458 "path": { 459 "type": "string" 460 }, 461 "digest": { 462 "$ref": "#/$defs/Digest" 463 }, 464 "isConfigFile": { 465 "type": "boolean" 466 } 467 }, 468 "type": "object", 469 "required": [ 470 "path", 471 "isConfigFile" 472 ] 473 }, 474 "DpkgMetadata": { 475 "properties": { 476 "package": { 477 "type": "string" 478 }, 479 "source": { 480 "type": "string" 481 }, 482 "version": { 483 "type": "string" 484 }, 485 "sourceVersion": { 486 "type": "string" 487 }, 488 "architecture": { 489 "type": "string" 490 }, 491 "maintainer": { 492 "type": "string" 493 }, 494 "installedSize": { 495 "type": "integer" 496 }, 497 "files": { 498 "items": { 499 "$ref": "#/$defs/DpkgFileRecord" 500 }, 501 "type": "array" 502 } 503 }, 504 "type": "object", 505 "required": [ 506 "package", 507 "source", 508 "version", 509 "sourceVersion", 510 "architecture", 511 "maintainer", 512 "installedSize", 513 "files" 514 ] 515 }, 516 "File": { 517 "properties": { 518 "id": { 519 "type": "string" 520 }, 521 "location": { 522 "$ref": "#/$defs/Coordinates" 523 }, 524 "metadata": { 525 "$ref": "#/$defs/FileMetadataEntry" 526 }, 527 "contents": { 528 "type": "string" 529 }, 530 "digests": { 531 "items": { 532 "$ref": "#/$defs/Digest" 533 }, 534 "type": "array" 535 } 536 }, 537 "type": "object", 538 "required": [ 539 "id", 540 "location" 541 ] 542 }, 543 "FileMetadataEntry": { 544 "properties": { 545 "mode": { 546 "type": "integer" 547 }, 548 "type": { 549 "type": "string" 550 }, 551 "linkDestination": { 552 "type": "string" 553 }, 554 "userID": { 555 "type": "integer" 556 }, 557 "groupID": { 558 "type": "integer" 559 }, 560 "mimeType": { 561 "type": "string" 562 } 563 }, 564 "type": "object", 565 "required": [ 566 "mode", 567 "type", 568 "userID", 569 "groupID", 570 "mimeType" 571 ] 572 }, 573 "GemMetadata": { 574 "properties": { 575 "name": { 576 "type": "string" 577 }, 578 "version": { 579 "type": "string" 580 }, 581 "files": { 582 "items": { 583 "type": "string" 584 }, 585 "type": "array" 586 }, 587 "authors": { 588 "items": { 589 "type": "string" 590 }, 591 "type": "array" 592 }, 593 "licenses": { 594 "items": { 595 "type": "string" 596 }, 597 "type": "array" 598 }, 599 "homepage": { 600 "type": "string" 601 } 602 }, 603 "type": "object", 604 "required": [ 605 "name", 606 "version" 607 ] 608 }, 609 "GolangMetadata": { 610 "properties": { 611 "goBuildSettings": { 612 "patternProperties": { 613 ".*": { 614 "type": "string" 615 } 616 }, 617 "type": "object" 618 }, 619 "goCompiledVersion": { 620 "type": "string" 621 }, 622 "architecture": { 623 "type": "string" 624 }, 625 "h1Digest": { 626 "type": "string" 627 }, 628 "mainModule": { 629 "type": "string" 630 } 631 }, 632 "type": "object", 633 "required": [ 634 "goCompiledVersion", 635 "architecture" 636 ] 637 }, 638 "HackageMetadata": { 639 "properties": { 640 "name": { 641 "type": "string" 642 }, 643 "version": { 644 "type": "string" 645 }, 646 "pkgHash": { 647 "type": "string" 648 }, 649 "snapshotURL": { 650 "type": "string" 651 } 652 }, 653 "type": "object", 654 "required": [ 655 "name", 656 "version" 657 ] 658 }, 659 "IDLikes": { 660 "items": { 661 "type": "string" 662 }, 663 "type": "array" 664 }, 665 "JavaManifest": { 666 "properties": { 667 "main": { 668 "patternProperties": { 669 ".*": { 670 "type": "string" 671 } 672 }, 673 "type": "object" 674 }, 675 "namedSections": { 676 "patternProperties": { 677 ".*": { 678 "patternProperties": { 679 ".*": { 680 "type": "string" 681 } 682 }, 683 "type": "object" 684 } 685 }, 686 "type": "object" 687 } 688 }, 689 "type": "object" 690 }, 691 "JavaMetadata": { 692 "properties": { 693 "virtualPath": { 694 "type": "string" 695 }, 696 "manifest": { 697 "$ref": "#/$defs/JavaManifest" 698 }, 699 "pomProperties": { 700 "$ref": "#/$defs/PomProperties" 701 }, 702 "pomProject": { 703 "$ref": "#/$defs/PomProject" 704 }, 705 "digest": { 706 "items": { 707 "$ref": "#/$defs/Digest" 708 }, 709 "type": "array" 710 } 711 }, 712 "type": "object", 713 "required": [ 714 "virtualPath" 715 ] 716 }, 717 "KbPackageMetadata": { 718 "properties": { 719 "product_id": { 720 "type": "string" 721 }, 722 "kb": { 723 "type": "string" 724 } 725 }, 726 "type": "object", 727 "required": [ 728 "product_id", 729 "kb" 730 ] 731 }, 732 "LinuxRelease": { 733 "properties": { 734 "prettyName": { 735 "type": "string" 736 }, 737 "name": { 738 "type": "string" 739 }, 740 "id": { 741 "type": "string" 742 }, 743 "idLike": { 744 "$ref": "#/$defs/IDLikes" 745 }, 746 "version": { 747 "type": "string" 748 }, 749 "versionID": { 750 "type": "string" 751 }, 752 "versionCodename": { 753 "type": "string" 754 }, 755 "buildID": { 756 "type": "string" 757 }, 758 "imageID": { 759 "type": "string" 760 }, 761 "imageVersion": { 762 "type": "string" 763 }, 764 "variant": { 765 "type": "string" 766 }, 767 "variantID": { 768 "type": "string" 769 }, 770 "homeURL": { 771 "type": "string" 772 }, 773 "supportURL": { 774 "type": "string" 775 }, 776 "bugReportURL": { 777 "type": "string" 778 }, 779 "privacyPolicyURL": { 780 "type": "string" 781 }, 782 "cpeName": { 783 "type": "string" 784 } 785 }, 786 "type": "object" 787 }, 788 "MixLockMetadata": { 789 "properties": { 790 "name": { 791 "type": "string" 792 }, 793 "version": { 794 "type": "string" 795 }, 796 "pkgHash": { 797 "type": "string" 798 }, 799 "pkgHashExt": { 800 "type": "string" 801 } 802 }, 803 "type": "object", 804 "required": [ 805 "name", 806 "version", 807 "pkgHash", 808 "pkgHashExt" 809 ] 810 }, 811 "NpmPackageJSONMetadata": { 812 "properties": { 813 "name": { 814 "type": "string" 815 }, 816 "version": { 817 "type": "string" 818 }, 819 "files": { 820 "items": { 821 "type": "string" 822 }, 823 "type": "array" 824 }, 825 "author": { 826 "type": "string" 827 }, 828 "licenses": { 829 "items": { 830 "type": "string" 831 }, 832 "type": "array" 833 }, 834 "homepage": { 835 "type": "string" 836 }, 837 "description": { 838 "type": "string" 839 }, 840 "url": { 841 "type": "string" 842 }, 843 "private": { 844 "type": "boolean" 845 } 846 }, 847 "type": "object", 848 "required": [ 849 "name", 850 "version", 851 "author", 852 "licenses", 853 "homepage", 854 "description", 855 "url", 856 "private" 857 ] 858 }, 859 "NpmPackageLockJSONMetadata": { 860 "properties": { 861 "resolved": { 862 "type": "string" 863 }, 864 "integrity": { 865 "type": "string" 866 } 867 }, 868 "type": "object", 869 "required": [ 870 "resolved", 871 "integrity" 872 ] 873 }, 874 "Package": { 875 "properties": { 876 "id": { 877 "type": "string" 878 }, 879 "name": { 880 "type": "string" 881 }, 882 "version": { 883 "type": "string" 884 }, 885 "type": { 886 "type": "string" 887 }, 888 "foundBy": { 889 "type": "string" 890 }, 891 "locations": { 892 "items": { 893 "$ref": "#/$defs/Coordinates" 894 }, 895 "type": "array" 896 }, 897 "licenses": { 898 "items": { 899 "type": "string" 900 }, 901 "type": "array" 902 }, 903 "language": { 904 "type": "string" 905 }, 906 "cpes": { 907 "items": { 908 "type": "string" 909 }, 910 "type": "array" 911 }, 912 "purl": { 913 "type": "string" 914 }, 915 "metadataType": { 916 "type": "string" 917 }, 918 "metadata": { 919 "anyOf": [ 920 { 921 "type": "null" 922 }, 923 { 924 "$ref": "#/$defs/AlpmMetadata" 925 }, 926 { 927 "$ref": "#/$defs/ApkMetadata" 928 }, 929 { 930 "$ref": "#/$defs/BinaryMetadata" 931 }, 932 { 933 "$ref": "#/$defs/CargoPackageMetadata" 934 }, 935 { 936 "$ref": "#/$defs/CocoapodsMetadata" 937 }, 938 { 939 "$ref": "#/$defs/ConanLockMetadata" 940 }, 941 { 942 "$ref": "#/$defs/ConanMetadata" 943 }, 944 { 945 "$ref": "#/$defs/DartPubMetadata" 946 }, 947 { 948 "$ref": "#/$defs/DotnetDepsMetadata" 949 }, 950 { 951 "$ref": "#/$defs/DpkgMetadata" 952 }, 953 { 954 "$ref": "#/$defs/GemMetadata" 955 }, 956 { 957 "$ref": "#/$defs/GolangMetadata" 958 }, 959 { 960 "$ref": "#/$defs/HackageMetadata" 961 }, 962 { 963 "$ref": "#/$defs/JavaMetadata" 964 }, 965 { 966 "$ref": "#/$defs/KbPackageMetadata" 967 }, 968 { 969 "$ref": "#/$defs/MixLockMetadata" 970 }, 971 { 972 "$ref": "#/$defs/NpmPackageJSONMetadata" 973 }, 974 { 975 "$ref": "#/$defs/NpmPackageLockJSONMetadata" 976 }, 977 { 978 "$ref": "#/$defs/PhpComposerJSONMetadata" 979 }, 980 { 981 "$ref": "#/$defs/PortageMetadata" 982 }, 983 { 984 "$ref": "#/$defs/PythonPackageMetadata" 985 }, 986 { 987 "$ref": "#/$defs/PythonPipfileLockMetadata" 988 }, 989 { 990 "$ref": "#/$defs/RebarLockMetadata" 991 }, 992 { 993 "$ref": "#/$defs/RpmMetadata" 994 } 995 ] 996 } 997 }, 998 "type": "object", 999 "required": [ 1000 "id", 1001 "name", 1002 "version", 1003 "type", 1004 "foundBy", 1005 "locations", 1006 "licenses", 1007 "language", 1008 "cpes", 1009 "purl" 1010 ] 1011 }, 1012 "PhpComposerAuthors": { 1013 "properties": { 1014 "name": { 1015 "type": "string" 1016 }, 1017 "email": { 1018 "type": "string" 1019 }, 1020 "homepage": { 1021 "type": "string" 1022 } 1023 }, 1024 "type": "object", 1025 "required": [ 1026 "name" 1027 ] 1028 }, 1029 "PhpComposerExternalReference": { 1030 "properties": { 1031 "type": { 1032 "type": "string" 1033 }, 1034 "url": { 1035 "type": "string" 1036 }, 1037 "reference": { 1038 "type": "string" 1039 }, 1040 "shasum": { 1041 "type": "string" 1042 } 1043 }, 1044 "type": "object", 1045 "required": [ 1046 "type", 1047 "url", 1048 "reference" 1049 ] 1050 }, 1051 "PhpComposerJSONMetadata": { 1052 "properties": { 1053 "name": { 1054 "type": "string" 1055 }, 1056 "version": { 1057 "type": "string" 1058 }, 1059 "source": { 1060 "$ref": "#/$defs/PhpComposerExternalReference" 1061 }, 1062 "dist": { 1063 "$ref": "#/$defs/PhpComposerExternalReference" 1064 }, 1065 "require": { 1066 "patternProperties": { 1067 ".*": { 1068 "type": "string" 1069 } 1070 }, 1071 "type": "object" 1072 }, 1073 "provide": { 1074 "patternProperties": { 1075 ".*": { 1076 "type": "string" 1077 } 1078 }, 1079 "type": "object" 1080 }, 1081 "require-dev": { 1082 "patternProperties": { 1083 ".*": { 1084 "type": "string" 1085 } 1086 }, 1087 "type": "object" 1088 }, 1089 "suggest": { 1090 "patternProperties": { 1091 ".*": { 1092 "type": "string" 1093 } 1094 }, 1095 "type": "object" 1096 }, 1097 "type": { 1098 "type": "string" 1099 }, 1100 "notification-url": { 1101 "type": "string" 1102 }, 1103 "bin": { 1104 "items": { 1105 "type": "string" 1106 }, 1107 "type": "array" 1108 }, 1109 "license": { 1110 "items": { 1111 "type": "string" 1112 }, 1113 "type": "array" 1114 }, 1115 "authors": { 1116 "items": { 1117 "$ref": "#/$defs/PhpComposerAuthors" 1118 }, 1119 "type": "array" 1120 }, 1121 "description": { 1122 "type": "string" 1123 }, 1124 "homepage": { 1125 "type": "string" 1126 }, 1127 "keywords": { 1128 "items": { 1129 "type": "string" 1130 }, 1131 "type": "array" 1132 }, 1133 "time": { 1134 "type": "string" 1135 } 1136 }, 1137 "type": "object", 1138 "required": [ 1139 "name", 1140 "version", 1141 "source", 1142 "dist" 1143 ] 1144 }, 1145 "PomParent": { 1146 "properties": { 1147 "groupId": { 1148 "type": "string" 1149 }, 1150 "artifactId": { 1151 "type": "string" 1152 }, 1153 "version": { 1154 "type": "string" 1155 } 1156 }, 1157 "type": "object", 1158 "required": [ 1159 "groupId", 1160 "artifactId", 1161 "version" 1162 ] 1163 }, 1164 "PomProject": { 1165 "properties": { 1166 "path": { 1167 "type": "string" 1168 }, 1169 "parent": { 1170 "$ref": "#/$defs/PomParent" 1171 }, 1172 "groupId": { 1173 "type": "string" 1174 }, 1175 "artifactId": { 1176 "type": "string" 1177 }, 1178 "version": { 1179 "type": "string" 1180 }, 1181 "name": { 1182 "type": "string" 1183 }, 1184 "description": { 1185 "type": "string" 1186 }, 1187 "url": { 1188 "type": "string" 1189 } 1190 }, 1191 "type": "object", 1192 "required": [ 1193 "path", 1194 "groupId", 1195 "artifactId", 1196 "version", 1197 "name" 1198 ] 1199 }, 1200 "PomProperties": { 1201 "properties": { 1202 "path": { 1203 "type": "string" 1204 }, 1205 "name": { 1206 "type": "string" 1207 }, 1208 "groupId": { 1209 "type": "string" 1210 }, 1211 "artifactId": { 1212 "type": "string" 1213 }, 1214 "version": { 1215 "type": "string" 1216 }, 1217 "extraFields": { 1218 "patternProperties": { 1219 ".*": { 1220 "type": "string" 1221 } 1222 }, 1223 "type": "object" 1224 } 1225 }, 1226 "type": "object", 1227 "required": [ 1228 "path", 1229 "name", 1230 "groupId", 1231 "artifactId", 1232 "version" 1233 ] 1234 }, 1235 "PortageFileRecord": { 1236 "properties": { 1237 "path": { 1238 "type": "string" 1239 }, 1240 "digest": { 1241 "$ref": "#/$defs/Digest" 1242 } 1243 }, 1244 "type": "object", 1245 "required": [ 1246 "path" 1247 ] 1248 }, 1249 "PortageMetadata": { 1250 "properties": { 1251 "installedSize": { 1252 "type": "integer" 1253 }, 1254 "files": { 1255 "items": { 1256 "$ref": "#/$defs/PortageFileRecord" 1257 }, 1258 "type": "array" 1259 } 1260 }, 1261 "type": "object", 1262 "required": [ 1263 "installedSize", 1264 "files" 1265 ] 1266 }, 1267 "PythonDirectURLOriginInfo": { 1268 "properties": { 1269 "url": { 1270 "type": "string" 1271 }, 1272 "commitId": { 1273 "type": "string" 1274 }, 1275 "vcs": { 1276 "type": "string" 1277 } 1278 }, 1279 "type": "object", 1280 "required": [ 1281 "url" 1282 ] 1283 }, 1284 "PythonFileDigest": { 1285 "properties": { 1286 "algorithm": { 1287 "type": "string" 1288 }, 1289 "value": { 1290 "type": "string" 1291 } 1292 }, 1293 "type": "object", 1294 "required": [ 1295 "algorithm", 1296 "value" 1297 ] 1298 }, 1299 "PythonFileRecord": { 1300 "properties": { 1301 "path": { 1302 "type": "string" 1303 }, 1304 "digest": { 1305 "$ref": "#/$defs/PythonFileDigest" 1306 }, 1307 "size": { 1308 "type": "string" 1309 } 1310 }, 1311 "type": "object", 1312 "required": [ 1313 "path" 1314 ] 1315 }, 1316 "PythonPackageMetadata": { 1317 "properties": { 1318 "name": { 1319 "type": "string" 1320 }, 1321 "version": { 1322 "type": "string" 1323 }, 1324 "license": { 1325 "type": "string" 1326 }, 1327 "author": { 1328 "type": "string" 1329 }, 1330 "authorEmail": { 1331 "type": "string" 1332 }, 1333 "platform": { 1334 "type": "string" 1335 }, 1336 "files": { 1337 "items": { 1338 "$ref": "#/$defs/PythonFileRecord" 1339 }, 1340 "type": "array" 1341 }, 1342 "sitePackagesRootPath": { 1343 "type": "string" 1344 }, 1345 "topLevelPackages": { 1346 "items": { 1347 "type": "string" 1348 }, 1349 "type": "array" 1350 }, 1351 "directUrlOrigin": { 1352 "$ref": "#/$defs/PythonDirectURLOriginInfo" 1353 } 1354 }, 1355 "type": "object", 1356 "required": [ 1357 "name", 1358 "version", 1359 "license", 1360 "author", 1361 "authorEmail", 1362 "platform", 1363 "sitePackagesRootPath" 1364 ] 1365 }, 1366 "PythonPipfileLockMetadata": { 1367 "properties": { 1368 "hashes": { 1369 "items": { 1370 "type": "string" 1371 }, 1372 "type": "array" 1373 }, 1374 "index": { 1375 "type": "string" 1376 } 1377 }, 1378 "type": "object", 1379 "required": [ 1380 "hashes", 1381 "index" 1382 ] 1383 }, 1384 "RebarLockMetadata": { 1385 "properties": { 1386 "name": { 1387 "type": "string" 1388 }, 1389 "version": { 1390 "type": "string" 1391 }, 1392 "pkgHash": { 1393 "type": "string" 1394 }, 1395 "pkgHashExt": { 1396 "type": "string" 1397 } 1398 }, 1399 "type": "object", 1400 "required": [ 1401 "name", 1402 "version", 1403 "pkgHash", 1404 "pkgHashExt" 1405 ] 1406 }, 1407 "Relationship": { 1408 "properties": { 1409 "parent": { 1410 "type": "string" 1411 }, 1412 "child": { 1413 "type": "string" 1414 }, 1415 "type": { 1416 "type": "string" 1417 }, 1418 "metadata": true 1419 }, 1420 "type": "object", 1421 "required": [ 1422 "parent", 1423 "child", 1424 "type" 1425 ] 1426 }, 1427 "RpmMetadata": { 1428 "properties": { 1429 "name": { 1430 "type": "string" 1431 }, 1432 "version": { 1433 "type": "string" 1434 }, 1435 "epoch": { 1436 "oneOf": [ 1437 { 1438 "type": "integer" 1439 }, 1440 { 1441 "type": "null" 1442 } 1443 ] 1444 }, 1445 "architecture": { 1446 "type": "string" 1447 }, 1448 "release": { 1449 "type": "string" 1450 }, 1451 "sourceRpm": { 1452 "type": "string" 1453 }, 1454 "size": { 1455 "type": "integer" 1456 }, 1457 "license": { 1458 "type": "string" 1459 }, 1460 "vendor": { 1461 "type": "string" 1462 }, 1463 "modularityLabel": { 1464 "type": "string" 1465 }, 1466 "files": { 1467 "items": { 1468 "$ref": "#/$defs/RpmdbFileRecord" 1469 }, 1470 "type": "array" 1471 } 1472 }, 1473 "type": "object", 1474 "required": [ 1475 "name", 1476 "version", 1477 "epoch", 1478 "architecture", 1479 "release", 1480 "sourceRpm", 1481 "size", 1482 "license", 1483 "vendor", 1484 "modularityLabel", 1485 "files" 1486 ] 1487 }, 1488 "RpmdbFileRecord": { 1489 "properties": { 1490 "path": { 1491 "type": "string" 1492 }, 1493 "mode": { 1494 "type": "integer" 1495 }, 1496 "size": { 1497 "type": "integer" 1498 }, 1499 "digest": { 1500 "$ref": "#/$defs/Digest" 1501 }, 1502 "userName": { 1503 "type": "string" 1504 }, 1505 "groupName": { 1506 "type": "string" 1507 }, 1508 "flags": { 1509 "type": "string" 1510 } 1511 }, 1512 "type": "object", 1513 "required": [ 1514 "path", 1515 "mode", 1516 "size", 1517 "digest", 1518 "userName", 1519 "groupName", 1520 "flags" 1521 ] 1522 }, 1523 "Schema": { 1524 "properties": { 1525 "version": { 1526 "type": "string" 1527 }, 1528 "url": { 1529 "type": "string" 1530 } 1531 }, 1532 "type": "object", 1533 "required": [ 1534 "version", 1535 "url" 1536 ] 1537 }, 1538 "SearchResult": { 1539 "properties": { 1540 "classification": { 1541 "type": "string" 1542 }, 1543 "lineNumber": { 1544 "type": "integer" 1545 }, 1546 "lineOffset": { 1547 "type": "integer" 1548 }, 1549 "seekPosition": { 1550 "type": "integer" 1551 }, 1552 "length": { 1553 "type": "integer" 1554 }, 1555 "value": { 1556 "type": "string" 1557 } 1558 }, 1559 "type": "object", 1560 "required": [ 1561 "classification", 1562 "lineNumber", 1563 "lineOffset", 1564 "seekPosition", 1565 "length" 1566 ] 1567 }, 1568 "Secrets": { 1569 "properties": { 1570 "location": { 1571 "$ref": "#/$defs/Coordinates" 1572 }, 1573 "secrets": { 1574 "items": { 1575 "$ref": "#/$defs/SearchResult" 1576 }, 1577 "type": "array" 1578 } 1579 }, 1580 "type": "object", 1581 "required": [ 1582 "location", 1583 "secrets" 1584 ] 1585 }, 1586 "Source": { 1587 "properties": { 1588 "id": { 1589 "type": "string" 1590 }, 1591 "type": { 1592 "type": "string" 1593 }, 1594 "target": true 1595 }, 1596 "type": "object", 1597 "required": [ 1598 "id", 1599 "type", 1600 "target" 1601 ] 1602 } 1603 } 1604 }