32 lines
627 B
JSON
32 lines
627 B
JSON
{
|
|
"$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] }
|
|
}
|
|
}
|
|
]
|
|
}
|