github.com/choria-io/go-choria@v0.28.1-0.20240416190746-b3bf9c7d5a45/internal/fs/schemas/choria/protocol/v2/reply.json (about) 1 { 2 "$schema": "http://json-schema.org/draft-07/schema", 3 "$id": "https://choria.io/schemas/choria/protocol/v2/reply.json", 4 "description": "Choria Reply version 2", 5 "title": "ReplyV2", 6 "type":"object", 7 "required":[ 8 "protocol", 9 "message", 10 "request", 11 "sender", 12 "agent", 13 "time" 14 ], 15 "properties": { 16 "protocol": { 17 "type":"string", 18 "const": "io.choria.protocol.v2.request" 19 }, 20 "message": { 21 "type":"string", 22 "description": "The data being sent to the Agent Base64 encoded", 23 "minLength":1 24 }, 25 "request": { 26 "type": "string", 27 "description": "The ID of the request this reply relates to", 28 "minLength": 1 29 }, 30 "sender": { 31 "type": "string", 32 "description": "The host identity that is sending the reply", 33 "minLength": 1 34 }, 35 "agent": { 36 "type": "string", 37 "description": "The agent the reply originates from", 38 "minLength": 1 39 }, 40 "time": { 41 "type": "integer", 42 "description": "The unix nano time the request was created", 43 "minimum": 1, 44 "maximum": 18446744073709551615 45 } 46 } 47 }