{
  "legislation": {
    "id": "asp/2007/17",
    "title": "Custodial Sentences and Weapons (Scotland) Act 2007",
    "short_title": "Custodial Sentences and Weapons (Scotland) Act 2007",
    "citation": "2007 asp 17",
    "type": "asp",
    "date": "2007-04-19",
    "revised": true,
    "unapplied_effects": 74,
    "url": "https://openlegislation.uk/custodial-sentences-and-weapons-scotland-act-2007",
    "json_url": "https://openlegislation.uk/custodial-sentences-and-weapons-scotland-act-2007.json"
  },
  "direction": "made_to",
  "with": "asp/2012/7",
  "count": 8,
  "effects": [
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2007/17",
        "title": "Custodial Sentences and Weapons (Scotland) Act 2007",
        "provisions": "s. 20A",
        "url": "https://openlegislation.uk/custodial-sentences-and-weapons-scotland-act-2007"
      },
      "affecting": {
        "id": "asp/2012/7",
        "title": "Criminal Cases (Punishment and Review) (Scotland) Act 2012",
        "provisions": "s. 1(6)",
        "url": "https://openlegislation.uk/criminal-cases-punishment-and-review-scotland-act-2012"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2012-09-24"
    },
    {
      "type": "power to modify conferred",
      "affected": {
        "id": "asp/2007/17",
        "title": "Custodial Sentences and Weapons (Scotland) Act 2007",
        "provisions": "Pt. 2",
        "url": "https://openlegislation.uk/custodial-sentences-and-weapons-scotland-act-2007"
      },
      "affecting": {
        "id": "asp/2012/7",
        "title": "Criminal Cases (Punishment and Review) (Scotland) Act 2012",
        "provisions": "s. 2(2)",
        "url": "https://openlegislation.uk/criminal-cases-punishment-and-review-scotland-act-2012"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2012-09-24"
    },
    {
      "type": "word repealed",
      "affected": {
        "id": "asp/2007/17",
        "title": "Custodial Sentences and Weapons (Scotland) Act 2007",
        "provisions": "s. 20(5)",
        "url": "https://openlegislation.uk/custodial-sentences-and-weapons-scotland-act-2007"
      },
      "affecting": {
        "id": "asp/2012/7",
        "title": "Criminal Cases (Punishment and Review) (Scotland) Act 2012",
        "provisions": "s. 1(5)(c)(i)",
        "url": "https://openlegislation.uk/criminal-cases-punishment-and-review-scotland-act-2012"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2012-09-24"
    },
    {
      "type": "words substituted",
      "affected": {
        "id": "asp/2007/17",
        "title": "Custodial Sentences and Weapons (Scotland) Act 2007",
        "provisions": "s. 20(5)(b)",
        "url": "https://openlegislation.uk/custodial-sentences-and-weapons-scotland-act-2007"
      },
      "affecting": {
        "id": "asp/2012/7",
        "title": "Criminal Cases (Punishment and Review) (Scotland) Act 2012",
        "provisions": "s. 1(5)(c)(ii)",
        "url": "https://openlegislation.uk/criminal-cases-punishment-and-review-scotland-act-2012"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2012-09-24"
    },
    {
      "type": "words repealed",
      "affected": {
        "id": "asp/2007/17",
        "title": "Custodial Sentences and Weapons (Scotland) Act 2007",
        "provisions": "s. 20(3)",
        "url": "https://openlegislation.uk/custodial-sentences-and-weapons-scotland-act-2007"
      },
      "affecting": {
        "id": "asp/2012/7",
        "title": "Criminal Cases (Punishment and Review) (Scotland) Act 2012",
        "provisions": "s. 1(5)(a)",
        "url": "https://openlegislation.uk/criminal-cases-punishment-and-review-scotland-act-2012"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2012-09-24"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2007/17",
        "title": "Custodial Sentences and Weapons (Scotland) Act 2007",
        "provisions": "s. 20(5)(c) and word",
        "url": "https://openlegislation.uk/custodial-sentences-and-weapons-scotland-act-2007"
      },
      "affecting": {
        "id": "asp/2012/7",
        "title": "Criminal Cases (Punishment and Review) (Scotland) Act 2012",
        "provisions": "s. 1(5)(c)(iii)",
        "url": "https://openlegislation.uk/criminal-cases-punishment-and-review-scotland-act-2012"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2012-09-24"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2007/17",
        "title": "Custodial Sentences and Weapons (Scotland) Act 2007",
        "provisions": "s. 20(5A)",
        "url": "https://openlegislation.uk/custodial-sentences-and-weapons-scotland-act-2007"
      },
      "affecting": {
        "id": "asp/2012/7",
        "title": "Criminal Cases (Punishment and Review) (Scotland) Act 2012",
        "provisions": "s. 1(5)(d)",
        "url": "https://openlegislation.uk/criminal-cases-punishment-and-review-scotland-act-2012"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2012-09-24"
    },
    {
      "type": "inserted",
      "affected": {
        "id": "asp/2007/17",
        "title": "Custodial Sentences and Weapons (Scotland) Act 2007",
        "provisions": "s. 20(4A)",
        "url": "https://openlegislation.uk/custodial-sentences-and-weapons-scotland-act-2007"
      },
      "affecting": {
        "id": "asp/2012/7",
        "title": "Criminal Cases (Punishment and Review) (Scotland) Act 2012",
        "provisions": "s. 1(5)(b)",
        "url": "https://openlegislation.uk/criminal-cases-punishment-and-review-scotland-act-2012"
      },
      "applied": true,
      "requires_applied": true,
      "in_force_date": "2012-09-24"
    }
  ],
  "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."
}