nuts-foundation/nuts-node

View on GitHub
vcr/pe/test/pd_jsonld.json

Summary

Maintainability
Test Coverage
{
  "id": "Definition requesting NutsOrganizationCredential",
  "input_descriptors": [
    {
      "id": "as_jsonld",
      "constraints": {
        "fields": [
          {
            "path": [
              "$.credentialSubject.organization.city"
            ],
            "filter": {
              "type": "string",
              "const": "IJbergen"
            }
          },
          {
            "path": [
              "$.credentialSubject.organization.name"
            ],
            "filter": {
              "type": "string",
              "pattern": "care"
            }
          },
          {
            "path": [
              "$.type"
            ],
            "filter": {
              "type": "string",
              "const": "NutsOrganizationCredential"
            }
          }
        ]
      }
    }
  ],
  "format": {
    "ldp_vc": {
      "proof_type": [
        "JsonWebSignature2020"
      ]
    }
  }
}