Created
December 29, 2017 20:27
-
-
Save swcurran/ae844f6d49b132a58aafaba32c6a1dcc to your computer and use it in GitHub Desktop.
HL-Indy IS-486 Example - Claim Filter - https://jira.hyperledger.org/browse/IS-486
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
{ | |
"name": "proof_req_0", | |
"nonce": "1234", | |
"requested_attrs": { | |
// | |
// Proposed | |
// | |
"address_line_1_uuid": { | |
"name": "address_line_1", | |
"source": [ | |
{ | |
"schema": { | |
// EITHER | |
"seq_no": 52, | |
// OR | |
"publisher_did": "21TL9VHhcQN3k9QvHLsxba", | |
"name": "schema.name", | |
"version": "0.12.2" // Uses semantic versioning | |
}, | |
"issuer": { | |
"did": "27TL9VHhcQNok9QvHLVx1a" | |
} | |
} | |
], | |
"claim_filter": [ | |
{ | |
"f_type": "eq", | |
"attr_name": "legal_entity_id", | |
"value": "8625926d-ebba-416a-b967-940fe47db44d" | |
}, | |
{ | |
"f_type": "eq", | |
"attr_name": "legal_entity_id", | |
"value": "312465bb-845b-46c4-a26b-c1ee97b33a30" | |
}, | |
{ | |
"f_type": "gt", | |
"attr_name": "effective_date", | |
"value": "1987-01-01" | |
} | |
] | |
}, | |
// | |
// Current | |
// | |
"address_line_2_uuid": { | |
"name": "address_line_2", | |
"schema_seq_no": 24 | |
}, | |
"addressee_uuid": { | |
"name": "addressee", | |
"schema_seq_no": 24 | |
}, | |
"city_uuid": { | |
"name": "city", | |
"schema_seq_no": 24 | |
} | |
}, | |
"requested_predicates": { | |
}, | |
"version": "0" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment