| 1 | { |
| 2 | "id": "test_report", |
| 3 | "version": "0.1", |
| 4 | "title": "Example report spec", |
| 5 | "description": "This is a small test report which is used to ensure report_spec.py is working", |
| 6 | "attributes": [ |
| 7 | { |
| 8 | "description": "An attribute of type int", |
| 9 | "type": "int", |
| 10 | "id": "attribute1", |
| 11 | "name": "Attribute 1", |
| 12 | "format": "{:,d}" |
| 13 | }, |
| 14 | { |
| 15 | "description": "An attribute of type float", |
| 16 | "type": "float", |
| 17 | "id": "attribute2", |
| 18 | "name": "Attribute 2", |
| 19 | "format": "{p:5g} %" |
| 20 | }, |
| 21 | { |
| 22 | "description": "An attribute of type bool", |
| 23 | "type": "boolean", |
| 24 | "id": "attribute3", |
| 25 | "name": "Attribute 3" |
| 26 | }, |
| 27 | { |
| 28 | "description": "An attribute of type string", |
| 29 | "type": "string", |
| 30 | "id": "attribute4", |
| 31 | "name": "Attribute 4", |
| 32 | "format": null |
| 33 | } |
| 34 | ], |
| 35 | "tables": [ |
| 36 | { |
| 37 | "id": "table1", |
| 38 | "title": "Table 1", |
| 39 | "description": "The first table", |
| 40 | "columns": [ |
| 41 | { |
| 42 | "header": "Column 1", |
| 43 | "type": "int", |
| 44 | "id": "column1", |
| 45 | "description": "A column of type int", |
| 46 | "format": "{:d}" |
| 47 | } |
| 48 | ] |
| 49 | }, |
| 50 | { |
| 51 | "id": "table2", |
| 52 | "title": "Table 2", |
| 53 | "description": "The second table", |
| 54 | "columns": [ |
| 55 | { |
| 56 | "header": "Column 1", |
| 57 | "type": "float", |
| 58 | "id": "column1", |
| 59 | "description": "A column of type float", |
| 60 | "format": "{:.2f}" |
| 61 | }, |
| 62 | { |
| 63 | "header": "Column 2", |
| 64 | "type": "string", |
| 65 | "id": "column2", |
| 66 | "description": "A column of type str", |
| 67 | "format": null |
| 68 | } |
| 69 | ] |
| 70 | } |
| 71 | ], |
| 72 | "plotGroups": [ |
| 73 | { |
| 74 | "plots": [ |
| 75 | { |
| 76 | "description": "The first plot of the first plotgroup", |
| 77 | "title": "Plot 1", |
| 78 | "caption": "Plot 1", |
| 79 | "xlabel": "x variable", |
| 80 | "ylabel": "y variable", |
| 81 | "id": "plot1" |
| 82 | } |
| 83 | ], |
| 84 | "description": "The first plotgroup", |
| 85 | "legend": "legend1.png", |
| 86 | "id": "plotgroup1", |
| 87 | "title": "Plotgroup 1" |
| 88 | }, |
| 89 | { |
| 90 | "plots": [ |
| 91 | { |
| 92 | "description": "The first plot of the second plotgroup", |
| 93 | "title": "Plot 1", |
| 94 | "caption": "Plot 1", |
| 95 | "xlabel": "x variable", |
| 96 | "ylabel": "y variable", |
| 97 | "id": "plot1" |
| 98 | }, |
| 99 | { |
| 100 | "description": "The second plot of the second plotgroup", |
| 101 | "title": "Plot 2", |
| 102 | "caption": "Plot 2", |
| 103 | "xlabel": "x variable", |
| 104 | "ylabel": "y variable", |
| 105 | "id": "plot2" |
| 106 | } |
| 107 | ], |
| 108 | "description": "The second plotgroup", |
| 109 | "legend": "legend2.png", |
| 110 | "id": "plotgroup2", |
| 111 | "title": "Plotgroup 2" |
| 112 | } |
| 113 | ] |
| 114 | } |