{
  "type": "single-step-form-array",
  "label": {
    "text": "labels.certificates"
  },
  "addFormLabel": "labels.certificate",
  "schema": {
    "$ref": "schema#/"
  },
  "tableContents": [
    {
      "type": "value",
      "typeOfValue": "string",
      "inTableColumn": true,
      "label": {
        "text": "labels.alias"
      },
      "path": "alias"
    },
    {
      "type": "value",
      "typeOfValue": "string",
      "inTableColumn": true,
      "label": {
        "text": "labels.secret_name"
      },
      "path": "secretName"
    },
    {
      "type": "value",
      "typeOfValue": "string",
      "inTableColumn": true,
      "label": {
        "text": "labels.duration"
      },
      "path": "duration"
    },
    {
      "type": "value",
      "typeOfValue": "string",
      "inTableColumn": true,
      "label": {
        "text": "labels.renew_before"
      },
      "path": "renewBefore"
    },
    {
      "type": "label",
      "label": {
        "text": "labels.subject",
        "hasLine": true
      }
    },
    {
      "type": "value",
      "typeOfValue": "array",
      "label": {
        "text": "labels.organizations",
        "isSubsection": true
      },
      "path": "subject/organizations"
    },
    {
      "type": "value",
      "typeOfValue": "array",
      "label": {
        "text": "labels.countries",
        "isSubsection": true
      },
      "path": "subject/countries"
    },
    {
      "type": "value",
      "typeOfValue": "array",
      "label": {
        "text": "labels.organizational_units",
        "isSubsection": true
      },
      "path": "subject/organizationalUnits"
    },
    {
      "type": "value",
      "typeOfValue": "array",
      "label": {
        "text": "labels.provinces",
        "isSubsection": true
      },
      "path": "subject/provinces"
    },
    {
      "type": "value",
      "typeOfValue": "array",
      "label": {
        "text": "labels.dns_names",
        "hasLine": true
      },
      "path": "dnsNames"
    },
    {
      "type": "value",
      "typeOfValue": "array",
      "label": {
        "text": "labels.ip_addresses",
        "hasLine": true
      },
      "path": "ipAddresses"
    }
  ],
  "element": {
    "label": {
      "text": "labels.certificate"
    },
    "elements": [
      {
        "label": {
          "text": "labels.alias"
        },
        "type": "input",
        "schema": {
          "$ref": "schema#/items/properties/alias"
        }
      },
      {
        "label": {
          "text": "labels.secret_name"
        },
        "type": "input",
        "schema": {
          "$ref": "schema#/items/properties/secretName"
        }
      },
      {
        "label": {
          "text": "labels.duration"
        },
        "type": "input",
        "schema": {
          "$ref": "schema#/items/properties/duration"
        }
      },
      {
        "label": {
          "text": "labels.renew_before"
        },
        "type": "input",
        "schema": {
          "$ref": "schema#/items/properties/renewBefore"
        }
      },
      {
        "schema": {
          "$ref": "schema#/items/properties/subject"
        },
        "label": {
          "text": "labels.subject"
        },
        "type": "single-step-form",
        "elements": [
          {
            "schema": {
              "$ref": "schema#/items/properties/subject/properties/organizations"
            },
            "type": "list-input-form",
            "element": {
              "label": {
                "text": "labels.organization"
              },
              "schema": {
                "$ref": "schema#/items/properties/subject/properties/organizations/items"
              },
              "type": "input"
            },
            "label": {
              "text": "labels.organizations",
              "isSubsection": true
            }
          },
          {
            "schema": {
              "$ref": "schema#/items/properties/subject/properties/countries"
            },
            "type": "list-input-form",
            "element": {
              "label": {
                "text": "labels.country"
              },
              "schema": {
                "$ref": "schema#/items/properties/subject/properties/countries/items"
              },
              "type": "input"
            },
            "label": {
              "text": "labels.countries",
              "isSubsection": true
            }
          },
          {
            "schema": {
              "$ref": "schema#/items/properties/subject/properties/organizationalUnits"
            },
            "type": "list-input-form",
            "element": {
              "label": {
                "text": "labels.organizational_unit"
              },
              "schema": {
                "$ref": "schema#/items/properties/subject/properties/organizationalUnits/items"
              },
              "type": "input"
            },
            "label": {
              "text": "labels.organizational_units",
              "isSubsection": true
            }
          },
          {
            "schema": {
              "$ref": "schema#/items/properties/subject/properties/provinces"
            },
            "type": "list-input-form",
            "element": {
              "label": {
                "text": "labels.province"
              },
              "schema": {
                "$ref": "schema#/items/properties/subject/properties/provinces/items"
              },
              "type": "input"
            },
            "label": {
              "text": "labels.provinces",
              "isSubsection": true
            }
          }
        ]
      },
      {
        "schema": {
          "$ref": "schema#/items/properties/dnsNames"
        },
        "hasLineLabel": true,
        "type": "list-input-form",
        "element": {
          "label": {
            "text": "labels.dns_name"
          },
          "schema": {
            "$ref": "schema#/items/properties/dnsNames/items"
          },
          "type": "input"
        },
        "label": {
          "text": "labels.dns_names",
          "hasLine": true
        }
      },
      {
        "schema": {
          "$ref": "schema#/items/properties/ipAddresses"
        },
        "type": "list-input-form",
        "element": {
          "label": {
            "text": "labels.ip_address"
          },
          "schema": {
            "$ref": "schema#/items/properties/ipAddresses/items"
          },
          "type": "input"
        },
        "label": {
          "text": "labels.ip_addresses",
          "hasLine": true
        }
      }
    ],
    "type": "single-step-form"
  }
}