@retropak/schema 1.0.0-draft10 → 1.0.0-draft11

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-draft10",
3
+ "version": "1.0.0-draft11",
4
4
  "description": "Metadata specification for Retropak software containers",
5
5
  "type": "module",
6
6
  "main": "./schemas/v1/retropak.schema.json",
@@ -600,28 +600,6 @@
600
600
  }
601
601
  }
602
602
  },
603
- "physicalMediaImage": {
604
- "type": "object",
605
- "description": "An image of physical media (cartridge, disc, tape, etc.).",
606
- "additionalProperties": false,
607
- "required": [
608
- "file"
609
- ],
610
- "properties": {
611
- "file": {
612
- "type": "string",
613
- "minLength": 1,
614
- "description": "Path to the physical media image file."
615
- },
616
- "alt": {
617
- "type": "string",
618
- "description": "Alternative text describing the image for accessibility."
619
- },
620
- "type": {
621
- "$ref": "#/$defs/mediaType"
622
- }
623
- }
624
- },
625
603
  "mediaItem": {
626
604
  "type": "object",
627
605
  "description": "A media file (ROM, disc image, tape, etc.).",
@@ -951,7 +929,7 @@
951
929
  "type": "array",
952
930
  "description": "Images of the physical media (cartridge, disc, tape, floppy, etc.).",
953
931
  "items": {
954
- "$ref": "#/$defs/physicalMediaImage"
932
+ "$ref": "#/$defs/image"
955
933
  }
956
934
  },
957
935
  "logo": {