{
  "$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"
    }
  }
}