{
  "url": "https://openlegislation.uk/online-safety-act-2023/section-42",
  "json_url": "https://openlegislation.uk/online-safety-act-2023/section-42.json",
  "legislation": "ukpga/2023/50",
  "legislation_title": "Online Safety Act 2023",
  "legislation_url": "https://openlegislation.uk/online-safety-act-2023",
  "path": "section/42",
  "kind": "section",
  "number": "42",
  "heading": "Codes of practice: principles, objectives, content",
  "text": "Schedule 4 contains—\n(a) provision about the principles OFCOM must consider when preparing codes of practice under section 41,\n(b) the online safety objectives (and a power for the Secretary of State by regulations to revise those objectives),\n(c) provision about the measures that may be described in codes of practice (including, in particular, constraints on the recommendation of the use of proactive technology), and\n(d) other provision related to codes of practice.",
  "extent": "E+W+S+N.I.",
  "status": null,
  "version": "current",
  "annotations": [
    {
      "type": "I",
      "label": "I1",
      "text": "S. 42 in force at Royal Assent, see s. 240(4)(d)"
    }
  ],
  "outstanding_effects": [],
  "provenance": {
    "source": "legislation.gov.uk",
    "source_url": "https://www.legislation.gov.uk/ukpga/2023/50/section/42",
    "retrieved_at": "2026-10-29T08:51:47.656361+00:00"
  },
  "licence": "Open Government Licence v3.0",
  "licence_url": "https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/",
  "attribution": "Contains public sector information licensed under the Open Government Licence v3.0. Source: legislation.gov.uk, The National Archives."
}