Topics Results Schema for JSON#
Application ID
eot_topics
Description#
The TopicsResults
schema describes the structure of the JSON data returned from the Topics application by the SDK or the Portal.
Definition#
The TopicsResults
schema is defined as:
array[Topic]
– The identified topic
with the Topic
schema defined as:
array
- The topicname
(string
) – The literal from the documentrelevancy
(number
) – The relevancy of the topic within the document in percentage
Example#
The following is an example of the JSON results for this application:
[
{ "name": "fossil expert", "relevancy": 100 },
{ "name": "human race", "relevancy": 100 },
{ "name": "climate crisis", "relevancy": 99 }
]