You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/usage/dcp-api-walkthrough/06_create_credential_definition.md
+2-5Lines changed: 2 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,17 +29,14 @@ curl -X POST "${ISSUER_URL}/api/admin/v1alpha/participants/${ISSUER_CONTEXT}/cre
29
29
"input": "holder_id",
30
30
"output": "credentialSubject.holderIdentifier",
31
31
"required": true
32
-
},
33
-
{
34
-
"input": "member_of",
35
-
"output": "credentialSubject.memberOf",
36
-
"required": true
37
32
}
38
33
],
39
34
"validity": 10000000000000
40
35
}'
41
36
```
42
37
38
+
> **⚠️ `member_of` mapping is not yet functional:** The default `holders` table schema does not include a `member_of` column, so this mapping will fail at issuance time. See [Step 7](07_register_holder.md) for details.
Copy file name to clipboardExpand all lines: docs/usage/dcp-api-walkthrough/07_register_holder.md
+16-10Lines changed: 16 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,19 +35,25 @@ curl -X POST "${ISSUER_URL}/api/admin/v1alpha/participants/${ISSUER_CONTEXT}/hol
35
35
36
36
The credential definition mappings defined in [Step 6](06_create_credential_definition.md) read directly from **columns in the `holders` database table**. The holder registration (`holderId`, `name`) populates that table, but the mapped fields (`holder_id`, `member_of`) are columns you must also populate in the database for each holder row.
|`member_of` → `credentialSubject.memberOf`|`holders.member_of` column | BPN of the organization the holder is a member of | ⚠️ Not available — see note below |
43
43
44
44
For **MembershipCredentials** in the Catena-X dataspace, the `holders` table row should look like:
|`did`|`did:web:identity-hub.example.com`|`credentialSubject.id`| ✅ Available |
49
+
|`holder_id`|`BPNL00000003AYRE`|`credentialSubject.holderIdentifier`| ✅ Available |
50
+
|`member_of`|`Catena-X`|`credentialSubject.memberOf`| ⚠️ Not available |
51
+
52
+
> **⚠️ `member_of` is not yet available:** The default `holders` table schema (defined in the upstream IssuerService) does not include a `member_of` column. The table only exposes: `holder_id`, `did`, `holder_name`, `anonymous`, `properties`. Adding `member_of` as a mappable field would require either:
53
+
> - A custom database migration to add the column to the `holders` table, **or**
54
+
> - An upstream change to the `Holder` model and its SQL schema.
55
+
>
56
+
> This is a known limitation. A feature request or upstream contribution would be needed to support `credentialSubject.memberOf` natively.
0 commit comments