{
  "variation-class": "a-iconText-background a-iconText-large",
  "hasIcon": {
    "icon-prefix": "ai",
    "icon-class": "ai-corp"
  },
  "modal-navbar-override": {
      "button-list": [
        {
          "button-class": "a-modal-back",
          "aria-label": "Tilbake",
          "icon-prefix": "ai",
          "icon-class": "ai-back",
          "icon-extra-class": "",
          "stacked-background": {
            "icon-prefix": "ai",
            "icon-class": "ai-plain-circle-big"
          },
          "onclick": "location.href='link.sider-portal-profil-roller-rettigheter'",
          "enable-popover": false
        },
        {
          "button-class": "a-modal-close",
          "aria-label": "Lukk",
          "icon-prefix": "ai",
          "icon-class": "ai-exit",
          "icon-extra-class": "a-modal-close-icon",
          "stacked-background": {
            "icon-prefix": "ai",
            "icon-class": "ai-plain-circle-big"
          },
          "onclick": "location.href='link.sider-portal-profil-roller-rettigheter'",
          "enable-popover": false
        }
      ]
    },
    "others-with-rights": {
        "show-add-rightholder": true,
        "tab-heading": "Hva vil du legge til?",
        "tab-items": [{
            "tab-active": true,
            "tab-href": "home",
            "tab-icon": {
            "icon-prefix": "ai",
            "icon-class": "ai-others",
              "icon-size": ""
            },
            "tab-title": "Person",
            "add-rightholder-heading": "Hvem vil du legge til?",
            "personnummer-input": {
                "text-input-id": "text-fnr-brukernavn",
                "top-label": "Fødselsnr/brukernavn:",
                "text-input-placeholder": "11 siffer",
                "input-type": "text",
                "isRequired": true,
                "error-message-popover": true,
                "extra-help": false,
                "isHidden": false,
                "isLarge": false,
                "input-regex-validation": {
                  "error-message": "Du har tastet et ugyldig fødsensnummer eller brukernavn. Fødselsnummer må bestå av 11 tegn.",
                  "validation-pattern": "\"^([0-9]{11})\\s*$|(.*\\D+.*)\""
                },
                "form-label-hasIcon": false,
                "form-input-hasButton": false
            },
            "etternavn-input": {
                "text-input-id": "text-etternavn",
                "top-label": "Etternavn:",
                "text-input-placeholder": "",
                "input-type": "text",
                "isRequired": true,
                "error-message-popover": true,
                "margin-override": "mb-0",
                "extra-help": false,
                "isHidden": false,
                "isLarge": false,
                "form-label-hasIcon": false,
                "form-input-hasButton": false
            },
            "legg-til-knapp": {
                "button-text": "Neste",
                "button-class": "a-btn a-btn-success",
                "button-type": "submit",
                "onclick": "location.href='link.sider-portal-andre-med-rettigheter-roller-oversikt'; return false;"
            },
            "icon-extra-class": "",
            "icon-prefix": "ai",
            "icon-class": "ai-private"
        }, {
            "tab-active": false,
            "tab-href": "enterprise",
            "tab-icon": {
              "icon-prefix": "ai",
              "icon-class": "ai-corp",
              "icon-size": ""
            },
            "tab-title": "Ekstern virksomhet",
            "add-rightholder-heading": "Hvem vil du legge til?",
            "personnummer-input": {
                "text-input-id": "text-orgno",
                "top-label": "Org.nr.:",
                "form-control-class": "a-js-orgNr",
                "text-input-placeholder": "",
                "input-type": "text",
                "isRequired": true,
                "error-message-popover": true,
                "extra-help": false,
                "isHidden": false,
                "isLarge": false,
                "form-label-hasIcon": false,
                "form-input-hasButton": false
            },
            "etternavn-input": {
                "text-input-id": "text-bedriftnavn",
                "top-label": "Navn:",
                "text-input-placeholder": "Min. 4 første tegn",
                "input-type": "text",
                "isRequired": true,
                "error-message-popover": true,
                "margin-override": "mb-0",
                "extra-help": false,
                "isHidden": false,
                "isLarge": false,
                "form-label-hasIcon": false,
                "form-input-hasButton": false
            },
            "legg-til-knapp": {
                "button-text": "Neste",
                "button-class": "a-btn a-btn-success",
                "button-type": "submit",
                "onclick": "location.href='link.sider-portal-andre-med-rettigheter-roller-oversikt'; return false;"
            },
            "icon-extra-class": "",
            "icon-prefix": "ai",
            "icon-class": "ai-client"
        }, {
            "tab-active": false,
            "tab-href": "enterpriseuser",
            "tab-icon": {
              "icon-prefix": "ai",
              "icon-class": "ai-server",
              "icon-size": ""
            },
            "tab-title": "Bruker med virksomhetssertifikat",
            "add-rightholder-heading": "Hvem vil du legge til?",
            "personnummer-input": {
                "text-input-id": "text-enterprise-brukernavn",
                "top-label": "Brukernavn:",
                "text-input-placeholder": "",
                "input-type": "text",
                "isRequired": true,
                "error-message-popover": true,
                "extra-help": false,
                "isHidden": false,
                "isLarge": false,
                "form-label-hasIcon": false,
                "form-input-hasButton": false
            },
            "etternavn-input": {
                "text-input-id": "text-enterpriseuser-orgno",
                "top-label": "Org.nr.:",
                "form-control-class": "a-js-orgNr",
                "text-input-placeholder": "",
                "input-type": "text",
                "isRequired": true,
                "error-message-popover": true,
                "margin-override": "mb-0",
                "extra-help": false,
                "isHidden": false,
                "isLarge": false,
                "form-label-hasIcon": false,
                "form-input-hasButton": false
            },
            "legg-til-knapp": {
                "button-text": "Neste",
                "button-class": "a-btn a-btn-success",
                "button-type": "submit",
                "onclick": "location.href='link.sider-portal-andre-med-rettigheter-roller-oversikt'; return false;"
            },
            "icon-extra-class": "",
            "icon-prefix": "ai",
            "icon-class": "ai-client"
        }],
        "displayTabs": true,
        "logo": {
          "logo": "../../images/a-logo-black.svg"
        },
        "modal-navbar-override": {
            "button-list": [{
                "button-class": "a-modal-back",
                "aria-label": "Tilbake",
                "icon-prefix": "ai",
                "icon-class": "ai-back",
                "icon-extra-class": "",
                "stacked-background": {
                  "icon-prefix": "ai",
                  "icon-class": "ai-plain-circle-big"
                },
                "onclick": "location.href='link.sider-portal-profil-roller-rettigheter'",
                "enable-popover": false
            }, {
                "button-class": "a-modal-close",
                "aria-label": "Lukk",
                "icon-prefix": "ai",
                "icon-class": "ai-exit",
                "icon-extra-class": "a-modal-close-icon",
                "stacked-background": {
                  "icon-prefix": "ai",
                  "icon-class": "ai-plain-circle-big"
                },
                "onclick": "location.href='link.sider-portal-profil-roller-rettigheter'",
                "enable-popover": false
            }]
        },

        "title": "Altinn",
        "modalBack": true,

        "icon": "group_add",
        "hasTextSmall": false,

        "modal-errorbutton": false,
        "modal-nextbutton": false,
        "modal-discard": false
    },
    "icontext": "Legge til ny person eller virksomhet"
}
