From 9d40ac3c458c09464038fafe0ebcf0c4ecc6a859 Mon Sep 17 00:00:00 2001 From: Wout Slakhorst Date: Fri, 15 Nov 2024 14:46:44 +0100 Subject: [PATCH] add index --- vcr/assets/assets/default.index.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/vcr/assets/assets/default.index.yaml b/vcr/assets/assets/default.index.yaml index eb2ac6c4a8..7454b11699 100644 --- a/vcr/assets/assets/default.index.yaml +++ b/vcr/assets/assets/default.index.yaml @@ -5,9 +5,6 @@ indices: - name: index_issuer parts: - iriPath: ["https://www.w3.org/2018/credentials#issuer"] - - name: index_subject - parts: - - iriPath: ["https://www.w3.org/2018/credentials#credentialSubject"] - name: index_organization parts: - iriPath: ["https://www.w3.org/2018/credentials#credentialSubject", "http://schema.org/organization", "http://schema.org/legalname"] @@ -20,3 +17,8 @@ indices: parts: - iriPath: ["https://www.w3.org/2018/credentials#credentialSubject"] - iriPath: ["https://www.w3.org/2018/credentials#credentialSubject", "https://nuts.nl/credentials/v1#subject"] + - name: index_auth_subject_purpose_resources + parts: + - iriPath: ["https://www.w3.org/2018/credentials#credentialSubject"] + - iriPath: ["https://www.w3.org/2018/credentials#credentialSubject", "https://nuts.nl/credentials/v1#purposeOfUse"] + - iriPath: ["https://www.w3.org/2018/credentials#credentialSubject", "https://nuts.nl/credentials/v1#resources", "https://nuts.nl/credentials/v1#path"] \ No newline at end of file