Skip to content

Commit 3c9316b

Browse files
committed
[Fix #742] Id, key and name refactor
Id is removed. Name remains mandatory and is clarified that should be unique. Key description is updated and becomes optional in all cases. Version is assumed to be latest if not specified Signed-off-by: Francisco Javier Tirado Sarti <[email protected]>
1 parent 3b6f976 commit 3c9316b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+28
-75
lines changed

.ci/validation/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export module SWSchemaValidator {
2525
addFormats(ajv)
2626

2727

28-
const workflowSchemaId = 'https://serverlessworkflow.io/schemas/0.8/workflow.json'
28+
const workflowSchemaId = 'https://serverlessworkflow.io/schemas/0.9/workflow.json'
2929
const schemaPath = '../../../schema'
3030
export const defaultEncoding = 'utf-8'
3131

examples/accumulate-room-readings.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"id": "roomreadings",
32
"name": "roomreadings",
43
"description": "Room Temp and Humidity Workflow",
54
"version": "1.0.0",

examples/applicant-request-decision.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"id": "applicantrequest",
32
"version": "1.0.0",
43
"specVersion": "0.8",
54
"name": "applicant-request-decision-workflow",

examples/async-function-invocation.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"id": "sendcustomeremail",
32
"version": "1.0.0",
43
"specVersion": "0.8",
54
"name": "send-customer-email-workflow",

examples/async-subflow-invocation.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"id": "onboardcustomer",
32
"version": "1.0.0",
43
"specVersion": "0.8",
54
"name": "onboard-customer",

examples/book-lending.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"id": "booklending",
32
"name": "booklending",
43
"description": "Book Lending Workflow",
54
"version": "1.0.0",

examples/car-vitals-checks-subflow.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"id": "vitalscheck",
32
"name": "vitalscheck",
43
"description": "Car Vitals Check",
54
"version": "1.0.0",

examples/car-vitals-checks.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"id": "checkcarvitals",
32
"name": "checkcarvitals",
43
"description": "Check Car Vitals Workflow",
54
"version": "1.0.0",

examples/check-inbox-periodically.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"id": "check-inbox",
32
"name": "check-inbox",
43
"version": "1.0.0",
54
"specVersion": "0.8",

examples/continuing-as-a-new-execution.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"id": "notifycustomerworkflow",
32
"name": "notifycustomerworkflow",
43
"description": "Notify Customer",
54
"version": "1.0.0",

0 commit comments

Comments
 (0)