@retropak/schema 1.0.0-draft3 → 1.0.0-draft4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@retropak/schema",
3
- "version": "1.0.0-draft3",
3
+ "version": "1.0.0-draft4",
4
4
  "description": "Metadata specification for Retropak software containers",
5
5
  "type": "module",
6
6
  "main": "./schemas/v1/retropak.schema.json",
@@ -378,6 +378,7 @@
378
378
  "ageRating": {
379
379
  "type": "object",
380
380
  "description": "Age/content ratings from various rating boards.",
381
+ "additionalProperties": false,
381
382
  "properties": {
382
383
  "nsfw": {
383
384
  "type": "boolean",
@@ -476,6 +477,7 @@
476
477
  "configFile": {
477
478
  "type": "object",
478
479
  "description": "An external configuration file for emulator or platform-specific settings.",
480
+ "additionalProperties": false,
479
481
  "required": [
480
482
  "file"
481
483
  ],
@@ -498,6 +500,7 @@
498
500
  "image": {
499
501
  "type": "object",
500
502
  "description": "An image file with optional alt text for accessibility.",
503
+ "additionalProperties": false,
501
504
  "required": [
502
505
  "file"
503
506
  ],
@@ -516,6 +519,7 @@
516
519
  "creditEntry": {
517
520
  "type": "object",
518
521
  "description": "A person credited for work on the title.",
522
+ "additionalProperties": false,
519
523
  "required": [
520
524
  "name"
521
525
  ],
@@ -537,6 +541,7 @@
537
541
  "musicTrack": {
538
542
  "type": "object",
539
543
  "description": "A soundtrack or audio file from the title.",
544
+ "additionalProperties": false,
540
545
  "required": [
541
546
  "file"
542
547
  ],
@@ -560,6 +565,7 @@
560
565
  "physicalMediaImage": {
561
566
  "type": "object",
562
567
  "description": "An image of physical media (cartridge, disc, tape, etc.).",
568
+ "additionalProperties": false,
563
569
  "required": [
564
570
  "file"
565
571
  ],
@@ -585,6 +591,7 @@
585
591
  "mediaItem": {
586
592
  "type": "object",
587
593
  "description": "A media file (ROM, disc image, tape, etc.).",
594
+ "additionalProperties": false,
588
595
  "required": [
589
596
  "filename",
590
597
  "type"
@@ -665,6 +672,7 @@
665
672
  "players": {
666
673
  "type": "object",
667
674
  "description": "Multiplayer capabilities.",
675
+ "additionalProperties": false,
668
676
  "properties": {
669
677
  "min": {
670
678
  "type": "integer",
@@ -684,6 +692,7 @@
684
692
  "features": {
685
693
  "type": "object",
686
694
  "description": "Input devices, peripherals, and capabilities.",
695
+ "additionalProperties": false,
687
696
  "properties": {
688
697
  "required": {
689
698
  "type": "array",
@@ -703,6 +712,7 @@
703
712
  }
704
713
  },
705
714
  "type": "object",
715
+ "additionalProperties": false,
706
716
  "required": [
707
717
  "schemaVersion",
708
718
  "info",
@@ -722,6 +732,7 @@
722
732
  "info": {
723
733
  "type": "object",
724
734
  "description": "Title metadata and information.",
735
+ "additionalProperties": false,
725
736
  "required": [
726
737
  "title",
727
738
  "platform"
@@ -811,6 +822,7 @@
811
822
  "externalIds": {
812
823
  "type": "object",
813
824
  "description": "Identifiers from external databases for cross-referencing.",
825
+ "additionalProperties": false,
814
826
  "properties": {
815
827
  "igdb": {
816
828
  "type": "integer",
@@ -858,6 +870,7 @@
858
870
  "assets": {
859
871
  "type": "object",
860
872
  "description": "Artwork, documentation, and other supplementary files.",
873
+ "additionalProperties": false,
861
874
  "properties": {
862
875
  "boxFront": {
863
876
  "$ref": "#/$defs/image",