Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions src/schema-validation.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -1211,9 +1211,6 @@
"externalSchema": ["gematik-test-patients.json"],
"unknownKeywords": ["existingJavaType"]
},
"grafana-dashboard-5.x.json": {
"externalSchema": ["base-04.json"]
},
"grunt-clean-task.json": {
"externalSchema": ["grunt-task.json"]
},
Expand Down
22 changes: 18 additions & 4 deletions src/schemas/json/grafana-dashboard-5.x.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://json.schemastore.org/grafana-dashboard-5.x.json",
"description": "JSON Schema for Grafana 5.x Dashboards (https://grafana.com/docs/grafana/latest/reference/dashboard/#dashboard-json)",
"id": "https://json.schemastore.org/grafana-dashboard-5.x.json",
"properties": {
"meta": {
"type": "object",
Expand All @@ -16,7 +16,14 @@
"properties": {
"id": {
"description": "unique numeric identifier for the dashboard. (generated by the db)",
"type": ["number", "null"]
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"uid": {
"description": "unique dashboard identifier that can be generated by anyone. string (8-40)",
Expand Down Expand Up @@ -177,7 +184,14 @@
},
"datasource": {
"description": "shows data source for the variables",
"type": ["string", "null"]
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"includeAll": {
"description": "whether all value option is available or not",
Expand Down
Loading