File tree Expand file tree Collapse file tree 6 files changed +214
-0
lines changed
docs/schemas/events/sequencerunmanager Expand file tree Collapse file tree 6 files changed +214
-0
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,24 @@ export const getEventSchemaStackProps = (): SchemaStackProps => {
22
22
docBase + '/sequencerunmanager/SequenceRunStateChange.schema.json'
23
23
) ,
24
24
} ,
25
+ {
26
+ ...defaultProps ,
27
+ schemaName : 'orcabus.sequencerunmanager@SequenceRunSampleSheetChange' ,
28
+ schemaDescription : 'Sample sheet change event for sequencing run by SequenceRunManager' ,
29
+ schemaLocation : path . join (
30
+ __dirname ,
31
+ docBase + '/sequencerunmanager/SequenceRunSampleSheetChange.schema.json'
32
+ ) ,
33
+ } ,
34
+ {
35
+ ...defaultProps ,
36
+ schemaName : 'orcabus.sequencerunmanager@SequenceRunLibraryLinkingChange' ,
37
+ schemaDescription : 'Library linking change event for sequencing run by SequenceRunManager' ,
38
+ schemaLocation : path . join (
39
+ __dirname ,
40
+ docBase + '/sequencerunmanager/SequenceRunLibraryLinkingChange.schema.json'
41
+ ) ,
42
+ } ,
25
43
{
26
44
...defaultProps ,
27
45
schemaName : 'orcabus.workflowmanager@WorkflowRunStateChange' ,
Original file line number Diff line number Diff line change 1
1
test :
2
2
@check-jsonschema --schemafile SequenceRunStateChange.schema.json example/SRSC__started.json
3
3
@check-jsonschema --schemafile SequenceRunStateChange.schema.json example/SRSC__succeeded.json
4
+ @check-jsonschema --schemafile SequenceRunSampleSheetChange.schema.json example/SRSSC.json
5
+ @check-jsonschema --schemafile SequenceRunLibraryLinkingChange.schema.json example/SRLLC.json
Original file line number Diff line number Diff line change
1
+ {
2
+ "$schema" : " http://json-schema.org/draft-04/schema#" ,
3
+ "$id" : " https://raw.githubusercontent.com/umccr/orcabus/main/docs/schemas/events/sequencerunmanager/SequenceRunLibraryLinkingChange.schema.json" ,
4
+ "description" : " EventBridge custom event schema for orcabus.sequencerunmanager@SequenceRunLibraryLinkingChange" ,
5
+ "title" : " AWSEvent" ,
6
+ "type" : " object" ,
7
+ "required" : [
8
+ " detail-type" ,
9
+ " detail" ,
10
+ " source"
11
+ ],
12
+ "properties" : {
13
+ "id" : {
14
+ "type" : " string"
15
+ },
16
+ "region" : {
17
+ "type" : " string"
18
+ },
19
+ "resources" : {
20
+ "type" : " array" ,
21
+ "items" : {
22
+ "type" : " string"
23
+ }
24
+ },
25
+ "source" : {
26
+ "type" : " string"
27
+ },
28
+ "time" : {
29
+ "type" : " string" ,
30
+ "format" : " date-time"
31
+ },
32
+ "version" : {
33
+ "type" : " string"
34
+ },
35
+ "account" : {
36
+ "type" : " string"
37
+ },
38
+ "detail-type" : {
39
+ "type" : " string"
40
+ },
41
+ "detail" : {
42
+ "$ref" : " #/definitions/SequenceRunLibraryLinkingChange"
43
+ }
44
+ },
45
+ "definitions" : {
46
+ "SequenceRunLibraryLinkingChange" : {
47
+ "type" : " object" ,
48
+ "required" : [
49
+ " instrumentRunId" ,
50
+ " sequenceRunId" ,
51
+ " sequenceRunOrcabusId" ,
52
+ " timeStamp" ,
53
+ " linkedLibraries"
54
+ ],
55
+ "properties" : {
56
+ "instrumentRunId" : {
57
+ "type" : " string"
58
+ },
59
+ "sequenceRunId" : {
60
+ "type" : " string"
61
+ },
62
+ "sequenceRunOrcabusId" : {
63
+ "type" : " string"
64
+ },
65
+ "timeStamp" : {
66
+ "type" : " string"
67
+ },
68
+ "linkedLibraries" : {
69
+ "type" : " array" ,
70
+ "items" : {
71
+ "type" : " string"
72
+ }
73
+ }
74
+ }
75
+ }
76
+ }
77
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "$schema" : " http://json-schema.org/draft-04/schema#" ,
3
+ "$id" : " https://raw.githubusercontent.com/umccr/orcabus/main/docs/schemas/events/sequencerunmanager/SequenceRunSampleSheetChange.schema.json" ,
4
+ "description" : " EventBridge custom event schema for orcabus.sequencerunmanager@SequenceRunSampleSheetChange" ,
5
+ "title" : " AWSEvent" ,
6
+ "type" : " object" ,
7
+ "required" : [
8
+ " detail-type" ,
9
+ " detail" ,
10
+ " source"
11
+ ],
12
+ "properties" : {
13
+ "id" : {
14
+ "type" : " string"
15
+ },
16
+ "region" : {
17
+ "type" : " string"
18
+ },
19
+ "resources" : {
20
+ "type" : " array" ,
21
+ "items" : {
22
+ "type" : " string"
23
+ }
24
+ },
25
+ "source" : {
26
+ "type" : " string"
27
+ },
28
+ "time" : {
29
+ "type" : " string" ,
30
+ "format" : " date-time"
31
+ },
32
+ "version" : {
33
+ "type" : " string"
34
+ },
35
+ "account" : {
36
+ "type" : " string"
37
+ },
38
+ "detail-type" : {
39
+ "type" : " string"
40
+ },
41
+ "detail" : {
42
+ "$ref" : " #/definitions/SequenceRunSampleSheetChange"
43
+ }
44
+ },
45
+ "definitions" : {
46
+ "SequenceRunSampleSheetChange" : {
47
+ "type" : " object" ,
48
+ "required" : [
49
+ " instrumentRunId" ,
50
+ " sequenceRunId" ,
51
+ " sequenceRunOrcabusId" ,
52
+ " timeStamp" ,
53
+ " sampleSheetName" ,
54
+ " samplesheetbase64gz"
55
+ ],
56
+ "properties" : {
57
+ "instrumentRunId" : {
58
+ "type" : " string"
59
+ },
60
+ "sequenceRunId" : {
61
+ "type" : " string"
62
+ },
63
+ "sequenceRunOrcabusId" : {
64
+ "type" : " string"
65
+ },
66
+ "timeStamp" : {
67
+ "type" : " string"
68
+ },
69
+ "sampleSheetName" : {
70
+ "type" : " string"
71
+ },
72
+ "samplesheetbase64gz" : {
73
+ "type" : " string"
74
+ }
75
+ }
76
+ }
77
+ }
78
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "version" : " 0" ,
3
+ "id" : " 12345678-90ab-cdef-1234-567890abcdef" ,
4
+ "detail-type" : " SequenceRunLibraryLinkingChange" ,
5
+ "source" : " orcabus.sequencerunmanager" ,
6
+ "account" : " 000000000000" ,
7
+ "time" : " 2025-03-00T00:00:00Z" ,
8
+ "region" : " ap-southeast-2" ,
9
+ "resources" : [],
10
+ "detail" : {
11
+ "instrumentRunId" : " 123456_A7890_1234_ABCDEFGH" ,
12
+ "sequenceRunId" : " r.1234567890abcdefghijklmn" ,
13
+ "sequenceRunOrcabusId" : " seq.1234567890ABCDEFGHIJKLMN" ,
14
+ "timeStamp" : " 2025-03-01T00:00:00.123456Z" ,
15
+ "linkedLibraries" : [
16
+ " L2000000" ,
17
+ " L2000001" ,
18
+ " L2000002"
19
+ ]
20
+ }
21
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "version" : " 0" ,
3
+ "id" : " 12345678-90ab-cdef-1234-567890abcdef" ,
4
+ "detail-type" : " SequenceRunSampleSheetChange" ,
5
+ "source" : " orcabus.sequencerunmanager" ,
6
+ "account" : " 000000000000" ,
7
+ "time" : " 2025-03-00T00:00:00Z" ,
8
+ "region" : " ap-southeast-2" ,
9
+ "resources" : [],
10
+ "detail" : {
11
+ "instrumentRunId" : " 123456_A7890_1234_ABCDEFGH" ,
12
+ "sequenceRunId" : " r.1234567890abcdefghijklmn" ,
13
+ "sequenceRunOrcabusId" : " seq.1234567890ABCDEFGHIJKLMN" ,
14
+ "timeStamp" : " 2025-03-01T00:00:00.123456Z" ,
15
+ "sampleSheetName" : " sampleSheet_v2.csv" ,
16
+ "samplesheetbase64gz" : " base64_encoded_samplesheet........"
17
+ }
18
+ }
You can’t perform that action at this time.
0 commit comments