github.com/choria-io/go-choria@v0.28.1-0.20240416190746-b3bf9c7d5a45/internal/fs/schemas/choria/protocol/v1/reply.json (about) 1 { 2 "$schema": "http://json-schema.org/draft-04/schema", 3 "description": "Choria Reply version 1", 4 "title": "ReplyV1", 5 "type":"object", 6 "required":[ 7 "protocol", 8 "message", 9 "envelope" 10 ], 11 "properties": { 12 "protocol": { 13 "type":"string", 14 "enum": [ 15 "choria:reply:1" 16 ] 17 }, 18 "message": { 19 "type":"string", 20 "description": "The data being sent to the Agent, should already be JSON encoded.", 21 "minLength":1 22 }, 23 "envelope": { 24 "type":"object", 25 "required":[ 26 "requestid", 27 "senderid", 28 "agent", 29 "time" 30 ], 31 "properties": { 32 "requestid": { 33 "type":"string", 34 "description": "Globally unique Request ID", 35 "minLength": 32, 36 "maxLength": 32 37 }, 38 "senderid": { 39 "type": "string", 40 "description": "The identity of the machine that sent this message" 41 }, 42 "agent": { 43 "type":"string", 44 "description": "The name of the agent on the server that sent this message", 45 "minLength": 1 46 }, 47 "time": { 48 "type":"integer", 49 "description": "Unix time stamp of UTC time when the reply was made" 50 } 51 } 52 } 53 } 54 }