{
  "attribution": {
    "source": "legal.exploreworldai.com",
    "canonical": "https://legal.exploreworldai.com/agent/gdpr-2016-679/artikel-6",
    "license": "https://legal.exploreworldai.com/revision",
    "version": "legal-2026-08-25",
    "proof": "sha256:a31a977cca139dc923aa582341ff0a544338ae9309a34b2db1b8af75adf8e306",
    "jurisdiction": "eu"
  },
  "id": "gdpr-2016-679-6",
  "script": {
    "kind": "operative",
    "fields": [
      {
        "name": "basis",
        "kind": "enum",
        "values": [
          "consent",
          "contract",
          "legal_obligation",
          "vital_interests",
          "public_task",
          "legitimate_interests",
          "none"
        ],
        "label": "Rättslig grund som åberopas",
        "labelEn": "Legal basis relied on"
      },
      {
        "name": "balancing_done",
        "kind": "boolean",
        "label": "Intresseavvägning är gjord och dokumenterad",
        "labelEn": "Balancing test done and documented"
      },
      {
        "name": "public_authority",
        "kind": "boolean",
        "label": "Behandlingen utförs av en myndighet i dess verksamhet",
        "labelEn": "Processing is carried out by a public authority in the performance of its tasks"
      }
    ],
    "rules": [
      {
        "id": "6-none",
        "when": {
          "op": "equals",
          "field": "basis",
          "value": "none"
        },
        "outcome": {
          "code": "no-basis",
          "title": "Ingen rättslig grund är åberopad",
          "titleEn": "No legal basis is relied on",
          "obligation": "Behandlingen är inte laglig. Artikel 6.1 kräver att minst ett av leden a till f är tillämpligt.",
          "obligationEn": "The processing is not lawful. Article 6(1) requires at least one of points (a) to (f) to apply.",
          "refs": [
            "1"
          ]
        }
      },
      {
        "id": "6-li-authority",
        "when": {
          "op": "all",
          "of": [
            {
              "op": "equals",
              "field": "basis",
              "value": "legitimate_interests"
            },
            {
              "op": "equals",
              "field": "public_authority",
              "value": true
            }
          ]
        },
        "outcome": {
          "code": "li-unavailable",
          "title": "Berättigat intresse är inte tillgängligt",
          "titleEn": "Legitimate interests are not available",
          "obligation": "Artikel 6.1 f gäller inte för behandling som utförs av offentliga myndigheter när de fullgör sina uppgifter. En annan grund måste väljas.",
          "obligationEn": "Article 6(1)(f) does not apply to processing carried out by public authorities in the performance of their tasks. Another basis must be chosen.",
          "refs": [
            "1 f"
          ]
        }
      },
      {
        "id": "6-li-no-balancing",
        "when": {
          "op": "all",
          "of": [
            {
              "op": "equals",
              "field": "basis",
              "value": "legitimate_interests"
            },
            {
              "op": "not",
              "of": {
                "op": "equals",
                "field": "balancing_done",
                "value": true
              }
            }
          ]
        },
        "outcome": {
          "code": "balancing-missing",
          "title": "Intresseavvägningen saknas",
          "titleEn": "The balancing test is missing",
          "obligation": "Artikel 6.1 f förutsätter en avvägning mot den registrerades intressen och rättigheter. Utan dokumenterad avvägning bär grunden inte.",
          "obligationEn": "Article 6(1)(f) presupposes a balance against the data subject's interests and rights. Without a documented balance the basis does not hold.",
          "refs": [
            "1 f"
          ]
        }
      },
      {
        "id": "6-ok",
        "when": {
          "op": "in",
          "field": "basis",
          "values": [
            "consent",
            "contract",
            "legal_obligation",
            "vital_interests",
            "public_task",
            "legitimate_interests"
          ]
        },
        "outcome": {
          "code": "basis-stated",
          "title": "En rättslig grund är åberopad",
          "titleEn": "A legal basis is relied on",
          "obligation": "Den angivna grunden finns i artikel 6.1. Grunden måste kunna visas och får inte bytas ut i efterhand för samma ändamål.",
          "obligationEn": "The stated basis exists in Article 6(1). It must be demonstrable and must not be swapped afterwards for the same purpose.",
          "refs": [
            "1"
          ]
        }
      }
    ],
    "fallback": {
      "code": "abstain",
      "title": "Artikeln ger inget utfall på den indata som lämnats",
      "titleEn": "The article yields no outcome for the facts supplied",
      "obligation": "Ingen av artikelns rekvisit är uppfyllda med de uppgifter som lämnats. Lämna fler uppgifter eller läs artikeltexten i sin helhet.",
      "obligationEn": "None of the article's conditions are met with the facts supplied. Supply more facts or read the article in full.",
      "refs": []
    }
  },
  "hash": "sha256:a31a977cca139dc923aa582341ff0a544338ae9309a34b2db1b8af75adf8e306",
  "version": "legal-2026-08-25",
  "expires": "2026-08-31T00:00:00.000Z",
  "dependency": {
    "index_version": "legal-2026-08-25+legal-2026-08-25+2026-08-25T10:00:00",
    "content_hash": "sha256:a31a977cca139dc923aa582341ff0a544338ae9309a34b2db1b8af75adf8e306",
    "revalidate_after": "2026-08-30T08:07:10.840Z",
    "max_copy_age_seconds": 3600,
    "policy": "revalidate-required; live-fetch-per-answer; attribution-required; no-derived-index",
    "changelog": "https://legal.exploreworldai.com/api/public/v1/dependency",
    "verify": "https://legal.exploreworldai.com/api/public/v1/verify",
    "stale_copy_invalid": true
  },
  "canonical": "https://legal.exploreworldai.com/agent/gdpr-2016-679/artikel-6",
  "disclaimer": "Källhänvisning med officiell identifierare. Ingen juridisk rådgivning och inget efterlevnadsbeslut.",
  "usageInfo": "https://legal.exploreworldai.com/citering"
}