{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://fdc3.finos.org/schemas/next/bridging/raiseIntentAgentResponse.schema.json",
  "title": "RaiseIntent Agent Response",
  "type": "object",
  "allOf": [
    {
      "$ref": "#/$defs/RaiseIntentResponseBase"
    },
    {
      "$ref": "agentResponse.schema.json"
    }
  ],
  "$defs": {
    "RaiseIntentResponseBase": {
      "title": "RaiseIntent Response",
      "type": "object",
      "description": "A response to a request to raise an intent.",
      "properties": {
        "type": {
          "$ref": "../api/raiseIntentResponse.schema.json#/$defs/RaiseIntentResponseType"
        },
        "payload": {
          "$ref": "../api/raiseIntentResponse.schema.json#/$defs/RaiseIntentSuccessResponsePayload"
        },
        "meta": {
          "title": "RaiseIntent Response Metadata",
          "type": "object"
        }
      },
      "additionalProperties": false
    }
  }
}
