ReportMetadata

Metadata describing a report configuration

CloudCRMCustomer ManagementEnterpriseSales

Properties

Name Type Description
aggregates array
chart object
crossFilters array
currency string
description string
detailColumns array
developerName string
division string
folderId string
groupingsAcross array
groupingsDown array
hasDetailRows boolean
hasRecordCount boolean
historicalSnapshotDates array
id string
name string
reportBooleanFilter string
reportFilters array
reportFormat string
reportType object
scope string
sortBy array
standardDateFilter object
View JSON Schema on GitHub

JSON Schema

salesforce-sales-cloud-reportmetadata-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ReportMetadata",
  "title": "ReportMetadata",
  "type": "object",
  "description": "Metadata describing a report configuration",
  "properties": {
    "aggregates": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "chart": {
      "type": "object",
      "nullable": true
    },
    "crossFilters": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "currency": {
      "type": "string",
      "nullable": true
    },
    "description": {
      "type": "string",
      "nullable": true
    },
    "detailColumns": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "developerName": {
      "type": "string"
    },
    "division": {
      "type": "string",
      "nullable": true
    },
    "folderId": {
      "type": "string"
    },
    "groupingsAcross": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "dateGranularity": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "sortAggregate": {
            "type": "string",
            "nullable": true
          },
          "sortOrder": {
            "type": "string"
          }
        }
      }
    },
    "groupingsDown": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "dateGranularity": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "sortAggregate": {
            "type": "string",
            "nullable": true
          },
          "sortOrder": {
            "type": "string"
          }
        }
      }
    },
    "hasDetailRows": {
      "type": "boolean"
    },
    "hasRecordCount": {
      "type": "boolean"
    },
    "historicalSnapshotDates": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "reportBooleanFilter": {
      "type": "string",
      "nullable": true
    },
    "reportFilters": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/ReportFilter"
      }
    },
    "reportFormat": {
      "type": "string",
      "enum": [
        "TABULAR",
        "SUMMARY",
        "MATRIX",
        "MULTI_BLOCK"
      ]
    },
    "reportType": {
      "type": "object",
      "properties": {
        "label": {
          "type": "string"
        },
        "type": {
          "type": "string"
        }
      }
    },
    "scope": {
      "type": "string"
    },
    "sortBy": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "standardDateFilter": {
      "type": "object",
      "properties": {
        "column": {
          "type": "string"
        },
        "durationValue": {
          "type": "string"
        },
        "endDate": {
          "type": "string",
          "nullable": true
        },
        "startDate": {
          "type": "string",
          "nullable": true
        }
      }
    }
  }
}