{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": false,
    "description": "Version v6",
    "properties": {
        "favorites": {
            "type": "array",
            "items": {
                "type": "object",
                "properties": {
                    "user_id": {
                        "type": "string",
                        "description": "a userId is used to retrieve corresponding favorites"
                    },
                    "last_update_timestamp":{
                        "type":"integer",
                        "description":"items(favortie) with the order of last modified time, return the last favorite for client to query further."
                    },
                    "correlations":{
                        "type": "array",
                        "items": {
                            "type": "object",
                            "properties": {
                                "correlation_id": {
                                    "type": "string",
                                    "description": "Array of correlation_id, it is external ID of the item. Should be resolved with the entity service"
                                },
                                "is_removed": {
                                    "type": "boolean"
                                }
                            }
                        }
                    }
                }
            }
        },
        "status": {
            "$ref": "/resources/schema/services/v1/ServiceStatus.json"
        }
    },
    "required": [
        "status"
    ],
    "title": "ListPublicFavoritesResponse",
    "type": "object"
}