{
  "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/2007/17",
  "count": 4,
  "effects": [
    {
      "type": "substituted",
      "affected": {
        "id": "asp/2003/7",
        "title": "Criminal Justice (Scotland) Act 2003",
        "provisions": "s. 40(8)(a)(b)",
        "url": "https://openlegislation.uk/criminal-justice-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2007/17",
        "title": "Custodial Sentences and Weapons (Scotland) Act 2007",
        "provisions": "sch. 4 para. 4(4)",
        "url": "https://openlegislation.uk/custodial-sentences-and-weapons-scotland-act-2007"
      },
      "applied": false,
      "requires_applied": true,
      "in_force_date": null
    },
    {
      "type": "word substituted",
      "affected": {
        "id": "asp/2003/7",
        "title": "Criminal Justice (Scotland) Act 2003",
        "provisions": "s. 40(3)",
        "url": "https://openlegislation.uk/criminal-justice-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2007/17",
        "title": "Custodial Sentences and Weapons (Scotland) Act 2007",
        "provisions": "sch. 4 para. 4(3)(a)",
        "url": "https://openlegislation.uk/custodial-sentences-and-weapons-scotland-act-2007"
      },
      "applied": false,
      "requires_applied": true,
      "in_force_date": null
    },
    {
      "type": "word substituted",
      "affected": {
        "id": "asp/2003/7",
        "title": "Criminal Justice (Scotland) Act 2003",
        "provisions": "s. 40(3)",
        "url": "https://openlegislation.uk/criminal-justice-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2007/17",
        "title": "Custodial Sentences and Weapons (Scotland) Act 2007",
        "provisions": "sch. 4 para. 4(3)(b)",
        "url": "https://openlegislation.uk/custodial-sentences-and-weapons-scotland-act-2007"
      },
      "applied": false,
      "requires_applied": true,
      "in_force_date": null
    },
    {
      "type": "words substituted",
      "affected": {
        "id": "asp/2003/7",
        "title": "Criminal Justice (Scotland) Act 2003",
        "provisions": "s. 40(1)",
        "url": "https://openlegislation.uk/criminal-justice-scotland-act-2003"
      },
      "affecting": {
        "id": "asp/2007/17",
        "title": "Custodial Sentences and Weapons (Scotland) Act 2007",
        "provisions": "sch. 4 para. 4(2)",
        "url": "https://openlegislation.uk/custodial-sentences-and-weapons-scotland-act-2007"
      },
      "applied": false,
      "requires_applied": true,
      "in_force_date": null
    }
  ],
  "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."
}