{
    "description": "The level of a media source object. An instance of <a href=\"#scene-media-level\">a scene source level.</a>",
    "properties": {
        "device": {
            "description": "The device requirements.",
            "example": {
                "os": "Windows",
                "safari": false,
                "webvr": true
            },
            "title": "Device",
            "type": "object"
        },
        "height": {
            "description": "The height of the source. It will be used with the width and tile to compute the value of the <code>{x}</code> and <code>{y}</code> patterns.",
            "example": 1024,
            "title": "Height",
            "type": "number"
        },
        "name": {
            "description": "If set, specifies the <code>{level}</code> pattern for this level. If not, the value will be the index of the level in the levels array.",
            "example": "4K",
            "title": "Name",
            "type": "string"
        },
        "pattern": {
            "description": "The pattern to respect in case of a multi tiles media. Four parameters are authorized:<ul><li><code>{face}</code> is for the face, in case of a cubemap media</li><li><code>{level}</code> is for the level of quality of the tile, in case of a multi resolution media</li><li><code>{x}</code> if for the <b>x</b> coordinates of the tile</li><li><code>{y}</code> if for the <b>y</b> coordinates of the tile</li>",
            "example": "multi/equi/{level}/{y}/{x}.jpg",
            "title": "Pattern",
            "type": "string"
        },
        "tile": {
            "description": "The size of a tile, which corresponds to the width and the height of a tile. It will be used with the width and height to compute the value of the <code>{x}</code> and <code>{y}</code> patterns.",
            "example": 512,
            "title": "Tile",
            "type": "number"
        },
        "url": {
            "description": "If set, overrides any computed URL by this one. If not, the URL will be computed from other values",
            "example": "multi/video-2K.mp4",
            "title": "URL",
            "type": "string"
        },
        "width": {
            "description": "The width of the source. It will be used with the height and tile to compute the value of the <code>{x}</code> and <code>{y}</code> patterns.",
            "example": 2048,
            "title": "Width",
            "type": "number"
        }
    },
    "title": "SceneMediaLevelConfig",
    "type": "object"
}