Attachments should include a txn

Issue #1299 resolved
Julian White created an issue

It would be useful if attachments could include a txn so that where there are multiple attachments its easy to automatically link them to specific steps or parts of the assurance process.

For example, where an image of someone’s ID card and their face needs to be included in the response they could each be linked to the different check_methods by their respective txn. The current specification enables you to do this via the desc as a description, but that needs human interpretation, adding a txn as an option would make that easily computable.

{
  "verified_claims": {
    "verification": {
      "trust_framework":"eidas",
      "assurance_level": "substantial",
      "evidence": [
        {
          "type": "document",
          "check_details": [
            {
              "check_method": "vri",
              "organization": "doc_checker",
              "txn": "ID1-93h506th2f45hf"
            },
            {
              "check_method": "bvp",
              "organization": "face_checker",
              "txn": "v-93jfk284ugjfj2093"
            }
          ],
          "time": "2012-04-22T11:30Z",
          "document_details": {
            "type": "idcard",
            "issuer": {
              "name": "Stadt Augsburg",
              "country": "DE"
            },
            "document_number": "53554554",
            "date_of_issuance": "2010-03-23",
            "date_of_expiry": "2020-03-22"
          },
          "attachments": [
            {
              "desc": "Front of id document",
              "content_type": "image/png",
              "txn": "ID1-93h506th2f45hf",
              "content": "Wkd0bWFtVnlhWFI2Wlc0Mk16VER2RFUyY0RRMWFUbDBNelJ1TlRjd31dzdaM1pTQXJaWGRsTXpNZ2RETmxDZwo="
            },
            {
              "desc": "selfie of user",
              "content_type": "image/png",
              "txn": "v-93jfk284ugjfj2093",
              "content": "iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAADSFsjdkhjwhAABJRU5ErkJggg=="
            }
          ]
        }
      ]
    },
    "claims": {
      "given_name": "Max",
      "family_name": "Mustermann",
      "birthdate": "1956-01-28"
    }
  }
}

Comments (4)

  1. Log in to comment