Merge "Restrict company end_date in schema for default data"
This commit is contained in:
@@ -830,7 +830,7 @@
|
||||
"companies": [
|
||||
{
|
||||
"company_name": "Cisco Systems",
|
||||
"end_date": "01-Jan-2013"
|
||||
"end_date": "2013-Jan-01"
|
||||
},
|
||||
{
|
||||
"company_name": "PLUMgrid",
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user