File tree Expand file tree Collapse file tree 3 files changed +19
-13
lines changed Expand file tree Collapse file tree 3 files changed +19
-13
lines changed Original file line number Diff line number Diff line change @@ -286,7 +286,7 @@ $graph:
286
286
_id : sld:type
287
287
_type : " @vocab"
288
288
typeDSL : true
289
- refScope : 0
289
+ refScope : 2
290
290
doc : |
291
291
The field type
292
292
@@ -318,7 +318,7 @@ $graph:
318
318
_id : " sld:type"
319
319
_type : " @vocab"
320
320
typeDSL : true
321
- refScope : 0
321
+ refScope : 2
322
322
- name : " fields"
323
323
type : RecordField[]?
324
324
jsonldPredicate : " sld:fields"
@@ -346,7 +346,7 @@ $graph:
346
346
jsonldPredicate :
347
347
_id : " sld:extends"
348
348
_type : " @id"
349
- refScope : 0
349
+ refScope : 1
350
350
doc : |
351
351
Indicates that this record inherits fields from one or more base records.
352
352
@@ -377,7 +377,7 @@ $graph:
377
377
_id : " sld:type"
378
378
_type : " @vocab"
379
379
typeDSL : true
380
- refScope : 0
380
+ refScope : 2
381
381
- name : " symbols"
382
382
type : string[]
383
383
jsonldPredicate :
@@ -401,7 +401,7 @@ $graph:
401
401
jsonldPredicate :
402
402
_id : " sld:extends"
403
403
_type : " @id"
404
- refScope : 0
404
+ refScope : 1
405
405
doc : |
406
406
Indicates that this enum inherits symbols from a base enum.
407
407
@@ -420,7 +420,7 @@ $graph:
420
420
_id : " sld:type"
421
421
_type : " @vocab"
422
422
typeDSL : true
423
- refScope : 0
423
+ refScope : 2
424
424
- name : items
425
425
type :
426
426
- PrimitiveType
@@ -438,7 +438,7 @@ $graph:
438
438
jsonldPredicate :
439
439
_id : " sld:items"
440
440
_type : " @vocab"
441
- refScope : 0
441
+ refScope : 2
442
442
doc : " Defines the type of the array elements."
443
443
444
444
@@ -461,4 +461,4 @@ $graph:
461
461
_id : " sld:type"
462
462
_type : " @vocab"
463
463
typeDSL : true
464
- refScope : 0
464
+ refScope : 2
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ def get_metaschema():
94
94
"extends" : {
95
95
"@id" : "https://w3id.org/cwl/salad#extends" ,
96
96
"@type" : "@id" ,
97
- "refScope" : 0
97
+ "refScope" : 1
98
98
},
99
99
"fields" : "sld:fields" ,
100
100
"float" : "http://www.w3.org/2001/XMLSchema#float" ,
@@ -103,7 +103,7 @@ def get_metaschema():
103
103
"items" : {
104
104
"@id" : "https://w3id.org/cwl/salad#items" ,
105
105
"@type" : "@vocab" ,
106
- "refScope" : 0
106
+ "refScope" : 2
107
107
},
108
108
"jsonldPredicate" : "sld:jsonldPredicate" ,
109
109
"long" : "http://www.w3.org/2001/XMLSchema#long" ,
@@ -135,8 +135,8 @@ def get_metaschema():
135
135
"type" : {
136
136
"@id" : "https://w3id.org/cwl/salad#type" ,
137
137
"@type" : "@vocab" ,
138
- "typeDSL " : True ,
139
- "refScope " : 0
138
+ "refScope " : 2 ,
139
+ "typeDSL " : True
140
140
},
141
141
"typeDSL" : "https://w3id.org/cwl/salad#JsonldPredicate/typeDSL" ,
142
142
"xsd" : "http://www.w3.org/2001/XMLSchema#"
Original file line number Diff line number Diff line change @@ -172,6 +172,9 @@ def test_scoped_ref(self):
172
172
{'inputs' : [{
173
173
'id' : 'http://example2.com/#inp' ,
174
174
'type' : 'string'
175
+ }, {
176
+ 'id' : 'http://example2.com/#inp2' ,
177
+ 'type' : 'string'
175
178
}],
176
179
'outputs' : [{
177
180
'id' : 'http://example2.com/#out' ,
@@ -186,7 +189,10 @@ def test_scoped_ref(self):
186
189
'source' : 'http://example2.com/#inp'
187
190
}, {
188
191
'id' : 'http://example2.com/#step1/inp2' ,
189
- 'source' : 'http://example2.com/#inp'
192
+ 'source' : 'http://example2.com/#inp2'
193
+ }, {
194
+ 'id' : 'http://example2.com/#step1/inp3' ,
195
+ 'source' : ['http://example2.com/#inp' , 'http://example2.com/#inp2' ]
190
196
}],
191
197
"out" : ["http://example2.com/#step1/out" ],
192
198
}, {
You can’t perform that action at this time.
0 commit comments