{
  "legislation": {
    "id": "asp/2003/7",
    "title": "Criminal Justice (Scotland) Act 2003",
    "short_title": "Criminal Justice (Scotland) Act 2003",
    "citation": "2003 asp 7",
    "type": "asp",
    "date": "2003-03-26",
    "revised": true,
    "unapplied_effects": 176,
    "url": "https://openlegislation.uk/criminal-justice-scotland-act-2003",
    "json_url": "https://openlegislation.uk/criminal-justice-scotland-act-2003.json"
  },
  "direction": "made_to",
  "with": "asp/2015/9",
  "count": 14,
  "effects": [
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/7",
        "title": "Criminal Justice (Scotland) Act 2003",
        "provisions": "s. 18A",
        "url": "https://openlegislation.uk/criminal-justice-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 58(2)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-05-05"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/7",
        "title": "Criminal Justice (Scotland) Act 2003",
        "provisions": "s. 16(4)(c) and word",
        "url": "https://openlegislation.uk/criminal-justice-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 54(3)(b)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-05-05"
    },
    {
      "type": "word repealed",
      "affected": {
        "id": "asp/2003/7",
        "title": "Criminal Justice (Scotland) Act 2003",
        "provisions": "s. 16(3)",
        "url": "https://openlegislation.uk/criminal-justice-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 54(2)(b)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-05-05"
    },
    {
      "type": "word substituted",
      "affected": {
        "id": "asp/2003/7",
        "title": "Criminal Justice (Scotland) Act 2003",
        "provisions": "s. 16(3)(f)",
        "url": "https://openlegislation.uk/criminal-justice-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 54(2)(c)(i)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-05-05"
    },
    {
      "type": "word repealed",
      "affected": {
        "id": "asp/2003/7",
        "title": "Criminal Justice (Scotland) Act 2003",
        "provisions": "s. 16(4)",
        "url": "https://openlegislation.uk/criminal-justice-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 54(3)(a)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-05-05"
    },
    {
      "type": "words inserted",
      "affected": {
        "id": "asp/2003/7",
        "title": "Criminal Justice (Scotland) Act 2003",
        "provisions": "s. 16(3)(f)",
        "url": "https://openlegislation.uk/criminal-justice-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 54(2)(c)(ii)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-05-05"
    },
    {
      "type": "words inserted",
      "affected": {
        "id": "asp/2003/7",
        "title": "Criminal Justice (Scotland) Act 2003",
        "provisions": "s. 16(3)(e)",
        "url": "https://openlegislation.uk/criminal-justice-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 54(2)(a)(ii)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-05-05"
    },
    {
      "type": "word substituted",
      "affected": {
        "id": "asp/2003/7",
        "title": "Criminal Justice (Scotland) Act 2003",
        "provisions": "s. 16(3)(e)",
        "url": "https://openlegislation.uk/criminal-justice-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 54(2)(a)(i)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-05-05"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/7",
        "title": "Criminal Justice (Scotland) Act 2003",
        "provisions": "s. 16(3)(g)",
        "url": "https://openlegislation.uk/criminal-justice-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 54(2)(d)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-05-05"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/7",
        "title": "Criminal Justice (Scotland) Act 2003",
        "provisions": "s. 16A-16C",
        "url": "https://openlegislation.uk/criminal-justice-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 55(2)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-09-15"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/7",
        "title": "Criminal Justice (Scotland) Act 2003",
        "provisions": "s. 17E",
        "url": "https://openlegislation.uk/criminal-justice-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 57(2)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-09-15"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/7",
        "title": "Criminal Justice (Scotland) Act 2003",
        "provisions": "s. 17B-17D",
        "url": "https://openlegislation.uk/criminal-justice-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 56(2)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-09-15"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2003/7",
        "title": "Criminal Justice (Scotland) Act 2003",
        "provisions": "s. 18B",
        "url": "https://openlegislation.uk/criminal-justice-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 59(2)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-09-30"
    },
    {
      "type": "word inserted",
      "affected": {
        "id": "asp/2003/7",
        "title": "Criminal Justice (Scotland) Act 2003",
        "provisions": "s. 88",
        "url": "https://openlegislation.uk/criminal-justice-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2015/9",
        "title": "Mental Health (Scotland) Act 2015",
        "provisions": "s. 59(3)",
        "url": "https://openlegislation.uk/mental-health-scotland-act-2015"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2017-09-30"
    }
  ],
  "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."
}