{
  "$schema": "https://json-schema.org/draft/2019-09/schema",
  "title": "PresentationResponseMessageSchema",
  "type": "object",
  "allOf": [
    {
      "$ref": "#/definitions/PresentationResponseMessage"
    }
  ],
  "$id": "https://w3id.org/dspace-dcp/v1.0/presentation/presentation-response-message-schema.json",
  "definitions": {
    "PresentationResponseMessage": {
      "type": "object",
      "properties": {
        "@context": {
          "$ref": "https://w3id.org/dspace-dcp/v1.0/common/context-schema.json"
        },
        "presentation": {
          "type": "array",
          "items": {
            "type": [
              "object",
              "string"
            ]
          }
        },
        "presentationSubmission": {
          "$ref": "https://identity.foundation/presentation-exchange/schemas/presentation-submission.json#/properties/presentation_submission"
        },
        "type": {
          "type": "string",
          "const": "PresentationResponseMessage"
        }
      },
      "required": [
        "@context",
        "type",
        "presentation"
      ]
    }
  }
}