{
  "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:60c2f6b3935322476289e90633ef8a3f6569de01213b60e213e3d9cfd1a9e6a7",
    "jurisdiction": "eu"
  },
  "id": "gdpr-2016-679-6",
  "kind": "deterministic-legal-agent",
  "llm_used": false,
  "risk_class": "minimal-risk",
  "act": {
    "id": "gdpr-2016-679",
    "name": "GDPR",
    "celex": "32016R0679"
  },
  "article": "6",
  "title": "Laglig behandling av personuppgifter",
  "official_source": "https://eur-lex.europa.eu/legal-content/SV/TXT/HTML/?uri=CELEX%3A32016R0679#art_6",
  "checked_at": "2026-08-18",
  "inputs": [
    {
      "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"
    }
  ],
  "outcomes": [
    {
      "id": "6-none",
      "when": "basis = none",
      "code": "no-basis",
      "obligation": "Behandlingen är inte laglig. Artikel 6.1 kräver att minst ett av leden a till f är tillämpligt.",
      "obligation_en": "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": "alla(basis = legitimate_interests, public_authority = true)",
      "code": "li-unavailable",
      "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.",
      "obligation_en": "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": "alla(basis = legitimate_interests, inte(balancing_done = true))",
      "code": "balancing-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.",
      "obligation_en": "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": "basis i [consent, contract, legal_obligation, vital_interests, public_task, legitimate_interests]",
      "code": "basis-stated",
      "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.",
      "obligation_en": "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": "abstain",
  "call": "https://legal.exploreworldai.com/api/public/v1/agents/gdpr-2016-679-6/run",
  "hashes": {
    "text": "sha256:36d2c86b2438407d55de69866e86829e1b0ee0d966e0442f6a4e72540c3be5a8",
    "script": "sha256:af28980dfb1bfbab713e4f22405394cca0227618148c77cfd429ec9ab11113b0",
    "engine": "sha256:0a4bd50d21f8ec9be383fc091511008b76ad61909cbfb674eab56fe567fbd7a0",
    "agent": "sha256:31771134423fa1a6be66315f33884ddb892b61b23472f4107c31f9b0a4f3b749"
  },
  "citation": "32016R0679 art. 6, Laglig behandling av personuppgifter. ExploreWorld Legal, https://legal.exploreworldai.com/agent/gdpr-2016-679/artikel-6 (hämtad 2026-08-18, bevis sha256:fe14c59fbce56d4d, bygge legal-2026-08-25).",
  "disclaimer": "Källhänvisning med officiell identifierare. Ingen juridisk rådgivning och inget efterlevnadsbeslut.",
  "canonical": "https://legal.exploreworldai.com/agent/gdpr-2016-679/artikel-6",
  "hash": "sha256:60c2f6b3935322476289e90633ef8a3f6569de01213b60e213e3d9cfd1a9e6a7",
  "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:60c2f6b3935322476289e90633ef8a3f6569de01213b60e213e3d9cfd1a9e6a7",
    "revalidate_after": "2026-08-30T06:27:18.014Z",
    "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
  },
  "usageInfo": "https://legal.exploreworldai.com/citering"
}