{
    "properties": {
      "spec": {
        "properties": {
          "creds": {
            "description": "The creds to be used to connect to the NATS Service.",
            "properties": {
              "file": {
                "description": "Credentials file, generated with github.com/nats-io/nsc tool.",
                "type": "string"
              },
              "secret": {
                "properties": {
                  "name": {
                    "description": "Name of the secret with the creds.",
                    "type": "string"
                  }
                },
                "type": "object",
                "additionalProperties": false
              }
            },
            "type": "object",
            "additionalProperties": false
          },
          "name": {
            "description": "A unique name for the Account.",
            "minLength": 1,
            "pattern": "^[^.*>]*$",
            "type": "string"
          },
          "servers": {
            "description": "A list of servers to connect.",
            "items": {
              "minLength": 1,
              "type": "string"
            },
            "minLength": 1,
            "type": "array"
          },
          "tls": {
            "description": "The TLS certs to be used to connect to the NATS Service.",
            "properties": {
              "ca": {
                "description": "Filename of the Root CA of the TLS cert.",
                "type": "string"
              },
              "cert": {
                "description": "Filename of the TLS cert.",
                "type": "string"
              },
              "key": {
                "description": "Filename of the TLS cert key.",
                "type": "string"
              },
              "secret": {
                "properties": {
                  "name": {
                    "description": "Name of the TLS secret with the certs.",
                    "type": "string"
                  }
                },
                "type": "object",
                "additionalProperties": false
              }
            },
            "type": "object",
            "additionalProperties": false
          }
        },
        "type": "object",
        "additionalProperties": false
      }
    },
    "type": "object"
  }
  