1- # For syntax see: https://json-schema.org/understanding-json-schema/index.html
1+ # For syntax see: https://json-schema.org/understanding-json-schema
22# $schema: "https://json-schema.org/draft/2019-09/meta/core"
33$schema : " http://json-schema.org/draft-06/schema"
44description : PEtab parameter estimation problem config file schema
55
6+ definitions :
7+ list_of_files :
8+ type : array
9+ description : List of files.
10+ items :
11+ type : string
12+ description : File name or URL.
13+ version_number :
14+ type : string
15+ 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]*))?$
16+ description : Version number (corresponding to PEP 440).
17+
618properties :
719
820 format_version :
921 anyof :
10- - type : string
11- # (corresponding to PEP 440).
12- 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]*))?$
22+ - $ref : " #/definitions/version_number"
1323 - type : integer
14-
1524 description : Version of the PEtab format
1625
1726 parameter_file :
@@ -60,36 +69,20 @@ properties:
6069 additionalProperties : false
6170
6271 measurement_files :
63- type : array
6472 description : List of PEtab measurement files.
65-
66- items :
67- type : string
68- description : PEtab measurement file name or URL.
73+ $ref : " #/definitions/list_of_files"
6974
7075 condition_files :
71- type : array
7276 description : List of PEtab condition files.
73-
74- items :
75- type : string
76- description : PEtab condition file name or URL.
77+ $ref : " #/definitions/list_of_files"
7778
7879 observable_files :
79- type : array
8080 description : List of PEtab observable files.
81-
82- items :
83- type : string
84- description : PEtab observable file name or URL.
81+ $ref : " #/definitions/list_of_files"
8582
8683 visualization_files :
87- type : array
8884 description : List of PEtab visualization files.
89-
90- items :
91- type : string
92- description : PEtab visualization file name or URL.
85+ $ref : " #/definitions/list_of_files"
9386
9487 mapping_file :
9588 type : string
@@ -113,8 +106,7 @@ properties:
113106 Information on a specific extension
114107 properties :
115108 version :
116- type : string
117- 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]*))?$
109+ $ref : " #/definitions/version_number"
118110
119111 required :
120112 - version
0 commit comments