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