{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/chronosphere/main/json-schema/chronosphere-configv1-create-dashboard-request-schema.json", "title": "configv1CreateDashboardRequest", "x-generated": "2026-10-03", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/chronosphere-dashboard-api-openapi.yml#/components/schemas/configv1CreateDashboardRequest", "properties": { "dashboard": { "allOf": [ { "$ref": "#/$defs/configv1Dashboard" } ], "description": "The Dashboard to create." }, "dry_run": { "description": "If `true`, validates the specified configuration without creating the Dashboard. If the specified configuration is valid, the endpoint returns a partial response without the Dashboard. If the specified configuration is invalid, the endpoint returns an error.", "type": "boolean" } }, "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" } } }