github.com/choria-io/go-choria@v0.28.1-0.20240416190746-b3bf9c7d5a45/internal/fs/schemas/choria/protocol/v1/secure_reply.json (about)

     1  {
     2      "$schema": "http://json-schema.org/draft-04/schema",
     3      "description": "Choria Secure Reply version 1",
     4      "title":"SecureReplyV1",
     5      "type":"object",
     6      "required":[
     7          "protocol",
     8          "message",
     9          "hash"
    10      ],
    11      "properties": {
    12           "protocol": {
    13               "type":"string",
    14               "enum": [
    15                   "choria:secure:reply:1"
    16               ]
    17           },
    18           "message": {
    19               "type":"string",
    20               "description": "Base64 encoded JSON version of a ReplyV1",
    21               "minLength":1
    22           },
    23           "hash": {
    24               "type":"string",
    25               "description": "Base 64 encoded SHA256 hash of the Message",
    26               "minLength": 1
    27           }
    28      }
    29  }