github.com/choria-io/go-choria@v0.28.1-0.20240416190746-b3bf9c7d5a45/internal/fs/schemas/choria/protocol/v1/secure_request.json (about) 1 { 2 "$schema": "http://json-schema.org/draft-04/schema", 3 "description": "Choria Secure Request version 1", 4 "title":"SecureRequestV1", 5 "type":"object", 6 "required":[ 7 "protocol", 8 "message", 9 "signature", 10 "pubcert" 11 ], 12 "properties": { 13 "protocol": { 14 "type":"string", 15 "enum": [ 16 "choria:secure:request:1" 17 ] 18 }, 19 "message": { 20 "type":"string", 21 "description": "Base64 encoded JSON version of a RequestV1", 22 "minLength":1 23 }, 24 "signature": { 25 "type":"string", 26 "description": "Base 64 encoded SHA256 PKCS1v15 signature made with the users Private Key", 27 "minLength": 1 28 }, 29 "pubcert": { 30 "type":"string", 31 "description": "PEM encoded Public Certificate for the user producing the message", 32 "minLength": 1 33 } 34 } 35 }