{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/viewmax-studio/json-schema/viewmax-studio-music-model-schema.json",
  "title": "MusicModel",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/viewmax-studio-catalog-api-openapi.yml#/components/schemas/MusicModel",
  "type": "object",
  "required": [
    "id",
    "label",
    "vendor",
    "description",
    "controls",
    "credits"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "label": {
      "type": "string"
    },
    "vendor": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "controls": {
      "type": "object",
      "description": "Accepted `options` for POST /api/v1/music."
    },
    "credits": {
      "type": "integer",
      "description": "Price for tracks up to 60 s. Longer tracks cost 1 credit per second: `max(60, ceil(duration_seconds))`."
    }
  }
}