{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/eloqua/json-schema/eloqua-query-result-external-asset-type-rest20-schema.json",
  "title": "QueryResultExternalAssetType",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/eloqua-application-2-0-external-asset-types-api-openapi.yml#/components/schemas/QueryResultExternalAssetTypeRest20",
  "properties": {
    "type": {
      "type": "string",
      "description": "The asset's type in Eloqua."
    },
    "elements": {
      "type": "array",
      "description": "Array of account group fields.",
      "items": {
        "$ref": "#/$defs/ExternalAssetTypeRest20"
      }
    },
    "total": {
      "type": "integer",
      "description": "The total amount of results."
    },
    "pageSize": {
      "type": "integer",
      "description": "The page size."
    },
    "page": {
      "type": "integer",
      "description": "The specified page."
    }
  },
  "$defs": {
    "ExternalActivityTypeRest20": {
      "title": "ExternalActivityType",
      "properties": {
        "type": {
          "type": "string",
          "description": "The asset's type in Eloqua. This is a read-only property. "
        },
        "id": {
          "type": "string",
          "readOnly": true,
          "description": "Id of the external activity type."
        },
        "currentStatus": {
          "type": "string",
          "description": "The external activity type's current status."
        },
        "description": {
          "type": "string",
          "description": "The description of the external activity type."
        },
        "permissions": {
          "type": "array",
          "description": "The permissions for the external activity type granted to your current instance. This is a read-only property.",
          "items": {
            "type": "string"
          }
        },
        "folderId": {
          "type": "string",
          "readOnly": true,
          "description": "The folder id of the folder which contains the external activity type."
        },
        "sourceTemplateId": {
          "type": "string",
          "description": "Id of the template used to create the external activity type."
        },
        "createdBy": {
          "type": "string",
          "readOnly": true,
          "description": "The login id of the user who created the external activity type."
        },
        "createdByName": {
          "type": "string",
          "description": "The name of the user who created the external activity type."
        },
        "createdAt": {
          "type": "string",
          "readOnly": true,
          "description": "The date and time the external activity type was created, expressed in Unix time."
        },
        "updatedBy": {
          "type": "string",
          "readOnly": true,
          "description": "The login id of the user that last updated the external activity type."
        },
        "updatedByName": {
          "type": "string",
          "description": "The name of the user who last updated the external activity type."
        },
        "updatedAt": {
          "type": "string",
          "readOnly": true,
          "description": "Unix timestamp for the date and time the external activity type was last updated."
        },
        "scheduledFor": {
          "type": "string",
          "readOnly": true,
          "description": "The date the external activity type is scheduled."
        },
        "depth": {
          "type": "string",
          "readOnly": true,
          "description": "Level of detail returned by the request. Eloqua APIs can retrieve entities at three different levels of depth: <code>minimal</code>, <code>partial</code>, and <code>complete</code>. Any other values passed are reset to <code>complete</code> by default. For more information, see <a href='https://docs.oracle.com/cloud/latest/marketingcs_gs/OMCAB/index.html#CSHID=RequestDepth'>Request depth</a>."
        },
        "name": {
          "type": "string",
          "description": "The name of the external activity type."
        }
      }
    },
    "ExternalAssetTypeRest20": {
      "title": "ExternalAssetType",
      "properties": {
        "type": {
          "type": "string",
          "description": "The asset's type in Eloqua. This is a read-only property. "
        },
        "id": {
          "type": "string",
          "readOnly": true,
          "description": "Id of the external asset type."
        },
        "currentStatus": {
          "type": "string",
          "description": "The external asset type's current status."
        },
        "description": {
          "type": "string",
          "description": "The description of the external asset type."
        },
        "permissions": {
          "type": "array",
          "description": "The permissions for the external asset type granted to your current instance. This is a read-only property.",
          "items": {
            "type": "string"
          }
        },
        "folderId": {
          "type": "string",
          "readOnly": true,
          "description": "The folder id of the folder which contains the external asset type."
        },
        "sourceTemplateId": {
          "type": "string",
          "description": "Id of the template used to create the external asset type."
        },
        "createdBy": {
          "type": "string",
          "readOnly": true,
          "description": "The login id of the user who created the external asset type."
        },
        "createdByName": {
          "type": "string",
          "description": "The name of the user who created the external asset type."
        },
        "createdAt": {
          "type": "string",
          "readOnly": true,
          "description": "The date and time the external asset type was created, expressed in Unix time. "
        },
        "updatedBy": {
          "type": "string",
          "readOnly": true,
          "description": "The login id of the user that last updated the external asset type."
        },
        "updatedByName": {
          "type": "string",
          "description": "The name of the user who last updated the external asset type."
        },
        "updatedAt": {
          "type": "string",
          "readOnly": true,
          "description": "Unix timestamp for the date and time the external asset type was last updated."
        },
        "scheduledFor": {
          "type": "string",
          "readOnly": true,
          "description": "The date the external asset type is scheduled."
        },
        "depth": {
          "type": "string",
          "readOnly": true,
          "description": "Level of detail returned by the request. Eloqua APIs can retrieve entities at three different levels of depth: <code>minimal</code>, <code>partial</code>, and <code>complete</code>. Any other values passed are reset to <code>complete</code> by default. For more information, see <a href='https://docs.oracle.com/cloud/latest/marketingcs_gs/OMCAB/index.html#CSHID=RequestDepth'>Request depth</a>."
        },
        "activityTypes": {
          "type": "array",
          "description": "A list of the external activity types associated with the external asset type.",
          "items": {
            "$ref": "#/$defs/ExternalActivityTypeRest20"
          }
        },
        "name": {
          "type": "string",
          "description": "The name of the external asset type."
        },
        "image": {
          "$ref": "#/$defs/ImageFileRest20",
          "description": "A list of associated Image assets."
        }
      }
    },
    "ImageFileRest20": {
      "title": "ImageFile",
      "properties": {
        "type": {
          "type": "string",
          "description": "The asset's type in Eloqua. This is a read-only property."
        },
        "id": {
          "type": "string",
          "readOnly": true,
          "description": "Id of the image."
        },
        "currentStatus": {
          "type": "string",
          "description": "The image's current status."
        },
        "name": {
          "type": "string",
          "description": "The name of the image."
        },
        "description": {
          "type": "string",
          "description": "The description of the image."
        },
        "permissions": {
          "type": "array",
          "description": "The permissions for the image granted to your current instance. This is a read-only property.",
          "items": {
            "type": "string"
          }
        },
        "folderId": {
          "type": "string",
          "readOnly": true,
          "description": "Id of the folder."
        },
        "sourceTemplateId": {
          "type": "string",
          "description": "Id of the source template."
        },
        "createdBy": {
          "type": "string",
          "readOnly": true,
          "description": "The login id of the user who created the image."
        },
        "createdByName": {
          "type": "string",
          "description": "The name of the user who created the image."
        },
        "createdAt": {
          "type": "string",
          "readOnly": true,
          "description": "The date and time the image was created, expressed in Unix time."
        },
        "updatedBy": {
          "type": "string",
          "readOnly": true,
          "description": "The login id of the user that last updated the image."
        },
        "updatedByName": {
          "type": "string",
          "description": "The name of the user who last updated the image."
        },
        "updatedAt": {
          "type": "string",
          "readOnly": true,
          "description": "Unix timestamp for the date and time the image was last updated."
        },
        "scheduledFor": {
          "type": "string",
          "readOnly": true,
          "description": "The date and time the image is scheduled."
        },
        "depth": {
          "type": "string",
          "readOnly": true,
          "description": "Level of detail returned by the request. Eloqua APIs can retrieve entities at three different levels of depth: <code>minimal</code>, <code>partial</code>, and <code>complete</code>. Any other values passed are reset to <code>complete</code> by default. For more information, see <a href='https://docs.oracle.com/cloud/latest/marketingcs_gs/OMCAB/index.html#CSHID=RequestDepth'>Request depth</a>."
        },
        "fullImageUrl": {
          "type": "string",
          "description": "The image's complete URL. This is a read-only property."
        },
        "size": {
          "$ref": "#/$defs/SizeRest20",
          "description": "The size of the image."
        },
        "thumbnailUrl": {
          "type": "string",
          "description": "The image's thumbnail URL. This is a read-only property."
        },
        "source": {
          "type": "string",
          "description": "The image's source location."
        },
        "syncDate": {
          "type": "string",
          "description": "The date and time the image was last synced, expressed in Unix time. This is a read-only property."
        }
      }
    },
    "SizeRest20": {
      "title": "Size",
      "properties": {
        "type": {
          "type": "string",
          "description": "The asset's type in Eloqua. This is a read-only property. The type for this property is 'size'."
        },
        "width": {
          "type": "string",
          "description": "The width dimensions of the asset expressed in pixels."
        },
        "height": {
          "type": "string",
          "description": "The height dimensions of the asset expressed in pixels."
        }
      }
    }
  }
}