{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/oracle/json-schema/oracle-create-management-dashboard-details-schema.json",
  "title": "CreateManagementDashboardDetails",
  "description": "Properties of a dashboard.  ID of the dashboard must only be provided for Out-of-the-Box (OOB) dashboards.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/oracle-dashxapis-api-openapi.yml#/components/schemas/CreateManagementDashboardDetails",
  "properties": {
    "compartmentId": {
      "description": "OCID of the compartment in which the dashboard resides.",
      "type": "string"
    },
    "dashboardId": {
      "description": "ID of the dashboard, which must only be provided for Out-of-the-Box (OOB) dashboards.",
      "type": "string"
    },
    "dataConfig": {
      "description": "Array of JSON that contain data source options.",
      "items": {
        "type": "object"
      },
      "type": "array"
    },
    "definedTags": {
      "additionalProperties": {
        "additionalProperties": {
          "description": "The value of the tag. Only string, integer and boolean types are supported.\n",
          "type": "object"
        },
        "description": "Key-value pair representing predefined tags' keys and values scoped to a namespace.\nExample: `{\"bar-key\": \"value\"}`\n",
        "type": "object"
      },
      "description": "Defined tags for this resource. Each key is predefined and scoped to a namespace.\nExample: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`\n",
      "type": "object"
    },
    "description": {
      "description": "Description of the dashboard.",
      "type": "string"
    },
    "displayName": {
      "description": "Display name of the dashboard.",
      "type": "string"
    },
    "drilldownConfig": {
      "description": "Drill-down configuration to define the destination of a drill-down action.",
      "items": {
        "type": "object"
      },
      "type": "array"
    },
    "featuresConfig": {
      "description": "Contains configuration for enabling features.",
      "type": "object"
    },
    "freeformTags": {
      "additionalProperties": {
        "type": "string"
      },
      "description": "Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.\nExample: `{\"bar-key\": \"value\"}`\n",
      "type": "object"
    },
    "isFavorite": {
      "description": "Determines whether the dashboard is set as favorite.",
      "type": "boolean"
    },
    "isOobDashboard": {
      "description": "Determines whether the dashboard is an Out-of-the-Box (OOB) dashboard. Note that OOB dashboards are only provided by Oracle and cannot be modified.",
      "type": "boolean"
    },
    "isShowDescription": {
      "description": "Determines whether the description of the dashboard is displayed.",
      "type": "boolean"
    },
    "isShowInHome": {
      "description": "Determines whether the dashboard will be displayed in Dashboard Home.",
      "type": "boolean"
    },
    "metadataVersion": {
      "description": "The version of the metadata defined in the API. This is maintained and enforced by dashboard server. Currently it is 2.0.",
      "type": "string"
    },
    "nls": {
      "description": "JSON that contains internationalization options.",
      "type": "object"
    },
    "parametersConfig": {
      "description": "Defines parameters for the dashboard.",
      "items": {
        "type": "object"
      },
      "type": "array"
    },
    "providerId": {
      "description": "ID of the service (for example, log-analytics) that owns the dashboard. Each service has a unique ID.",
      "type": "string"
    },
    "providerName": {
      "description": "The user friendly name of the service (for example, Logging Analytics) that owns the dashboard.",
      "type": "string"
    },
    "providerVersion": {
      "description": "The version of the metadata of the provider. This is useful for provider to version its features and metadata. Any newly created saved search (or dashboard) should use providerVersion 3.0.0.",
      "type": "string"
    },
    "screenImage": {
      "description": "Screen image of the dashboard.",
      "type": "string"
    },
    "tiles": {
      "description": "Array of dashboard tiles.",
      "items": {
        "$ref": "#/$defs/ManagementDashboardTileDetails"
      },
      "type": "array"
    },
    "type": {
      "description": "Type of dashboard. NORMAL denotes a single dashboard and SET denotes a dashboard set.",
      "type": "string"
    },
    "uiConfig": {
      "description": "JSON that contains user interface options.",
      "type": "object"
    }
  },
  "required": [
    "providerId",
    "providerName",
    "providerVersion",
    "tiles",
    "displayName",
    "description",
    "compartmentId",
    "isOobDashboard",
    "isShowInHome",
    "metadataVersion",
    "isShowDescription",
    "screenImage",
    "nls",
    "uiConfig",
    "dataConfig",
    "type",
    "isFavorite"
  ],
  "type": "object",
  "$defs": {
    "ManagementDashboardTileDetails": {
      "description": "Properties of the dashboard tile representing a saved search.  \nTiles are laid out in a twelve column grid system with (0,0) at upper left corner.\n",
      "properties": {
        "column": {
          "description": "Tile's column number.",
          "type": "integer"
        },
        "dataConfig": {
          "description": "It defines how data is fetched. A functional saved search needs a valid dataConfig. See examples on how it can be constructed for various data sources.",
          "items": {
            "type": "object"
          },
          "type": "array"
        },
        "description": {
          "description": "Description of the tile.",
          "type": "string"
        },
        "displayName": {
          "description": "Display name of the saved search.",
          "type": "string"
        },
        "drilldownConfig": {
          "description": "Drill-down configuration to define the destination of a drill-down action.",
          "type": "object"
        },
        "height": {
          "description": "The number of rows the tile occupies.",
          "type": "integer"
        },
        "nls": {
          "description": "JSON that contains internationalization options.",
          "type": "object"
        },
        "parametersMap": {
          "description": "Specifies the saved search parameters values",
          "type": "object"
        },
        "row": {
          "description": "Tile's row number.",
          "type": "integer"
        },
        "savedSearchId": {
          "description": "ID of the saved search.",
          "type": "string"
        },
        "state": {
          "description": "Current state of the saved search.",
          "enum": [
            "DELETED",
            "UNAUTHORIZED",
            "DEFAULT"
          ],
          "type": "string"
        },
        "uiConfig": {
          "description": "It defines the visualization type of the widget saved search, the UI options of that visualization type, the binding of data to the visualization.",
          "type": "object"
        },
        "width": {
          "description": "The number of columns the tile occupies.",
          "type": "integer"
        }
      },
      "required": [
        "displayName",
        "savedSearchId",
        "row",
        "column",
        "height",
        "width",
        "nls",
        "uiConfig",
        "dataConfig",
        "state",
        "drilldownConfig"
      ],
      "type": "object"
    }
  }
}