{
  "legislation": {
    "id": "ukpga/2006/52",
    "title": "Armed Forces Act 2006",
    "short_title": "Armed Forces Act 2006",
    "citation": "2006 c. 52",
    "type": "ukpga",
    "date": "2006-11-08",
    "revised": true,
    "unapplied_effects": 204,
    "url": "https://openlegislation.uk/armed-forces-act-2006",
    "json_url": "https://openlegislation.uk/armed-forces-act-2006.json"
  },
  "direction": "made_to",
  "with": "ukpga/2007/12",
  "count": 2,
  "effects": [
    {
      "type": "words substituted",
      "affected": {
        "id": "ukpga/2006/52",
        "title": "Armed Forces Act 2006",
        "provisions": "s. 171(4)",
        "url": "https://openlegislation.uk/armed-forces-act-2006"
      },
      "affecting": {
        "id": "ukpga/2007/12",
        "title": "Mental Health Act 2007",
        "provisions": "s. 15(5)(b)",
        "url": "https://openlegislation.uk/mental-health-act-2007"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2008-11-03"
    },
    {
      "type": "words substituted",
      "affected": {
        "id": "ukpga/2006/52",
        "title": "Armed Forces Act 2006",
        "provisions": "s. 171(1)",
        "url": "https://openlegislation.uk/armed-forces-act-2006"
      },
      "affecting": {
        "id": "ukpga/2007/12",
        "title": "Mental Health Act 2007",
        "provisions": "s. 15(5)(a)",
        "url": "https://openlegislation.uk/mental-health-act-2007"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2008-11-03"
    }
  ],
  "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."
}