Skip to content

Commit 503ff8f

Browse files
committed
rename 'tool_type' field to 'implementations_description'
1 parent 51445c1 commit 503ff8f

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

hepdata/templates/analysis_schema.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"title": "HEPData analysis tool schema",
55
"description": "A JSON schema for tracking implementations of HEPData analyses in different tools",
66
"type": "object",
7-
"required": ["tool", "version", "tool_type", "url_templates", "analyses"],
7+
"required": ["tool", "version", "implementations_description", "url_templates", "analyses"],
88

99
"properties": {
1010
"tool": {
@@ -17,10 +17,9 @@
1717
"type": "string"
1818
},
1919

20-
"tool_type":{
21-
"description": "The type of the information provided for the analyses by the tool, see enum choices",
22-
"type": "string",
23-
"enum": ["Statistical model", "Simplified analysis"]
20+
"implementations_description":{
21+
"description": "The type of information provided for the analyses by the tool",
22+
"type": "string"
2423
},
2524

2625
"url_templates": {

tests/test_data/analysis_example.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"tool": "SModelS",
33
"version": "3.0.0",
4-
"tool_type": "Simplified analysis",
4+
"implementations_description": "SModelS analysis",
55
"url_templates": {
66
"main_url": "https://github.com/SModelS/smodels-database-release/tree/main/{path}",
77
"val_url": "https://smodels.github.io/docs/Validation#{name}_ul"

0 commit comments

Comments
 (0)