github.com/noqcks/syft@v0.0.0-20230920222752-a9e2c4e288e5/schema/json/schema-3.2.4.json (about) 1 { 2 "$schema": "http://json-schema.org/draft-04/schema#", 3 "$ref": "#/definitions/Document", 4 "definitions": { 5 "ApkFileRecord": { 6 "required": [ 7 "path" 8 ], 9 "properties": { 10 "path": { 11 "type": "string" 12 }, 13 "ownerUid": { 14 "type": "string" 15 }, 16 "ownerGid": { 17 "type": "string" 18 }, 19 "permissions": { 20 "type": "string" 21 }, 22 "digest": { 23 "$schema": "http://json-schema.org/draft-04/schema#", 24 "$ref": "#/definitions/Digest" 25 } 26 }, 27 "additionalProperties": true, 28 "type": "object" 29 }, 30 "ApkMetadata": { 31 "required": [ 32 "package", 33 "originPackage", 34 "maintainer", 35 "version", 36 "license", 37 "architecture", 38 "url", 39 "description", 40 "size", 41 "installedSize", 42 "pullDependencies", 43 "pullChecksum", 44 "gitCommitOfApkPort", 45 "files" 46 ], 47 "properties": { 48 "package": { 49 "type": "string" 50 }, 51 "originPackage": { 52 "type": "string" 53 }, 54 "maintainer": { 55 "type": "string" 56 }, 57 "version": { 58 "type": "string" 59 }, 60 "license": { 61 "type": "string" 62 }, 63 "architecture": { 64 "type": "string" 65 }, 66 "url": { 67 "type": "string" 68 }, 69 "description": { 70 "type": "string" 71 }, 72 "size": { 73 "type": "integer" 74 }, 75 "installedSize": { 76 "type": "integer" 77 }, 78 "pullDependencies": { 79 "type": "string" 80 }, 81 "pullChecksum": { 82 "type": "string" 83 }, 84 "gitCommitOfApkPort": { 85 "type": "string" 86 }, 87 "files": { 88 "items": { 89 "$schema": "http://json-schema.org/draft-04/schema#", 90 "$ref": "#/definitions/ApkFileRecord" 91 }, 92 "type": "array" 93 } 94 }, 95 "additionalProperties": true, 96 "type": "object" 97 }, 98 "CargoPackageMetadata": { 99 "required": [ 100 "name", 101 "version", 102 "source", 103 "checksum", 104 "dependencies" 105 ], 106 "properties": { 107 "name": { 108 "type": "string" 109 }, 110 "version": { 111 "type": "string" 112 }, 113 "source": { 114 "type": "string" 115 }, 116 "checksum": { 117 "type": "string" 118 }, 119 "dependencies": { 120 "items": { 121 "type": "string" 122 }, 123 "type": "array" 124 } 125 }, 126 "additionalProperties": true, 127 "type": "object" 128 }, 129 "Classification": { 130 "required": [ 131 "class", 132 "metadata" 133 ], 134 "properties": { 135 "class": { 136 "type": "string" 137 }, 138 "metadata": { 139 "patternProperties": { 140 ".*": { 141 "type": "string" 142 } 143 }, 144 "type": "object" 145 } 146 }, 147 "additionalProperties": true, 148 "type": "object" 149 }, 150 "Coordinates": { 151 "required": [ 152 "path" 153 ], 154 "properties": { 155 "path": { 156 "type": "string" 157 }, 158 "layerID": { 159 "type": "string" 160 } 161 }, 162 "additionalProperties": true, 163 "type": "object" 164 }, 165 "DartPubMetadata": { 166 "required": [ 167 "name", 168 "version" 169 ], 170 "properties": { 171 "name": { 172 "type": "string" 173 }, 174 "version": { 175 "type": "string" 176 }, 177 "hosted_url": { 178 "type": "string" 179 }, 180 "vcs_url": { 181 "type": "string" 182 } 183 }, 184 "additionalProperties": true, 185 "type": "object" 186 }, 187 "Descriptor": { 188 "required": [ 189 "name", 190 "version" 191 ], 192 "properties": { 193 "name": { 194 "type": "string" 195 }, 196 "version": { 197 "type": "string" 198 }, 199 "configuration": { 200 "additionalProperties": true 201 } 202 }, 203 "additionalProperties": true, 204 "type": "object" 205 }, 206 "Digest": { 207 "required": [ 208 "algorithm", 209 "value" 210 ], 211 "properties": { 212 "algorithm": { 213 "type": "string" 214 }, 215 "value": { 216 "type": "string" 217 } 218 }, 219 "additionalProperties": true, 220 "type": "object" 221 }, 222 "Document": { 223 "required": [ 224 "artifacts", 225 "artifactRelationships", 226 "source", 227 "distro", 228 "descriptor", 229 "schema" 230 ], 231 "properties": { 232 "artifacts": { 233 "items": { 234 "$schema": "http://json-schema.org/draft-04/schema#", 235 "$ref": "#/definitions/Package" 236 }, 237 "type": "array" 238 }, 239 "artifactRelationships": { 240 "items": { 241 "$schema": "http://json-schema.org/draft-04/schema#", 242 "$ref": "#/definitions/Relationship" 243 }, 244 "type": "array" 245 }, 246 "files": { 247 "items": { 248 "$schema": "http://json-schema.org/draft-04/schema#", 249 "$ref": "#/definitions/File" 250 }, 251 "type": "array" 252 }, 253 "secrets": { 254 "items": { 255 "$schema": "http://json-schema.org/draft-04/schema#", 256 "$ref": "#/definitions/Secrets" 257 }, 258 "type": "array" 259 }, 260 "source": { 261 "$schema": "http://json-schema.org/draft-04/schema#", 262 "$ref": "#/definitions/Source" 263 }, 264 "distro": { 265 "$schema": "http://json-schema.org/draft-04/schema#", 266 "$ref": "#/definitions/LinuxRelease" 267 }, 268 "descriptor": { 269 "$schema": "http://json-schema.org/draft-04/schema#", 270 "$ref": "#/definitions/Descriptor" 271 }, 272 "schema": { 273 "$schema": "http://json-schema.org/draft-04/schema#", 274 "$ref": "#/definitions/Schema" 275 } 276 }, 277 "additionalProperties": true, 278 "type": "object" 279 }, 280 "DotnetDepsMetadata": { 281 "required": [ 282 "name", 283 "version", 284 "path", 285 "sha512", 286 "hashPath" 287 ], 288 "properties": { 289 "name": { 290 "type": "string" 291 }, 292 "version": { 293 "type": "string" 294 }, 295 "path": { 296 "type": "string" 297 }, 298 "sha512": { 299 "type": "string" 300 }, 301 "hashPath": { 302 "type": "string" 303 } 304 }, 305 "additionalProperties": true, 306 "type": "object" 307 }, 308 "DpkgFileRecord": { 309 "required": [ 310 "path", 311 "isConfigFile" 312 ], 313 "properties": { 314 "path": { 315 "type": "string" 316 }, 317 "digest": { 318 "$ref": "#/definitions/Digest" 319 }, 320 "isConfigFile": { 321 "type": "boolean" 322 } 323 }, 324 "additionalProperties": true, 325 "type": "object" 326 }, 327 "DpkgMetadata": { 328 "required": [ 329 "package", 330 "source", 331 "version", 332 "sourceVersion", 333 "architecture", 334 "maintainer", 335 "installedSize", 336 "files" 337 ], 338 "properties": { 339 "package": { 340 "type": "string" 341 }, 342 "source": { 343 "type": "string" 344 }, 345 "version": { 346 "type": "string" 347 }, 348 "sourceVersion": { 349 "type": "string" 350 }, 351 "architecture": { 352 "type": "string" 353 }, 354 "maintainer": { 355 "type": "string" 356 }, 357 "installedSize": { 358 "type": "integer" 359 }, 360 "files": { 361 "items": { 362 "$schema": "http://json-schema.org/draft-04/schema#", 363 "$ref": "#/definitions/DpkgFileRecord" 364 }, 365 "type": "array" 366 } 367 }, 368 "additionalProperties": true, 369 "type": "object" 370 }, 371 "File": { 372 "required": [ 373 "id", 374 "location" 375 ], 376 "properties": { 377 "id": { 378 "type": "string" 379 }, 380 "location": { 381 "$ref": "#/definitions/Coordinates" 382 }, 383 "metadata": { 384 "$schema": "http://json-schema.org/draft-04/schema#", 385 "$ref": "#/definitions/FileMetadataEntry" 386 }, 387 "contents": { 388 "type": "string" 389 }, 390 "digests": { 391 "items": { 392 "$schema": "http://json-schema.org/draft-04/schema#", 393 "$ref": "#/definitions/Digest" 394 }, 395 "type": "array" 396 }, 397 "classifications": { 398 "items": { 399 "$schema": "http://json-schema.org/draft-04/schema#", 400 "$ref": "#/definitions/Classification" 401 }, 402 "type": "array" 403 } 404 }, 405 "additionalProperties": true, 406 "type": "object" 407 }, 408 "FileMetadataEntry": { 409 "required": [ 410 "mode", 411 "type", 412 "userID", 413 "groupID", 414 "mimeType" 415 ], 416 "properties": { 417 "mode": { 418 "type": "integer" 419 }, 420 "type": { 421 "type": "string" 422 }, 423 "linkDestination": { 424 "type": "string" 425 }, 426 "userID": { 427 "type": "integer" 428 }, 429 "groupID": { 430 "type": "integer" 431 }, 432 "mimeType": { 433 "type": "string" 434 } 435 }, 436 "additionalProperties": true, 437 "type": "object" 438 }, 439 "GemMetadata": { 440 "required": [ 441 "name", 442 "version" 443 ], 444 "properties": { 445 "name": { 446 "type": "string" 447 }, 448 "version": { 449 "type": "string" 450 }, 451 "files": { 452 "items": { 453 "type": "string" 454 }, 455 "type": "array" 456 }, 457 "authors": { 458 "items": { 459 "type": "string" 460 }, 461 "type": "array" 462 }, 463 "licenses": { 464 "items": { 465 "type": "string" 466 }, 467 "type": "array" 468 }, 469 "homepage": { 470 "type": "string" 471 } 472 }, 473 "additionalProperties": true, 474 "type": "object" 475 }, 476 "GolangBinMetadata": { 477 "required": [ 478 "goCompiledVersion", 479 "architecture" 480 ], 481 "properties": { 482 "goBuildSettings": { 483 "patternProperties": { 484 ".*": { 485 "type": "string" 486 } 487 }, 488 "type": "object" 489 }, 490 "goCompiledVersion": { 491 "type": "string" 492 }, 493 "architecture": { 494 "type": "string" 495 }, 496 "h1Digest": { 497 "type": "string" 498 }, 499 "mainModule": { 500 "type": "string" 501 } 502 }, 503 "additionalProperties": true, 504 "type": "object" 505 }, 506 "JavaManifest": { 507 "properties": { 508 "main": { 509 "patternProperties": { 510 ".*": { 511 "type": "string" 512 } 513 }, 514 "type": "object" 515 }, 516 "namedSections": { 517 "patternProperties": { 518 ".*": { 519 "patternProperties": { 520 ".*": { 521 "type": "string" 522 } 523 }, 524 "type": "object" 525 } 526 }, 527 "type": "object" 528 } 529 }, 530 "additionalProperties": true, 531 "type": "object" 532 }, 533 "JavaMetadata": { 534 "required": [ 535 "virtualPath" 536 ], 537 "properties": { 538 "virtualPath": { 539 "type": "string" 540 }, 541 "manifest": { 542 "$schema": "http://json-schema.org/draft-04/schema#", 543 "$ref": "#/definitions/JavaManifest" 544 }, 545 "pomProperties": { 546 "$schema": "http://json-schema.org/draft-04/schema#", 547 "$ref": "#/definitions/PomProperties" 548 }, 549 "pomProject": { 550 "$schema": "http://json-schema.org/draft-04/schema#", 551 "$ref": "#/definitions/PomProject" 552 }, 553 "digest": { 554 "items": { 555 "$ref": "#/definitions/Digest" 556 }, 557 "type": "array" 558 } 559 }, 560 "additionalProperties": true, 561 "type": "object" 562 }, 563 "LinuxRelease": { 564 "properties": { 565 "prettyName": { 566 "type": "string" 567 }, 568 "name": { 569 "type": "string" 570 }, 571 "id": { 572 "type": "string" 573 }, 574 "idLike": { 575 "items": { 576 "type": "string" 577 }, 578 "type": "array" 579 }, 580 "version": { 581 "type": "string" 582 }, 583 "versionID": { 584 "type": "string" 585 }, 586 "variant": { 587 "type": "string" 588 }, 589 "variantID": { 590 "type": "string" 591 }, 592 "homeURL": { 593 "type": "string" 594 }, 595 "supportURL": { 596 "type": "string" 597 }, 598 "bugReportURL": { 599 "type": "string" 600 }, 601 "privacyPolicyURL": { 602 "type": "string" 603 }, 604 "cpeName": { 605 "type": "string" 606 } 607 }, 608 "additionalProperties": true, 609 "type": "object" 610 }, 611 "NpmPackageJSONMetadata": { 612 "required": [ 613 "name", 614 "version", 615 "author", 616 "licenses", 617 "homepage", 618 "description", 619 "url" 620 ], 621 "properties": { 622 "name": { 623 "type": "string" 624 }, 625 "version": { 626 "type": "string" 627 }, 628 "files": { 629 "items": { 630 "type": "string" 631 }, 632 "type": "array" 633 }, 634 "author": { 635 "type": "string" 636 }, 637 "licenses": { 638 "items": { 639 "type": "string" 640 }, 641 "type": "array" 642 }, 643 "homepage": { 644 "type": "string" 645 }, 646 "description": { 647 "type": "string" 648 }, 649 "url": { 650 "type": "string" 651 } 652 }, 653 "additionalProperties": true, 654 "type": "object" 655 }, 656 "Package": { 657 "required": [ 658 "id", 659 "name", 660 "version", 661 "type", 662 "foundBy", 663 "locations", 664 "licenses", 665 "language", 666 "cpes", 667 "purl" 668 ], 669 "properties": { 670 "id": { 671 "type": "string" 672 }, 673 "name": { 674 "type": "string" 675 }, 676 "version": { 677 "type": "string" 678 }, 679 "type": { 680 "type": "string" 681 }, 682 "foundBy": { 683 "type": "string" 684 }, 685 "locations": { 686 "items": { 687 "$schema": "http://json-schema.org/draft-04/schema#", 688 "$ref": "#/definitions/Coordinates" 689 }, 690 "type": "array" 691 }, 692 "licenses": { 693 "items": { 694 "type": "string" 695 }, 696 "type": "array" 697 }, 698 "language": { 699 "type": "string" 700 }, 701 "cpes": { 702 "items": { 703 "type": "string" 704 }, 705 "type": "array" 706 }, 707 "purl": { 708 "type": "string" 709 }, 710 "metadataType": { 711 "type": "string" 712 }, 713 "metadata": { 714 "anyOf": [ 715 { 716 "type": "null" 717 }, 718 { 719 "$ref": "#/definitions/ApkMetadata" 720 }, 721 { 722 "$ref": "#/definitions/CargoPackageMetadata" 723 }, 724 { 725 "$ref": "#/definitions/DartPubMetadata" 726 }, 727 { 728 "$ref": "#/definitions/DotnetDepsMetadata" 729 }, 730 { 731 "$ref": "#/definitions/DpkgMetadata" 732 }, 733 { 734 "$ref": "#/definitions/GemMetadata" 735 }, 736 { 737 "$ref": "#/definitions/GolangBinMetadata" 738 }, 739 { 740 "$ref": "#/definitions/JavaMetadata" 741 }, 742 { 743 "$ref": "#/definitions/NpmPackageJSONMetadata" 744 }, 745 { 746 "$ref": "#/definitions/PhpComposerJSONMetadata" 747 }, 748 { 749 "$ref": "#/definitions/PythonPackageMetadata" 750 }, 751 { 752 "$ref": "#/definitions/RpmdbMetadata" 753 } 754 ] 755 } 756 }, 757 "additionalProperties": true, 758 "type": "object" 759 }, 760 "PhpComposerAuthors": { 761 "required": [ 762 "name" 763 ], 764 "properties": { 765 "name": { 766 "type": "string" 767 }, 768 "email": { 769 "type": "string" 770 }, 771 "homepage": { 772 "type": "string" 773 } 774 }, 775 "additionalProperties": true, 776 "type": "object" 777 }, 778 "PhpComposerExternalReference": { 779 "required": [ 780 "type", 781 "url", 782 "reference" 783 ], 784 "properties": { 785 "type": { 786 "type": "string" 787 }, 788 "url": { 789 "type": "string" 790 }, 791 "reference": { 792 "type": "string" 793 }, 794 "shasum": { 795 "type": "string" 796 } 797 }, 798 "additionalProperties": true, 799 "type": "object" 800 }, 801 "PhpComposerJSONMetadata": { 802 "required": [ 803 "name", 804 "version", 805 "source", 806 "dist" 807 ], 808 "properties": { 809 "name": { 810 "type": "string" 811 }, 812 "version": { 813 "type": "string" 814 }, 815 "source": { 816 "$schema": "http://json-schema.org/draft-04/schema#", 817 "$ref": "#/definitions/PhpComposerExternalReference" 818 }, 819 "dist": { 820 "$ref": "#/definitions/PhpComposerExternalReference" 821 }, 822 "require": { 823 "patternProperties": { 824 ".*": { 825 "type": "string" 826 } 827 }, 828 "type": "object" 829 }, 830 "provide": { 831 "patternProperties": { 832 ".*": { 833 "type": "string" 834 } 835 }, 836 "type": "object" 837 }, 838 "require-dev": { 839 "patternProperties": { 840 ".*": { 841 "type": "string" 842 } 843 }, 844 "type": "object" 845 }, 846 "suggest": { 847 "patternProperties": { 848 ".*": { 849 "type": "string" 850 } 851 }, 852 "type": "object" 853 }, 854 "type": { 855 "type": "string" 856 }, 857 "notification-url": { 858 "type": "string" 859 }, 860 "bin": { 861 "items": { 862 "type": "string" 863 }, 864 "type": "array" 865 }, 866 "license": { 867 "items": { 868 "type": "string" 869 }, 870 "type": "array" 871 }, 872 "authors": { 873 "items": { 874 "$schema": "http://json-schema.org/draft-04/schema#", 875 "$ref": "#/definitions/PhpComposerAuthors" 876 }, 877 "type": "array" 878 }, 879 "description": { 880 "type": "string" 881 }, 882 "homepage": { 883 "type": "string" 884 }, 885 "keywords": { 886 "items": { 887 "type": "string" 888 }, 889 "type": "array" 890 }, 891 "time": { 892 "type": "string" 893 } 894 }, 895 "additionalProperties": true, 896 "type": "object" 897 }, 898 "PomParent": { 899 "required": [ 900 "groupId", 901 "artifactId", 902 "version" 903 ], 904 "properties": { 905 "groupId": { 906 "type": "string" 907 }, 908 "artifactId": { 909 "type": "string" 910 }, 911 "version": { 912 "type": "string" 913 } 914 }, 915 "additionalProperties": true, 916 "type": "object" 917 }, 918 "PomProject": { 919 "required": [ 920 "path", 921 "groupId", 922 "artifactId", 923 "version", 924 "name" 925 ], 926 "properties": { 927 "path": { 928 "type": "string" 929 }, 930 "parent": { 931 "$schema": "http://json-schema.org/draft-04/schema#", 932 "$ref": "#/definitions/PomParent" 933 }, 934 "groupId": { 935 "type": "string" 936 }, 937 "artifactId": { 938 "type": "string" 939 }, 940 "version": { 941 "type": "string" 942 }, 943 "name": { 944 "type": "string" 945 }, 946 "description": { 947 "type": "string" 948 }, 949 "url": { 950 "type": "string" 951 } 952 }, 953 "additionalProperties": true, 954 "type": "object" 955 }, 956 "PomProperties": { 957 "required": [ 958 "path", 959 "name", 960 "groupId", 961 "artifactId", 962 "version", 963 "extraFields" 964 ], 965 "properties": { 966 "path": { 967 "type": "string" 968 }, 969 "name": { 970 "type": "string" 971 }, 972 "groupId": { 973 "type": "string" 974 }, 975 "artifactId": { 976 "type": "string" 977 }, 978 "version": { 979 "type": "string" 980 }, 981 "extraFields": { 982 "patternProperties": { 983 ".*": { 984 "type": "string" 985 } 986 }, 987 "type": "object" 988 } 989 }, 990 "additionalProperties": true, 991 "type": "object" 992 }, 993 "PythonDirectURLOriginInfo": { 994 "required": [ 995 "url" 996 ], 997 "properties": { 998 "url": { 999 "type": "string" 1000 }, 1001 "commitId": { 1002 "type": "string" 1003 }, 1004 "vcs": { 1005 "type": "string" 1006 } 1007 }, 1008 "additionalProperties": true, 1009 "type": "object" 1010 }, 1011 "PythonFileDigest": { 1012 "required": [ 1013 "algorithm", 1014 "value" 1015 ], 1016 "properties": { 1017 "algorithm": { 1018 "type": "string" 1019 }, 1020 "value": { 1021 "type": "string" 1022 } 1023 }, 1024 "additionalProperties": true, 1025 "type": "object" 1026 }, 1027 "PythonFileRecord": { 1028 "required": [ 1029 "path" 1030 ], 1031 "properties": { 1032 "path": { 1033 "type": "string" 1034 }, 1035 "digest": { 1036 "$schema": "http://json-schema.org/draft-04/schema#", 1037 "$ref": "#/definitions/PythonFileDigest" 1038 }, 1039 "size": { 1040 "type": "string" 1041 } 1042 }, 1043 "additionalProperties": true, 1044 "type": "object" 1045 }, 1046 "PythonPackageMetadata": { 1047 "required": [ 1048 "name", 1049 "version", 1050 "license", 1051 "author", 1052 "authorEmail", 1053 "platform", 1054 "sitePackagesRootPath" 1055 ], 1056 "properties": { 1057 "name": { 1058 "type": "string" 1059 }, 1060 "version": { 1061 "type": "string" 1062 }, 1063 "license": { 1064 "type": "string" 1065 }, 1066 "author": { 1067 "type": "string" 1068 }, 1069 "authorEmail": { 1070 "type": "string" 1071 }, 1072 "platform": { 1073 "type": "string" 1074 }, 1075 "files": { 1076 "items": { 1077 "$schema": "http://json-schema.org/draft-04/schema#", 1078 "$ref": "#/definitions/PythonFileRecord" 1079 }, 1080 "type": "array" 1081 }, 1082 "sitePackagesRootPath": { 1083 "type": "string" 1084 }, 1085 "topLevelPackages": { 1086 "items": { 1087 "type": "string" 1088 }, 1089 "type": "array" 1090 }, 1091 "directUrlOrigin": { 1092 "$schema": "http://json-schema.org/draft-04/schema#", 1093 "$ref": "#/definitions/PythonDirectURLOriginInfo" 1094 } 1095 }, 1096 "additionalProperties": true, 1097 "type": "object" 1098 }, 1099 "Relationship": { 1100 "required": [ 1101 "parent", 1102 "child", 1103 "type" 1104 ], 1105 "properties": { 1106 "parent": { 1107 "type": "string" 1108 }, 1109 "child": { 1110 "type": "string" 1111 }, 1112 "type": { 1113 "type": "string" 1114 }, 1115 "metadata": { 1116 "additionalProperties": true 1117 } 1118 }, 1119 "additionalProperties": true, 1120 "type": "object" 1121 }, 1122 "RpmdbFileRecord": { 1123 "required": [ 1124 "path", 1125 "mode", 1126 "size", 1127 "digest", 1128 "userName", 1129 "groupName", 1130 "flags" 1131 ], 1132 "properties": { 1133 "path": { 1134 "type": "string" 1135 }, 1136 "mode": { 1137 "type": "integer" 1138 }, 1139 "size": { 1140 "type": "integer" 1141 }, 1142 "digest": { 1143 "$ref": "#/definitions/Digest" 1144 }, 1145 "userName": { 1146 "type": "string" 1147 }, 1148 "groupName": { 1149 "type": "string" 1150 }, 1151 "flags": { 1152 "type": "string" 1153 } 1154 }, 1155 "additionalProperties": true, 1156 "type": "object" 1157 }, 1158 "RpmdbMetadata": { 1159 "required": [ 1160 "name", 1161 "version", 1162 "epoch", 1163 "architecture", 1164 "release", 1165 "sourceRpm", 1166 "size", 1167 "license", 1168 "vendor", 1169 "files" 1170 ], 1171 "properties": { 1172 "name": { 1173 "type": "string" 1174 }, 1175 "version": { 1176 "type": "string" 1177 }, 1178 "epoch": { 1179 "oneOf": [ 1180 { 1181 "type": "integer" 1182 }, 1183 { 1184 "type": "null" 1185 } 1186 ] 1187 }, 1188 "architecture": { 1189 "type": "string" 1190 }, 1191 "release": { 1192 "type": "string" 1193 }, 1194 "sourceRpm": { 1195 "type": "string" 1196 }, 1197 "size": { 1198 "type": "integer" 1199 }, 1200 "license": { 1201 "type": "string" 1202 }, 1203 "vendor": { 1204 "type": "string" 1205 }, 1206 "files": { 1207 "items": { 1208 "$schema": "http://json-schema.org/draft-04/schema#", 1209 "$ref": "#/definitions/RpmdbFileRecord" 1210 }, 1211 "type": "array" 1212 } 1213 }, 1214 "additionalProperties": true, 1215 "type": "object" 1216 }, 1217 "Schema": { 1218 "required": [ 1219 "version", 1220 "url" 1221 ], 1222 "properties": { 1223 "version": { 1224 "type": "string" 1225 }, 1226 "url": { 1227 "type": "string" 1228 } 1229 }, 1230 "additionalProperties": true, 1231 "type": "object" 1232 }, 1233 "SearchResult": { 1234 "required": [ 1235 "classification", 1236 "lineNumber", 1237 "lineOffset", 1238 "seekPosition", 1239 "length" 1240 ], 1241 "properties": { 1242 "classification": { 1243 "type": "string" 1244 }, 1245 "lineNumber": { 1246 "type": "integer" 1247 }, 1248 "lineOffset": { 1249 "type": "integer" 1250 }, 1251 "seekPosition": { 1252 "type": "integer" 1253 }, 1254 "length": { 1255 "type": "integer" 1256 }, 1257 "value": { 1258 "type": "string" 1259 } 1260 }, 1261 "additionalProperties": true, 1262 "type": "object" 1263 }, 1264 "Secrets": { 1265 "required": [ 1266 "location", 1267 "secrets" 1268 ], 1269 "properties": { 1270 "location": { 1271 "$ref": "#/definitions/Coordinates" 1272 }, 1273 "secrets": { 1274 "items": { 1275 "$schema": "http://json-schema.org/draft-04/schema#", 1276 "$ref": "#/definitions/SearchResult" 1277 }, 1278 "type": "array" 1279 } 1280 }, 1281 "additionalProperties": true, 1282 "type": "object" 1283 }, 1284 "Source": { 1285 "required": [ 1286 "type", 1287 "target" 1288 ], 1289 "properties": { 1290 "type": { 1291 "type": "string" 1292 }, 1293 "target": { 1294 "additionalProperties": true 1295 } 1296 }, 1297 "additionalProperties": true, 1298 "type": "object" 1299 } 1300 } 1301 }