Browse Source

Minor tweaks for JSON schema regeneration PR (#1087)

pull/1088/head
Philipp Oppermann GitHub 6 months ago
parent
commit
425d8a2be9
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      .github/workflows/regenerate-schemas.yml
  2. +2
    -2
      libraries/core/dora-schema.json

+ 2
- 2
.github/workflows/regenerate-schemas.yml View File

@@ -32,9 +32,9 @@ jobs:
git add libraries/core/dora-schema.json
git config user.email "dora-bot@phil-opp.com"
git config user.name "Dora Bot"
git commit -m "Update JSON schema for \`dora-core\`"
git commit -m "Update JSON schema for ${{ github.sha }}"
git push -u origin HEAD
git fetch origin main
gh pr create --fill
gh pr create --title "Update JSON schema for \`dora-core\`" --body "Update JSON schema for ${{ github.sha }}"
fi

+ 2
- 2
libraries/core/dora-schema.json View File

@@ -1,7 +1,7 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "dora-rs specification",
"description": "The main configuration structure for defining a Dora dataflow. Dataflows are\nspecified through YAML files that describe the nodes, their connections, and\nexecution parameters.\n\n## Structure\n\nA dataflow consists of:\n- **Nodes**: The computational units that process data\n- **Communication**: Optional communication configuration\n- **Deployment**: Optional deployment configuration (unstable)\n- **Debug options**: Optional development and debugging settings (unstable)\n\n## Example\n\n```yaml\nnodes:\n - id: webcam\n operator:\n python: webcam.py\n inputs:\n tick: dora/timer/millis/100\n outputs:\n - image\n - id: plot\n operator:\n python: plot.py\n inputs:\n image: webcam/image\n```",
"description": "main configuration structure for defining a Dora dataflow. Dataflows are\nspecified through YAML files that describe the nodes, their connections, and\nexecution parameters.\n\n## Structure\n\nA dataflow consists of:\n- **Nodes**: The computational units that process data\n- **Communication**: Optional communication configuration\n- **Deployment**: Optional deployment configuration (unstable)\n- **Debug options**: Optional development and debugging settings (unstable)\n\n## Example\n\n```yaml\nnodes:\n - id: webcam\n operator:\n python: webcam.py\n inputs:\n tick: dora/timer/millis/100\n outputs:\n - image\n - id: plot\n operator:\n python: plot.py\n inputs:\n image: webcam/image\n```",
"type": "object",
"properties": {
"nodes": {
@@ -627,4 +627,4 @@
]
}
}
}
}

Loading…
Cancel
Save