Skip to main content
Video component

Properties

  • video (object) (required)
    • url (string) - pattern: (http://www\.|https://www\.|http://|https://)?[a-z... - format: uri - maxLength: 2000 (required)
    • name (string)
  • thumbnail (object)
    • url (string) - pattern: (http://www\.|https://www\.|http://|https://)?[a-z... - maxLength: 2000 (required)
    • name (string)
  • isUploaded (boolean) - default: False - Is uploaded on our server ?

Used in Categories

This component is used in the following categories:

Schema

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "title": "Video Component",
  "description": "Video component",
  "additionalProperties": false,
  "required": [
    "video"
  ],
  "properties": {
    "video": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "url"
      ],
      "properties": {
        "url": {
          "type": "string",
          "maxLength": 2000,
          "format": "uri",
          "pattern": "(http://www\\.|https://www\\.|http://|https://)?[a-z0-9]+([\\-.][a-z0-9]+)*\\.[a-z]{2,10}(:[0-9]{1,5})?(/.*)?$"
        },
        "name": {
          "type": "string"
        }
      }
    },
    "thumbnail": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "url"
      ],
      "properties": {
        "url": {
          "type": "string",
          "maxLength": 2000,
          "pattern": "(http://www\\.|https://www\\.|http://|https://)?[a-z0-9]+([\\-.][a-z0-9]+)*\\.[a-z]{2,10}(:[0-9]{1,5})?(/.*)?$"
        },
        "name": {
          "type": "string"
        }
      }
    },
    "isUploaded": {
      "type": "boolean",
      "default": false,
      "description": "Is uploaded on our server ?"
    }
  }
}