Skip to content

Commit

Permalink
add example for proof-params endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
chabanyknikita committed Sep 2, 2024
1 parent 33c0ca5 commit 91b140d
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 3 deletions.
17 changes: 15 additions & 2 deletions docs/spec/components/schemas/Parameters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,30 +24,43 @@ allOf:
properties:
event_id:
type: string
example: "134934934030489134341633902189494613533900917417361106374681011849132651019822199"
event_data:
type: string
example: "0x28906909b4f974d958f10cf00ff182f8942e75fb57caa1083a942350d6d7c930b"
selector:
type: string
example: "27065"
identity_counter:
type: integer
example: 0
timestamp_lower_bound:
type: string
example: "0"
timestamp_upper_bound:
type: string
example: "19000000000"
identity_counter_lower_bound:
type: integer
example: 0
identity_counter_upper_bound:
type: integer
type: integer
example: 1
expiration_date_lower_bound:
type: string
example: "52983525027888"
expiration_date_upper_bound:
type: string
example: "52983525027888"
birth_date_lower_bound:
type: string
example: "0x303030303030"
birth_date_upper_bound:
type: string
example: "0x303630393032"
citizenship_mask:
type: string
type: string
example: "0x554B52"
callback_url:
type: string
example: "https://example.com/integrations/verificator-svc/public/receive-proof/callback/c15ad8f88949"
15 changes: 14 additions & 1 deletion docs/spec/components/schemas/ProofParams.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,27 +23,40 @@ allOf:
properties:
event_id:
type: string
example: "134934934030489134341633902189494613533900917417361106374681011849132651019822199"
event_data:
type: string
example: "0x28906909b4f974d958f10cf00ff182f8942e75fb57caa1083a942350d6d7c930b"
selector:
type: string
example: "27065"
identity_counter:
type: integer
example: 0
timestamp_lower_bound:
type: string
example: "0"
timestamp_upper_bound:
type: string
example: "19000000000"
identity_counter_lower_bound:
type: integer
example: 0
identity_counter_upper_bound:
type: integer
example: 1
expiration_date_lower_bound:
type: string
example: "52983525027888"
expiration_date_upper_bound:
type: string
example: "52983525027888"
birth_date_lower_bound:
type: string
example: "0x303030303030"
birth_date_upper_bound:
type: string
example: "0x303630393032"
citizenship_mask:
type: string
type: string
example: "0x554B52"

0 comments on commit 91b140d

Please sign in to comment.