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