Under https://www.commonwl.org/v1.2/CommandLineTool.html#SchemaDefRequirement it says “type definitions are allowed for enum and record types only.” But the types parameter also allows array schemas.