Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dast_profile_schedule_cadence.json « json_schemas « validators « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5583acfa5af5f7fe2c0b68c3f7bad20b0efec849 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "description": "Dast profile schedule cadence schema",
  "type": "object",
  "anyOf": [
    {
      "properties": {
        "unit": { "enum": ["day"] },
        "duration": { "enum": [1] }
      }
    },
    {
      "properties": {
        "unit": { "enum": ["week"] },
        "duration": { "enum": [1] }
      }
    },
    {
      "properties": {
        "unit": { "enum": ["month"] },
        "duration": { "enum": [1, 3 ,6] }
      }
    },
    {
      "properties": {
        "unit": { "enum": ["year"] },
        "duration": { "enum": [1] }
      }
    }
  ]
}