Skip to content

Commit

Permalink
add proper links between base schema and other schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
wkerzendorf committed Jul 18, 2018
1 parent 54c3b34 commit 7013545
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/configuration/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,8 @@ override then the defaults.
Spectrum
--------

.. jsonschema:: schemas/spectrum.yml

Start and end are given as Quantities with units. If they are given in
frequency space they are switched around if necessary. The number of bins is
just an integer. Finally, the method option selects the final spectral synthesis mode. Currently, there are three options:
Expand All @@ -165,4 +167,3 @@ just an integer. Finally, the method option selects the final spectral synthesis
interaction mode. Note also the limitations listed at the bottom of the
dedicated page.

.. jsonschema:: schemas/spectrum.yml
File renamed without changes.
3 changes: 3 additions & 0 deletions tardis/io/schemas/base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,13 @@ properties:
description: path or filename to the Atomic Data HDF5 file
plasma:
$ref: plasma.yml
description: configuration of the plasma microphysics
model:
$ref: model.yml
description: defining the model
montecarlo:
$ref: montecarlo.yml
description: configuring the physics of the monte carlo radiative transfer
spectrum:
$ref: spectrum.yml
description: Final spectrum sampling
Expand Down
1 change: 1 addition & 0 deletions tardis/io/schemas/model.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
$$target: model.yml
type: object
additionalProperties: false
properties:
Expand Down
1 change: 1 addition & 0 deletions tardis/io/schemas/montecarlo.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
$$target: montecarlo.yml
type: object
additionalProperties: false
properties:
Expand Down
1 change: 1 addition & 0 deletions tardis/io/schemas/plasma.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
$$target: plasma.yml
type: object
additionalProperties: false
properties:
Expand Down
1 change: 1 addition & 0 deletions tardis/io/schemas/spectrum.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
$$target: spectrum.yml
type: object
properties:
start:
Expand Down
1 change: 1 addition & 0 deletions tardis/io/schemas/supernova.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
$$target: supernova.yml
type: object
additionalProperties: false
properties:
Expand Down

0 comments on commit 7013545

Please sign in to comment.