Restrict company end_date in schema for default data
Change-Id: I806813b8c750c621add23f2c63c685134a2a77b4
This commit is contained in:
parent
0afdc64bfd
commit
d7b235144e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user