Merge "Restrict company end_date in schema for default data"

This commit is contained in:
Jenkins
2013-08-17 11:38:36 +00:00
committed by Gerrit Code Review
2 changed files with 3 additions and 2 deletions

View File

@@ -830,7 +830,7 @@
"companies": [
{
"company_name": "Cisco Systems",
"end_date": "01-Jan-2013"
"end_date": "2013-Jan-01"
},
{
"company_name": "PLUMgrid",

View File

@@ -31,7 +31,8 @@
"type": "string"
},
"end_date": {
"type": ["string", "null"]
"type": ["string", "null"],
"pattern": "20\\d{2}-\\w{3}-[0-3]\\d"
}
},
"additionalProperties": false