API
← All schemas

File

Fields

content_typestringoptional

The mime type of the file.

file_namestringoptional

The name of the file.

file_sizeintegeroptional

The size of the file in bytes.

urlstringrequired

The URL where the file can be downloaded from.

JSON Schema

File.json
{
  "additionalProperties": false,
  "properties": {
    "content_type": {
      "description": "The mime type of the file.",
      "examples": [
        "video/mp4"
      ],
      "type": "string"
    },
    "file_name": {
      "description": "The name of the file.",
      "type": "string"
    },
    "file_size": {
      "description": "The size of the file in bytes.",
      "format": "int64",
      "type": "integer"
    },
    "url": {
      "description": "The URL where the file can be downloaded from.",
      "type": "string"
    }
  },
  "required": [
    "url"
  ],
  "type": "object"
}