Marevo company
EF Covering app
Requirements to JSON files for an EF Covering AR app
General
The current specification is about how the EF Covering AR app receives data from the Client's server.
In case you need to discuss these requirements, please, contact the manager you communicate with.

It's planned to get 2 separate JSON-files:
  • Content - a file with listed items and their params.
  • Filter - a file with listed filters and their values.
Each file contains the last update time.
The Client provides the files.

The app uses GET-requests.
It's planned to be 2 separate requests of the following type:
https://site.com/?key=securekey&type=contenttype

  • Site.com - URL for request.
  • Securekey - the random range of characters. The Client provides the key.
  • Type - a type of JSON-files the app intends to get (filters, content)
  • The protocol must be https.
Content file
Item structure
* All the links have to be "https"
* Variables in bold are mandatory
Content JSON example
{
“File_update_date” : “2020-08-31 11:00:06”
“Items” : 
	[
		{ 		
		“Item_id” : “SuperTile_22343929”, 
		“Item_update_date” : “2020-08-31 11:00:06”,
		“Item_name” : “Betap Carnival”, 
		“Item_image” : ["https://site.com/images/23095.jpg", "https://site.com/images/23095.jpg"],
		“Item_category” : “Floor”,
		“Item_price” : “135.00”,
 		“Item_texture” : “https://site.com/images/23095.jpg”, 
 		“Item_texture_size” : “0.45”,
 		“Item_finishing” : “0.67”, 
		“Item_Description” : “The best outdoor floor tile in North Kyiv”, 
		“Item_Box_Size” : “1.27”, 
		“Item_Specification” : 
			[
				{
				“Name” : “Color ”,
				“Value” :  “white, blue, dark blue”
				},
				{
				“Name” : “Country”,
				“Value” :  “Italy”
				},
				{
				“Name” : “Collection ”,
				“Value” :  “Venice”
				}
			]
		}
	]
}
Filters file
Filters structure
Filters JSON example
{
“File_update_date” : “2020-08-31 11:00:06”
“Filter”:
      [
            {
            “Filter_category” : “Tiles”,
            “Filter_list” : 
               [ 
                       {
                          “Filter_name” : “Color”,
                          “Filter_value” : ["white", "green","red"]
                       },
                       {
                          “Filter_name” : “Finishing”,
                          “Filter_value” : ["polish", "matt"]
                       }
                ]
            },
            {
            “Filter_category” : “Laminate”,
            “Filter_list” : 
              [ 
                       {
                          “Filter_name” : “Color”,
                          “Filter_value” : ["dark oak", "canadian maple","hornbeam"]
                       },
                       {
                          “Filter_name” : “Finishing”,
                          “Filter_value” : [“polish”, “matt”]
                       }
                ]
            }
      ]
}