{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "issuercontroller": {
      "properties": {
        "externalsecrets": {
          "anyOf": [
            {
              "properties": {
                "dockerCredentials": {
                  "type": "string"
                }
              },
              "required": [
                "dockerCredentials"
              ]
            },
            {
              "properties": {
                "name": {
                  "type": "string"
                }
              }
            }
          ]
        }
      },
      "required": [
        "externalsecrets"
      ],
      "type": "object"
    }
  },
  "required": [
    "issuercontroller"
  ],
  "type": "object"
}