{
  "$id": "https://opendatafabric.org/schemas/config/v1alpha1/Secret",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "description": "Individual secret in raw or encrypted form.",
  "format": "struct-or-string",
  "oneOf": [
    {
      "type": "string"
    },
    {
      "type": "object",
      "required": [
        "value"
      ],
      "properties": {
        "value": {
          "type": "string",
          "description": "A secret value in raw or encoded form."
        },
        "contentEncoding": {
          "type": "string",
          "description": "Represents the encoding of the value. Typically will be `jwe` after a raw secret gets encrypted."
        }
      }
    }
  ]
}
