Skip to content

Commit

Permalink
Updated according to review
Browse files Browse the repository at this point in the history
  • Loading branch information
Giovanni Garufi committed May 22, 2018
1 parent 5dd3fc0 commit bed0496
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions schema/sw.blueprint.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,18 @@
"type": "object",
"patternProperties": {
"^.*$": {
"type": "string",
"anyOf": [
{
"type": "string",
},
{
"type": "array",
"additionalItems": false,
"items": {
"type": "string"
}
}
]
}
}
},
Expand All @@ -28,7 +39,8 @@
"properties": {
"filename": {
"$id": "/properties/output/properties/filename",
"type": "string"
"type": "string",
"pattern": "/^(\\.\\.\/|[a-zA-Z0-9_\/\\-\\])*\\.[a-zA-Z0-9]+$/"
},
"template": {
"$id": "/properties/output/properties/template",
Expand All @@ -47,10 +59,12 @@
"$id": "/properties/output/properties/template/items/properties/data",
"type": "string"
}
}
},
"required": [ "name", "data" ]
}
}
}
},
"required": [ "properties", "template" ]
}
]
}
Expand Down

0 comments on commit bed0496

Please sign in to comment.