{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/romm/json-schema/romm-music-page-music-game-facet-schema-schema.json",
  "title": "MusicPage[MusicGameFacetSchema]",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/romm-music-api-openapi.yml#/components/schemas/MusicPage_MusicGameFacetSchema_",
  "properties": {
    "items": {
      "items": {
        "$ref": "#/$defs/MusicGameFacetSchema"
      },
      "type": "array",
      "title": "Items"
    },
    "total": {
      "type": "integer",
      "minimum": 0.0,
      "title": "Total"
    },
    "limit": {
      "type": "integer",
      "minimum": 1.0,
      "title": "Limit"
    },
    "offset": {
      "type": "integer",
      "minimum": 0.0,
      "title": "Offset"
    }
  },
  "type": "object",
  "required": [
    "items",
    "total",
    "limit",
    "offset"
  ],
  "$defs": {
    "MusicGameFacetSchema": {
      "properties": {
        "rom_id": {
          "type": "integer",
          "title": "Rom Id"
        },
        "name": {
          "type": "string",
          "title": "Name"
        },
        "platform_id": {
          "type": "integer",
          "title": "Platform Id"
        },
        "platform_slug": {
          "type": "string",
          "title": "Platform Slug"
        },
        "platform_name": {
          "type": "string",
          "title": "Platform Name"
        },
        "cover_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Cover Url"
        },
        "count": {
          "type": "integer",
          "title": "Count"
        }
      },
      "type": "object",
      "required": [
        "rom_id",
        "name",
        "platform_id",
        "platform_slug",
        "platform_name",
        "count"
      ],
      "title": "MusicGameFacetSchema",
      "description": "A game that has soundtrack tracks -- one entry of the album list."
    }
  }
}