Skip to content

Commit

Permalink
restore v1 schema
Browse files Browse the repository at this point in the history
  • Loading branch information
dweindl committed Dec 5, 2024
1 parent 01a4541 commit ce8b040
Showing 1 changed file with 5 additions and 42 deletions.
47 changes: 5 additions & 42 deletions doc/v1/_static/petab_schema_v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,8 @@ description: PEtab parameter estimation problem config file schema
properties:

format_version:
anyof:
- type: string
# (corresponding to PEP 440).
pattern: ^([1-9][0-9]*!)?(0|[1-9][0-9]*)(\.(0|[1-9][0-9]*))*((a|b|rc)(0|[1-9][0-9]*))?(\.post(0|[1-9][0-9]*))?(\.dev(0|[1-9][0-9]*))?$
- type: integer

description: Version of the PEtab format
type: integer
description: Version of the PEtab format (e.g. 1).

parameter_file:
oneOf:
Expand All @@ -22,6 +17,7 @@ properties:
File name (absolute or relative) or URL to PEtab parameter table
containing parameters of all models listed in `problems`. A single
table may be split into multiple files and described as an array here.
problems:
type: array
description: |
Expand All @@ -35,7 +31,7 @@ properties:
type: object
description: |
A set of PEtab model, condition, observable and measurement
files and optional visualization and time courses files.
files and optional visualization files.
properties:

sbml_files:
Expand Down Expand Up @@ -78,44 +74,11 @@ properties:
type: string
description: PEtab visualization file name or URL.

timecourse_files:
type: array
description: List of PEtab time courses files

items:
type: string
description: PEtab time courses file name or URL.

required:
- sbml_files
- observable_files
- measurement_files

extensions:
type: object
description: |
PEtab extensions being used.
patternProperties:
"^[a-zA-Z][\\-\\w]*$":

type: object
description: |
Information on a specific extension
properties:
version:
type: string
pattern: ^([1-9][0-9]*!)?(0|[1-9][0-9]*)(\.(0|[1-9][0-9]*))*((a|b|rc)(0|[1-9][0-9]*))?(\.post(0|[1-9][0-9]*))?(\.dev(0|[1-9][0-9]*))?$
required:
type: bool
description: |
Indicates whether the extension is required for the
mathematical interpretation of problem.
required:
- version
- required
additionalProperties: true

additionalProperties: false
- condition_files

required:
- format_version
Expand Down

0 comments on commit ce8b040

Please sign in to comment.