Skip to content

Commit

Permalink
Make CWLType extend original sld:Type
Browse files Browse the repository at this point in the history
  • Loading branch information
GlassOfWhiskey committed Oct 7, 2023
1 parent 1d74a44 commit 514e2d9
Showing 1 changed file with 3 additions and 32 deletions.
35 changes: 3 additions & 32 deletions Base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,8 @@ $graph:

- name: CWLArraySchema
type: record
extends: sld:ArraySchema
fields:
type:
doc: "Must be `array`"
type:
type: enum
name: cwl_array_name
symbols:
- "sld:array"
jsonldPredicate:
_id: "sld:type"
_type: "@vocab"
typeDSL: true
refScope: 2
items:
type:
- PrimitiveType
Expand All @@ -54,15 +43,8 @@ $graph:

- name: CWLRecordField
type: record
extends: "sld:Documented"
doc: A field of a record.
extends: sld:RecordField
fields:
- name: name
type: string
jsonldPredicate: "@id"
doc: |
The name of the field
- name: type
type:
- PrimitiveType
Expand All @@ -87,19 +69,8 @@ $graph:
- name: CWLRecordSchema
type: record
extends: sld:RecordSchema
fields:
type:
doc: "Must be `record`"
type:
type: enum
name: cwl_record_name
symbols:
- "sld:record"
jsonldPredicate:
_id: "sld:type"
_type: "@vocab"
typeDSL: true
refScope: 2
fields:
type: CWLRecordField[]?
jsonldPredicate:
Expand Down

0 comments on commit 514e2d9

Please sign in to comment.