# Search Response Schema

```
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "criteria": {
      "type": "string",
      "description": "The criteria or content for sentiment analysis."
    },
    "type": {
      "type": "string",
      "description": "The type of analysis being performed.",
      "enum": ["sentiment_analysys"]
    },
    "status": {
      "type": "string",
      "description": "The status of the sentiment analysis.",
      "enum": ["finished"]
    },
    "sources": {
      "type": "array",
      "description": "List of sources used for the sentiment analysis.",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Name of the source."
          }
        },
        "required": ["name"]
      }
    },
    "data": {
      "type": "array",
      "description": "List of data objects containing sentiment analysis results.",
      "items": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string",
            "description": "The original text that was analyzed."
          },
          "sentiment": {
            "type": "string",
            "description": "The sentiment result of the analysis.",
            "enum": ["NEGATIVE"]
          },
          "topic": {
            "type": "string",
            "description": "The topic or subject of the text."
          },
          "summary": {
            "type": "string",
            "description": "A brief summary of the text."
          },
          "entity": {
            "type": "string",
            "description": "The main entity or location mentioned in the text."
          },
          "status": {
            "type": "string",
            "description": "The status of the individual data item's analysis.",
            "enum": ["COMPLETED"]
          },
          "null": {
            "type": "boolean",
            "description": "Indicates if the data item is null or not."
          }
        },
        "required": ["text", "sentiment", "topic", "summary", "entity", "status", "null"]
      }
    }
  },
  "required": ["criteria", "type", "status", "sources", "data"]
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://api-docs.espysys.com/retrieve-the-api-results-for-all-requests./search-response-schema.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
