a facility is a place, building, piece of equipment etc. with a particular purpose. It can be a Branch, CDC, LOCAL, NATIONAL LOCKER...
If the conditions in the "If" tab are respected, then the conditions in the "Then" tab should be respected. Otherwise, the conditions in the "Else" tab should be respected.
"LOGISTIC"
logisticMethods is required when capabilities include LOGISTIC
If the conditions in the "If" tab are respected, then the conditions in the "Then" tab should be respected. Otherwise, the conditions in the "Else" tab should be respected.
[
"SERVICE_CENTER"
]
If the conditions in the "If" tab are respected, then the conditions in the "Then" tab should be respected. Otherwise, the conditions in the "Else" tab should be respected.
parent is now required
This object is used to describe some technical meta information related to the event
{
"source": "SPARK",
"version": "v1"
}
If the event header is not sent then by default it is produced by the opco and should be consumed both by Spark CX and Spark AX, but if the event source is SPARK, it will be consumed by Spark AX only
The version of the json format event
this field is intended to be the operating company's identifier of the facility
"B01234567"
This field allows to distinguish the different type of facilities: 1. CDC - the central distribution center, neither displayed nor could be selected on SPARK, 2. Branch - A store or a physical shop where PICK_UP could be done, In SPARK every account has a default branch and customer can change his branch, 3. National Locker - Have an independent address and could be selected as a facility on Spark and the fulfillment always is done from a CDC, 4. Local Locker - Attached to a branch and could not be selected as facility and the fulfillment could be done by both Branch and CDC
"BRANCH"
The list of organizations to which this ficility can be associated. Needed by OpCo organised with a regional model or commercial organisation. It will be used to filter store locator.
No Additional Items[
"org123",
"SNE",
"OVCA"
]
name of the Facility
{
"fr-BE": "Marché de gros Sonepar Connect Paris",
"nl-BE": "Groothandelsmarkt Sonepar Connect Parijs"
}
Each additional property must conform to the following schema
Type: stringthe description of the facility
{
"fr-BE": "Marché de gros Sonepar Connect avec service de coupe de câbles",
"nl-BE": "Sonepar Connect-groothandelsmarkt met kabelknipservice"
}
Each additional property must conform to the following schema
Type: stringA sub object that regroup contact informations
{
"phoneNumber": "01 44 52 03 41",
"faxNumber": "01 44 52 03 41",
"email": "contact@example.com"
}
this field is intended to be the phone of the facility
"01 44 52 03 41"
this field is intended to be the fax of the facility
"01 44 52 03 41"
this field is intended to be the email of the facility
"contact@example.com"
The address of a facility.
{
"addressLine1": {
"fr-BE": "Viale dell'Artigianato, 14",
"nl-BE": "14 straat de la République"
},
"postalcode": "12051",
"city": {
"fr-BE": "Bruges",
"nl-BE": "Brugge"
},
"region": {
"fr-BE": "Grand-Bigard",
"nl-BE": "Groot-Bijgaarden"
},
"country": "BEL"
}
According to ISO 19060, this field contains one third of the address. In most cases this usually contains the whole addres though.
{
"fr-BE": "14 rue de la République",
"nl-BE": "14 straat de la République"
}
Each additional property must conform to the following schema
Type: stringAccording to ISO 19060, this field contains one third of the address. This is an optional field.
{
"de-CH": "ein Text in Schweizerdeutsch",
"fr-CH": "un texte en français suisse"
}
Each additional property must conform to the following schema
Type: stringAccording to ISO 19060, this field contains one third of the address. This is an optional field.
{
"de-CH": "ein Text in Schweizerdeutsch",
"fr-CH": "un texte en français suisse"
}
Each additional property must conform to the following schema
Type: stringThe postal code
"V7P 1E2"
The city in which the street address is, and which is in the adminDevison(region)
{
"fr-BE": "Bruges",
"nl-BE": "Brugge"
}
Each additional property must conform to the following schema
Type: stringThe region in which the locality is, and which is in the country.
{
"fr-BE": "Grand-Bigard",
"nl-BE": "Groot-Bijgaarden"
}
Each additional property must conform to the following schema
Type: stringdepartment
"JURA"
The ISO 3166-1 alpha-3 of the country
"CAN"
Geo coordinates of a facility
{
"latitude": -33.866651,
"longitude": 151.195827
}
The latitude of a location
-33.866651
The longitude of a location
151.195827
The Global Location Number (GLN, sometimes also referred to as International Location Number or ILN) of the respective organization, person, or place. The GLN is a 13-digit number used to identify parties and physical locations.
A list of service available for this facility
No Additional ItemsA service that available at the facility
An unique identifier of the service
"PURCHASE_ADVICE"
A human readable service title. Should be translated into all available languages of the OpCo
{
"fr-BE": "conseils d'achat",
"nl-BE": "Kaufberatung"
}
Each additional property must conform to the following schema
Type: string[
{
"serviceCode": "PURCHASE_ADVICE",
"serviceTitle": {
"fr-BE": "conseils d'achat",
"nl-BE": "Kaufberatung"
}
},
{
"serviceCode": "SELF_SERVICE",
"serviceTitle": {
"fr-BE": "libre service",
"nl-BE": "Selbstbedienung"
}
}
]
this field is intended to be the opening hours of the facility
Must contain a minimum of 1 items
The day of the week
"MONDAY"
The opening facility info line
True if the facility is open, false otherwise
true
Opening period of time
No Additional ItemsPeriod of time
The opening time may contain a time of day in 24-hour hhmm format. Values are in the range 0000–2359. The time will be reported in the place’s time zone.
"07:00"
The closing time (hh:mm)
"13:00"
[
{
"openTime": "06:30",
"closeTime": "12:00"
},
{
"openTime": "13:00",
"closeTime": "17:00"
}
]
[
{
"dayOfWeek": "MONDAY",
"isOpen": true,
"periods": [
{
"openTime": "06:30",
"closeTime": "12:00"
},
{
"openTime": "13:00",
"closeTime": "17:00"
}
]
},
{
"dayOfWeek": "TUESDAY",
"isOpen": true,
"periods": [
{
"openTime": "06:30",
"closeTime": "12:00"
},
{
"openTime": "13:00",
"closeTime": "17:00"
}
]
}
]
A list of exceptional opening or closing hours to override the default opening hours
No Additional ItemsThe opening facility info line
True if the facility is open, false otherwise
true
Opening period of time
No Additional ItemsPeriod of time
The opening time may contain a time of day in 24-hour hhmm format. Values are in the range 0000–2359. The time will be reported in the place’s time zone.
"07:00"
The closing time (hh:mm)
"13:00"
[
{
"openTime": "06:30",
"closeTime": "12:00"
},
{
"openTime": "13:00",
"closeTime": "17:00"
}
]
[
{
"date": "25-12-2020",
"isOpen": false
},
{
"date": "01-01-2020",
"isOpen": true,
"periods": [
{
"openTime": "06:30",
"closeTime": "12:00"
}
]
}
]
Must contain a minimum of 1 items
A logistic method is a high level proposition of fulfiment of the order by the supplier. It translates into an expected notion of service (including standard delivery promise and cut off tine)
The code of the logistic method
"DELIVERY"
the standard values of cutOffTime, leadTime, preparationTime, averageDeliveryTime by day of the week
Must contain a minimum of 1 items
The day of the week
"MONDAY"
Group details about logisticMethod like cutOffTime, leadTime, preparationTime, averageDeliveryTime (required in case of delivery from cdc)
Cutoff Time is used to define what time orders stop dispatched next day.
"15:30"
How much hours CDC take to deliver stock to Branch or how much time suppliers take to deliver to CDC
48
The average amount of time need to prepare a product in minutes
30
The average delivery time to customer from a CDC for mvp scope, Only true in case of delivery to customer, Required to compute the delivery promise, Keeping it optional as same could be used for delivery from branch for some opcos if the facility type is branch
48
the exceptional values of cutOffTime, leadTime, preparationTime and averageDeliveryTime for spicial dates
No Additional ItemsGroup details about logisticMethod like cutOffTime, leadTime, preparationTime, averageDeliveryTime (required in case of delivery from cdc)
Cutoff Time is used to define what time orders stop dispatched next day.
"15:30"
How much hours CDC take to deliver stock to Branch or how much time suppliers take to deliver to CDC
48
The average amount of time need to prepare a product in minutes
30
The average delivery time to customer from a CDC for mvp scope, Only true in case of delivery to customer, Required to compute the delivery promise, Keeping it optional as same could be used for delivery from branch for some opcos if the facility type is branch
48
[
{
"mode": "DELIVERY",
"standardDays": [
{
"dayOfWeek": "MONDAY",
"cutOffTime": "15:30",
"leadTime": "48",
"preparationTime": "30",
"averageDeliveryTime": "48"
},
{
"dayOfWeek": "TUESDAY",
"cutOffTime": "15:30",
"leadTime": "48",
"preparationTime": "30",
"averageDeliveryTime": "36"
},
{
"dayOfWeek": "WEDNESDAY",
"cutOffTime": "15:30",
"leadTime": "48",
"preparationTime": "30",
"averageDeliveryTime": "24"
},
{
"dayOfWeek": "THURSDAY",
"cutOffTime": "15:30",
"leadTime": "48",
"preparationTime": "30",
"averageDeliveryTime": "48"
},
{
"dayOfWeek": "FRIDAY",
"cutOffTime": "11:30",
"leadTime": "48",
"preparationTime": "30",
"averageDeliveryTime": "36"
}
],
"exceptionalDays": [
{
"date": "2020-12-24",
"cutOffTime": "10:30",
"leadTime": "48",
"preparationTime": "30",
"averageDeliveryTime": "48"
}
]
},
{
"mode": "PICK_UP",
"standardDays": [
{
"dayOfWeek": "MONDAY",
"cutOffTime": "15:30",
"leadTime": "48",
"preparationTime": "30"
},
{
"dayOfWeek": "TUESDAY",
"cutOffTime": "15:30",
"leadTime": "48",
"preparationTime": "30"
},
{
"dayOfWeek": "WEDNESDAY",
"cutOffTime": "15:30",
"leadTime": "48",
"preparationTime": "30"
},
{
"dayOfWeek": "THURSDAY",
"cutOffTime": "15:30",
"leadTime": "48",
"preparationTime": "30"
},
{
"dayOfWeek": "FRIDAY",
"cutOffTime": "11:30",
"leadTime": "48",
"preparationTime": "30"
}
],
"exceptionalDays": [
{
"date": "2020-12-24",
"cutOffTime": "10:30",
"leadTime": "48",
"preparationTime": "30"
}
]
}
]
Parent child relation to another facility. Mandatory when facility type is Branch or Locker. This will be used to represent for example the relation - branch to CDC and locker to branch.
"CDC1"
The activation date of the facility. Optional field used to schedule the activation of future facility. If is not set the facility is considered as active
"2021-10-12T08:30:22.804Z"
The deactivation date of the facility. Optional field used to schedule the deactivation facility. If is not set the facility is considered as active
"2022-10-12T08:30:22.804Z"
The list of facility IDs that are linked with this facility for extended delivery (multi-CDC)
No Additional Items[
"3A1",
"CDC2",
"AF2"
]
All items must be unique
No Additional Items