# Split nextflow\_schema.json into several files

**URL:** <https://community.seqera.io/t/split-nextflow-schema-json-into-several-files/1634>\
**Category:** Ask for help\
**Tags:** nextflow, platform\
**Created:** [January 21, 2025, 11:08pm UTC](https://community.seqera.io/t/split-nextflow-schema-json-into-several-files/1634 "2025-01-21T23:08:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sstrong99](https://dub1.discourse-cdn.com/flex013/user_avatar/community.seqera.io/sstrong99/32/188_2.png) [@sstrong99](https://community.seqera.io/u/sstrong99)\
**Post date:** [January 21, 2025, 11:08pm UTC](https://community.seqera.io/t/split-nextflow-schema-json-into-several-files/1634/1 "2025-01-21T23:08:28Z")

</div>

I am trying to split the nextflow\_schema.json file into several files to make them easier to maintain, and to be able to share them across several pipelines? When I try doing something along these lines

```auto
    "allOf": [
        {
            "$ref": "file:shared_schema.json#reference_genome_options"
        },
        ...
    ]

```

It seems to work when running locally, but in Seqera Platform the options contained in the other file don’t show up on the launch page. Is what i’m trying to do supported?

---

<div class="post-metadata">

**Author:** ![ewels](https://dub1.discourse-cdn.com/flex013/user_avatar/community.seqera.io/ewels/32/1_2.png) [@ewels](https://community.seqera.io/u/ewels)\
**Post date:** [January 21, 2025, 11:28pm UTC](https://community.seqera.io/t/split-nextflow-schema-json-into-several-files/1634/2 "2025-01-21T23:28:31Z")

</div>

Hi @sstrong99,

No I’m afraid that it’s not. In fact it’s support when running locally is probably accidental, I’ve not heard of anyone doing this before.

Feel free to put in a feature request for this at [feedback.seqera.io](http://feedback.seqera.io) for support in Seqera Platform. There’s also a meta-issue in nf-core/tools to track support for new schema features in the nf-core ecosystem, so it could be good to create a new issue on nf-core/tools about this as well if you fancy:

> <https://github.com/nf-core/tools/issues/2429>
>
> Meta-task to track collection of issues which are all related to extending the s…pec for the Nextflow schema - primarily parameters, but should be taken into consideration for sample sheet schema as well, as we build out that stack.
> 
> \`\`\`\[tasklist\]
> \### Schema changes
> \- \[\] https://github.com/nf-core/tools/issues/2436
> \- \[\] https://github.com/nf-core/tools/issues/2784
> \- \[\] https://github.com/nf-core/tools/issues/1554
> \- \[\] https://github.com/nf-core/tools/issues/3392
> \- \[\] https://github.com/nf-core/tools/issues/2427
> \- \[\] https://github.com/nf-core/tools/issues/2428
> \- \[\] https://github.com/nf-core/tools/issues/3320
> \- \[\] https://github.com/nf-core/tools/issues/2453
> \- \[\] https://github.com/nf-core/tools/issues/3145
> \- \[\] https://github.com/nf-core/tools/issues/2527
> \- \[\] https://github.com/nf-core/tools/issues/2457
> \- \[\] https://github.com/nf-core/tools/issues/2654
> \- \[\] https://github.com/nf-core/tools/issues/2748
> \- \[\] https://github.com/nf-core/tools/issues/2463
> \- \[\] https://github.com/nf-core/website/issues/2015
> \`\`\`
> 
> These issues typically affect all of the following:
> 
> \`\`\`\[tasklist\]
> \### Tooling updates
> \- \[\] \`nf-core schema build\`
> \- \[\] \`nf-core schema lint\`
> \- \[\] #2463
> \- \[\] #2464
> \- \[\] https://github.com/nf-core/website/issues/2015
> \- \[\] Pipeline template validation code (\`nextflow run ... \` with the \[nf-validation\](https://github.com/nextflow-io/nf-validation) plugin)
> \- \[\] Pipeline template help text (\`nextflow run ... --help\` with the \[nf-validation\](https://github.com/nextflow-io/nf-validation) plugin)
> \`\`\`

Cheers,

Phil

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex013/user_avatar/community.seqera.io/system/32/2402_2.png) [@system](https://community.seqera.io/u/system)\
**Post date:** [January 28, 2025, 11:28pm UTC](https://community.seqera.io/t/split-nextflow-schema-json-into-several-files/1634/3 "2025-01-28T23:28:51Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
