{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/slite/main/json-schema/AnswerAndSources.json",
  "title": "AnswerAndSources",
  "properties": {
    "sources": {
      "items": {
        "$ref": "#/components/schemas/Source"
      },
      "type": "array",
      "description": "Array of sources that were used to answer the question"
    },
    "answer": {
      "type": "string",
      "description": "Answer to the question"
    }
  },
  "required": [
    "sources",
    "answer"
  ],
  "type": "object"
}