Map<String, dynamic> toJson() => { 'instruction': instruction, if (hsi != null) 'hsi': hsi, if (schema != null) 'schema': schema, };