diff --git a/person/person.json b/person/person.json index 413ad39..7db444a 100644 --- a/person/person.json +++ b/person/person.json @@ -95,6 +95,54 @@ } } }, + { + "name": "activity", + "properties": { + "entity": { + "type": "string", + "enum": ["activity"], + "description": "Name of the entity to be queried." + }, + "criteria": { + "type": "object", + "description": "Specific criteria for the activity entity.", + "properties": { + "network": { + "type": "string", + "description": "Name of a network." + }, + "date": { + "type": "object", + "description": "The date of an activity entity.", + "properties": { + "from": { + "type": "string", + "description": "From date of date range for the activity entity. ISO date string." + }, + "to": { + "type": "string", + "description": "To date of date range for the activity entity. ISO date string." + } + } + }, + "type": { + "type": "string", + "enum": ["used","updated"], + "description": "The type of activity to be queried. If type is not specified, both will be included." + }, + "exists": { + "type": "boolean", + "description": "'true' to only return profiles that have this entity." + }, + "filter": { + "type": "string", + "enum": ["LAST","ANY"], + "description": "'LAST' indicates only last updated/used activity, 'ANY' indicates any updated/used activity. Default is 'LAST'." + } + } + } + } + }, { "name": "country_code", "properties": {