2016-10-25 14:53:31 +01:00
|
|
|
"""
|
|
|
|
|
Definitions are intended for schema definitions that are not likely to change from version to version.
|
|
|
|
|
If the definition is specific to a version put it in a definition file in the version package
|
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
uuid = {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$",
|
2016-11-10 16:30:51 +00:00
|
|
|
"validationMessage": "is not a valid UUID",
|
2016-10-25 14:53:31 +01:00
|
|
|
"code": "1001", # yet to be implemented
|
|
|
|
|
"link": "link to our error documentation not yet implemented"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
personalisation = {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"validationMessage": "should contain key value pairs",
|
|
|
|
|
"code": "1001", # yet to be implemented
|
|
|
|
|
"link": "link to our error documentation not yet implemented"
|
|
|
|
|
}
|