Optimizely · Schema

Asset

A campaign asset such as an image or media file

A/B TestingContent ManagementCustomer DataE-CommerceExperimentationFeature FlagsMarketing

Properties

Name Type Description
id integer Unique identifier for the asset
name string Name of the asset
url string URL to access the asset
content_type string MIME type of the asset
file_size integer Size of the asset file in bytes
created string Timestamp when the asset was created
View JSON Schema on GitHub

JSON Schema

optimizely-asset-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Asset",
  "title": "Asset",
  "type": "object",
  "description": "A campaign asset such as an image or media file",
  "properties": {
    "id": {
      "type": "integer",
      "format": "int64",
      "description": "Unique identifier for the asset"
    },
    "name": {
      "type": "string",
      "description": "Name of the asset"
    },
    "url": {
      "type": "string",
      "format": "uri",
      "description": "URL to access the asset"
    },
    "content_type": {
      "type": "string",
      "description": "MIME type of the asset"
    },
    "file_size": {
      "type": "integer",
      "description": "Size of the asset file in bytes"
    },
    "created": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the asset was created"
    }
  }
}