From 799f1210e7b3d6c3775cedcfcbdb289bed716f27 Mon Sep 17 00:00:00 2001 From: Jonathan Oliveros Date: Thu, 18 Apr 2024 15:14:06 -0600 Subject: [PATCH 1/3] Add processStepReport class and example --- examples/processStepReport.json | 5 +++++ schema/processStepReport.json | 22 ++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 examples/processStepReport.json create mode 100644 schema/processStepReport.json diff --git a/examples/processStepReport.json b/examples/processStepReport.json new file mode 100644 index 0000000..99dfb64 --- /dev/null +++ b/examples/processStepReport.json @@ -0,0 +1,5 @@ +{ + "name": "process step report name", + "description": "process step report description", + "fileType": "process step report file type" +} \ No newline at end of file diff --git a/schema/processStepReport.json b/schema/processStepReport.json new file mode 100644 index 0000000..2dbc2f5 --- /dev/null +++ b/schema/processStepReport.json @@ -0,0 +1,22 @@ +{ + "id": "processStepReport.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "description": "Information on the history of the resource.", + "example": "../examples/processStepReport.json", + "required": ["name"], + "properties": { + "name": { + "type": "string", + "description": "name of the processing report" + }, + "description": { + "type": "string", + "description": "textual description of what occurred during the process step" + }, + "fileType": { + "type": "string", + "description": "type of file that contains the processing report" + } + } +} \ No newline at end of file From 97efebe233c8512ad64d36f9d138bc55c619eaa9 Mon Sep 17 00:00:00 2001 From: Jonathan Oliveros Date: Thu, 18 Apr 2024 15:15:21 -0600 Subject: [PATCH 2/3] Update description --- schema/processStepReport.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schema/processStepReport.json b/schema/processStepReport.json index 2dbc2f5..b8ac019 100644 --- a/schema/processStepReport.json +++ b/schema/processStepReport.json @@ -2,7 +2,7 @@ "id": "processStepReport.json#", "$schema": "http://json-schema.org/draft-04/schema#", "type": "object", - "description": "Information on the history of the resource.", + "description": "report of what occurred during the process step", "example": "../examples/processStepReport.json", "required": ["name"], "properties": { From e24ab905ed9b2e18fbe001b85f468b6107e60c08 Mon Sep 17 00:00:00 2001 From: Jonathan Oliveros Date: Mon, 22 Apr 2024 11:43:34 -0600 Subject: [PATCH 3/3] change example to be within an array --- examples/processStepReport.json | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/examples/processStepReport.json b/examples/processStepReport.json index 99dfb64..7942e16 100644 --- a/examples/processStepReport.json +++ b/examples/processStepReport.json @@ -1,5 +1,7 @@ -{ - "name": "process step report name", - "description": "process step report description", - "fileType": "process step report file type" -} \ No newline at end of file +[ + { + "name": "process step report name", + "description": "process step report description", + "fileType": "process step report file type" + } +] \ No newline at end of file