|
17 | 17 | "auxiliary": { |
18 | 18 | "$ref": "#/$defs/relPathOrWebUrlMulti", |
19 | 19 | "description": "relative or absolute path to files that are neither source files nor their exports, but still useful in the repository (e.g. KiCAD library files);\\\nmultiple inputs possible (with one entry each)", |
20 | | - "examples": ["lib/lib1.lib", ".mdlrc", ["lib/lib1.lib", ".mdlrc"]] |
| 20 | + "examples": [ |
| 21 | + "lib/lib1.lib", |
| 22 | + ".mdlrc", |
| 23 | + [ |
| 24 | + "lib/lib1.lib", |
| 25 | + ".mdlrc" |
| 26 | + ] |
| 27 | + ] |
21 | 28 | }, |
22 | 29 | "bom": { |
23 | 30 | "$ref": "#/$defs/relPathOrWebUrlMulti", |
24 | 31 | "description": "URL or repo-relative path to the bill of materials", |
25 | | - "examples": ["sBoM.csv", "BOM.csv", "bom.csv"] |
| 32 | + "examples": [ |
| 33 | + "sBoM.csv", |
| 34 | + "BOM.csv", |
| 35 | + "bom.csv" |
| 36 | + ] |
26 | 37 | }, |
27 | 38 | "cpcId": { |
28 | 39 | "$comment": "Get a CPC-ID from here <https://worldwide.espacenet.com/classification>", |
|
57 | 68 | "H02J 1/1234", |
58 | 69 | "H02J 1/12345", |
59 | 70 | "H02J 1/123456", |
60 | | - ["D03D 35/00", "D03D 5/00"] |
| 71 | + [ |
| 72 | + "D03D 35/00", |
| 73 | + "D03D 5/00" |
| 74 | + ] |
61 | 75 | ], |
62 | 76 | "anyOf": [ |
63 | 77 | { |
|
74 | 88 | ] |
75 | 89 | }, |
76 | 90 | "date": { |
77 | | - "examples": ["2000-04-06", "0001-0-0", "1984-10-1"], |
| 91 | + "examples": [ |
| 92 | + "2000-04-06", |
| 93 | + "0001-0-0", |
| 94 | + "1984-10-1" |
| 95 | + ], |
78 | 96 | "type": "string", |
79 | 97 | "format": "date" |
80 | 98 | }, |
|
126 | 144 | "examples": [ |
127 | 145 | "3D-parts/assembly.stp", |
128 | 146 | "public/user-manual.pdf", |
129 | | - ["3D-parts/assembly.stp", "public/user-manual.pdf"] |
| 147 | + [ |
| 148 | + "3D-parts/assembly.stp", |
| 149 | + "public/user-manual.pdf" |
| 150 | + ] |
130 | 151 | ] |
131 | 152 | }, |
132 | 153 | "lang-text": { |
133 | 154 | "description": "a text and the language it is written in", |
134 | 155 | "type": "object", |
135 | 156 | "additionalProperties": false, |
136 | | - "required": ["text", "language"], |
| 157 | + "required": [ |
| 158 | + "text", |
| 159 | + "language" |
| 160 | + ], |
137 | 161 | "properties": { |
138 | 162 | "text": { |
139 | 163 | "description": "the text content", |
|
211 | 235 | ] |
212 | 236 | } |
213 | 237 | ], |
214 | | - "required": ["location"], |
| 238 | + "required": [ |
| 239 | + "location" |
| 240 | + ], |
215 | 241 | "properties": { |
216 | 242 | "location": { |
217 | 243 | "$ref": "#/$defs/relPathOrWebUrl", |
|
301 | 327 | "language": { |
302 | 328 | "$comment": "autocomplete", |
303 | 329 | "description": "Language as a BCP 47 language tag", |
304 | | - "examples": ["en", "de", "es", "zh"], |
| 330 | + "examples": [ |
| 331 | + "en", |
| 332 | + "de", |
| 333 | + "es", |
| 334 | + "zh" |
| 335 | + ], |
305 | 336 | "type": "string", |
306 | 337 | "pattern": "^(((en-GB-oed|i-ami|i-bnn|i-default|i-enochian|i-hak|i-klingon|i-lux|i-mingo|i-navajo|i-pwn|i-tao|i-tay|i-tsu|sgn-BE-FR|sgn-BE-NL|sgn-CH-DE)|(art-lojban|cel-gaulish|no-bok|no-nyn|zh-guoyu|zh-hakka|zh-min|zh-min-nan|zh-xiang))|((([A-Za-z]{2,3}(-([A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-([A-Za-z]{4}))?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-([0-9A-WY-Za-wy-z](-[A-Za-z0-9]{2,8})+))*(-(x(-[A-Za-z0-9]{1,8})+))?)|(x(-[A-Za-z0-9]{1,8})+))$" |
307 | 338 | }, |
|
353 | 384 | "Open Source Hardware Association", |
354 | 385 | "Open Source Ecology", |
355 | 386 | "Open Source Ecology Germany", |
356 | | - ["Free Software Foundation", "Open Source Initiative"], |
| 387 | + [ |
| 388 | + "Free Software Foundation", |
| 389 | + "Open Source Initiative" |
| 390 | + ], |
357 | 391 | { |
358 | 392 | "name": "Free Software Foundation", |
359 | 393 | "url": "https://www.fsf.org" |
|
388 | 422 | "description": "Outer dimensions of the OSH module or part in mm (millimeters), which completely encompass the product.", |
389 | 423 | "type": "object", |
390 | 424 | "additionalProperties": false, |
391 | | - "required": ["width", "depth", "height"], |
| 425 | + "required": [ |
| 426 | + "width", |
| 427 | + "depth", |
| 428 | + "height" |
| 429 | + ], |
392 | 430 | "properties": { |
393 | 431 | "depth": { |
394 | 432 | "type": "number", |
|
408 | 446 | "description": "a physical component of an open source hardware module, for which technical documentation (design files etc.) is available under a free/open license", |
409 | 447 | "type": "object", |
410 | 448 | "additionalProperties": false, |
411 | | - "required": ["name"], |
| 449 | + "required": [ |
| 450 | + "name" |
| 451 | + ], |
412 | 452 | "oneOf": [ |
413 | 453 | { |
414 | | - "required": ["source"], |
| 454 | + "required": [ |
| 455 | + "source" |
| 456 | + ], |
415 | 457 | "properties": { |
416 | 458 | "source": {} |
417 | 459 | } |
418 | 460 | }, |
419 | 461 | { |
420 | | - "required": ["export"], |
| 462 | + "required": [ |
| 463 | + "export" |
| 464 | + ], |
421 | 465 | "properties": { |
422 | 466 | "export": {} |
423 | 467 | } |
|
471 | 515 | "rdfNamespace": { |
472 | 516 | "type": "object", |
473 | 517 | "additionalProperties": false, |
474 | | - "required": ["namespace"], |
| 518 | + "required": [ |
| 519 | + "namespace" |
| 520 | + ], |
475 | 521 | "properties": { |
476 | 522 | "namespace": { |
477 | 523 | "type": "string", |
|
482 | 528 | }, |
483 | 529 | "prefix": { |
484 | 530 | "type": "string", |
485 | | - "examples": ["prjx", "myorg-prjx", "mycomp-prjx"] |
| 531 | + "examples": [ |
| 532 | + "prjx", |
| 533 | + "myorg-prjx", |
| 534 | + "mycomp-prjx" |
| 535 | + ] |
486 | 536 | } |
487 | 537 | } |
488 | 538 | }, |
|
533 | 583 | "software": { |
534 | 584 | "type": "object", |
535 | 585 | "additionalProperties": false, |
536 | | - "required": ["release"], |
| 586 | + "required": [ |
| 587 | + "release" |
| 588 | + ], |
537 | 589 | "properties": { |
538 | 590 | "installation-guide": { |
539 | 591 | "$ref": "#/$defs/relPathOrWebUrl", |
|
559 | 611 | "pcb/main.pro", |
560 | 612 | "pcb/main.kicad_pcb", |
561 | 613 | "cad/part-x/model.fcstd", |
562 | | - ["pcb/main.kicad_pcb", "cad/part-x/model.fcstd"] |
| 614 | + [ |
| 615 | + "pcb/main.kicad_pcb", |
| 616 | + "cad/part-x/model.fcstd" |
| 617 | + ] |
563 | 618 | ] |
564 | 619 | }, |
565 | 620 | "spdxLicenseExpression": { |
|
593 | 648 | "3DP", |
594 | 649 | "LAS", |
595 | 650 | "CNC", |
596 | | - ["ASM", "MEC", "CIR"] |
| 651 | + [ |
| 652 | + "ASM", |
| 653 | + "MEC", |
| 654 | + "CIR" |
| 655 | + ] |
597 | 656 | ] |
598 | 657 | }, |
599 | 658 | "webUrl": { |
|
623 | 682 | "allOf": [ |
624 | 683 | { |
625 | 684 | "if": { |
626 | | - "required": ["tsdc"], |
| 685 | + "required": [ |
| 686 | + "tsdc" |
| 687 | + ], |
627 | 688 | "properties": { |
628 | 689 | "tsdc": { |
629 | 690 | "type": "array", |
|
639 | 700 | "type": "string" |
640 | 701 | }, |
641 | 702 | "printing-process": { |
642 | | - "enum": ["FDM", "SLA", "SLS", "MJF", "DMLS"] |
| 703 | + "enum": [ |
| 704 | + "FDM", |
| 705 | + "SLA", |
| 706 | + "SLS", |
| 707 | + "MJF", |
| 708 | + "DMLS" |
| 709 | + ] |
643 | 710 | } |
644 | 711 | } |
645 | 712 | } |
646 | 713 | }, |
647 | 714 | { |
648 | 715 | "if": { |
649 | | - "required": ["tsdc"], |
| 716 | + "required": [ |
| 717 | + "tsdc" |
| 718 | + ], |
650 | 719 | "properties": { |
651 | 720 | "tsdc": { |
652 | 721 | "type": "array", |
|
673 | 742 | } |
674 | 743 | } |
675 | 744 | ], |
676 | | - "required": ["okhv", "name", "repo", "license", "licensor", "function"], |
| 745 | + "required": [ |
| 746 | + "okhv", |
| 747 | + "name", |
| 748 | + "repo", |
| 749 | + "license", |
| 750 | + "licensor", |
| 751 | + "function" |
| 752 | + ], |
677 | 753 | "properties": { |
678 | 754 | "$schema": { |
679 | 755 | "description": "Link to OKH JSON-Schema", |
|
696 | 772 | "contribution-guide": { |
697 | 773 | "$ref": "#/$defs/relPathOrWebUrl", |
698 | 774 | "description": "repo-relative path to the contribution guide", |
699 | | - "examples": ["CONTRIBUTING.md", "CONTRIB.md", "CONTRIBUTING", "CONTRIB"] |
| 775 | + "examples": [ |
| 776 | + "CONTRIBUTING.md", |
| 777 | + "CONTRIB.md", |
| 778 | + "CONTRIBUTING", |
| 779 | + "CONTRIB" |
| 780 | + ] |
700 | 781 | }, |
701 | 782 | "cpc-patent-class": { |
702 | 783 | "$ref": "#/$defs/cpcId", |
|
847 | 928 | "manufacturing-instructions": { |
848 | 929 | "$ref": "#/$defs/relPathOrWebUrlMulti", |
849 | 930 | "description": "URL or repo-relative path to manufacturing instructions; multiple inputs possible (with one entry each)", |
850 | | - "examples": ["Documentation/Assembly_Guide/AssemblyGuide.md"] |
| 931 | + "examples": [ |
| 932 | + "Documentation/Assembly_Guide/AssemblyGuide.md" |
| 933 | + ] |
851 | 934 | }, |
852 | 935 | "mass": { |
853 | 936 | "$ref": "#/$defs/mass" |
|
927 | 1010 | "DIN SPEC 3105", |
928 | 1011 | "DIN EN 1335", |
929 | 1012 | "ISO 1337", |
930 | | - ["DIN SPEC 3105", "ISO 1337"] |
| 1013 | + [ |
| 1014 | + "DIN SPEC 3105", |
| 1015 | + "ISO 1337" |
| 1016 | + ] |
931 | 1017 | ] |
932 | 1018 | }, |
933 | 1019 | "technology-readiness-level": { |
|
972 | 1058 | "user-manual": { |
973 | 1059 | "$ref": "#/$defs/relPathOrWebUrlMulti", |
974 | 1060 | "description": "URL or repo-relative path to user manual", |
975 | | - "examples": ["Documentation/User_Guide/UserGuide.md"] |
| 1061 | + "examples": [ |
| 1062 | + "Documentation/User_Guide/UserGuide.md" |
| 1063 | + ] |
976 | 1064 | }, |
977 | 1065 | "version": { |
978 | 1066 | "description": "version of this Module, preferably following the [semantic versioning-scheme v2.0.0](https://semver.org/#semantic-versioning-200)", |
|
0 commit comments