{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/romm/json-schema/romm-music-page-music-platform-facet-schema-schema.json",
  "title": "MusicPage[MusicPlatformFacetSchema]",
  "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_MusicPlatformFacetSchema_",
  "properties": {
    "items": {
      "items": {
        "$ref": "#/$defs/MusicPlatformFacetSchema"
      },
      "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": {
    "MusicPlatformFacetSchema": {
      "properties": {
        "id": {
          "type": "integer",
          "title": "Id"
        },
        "slug": {
          "type": "string",
          "title": "Slug"
        },
        "name": {
          "type": "string",
          "title": "Name"
        },
        "count": {
          "type": "integer",
          "title": "Count"
        }
      },
      "type": "object",
      "required": [
        "id",
        "slug",
        "name",
        "count"
      ],
      "title": "MusicPlatformFacetSchema",
      "description": "A platform that has soundtrack tracks, plus how many it has."
    }
  }
}