description: "Schema for a minimal PEP" version: "2.1.0" properties: config: properties: name: type: string pattern: "^\\S*$" description: "Project name with no whitespace" pep_version: description: "Version of the PEP Schema this PEP follows" type: string sample_table: type: string description: "Path to the sample annotation table" subsample_table: type: string description: "Path to the subsample annotation table with one row per subsample and sample_name attribute matching an entry in the sample table" sample_table_index: type: string pattern: "^\\S*$" description: "Name of the column in sample table to use as an index. It's 'sample_name' by default" subsample_table_index: type: array items: type: string pattern: "^\\S*$" description: "Names of the columns in subsample table to use as an index. It's ['sample_name', 'subsample_name'] by default" sample_modifiers: type: object properties: append: type: object duplicate: type: object imply: type: array items: type: object properties: if: type: object then: type: object derive: type: object properties: attributes: type: array items: type: string sources: type: object project_modifiers: type: object properties: amend: description: "Object overwriting original project attributes" type: object import: description: "List of external PEP project config files to import" type: array items: type: string required: - pep_version samples: type: array items: type: object properties: sample_name: type: string pattern: "^\\S*$" description: "Unique name of the sample with no whitespace" required: - samples