/ storage / app / schemas / EVIDENCES.json
EVIDENCES.json
  1  {
  2      "$schema": "http://json-schema.org/draft-07/schema",
  3      "$id": "http://example.com/example.json",
  4      "type": "object",
  5      "title": "List of evidences",
  6      "description": "During the evaluation of a product, numerous different pieces of evidence are received. These evidences are very important to know the input that has been used in each of the work units carried out by the evaluator.",
  7      "default": {},
  8      "examples": [
  9          {
 10              "information": {
 11                  "dossierCode": "2021-001",
 12                  "projectCode": "CC_MANUFACTURER_PROJECT"
 13              },
 14              "evidences": [
 15                  {
 16                      "type": "ASE",
 17                      "code": "ST-10",
 18                      "name": "Security Target",
 19                      "version": "1.0",
 20                      "path": "/ASE/STv1.0.pdf",
 21                      "sha256Checksum": "c1060dc60ae50086adc622edfb8c27f83b520373c4ff458cd34d68a231a089e1"
 22                  },
 23                  {
 24                      "type": "AGD",
 25                      "code": "GUIDE-10",
 26                      "name": "Guide",
 27                      "version": "1.0",
 28                      "path": "/AGD/Guidev1.0.pdf",
 29                      "sha256Checksum": "a503bef86cbe0008ea70ba1d71ec3d888311ac03c3d8353929cb2d7efeec25d2"
 30                  }
 31              ]
 32          }
 33      ],
 34      "required": [
 35          "information",
 36          "evidences"
 37      ],
 38      "properties": {
 39          "information": {
 40              "$id": "#/properties/information",
 41              "type": "object",
 42              "title": "Information",
 43              "description": "The evaluation evidence does not only have to contain the tasks or information generated during the evaluation. It is necessary to specify to which dossier/project each JSON document belongs, as well as who was the author, reviewer… This section will include information necessary to contextualize the document.",
 44              "default": {},
 45              "examples": [
 46                  {
 47                      "dossierCode": "2021-001",
 48                      "projectCode": "CC_MANUFACTURER_PROJECT"
 49                  }
 50              ],
 51              "required": [
 52                  "dossierCode",
 53                  "projectCode"
 54              ],
 55              "properties": {
 56                  "dossierCode": {
 57                      "$id": "#/properties/information/properties/dossierCode",
 58                      "type": "string",
 59                      "title": "Dossier code",
 60                      "description": "CB code of the project.",
 61                      "default": "",
 62                      "examples": [
 63                          "2021-001"
 64                      ]
 65                  },
 66                  "projectCode": {
 67                      "$id": "#/properties/information/properties/projectCode",
 68                      "type": "string",
 69                      "title": "Project code",
 70                      "description": "ITSEF code of the project.",
 71                      "default": "",
 72                      "examples": [
 73                          "CC_MANUFACTURER_PROJECT"
 74                      ]
 75                  }
 76              },
 77              "additionalProperties": true
 78          },
 79          "evidences": {
 80              "$id": "#/properties/evidences",
 81              "type": "array",
 82              "title": "Documental evidences",
 83              "description": "During the evaluation of a product, in addition to the TOE (or related evidence), the manufacturer must send to the ITSEF certain documents that serve as input for resolving the work units of the different assurance typees.",
 84              "default": [],
 85              "examples": [
 86                  [
 87                      {
 88                          "type": "ASE",
 89                          "code": "ST-10",
 90                          "name": "Security Target",
 91                          "version": "1.0",
 92                          "path": "/ASE/STv1.0.pdf",
 93                          "sha256Checksum": "c1060dc60ae50086adc622edfb8c27f83b520373c4ff458cd34d68a231a089e1"
 94                      },
 95                      {
 96                          "type": "AGD",
 97                          "code": "GUIDE-10",
 98                          "name": "Guide",
 99                          "version": "1.0",
100                          "path": "/AGD/Guidev1.0.pdf",
101                          "sha256Checksum": "a503bef86cbe0008ea70ba1d71ec3d888311ac03c3d8353929cb2d7efeec25d2"
102                      }
103                  ]
104              ],
105              "additionalItems": true,
106              "items": {
107                  "$id": "#/properties/docEvidences/items",
108                  "type": "object",
109                  "default": {},
110                  "examples": [
111                      [
112                          {
113                              "type": "ASE",
114                              "code": "ST-10",
115                              "name": "Security Target",
116                              "version": "1.0",
117                              "path": "/ASE/STv1.0.pdf",
118                              "sha256Checksum": "c1060dc60ae50086adc622edfb8c27f83b520373c4ff458cd34d68a231a089e1"
119                          },
120                          {
121                              "type": "AGD",
122                              "code": "GUIDE-10",
123                              "name": "Guide",
124                              "version": "1.0",
125                              "path": "/AGD/Guidev1.0.pdf",
126                              "sha256Checksum": "a503bef86cbe0008ea70ba1d71ec3d888311ac03c3d8353929cb2d7efeec25d2"
127                          }
128                      ]
129                  ],
130                  "required": [
131                      "type",
132                      "code",
133                      "name",
134                      "version",
135                      "path",
136                      "sha256Checksum"
137                  ],
138                  "properties": {
139                      "type": {
140                          "$id": "#/properties/docEvidences/items/properties/type",
141                          "type": "string",
142                          "title": "Type",
143                          "description": "Assurance type for which this evidence was necessary.",
144                          "default": "",
145                          "examples": [
146                              "ASE"
147                          ]
148                      },
149                      "code": {
150                          "$id": "#/properties/docEvidences/items/properties/code",
151                          "type": "string",
152                          "title": "Code",
153                          "description": "This is the identifier of the evidence. When the evaluator wants to refer to the evidence in question, this reference should be used.",
154                          "default": "",
155                          "examples": [
156                              "ST-10"
157                          ]
158                      },
159                      "name": {
160                          "$id": "#/properties/docEvidences/items/properties/name",
161                          "type": "string",
162                          "title": "Name",
163                          "description": "Title of the document.",
164                          "default": "",
165                          "examples": [
166                              "Security Target"
167                          ]
168                      },
169                      "version": {
170                          "$id": "#/properties/docEvidences/items/properties/version",
171                          "type": "string",
172                          "title": "Version",
173                          "description": "Version of the document.",
174                          "default": "",
175                          "examples": [
176                              "1.0"
177                          ]
178                      },
179                      "path": {
180                          "$id": "#/properties/docEvidences/items/properties/path",
181                          "type": "string",
182                          "title": "Path",
183                          "description": "The evidence will be delivered in a package. This filed indicates where the evidence can be found within the package.",
184                          "default": "",
185                          "examples": [
186                              "/ASE/STv1.0.pdf"
187                          ]
188                      },
189                      "sha256Checksum": {
190                          "$id": "#/properties/docEvidences/items/properties/sha256Checksum",
191                          "type": "string",
192                          "title": "SHA256 Checksum",
193                          "description": "Checksum of the evidence calculated using SHA256. Useful to ensure that the evidence has not been altered since its delivery.",
194                          "pattern": "^[0-9A-Fa-f]{64}$",
195                          "default": "",
196                          "examples": [
197                              "c1060dc60ae50086adc622edfb8c27f83b520373c4ff458cd34d68a231a089e1"
198                          ]
199                      }
200                  },
201                  "additionalProperties": true
202              }
203          }
204      },
205      "additionalProperties": true
206  }