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