|
137 | 137 | "hide": { |
138 | 138 | "$ref": "#/definitions/propertiesObjects/boardIDHide/permissive/object" |
139 | 139 | }, |
| 140 | + "menu": { |
| 141 | + "$ref": "#/definitions/propertiesObjects/boardIDMenu/permissive/object" |
| 142 | + }, |
140 | 143 | "serial.disableDTR": { |
141 | 144 | "$ref": "#/definitions/propertiesObjects/boardIDSerialDisableDTR/permissive/object" |
142 | 145 | }, |
|
165 | 168 | }, |
166 | 169 | { |
167 | 170 | "patternProperties": { |
168 | | - "^menu\\.[^.]+\\.[^.]+$": { |
169 | | - "$ref": "#/definitions/propertiesObjects/boardIDMenuMenuIDOptionID/permissive/object" |
170 | | - }, |
171 | 171 | "^[vp]id\\.[0-9]+$": { |
172 | 172 | "$ref": "#/definitions/propertiesObjects/boardIDXidN/permissive/object" |
173 | 173 | } |
|
202 | 202 | "hide": { |
203 | 203 | "$ref": "#/definitions/propertiesObjects/boardIDHide/specification/object" |
204 | 204 | }, |
| 205 | + "menu": { |
| 206 | + "$ref": "#/definitions/propertiesObjects/boardIDMenu/specification/object" |
| 207 | + }, |
205 | 208 | "serial.disableDTR": { |
206 | 209 | "$ref": "#/definitions/propertiesObjects/boardIDSerialDisableDTR/specification/object" |
207 | 210 | }, |
|
230 | 233 | }, |
231 | 234 | { |
232 | 235 | "patternProperties": { |
233 | | - "^menu\\.[^.]+\\.[^.]+$": { |
234 | | - "$ref": "#/definitions/propertiesObjects/boardIDMenuMenuIDOptionID/specification/object" |
235 | | - }, |
236 | 236 | "^[vp]id\\.[0-9]+$": { |
237 | 237 | "$ref": "#/definitions/propertiesObjects/boardIDXidN/specification/object" |
238 | 238 | } |
|
267 | 267 | "hide": { |
268 | 268 | "$ref": "#/definitions/propertiesObjects/boardIDHide/strict/object" |
269 | 269 | }, |
| 270 | + "menu": { |
| 271 | + "$ref": "#/definitions/propertiesObjects/boardIDMenu/strict/object" |
| 272 | + }, |
270 | 273 | "serial.disableDTR": { |
271 | 274 | "$ref": "#/definitions/propertiesObjects/boardIDSerialDisableDTR/strict/object" |
272 | 275 | }, |
|
295 | 298 | }, |
296 | 299 | { |
297 | 300 | "patternProperties": { |
298 | | - "^menu\\.[^.]+\\.[^.]+$": { |
299 | | - "$ref": "#/definitions/propertiesObjects/boardIDMenuMenuIDOptionID/strict/object" |
300 | | - }, |
301 | 301 | "^[vp]id\\.[0-9]+$": { |
302 | 302 | "$ref": "#/definitions/propertiesObjects/boardIDXidN/strict/object" |
303 | 303 | } |
|
477 | 477 | } |
478 | 478 | } |
479 | 479 | }, |
480 | | - "boardIDMenuMenuIDOptionID": { |
| 480 | + "boardIDMenu": { |
481 | 481 | "base": { |
482 | 482 | "object": { |
483 | 483 | "allOf": [ |
484 | 484 | { |
485 | | - "type": "string" |
| 485 | + "type": "object" |
| 486 | + } |
| 487 | + ] |
| 488 | + } |
| 489 | + }, |
| 490 | + "permissive": { |
| 491 | + "object": { |
| 492 | + "allOf": [ |
| 493 | + { |
| 494 | + "$ref": "#/definitions/propertiesObjects/boardIDMenu/base/object" |
486 | 495 | }, |
487 | 496 | { |
488 | | - "minLength": 1 |
| 497 | + "patternProperties": { |
| 498 | + "^.+$": { |
| 499 | + "$ref": "#/definitions/propertiesObjects/boardIDMenuMenuID/permissive/object" |
| 500 | + } |
| 501 | + } |
| 502 | + } |
| 503 | + ] |
| 504 | + } |
| 505 | + }, |
| 506 | + "specification": { |
| 507 | + "object": { |
| 508 | + "allOf": [ |
| 509 | + { |
| 510 | + "$ref": "#/definitions/propertiesObjects/boardIDMenu/base/object" |
| 511 | + }, |
| 512 | + { |
| 513 | + "patternProperties": { |
| 514 | + "^.+$": { |
| 515 | + "$ref": "#/definitions/propertiesObjects/boardIDMenuMenuID/specification/object" |
| 516 | + } |
| 517 | + } |
| 518 | + } |
| 519 | + ] |
| 520 | + } |
| 521 | + }, |
| 522 | + "strict": { |
| 523 | + "object": { |
| 524 | + "allOf": [ |
| 525 | + { |
| 526 | + "$ref": "#/definitions/propertiesObjects/boardIDMenu/base/object" |
| 527 | + }, |
| 528 | + { |
| 529 | + "patternProperties": { |
| 530 | + ".+": { |
| 531 | + "$ref": "#/definitions/propertiesObjects/boardIDMenuMenuID/strict/object" |
| 532 | + } |
| 533 | + } |
| 534 | + } |
| 535 | + ] |
| 536 | + } |
| 537 | + } |
| 538 | + }, |
| 539 | + "boardIDMenuMenuID": { |
| 540 | + "base": { |
| 541 | + "object": { |
| 542 | + "allOf": [ |
| 543 | + { |
| 544 | + "type": "object" |
| 545 | + } |
| 546 | + ] |
| 547 | + } |
| 548 | + }, |
| 549 | + "permissive": { |
| 550 | + "object": { |
| 551 | + "allOf": [ |
| 552 | + { |
| 553 | + "$ref": "#/definitions/propertiesObjects/boardIDMenuMenuID/base/object" |
| 554 | + }, |
| 555 | + { |
| 556 | + "patternProperties": { |
| 557 | + "^.+$": { |
| 558 | + "$ref": "#/definitions/propertiesObjects/boardIDMenuMenuIDOptionID/permissive/object" |
| 559 | + } |
| 560 | + } |
| 561 | + } |
| 562 | + ] |
| 563 | + } |
| 564 | + }, |
| 565 | + "specification": { |
| 566 | + "object": { |
| 567 | + "allOf": [ |
| 568 | + { |
| 569 | + "$ref": "#/definitions/propertiesObjects/boardIDMenuMenuID/base/object" |
| 570 | + }, |
| 571 | + { |
| 572 | + "patternProperties": { |
| 573 | + "^.+$": { |
| 574 | + "$ref": "#/definitions/propertiesObjects/boardIDMenuMenuIDOptionID/specification/object" |
| 575 | + } |
| 576 | + } |
| 577 | + } |
| 578 | + ] |
| 579 | + } |
| 580 | + }, |
| 581 | + "strict": { |
| 582 | + "object": { |
| 583 | + "allOf": [ |
| 584 | + { |
| 585 | + "$ref": "#/definitions/propertiesObjects/boardIDMenuMenuID/base/object" |
| 586 | + }, |
| 587 | + { |
| 588 | + "patternProperties": { |
| 589 | + ".+": { |
| 590 | + "$ref": "#/definitions/propertiesObjects/boardIDMenuMenuIDOptionID/strict/object" |
| 591 | + } |
| 592 | + } |
| 593 | + } |
| 594 | + ] |
| 595 | + } |
| 596 | + } |
| 597 | + }, |
| 598 | + "boardIDMenuMenuIDOptionID": { |
| 599 | + "base": { |
| 600 | + "object": { |
| 601 | + "allOf": [ |
| 602 | + { |
| 603 | + "type": "object" |
489 | 604 | } |
490 | 605 | ] |
491 | 606 | } |
|
495 | 610 | "allOf": [ |
496 | 611 | { |
497 | 612 | "$ref": "#/definitions/propertiesObjects/boardIDMenuMenuIDOptionID/base/object" |
| 613 | + }, |
| 614 | + { |
| 615 | + "properties": { |
| 616 | + "build.board": { |
| 617 | + "$ref": "#/definitions/propertiesObjects/boardIDBuildBoard/permissive/object" |
| 618 | + }, |
| 619 | + "build.core": { |
| 620 | + "$ref": "#/definitions/propertiesObjects/boardIDBuildCore/permissive/object" |
| 621 | + }, |
| 622 | + "serial.disableDTR": { |
| 623 | + "$ref": "#/definitions/propertiesObjects/boardIDSerialDisableDTR/permissive/object" |
| 624 | + }, |
| 625 | + "serial.disableRTS": { |
| 626 | + "$ref": "#/definitions/propertiesObjects/boardIDSerialDisableRTS/permissive/object" |
| 627 | + }, |
| 628 | + "upload.maximum_size": { |
| 629 | + "$ref": "#/definitions/propertiesObjects/boardIDUploadMaximumSize/permissive/object" |
| 630 | + }, |
| 631 | + "upload.maximum_data_size": { |
| 632 | + "$ref": "#/definitions/propertiesObjects/boardIDUploadMaximumDataSize/permissive/object" |
| 633 | + }, |
| 634 | + "upload.protocol": { |
| 635 | + "$ref": "#/definitions/propertiesObjects/boardIDUploadProtocol/permissive/object" |
| 636 | + }, |
| 637 | + "upload.tool": { |
| 638 | + "$ref": "#/definitions/propertiesObjects/boardIDUploadTool/permissive/object" |
| 639 | + }, |
| 640 | + "upload.use_1200bps_touch": { |
| 641 | + "$ref": "#/definitions/propertiesObjects/boardIDUploadUse1200bpsTouch/permissive/object" |
| 642 | + }, |
| 643 | + "upload.wait_for_upload_port": { |
| 644 | + "$ref": "#/definitions/propertiesObjects/boardIDUploadWaitForUploadPort/permissive/object" |
| 645 | + } |
| 646 | + } |
| 647 | + }, |
| 648 | + { |
| 649 | + "patternProperties": { |
| 650 | + "^[vp]id\\.[0-9]+$": { |
| 651 | + "$ref": "#/definitions/propertiesObjects/boardIDXidN/permissive/object" |
| 652 | + } |
| 653 | + } |
| 654 | + }, |
| 655 | + { |
| 656 | + "$ref": "#/definitions/propertyNamesObjects/permissive/object" |
498 | 657 | } |
499 | 658 | ] |
500 | 659 | } |
|
504 | 663 | "allOf": [ |
505 | 664 | { |
506 | 665 | "$ref": "#/definitions/propertiesObjects/boardIDMenuMenuIDOptionID/base/object" |
| 666 | + }, |
| 667 | + { |
| 668 | + "properties": { |
| 669 | + "build.board": { |
| 670 | + "$ref": "#/definitions/propertiesObjects/boardIDBuildBoard/specification/object" |
| 671 | + }, |
| 672 | + "build.core": { |
| 673 | + "$ref": "#/definitions/propertiesObjects/boardIDBuildCore/specification/object" |
| 674 | + }, |
| 675 | + "serial.disableDTR": { |
| 676 | + "$ref": "#/definitions/propertiesObjects/boardIDSerialDisableDTR/specification/object" |
| 677 | + }, |
| 678 | + "serial.disableRTS": { |
| 679 | + "$ref": "#/definitions/propertiesObjects/boardIDSerialDisableRTS/specification/object" |
| 680 | + }, |
| 681 | + "upload.maximum_size": { |
| 682 | + "$ref": "#/definitions/propertiesObjects/boardIDUploadMaximumSize/specification/object" |
| 683 | + }, |
| 684 | + "upload.maximum_data_size": { |
| 685 | + "$ref": "#/definitions/propertiesObjects/boardIDUploadMaximumDataSize/specification/object" |
| 686 | + }, |
| 687 | + "upload.protocol": { |
| 688 | + "$ref": "#/definitions/propertiesObjects/boardIDUploadProtocol/specification/object" |
| 689 | + }, |
| 690 | + "upload.tool": { |
| 691 | + "$ref": "#/definitions/propertiesObjects/boardIDUploadTool/specification/object" |
| 692 | + }, |
| 693 | + "upload.use_1200bps_touch": { |
| 694 | + "$ref": "#/definitions/propertiesObjects/boardIDUploadUse1200bpsTouch/specification/object" |
| 695 | + }, |
| 696 | + "upload.wait_for_upload_port": { |
| 697 | + "$ref": "#/definitions/propertiesObjects/boardIDUploadWaitForUploadPort/specification/object" |
| 698 | + } |
| 699 | + } |
| 700 | + }, |
| 701 | + { |
| 702 | + "patternProperties": { |
| 703 | + "^[vp]id\\.[0-9]+$": { |
| 704 | + "$ref": "#/definitions/propertiesObjects/boardIDXidN/specification/object" |
| 705 | + } |
| 706 | + } |
| 707 | + }, |
| 708 | + { |
| 709 | + "$ref": "#/definitions/propertyNamesObjects/specification/object" |
507 | 710 | } |
508 | 711 | ] |
509 | 712 | } |
|
513 | 716 | "allOf": [ |
514 | 717 | { |
515 | 718 | "$ref": "#/definitions/propertiesObjects/boardIDMenuMenuIDOptionID/base/object" |
| 719 | + }, |
| 720 | + { |
| 721 | + "properties": { |
| 722 | + "build.board": { |
| 723 | + "$ref": "#/definitions/propertiesObjects/boardIDBuildBoard/strict/object" |
| 724 | + }, |
| 725 | + "build.core": { |
| 726 | + "$ref": "#/definitions/propertiesObjects/boardIDBuildCore/strict/object" |
| 727 | + }, |
| 728 | + "serial.disableDTR": { |
| 729 | + "$ref": "#/definitions/propertiesObjects/boardIDSerialDisableDTR/strict/object" |
| 730 | + }, |
| 731 | + "serial.disableRTS": { |
| 732 | + "$ref": "#/definitions/propertiesObjects/boardIDSerialDisableRTS/strict/object" |
| 733 | + }, |
| 734 | + "upload.maximum_size": { |
| 735 | + "$ref": "#/definitions/propertiesObjects/boardIDUploadMaximumSize/strict/object" |
| 736 | + }, |
| 737 | + "upload.maximum_data_size": { |
| 738 | + "$ref": "#/definitions/propertiesObjects/boardIDUploadMaximumDataSize/strict/object" |
| 739 | + }, |
| 740 | + "upload.protocol": { |
| 741 | + "$ref": "#/definitions/propertiesObjects/boardIDUploadProtocol/strict/object" |
| 742 | + }, |
| 743 | + "upload.tool": { |
| 744 | + "$ref": "#/definitions/propertiesObjects/boardIDUploadTool/strict/object" |
| 745 | + }, |
| 746 | + "upload.use_1200bps_touch": { |
| 747 | + "$ref": "#/definitions/propertiesObjects/boardIDUploadUse1200bpsTouch/strict/object" |
| 748 | + }, |
| 749 | + "upload.wait_for_upload_port": { |
| 750 | + "$ref": "#/definitions/propertiesObjects/boardIDUploadWaitForUploadPort/strict/object" |
| 751 | + } |
| 752 | + } |
| 753 | + }, |
| 754 | + { |
| 755 | + "patternProperties": { |
| 756 | + "^[vp]id\\.[0-9]+$": { |
| 757 | + "$ref": "#/definitions/propertiesObjects/boardIDXidN/strict/object" |
| 758 | + } |
| 759 | + } |
| 760 | + }, |
| 761 | + { |
| 762 | + "$ref": "#/definitions/propertyNamesObjects/strict/object" |
516 | 763 | } |
517 | 764 | ] |
518 | 765 | } |
|
912 | 1159 | "userExtraFlagsProperties": { |
913 | 1160 | "propertyNames": { |
914 | 1161 | "not": { |
915 | | - "pattern": "^compiler\\.((c)|(c\\.elf)|(S)|(cpp)|(ar)|(objcopy.eep)|(elf2hex))\\.extra_flags$" |
| 1162 | + "pattern": "^compiler\\.((c)|(c\\.elf)|(S)|(cpp)|(ar)|(objcopy\\.eep)|(elf2hex))\\.extra_flags$" |
916 | 1163 | } |
917 | 1164 | } |
918 | 1165 | } |
|
935 | 1182 | "object": { |
936 | 1183 | "allOf": [ |
937 | 1184 | { |
938 | | - "required": ["name", "build.core", "upload.tool"] |
| 1185 | + "required": ["name"] |
939 | 1186 | } |
940 | 1187 | ] |
941 | 1188 | } |
|
963 | 1210 | "allOf": [ |
964 | 1211 | { |
965 | 1212 | "$ref": "#/definitions/requiredObjects/boardID/base/object" |
966 | | - }, |
967 | | - { |
968 | | - "required": ["build.board", "upload.maximum_size", "upload.maximum_data_size"] |
969 | 1213 | } |
970 | 1214 | ] |
971 | 1215 | } |
|
0 commit comments