Skip to content

Commit b1a7afd

Browse files
Merge pull request #42 from NIEHS/41-post-action-logger---add-action-to-log-status-after-workflow-completion
41 post action logger add action to log status after workflow completion
2 parents 7588770 + eb5bf84 commit b1a7afd

27 files changed

+1202
-997
lines changed

accelerator_core/schema/accel-schema-v1.0.0.json

Lines changed: 0 additions & 647 deletions
This file was deleted.

accelerator_core/schema/accel-schema-v1.0.1.json renamed to accelerator_core/schema/accel-schema-v1.0.2.json

Lines changed: 55 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@
8080
},
8181
"required": [
8282
"project_code",
83-
"project_name",
84-
"project_short_name"
83+
"project_name"
84+
8585
]
8686
},
8787
"resource": {
@@ -145,11 +145,7 @@
145145
"license_uri": {
146146
"type": "string"
147147
}
148-
},
149-
"required": [
150-
"license_name",
151-
"license_uri"
152-
]
148+
}
153149
},
154150
"resource_reference": {
155151
"type": "array",
@@ -163,11 +159,8 @@
163159
"resource_reference_link": {
164160
"type": "string"
165161
}
166-
},
167-
"required": [
168-
"resource_reference_text",
169-
"resource_reference_link"
170-
]
162+
}
163+
171164
}
172165
]
173166
},
@@ -183,11 +176,7 @@
183176
"resource_use_agreement_link": {
184177
"type": "string"
185178
}
186-
},
187-
"required": [
188-
"resource_use_agreement_text",
189-
"resource_use_agreement_link"
190-
]
179+
}
191180
}
192181
]
193182
},
@@ -203,11 +192,7 @@
203192
"citation_link": {
204193
"type": "string"
205194
}
206-
},
207-
"required": [
208-
"citation",
209-
"citation_link"
210-
]
195+
}
211196
}
212197
]
213198
},
@@ -252,12 +237,7 @@
252237
}
253238
},
254239
"required": [
255-
"name",
256-
"affiliation",
257-
"role",
258-
"email",
259-
"identifier",
260-
"identifier_type"
240+
"name"
261241
]
262242
}
263243
]
@@ -346,11 +326,7 @@
346326
"data_location_link": {
347327
"type": "string"
348328
}
349-
},
350-
"required": [
351-
"data_location_text",
352-
"data_location_link"
353-
]
329+
}
354330
}
355331
]
356332
},
@@ -626,11 +602,7 @@
626602
"tool_link": {
627603
"type": "string"
628604
}
629-
},
630-
"required": [
631-
"tool_text",
632-
"tool_link"
633-
]
605+
}
634606
}
635607
]
636608
},
@@ -646,11 +618,7 @@
646618
"tool_link": {
647619
"type": "string"
648620
}
649-
},
650-
"required": [
651-
"tool_text",
652-
"tool_link"
653-
]
621+
}
654622
}
655623
]
656624
}
@@ -660,7 +628,14 @@
660628
"required": [
661629
"program",
662630
"project",
663-
"resource"
631+
"resource",
632+
"personnel",
633+
"data_resource",
634+
"data_usage",
635+
"temporal_data",
636+
"population_data",
637+
"geospatial_data",
638+
"computational_workflow"
664639
]
665640
},
666641
"technical_metadata": {
@@ -675,14 +650,20 @@
675650
"verified": {
676651
"type": "string"
677652
},
653+
"target_schema_type": {
654+
"type": "string"
655+
},
656+
"target_schema_version": {
657+
"type": "string"
658+
},
678659
"original_source_type": {
679660
"type": "string"
680661
},
681662
"original_source_identifier": {
682663
"type": "string"
683664
},
684665
"original_source_link": {
685-
"type": ["string", "null"]
666+
"type": "string"
686667
},
687668
"history": {
688669
"type": "array",
@@ -703,16 +684,41 @@
703684
]
704685
}
705686
]
687+
},
688+
"dissemination_endpoints": {
689+
"type": "array",
690+
"items": [
691+
{
692+
"type": "object",
693+
"properties": {
694+
"endpoint_type": {
695+
"type": "string"
696+
},
697+
"unique_identifier": {
698+
"type": "string"
699+
},
700+
"link": {
701+
"type": "string"
702+
},
703+
"date": {
704+
"type": "string"
705+
}
706+
},
707+
"required": [
708+
"endpoint_type",
709+
"date"
710+
]
711+
}
712+
]
706713
}
707714
},
708715
"required": [
709716
"created",
710-
"modified",
711-
"verified",
717+
"target_schema_type",
712718
"original_source_type",
713719
"original_source_identifier",
714-
715-
"history"
720+
"history",
721+
"dissemination_endpoints"
716722
]
717723
}
718724
},
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,8 @@
199199
"created": "",
200200
"modified": "",
201201
"verified": "",
202+
"target_schema_type": "",
203+
"target_schema_version": "",
202204
"original_source_type": "",
203205
"original_source_identifier": "",
204206
"original_source_link": "",
@@ -207,6 +209,15 @@
207209
"timestamp": "",
208210
"msg": ""
209211
}
212+
],
213+
"dissemination_endpoints": [
214+
{
215+
"endpoint_type": "",
216+
"unique_identifier": "",
217+
"link": "",
218+
"date": ""
219+
}
220+
210221
]
211222
}
212223
}

0 commit comments

Comments
 (0)