date
(YYYY-MM-DD).Key | Description | Type |
---|---|---|
identifiers | Fields that are set to identify member | string[] |
consents | Definition of available consents. Versions are now '' . | JSON Object |
languages | Languages set up in loyalty club | string[] |
default_language | Default language used in loyalty club and also used for mappings to Api v2 | string |
version | Version of schema, currently the newest is v2 | string |
products | Properties scoping and ordering by product name, default one is default | object |
required | Required properties for member | integer (timestamp) |
properties | Properties describing member | object |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"identifiers": ["email"],
"consents": {
"consent1": { "version": "", "required": true, "show_in_profile": true, "show_at_registration": true },
"consent2": { "version": "", "required": true, "show_in_profile": true, "show_at_registration": true }
},
"languages": ["en", "no"],
"default_language": "no",
"version": "v2",
"properties": {
"email": {
"type": "string",
"format": "email"
},
"first_name": {
"type": "string"
},
"last_name": {
"type": "string"
},
"birthday": {
"type": "string",
"format": "date"
},
"interests": {
"type": "array",
"items": {
"type": "string",
"enum": [
"bikes_and_cars",
"sportwear"
]
}
}
},
"required": [
"first_name",
"last_name",
"birthday"
]
}