Skip to main content

Detail on Verify Request

{
  "proof": {
    "version": "1.0",
    "nonce": "1",
    "name": "PROOF_FOR_SIGN",
    "requested_predicates": {
      
    },
    "requested_attributes": {
      "attr_reference1": {
        "names": [
          "licenceUserName",
          "licenceUserEmail",
          "licenceExpireDate",
          "licenceUserSurname"
        ],
        "non_revoked": {
          "from": 0,
          "to": 1735723189
        },
        "restrictions": [
          {
            "cred_def_id": "FqtdLvcM2i4Q7Ewd8Uf8FJ:3:CL:156813:LicenceLGSVRev05"
          }
        ]
      },
      "attr_reference2": {
        "names": [
          "type",
          "address",
          "country",
          "expire_date",
          "document_number"
        ],
        "restrictions": [
          {
            "cred_def_id": "FqtdLvcM2i4Q7Ewd8Uf8FJ:3:CL:58044:L2_DOC"
          }
        ]
      },
      "attr_reference3": {
        "names": [
          "name",
          "surname",
          "birthdate",
          "birthplace",
          "citizenship",
          "identificationId",
          "identificationType",
          "credentialIssueTimestamp"
        ],
        "non_revoked": {
          "from": 0,
          "to": 1735723189
        },
        "restrictions": [
          {
            "cred_def_id": "FqtdLvcM2i4Q7Ewd8Uf8FJ:3:CL:157178:L2VRev06"
          }
        ]
      },
      "attr_reference4": {
        "name": "ca_documentation"
      },
      "attr_reference5": {
        "name": "terms_and_condition"
      }
    }
  },
  "proof_details": {
    "auto_accept": false,
    "version": "2.0",
    "proof_details": [
      {
        "description": [
          {
            "lang": "en",
            "message": "Licence MyLGS"
          },
          {
            "lang": "it",
            "message": "Licenza MyLGS"
          }
        ],
        "revealed": true,
        "mandatory": true,
        "attr_reference": "attr_reference1"
      },
      {
        "description": [
          {
            "lang": "en",
            "message": "Certified Document"
          },
          {
            "lang": "it",
            "message": "Documento Certificato"
          }
        ],
        "revealed": true,
        "mandatory": true,
        "attr_reference": "attr_reference2"
      },
      {
        "description": [
          {
            "lang": "en",
            "message": "Certified Identity"
          },
          {
            "lang": "it",
            "message": "Identità Certificata"
          }
        ],
        "revealed": true,
        "mandatory": true,
        "attr_reference": "attr_reference3"
      },
      {
        "description": [
          {
            "message": "What is the issued service?",
            "lang": "en"
          },
          {
            "message": "Qual è il servizio fornito?",
            "lang": "it"
          }
        ],
        "type": "CHOICE",
        "revealed": true,
        "mandatory": true,
        "choice_list": [
          "GENERAL TERMS AND CONDITIONS\r\nOF THE CERTIFICATION SERVICE"
        ],
        "attr_reference": "attr_reference4",
        "selection_type": "SINGLE"
      },
      {
        "description": [
          {
            "message": "What is the issued service?",
            "lang": "en"
          },
          {
            "message": "Qual è il servizio fornito?",
            "lang": "it"
          }
        ],
        "type": "CHOICE",
        "revealed": true,
        "mandatory": true,
        "choice_list": [
          "TERMS AND CONDITIONS OF USE OF THE WALLET AND ISSUE OF CREDENTIALS "
        ],
        "attr_reference": "attr_reference5",
        "selection_type": "SINGLE"
      }
    ],
    "comment": [
      {
        "lang": "en",
        "message": "Sign with certified credentials"
      },
      {
        "lang": "it",
        "message": "Firma con crerdenziali certificatee"
      }
    ],
    "authentication": true
  }
}