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",
|
2018-02-15 13:34:06 +00:00
|
|
|
"format": "validate_uuid",
|
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
|
2023-08-29 14:54:30 -07:00
|
|
|
"link": "link to our error documentation not yet implemented",
|
2018-10-30 16:26:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
nullable_uuid = {
|
|
|
|
|
"type": ["string", "null"],
|
|
|
|
|
"format": "validate_uuid",
|
|
|
|
|
"validationMessage": "is not a valid UUID",
|
|
|
|
|
"code": "1001", # yet to be implemented
|
2023-08-29 14:54:30 -07:00
|
|
|
"link": "link to our error documentation not yet implemented",
|
2016-10-25 14:53:31 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
personalisation = {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"code": "1001", # yet to be implemented
|
2023-08-29 14:54:30 -07:00
|
|
|
"link": "link to our error documentation not yet implemented",
|
2016-10-25 14:53:31 +01:00
|
|
|
}
|
2017-06-15 11:32:51 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
https_url = {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"format": "uri",
|
|
|
|
|
"pattern": "^https.*",
|
|
|
|
|
"validationMessage": "is not a valid https url",
|
|
|
|
|
"code": "1001", # yet to be implemented
|
2023-08-29 14:54:30 -07:00
|
|
|
"link": "link to our error documentation not yet implemented",
|
2017-06-15 11:32:51 +01:00
|
|
|
}
|