Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: awgymer <[email protected]>
  • Loading branch information
nvnieuwk and awgymer authored Mar 20, 2024
1 parent 2b16bd2 commit cc3edf7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/nextflow_schema/nextflow_schema_examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ It is used as a test fixture in the nf-schemakage [here](https://github.com/next

!!! note

More examples can be found in the plugin [`testResources` directory](https://github.com/nextflow-io/nf-schemab/master/plugins/nf-snf-schematResources/).
More examples can be found in the plugin [`testResources` directory](https://github.com/nextflow-io/nf-schema/blob/master/plugins/nf-schema/src/testResources/).

```json
--8<-- "plugins/nf-schema/testResources/nextflow_schema.json"
Expand Down
4 changes: 2 additions & 2 deletions docs/nextflow_schema/sample_sheet_schema_specification.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Schema specification for sample sheet validation

# Sample sheet schema specification

Sample sheet schema files are used by the nf-schemagin for validation of sample sheet contents and type conversion / channel generation.
Sample sheet schema files are used by the nf-schema plugin for validation of sample sheet contents and type conversion / channel generation.

The Nextflow schema syntax is based on the JSON schema standard.
You can find more information about JSON Schema here:
Expand Down Expand Up @@ -94,4 +94,4 @@ For example:
```

will convert the `field` value to a meta value, resulting in the channel `[[id:value]...]`
See [here](https://github.com/nextflow-io/nf-schemab/ce3aef60e5103ea4798375fe6c59bae41b7d2a25/plugins/nf-scheschemctResources/schema_input.json#L10-L25) for an example in the sample sheet.
See [here](https://github.com/nextflow-io/nf-schema/blob/ce3aef60e5103ea4798375fe6c59bae41b7d2a25/plugins/nf-schema/src/testResources/schema_input.json#L10-L25) for an example in the sample sheet.
2 changes: 1 addition & 1 deletion docs/schema_input.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/nextflow-io/nf-schemater/plugins/nf-snf-schematResources/schema_input.json",
"$id": "https://raw.githubusercontent.com/nextflow-io/nf-schema/master/plugins/nf-schema/src/testResources/schema_input.json",
"title": "Samplesheet validation schema",
"description": "Schema for the samplesheet used in this pipeline",
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/nf-schemample/master/assets/schema_input.json",
"title": "nf-schemample - params.input schema",
"$id": "https://raw.githubusercontent.com/nf-schema/example/master/assets/schema_input.json",
"title": "nf-schema example - params.input schema",
"description": "Schema for the file provided with params.input",
"type": "array",
"items": {
Expand Down

0 comments on commit cc3edf7

Please sign in to comment.