{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/wordline/main/json-schema/wordline-get-pin-request-schema.json", "title": "GetPinRequest", "description": "encryptedSessionKey is the encrypted session key to be used for encrypting the PIN in the reply", "x-generated": "2026-10-10", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/wordline-card-pin-api-openapi.yml#/components/schemas/GetPinRequest", "type": "object", "properties": { "event": { "type": "string", "description": "EXTERNAL (default), INTERNAL, ATM or IVR" }, "encryptedSessionKey": { "$ref": "#/$defs/EncryptedData" } }, "$defs": { "EncryptedData": { "type": "object", "required": [ "algoId", "encryptedData", "keyId" ], "properties": { "algoId": { "type": "string", "description": "Algorithm used to encrypt Session Key\nAllowed Value:\n06 for RSA" }, "encryptedData": { "type": "string", "description": "Cryptogram in hexadecimal string representation" }, "keyId": { "type": "string", "description": "Key set used for request\nAllowed Value:\n01 - Keyset1\n02 - Keyset2" } }, "title": "EncryptedData" } } }