github.com/choria-io/go-choria@v0.28.1-0.20240416190746-b3bf9c7d5a45/internal/fs/schemas/choria/protocol/v2/secure_request.json (about) 1 { 2 "$schema": "http://json-schema.org/draft-07/schema", 3 "$id": "https://choria.io/schemas/choria/protocol/v2/secure_request.json", 4 "description": "Choria Secure Request version 2", 5 "title":"SecureRequestV2", 6 "type":"object", 7 "required":[ 8 "protocol", 9 "request", 10 "signature", 11 "caller" 12 ], 13 "properties": { 14 "protocol": { 15 "type":"string", 16 "const": "io.choria.protocol.v2.secure_request" 17 }, 18 "request": { 19 "type":"string", 20 "description": "Base64 encoded JSON version of a RequestV2", 21 "minLength":1 22 }, 23 "signature": { 24 "type":"string", 25 "description": "Hex encoded signature made using the ed25519 seed of the caller or signer", 26 "minLength": 1 27 }, 28 "caller": { 29 "type":"string", 30 "description": "JWT of the caller", 31 "minLength": 1 32 }, 33 "signer": { 34 "type": "string", 35 "description": "JWT of the delegated signer, present when the AAA server is used" 36 } 37 } 38 }