{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/chronosphere/main/json-schema/chronosphere-configv1-list-dashboards-response-schema.json",
  "title": "configv1ListDashboardsResponse",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/chronosphere-dashboard-api-openapi.yml#/components/schemas/configv1ListDashboardsResponse",
  "properties": {
    "dashboards": {
      "items": {
        "$ref": "#/$defs/configv1Dashboard"
      },
      "type": "array"
    },
    "page": {
      "$ref": "#/$defs/configv1PageResult"
    }
  },
  "type": "object",
  "$defs": {
    "configv1CollectionReference": {
      "properties": {
        "slug": {
          "type": "string"
        },
        "type": {
          "$ref": "#/$defs/configv1CollectionReferenceType"
        }
      },
      "type": "object"
    },
    "configv1CollectionReferenceType": {
      "enum": [
        "SIMPLE",
        "SERVICE"
      ],
      "title": "Type values must match entitiespb.Collection.CollectionType.",
      "type": "string"
    },
    "configv1Dashboard": {
      "properties": {
        "collection": {
          "allOf": [
            {
              "$ref": "#/$defs/configv1CollectionReference"
            }
          ],
          "description": "Collection that the dashboard belongs to. Required if `collection_slug` is not\nset."
        },
        "collection_slug": {
          "description": "Optional. Slug of the collection the dashboard belongs to.",
          "type": "string"
        },
        "created_at": {
          "description": "Timestamp of when the Dashboard was created. Cannot be set by clients.",
          "format": "date-time",
          "readOnly": true,
          "type": "string"
        },
        "dashboard_json": {
          "description": "Raw JSON representation that defines the structure of the dashboard.",
          "type": "string"
        },
        "labels": {
          "additionalProperties": {
            "type": "string"
          },
          "description": "Optional. Defines tags that add metadata about the dashboard.",
          "type": "object"
        },
        "name": {
          "description": "The name of the Dashboard. You can modify this value after the Dashboard is created.",
          "type": "string"
        },
        "slug": {
          "description": "The unique identifier of the Dashboard. If a `slug` isn't provided, one is generated based on the `name` field. You can't modify this field after the Dashboard is created.",
          "type": "string"
        },
        "updated_at": {
          "description": "Timestamp of when the Dashboard was last updated. Cannot be set by clients.",
          "format": "date-time",
          "readOnly": true,
          "type": "string"
        }
      },
      "required": [
        "name"
      ],
      "type": "object"
    },
    "configv1PageResult": {
      "properties": {
        "next_token": {
          "description": "An opaque page token that identifies the next page of items that the\nclient should request. An empty value indicates that there are no\nmore items to return.",
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}