From 07d3764ea352d942c2df35631fd46708bd28345e Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Wed, 23 Jul 2025 13:35:51 +0200 Subject: [PATCH] Test --- .github/workflows/regenerate-schemas.yml | 2 +- libraries/core/dora-schema.json | 12 ++++-------- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/regenerate-schemas.yml b/.github/workflows/regenerate-schemas.yml index 1e08d8e6..de2a2c4f 100644 --- a/.github/workflows/regenerate-schemas.yml +++ b/.github/workflows/regenerate-schemas.yml @@ -2,7 +2,7 @@ name: Regenerate JSON schemas on: push: - branches: ["main"] + branches: ["main", "automate-schema-regenerate"] jobs: regenerate_schemas: diff --git a/libraries/core/dora-schema.json b/libraries/core/dora-schema.json index 5796c1df..6b4f6aa4 100644 --- a/libraries/core/dora-schema.json +++ b/libraries/core/dora-schema.json @@ -1,7 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "title": "dora-rs specification", - "description": "The main configuration structure for defining a Dora dataflow. Dataflows are specified through YAML files that describe the nodes, their connections, and execution parameters.\n\n## Structure\n\nA dataflow consists of: - **Nodes**: The computational units that process data - **Communication**: Optional communication configuration - **Deployment**: Optional deployment configuration (unstable) - **Debug options**: Optional development and debugging settings (unstable)\n\n## Example\n\n```yaml nodes: - id: webcam operator: python: webcam.py inputs: tick: dora/timer/millis/100 outputs: - image - id: plot operator: python: plot.py inputs: image: webcam/image ```", + "description": "main configuration structure for defining a Dora dataflow. Dataflows are specified through YAML files that describe the nodes, their connections, and execution parameters.\n\n## Structure\n\nA dataflow consists of: - **Nodes**: The computational units that process data - **Communication**: Optional communication configuration - **Deployment**: Optional deployment configuration (unstable) - **Debug options**: Optional development and debugging settings (unstable)\n\n## Example\n\n```yaml nodes: - id: webcam operator: python: webcam.py inputs: tick: dora/timer/millis/100 outputs: - image - id: plot operator: python: plot.py inputs: image: webcam/image ```", "type": "object", "required": [ "nodes" @@ -423,9 +423,7 @@ "required": [ "python" ], - "properties": { - - }, + "properties": {}, "additionalProperties": true } ], @@ -526,9 +524,7 @@ "required": [ "python" ], - "properties": { - - }, + "properties": {}, "additionalProperties": true } ], @@ -605,4 +601,4 @@ } } } -} \ No newline at end of file +}