From 47850279bbe6d1cb5d5930caecc68243b8aa734e Mon Sep 17 00:00:00 2001 From: Daniel Weindl Date: Fri, 18 Jul 2025 13:12:17 +0200 Subject: [PATCH] v2: Change `parameter_file` to `parameter_files` In the PEtab v2 yaml schema, let's change `parameter_file` to `parameter_files` and always require a list for consistency with how other tables are handled. --- doc/v2/_static/petab_schema_v2.yaml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/doc/v2/_static/petab_schema_v2.yaml b/doc/v2/_static/petab_schema_v2.yaml index 77f29ab6..c0e315f2 100644 --- a/doc/v2/_static/petab_schema_v2.yaml +++ b/doc/v2/_static/petab_schema_v2.yaml @@ -14,14 +14,15 @@ properties: description: Version of the PEtab format - parameter_file: - oneOf: - - type: string - - type: array + parameter_files: + type: array description: | - 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. + List of PEtab parameter files. + + items: + type: string + description: | + File name (absolute or relative) or URL to a PEtab parameter table. model_files: type: object