specification icon indicating copy to clipboard operation
specification copied to clipboard

Improve JSON Schema compatibility

Open JBBianchi opened this issue 7 months ago • 3 comments

Notes The schema in JSON format has been temporarily added. This allows some tools to use the JSON version as it's not accessible elsewhere otherwise.

Please specify parts of this PR update:

  • [ ] Specification
  • [x] Schema
  • [ ] Examples
  • [ ] Extensions
  • [ ] Use Cases
  • [ ] Community
  • [ ] CTK
  • [ ] Other

Discussion or Issue link:

https://github.com/serverlessworkflow/specification/discussions/1093

What this PR does:

  • use allOf instead of a combination of $ref and properties for inheritance.
  • bump to version 1.0.1

Additional information:

JBBianchi avatar Apr 30 '25 09:04 JBBianchi

@ricardozanini The new schema is already incorporated to the latest version of the SDK https://github.com/serverlessworkflow/sdk-java/pull/567

fjtirado avatar Apr 30 '25 15:04 fjtirado

@JBBianchi can we have a script to translate from YAML to JSON as part of this PR? We can create one under the hack or scripts directory. This way we keep the JSON generation from YAML idempotent.

I forgot to remove the JSON file altogether. I would rather keep only the YAML file in this repo, and build a pipeline to update the website with both YAML and JSON. WDYT ?

JBBianchi avatar May 01 '25 07:05 JBBianchi

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Jun 16 '25 00:06 github-actions[bot]

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Aug 01 '25 00:08 github-actions[bot]

@JBBianchi Could you please fix conflicts so that we can merge?

cdavernas avatar Aug 30 '25 17:08 cdavernas