> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zype.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Live Asset

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Playout Scheduler",
    "description": "",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.zype.com/"
    }
  ],
  "security": [
    {
      "api_key": []
    }
  ],
  "paths": {
    "/scheduler/v2/assets/{channelId}/live_streams": {
      "post": {
        "summary": "Create Live Asset",
        "description": "",
        "operationId": "createPlayoutSchedulerLiveAsset",
        "parameters": [
          {
            "name": "channelId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Channel id"
          }
        ],
        "tags": [
          "Assets"
        ],
        "x-codegen-request-body-name": "liveStreamAsset",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "title": "LiveAssetRequest",
                "type": "object",
                "required": [
                  "liveStreamAsset"
                ],
                "properties": {
                  "liveStreamAsset": {
                    "type": "object",
                    "title": "AdTimingProperties",
                    "required": [
                      "title",
                      "duration",
                      "liveInputSourceId"
                    ],
                    "properties": {
                      "title": {
                        "type": "string"
                      },
                      "description": {
                        "type": "string"
                      },
                      "duration": {
                        "type": "number"
                      },
                      "liveInputSourceId": {
                        "type": "string"
                      },
                      "thumbnailUrl": {
                        "type": "string",
                        "description": "URL of the thumbnails associated to the live stream"
                      },
                      "parentalRatingSource": {
                        "type": "string",
                        "description": "Parental Rating Source",
                        "enum": [
                          "USA_PR",
                          "MPAA",
                          "CHVRS",
                          "CPR",
                          "RTC",
                          "BBFC"
                        ]
                      },
                      "parentalRating": {
                        "type": "string",
                        "description": "This value will depend on the Parental Rating Source.\nMPAA: ‘g‘, ‘pg‘, ‘pg13‘, ‘pg-13‘, ‘r‘, ‘nc17‘, ‘nc-17‘, ‘ur‘\nUSA_PR: ‘tv-y‘, ‘tvy‘, ‘tv-y7‘, ‘tvy7‘, ‘tv-g‘, ‘tvg‘, ‘tv-pg‘, ‘tvpg‘, ‘tv-14‘, ‘tv14‘, ‘tv-ma‘, ‘tvma‘\nCHVRS: ‘g‘, ‘pg‘, ‘14-a‘, ‘14a‘, ‘18-a‘, ‘18a‘, ‘r‘, ‘e‘\nCPR: ‘14+‘, ‘18+‘, ‘c‘, ‘c8‘, ‘c-8‘, ‘g‘, ‘pg‘, ‘e‘\nRTC: ‘aa‘, ‘a‘, ‘b‘, ‘b15‘, ‘b-15‘, ‘c‘, ‘d‘\nBBFC: ‘u‘, ‘pg‘, ‘12-a‘, ‘12a‘, ‘12‘, ‘15‘, ‘18‘, ‘R-18‘, ‘R18‘\n",
                        "enum": [
                          "g",
                          "pg",
                          "pg13",
                          "pg-13",
                          "r",
                          "nc17",
                          "nc-17",
                          "ur",
                          "tv-y",
                          "tvy",
                          "tv-y7",
                          "tvy7",
                          "tv-g",
                          "tvg",
                          "tv-pg",
                          "tvpg",
                          "tv-14",
                          "tv14",
                          "tv-ma",
                          "tvma",
                          "g",
                          "pg",
                          "14-a",
                          "14a",
                          "18-a",
                          "18a",
                          "r",
                          "e",
                          "14+",
                          "18+",
                          "c",
                          "c8",
                          "c-8",
                          "g",
                          "pg",
                          "e",
                          "aa",
                          "a",
                          "b",
                          "b15",
                          "b-15",
                          "c",
                          "d",
                          "u",
                          "pg",
                          "12-a",
                          "12a",
                          "12",
                          "15",
                          "18",
                          "R-18",
                          "R18"
                        ]
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Asset",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date"
                    },
                    "updatedAt": {
                      "type": "string",
                      "format": "date"
                    },
                    "title": {
                      "type": "string"
                    },
                    "description": {
                      "type": "string"
                    },
                    "duration": {
                      "type": "number"
                    },
                    "liveInputSourceId": {
                      "type": "string"
                    },
                    "thumbnailUrl": {
                      "type": "string"
                    },
                    "parentalRatingSource": {
                      "type": "string"
                    },
                    "parentalRating": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable entity",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/paths/~1scheduler~1v1~1types/get/responses/422/content/application~1json/schema"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "api_key": {
        "type": "apiKey",
        "name": "X-API-Key",
        "in": "header"
      }
    }
  }
}
```