-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add proof-configurations for csb-transcriber
Signed-off-by: Emiliano Suñé <[email protected]>
- Loading branch information
Showing
3 changed files
with
249 additions
and
0 deletions.
There are no files selected for viewing
103 changes: 103 additions & 0 deletions
103
proof-configurations/csb-transcriber/dev/csb-transcriber.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
{ | ||
"subject_identifier": "user_id", | ||
"proof_request": { | ||
"name": "CSB Transcriber (Dev)", | ||
"version": "1.0", | ||
"requested_attributes": [ | ||
{ | ||
"names": [ | ||
"user_id", | ||
"company_name" | ||
], | ||
"restrictions": [ | ||
{ | ||
"cred_def_id": "RSDAVyaiUjFPCj245PoY3P:3:CL:34742:transcriber", | ||
"schema_name": "contractor-credential", | ||
"schema_issuer_did": "9defyjkM6MX5zh2D5Mwo1U" | ||
}, | ||
{ | ||
"cred_def_id": "QX5kJqzx6c98Qvi7DDNAb6:3:CL:34742:transcriber", | ||
"schema_name": "contractor-credential", | ||
"schema_issuer_did": "BQu1v6o9Z9ttkdwbVqpyZB" | ||
}, | ||
{ | ||
"cred_def_id": "EmX9iHJrL7R6MBLH38QYp:3:CL:34742:transcriber", | ||
"schema_name": "contractor-credential", | ||
"schema_issuer_did": "B8B9jho4L57A1f6MmXpAbu" | ||
} | ||
] | ||
} | ||
], | ||
"requested_predicates": [ | ||
{ | ||
"name": "contract_start_dateint", | ||
"restrictions": [ | ||
{ | ||
"cred_def_id": "RSDAVyaiUjFPCj245PoY3P:3:CL:34742:transcriber", | ||
"schema_name": "contractor-credential", | ||
"schema_issuer_did": "9defyjkM6MX5zh2D5Mwo1U" | ||
}, | ||
{ | ||
"cred_def_id": "QX5kJqzx6c98Qvi7DDNAb6:3:CL:34742:transcriber", | ||
"schema_name": "contractor-credential", | ||
"schema_issuer_did": "BQu1v6o9Z9ttkdwbVqpyZB" | ||
}, | ||
{ | ||
"cred_def_id": "EmX9iHJrL7R6MBLH38QYp:3:CL:34742:transcriber", | ||
"schema_name": "contractor-credential", | ||
"schema_issuer_did": "B8B9jho4L57A1f6MmXpAbu" | ||
} | ||
], | ||
"p_value": "$today_int", | ||
"p_type": "<=" | ||
}, | ||
{ | ||
"name": "contract_end_dateint", | ||
"restrictions": [ | ||
{ | ||
"cred_def_id": "RSDAVyaiUjFPCj245PoY3P:3:CL:34742:transcriber", | ||
"schema_name": "contractor-credential", | ||
"schema_issuer_did": "9defyjkM6MX5zh2D5Mwo1U" | ||
}, | ||
{ | ||
"cred_def_id": "QX5kJqzx6c98Qvi7DDNAb6:3:CL:34742:transcriber", | ||
"schema_name": "contractor-credential", | ||
"schema_issuer_did": "BQu1v6o9Z9ttkdwbVqpyZB" | ||
}, | ||
{ | ||
"cred_def_id": "EmX9iHJrL7R6MBLH38QYp:3:CL:34742:transcriber", | ||
"schema_name": "contractor-credential", | ||
"schema_issuer_did": "B8B9jho4L57A1f6MmXpAbu" | ||
} | ||
], | ||
"p_value": "$today_int", | ||
"p_type": ">" | ||
}, | ||
{ | ||
"name": "criminal_record_expiry_dateint", | ||
"restrictions": [ | ||
{ | ||
"cred_def_id": "RSDAVyaiUjFPCj245PoY3P:3:CL:34742:transcriber", | ||
"schema_name": "contractor-credential", | ||
"schema_issuer_did": "9defyjkM6MX5zh2D5Mwo1U" | ||
}, | ||
{ | ||
"cred_def_id": "QX5kJqzx6c98Qvi7DDNAb6:3:CL:34742:transcriber", | ||
"schema_name": "contractor-credential", | ||
"schema_issuer_did": "BQu1v6o9Z9ttkdwbVqpyZB" | ||
}, | ||
{ | ||
"cred_def_id": "EmX9iHJrL7R6MBLH38QYp:3:CL:34742:transcriber", | ||
"schema_name": "contractor-credential", | ||
"schema_issuer_did": "B8B9jho4L57A1f6MmXpAbu" | ||
} | ||
], | ||
"p_value": "$today_int", | ||
"p_type": ">" | ||
} | ||
] | ||
}, | ||
"generate_consistent_identifier": false, | ||
"include_v1_attributes": true, | ||
"ver_config_id": "csb-transcriber" | ||
} |
63 changes: 63 additions & 0 deletions
63
proof-configurations/csb-transcriber/prod/csb-transcriber.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
{ | ||
"subject_identifier": "user_id", | ||
"proof_request": { | ||
"name": "CSB Transcriber", | ||
"version": "1.0", | ||
"requested_attributes": [ | ||
{ | ||
"names": [ | ||
"user_id", | ||
"company_name" | ||
], | ||
"restrictions": [ | ||
{ | ||
"cred_def_id": "EmX9iHJrL7R6MBLH38QYp:3:CL:34742:transcriber", | ||
"schema_name": "contractor-credential", | ||
"schema_issuer_did": "B8B9jho4L57A1f6MmXpAbu" | ||
} | ||
] | ||
} | ||
], | ||
"requested_predicates": [ | ||
{ | ||
"name": "contract_start_dateint", | ||
"restrictions": [ | ||
{ | ||
"cred_def_id": "EmX9iHJrL7R6MBLH38QYp:3:CL:34742:transcriber", | ||
"schema_name": "contractor-credential", | ||
"schema_issuer_did": "B8B9jho4L57A1f6MmXpAbu" | ||
} | ||
], | ||
"p_value": "$today_int", | ||
"p_type": "<=" | ||
}, | ||
{ | ||
"name": "contract_end_dateint", | ||
"restrictions": [ | ||
{ | ||
"cred_def_id": "EmX9iHJrL7R6MBLH38QYp:3:CL:34742:transcriber", | ||
"schema_name": "contractor-credential", | ||
"schema_issuer_did": "B8B9jho4L57A1f6MmXpAbu" | ||
} | ||
], | ||
"p_value": "$today_int", | ||
"p_type": ">" | ||
}, | ||
{ | ||
"name": "criminal_record_expiry_dateint", | ||
"restrictions": [ | ||
{ | ||
"cred_def_id": "EmX9iHJrL7R6MBLH38QYp:3:CL:34742:transcriber", | ||
"schema_name": "contractor-credential", | ||
"schema_issuer_did": "B8B9jho4L57A1f6MmXpAbu" | ||
} | ||
], | ||
"p_value": "$today_int", | ||
"p_type": ">" | ||
} | ||
] | ||
}, | ||
"generate_consistent_identifier": false, | ||
"include_v1_attributes": true, | ||
"ver_config_id": "csb-transcriber" | ||
} |
83 changes: 83 additions & 0 deletions
83
proof-configurations/csb-transcriber/test/csb-transcriber.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
{ | ||
"subject_identifier": "user_id", | ||
"proof_request": { | ||
"name": "CSB Transcriber (Test)", | ||
"version": "1.0", | ||
"requested_attributes": [ | ||
{ | ||
"names": [ | ||
"user_id", | ||
"company_name" | ||
], | ||
"restrictions": [ | ||
{ | ||
"cred_def_id": "QX5kJqzx6c98Qvi7DDNAb6:3:CL:34742:transcriber", | ||
"schema_name": "contractor-credential", | ||
"schema_issuer_did": "BQu1v6o9Z9ttkdwbVqpyZB" | ||
}, | ||
{ | ||
"cred_def_id": "EmX9iHJrL7R6MBLH38QYp:3:CL:34742:transcriber", | ||
"schema_name": "contractor-credential", | ||
"schema_issuer_did": "B8B9jho4L57A1f6MmXpAbu" | ||
} | ||
] | ||
} | ||
], | ||
"requested_predicates": [ | ||
{ | ||
"name": "contract_start_dateint", | ||
"restrictions": [ | ||
{ | ||
"cred_def_id": "QX5kJqzx6c98Qvi7DDNAb6:3:CL:34742:transcriber", | ||
"schema_name": "contractor-credential", | ||
"schema_issuer_did": "BQu1v6o9Z9ttkdwbVqpyZB" | ||
}, | ||
{ | ||
"cred_def_id": "EmX9iHJrL7R6MBLH38QYp:3:CL:34742:transcriber", | ||
"schema_name": "contractor-credential", | ||
"schema_issuer_did": "B8B9jho4L57A1f6MmXpAbu" | ||
} | ||
], | ||
"p_value": "$today_int", | ||
"p_type": "<=" | ||
}, | ||
{ | ||
"name": "contract_end_dateint", | ||
"restrictions": [ | ||
{ | ||
"cred_def_id": "QX5kJqzx6c98Qvi7DDNAb6:3:CL:34742:transcriber", | ||
"schema_name": "contractor-credential", | ||
"schema_issuer_did": "BQu1v6o9Z9ttkdwbVqpyZB" | ||
}, | ||
{ | ||
"cred_def_id": "EmX9iHJrL7R6MBLH38QYp:3:CL:34742:transcriber", | ||
"schema_name": "contractor-credential", | ||
"schema_issuer_did": "B8B9jho4L57A1f6MmXpAbu" | ||
} | ||
], | ||
"p_value": "$today_int", | ||
"p_type": ">" | ||
}, | ||
{ | ||
"name": "criminal_record_expiry_dateint", | ||
"restrictions": [ | ||
{ | ||
"cred_def_id": "QX5kJqzx6c98Qvi7DDNAb6:3:CL:34742:transcriber", | ||
"schema_name": "contractor-credential", | ||
"schema_issuer_did": "BQu1v6o9Z9ttkdwbVqpyZB" | ||
}, | ||
{ | ||
"cred_def_id": "EmX9iHJrL7R6MBLH38QYp:3:CL:34742:transcriber", | ||
"schema_name": "contractor-credential", | ||
"schema_issuer_did": "B8B9jho4L57A1f6MmXpAbu" | ||
} | ||
], | ||
"p_value": "$today_int", | ||
"p_type": ">" | ||
} | ||
] | ||
}, | ||
"generate_consistent_identifier": false, | ||
"include_v1_attributes": true, | ||
"ver_config_id": "csb-transcriber" | ||
} |