{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/api-video/json-schema/api-video-player-themes-list-response-schema.json",
  "title": "PlayerThemes",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/api-video-player-themes-api-openapi.yml#/components/schemas/player-themes-list-response",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/player-theme"
      }
    },
    "pagination": {
      "$ref": "#/$defs/pagination"
    }
  },
  "required": [
    "data",
    "pagination"
  ],
  "$defs": {
    "pagination": {
      "title": "Pagination",
      "required": [
        "links"
      ],
      "type": "object",
      "properties": {
        "itemsTotal": {
          "type": "integer",
          "description": "Total number of items that exist.",
          "readOnly": true
        },
        "pagesTotal": {
          "type": "integer",
          "description": "Number of items listed in the current page.",
          "readOnly": true
        },
        "pageSize": {
          "type": "integer",
          "description": "Maximum number of item per page.",
          "readOnly": true
        },
        "currentPage": {
          "type": "integer",
          "description": "The current page index.",
          "readOnly": true
        },
        "currentPageItems": {
          "type": "integer",
          "description": "The number of items on the current page.",
          "readOnly": true
        },
        "links": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/pagination-link"
          }
        }
      }
    },
    "pagination-link": {
      "title": "PaginationLink",
      "type": "object",
      "properties": {
        "rel": {
          "type": "string"
        },
        "uri": {
          "type": "string",
          "format": "uri"
        }
      }
    },
    "player-theme": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the player theme"
        },
        "text": {
          "type": "string",
          "description": "RGBA color for timer text. Default: rgba(255, 255, 255, 1)"
        },
        "link": {
          "type": "string",
          "description": "RGBA color for all controls. Default: rgba(255, 255, 255, 1)"
        },
        "linkHover": {
          "type": "string",
          "description": "RGBA color for all controls when hovered. Default: rgba(255, 255, 255, 1)"
        },
        "linkActive": {
          "type": "string",
          "description": "RGBA color for the play button when hovered."
        },
        "trackPlayed": {
          "type": "string",
          "description": "RGBA color playback bar: played content. Default: rgba(88, 131, 255, .95)"
        },
        "trackUnplayed": {
          "type": "string",
          "description": "RGBA color playback bar: downloaded but unplayed (buffered) content. Default: rgba(255, 255, 255, .35)"
        },
        "trackBackground": {
          "type": "string",
          "description": "RGBA color playback bar: background. Default: rgba(255, 255, 255, .2)"
        },
        "backgroundTop": {
          "type": "string",
          "description": "RGBA color: top 50% of background. Default: rgba(0, 0, 0, .7)"
        },
        "backgroundBottom": {
          "type": "string",
          "description": "RGBA color: bottom 50% of background. Default: rgba(0, 0, 0, .7)"
        },
        "backgroundText": {
          "type": "string",
          "description": "RGBA color for title text. Default: rgba(255, 255, 255, 1)"
        },
        "enableApi": {
          "type": "boolean",
          "description": "enable/disable player SDK access. Default: true"
        },
        "enableControls": {
          "type": "boolean",
          "description": "enable/disable player controls. Default: true"
        },
        "forceAutoplay": {
          "type": "boolean",
          "description": "enable/disable player autoplay. Default: false"
        },
        "hideTitle": {
          "type": "boolean",
          "description": "enable/disable title. Default: false"
        },
        "forceLoop": {
          "type": "boolean",
          "description": "enable/disable looping. Default: false"
        },
        "playerId": {
          "type": "string"
        },
        "createdAt": {
          "type": "string",
          "description": "When the player was created, presented in ATOM UTC format.",
          "format": "date-time"
        },
        "updatedAt": {
          "type": "string",
          "description": "When the player was last updated, presented in ATOM UTC format.",
          "format": "date-time"
        },
        "assets": {
          "type": "object",
          "properties": {
            "logo": {
              "type": "string",
              "description": "The name of the file containing the logo you want to use."
            },
            "link": {
              "type": "string",
              "description": "The path to the file containing your logo."
            }
          }
        }
      },
      "title": "PlayerTheme",
      "required": [
        "playerId"
      ]
    }
  }
}