{
	"openapi": "3.0.0",
	"components": {
		"examples": {},
		"headers": {},
		"parameters": {},
		"requestBodies": {},
		"responses": {},
		"schemas": {
			"ActivityActivityTypeResponse": {
				"enum": [
					"skips",
					"scaffolding",
					"hoarding",
					"crane_mobile_platform",
					"event",
					"section50",
					"section58",
					"compound",
					"other",
					"upcoming_enum"
				],
				"type": "string"
			},
			"TrafficManagementTypeResponse": {
				"enum": [
					"road_closure",
					"contra_flow",
					"lane_closure",
					"multi_way_signals",
					"two_way_signals",
					"convoy_workings",
					"stop_go_boards",
					"priority_working",
					"give_and_take",
					"some_carriageway_incursion",
					"no_carriageway_incursion",
					"temp_obstruction_15_minute_delay",
					"upcoming_enum"
				],
				"type": "string"
			},
			"ActivitySummaryResponse": {
				"properties": {
					"activity_reference_number": {
						"type": "string"
					},
					"usrn": {
						"type": "number",
						"format": "double"
					},
					"street_name": {
						"type": "string"
					},
					"town": {
						"type": "string"
					},
					"area_name": {
						"type": "string"
					},
					"road_category": {
						"type": "number",
						"format": "double"
					},
					"activity_coordinates": {},
					"activity_name": {
						"type": "string"
					},
					"activity_activity_type": {
						"$ref": "#/components/schemas/ActivityActivityTypeResponse"
					},
					"activity_activity_type_string": {
						"type": "string"
					},
					"activity_type_details": {
						"type": "string",
						"nullable": true
					},
					"contact_name": {
						"type": "string"
					},
					"contact_details": {
						"type": "string"
					},
					"start_date": {
						"type": "string",
						"format": "date-time"
					},
					"start_time": {
						"type": "string",
						"format": "date-time",
						"nullable": true
					},
					"end_date": {
						"type": "string",
						"format": "date-time"
					},
					"end_time": {
						"type": "string",
						"format": "date-time",
						"nullable": true
					},
					"activity_location_description": {
						"type": "string"
					},
					"traffic_management_required": {
						"type": "boolean"
					},
					"traffic_management_type": {
						"$ref": "#/components/schemas/TrafficManagementTypeResponse"
					},
					"traffic_management_type_string": {
						"type": "string"
					},
					"collaborative_working": {
						"type": "boolean"
					},
					"additional_info": {
						"type": "string"
					},
					"cancelled": {
						"type": "boolean"
					},
					"cancelled_reason": {
						"type": "string",
						"nullable": true
					},
					"ha_organisation_name": {
						"type": "string"
					},
					"date_created": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": [
					"activity_reference_number",
					"usrn",
					"street_name",
					"town",
					"area_name",
					"road_category",
					"activity_coordinates",
					"activity_name",
					"activity_activity_type",
					"activity_activity_type_string",
					"contact_name",
					"contact_details",
					"start_date",
					"end_date",
					"activity_location_description",
					"traffic_management_required",
					"traffic_management_type",
					"traffic_management_type_string",
					"collaborative_working",
					"additional_info",
					"cancelled",
					"ha_organisation_name",
					"date_created"
				],
				"type": "object",
				"additionalProperties": false
			},
			"PaginationResponse": {
				"properties": {
					"total_rows": {
						"type": "number",
						"format": "double",
						"nullable": true
					},
					"has_next_page": {
						"type": "boolean"
					}
				},
				"required": [
					"total_rows",
					"has_next_page"
				],
				"type": "object",
				"additionalProperties": false
			},
			"ActivityReportingResponse": {
				"properties": {
					"pagination": {
						"$ref": "#/components/schemas/PaginationResponse"
					},
					"rows": {
						"items": {
							"$ref": "#/components/schemas/ActivitySummaryResponse"
						},
						"type": "array"
					}
				},
				"required": [
					"pagination",
					"rows"
				],
				"type": "object",
				"additionalProperties": false
			},
			"ActivityActivityType": {
				"enum": [
					"skips",
					"scaffolding",
					"hoarding",
					"crane_mobile_platform",
					"event",
					"section50",
					"section58",
					"compound",
					"other"
				],
				"type": "string"
			},
			"ActivitySortColumn": {
				"enum": [
					"date_created"
				],
				"type": "string"
			},
			"SortDirection": {
				"enum": [
					"asc",
					"desc"
				],
				"type": "string"
			},
			"WorkStatusResponse": {
				"enum": [
					"planned",
					"in_progress",
					"completed",
					"cancelled",
					"unattributable",
					"historical",
					"non_notifiable",
					"section_81",
					"upcoming_enum"
				],
				"type": "string"
			},
			"WorkCategoryResponse": {
				"enum": [
					"minor",
					"standard",
					"major",
					"immediate_urgent",
					"immediate_emergency",
					"paa",
					"hs2_highway",
					"upcoming_enum"
				],
				"type": "string"
			},
			"AlterationStatusResponse": {
				"enum": [
					"submitted",
					"granted",
					"granted_with_duration_challenge",
					"refused",
					"deemed",
					"cancelled",
					"revoked",
					"auto_applied",
					"upcoming_enum"
				],
				"type": "string"
			},
			"AlterationTypeResponse": {
				"enum": [
					"PROMOTER_IMPOSED_CHANGE",
					"PROMOTER_CHANGE_REQUEST",
					"HA_CHANGE_REQUEST",
					"HA_IMPOSED_CHANGE",
					"WORK_EXTENSION",
					"DURATION_CHALLENGE",
					"MODIFIED_PERMIT",
					"upcoming_enum"
				],
				"type": "string"
			},
			"LaneRentalAssessmentOutcomeResponse": {
				"enum": [
					"chargeable",
					"potentially_chargeable",
					"charges_waived",
					"exempt",
					"charges_not_applicable",
					"upcoming_enum"
				],
				"type": "string"
			},
			"AlterationSummaryResponse": {
				"properties": {
					"work_reference_number": {
						"type": "string"
					},
					"permit_reference_number": {
						"type": "string"
					},
					"alteration_reference_number": {
						"type": "string"
					},
					"street": {
						"type": "string"
					},
					"town": {
						"type": "string"
					},
					"area": {
						"type": "string"
					},
					"location_description": {
						"type": "string"
					},
					"highway_authority": {
						"type": "string"
					},
					"promoter": {
						"type": "string"
					},
					"work_status": {
						"$ref": "#/components/schemas/WorkStatusResponse"
					},
					"work_status_string": {
						"type": "string"
					},
					"proposed_start_date": {
						"type": "string",
						"format": "date-time"
					},
					"proposed_end_date": {
						"type": "string",
						"format": "date-time"
					},
					"proposed_start_time": {
						"type": "string",
						"format": "date-time",
						"nullable": true
					},
					"proposed_end_time": {
						"type": "string",
						"format": "date-time",
						"nullable": true
					},
					"work_category": {
						"$ref": "#/components/schemas/WorkCategoryResponse"
					},
					"work_category_string": {
						"type": "string"
					},
					"alteration_status": {
						"$ref": "#/components/schemas/AlterationStatusResponse"
					},
					"alteration_status_string": {
						"type": "string"
					},
					"alteration_type": {
						"$ref": "#/components/schemas/AlterationTypeResponse"
					},
					"alteration_type_string": {
						"type": "string"
					},
					"date_created": {
						"type": "string",
						"format": "date-time"
					},
					"deadline_date": {
						"type": "string",
						"format": "date-time"
					},
					"status_changed_date": {
						"type": "string",
						"format": "date-time"
					},
					"lane_rental_assessment_outcome": {
						"allOf": [
							{
								"$ref": "#/components/schemas/LaneRentalAssessmentOutcomeResponse"
							}
						],
						"nullable": true
					},
					"lane_rental_assessment_outcome_string": {
						"type": "string",
						"nullable": true
					},
					"lane_rental_charges_not_agreed": {
						"type": "boolean"
					},
					"lane_rental_charges_potentially_apply": {
						"type": "boolean"
					}
				},
				"required": [
					"work_reference_number",
					"permit_reference_number",
					"alteration_reference_number",
					"street",
					"town",
					"area",
					"location_description",
					"highway_authority",
					"promoter",
					"work_status",
					"work_status_string",
					"proposed_start_date",
					"proposed_end_date",
					"work_category",
					"work_category_string",
					"alteration_status",
					"alteration_status_string",
					"alteration_type",
					"alteration_type_string",
					"date_created",
					"deadline_date",
					"status_changed_date",
					"lane_rental_charges_not_agreed",
					"lane_rental_charges_potentially_apply"
				],
				"type": "object",
				"additionalProperties": false
			},
			"AlterationReportingResponse": {
				"properties": {
					"pagination": {
						"$ref": "#/components/schemas/PaginationResponse"
					},
					"rows": {
						"items": {
							"$ref": "#/components/schemas/AlterationSummaryResponse"
						},
						"type": "array"
					}
				},
				"required": [
					"pagination",
					"rows"
				],
				"type": "object",
				"additionalProperties": false
			},
			"AlterationStatus": {
				"enum": [
					"submitted",
					"granted",
					"granted_with_duration_challenge",
					"refused",
					"deemed",
					"cancelled",
					"revoked",
					"auto_applied"
				],
				"type": "string"
			},
			"AlterationType": {
				"enum": [
					"PROMOTER_IMPOSED_CHANGE",
					"PROMOTER_CHANGE_REQUEST",
					"HA_CHANGE_REQUEST",
					"HA_IMPOSED_CHANGE",
					"WORK_EXTENSION",
					"DURATION_CHALLENGE",
					"MODIFIED_PERMIT"
				],
				"type": "string"
			},
			"WorkStatus": {
				"enum": [
					"planned",
					"in_progress",
					"completed",
					"cancelled",
					"unattributable",
					"historical",
					"non_notifiable",
					"section_81"
				],
				"type": "string"
			},
			"WorkCategory": {
				"enum": [
					"minor",
					"standard",
					"major",
					"immediate_urgent",
					"immediate_emergency",
					"paa",
					"hs2_highway"
				],
				"type": "string"
			},
			"LaneRentalAssessmentOutcome": {
				"enum": [
					"chargeable",
					"potentially_chargeable",
					"charges_waived",
					"exempt",
					"charges_not_applicable"
				],
				"type": "string"
			},
			"AlterationSortColumn": {
				"enum": [
					"date_created",
					"proposed_start_date",
					"proposed_end_date",
					"status_changed_date"
				],
				"type": "string"
			},
			"DurationChallengeReviewStatusResponse": {
				"enum": [
					"duration_challenge_accepted",
					"duration_challenge_not_accepted",
					"no_response",
					"upcoming_enum"
				],
				"type": "string"
			},
			"DurationChallengeNonAcceptanceResponseStatusResponse": {
				"enum": [
					"reasonable_period_end_date_changed",
					"reasonable_period_end_date_not_changed",
					"no_response",
					"upcoming_enum"
				],
				"type": "string"
			},
			"AlterationDurationChallengeSummaryResponse": {
				"properties": {
					"work_reference_number": {
						"type": "string"
					},
					"permit_reference_number": {
						"type": "string"
					},
					"alteration_reference_number": {
						"type": "string"
					},
					"location_description": {
						"type": "string"
					},
					"street": {
						"type": "string"
					},
					"town": {
						"type": "string"
					},
					"area": {
						"type": "string"
					},
					"usrn": {
						"type": "number",
						"format": "double"
					},
					"promoter_swa_code": {
						"type": "string"
					},
					"promoter_organisation": {
						"type": "string"
					},
					"highway_authority": {
						"type": "string"
					},
					"proposed_start_date": {
						"type": "string",
						"format": "date-time"
					},
					"proposed_end_date": {
						"type": "string",
						"format": "date-time"
					},
					"proposed_start_time": {
						"type": "string",
						"format": "date-time",
						"nullable": true
					},
					"proposed_end_time": {
						"type": "string",
						"format": "date-time",
						"nullable": true
					},
					"actual_start_date": {
						"type": "string",
						"format": "date-time",
						"nullable": true
					},
					"actual_end_date": {
						"type": "string",
						"format": "date-time",
						"nullable": true
					},
					"reasonable_period_end_date": {
						"type": "string",
						"format": "date-time"
					},
					"status_changed_date": {
						"type": "string",
						"format": "date-time"
					},
					"duration_challenge_review_status": {
						"allOf": [
							{
								"$ref": "#/components/schemas/DurationChallengeReviewStatusResponse"
							}
						],
						"nullable": true
					},
					"duration_challenge_review_status_string": {
						"type": "string"
					},
					"duration_challenge_review_update_date": {
						"type": "string",
						"format": "date-time",
						"nullable": true
					},
					"duration_challenge_non_acceptance_response_status": {
						"allOf": [
							{
								"$ref": "#/components/schemas/DurationChallengeNonAcceptanceResponseStatusResponse"
							}
						],
						"nullable": true
					},
					"duration_challenge_non_acceptance_response_status_string": {
						"type": "string"
					},
					"duration_challenge_non_acceptance_response_update_date": {
						"type": "string",
						"format": "date-time",
						"nullable": true
					},
					"duration_challenge_follow_up_review_complete": {
						"type": "boolean",
						"nullable": true
					},
					"work_status": {
						"$ref": "#/components/schemas/WorkStatusResponse"
					},
					"work_status_string": {
						"type": "string"
					}
				},
				"required": [
					"work_reference_number",
					"permit_reference_number",
					"alteration_reference_number",
					"location_description",
					"street",
					"town",
					"area",
					"usrn",
					"promoter_swa_code",
					"promoter_organisation",
					"highway_authority",
					"proposed_start_date",
					"proposed_end_date",
					"reasonable_period_end_date",
					"status_changed_date",
					"work_status",
					"work_status_string"
				],
				"type": "object",
				"additionalProperties": false
			},
			"AlterationDurationChallengeReportingResponse": {
				"properties": {
					"pagination": {
						"$ref": "#/components/schemas/PaginationResponse"
					},
					"rows": {
						"items": {
							"$ref": "#/components/schemas/AlterationDurationChallengeSummaryResponse"
						},
						"type": "array"
					}
				},
				"required": [
					"pagination",
					"rows"
				],
				"type": "object",
				"additionalProperties": false
			},
			"AlterationDurationChallengeSortColumn": {
				"enum": [
					"status_changed_date"
				],
				"type": "string"
			},
			"DurationChallengeReviewStatus": {
				"enum": [
					"duration_challenge_accepted",
					"duration_challenge_not_accepted",
					"no_response"
				],
				"type": "string"
			},
			"DurationChallengeNonAcceptanceResponseStatus": {
				"enum": [
					"reasonable_period_end_date_changed",
					"reasonable_period_end_date_not_changed",
					"no_response"
				],
				"type": "string"
			},
			"AssessmentStatusResponse": {
				"enum": [
					"granted",
					"granted_auto",
					"refused",
					"refused_auto",
					"permit_modification_request",
					"revoked",
					"upcoming_enum"
				],
				"type": "string"
			},
			"PermitStatusResponse": {
				"enum": [
					"submitted",
					"granted",
					"permit_modification_request",
					"refused",
					"closed",
					"cancelled",
					"revoked",
					"progressed",
					"upcoming_enum",
					"under_assessment"
				],
				"type": "string"
			},
			"PermitConditionTypeResponse": {
				"enum": [
					"NCT01a",
					"NCT01b",
					"NCT02a",
					"NCT02b",
					"NCT04a",
					"NCT04b",
					"NCT05a",
					"NCT06a",
					"NCT07a",
					"NCT08a",
					"NCT08b",
					"NCT09a",
					"NCT09b",
					"NCT09c",
					"NCT10a",
					"NCT11a",
					"NCT11b",
					"NCT12a",
					"upcoming_enum"
				],
				"type": "string"
			},
			"PermitCondition": {
				"properties": {
					"condition": {
						"$ref": "#/components/schemas/PermitConditionTypeResponse"
					},
					"condition_string": {
						"type": "string"
					},
					"comment": {
						"type": "string",
						"nullable": true
					}
				},
				"required": [
					"condition",
					"condition_string"
				],
				"type": "object",
				"additionalProperties": false
			},
			"ActivityTypeResponse": {
				"enum": [
					"highway_improvement_works",
					"highway_repair_and_maintenance_works",
					"utility_asset_works",
					"utility_repair_and_maintenance_works",
					"diversionary_works",
					"disconnection_or_alteration_of_supply",
					"permanent_reinstatement",
					"remedial_works",
					"section_58",
					"section_50",
					"core_sampling",
					"statutory_infrastructure_works",
					"works_for_rail_purposes",
					"works_for_road_purposes",
					"new_service_connection",
					"optional_permit_no_fee",
					"upcoming_enum"
				],
				"type": "string"
			},
			"PermitSummaryResponse": {
				"properties": {
					"work_reference_number": {
						"type": "string"
					},
					"permit_reference_number": {
						"type": "string"
					},
					"promoter_swa_code": {
						"type": "string"
					},
					"promoter_organisation": {
						"type": "string"
					},
					"highway_authority": {
						"type": "string"
					},
					"works_coordinates": {},
					"location_description": {
						"type": "string"
					},
					"street": {
						"type": "string"
					},
					"town": {
						"type": "string"
					},
					"area": {
						"type": "string"
					},
					"work_category": {
						"$ref": "#/components/schemas/WorkCategoryResponse"
					},
					"work_category_string": {
						"type": "string"
					},
					"description_of_work": {
						"type": "string"
					},
					"traffic_management_type": {
						"$ref": "#/components/schemas/TrafficManagementTypeResponse"
					},
					"traffic_management_type_string": {
						"type": "string"
					},
					"assessment_status": {
						"allOf": [
							{
								"$ref": "#/components/schemas/AssessmentStatusResponse"
							}
						],
						"nullable": true
					},
					"assessment_status_string": {
						"type": "string",
						"nullable": true
					},
					"proposed_start_date": {
						"type": "string",
						"format": "date-time"
					},
					"proposed_end_date": {
						"type": "string",
						"format": "date-time"
					},
					"proposed_start_time": {
						"type": "string",
						"format": "date-time",
						"nullable": true
					},
					"proposed_end_time": {
						"type": "string",
						"format": "date-time",
						"nullable": true
					},
					"actual_start_date": {
						"type": "string",
						"format": "date-time",
						"nullable": true
					},
					"actual_end_date": {
						"type": "string",
						"format": "date-time",
						"nullable": true
					},
					"status": {
						"$ref": "#/components/schemas/PermitStatusResponse"
					},
					"status_string": {
						"type": "string"
					},
					"work_status": {
						"$ref": "#/components/schemas/WorkStatusResponse"
					},
					"work_status_string": {
						"type": "string"
					},
					"deadline_date": {
						"type": "string",
						"format": "date-time"
					},
					"date_created": {
						"type": "string",
						"format": "date-time"
					},
					"status_changed_date": {
						"type": "string",
						"format": "date-time"
					},
					"usrn": {
						"type": "number",
						"format": "double"
					},
					"is_active_permit": {
						"type": "boolean"
					},
					"permit_conditions": {
						"items": {
							"$ref": "#/components/schemas/PermitCondition"
						},
						"type": "array",
						"nullable": true
					},
					"road_category": {
						"type": "number",
						"format": "double"
					},
					"is_traffic_sensitive": {
						"type": "boolean"
					},
					"has_no_final_reinstatement": {
						"type": "boolean"
					},
					"is_deemed": {
						"type": "boolean"
					},
					"excavation_carried_out": {
						"type": "boolean"
					},
					"is_early_start": {
						"type": "boolean"
					},
					"is_high_impact_traffic_management": {
						"type": "boolean"
					},
					"is_lane_rental": {
						"type": "boolean"
					},
					"lane_rental_assessment_outcome": {
						"allOf": [
							{
								"$ref": "#/components/schemas/LaneRentalAssessmentOutcomeResponse"
							}
						],
						"nullable": true
					},
					"lane_rental_assessment_outcome_string": {
						"type": "string",
						"nullable": true
					},
					"lane_rental_charges_not_agreed": {
						"type": "boolean"
					},
					"lane_rental_charges_potentially_apply": {
						"type": "boolean"
					},
					"paa_to_pa_deadline_date": {
						"type": "string",
						"format": "date-time",
						"nullable": true
					},
					"activity_type": {
						"$ref": "#/components/schemas/ActivityTypeResponse"
					},
					"activity_type_string": {
						"type": "string"
					},
					"reasonable_period_end_date": {
						"type": "string",
						"format": "date-time",
						"nullable": true
					}
				},
				"required": [
					"work_reference_number",
					"permit_reference_number",
					"promoter_swa_code",
					"promoter_organisation",
					"highway_authority",
					"works_coordinates",
					"location_description",
					"street",
					"town",
					"area",
					"work_category",
					"work_category_string",
					"description_of_work",
					"traffic_management_type",
					"traffic_management_type_string",
					"proposed_start_date",
					"proposed_end_date",
					"status",
					"status_string",
					"work_status",
					"work_status_string",
					"deadline_date",
					"date_created",
					"status_changed_date",
					"usrn",
					"is_active_permit",
					"road_category",
					"is_traffic_sensitive",
					"has_no_final_reinstatement",
					"is_deemed",
					"excavation_carried_out",
					"is_early_start",
					"is_high_impact_traffic_management",
					"is_lane_rental",
					"lane_rental_charges_not_agreed",
					"lane_rental_charges_potentially_apply",
					"activity_type",
					"activity_type_string"
				],
				"type": "object",
				"additionalProperties": false
			},
			"PermitReportingResponse": {
				"properties": {
					"pagination": {
						"$ref": "#/components/schemas/PaginationResponse"
					},
					"rows": {
						"items": {
							"$ref": "#/components/schemas/PermitSummaryResponse"
						},
						"type": "array"
					}
				},
				"required": [
					"pagination",
					"rows"
				],
				"type": "object",
				"additionalProperties": false
			},
			"PermitStatus": {
				"enum": [
					"submitted",
					"granted",
					"permit_modification_request",
					"refused",
					"closed",
					"cancelled",
					"revoked",
					"progressed",
					"under_assessment"
				],
				"type": "string"
			},
			"PermitSortColumn": {
				"enum": [
					"date_created",
					"deadline_date",
					"end_date",
					"start_date",
					"status_changed_date",
					"reasonable_period_end_date"
				],
				"type": "string"
			},
			"PermitDurationChallengeSummaryResponse": {
				"properties": {
					"work_reference_number": {
						"type": "string"
					},
					"permit_reference_number": {
						"type": "string"
					},
					"location_description": {
						"type": "string"
					},
					"street": {
						"type": "string"
					},
					"town": {
						"type": "string"
					},
					"area": {
						"type": "string"
					},
					"usrn": {
						"type": "number",
						"format": "double"
					},
					"promoter_swa_code": {
						"type": "string"
					},
					"promoter_organisation": {
						"type": "string"
					},
					"highway_authority": {
						"type": "string"
					},
					"proposed_start_date": {
						"type": "string",
						"format": "date-time"
					},
					"proposed_end_date": {
						"type": "string",
						"format": "date-time"
					},
					"proposed_start_time": {
						"type": "string",
						"format": "date-time",
						"nullable": true
					},
					"proposed_end_time": {
						"type": "string",
						"format": "date-time",
						"nullable": true
					},
					"actual_start_date": {
						"type": "string",
						"format": "date-time",
						"nullable": true
					},
					"actual_end_date": {
						"type": "string",
						"format": "date-time",
						"nullable": true
					},
					"reasonable_period_end_date": {
						"type": "string",
						"format": "date-time"
					},
					"assessment_status_changed_date": {
						"type": "string",
						"format": "date-time"
					},
					"duration_challenge_review_status": {
						"allOf": [
							{
								"$ref": "#/components/schemas/DurationChallengeReviewStatusResponse"
							}
						],
						"nullable": true
					},
					"duration_challenge_review_status_string": {
						"type": "string"
					},
					"duration_challenge_review_update_date": {
						"type": "string",
						"format": "date-time",
						"nullable": true
					},
					"duration_challenge_non_acceptance_response_status": {
						"allOf": [
							{
								"$ref": "#/components/schemas/DurationChallengeNonAcceptanceResponseStatusResponse"
							}
						],
						"nullable": true
					},
					"duration_challenge_non_acceptance_response_status_string": {
						"type": "string"
					},
					"duration_challenge_non_acceptance_response_update_date": {
						"type": "string",
						"format": "date-time",
						"nullable": true
					},
					"duration_challenge_follow_up_review_complete": {
						"type": "boolean",
						"nullable": true
					},
					"work_status": {
						"$ref": "#/components/schemas/WorkStatusResponse"
					},
					"work_status_string": {
						"type": "string"
					}
				},
				"required": [
					"work_reference_number",
					"permit_reference_number",
					"location_description",
					"street",
					"town",
					"area",
					"usrn",
					"promoter_swa_code",
					"promoter_organisation",
					"highway_authority",
					"proposed_start_date",
					"proposed_end_date",
					"reasonable_period_end_date",
					"assessment_status_changed_date",
					"work_status",
					"work_status_string"
				],
				"type": "object",
				"additionalProperties": false
			},
			"PermitDurationChallengeReportingResponse": {
				"properties": {
					"pagination": {
						"$ref": "#/components/schemas/PaginationResponse"
					},
					"rows": {
						"items": {
							"$ref": "#/components/schemas/PermitDurationChallengeSummaryResponse"
						},
						"type": "array"
					}
				},
				"required": [
					"pagination",
					"rows"
				],
				"type": "object",
				"additionalProperties": false
			},
			"PermitDurationChallengeSortColumn": {
				"enum": [
					"assessment_status_changed_date"
				],
				"type": "string"
			},
			"ReinstatementsDueSummaryResponse": {
				"properties": {
					"work_reference_number": {
						"type": "string"
					},
					"permit_reference_number": {
						"type": "string"
					},
					"organisation_name": {
						"type": "string"
					},
					"street": {
						"type": "string"
					},
					"town": {
						"type": "string"
					},
					"area": {
						"type": "string"
					},
					"work_stopped_date": {
						"type": "string",
						"format": "date-time"
					},
					"registration_due_date": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": [
					"work_reference_number",
					"permit_reference_number",
					"organisation_name",
					"street",
					"town",
					"area",
					"work_stopped_date",
					"registration_due_date"
				],
				"type": "object",
				"additionalProperties": false
			},
			"ReinstatementsDueReportingResponse": {
				"properties": {
					"pagination": {
						"$ref": "#/components/schemas/PaginationResponse"
					},
					"rows": {
						"items": {
							"$ref": "#/components/schemas/ReinstatementsDueSummaryResponse"
						},
						"type": "array"
					}
				},
				"required": [
					"pagination",
					"rows"
				],
				"type": "object",
				"additionalProperties": false
			},
			"FileSummaryResponse": {
				"properties": {
					"file_id": {
						"type": "number",
						"format": "double"
					},
					"name": {
						"type": "string"
					}
				},
				"required": [
					"file_id",
					"name"
				],
				"type": "object",
				"additionalProperties": false
			},
			"FileSummaryReportingResponse": {
				"properties": {
					"rows": {
						"items": {
							"$ref": "#/components/schemas/FileSummaryResponse"
						},
						"type": "array"
					}
				},
				"required": [
					"rows"
				],
				"type": "object",
				"additionalProperties": false
			},
			"FileType": {
				"enum": [
					"images",
					"documents"
				],
				"type": "string"
			},
			"OffenceCodeResponse": {
				"enum": [
					"offence_code_05",
					"offence_code_06",
					"offence_code_08",
					"offence_code_09",
					"upcoming_enum"
				],
				"type": "string"
			},
			"FPNStatusResponse": {
				"enum": [
					"issued",
					"accepted",
					"paid",
					"paid_discounted",
					"disputed",
					"withdrawn",
					"upcoming_enum"
				],
				"type": "string"
			},
			"FPNSummaryResponse": {
				"properties": {
					"fpn_reference_number": {
						"type": "string"
					},
					"work_reference_number": {
						"type": "string"
					},
					"promoter": {
						"type": "string"
					},
					"highway_authority": {
						"type": "string"
					},
					"offence_code": {
						"$ref": "#/components/schemas/OffenceCodeResponse"
					},
					"offence_code_string": {
						"type": "string"
					},
					"street_name": {
						"type": "string"
					},
					"issue_date": {
						"type": "string",
						"format": "date-time"
					},
					"status": {
						"$ref": "#/components/schemas/FPNStatusResponse"
					},
					"status_string": {
						"type": "string"
					},
					"status_changed_date": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": [
					"fpn_reference_number",
					"work_reference_number",
					"promoter",
					"highway_authority",
					"offence_code",
					"offence_code_string",
					"street_name",
					"issue_date",
					"status",
					"status_string",
					"status_changed_date"
				],
				"type": "object",
				"additionalProperties": false
			},
			"FPNReportingResponse": {
				"properties": {
					"pagination": {
						"$ref": "#/components/schemas/PaginationResponse"
					},
					"rows": {
						"items": {
							"$ref": "#/components/schemas/FPNSummaryResponse"
						},
						"type": "array"
					}
				},
				"required": [
					"pagination",
					"rows"
				],
				"type": "object",
				"additionalProperties": false
			},
			"FPNStatus": {
				"enum": [
					"issued",
					"accepted",
					"paid",
					"paid_discounted",
					"disputed",
					"withdrawn"
				],
				"type": "string"
			},
			"OffenceCode": {
				"enum": [
					"offence_code_05",
					"offence_code_06",
					"offence_code_08",
					"offence_code_09"
				],
				"type": "string"
			},
			"FPNSortColumn": {
				"enum": [
					"issue_date_time",
					"status_changed_date"
				],
				"type": "string"
			},
			"CommentTopicResponse": {
				"enum": [
					"GENERAL",
					"SECTION_74",
					"INSPECTION",
					"FPN",
					"OVERRUN",
					"FORWARD_PLAN",
					"CHANGE_REQUEST",
					"IMPOSED_VARIATION",
					"DURATION_CHALLENGE",
					"SECTION_81",
					"UNATTRIBUTED_WORKS",
					"upcoming_enum"
				],
				"type": "string"
			},
			"CommentSummaryResponse": {
				"properties": {
					"work_reference_number": {
						"type": "string"
					},
					"topic": {
						"$ref": "#/components/schemas/CommentTopicResponse"
					},
					"topic_string": {
						"type": "string"
					},
					"author_email_address": {
						"type": "string"
					},
					"author_organisation_reference": {
						"type": "string"
					},
					"detail": {
						"type": "string"
					},
					"date_created": {
						"type": "string",
						"format": "date-time"
					},
					"comment_reference_number": {
						"type": "string"
					},
					"is_read": {
						"type": "boolean"
					},
					"read_on": {
						"type": "string",
						"format": "date-time",
						"nullable": true
					},
					"read_by": {
						"type": "string",
						"nullable": true
					},
					"is_internal": {
						"type": "boolean"
					}
				},
				"required": [
					"work_reference_number",
					"topic",
					"topic_string",
					"author_email_address",
					"author_organisation_reference",
					"detail",
					"date_created",
					"comment_reference_number",
					"is_read",
					"is_internal"
				],
				"type": "object",
				"additionalProperties": false
			},
			"CommentReportingResponse": {
				"properties": {
					"pagination": {
						"$ref": "#/components/schemas/PaginationResponse"
					},
					"rows": {
						"items": {
							"$ref": "#/components/schemas/CommentSummaryResponse"
						},
						"type": "array"
					}
				},
				"required": [
					"pagination",
					"rows"
				],
				"type": "object",
				"additionalProperties": false
			},
			"CommentTopic": {
				"enum": [
					"GENERAL",
					"SECTION_74",
					"INSPECTION",
					"FPN",
					"OVERRUN",
					"FORWARD_PLAN",
					"CHANGE_REQUEST",
					"IMPOSED_VARIATION",
					"DURATION_CHALLENGE",
					"SECTION_81",
					"UNATTRIBUTED_WORKS"
				],
				"type": "string"
			},
			"InspectionTypeResponse": {
				"enum": [
					"live_site",
					"reinstatement",
					"non_compliance_follow_up",
					"section_81",
					"investigatory_works",
					"upcoming_enum"
				],
				"type": "string"
			},
			"InspectionCategoryResponse": {
				"enum": [
					"a",
					"b",
					"c",
					"third_party",
					"routine",
					"joint_site_visit",
					"follow_up",
					"follow_up_completion",
					"site_occupancy",
					"conditions",
					"core_sample",
					"skid_resistance",
					"texture_depth",
					"surface_regularity",
					"trial_hole",
					"upcoming_enum"
				],
				"type": "string"
			},
			"InspectionOutcomeResponse": {
				"enum": [
					"passed",
					"unable_to_complete_inspection",
					"failed_low",
					"failed_high",
					"further_inspections_required",
					"agreed_site_compliance",
					"non_compliant_with_conditions",
					"works_stopped_apparatus_remaining",
					"works_in_progress_no_carriageway_incursion",
					"works_in_progress",
					"works_stopped",
					"failed",
					"upcoming_enum"
				],
				"type": "string"
			},
			"InspectionStatusResponse": {
				"enum": [
					"recorded",
					"withdrawn",
					"scheduled",
					"upcoming_enum"
				],
				"type": "string"
			},
			"InspectionOutcomeStatusTypeResponse": {
				"enum": [
					"inspection_outcome_accepted",
					"inspection_outcome_disputed",
					"inspection_outcome_promoter_accepts_failed_inspection",
					"joint_site_meeting_needed",
					"reviewing_dispute",
					"no_agreement",
					"inspection_withdrawn",
					"upcoming_enum"
				],
				"type": "string"
			},
			"InspectionSummaryResponse": {
				"properties": {
					"inspection_date": {
						"type": "string",
						"format": "date-time"
					},
					"work_reference_number": {
						"type": "string"
					},
					"location_description": {
						"type": "string"
					},
					"street": {
						"type": "string"
					},
					"town": {
						"type": "string"
					},
					"area": {
						"type": "string"
					},
					"inspection_reference_number": {
						"type": "string",
						"nullable": true
					},
					"inspection_type": {
						"$ref": "#/components/schemas/InspectionTypeResponse"
					},
					"inspection_type_string": {
						"type": "string"
					},
					"inspection_category": {
						"allOf": [
							{
								"$ref": "#/components/schemas/InspectionCategoryResponse"
							}
						],
						"nullable": true
					},
					"inspection_category_string": {
						"type": "string",
						"nullable": true
					},
					"inspection_outcome": {
						"allOf": [
							{
								"$ref": "#/components/schemas/InspectionOutcomeResponse"
							}
						],
						"nullable": true
					},
					"inspection_outcome_string": {
						"type": "string",
						"nullable": true
					},
					"inspector_name": {
						"type": "string",
						"nullable": true
					},
					"highway_authority": {
						"type": "string"
					},
					"promoter_organisation": {
						"type": "string"
					},
					"made_safe_by_ha": {
						"type": "boolean",
						"nullable": true
					},
					"date_created": {
						"type": "string",
						"format": "date-time"
					},
					"inspection_status": {
						"$ref": "#/components/schemas/InspectionStatusResponse"
					},
					"inspection_status_string": {
						"type": "string"
					},
					"date_modified": {
						"type": "string",
						"format": "date-time"
					},
					"promoter_response_status": {
						"allOf": [
							{
								"$ref": "#/components/schemas/InspectionOutcomeStatusTypeResponse"
							}
						],
						"nullable": true
					},
					"promoter_response_status_string": {
						"type": "string",
						"nullable": true
					},
					"ha_response_status": {
						"allOf": [
							{
								"$ref": "#/components/schemas/InspectionOutcomeStatusTypeResponse"
							}
						],
						"nullable": true
					},
					"ha_response_status_string": {
						"type": "string",
						"nullable": true
					},
					"auto_acceptance_due_date": {
						"type": "string",
						"format": "date-time",
						"nullable": true
					},
					"is_auto_accepted": {
						"type": "boolean",
						"nullable": true
					}
				},
				"required": [
					"inspection_date",
					"work_reference_number",
					"location_description",
					"street",
					"town",
					"area",
					"inspection_type",
					"inspection_type_string",
					"highway_authority",
					"promoter_organisation",
					"date_created",
					"inspection_status",
					"inspection_status_string",
					"date_modified"
				],
				"type": "object",
				"additionalProperties": false
			},
			"InspectionReportingResponse": {
				"properties": {
					"pagination": {
						"$ref": "#/components/schemas/PaginationResponse"
					},
					"rows": {
						"items": {
							"$ref": "#/components/schemas/InspectionSummaryResponse"
						},
						"type": "array"
					}
				},
				"required": [
					"pagination",
					"rows"
				],
				"type": "object",
				"additionalProperties": false
			},
			"InspectionType": {
				"enum": [
					"live_site",
					"reinstatement",
					"non_compliance_follow_up",
					"section_81",
					"investigatory_works"
				],
				"type": "string"
			},
			"InspectionOutcome": {
				"enum": [
					"passed",
					"unable_to_complete_inspection",
					"failed_low",
					"failed_high",
					"further_inspections_required",
					"agreed_site_compliance",
					"non_compliant_with_conditions",
					"works_stopped_apparatus_remaining",
					"works_in_progress_no_carriageway_incursion",
					"works_in_progress",
					"works_stopped",
					"failed"
				],
				"type": "string"
			},
			"InspectionSortColumn": {
				"enum": [
					"inspection_date"
				],
				"type": "string"
			},
			"InspectionCategory": {
				"enum": [
					"a",
					"b",
					"c",
					"third_party",
					"routine",
					"joint_site_visit",
					"follow_up",
					"follow_up_completion",
					"site_occupancy",
					"conditions",
					"core_sample",
					"skid_resistance",
					"texture_depth",
					"surface_regularity",
					"trial_hole"
				],
				"type": "string"
			},
			"PromoterInspectionOutcomeStatusType": {
				"enum": [
					"inspection_outcome_accepted",
					"inspection_outcome_disputed",
					"joint_site_meeting_needed",
					"no_response"
				],
				"type": "string"
			},
			"HAInspectionOutcomeStatusType": {
				"enum": [
					"inspection_outcome_promoter_accepts_failed_inspection",
					"reviewing_dispute",
					"no_agreement",
					"inspection_withdrawn",
					"no_response"
				],
				"type": "string"
			},
			"WorkstreamStatusResponse": {
				"enum": [
					"active",
					"deactivated",
					"upcoming_enum"
				],
				"type": "string"
			},
			"WorkstreamSummaryResponse": {
				"properties": {
					"prefix": {
						"type": "string"
					},
					"name": {
						"type": "string"
					},
					"description": {
						"type": "string",
						"nullable": true
					},
					"status": {
						"$ref": "#/components/schemas/WorkstreamStatusResponse"
					},
					"status_string": {
						"type": "string"
					},
					"swa_code": {
						"type": "string"
					}
				},
				"required": [
					"prefix",
					"name",
					"status",
					"status_string",
					"swa_code"
				],
				"type": "object",
				"additionalProperties": false
			},
			"WorkstreamReportingResponse": {
				"properties": {
					"pagination": {
						"$ref": "#/components/schemas/PaginationResponse"
					},
					"rows": {
						"items": {
							"$ref": "#/components/schemas/WorkstreamSummaryResponse"
						},
						"type": "array"
					}
				},
				"required": [
					"pagination",
					"rows"
				],
				"type": "object",
				"additionalProperties": false
			},
			"WorkstreamStatus": {
				"enum": [
					"active",
					"deactivated"
				],
				"type": "string"
			},
			"ReinstatementTypeResponse": {
				"enum": [
					"excavation",
					"bar_holes",
					"core_holes",
					"pole_testing",
					"upcoming_enum"
				],
				"type": "string"
			},
			"ReinstatementStatusResponse": {
				"enum": [
					"interim",
					"permanent",
					"upcoming_enum"
				],
				"type": "string"
			},
			"ReinstatementSummaryResponse": {
				"properties": {
					"site_reference_number": {
						"type": "string"
					},
					"work_reference_number": {
						"type": "string"
					},
					"reinstatement_reference_number": {
						"type": "string"
					},
					"promoter_organisation": {
						"type": "string"
					},
					"highway_authority": {
						"type": "string"
					},
					"street_name": {
						"type": "string"
					},
					"town": {
						"type": "string",
						"nullable": true
					},
					"area_name": {
						"type": "string",
						"nullable": true
					},
					"location_description": {
						"type": "string"
					},
					"registration_date": {
						"type": "string",
						"format": "date-time"
					},
					"reinstatement_date": {
						"type": "string",
						"format": "date-time",
						"nullable": true
					},
					"reinstatement_type": {
						"$ref": "#/components/schemas/ReinstatementTypeResponse"
					},
					"reinstatement_type_string": {
						"type": "string"
					},
					"reinstatement_status": {
						"$ref": "#/components/schemas/ReinstatementStatusResponse"
					},
					"reinstatement_status_string": {
						"type": "string"
					},
					"end_date": {
						"type": "string",
						"format": "date-time",
						"nullable": true
					},
					"is_active_reinstatement": {
						"type": "boolean"
					},
					"is_subsumed": {
						"type": "boolean"
					}
				},
				"required": [
					"site_reference_number",
					"work_reference_number",
					"reinstatement_reference_number",
					"promoter_organisation",
					"highway_authority",
					"street_name",
					"location_description",
					"registration_date",
					"reinstatement_type",
					"reinstatement_type_string",
					"reinstatement_status",
					"reinstatement_status_string",
					"is_active_reinstatement",
					"is_subsumed"
				],
				"type": "object",
				"additionalProperties": false
			},
			"ReinstatementReportingResponse": {
				"properties": {
					"pagination": {
						"$ref": "#/components/schemas/PaginationResponse"
					},
					"rows": {
						"items": {
							"$ref": "#/components/schemas/ReinstatementSummaryResponse"
						},
						"type": "array"
					}
				},
				"required": [
					"pagination",
					"rows"
				],
				"type": "object",
				"additionalProperties": false
			},
			"ReinstatementSortColumn": {
				"enum": [
					"end_date"
				],
				"type": "string"
			},
			"ReinstatementStatus": {
				"enum": [
					"interim",
					"permanent"
				],
				"type": "string"
			},
			"ForwardPlanStatusResponse": {
				"enum": [
					"raised",
					"cancelled",
					"progressed",
					"upcoming_enum"
				],
				"type": "string"
			},
			"ForwardPlanSummaryResponse": {
				"properties": {
					"work_reference_number": {
						"type": "string"
					},
					"forward_plan_reference_number": {
						"type": "string"
					},
					"promoter_organisation": {
						"type": "string"
					},
					"highway_authority": {
						"type": "string"
					},
					"location_description": {
						"type": "string"
					},
					"street": {
						"type": "string"
					},
					"town": {
						"type": "string"
					},
					"area": {
						"type": "string"
					},
					"proposed_start_date": {
						"type": "string",
						"format": "date-time"
					},
					"proposed_end_date": {
						"type": "string",
						"format": "date-time"
					},
					"forward_plan_status": {
						"$ref": "#/components/schemas/ForwardPlanStatusResponse"
					},
					"forward_plan_status_string": {
						"type": "string"
					},
					"date_created": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": [
					"work_reference_number",
					"forward_plan_reference_number",
					"promoter_organisation",
					"highway_authority",
					"location_description",
					"street",
					"town",
					"area",
					"proposed_start_date",
					"proposed_end_date",
					"forward_plan_status",
					"forward_plan_status_string",
					"date_created"
				],
				"type": "object",
				"additionalProperties": false
			},
			"ForwardPlanReportingResponse": {
				"properties": {
					"pagination": {
						"$ref": "#/components/schemas/PaginationResponse"
					},
					"rows": {
						"items": {
							"$ref": "#/components/schemas/ForwardPlanSummaryResponse"
						},
						"type": "array"
					}
				},
				"required": [
					"pagination",
					"rows"
				],
				"type": "object",
				"additionalProperties": false
			},
			"ForwardPlanStatus": {
				"enum": [
					"raised",
					"cancelled",
					"progressed"
				],
				"type": "string"
			},
			"ForwardPlanSortColumn": {
				"enum": [
					"start_date",
					"end_date"
				],
				"type": "string"
			},
			"Section58StatusResponse": {
				"enum": [
					"proposed",
					"in_force",
					"cancelled",
					"closed",
					"upcoming_enum"
				],
				"type": "string"
			},
			"Section58DurationResponse": {
				"enum": [
					"six_months",
					"one_year",
					"two_years",
					"three_years",
					"upcoming_enum"
				],
				"type": "string"
			},
			"Section58SummaryResponse": {
				"properties": {
					"date_created": {
						"type": "string",
						"format": "date-time"
					},
					"section_58_reference_number": {
						"type": "string"
					},
					"street": {
						"type": "string"
					},
					"town": {
						"type": "string",
						"nullable": true
					},
					"area": {
						"type": "string",
						"nullable": true
					},
					"section_58_status": {
						"$ref": "#/components/schemas/Section58StatusResponse"
					},
					"section_58_status_string": {
						"type": "string"
					},
					"start_date": {
						"type": "string",
						"format": "date-time"
					},
					"end_date": {
						"type": "string",
						"format": "date-time"
					},
					"restriction_duration": {
						"$ref": "#/components/schemas/Section58DurationResponse"
					},
					"restriction_duration_string": {
						"type": "string"
					},
					"usrn": {
						"type": "number",
						"format": "double"
					},
					"ha_organisation_name": {
						"type": "string"
					}
				},
				"required": [
					"date_created",
					"section_58_reference_number",
					"street",
					"section_58_status",
					"section_58_status_string",
					"start_date",
					"end_date",
					"restriction_duration",
					"restriction_duration_string",
					"usrn",
					"ha_organisation_name"
				],
				"type": "object",
				"additionalProperties": false
			},
			"Section58ReportingResponse": {
				"properties": {
					"pagination": {
						"$ref": "#/components/schemas/PaginationResponse"
					},
					"rows": {
						"items": {
							"$ref": "#/components/schemas/Section58SummaryResponse"
						},
						"type": "array"
					}
				},
				"required": [
					"pagination",
					"rows"
				],
				"type": "object",
				"additionalProperties": false
			},
			"Section58Status": {
				"enum": [
					"proposed",
					"in_force",
					"cancelled",
					"closed"
				],
				"type": "string"
			},
			"Section58SortColumn": {
				"enum": [
					"date_created"
				],
				"type": "string"
			},
			"OverrunWarningReasonResponse": {
				"enum": [
					"more_than_five_slg_items_left_on_site",
					"five_or_less_slg_items_left_on_site",
					"open_excavation",
					"spoil_left_on_site",
					"missing_road_markings",
					"missing_street_apparatus",
					"active_traffic_management",
					"upcoming_enum"
				],
				"type": "string"
			},
			"Section74HAStatusResponse": {
				"enum": [
					"warning_issued",
					"charges_ended",
					"warning_disputed",
					"withdrawn",
					"draft_invoice_issued",
					"resolved",
					"upcoming_enum"
				],
				"type": "string"
			},
			"Section74PromoterStatusResponse": {
				"enum": [
					"acknowledge_overrun_warning",
					"site_visited_and_rectified",
					"warning_disputed",
					"acknowledge_draft_invoice",
					"charge_under_review",
					"charge_agreed",
					"upcoming_enum"
				],
				"type": "string"
			},
			"Section74SummaryResponse": {
				"properties": {
					"work_reference_number": {
						"type": "string"
					},
					"permit_reference_number": {
						"type": "string"
					},
					"section_74_reference_number": {
						"type": "string"
					},
					"date_created": {
						"type": "string",
						"format": "date-time"
					},
					"promoter_organisation_name": {
						"type": "string"
					},
					"ha_organisation_name": {
						"type": "string"
					},
					"location_description": {
						"type": "string"
					},
					"overrun_warning_reasons": {
						"items": {
							"$ref": "#/components/schemas/OverrunWarningReasonResponse"
						},
						"type": "array"
					},
					"overrun_warning_reasons_string": {
						"items": {
							"type": "string"
						},
						"type": "array"
					},
					"ha_status": {
						"$ref": "#/components/schemas/Section74HAStatusResponse"
					},
					"ha_status_string": {
						"type": "string"
					},
					"promoter_status": {
						"allOf": [
							{
								"$ref": "#/components/schemas/Section74PromoterStatusResponse"
							}
						],
						"nullable": true
					},
					"promoter_status_string": {
						"type": "string",
						"nullable": true
					},
					"latest_ha_response_date": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": [
					"work_reference_number",
					"permit_reference_number",
					"section_74_reference_number",
					"date_created",
					"promoter_organisation_name",
					"ha_organisation_name",
					"location_description",
					"overrun_warning_reasons",
					"overrun_warning_reasons_string",
					"ha_status",
					"ha_status_string"
				],
				"type": "object",
				"additionalProperties": false
			},
			"Section74ReportingResponse": {
				"properties": {
					"pagination": {
						"$ref": "#/components/schemas/PaginationResponse"
					},
					"rows": {
						"items": {
							"$ref": "#/components/schemas/Section74SummaryResponse"
						},
						"type": "array"
					}
				},
				"required": [
					"pagination",
					"rows"
				],
				"type": "object",
				"additionalProperties": false
			},
			"Section74HAStatus": {
				"enum": [
					"warning_issued",
					"charges_ended",
					"warning_disputed",
					"withdrawn",
					"draft_invoice_issued",
					"resolved"
				],
				"type": "string"
			},
			"Section74SortColumn": {
				"enum": [
					"date_created"
				],
				"type": "string"
			},
			"Section81SeverityResponse": {
				"enum": [
					"high",
					"low",
					"upcoming_enum"
				],
				"type": "string"
			},
			"Section81StatusResponse": {
				"enum": [
					"issued",
					"acknowledged",
					"accepted",
					"accepted_fixed",
					"rejected",
					"resolved_by_ha",
					"cancelled",
					"reassigned",
					"upcoming_enum"
				],
				"type": "string"
			},
			"Section81TypeResponse": {
				"enum": [
					"tee_valve_access_covers",
					"cabinet",
					"marker_post",
					"pole_post",
					"overhead_cables_broken_low_encroaching_onto_highway",
					"other",
					"unattributed_works_live_site",
					"unattributed_works_completed",
					"upcoming_enum"
				],
				"type": "string"
			},
			"Section81SummaryResponse": {
				"properties": {
					"issue_date": {
						"type": "string",
						"format": "date-time"
					},
					"work_reference_number": {
						"type": "string"
					},
					"section_81_reference_number": {
						"type": "string"
					},
					"promoter_organisation": {
						"type": "string"
					},
					"highway_authority": {
						"type": "string"
					},
					"location_description": {
						"type": "string"
					},
					"street": {
						"type": "string"
					},
					"town": {
						"type": "string",
						"nullable": true
					},
					"area": {
						"type": "string",
						"nullable": true
					},
					"section_81_severity": {
						"$ref": "#/components/schemas/Section81SeverityResponse"
					},
					"section_81_severity_string": {
						"type": "string"
					},
					"made_safe_by_ha": {
						"type": "boolean"
					},
					"section_81_status": {
						"$ref": "#/components/schemas/Section81StatusResponse"
					},
					"section_81_status_string": {
						"type": "string"
					},
					"status_changed_date": {
						"type": "string",
						"format": "date-time"
					},
					"section_81_type": {
						"$ref": "#/components/schemas/Section81TypeResponse"
					},
					"section_81_type_string": {
						"type": "string"
					}
				},
				"required": [
					"issue_date",
					"work_reference_number",
					"section_81_reference_number",
					"promoter_organisation",
					"highway_authority",
					"location_description",
					"street",
					"section_81_status",
					"section_81_status_string",
					"status_changed_date",
					"section_81_type",
					"section_81_type_string"
				],
				"type": "object",
				"additionalProperties": false
			},
			"Section81ReportingResponse": {
				"properties": {
					"pagination": {
						"$ref": "#/components/schemas/PaginationResponse"
					},
					"rows": {
						"items": {
							"$ref": "#/components/schemas/Section81SummaryResponse"
						},
						"type": "array"
					}
				},
				"required": [
					"pagination",
					"rows"
				],
				"type": "object",
				"additionalProperties": false
			},
			"Section81Status": {
				"enum": [
					"issued",
					"acknowledged",
					"accepted",
					"accepted_fixed",
					"rejected",
					"resolved_by_ha",
					"cancelled",
					"reassigned"
				],
				"type": "string"
			},
			"Section81Severity": {
				"enum": [
					"high",
					"low"
				],
				"type": "string"
			},
			"Section81SortColumn": {
				"enum": [
					"status_changed_date"
				],
				"type": "string"
			},
			"Section81Type": {
				"enum": [
					"tee_valve_access_covers",
					"cabinet",
					"marker_post",
					"pole_post",
					"other",
					"overhead_cables_broken_low_encroaching_onto_highway",
					"unattributed_works_live_site",
					"unattributed_works_completed"
				],
				"type": "string"
			},
			"RoleResponse": {
				"enum": [
					"Planner",
					"HighwayAuthority",
					"Admin",
					"Contractor",
					"API",
					"UI",
					"DataExport",
					"StreetWorksAdmin",
					"upcoming_enum"
				],
				"type": "string"
			},
			"PermissionResponse": {
				"enum": [
					"Permit",
					"Compliance",
					"Work",
					"upcoming_enum"
				],
				"type": "string"
			},
			"RolePermissionsResponse": {
				"properties": {
					"role": {
						"$ref": "#/components/schemas/RoleResponse"
					},
					"role_string": {
						"type": "string"
					},
					"permissions": {
						"items": {
							"$ref": "#/components/schemas/PermissionResponse"
						},
						"type": "array"
					},
					"permissions_string": {
						"items": {
							"type": "string"
						},
						"type": "array"
					}
				},
				"required": [
					"role",
					"role_string",
					"permissions",
					"permissions_string"
				],
				"type": "object",
				"additionalProperties": false
			},
			"WorkstreamAccessLevelResponse": {
				"enum": [
					"read_only",
					"full_write",
					"upcoming_enum"
				],
				"type": "string"
			},
			"UserWorkstreamAccess": {
				"properties": {
					"workstream_prefix": {
						"type": "string"
					},
					"access_level": {
						"$ref": "#/components/schemas/WorkstreamAccessLevelResponse"
					},
					"access_level_string": {
						"type": "string"
					}
				},
				"required": [
					"workstream_prefix",
					"access_level",
					"access_level_string"
				],
				"type": "object",
				"additionalProperties": false
			},
			"UsersSummaryResponse": {
				"properties": {
					"first_name": {
						"type": "string",
						"nullable": true
					},
					"last_name": {
						"type": "string",
						"nullable": true
					},
					"email": {
						"type": "string"
					},
					"role_permissions": {
						"items": {
							"$ref": "#/components/schemas/RolePermissionsResponse"
						},
						"type": "array",
						"nullable": true
					},
					"workstreams": {
						"items": {
							"$ref": "#/components/schemas/UserWorkstreamAccess"
						},
						"type": "array",
						"nullable": true
					}
				},
				"required": [
					"email"
				],
				"type": "object",
				"additionalProperties": false
			},
			"UsersReportingResponse": {
				"properties": {
					"pagination": {
						"$ref": "#/components/schemas/PaginationResponse"
					},
					"rows": {
						"items": {
							"$ref": "#/components/schemas/UsersSummaryResponse"
						},
						"type": "array"
					}
				},
				"required": [
					"pagination",
					"rows"
				],
				"type": "object",
				"additionalProperties": false
			},
			"CSVExportStatusResponse": {
				"enum": [
					"queued",
					"in_progress",
					"ready",
					"failed",
					"upcoming_enum"
				],
				"type": "string"
			},
			"CSVExportTypeResponse": {
				"enum": [
					"FEE",
					"FORWARD_PLAN",
					"FPN",
					"INSPECTION",
					"PERMIT",
					"REINSTATEMENT",
					"SECTION_81",
					"PERMIT_ALTERATION",
					"ORGANISATION_DATA",
					"COMMENT",
					"REPORTING_INSPECTION_OUTCOMES",
					"REPORTING_PERMITS_CREATED",
					"REPORTING_PERMIT_OUTCOMES",
					"REPORTING_ALTERATIONS_CREATED",
					"REPORTING_ALTERATION_OUTCOMES",
					"REPORTING_FPNS_CREATED",
					"REPORTING_PERMITS_DEEMED",
					"SECTION_58",
					"SECTION_74",
					"SAMPLE_INSPECTIONS_DUE",
					"EXPIRING_INTERIM_REINSTATEMENT",
					"PBI_SAMPLE_INSPECTIONS_DUE",
					"REPORTING_PBI_PASS_FAIL_RATES",
					"NUMBER_OF_INSPECTION_UNITS",
					"PRIVATE_STREET_NOTICE",
					"REINSPECTION",
					"NON_COMPLIANCE",
					"REINSTATEMENTS_DUE",
					"MATERIAL_CLASSIFICATION",
					"PBI_SAMPLE_INSPECTION_TARGET",
					"INTERESTED_PARTY_PERMIT",
					"CHANGE_REQUEST",
					"upcoming_enum"
				],
				"type": "string"
			},
			"CSVExportSummaryResponse": {
				"properties": {
					"csv_export_id": {
						"type": "number",
						"format": "double"
					},
					"filename": {
						"type": "string"
					},
					"date_created": {
						"type": "string",
						"format": "date-time"
					},
					"csv_export_status": {
						"$ref": "#/components/schemas/CSVExportStatusResponse"
					},
					"csv_export_status_string": {
						"type": "string"
					},
					"username": {
						"type": "string"
					},
					"csv_export_type": {
						"$ref": "#/components/schemas/CSVExportTypeResponse"
					},
					"csv_export_type_string": {
						"type": "string"
					},
					"export_description": {
						"type": "string",
						"nullable": true
					}
				},
				"required": [
					"csv_export_id",
					"filename",
					"date_created",
					"csv_export_status",
					"csv_export_status_string",
					"username",
					"csv_export_type",
					"csv_export_type_string"
				],
				"type": "object",
				"additionalProperties": false
			},
			"CSVExportReportingResponse": {
				"properties": {
					"pagination": {
						"$ref": "#/components/schemas/PaginationResponse"
					},
					"rows": {
						"items": {
							"$ref": "#/components/schemas/CSVExportSummaryResponse"
						},
						"type": "array"
					}
				},
				"required": [
					"pagination",
					"rows"
				],
				"type": "object",
				"additionalProperties": false
			},
			"GeographicalAreaResponse": {
				"properties": {
					"geographical_area_reference_number": {
						"type": "string"
					},
					"area_name": {
						"type": "string"
					},
					"file_id": {
						"type": "number",
						"format": "double"
					},
					"number_of_usrns": {
						"type": "number",
						"format": "double"
					},
					"date_modified": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": [
					"geographical_area_reference_number",
					"area_name",
					"file_id",
					"number_of_usrns",
					"date_modified"
				],
				"type": "object",
				"additionalProperties": false
			},
			"PbiSampleInspectionTargetSummaryResponse": {
				"properties": {
					"pbi_sample_inspection_target_reference_number": {
						"type": "string"
					},
					"organisation_name": {
						"type": "string"
					},
					"org_ref": {
						"type": "string"
					},
					"inspection_units": {
						"type": "number",
						"format": "double"
					},
					"inspection_rate": {
						"type": "number",
						"format": "double"
					},
					"target_a": {
						"type": "number",
						"format": "double"
					},
					"target_b": {
						"type": "number",
						"format": "double"
					},
					"target_c": {
						"type": "number",
						"format": "double"
					},
					"completed_a": {
						"type": "number",
						"format": "double"
					},
					"completed_b": {
						"type": "number",
						"format": "double"
					},
					"completed_c": {
						"type": "number",
						"format": "double"
					},
					"generated_b": {
						"type": "number",
						"format": "double"
					},
					"generated_c": {
						"type": "number",
						"format": "double"
					},
					"start_date": {
						"type": "string",
						"format": "date-time"
					},
					"end_date": {
						"type": "string",
						"format": "date-time"
					},
					"is_inspection_rate_auto_updated": {
						"type": "boolean"
					}
				},
				"required": [
					"pbi_sample_inspection_target_reference_number",
					"organisation_name",
					"org_ref",
					"inspection_units",
					"inspection_rate",
					"target_a",
					"target_b",
					"target_c",
					"completed_a",
					"completed_b",
					"completed_c",
					"generated_b",
					"generated_c",
					"is_inspection_rate_auto_updated"
				],
				"type": "object",
				"additionalProperties": false
			},
			"PbiSampleInspectionTargetReportingResponse": {
				"properties": {
					"pagination": {
						"$ref": "#/components/schemas/PaginationResponse"
					},
					"rows": {
						"items": {
							"$ref": "#/components/schemas/PbiSampleInspectionTargetSummaryResponse"
						},
						"type": "array"
					}
				},
				"required": [
					"pagination",
					"rows"
				],
				"type": "object",
				"additionalProperties": false
			},
			"PbiSampleInspectionTargetSortColumn": {
				"enum": [
					"is_inspection_rate_auto_updated"
				],
				"type": "string"
			},
			"PbiSampleInspectionSummaryResponse": {
				"properties": {
					"pbi_sample_inspection_reference_number": {
						"type": "string"
					},
					"work_reference_number": {
						"type": "string"
					},
					"street": {
						"type": "string"
					},
					"town": {
						"type": "string",
						"nullable": true
					},
					"area": {
						"type": "string",
						"nullable": true
					},
					"location_description": {
						"type": "string"
					},
					"promoter_organisation": {
						"type": "string"
					},
					"inspection_category": {
						"$ref": "#/components/schemas/InspectionCategoryResponse"
					},
					"inspection_category_string": {
						"type": "string"
					},
					"sample_expiry_date": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": [
					"pbi_sample_inspection_reference_number",
					"work_reference_number",
					"street",
					"location_description",
					"promoter_organisation",
					"inspection_category",
					"inspection_category_string",
					"sample_expiry_date"
				],
				"type": "object",
				"additionalProperties": false
			},
			"PbiSampleInspectionReportingResponse": {
				"properties": {
					"pagination": {
						"$ref": "#/components/schemas/PaginationResponse"
					},
					"rows": {
						"items": {
							"$ref": "#/components/schemas/PbiSampleInspectionSummaryResponse"
						},
						"type": "array"
					}
				},
				"required": [
					"pagination",
					"rows"
				],
				"type": "object",
				"additionalProperties": false
			},
			"PbiSampleInspectionSortColumn": {
				"enum": [
					"work_end_date",
					"sample_expiry_date"
				],
				"type": "string"
			},
			"WorkSearchResponse": {
				"properties": {
					"work_reference_number": {
						"type": "string"
					},
					"location_description": {
						"type": "string"
					},
					"street": {
						"type": "string"
					},
					"town": {
						"type": "string"
					},
					"area": {
						"type": "string"
					},
					"work_status": {
						"$ref": "#/components/schemas/WorkStatusResponse"
					},
					"work_status_string": {
						"type": "string"
					},
					"work_start_date": {
						"type": "string",
						"format": "date-time"
					},
					"work_end_date": {
						"type": "string",
						"format": "date-time"
					},
					"work_start_time": {
						"type": "string",
						"format": "date-time",
						"nullable": true
					},
					"work_end_time": {
						"type": "string",
						"format": "date-time",
						"nullable": true
					}
				},
				"required": [
					"work_reference_number",
					"location_description",
					"street",
					"town",
					"area",
					"work_status",
					"work_status_string",
					"work_start_date",
					"work_end_date"
				],
				"type": "object",
				"additionalProperties": false
			},
			"WorkSearchReportingResponse": {
				"properties": {
					"rows": {
						"items": {
							"$ref": "#/components/schemas/WorkSearchResponse"
						},
						"type": "array"
					}
				},
				"required": [
					"rows"
				],
				"type": "object",
				"additionalProperties": false
			},
			"ReinspectionSummaryResponse": {
				"properties": {
					"inspection_date": {
						"type": "string",
						"format": "date-time"
					},
					"work_reference_number": {
						"type": "string"
					},
					"location_description": {
						"type": "string"
					},
					"street": {
						"type": "string"
					},
					"town": {
						"type": "string"
					},
					"area": {
						"type": "string"
					},
					"inspection_type": {
						"$ref": "#/components/schemas/InspectionTypeResponse"
					},
					"inspection_type_string": {
						"type": "string"
					},
					"inspection_category": {
						"allOf": [
							{
								"$ref": "#/components/schemas/InspectionCategoryResponse"
							}
						],
						"nullable": true
					},
					"inspection_category_string": {
						"type": "string",
						"nullable": true
					},
					"highway_authority": {
						"type": "string"
					},
					"promoter_organisation": {
						"type": "string"
					},
					"date_modified": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": [
					"inspection_date",
					"work_reference_number",
					"location_description",
					"street",
					"town",
					"area",
					"inspection_type",
					"inspection_type_string",
					"highway_authority",
					"promoter_organisation",
					"date_modified"
				],
				"type": "object",
				"additionalProperties": false
			},
			"ReinspectionReportingResponse": {
				"properties": {
					"pagination": {
						"$ref": "#/components/schemas/PaginationResponse"
					},
					"rows": {
						"items": {
							"$ref": "#/components/schemas/ReinspectionSummaryResponse"
						},
						"type": "array"
					}
				},
				"required": [
					"pagination",
					"rows"
				],
				"type": "object",
				"additionalProperties": false
			},
			"ReinspectionSortColumn": {
				"enum": [
					"reinspection_date"
				],
				"type": "string"
			},
			"PrivateStreetStatusResponse": {
				"enum": [
					"cancelled",
					"issued",
					"upcoming_enum"
				],
				"type": "string"
			},
			"PrivateStreetSummaryResponse": {
				"properties": {
					"private_street_reference_number": {
						"type": "string"
					},
					"works_location_description": {
						"type": "string"
					},
					"promoter_organisation": {
						"type": "string"
					},
					"ha_organisation": {
						"type": "string"
					},
					"work_reference_number": {
						"type": "string"
					},
					"start_date": {
						"type": "string",
						"format": "date-time"
					},
					"start_time": {
						"type": "string",
						"format": "date-time",
						"nullable": true
					},
					"end_date": {
						"type": "string",
						"format": "date-time"
					},
					"end_time": {
						"type": "string",
						"format": "date-time",
						"nullable": true
					},
					"date_created": {
						"type": "string",
						"format": "date-time"
					},
					"status": {
						"$ref": "#/components/schemas/PrivateStreetStatusResponse"
					},
					"status_string": {
						"type": "string"
					}
				},
				"required": [
					"private_street_reference_number",
					"works_location_description",
					"promoter_organisation",
					"ha_organisation",
					"work_reference_number",
					"start_date",
					"end_date",
					"date_created",
					"status",
					"status_string"
				],
				"type": "object",
				"additionalProperties": false
			},
			"PrivateStreetReportingResponse": {
				"properties": {
					"pagination": {
						"$ref": "#/components/schemas/PaginationResponse"
					},
					"rows": {
						"items": {
							"$ref": "#/components/schemas/PrivateStreetSummaryResponse"
						},
						"type": "array"
					}
				},
				"required": [
					"pagination",
					"rows"
				],
				"type": "object",
				"additionalProperties": false
			},
			"PrivateStreetNoticeSortColumn": {
				"enum": [
					"date_created",
					"start_date",
					"end_date"
				],
				"type": "string"
			},
			"PrivateStreetStatus": {
				"enum": [
					"cancelled",
					"issued"
				],
				"type": "string"
			},
			"NonComplianceStatusResponse": {
				"enum": [
					"issued",
					"withdrawn",
					"resolved",
					"upcoming_enum"
				],
				"type": "string"
			},
			"NonComplianceResponseStatusResponse": {
				"enum": [
					"issued",
					"withdrawn",
					"works_completed_and_passed",
					"joint_site_meeting_suggested",
					"will_attend_joint_site_meeting",
					"works_complete_ready_for_inspection",
					"joint_site_meeting_not_needed",
					"accept_suggestion",
					"upcoming_enum"
				],
				"type": "string"
			},
			"NonComplianceSummaryResponse": {
				"properties": {
					"non_compliance_reference_number": {
						"type": "string"
					},
					"work_reference_number": {
						"type": "string"
					},
					"promoter_organisation": {
						"type": "string"
					},
					"ha_organisation": {
						"type": "string"
					},
					"date_created": {
						"type": "string",
						"format": "date-time"
					},
					"associated_inspections": {
						"type": "number",
						"format": "double"
					},
					"non_compliance_status": {
						"$ref": "#/components/schemas/NonComplianceStatusResponse"
					},
					"non_compliance_status_string": {
						"type": "string"
					},
					"latest_ha_response_status": {
						"$ref": "#/components/schemas/NonComplianceResponseStatusResponse"
					},
					"latest_ha_response_status_string": {
						"type": "string"
					},
					"latest_ha_response_date": {
						"type": "string",
						"format": "date-time"
					},
					"latest_promoter_response_status": {
						"allOf": [
							{
								"$ref": "#/components/schemas/NonComplianceResponseStatusResponse"
							}
						],
						"nullable": true
					},
					"latest_promoter_response_status_string": {
						"type": "string",
						"nullable": true
					},
					"latest_promoter_response_date": {
						"type": "string",
						"format": "date-time",
						"nullable": true
					},
					"street": {
						"type": "string"
					},
					"town": {
						"type": "string"
					},
					"area": {
						"type": "string"
					},
					"most_recent_inspection_type": {
						"$ref": "#/components/schemas/InspectionTypeResponse"
					},
					"most_recent_inspection_type_string": {
						"type": "string"
					},
					"most_recent_inspection_outcome": {
						"$ref": "#/components/schemas/InspectionOutcomeResponse"
					},
					"most_recent_inspection_outcome_string": {
						"type": "string"
					},
					"most_recent_inspection_promoter_response_status": {
						"allOf": [
							{
								"$ref": "#/components/schemas/InspectionOutcomeStatusTypeResponse"
							}
						],
						"nullable": true
					},
					"most_recent_inspection_promoter_response_status_string": {
						"type": "string",
						"nullable": true
					},
					"most_recent_inspection_ha_response_status": {
						"allOf": [
							{
								"$ref": "#/components/schemas/InspectionOutcomeStatusTypeResponse"
							}
						],
						"nullable": true
					},
					"most_recent_inspection_ha_response_status_string": {
						"type": "string",
						"nullable": true
					}
				},
				"required": [
					"non_compliance_reference_number",
					"work_reference_number",
					"promoter_organisation",
					"ha_organisation",
					"date_created",
					"associated_inspections",
					"non_compliance_status",
					"non_compliance_status_string",
					"latest_ha_response_status",
					"latest_ha_response_status_string",
					"latest_ha_response_date",
					"street",
					"town",
					"area",
					"most_recent_inspection_type",
					"most_recent_inspection_type_string",
					"most_recent_inspection_outcome",
					"most_recent_inspection_outcome_string"
				],
				"type": "object",
				"additionalProperties": false
			},
			"NonComplianceReportingResponse": {
				"properties": {
					"pagination": {
						"$ref": "#/components/schemas/PaginationResponse"
					},
					"rows": {
						"items": {
							"$ref": "#/components/schemas/NonComplianceSummaryResponse"
						},
						"type": "array"
					}
				},
				"required": [
					"pagination",
					"rows"
				],
				"type": "object",
				"additionalProperties": false
			},
			"NonComplianceStatus": {
				"enum": [
					"issued",
					"withdrawn",
					"resolved"
				],
				"type": "string"
			},
			"NonComplianceResponseStatus": {
				"enum": [
					"issued",
					"withdrawn",
					"works_completed_and_passed",
					"joint_site_meeting_suggested",
					"will_attend_joint_site_meeting",
					"works_complete_ready_for_inspection",
					"joint_site_meeting_not_needed",
					"accept_suggestion",
					"no_response"
				],
				"type": "string"
			},
			"NonComplianceSortColumn": {
				"enum": [
					"date_created"
				],
				"type": "string"
			},
			"MaterialClassificationClassification": {
				"enum": [
					"hazardous",
					"non_hazardous"
				],
				"type": "string"
			},
			"HazardousMaterialType": {
				"enum": [
					"coal_tar",
					"total_petroleum_hydrocarbons",
					"ph",
					"heavy_metal",
					"asbestos",
					"other"
				],
				"type": "string"
			},
			"MaterialClassificationSummaryResponse": {
				"properties": {
					"date_created": {
						"type": "string",
						"format": "date-time"
					},
					"sample_date": {
						"type": "string",
						"format": "date-time"
					},
					"material_classification_reference_number": {
						"type": "string"
					},
					"street": {
						"type": "string"
					},
					"town": {
						"type": "string"
					},
					"area": {
						"type": "string"
					},
					"usrn": {
						"type": "number",
						"format": "double"
					},
					"material_classification_classification": {
						"$ref": "#/components/schemas/MaterialClassificationClassification"
					},
					"hazardous_material_types": {
						"items": {
							"$ref": "#/components/schemas/HazardousMaterialType"
						},
						"type": "array",
						"nullable": true
					},
					"hazardous_material_type_other_description": {
						"type": "string",
						"nullable": true
					}
				},
				"required": [
					"date_created",
					"sample_date",
					"material_classification_reference_number",
					"street",
					"town",
					"area",
					"usrn",
					"material_classification_classification"
				],
				"type": "object",
				"additionalProperties": false
			},
			"MaterialClassificationReportingResponse": {
				"properties": {
					"pagination": {
						"$ref": "#/components/schemas/PaginationResponse"
					},
					"rows": {
						"items": {
							"$ref": "#/components/schemas/MaterialClassificationSummaryResponse"
						},
						"type": "array"
					}
				},
				"required": [
					"pagination",
					"rows"
				],
				"type": "object",
				"additionalProperties": false
			},
			"AsyncJobStatusResponse": {
				"enum": [
					"queued",
					"in_progress",
					"complete",
					"failed",
					"upcoming_enum"
				],
				"type": "string"
			},
			"PbiSampleGenerationJobsSummaryResponse": {
				"properties": {
					"date_created": {
						"type": "string",
						"format": "date-time"
					},
					"async_job_status": {
						"$ref": "#/components/schemas/AsyncJobStatusResponse"
					},
					"async_job_status_string": {
						"type": "string"
					},
					"username": {
						"type": "string"
					}
				},
				"required": [
					"date_created",
					"async_job_status",
					"async_job_status_string",
					"username"
				],
				"type": "object",
				"additionalProperties": false
			},
			"PbiSampleGenerationJobsReportingResponse": {
				"properties": {
					"pagination": {
						"$ref": "#/components/schemas/PaginationResponse"
					},
					"rows": {
						"items": {
							"$ref": "#/components/schemas/PbiSampleGenerationJobsSummaryResponse"
						},
						"type": "array"
					}
				},
				"required": [
					"pagination",
					"rows"
				],
				"type": "object",
				"additionalProperties": false
			},
			"ChangeRequestStatusResponse": {
				"enum": [
					"submitted",
					"granted",
					"refused",
					"deemed",
					"cancelled",
					"granted_with_duration_challenge",
					"revoked",
					"auto_applied",
					"upcoming_enum"
				],
				"type": "string"
			},
			"ChangeRequestTypeResponse": {
				"enum": [
					"PROMOTER_IMPOSED_CHANGE",
					"PROMOTER_CHANGE_REQUEST",
					"HA_CHANGE_REQUEST",
					"HA_IMPOSED_CHANGE",
					"WORK_EXTENSION",
					"DURATION_CHALLENGE",
					"MODIFIED_PERMIT",
					"upcoming_enum"
				],
				"type": "string"
			},
			"ChangeRequestSummaryResponse": {
				"properties": {
					"work_reference_number": {
						"type": "string"
					},
					"permit_reference_number": {
						"type": "string"
					},
					"change_request_reference_number": {
						"type": "string"
					},
					"street": {
						"type": "string"
					},
					"town": {
						"type": "string"
					},
					"area": {
						"type": "string"
					},
					"location_description": {
						"type": "string"
					},
					"highway_authority": {
						"type": "string"
					},
					"promoter": {
						"type": "string"
					},
					"work_category": {
						"$ref": "#/components/schemas/WorkCategoryResponse"
					},
					"work_category_string": {
						"type": "string"
					},
					"change_request_status": {
						"$ref": "#/components/schemas/ChangeRequestStatusResponse"
					},
					"change_request_status_string": {
						"type": "string"
					},
					"change_request_type": {
						"$ref": "#/components/schemas/ChangeRequestTypeResponse"
					},
					"change_request_type_string": {
						"type": "string"
					},
					"date_created": {
						"type": "string",
						"format": "date-time"
					},
					"deadline_date": {
						"type": "string",
						"format": "date-time"
					},
					"status_changed_date": {
						"type": "string",
						"format": "date-time"
					}
				},
				"required": [
					"work_reference_number",
					"permit_reference_number",
					"change_request_reference_number",
					"street",
					"town",
					"area",
					"location_description",
					"highway_authority",
					"promoter",
					"work_category",
					"work_category_string",
					"change_request_status",
					"change_request_status_string",
					"change_request_type",
					"change_request_type_string",
					"date_created",
					"deadline_date",
					"status_changed_date"
				],
				"type": "object",
				"additionalProperties": false
			},
			"ChangeRequestReportingResponse": {
				"properties": {
					"pagination": {
						"$ref": "#/components/schemas/PaginationResponse"
					},
					"rows": {
						"items": {
							"$ref": "#/components/schemas/ChangeRequestSummaryResponse"
						},
						"type": "array"
					}
				},
				"required": [
					"pagination",
					"rows"
				],
				"type": "object",
				"additionalProperties": false
			},
			"ChangeRequestStatus": {
				"enum": [
					"submitted",
					"granted",
					"refused",
					"deemed",
					"cancelled",
					"granted_with_duration_challenge",
					"revoked",
					"auto_applied"
				],
				"type": "string"
			},
			"ChangeRequestType": {
				"enum": [
					"PROMOTER_IMPOSED_CHANGE",
					"PROMOTER_CHANGE_REQUEST",
					"HA_CHANGE_REQUEST",
					"HA_IMPOSED_CHANGE",
					"WORK_EXTENSION",
					"DURATION_CHALLENGE",
					"MODIFIED_PERMIT"
				],
				"type": "string"
			},
			"ChangeRequestSortColumn": {
				"enum": [
					"date_created",
					"deadline_date"
				],
				"type": "string"
			},
			"ChangeRequestDurationChallengeSummaryResponse": {
				"properties": {
					"work_reference_number": {
						"type": "string"
					},
					"permit_reference_number": {
						"type": "string"
					},
					"change_request_reference_number": {
						"type": "string"
					},
					"location_description": {
						"type": "string"
					},
					"street": {
						"type": "string"
					},
					"town": {
						"type": "string"
					},
					"area": {
						"type": "string"
					},
					"usrn": {
						"type": "number",
						"format": "double"
					},
					"promoter_swa_code": {
						"type": "string"
					},
					"promoter_organisation": {
						"type": "string"
					},
					"highway_authority": {
						"type": "string"
					},
					"proposed_start_date": {
						"type": "string",
						"format": "date-time"
					},
					"proposed_end_date": {
						"type": "string",
						"format": "date-time"
					},
					"proposed_start_time": {
						"type": "string",
						"format": "date-time",
						"nullable": true
					},
					"proposed_end_time": {
						"type": "string",
						"format": "date-time",
						"nullable": true
					},
					"actual_start_date": {
						"type": "string",
						"format": "date-time",
						"nullable": true
					},
					"actual_end_date": {
						"type": "string",
						"format": "date-time",
						"nullable": true
					},
					"reasonable_period_end_date": {
						"type": "string",
						"format": "date-time"
					},
					"status_changed_date": {
						"type": "string",
						"format": "date-time"
					},
					"duration_challenge_review_status": {
						"allOf": [
							{
								"$ref": "#/components/schemas/DurationChallengeReviewStatusResponse"
							}
						],
						"nullable": true
					},
					"duration_challenge_review_status_string": {
						"type": "string"
					},
					"duration_challenge_review_update_date": {
						"type": "string",
						"format": "date-time",
						"nullable": true
					},
					"duration_challenge_non_acceptance_response_status": {
						"allOf": [
							{
								"$ref": "#/components/schemas/DurationChallengeNonAcceptanceResponseStatusResponse"
							}
						],
						"nullable": true
					},
					"duration_challenge_non_acceptance_response_status_string": {
						"type": "string"
					},
					"duration_challenge_non_acceptance_response_update_date": {
						"type": "string",
						"format": "date-time",
						"nullable": true
					},
					"duration_challenge_follow_up_review_complete": {
						"type": "boolean",
						"nullable": true
					},
					"work_status": {
						"$ref": "#/components/schemas/WorkStatusResponse"
					},
					"work_status_string": {
						"type": "string"
					}
				},
				"required": [
					"work_reference_number",
					"permit_reference_number",
					"change_request_reference_number",
					"location_description",
					"street",
					"town",
					"area",
					"usrn",
					"promoter_swa_code",
					"promoter_organisation",
					"highway_authority",
					"proposed_start_date",
					"proposed_end_date",
					"reasonable_period_end_date",
					"status_changed_date",
					"work_status",
					"work_status_string"
				],
				"type": "object",
				"additionalProperties": false
			},
			"ChangeRequestDurationChallengeReportingResponse": {
				"properties": {
					"pagination": {
						"$ref": "#/components/schemas/PaginationResponse"
					},
					"rows": {
						"items": {
							"$ref": "#/components/schemas/ChangeRequestDurationChallengeSummaryResponse"
						},
						"type": "array"
					}
				},
				"required": [
					"pagination",
					"rows"
				],
				"type": "object",
				"additionalProperties": false
			},
			"ChangeRequestDurationChallengeSortColumn": {
				"enum": [
					"status_changed_date"
				],
				"type": "string"
			}
		},
		"securitySchemes": {
			"token": {
				"type": "apiKey",
				"name": "token",
				"in": "header"
			}
		}
	},
	"info": {
		"title": "Street Manager Reporting API",
		"version": "1.0.0",
		"description": "See API specification Resource Guide > Reporting API for more information on paging and endpoints\nNOTE: Swagger Editor/UI does not display all description text for enumerations and child elements, check swagger.json for full description text",
		"license": {
			"name": "MIT"
		},
		"contact": {}
	},
	"paths": {
		"/activities": {
			"get": {
				"operationId": "GetActivities",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ActivityReportingResponse"
								}
							}
						}
					}
				},
				"description": "See API specification Resource Guide > Reporting API > Get Activities for more information\nAuthenticated user must have one of the following roles: Planner, Contractor, HighwayAuthority",
				"security": [
					{
						"token": [
							"Planner",
							"Contractor",
							"HighwayAuthority"
						]
					}
				],
				"parameters": [
					{
						"in": "query",
						"name": "ha_organisation_name",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "activity_activity_type",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"$ref": "#/components/schemas/ActivityActivityType"
							}
						}
					},
					{
						"in": "query",
						"name": "offset",
						"required": false,
						"schema": {
							"format": "double",
							"type": "number"
						}
					},
					{
						"in": "query",
						"name": "query",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "sort_column",
						"required": false,
						"schema": {
							"$ref": "#/components/schemas/ActivitySortColumn"
						}
					},
					{
						"in": "query",
						"name": "sort_direction",
						"required": false,
						"schema": {
							"$ref": "#/components/schemas/SortDirection"
						}
					},
					{
						"in": "query",
						"name": "geographical_area_reference_number",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"type": "string"
							}
						}
					},
					{
						"in": "query",
						"name": "include_total_count",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					}
				]
			}
		},
		"/alterations": {
			"get": {
				"operationId": "GetAlterations",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/AlterationReportingResponse"
								}
							}
						}
					}
				},
				"description": "Returns all alterations associated with the logged in user's organisation. Optional date range filter for date_created\nAuthenticated user must have one of the following roles: Planner, Contractor, HighwayAuthority",
				"security": [
					{
						"token": [
							"Planner",
							"Contractor",
							"HighwayAuthority"
						]
					}
				],
				"parameters": [
					{
						"in": "query",
						"name": "alteration_status",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"$ref": "#/components/schemas/AlterationStatus"
							}
						}
					},
					{
						"in": "query",
						"name": "alteration_type",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"$ref": "#/components/schemas/AlterationType"
							}
						}
					},
					{
						"in": "query",
						"name": "work_status",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"$ref": "#/components/schemas/WorkStatus"
							}
						}
					},
					{
						"in": "query",
						"name": "work_category",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"$ref": "#/components/schemas/WorkCategory"
							}
						}
					},
					{
						"in": "query",
						"name": "lane_rental_assessment_outcome",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"$ref": "#/components/schemas/LaneRentalAssessmentOutcome"
							}
						}
					},
					{
						"in": "query",
						"name": "start_date_created",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "end_date_created",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "offset",
						"required": false,
						"schema": {
							"format": "double",
							"type": "number"
						}
					},
					{
						"in": "query",
						"name": "sort_column",
						"required": false,
						"schema": {
							"$ref": "#/components/schemas/AlterationSortColumn"
						}
					},
					{
						"in": "query",
						"name": "sort_direction",
						"required": false,
						"schema": {
							"$ref": "#/components/schemas/SortDirection"
						}
					},
					{
						"in": "query",
						"name": "is_traffic_sensitive",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					},
					{
						"in": "query",
						"name": "is_high_impact_traffic_management",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					},
					{
						"in": "query",
						"name": "is_duration_extension",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					},
					{
						"in": "query",
						"name": "is_early_start",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					},
					{
						"in": "query",
						"name": "is_deemed",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					},
					{
						"in": "query",
						"name": "lane_rental_charges_not_agreed",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					},
					{
						"in": "query",
						"name": "lane_rental_charges_potentially_apply",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					},
					{
						"in": "query",
						"name": "swa_code",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "geographical_area_reference_number",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"type": "string"
							}
						}
					},
					{
						"in": "query",
						"name": "status_update_date_from",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "status_update_date_to",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "organisation",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "street_descriptor",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "usrn",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "permit_alteration_reference_number",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "include_total_count",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					}
				]
			}
		},
		"/alterations/duration-challenges": {
			"get": {
				"operationId": "GetAlterationDurationChallenges",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/AlterationDurationChallengeReportingResponse"
								}
							}
						}
					}
				},
				"description": "See API specification Resource Guide > Reporting API > Get Permit Alteration Duration Challenges for more information\nAuthenticated user must have one of the following roles: Planner, Contractor, HighwayAuthority",
				"security": [
					{
						"token": [
							"Planner",
							"Contractor",
							"HighwayAuthority"
						]
					}
				],
				"parameters": [
					{
						"in": "query",
						"name": "offset",
						"required": false,
						"schema": {
							"format": "double",
							"type": "number"
						}
					},
					{
						"in": "query",
						"name": "sort_column",
						"required": false,
						"schema": {
							"$ref": "#/components/schemas/AlterationDurationChallengeSortColumn"
						}
					},
					{
						"in": "query",
						"name": "sort_direction",
						"required": false,
						"schema": {
							"$ref": "#/components/schemas/SortDirection"
						}
					},
					{
						"in": "query",
						"name": "swa_code",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "organisation",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "geographical_area_reference_number",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"type": "string"
							}
						}
					},
					{
						"in": "query",
						"name": "duration_challenge_review_status",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"$ref": "#/components/schemas/DurationChallengeReviewStatus"
							}
						}
					},
					{
						"in": "query",
						"name": "duration_challenge_non_acceptance_response_status",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"$ref": "#/components/schemas/DurationChallengeNonAcceptanceResponseStatus"
							}
						}
					},
					{
						"in": "query",
						"name": "work_status",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"$ref": "#/components/schemas/WorkStatus"
							}
						}
					},
					{
						"in": "query",
						"name": "street_descriptor",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "usrn",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "permit_alteration_reference_number",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "include_total_count",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					}
				]
			}
		},
		"/permits": {
			"get": {
				"operationId": "GetPermits",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/PermitReportingResponse"
								}
							}
						}
					}
				},
				"description": "See API specification Resource Guide > Reporting API > Get Permits for more information\nAuthenticated user must have one of the following roles: Planner, Contractor, HighwayAuthority",
				"security": [
					{
						"token": [
							"Planner",
							"Contractor",
							"HighwayAuthority"
						]
					}
				],
				"parameters": [
					{
						"in": "query",
						"name": "status",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"$ref": "#/components/schemas/PermitStatus"
							}
						}
					},
					{
						"in": "query",
						"name": "work_status",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"$ref": "#/components/schemas/WorkStatus"
							}
						}
					},
					{
						"in": "query",
						"name": "work_category",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"$ref": "#/components/schemas/WorkCategory"
							}
						}
					},
					{
						"in": "query",
						"name": "lane_rental_assessment_outcome",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"$ref": "#/components/schemas/LaneRentalAssessmentOutcome"
							}
						}
					},
					{
						"in": "query",
						"name": "active_permit_only",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					},
					{
						"in": "query",
						"name": "start_date",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "end_date",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "work_start_date_from",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "work_start_date_to",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "work_end_date_from",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "work_end_date_to",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "start_date_created",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "end_date_created",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "offset",
						"required": false,
						"schema": {
							"format": "double",
							"type": "number"
						}
					},
					{
						"in": "query",
						"name": "sort_column",
						"required": false,
						"schema": {
							"$ref": "#/components/schemas/PermitSortColumn"
						}
					},
					{
						"in": "query",
						"name": "sort_direction",
						"required": false,
						"schema": {
							"$ref": "#/components/schemas/SortDirection"
						}
					},
					{
						"in": "query",
						"name": "is_traffic_sensitive",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					},
					{
						"in": "query",
						"name": "is_high_impact_traffic_management",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					},
					{
						"in": "query",
						"name": "has_no_final_registration",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					},
					{
						"in": "query",
						"name": "has_excavation",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					},
					{
						"in": "query",
						"name": "is_early_start",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					},
					{
						"in": "query",
						"name": "is_deemed",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					},
					{
						"in": "query",
						"name": "lane_rental_charges_not_agreed",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					},
					{
						"in": "query",
						"name": "lane_rental_charges_potentially_apply",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					},
					{
						"in": "query",
						"name": "swa_code",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "ever_modification_requested",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					},
					{
						"in": "query",
						"name": "hs2_works_only",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					},
					{
						"in": "query",
						"name": "consultation_works_only",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					},
					{
						"in": "query",
						"name": "consent_works_only",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					},
					{
						"in": "query",
						"name": "unacknowledged_by_ha_only",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					},
					{
						"in": "query",
						"name": "geographical_area_reference_number",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"type": "string"
							}
						}
					},
					{
						"in": "query",
						"name": "is_duration_challenged",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					},
					{
						"in": "query",
						"name": "organisation",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "street_descriptor",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "usrn",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "permit_reference_number",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "work_reference_number",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "include_total_count",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					},
					{
						"in": "query",
						"name": "reasonable_period_end_date_from",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "reasonable_period_end_date_to",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					}
				]
			}
		},
		"/permits/duration-challenges": {
			"get": {
				"operationId": "GetPermitDurationChallenges",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/PermitDurationChallengeReportingResponse"
								}
							}
						}
					}
				},
				"description": "See API specification Resource Guide > Reporting API > Get Permit Duration Challenges for more information\nAuthenticated user must have one of the following roles: Planner, Contractor, HighwayAuthority",
				"security": [
					{
						"token": [
							"Planner",
							"Contractor",
							"HighwayAuthority"
						]
					}
				],
				"parameters": [
					{
						"in": "query",
						"name": "offset",
						"required": false,
						"schema": {
							"format": "double",
							"type": "number"
						}
					},
					{
						"in": "query",
						"name": "sort_column",
						"required": false,
						"schema": {
							"$ref": "#/components/schemas/PermitDurationChallengeSortColumn"
						}
					},
					{
						"in": "query",
						"name": "sort_direction",
						"required": false,
						"schema": {
							"$ref": "#/components/schemas/SortDirection"
						}
					},
					{
						"in": "query",
						"name": "swa_code",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "organisation",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "geographical_area_reference_number",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"type": "string"
							}
						}
					},
					{
						"in": "query",
						"name": "duration_challenge_review_status",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"$ref": "#/components/schemas/DurationChallengeReviewStatus"
							}
						}
					},
					{
						"in": "query",
						"name": "duration_challenge_non_acceptance_response_status",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"$ref": "#/components/schemas/DurationChallengeNonAcceptanceResponseStatus"
							}
						}
					},
					{
						"in": "query",
						"name": "work_status",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"$ref": "#/components/schemas/WorkStatus"
							}
						}
					},
					{
						"in": "query",
						"name": "street_descriptor",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "usrn",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "permit_reference_number",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "include_total_count",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					}
				]
			}
		},
		"/permits/reinstatements-due": {
			"get": {
				"operationId": "GetReinstatementsDue",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ReinstatementsDueReportingResponse"
								}
							}
						}
					}
				},
				"security": [
					{
						"token": [
							"Planner",
							"Contractor",
							"HighwayAuthority"
						]
					}
				],
				"parameters": [
					{
						"in": "query",
						"name": "swa_code",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "street_descriptor",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "usrn",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "geographical_area_reference_number",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"type": "string"
							}
						}
					},
					{
						"in": "query",
						"name": "organisation",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "work_reference_number",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "work_end_date_from",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "work_end_date_to",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "registration_due_date_from",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "registration_due_date_to",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "include_total_count",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					}
				]
			}
		},
		"/permits/files": {
			"get": {
				"operationId": "GetPermitFiles",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/FileSummaryReportingResponse"
								}
							}
						}
					}
				},
				"security": [
					{
						"token": [
							"Planner",
							"Contractor",
							"HighwayAuthority"
						]
					}
				],
				"parameters": [
					{
						"in": "query",
						"name": "permit_reference_number",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "file_type",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"$ref": "#/components/schemas/FileType"
							}
						}
					}
				]
			}
		},
		"/fixed-penalty-notices": {
			"get": {
				"operationId": "GetFPNs",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/FPNReportingResponse"
								}
							}
						}
					}
				},
				"description": "See API specification Resource Guide > Reporting API > Get FPNs for more information\nAuthenticated user must have one of the following roles: Planner, Contractor, HighwayAuthority",
				"security": [
					{
						"token": [
							"Planner",
							"Contractor",
							"HighwayAuthority"
						]
					}
				],
				"parameters": [
					{
						"in": "query",
						"name": "status",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"$ref": "#/components/schemas/FPNStatus"
							}
						}
					},
					{
						"in": "query",
						"name": "start_date",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "end_date",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "offset",
						"required": false,
						"schema": {
							"format": "double",
							"type": "number"
						}
					},
					{
						"in": "query",
						"name": "swa_code",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "geographical_area_reference_number",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"type": "string"
							}
						}
					},
					{
						"in": "query",
						"name": "offence_code",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"$ref": "#/components/schemas/OffenceCode"
							}
						}
					},
					{
						"in": "query",
						"name": "status_changed_date_from",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "status_changed_date_to",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "sort_column",
						"required": false,
						"schema": {
							"$ref": "#/components/schemas/FPNSortColumn"
						}
					},
					{
						"in": "query",
						"name": "sort_direction",
						"required": false,
						"schema": {
							"$ref": "#/components/schemas/SortDirection"
						}
					},
					{
						"in": "query",
						"name": "organisation",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "street_descriptor",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "usrn",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "work_reference_number",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "include_total_count",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					}
				]
			}
		},
		"/fixed-penalty-notices/files": {
			"get": {
				"operationId": "GetFPNFiles",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/FileSummaryReportingResponse"
								}
							}
						}
					}
				},
				"security": [
					{
						"token": [
							"Planner",
							"Contractor",
							"HighwayAuthority"
						]
					}
				],
				"parameters": [
					{
						"in": "query",
						"name": "fpn_reference_number",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "file_type",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"$ref": "#/components/schemas/FileType"
							}
						}
					}
				]
			}
		},
		"/comments": {
			"get": {
				"operationId": "GetComments",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/CommentReportingResponse"
								}
							}
						}
					}
				},
				"description": "Authenticated user must have one of the following roles: Planner, Contractor, HighwayAuthority",
				"security": [
					{
						"token": [
							"Planner",
							"Contractor",
							"HighwayAuthority"
						]
					}
				],
				"parameters": [
					{
						"in": "query",
						"name": "offset",
						"required": false,
						"schema": {
							"format": "double",
							"type": "number"
						}
					},
					{
						"in": "query",
						"name": "swa_code",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "geographical_area_reference_number",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"type": "string"
							}
						}
					},
					{
						"in": "query",
						"name": "date_created_from",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "date_created_to",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "topic",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"$ref": "#/components/schemas/CommentTopic"
							}
						}
					},
					{
						"in": "query",
						"name": "is_internal",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					},
					{
						"in": "query",
						"name": "is_read",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					},
					{
						"in": "query",
						"name": "is_not_read",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					},
					{
						"in": "query",
						"name": "work_reference_number",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "author_email_address",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "is_incoming",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					},
					{
						"in": "query",
						"name": "is_outgoing",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					},
					{
						"in": "query",
						"name": "include_total_count",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					}
				]
			}
		},
		"/inspections": {
			"get": {
				"operationId": "GetInspections",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/InspectionReportingResponse"
								}
							}
						}
					}
				},
				"description": "See API specification Resource Guide > Reporting API > Get inspections for more information\nAuthenticated user must have one of the following roles: Planner, Contractor, HighwayAuthority",
				"security": [
					{
						"token": [
							"Planner",
							"Contractor",
							"HighwayAuthority"
						]
					}
				],
				"parameters": [
					{
						"in": "query",
						"name": "start_date",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "end_date",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "inspection_type",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"$ref": "#/components/schemas/InspectionType"
							}
						}
					},
					{
						"in": "query",
						"name": "inspection_outcome",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"$ref": "#/components/schemas/InspectionOutcome"
							}
						}
					},
					{
						"in": "query",
						"name": "start_date_created",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "end_date_created",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "offset",
						"required": false,
						"schema": {
							"format": "double",
							"type": "number"
						}
					},
					{
						"in": "query",
						"name": "sort_column",
						"required": false,
						"schema": {
							"$ref": "#/components/schemas/InspectionSortColumn"
						}
					},
					{
						"in": "query",
						"name": "sort_direction",
						"required": false,
						"schema": {
							"$ref": "#/components/schemas/SortDirection"
						}
					},
					{
						"in": "query",
						"name": "swa_code",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "geographical_area_reference_number",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"type": "string"
							}
						}
					},
					{
						"in": "query",
						"name": "organisation",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "street_descriptor",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "usrn",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "work_reference_number",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "inspection_category",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"$ref": "#/components/schemas/InspectionCategory"
							}
						}
					},
					{
						"in": "query",
						"name": "promoter_outcome_status",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"$ref": "#/components/schemas/PromoterInspectionOutcomeStatusType"
							}
						}
					},
					{
						"in": "query",
						"name": "ha_outcome_status",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"$ref": "#/components/schemas/HAInspectionOutcomeStatusType"
							}
						}
					},
					{
						"in": "query",
						"name": "is_auto_accepted",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					},
					{
						"in": "query",
						"name": "include_total_count",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					}
				]
			}
		},
		"/inspections/files": {
			"get": {
				"operationId": "GetInspectionFiles",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/FileSummaryReportingResponse"
								}
							}
						}
					}
				},
				"security": [
					{
						"token": [
							"Planner",
							"Contractor",
							"HighwayAuthority"
						]
					}
				],
				"parameters": [
					{
						"in": "query",
						"name": "inspection_reference_number",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "file_type",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"$ref": "#/components/schemas/FileType"
							}
						}
					}
				]
			}
		},
		"/workstreams": {
			"get": {
				"operationId": "GetWorkstreams",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/WorkstreamReportingResponse"
								}
							}
						}
					}
				},
				"description": "Returns all workstreams associated with the logged in user's organisation. Optional filter by status\nAuthenticated user must have one of the following roles: Admin",
				"security": [
					{
						"token": [
							"Admin"
						]
					}
				],
				"parameters": [
					{
						"in": "query",
						"name": "status",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"$ref": "#/components/schemas/WorkstreamStatus"
							}
						}
					},
					{
						"in": "query",
						"name": "offset",
						"required": false,
						"schema": {
							"format": "double",
							"type": "number"
						}
					},
					{
						"in": "query",
						"name": "include_total_count",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					}
				]
			}
		},
		"/reinstatements": {
			"get": {
				"operationId": "GetReinstatements",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ReinstatementReportingResponse"
								}
							}
						}
					}
				},
				"description": "Returns all reinstatements associated with the logged in user's organisation. Optional filter by status\nAuthenticated user must have one of the following roles: Planner, Contractor, HighwayAuthority",
				"security": [
					{
						"token": [
							"Planner",
							"Contractor",
							"HighwayAuthority"
						]
					}
				],
				"parameters": [
					{
						"in": "query",
						"name": "sort_column",
						"required": false,
						"schema": {
							"$ref": "#/components/schemas/ReinstatementSortColumn"
						}
					},
					{
						"in": "query",
						"name": "sort_direction",
						"required": false,
						"schema": {
							"$ref": "#/components/schemas/SortDirection"
						}
					},
					{
						"in": "query",
						"name": "status",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"$ref": "#/components/schemas/ReinstatementStatus"
							}
						}
					},
					{
						"in": "query",
						"name": "offset",
						"required": false,
						"schema": {
							"format": "double",
							"type": "number"
						}
					},
					{
						"in": "query",
						"name": "swa_code",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "latest_reinstatements_only",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					},
					{
						"in": "query",
						"name": "registration_date_from",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "registration_date_to",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "end_date_from",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "end_date_to",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "geographical_area_reference_number",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"type": "string"
							}
						}
					},
					{
						"in": "query",
						"name": "organisation",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "street_descriptor",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "usrn",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "work_reference_number",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "work_reference_number_exact",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "include_total_count",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					}
				]
			}
		},
		"/reinstatements/expiring-interims": {
			"get": {
				"operationId": "GetExpiringInterimReinstatements",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ReinstatementReportingResponse"
								}
							}
						}
					}
				},
				"description": "Returns expiring interim associated with the logged in user's organisation.\nAuthenticated user must have one of the following roles: Planner, Contractor, HighwayAuthority",
				"security": [
					{
						"token": [
							"Planner",
							"Contractor",
							"HighwayAuthority"
						]
					}
				],
				"parameters": [
					{
						"in": "query",
						"name": "sort_column",
						"required": false,
						"schema": {
							"$ref": "#/components/schemas/ReinstatementSortColumn"
						}
					},
					{
						"in": "query",
						"name": "sort_direction",
						"required": false,
						"schema": {
							"$ref": "#/components/schemas/SortDirection"
						}
					},
					{
						"in": "query",
						"name": "offset",
						"required": false,
						"schema": {
							"format": "double",
							"type": "number"
						}
					},
					{
						"in": "query",
						"name": "swa_code",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "registration_date_from",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "registration_date_to",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "end_date_from",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "end_date_to",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "geographical_area_reference_number",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"type": "string"
							}
						}
					},
					{
						"in": "query",
						"name": "organisation",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "street_descriptor",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "usrn",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "work_reference_number",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "work_reference_number_exact",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "include_total_count",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					}
				]
			}
		},
		"/reinstatements/files": {
			"get": {
				"operationId": "GetReinstatementFiles",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/FileSummaryReportingResponse"
								}
							}
						}
					}
				},
				"security": [
					{
						"token": [
							"Planner",
							"Contractor",
							"HighwayAuthority"
						]
					}
				],
				"parameters": [
					{
						"in": "query",
						"name": "reinstatement_reference_number",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "file_type",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"$ref": "#/components/schemas/FileType"
							}
						}
					}
				]
			}
		},
		"/forward-plans": {
			"get": {
				"operationId": "GetForwardPlans",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ForwardPlanReportingResponse"
								}
							}
						}
					}
				},
				"description": "See API specification Resource Guide > Reporting API > Get ForwardPlans for more information\nAuthenticated user must have one of the following roles: Planner, Contractor, HighwayAuthority",
				"security": [
					{
						"token": [
							"Planner",
							"Contractor",
							"HighwayAuthority"
						]
					}
				],
				"parameters": [
					{
						"in": "query",
						"name": "forward_plan_status",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"$ref": "#/components/schemas/ForwardPlanStatus"
							}
						}
					},
					{
						"in": "query",
						"name": "proposed_start_date",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "proposed_end_date",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "work_start_date_from",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "work_start_date_to",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "work_end_date_from",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "work_end_date_to",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "offset",
						"required": false,
						"schema": {
							"format": "double",
							"type": "number"
						}
					},
					{
						"in": "query",
						"name": "sort_column",
						"required": false,
						"schema": {
							"$ref": "#/components/schemas/ForwardPlanSortColumn"
						}
					},
					{
						"in": "query",
						"name": "sort_direction",
						"required": false,
						"schema": {
							"$ref": "#/components/schemas/SortDirection"
						}
					},
					{
						"in": "query",
						"name": "swa_code",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "geographical_area_reference_number",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"type": "string"
							}
						}
					},
					{
						"in": "query",
						"name": "organisation",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "street_descriptor",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "usrn",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "forward_plan_reference_number",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "include_total_count",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					}
				]
			}
		},
		"/section-58s": {
			"get": {
				"operationId": "GetSection58s",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Section58ReportingResponse"
								}
							}
						}
					}
				},
				"description": "See API specification Resource Guide > Reporting API > Get Section 58s for more information\nAuthenticated user must have one of the following roles: Planner, Contractor, HighwayAuthority",
				"security": [
					{
						"token": [
							"Planner",
							"Contractor",
							"HighwayAuthority"
						]
					}
				],
				"parameters": [
					{
						"in": "query",
						"name": "ha_organisation_name",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "start_date_from",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "start_date_to",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "section_58_status",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"$ref": "#/components/schemas/Section58Status"
							}
						}
					},
					{
						"in": "query",
						"name": "offset",
						"required": false,
						"schema": {
							"format": "double",
							"type": "number"
						}
					},
					{
						"in": "query",
						"name": "sort_column",
						"required": false,
						"schema": {
							"$ref": "#/components/schemas/Section58SortColumn"
						}
					},
					{
						"in": "query",
						"name": "sort_direction",
						"required": false,
						"schema": {
							"$ref": "#/components/schemas/SortDirection"
						}
					},
					{
						"in": "query",
						"name": "geographical_area_reference_number",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"type": "string"
							}
						}
					},
					{
						"in": "query",
						"name": "section_58_reference_number",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "street_descriptor",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "usrn",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "include_total_count",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					}
				]
			}
		},
		"/section-74s": {
			"get": {
				"operationId": "GetSection74s",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Section74ReportingResponse"
								}
							}
						}
					}
				},
				"description": "See API specification Resource Guide > Reporting API > Get Section 74s for more information\nAuthenticated user must have one of the following roles: Planner, Contractor, HighwayAuthority",
				"security": [
					{
						"token": [
							"Planner",
							"Contractor",
							"HighwayAuthority"
						]
					}
				],
				"parameters": [
					{
						"in": "query",
						"name": "section_74_ha_status",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"$ref": "#/components/schemas/Section74HAStatus"
							}
						}
					},
					{
						"in": "query",
						"name": "issue_date_from",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "issue_date_to",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "swa_code",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "offset",
						"required": false,
						"schema": {
							"format": "double",
							"type": "number"
						}
					},
					{
						"in": "query",
						"name": "sort_column",
						"required": false,
						"schema": {
							"$ref": "#/components/schemas/Section74SortColumn"
						}
					},
					{
						"in": "query",
						"name": "sort_direction",
						"required": false,
						"schema": {
							"$ref": "#/components/schemas/SortDirection"
						}
					},
					{
						"in": "query",
						"name": "geographical_area_reference_number",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"type": "string"
							}
						}
					},
					{
						"in": "query",
						"name": "organisation",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "street_descriptor",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "usrn",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "section_74_reference_number",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "include_total_count",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					}
				]
			}
		},
		"/section-74s/files": {
			"get": {
				"operationId": "GetSection74Files",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/FileSummaryReportingResponse"
								}
							}
						}
					}
				},
				"security": [
					{
						"token": [
							"Planner",
							"Contractor",
							"HighwayAuthority"
						]
					}
				],
				"parameters": [
					{
						"in": "query",
						"name": "section_74_reference_number",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "file_type",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"$ref": "#/components/schemas/FileType"
							}
						}
					}
				]
			}
		},
		"/section-81s": {
			"get": {
				"operationId": "GetSection81s",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Section81ReportingResponse"
								}
							}
						}
					}
				},
				"description": "See API specification Resource Guide > Reporting API > Get Section 81s for more information\nAuthenticated user must have one of the following roles: Planner, Contractor, HighwayAuthority",
				"security": [
					{
						"token": [
							"Planner",
							"Contractor",
							"HighwayAuthority"
						]
					}
				],
				"parameters": [
					{
						"in": "query",
						"name": "section_81_status",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"$ref": "#/components/schemas/Section81Status"
							}
						}
					},
					{
						"in": "query",
						"name": "section_81_severity",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"$ref": "#/components/schemas/Section81Severity"
							}
						}
					},
					{
						"in": "query",
						"name": "issue_date_from",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "issue_date_to",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "status_changed_date_from",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "status_changed_date_to",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "swa_code",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "offset",
						"required": false,
						"schema": {
							"format": "double",
							"type": "number"
						}
					},
					{
						"in": "query",
						"name": "sort_column",
						"required": false,
						"schema": {
							"$ref": "#/components/schemas/Section81SortColumn"
						}
					},
					{
						"in": "query",
						"name": "sort_direction",
						"required": false,
						"schema": {
							"$ref": "#/components/schemas/SortDirection"
						}
					},
					{
						"in": "query",
						"name": "geographical_area_reference_number",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"type": "string"
							}
						}
					},
					{
						"in": "query",
						"name": "organisation",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "section_81_type",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"$ref": "#/components/schemas/Section81Type"
							}
						}
					},
					{
						"in": "query",
						"name": "street_descriptor",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "usrn",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "section_81_reference_number",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "include_total_count",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					}
				]
			}
		},
		"/section-81s/files": {
			"get": {
				"operationId": "GetSection81Files",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/FileSummaryReportingResponse"
								}
							}
						}
					}
				},
				"security": [
					{
						"token": [
							"Planner",
							"Contractor",
							"HighwayAuthority"
						]
					}
				],
				"parameters": [
					{
						"in": "query",
						"name": "section_81_reference_number",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "file_type",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"$ref": "#/components/schemas/FileType"
							}
						}
					}
				]
			}
		},
		"/csv-exports": {
			"get": {
				"operationId": "GetCsvExports",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/CSVExportReportingResponse"
								}
							}
						}
					}
				},
				"description": "See API specification Resource Guide > Reporting API > Get CSV Exports for more information\nAuthenticated user must have one of the following roles: Planner, Contractor, HighwayAuthority, Admin",
				"security": [
					{
						"token": [
							"Planner",
							"Contractor",
							"HighwayAuthority",
							"Admin"
						]
					}
				],
				"parameters": [
					{
						"in": "query",
						"name": "offset",
						"required": false,
						"schema": {
							"format": "double",
							"type": "number"
						}
					},
					{
						"in": "query",
						"name": "swa_code",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "include_total_count",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					}
				]
			}
		},
		"/geographical-areas": {
			"get": {
				"operationId": "GetGeographicalAreas",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"items": {
										"$ref": "#/components/schemas/GeographicalAreaResponse"
									},
									"type": "array"
								}
							}
						}
					}
				},
				"description": "Returns all geographic areas associated with the logged in user's organisation\nAuthenticated user must have one of the following roles: Admin, HighwayAuthority",
				"security": [
					{
						"token": [
							"Admin",
							"HighwayAuthority"
						]
					}
				],
				"parameters": []
			}
		},
		"/pbi-sample-inspection-targets": {
			"get": {
				"operationId": "GetPbiSampleInspectionTargets",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/PbiSampleInspectionTargetReportingResponse"
								}
							}
						}
					}
				},
				"security": [
					{
						"token": [
							"HighwayAuthority",
							"Admin",
							"StreetWorksAdmin"
						]
					}
				],
				"parameters": [
					{
						"in": "query",
						"name": "offset",
						"required": false,
						"schema": {
							"format": "double",
							"type": "number"
						}
					},
					{
						"in": "query",
						"name": "quarter_start_date",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "sort_column",
						"required": false,
						"schema": {
							"$ref": "#/components/schemas/PbiSampleInspectionTargetSortColumn"
						}
					},
					{
						"in": "query",
						"name": "sort_direction",
						"required": false,
						"schema": {
							"$ref": "#/components/schemas/SortDirection"
						}
					},
					{
						"in": "query",
						"name": "include_total_count",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					}
				]
			}
		},
		"/pbi-sample-inspections": {
			"get": {
				"operationId": "GetPbiSampleInspections",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/PbiSampleInspectionReportingResponse"
								}
							}
						}
					}
				},
				"description": "Authenticated user must have one of the following roles: HighwayAuthority",
				"security": [
					{
						"token": [
							"HighwayAuthority"
						]
					}
				],
				"parameters": [
					{
						"in": "query",
						"name": "offset",
						"required": false,
						"schema": {
							"format": "double",
							"type": "number"
						}
					},
					{
						"in": "query",
						"name": "swa_code",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "geographical_area_reference_number",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"type": "string"
							}
						}
					},
					{
						"in": "query",
						"name": "sort_direction",
						"required": false,
						"schema": {
							"$ref": "#/components/schemas/SortDirection"
						}
					},
					{
						"in": "query",
						"name": "organisation",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "street_descriptor",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "usrn",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "work_reference_number",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "sample_expiry_date_from",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "sample_expiry_date_to",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "sort_column",
						"required": false,
						"schema": {
							"$ref": "#/components/schemas/PbiSampleInspectionSortColumn"
						}
					},
					{
						"in": "query",
						"name": "include_total_count",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					}
				]
			}
		},
		"/works/files": {
			"get": {
				"operationId": "GetWorkFiles",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/FileSummaryReportingResponse"
								}
							}
						}
					}
				},
				"security": [
					{
						"token": [
							"Admin",
							"Planner",
							"Contractor",
							"HighwayAuthority"
						]
					}
				],
				"parameters": [
					{
						"in": "query",
						"name": "work_reference_number",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "file_type",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"$ref": "#/components/schemas/FileType"
							}
						}
					}
				]
			}
		},
		"/works": {
			"get": {
				"operationId": "GetWorks",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/WorkSearchReportingResponse"
								}
							}
						}
					}
				},
				"security": [
					{
						"token": [
							"Planner",
							"Contractor",
							"HighwayAuthority"
						]
					}
				],
				"parameters": [
					{
						"in": "query",
						"name": "work_reference_number",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "swa_code",
						"required": false,
						"schema": {
							"type": "string"
						}
					}
				]
			}
		},
		"/reinspections": {
			"get": {
				"operationId": "GetReinspections",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ReinspectionReportingResponse"
								}
							}
						}
					}
				},
				"description": "See API specification Resource Guide > Reporting API > Get reinspections for more information\nAuthenticated user must have one of the following roles: Planner, Contractor, HighwayAuthority",
				"security": [
					{
						"token": [
							"Planner",
							"Contractor",
							"HighwayAuthority"
						]
					}
				],
				"parameters": [
					{
						"in": "query",
						"name": "start_date",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "end_date",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "inspection_type",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"$ref": "#/components/schemas/InspectionType"
							}
						}
					},
					{
						"in": "query",
						"name": "offset",
						"required": false,
						"schema": {
							"format": "double",
							"type": "number"
						}
					},
					{
						"in": "query",
						"name": "sort_column",
						"required": false,
						"schema": {
							"$ref": "#/components/schemas/ReinspectionSortColumn"
						}
					},
					{
						"in": "query",
						"name": "sort_direction",
						"required": false,
						"schema": {
							"$ref": "#/components/schemas/SortDirection"
						}
					},
					{
						"in": "query",
						"name": "swa_code",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "geographical_area_reference_number",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"type": "string"
							}
						}
					},
					{
						"in": "query",
						"name": "organisation",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "street_descriptor",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "usrn",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "work_reference_number",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "inspection_category",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"$ref": "#/components/schemas/InspectionCategory"
							}
						}
					},
					{
						"in": "query",
						"name": "include_total_count",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					}
				]
			}
		},
		"/private-street-notices": {
			"get": {
				"operationId": "GetPrivateStreets",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/PrivateStreetReportingResponse"
								}
							}
						}
					}
				},
				"description": "Authenticated user must have one of the following roles: Planner, Contractor, HighwayAuthority",
				"security": [
					{
						"token": [
							"Planner",
							"Contractor",
							"HighwayAuthority"
						]
					}
				],
				"parameters": [
					{
						"in": "query",
						"name": "offset",
						"required": false,
						"schema": {
							"format": "double",
							"type": "number"
						}
					},
					{
						"in": "query",
						"name": "swa_code",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "geographical_area_reference_number",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"type": "string"
							}
						}
					},
					{
						"in": "query",
						"name": "sort_direction",
						"required": false,
						"schema": {
							"$ref": "#/components/schemas/SortDirection"
						}
					},
					{
						"in": "query",
						"name": "sort_column",
						"required": false,
						"schema": {
							"$ref": "#/components/schemas/PrivateStreetNoticeSortColumn"
						}
					},
					{
						"in": "query",
						"name": "organisation",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "street_descriptor",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "usrn",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "private_street_reference_number",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "start_date_from",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "start_date_to",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "end_date_from",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "end_date_to",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "date_created_from",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "date_created_to",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "private_street_status",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"$ref": "#/components/schemas/PrivateStreetStatus"
							}
						}
					},
					{
						"in": "query",
						"name": "include_total_count",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					}
				]
			}
		},
		"/private-street-notices/files": {
			"get": {
				"operationId": "GetPrivateStreetFiles",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/FileSummaryReportingResponse"
								}
							}
						}
					}
				},
				"description": "Authenticated user must have one of the following roles: Planner, Contractor, HighwayAuthority",
				"security": [
					{
						"token": [
							"Planner",
							"Contractor",
							"HighwayAuthority"
						]
					}
				],
				"parameters": [
					{
						"in": "query",
						"name": "private_street_reference_number",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "file_type",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"$ref": "#/components/schemas/FileType"
							}
						}
					}
				]
			}
		},
		"/non-compliances": {
			"get": {
				"operationId": "GetNonCompliances",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/NonComplianceReportingResponse"
								}
							}
						}
					}
				},
				"description": "See API specification Resource Guide > Reporting API > Get non compliances for more information\nAuthenticated user must have one of the following roles: Planner, Contractor, HighwayAuthority",
				"security": [
					{
						"token": [
							"Planner",
							"Contractor",
							"HighwayAuthority"
						]
					}
				],
				"parameters": [
					{
						"in": "query",
						"name": "non_compliance_date_created_from",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "non_compliance_date_created_to",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "non_compliance_reference_number",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "non_compliance_status",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"$ref": "#/components/schemas/NonComplianceStatus"
							}
						}
					},
					{
						"in": "query",
						"name": "ha_response_status",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"$ref": "#/components/schemas/NonComplianceResponseStatus"
							}
						}
					},
					{
						"in": "query",
						"name": "promoter_response_status",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"$ref": "#/components/schemas/NonComplianceResponseStatus"
							}
						}
					},
					{
						"in": "query",
						"name": "swa_code",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "geographical_area_reference_number",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"type": "string"
							}
						}
					},
					{
						"in": "query",
						"name": "organisation",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "street_descriptor",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "usrn",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "offset",
						"required": false,
						"schema": {
							"format": "double",
							"type": "number"
						}
					},
					{
						"in": "query",
						"name": "sort_column",
						"required": false,
						"schema": {
							"$ref": "#/components/schemas/NonComplianceSortColumn"
						}
					},
					{
						"in": "query",
						"name": "sort_direction",
						"required": false,
						"schema": {
							"$ref": "#/components/schemas/SortDirection"
						}
					},
					{
						"in": "query",
						"name": "most_recent_inspection_type",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"$ref": "#/components/schemas/InspectionType"
							}
						}
					},
					{
						"in": "query",
						"name": "most_recent_inspection_outcome",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"$ref": "#/components/schemas/InspectionOutcome"
							}
						}
					},
					{
						"in": "query",
						"name": "most_recent_inspection_promoter_response_status",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"$ref": "#/components/schemas/PromoterInspectionOutcomeStatusType"
							}
						}
					},
					{
						"in": "query",
						"name": "most_recent_inspection_ha_response_status",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"$ref": "#/components/schemas/HAInspectionOutcomeStatusType"
							}
						}
					},
					{
						"in": "query",
						"name": "include_total_count",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					}
				]
			}
		},
		"/material-classifications": {
			"get": {
				"operationId": "GetMaterialClassifications",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/MaterialClassificationReportingResponse"
								}
							}
						}
					}
				},
				"description": "See API specification Resource Guide > Reporting API > Get Material Classifications for more information\nAuthenticated user must have one of the following roles: Planner, Contractor, HighwayAuthority",
				"security": [
					{
						"token": [
							"Planner",
							"Contractor",
							"HighwayAuthority"
						]
					}
				],
				"parameters": [
					{
						"in": "query",
						"name": "street_descriptor",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "usrn",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "offset",
						"required": false,
						"schema": {
							"format": "double",
							"type": "number"
						}
					},
					{
						"in": "query",
						"name": "sort_direction",
						"required": false,
						"schema": {
							"$ref": "#/components/schemas/SortDirection"
						}
					},
					{
						"in": "query",
						"name": "material_classification_reference_number",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "material_classification_classification",
						"required": false,
						"schema": {
							"$ref": "#/components/schemas/MaterialClassificationClassification"
						}
					},
					{
						"in": "query",
						"name": "date_sample_taken_from",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "date_sample_taken_to",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "date_created_from",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "date_created_to",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "include_total_count",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					}
				]
			}
		},
		"/pbi-sample-generation-jobs": {
			"get": {
				"operationId": "GetPbiSampleGenerationJobs",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/PbiSampleGenerationJobsReportingResponse"
								}
							}
						}
					}
				},
				"security": [
					{
						"token": [
							"Admin",
							"StreetWorksAdmin"
						]
					}
				],
				"parameters": [
					{
						"in": "query",
						"name": "offset",
						"required": false,
						"schema": {
							"format": "double",
							"type": "number"
						}
					},
					{
						"in": "query",
						"name": "include_total_count",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					}
				]
			}
		},
		"/interested-party-permits": {
			"get": {
				"operationId": "GetInterestedPartyPermits",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/PermitReportingResponse"
								}
							}
						}
					}
				},
				"security": [
					{
						"token": [
							"HighwayAuthority"
						]
					}
				],
				"parameters": [
					{
						"in": "query",
						"name": "offset",
						"required": false,
						"schema": {
							"format": "double",
							"type": "number"
						}
					},
					{
						"in": "query",
						"name": "sort_column",
						"required": false,
						"schema": {
							"$ref": "#/components/schemas/PermitSortColumn"
						}
					},
					{
						"in": "query",
						"name": "sort_direction",
						"required": false,
						"schema": {
							"$ref": "#/components/schemas/SortDirection"
						}
					},
					{
						"in": "query",
						"name": "geographical_area_reference_number",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"type": "string"
							}
						}
					},
					{
						"in": "query",
						"name": "street_descriptor",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "permit_reference_number",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "work_reference_number",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "work_start_date_from",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "work_start_date_to",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "work_end_date_from",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "work_end_date_to",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "start_date_created",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "end_date_created",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "work_status",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"$ref": "#/components/schemas/WorkStatus"
							}
						}
					},
					{
						"in": "query",
						"name": "work_category",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"$ref": "#/components/schemas/WorkCategory"
							}
						}
					},
					{
						"in": "query",
						"name": "is_high_impact_traffic_management",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					},
					{
						"in": "query",
						"name": "usrn",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "promoter_organisation_name",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "ha_organisation_name",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "include_total_count",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					}
				]
			}
		},
		"/change-requests": {
			"get": {
				"operationId": "GetChangeRequests",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ChangeRequestReportingResponse"
								}
							}
						}
					}
				},
				"description": "Returns all changeRequests associated with the logged in user's organisation. Optional date range filter for date_created\nAuthenticated user must have one of the following roles: Planner, Contractor, HighwayAuthority",
				"security": [
					{
						"token": [
							"Planner",
							"Contractor",
							"HighwayAuthority"
						]
					}
				],
				"parameters": [
					{
						"in": "query",
						"name": "change_request_status",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"$ref": "#/components/schemas/ChangeRequestStatus"
							}
						}
					},
					{
						"in": "query",
						"name": "change_request_type",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"$ref": "#/components/schemas/ChangeRequestType"
							}
						}
					},
					{
						"in": "query",
						"name": "work_category",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"$ref": "#/components/schemas/WorkCategory"
							}
						}
					},
					{
						"in": "query",
						"name": "start_date_created",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "end_date_created",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "offset",
						"required": false,
						"schema": {
							"format": "double",
							"type": "number"
						}
					},
					{
						"in": "query",
						"name": "sort_column",
						"required": false,
						"schema": {
							"$ref": "#/components/schemas/ChangeRequestSortColumn"
						}
					},
					{
						"in": "query",
						"name": "sort_direction",
						"required": false,
						"schema": {
							"$ref": "#/components/schemas/SortDirection"
						}
					},
					{
						"in": "query",
						"name": "is_traffic_sensitive",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					},
					{
						"in": "query",
						"name": "is_high_impact_traffic_management",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					},
					{
						"in": "query",
						"name": "swa_code",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "geographical_area_reference_number",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"type": "string"
							}
						}
					},
					{
						"in": "query",
						"name": "status_update_date_from",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "status_update_date_to",
						"required": false,
						"schema": {
							"format": "date-time",
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "organisation",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "street_descriptor",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "usrn",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "change_request_reference_number",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "include_total_count",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					}
				]
			}
		},
		"/change-requests/duration-challenges": {
			"get": {
				"operationId": "GetChangeRequestDurationChallenges",
				"responses": {
					"200": {
						"description": "Ok",
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ChangeRequestDurationChallengeReportingResponse"
								}
							}
						}
					}
				},
				"description": "See API specification Resource Guide > Reporting API > Get Change Request Duration Challenges for more information\nAuthenticated user must have one of the following roles: Planner, Contractor, HighwayAuthority",
				"security": [
					{
						"token": [
							"Planner",
							"Contractor",
							"HighwayAuthority"
						]
					}
				],
				"parameters": [
					{
						"in": "query",
						"name": "offset",
						"required": false,
						"schema": {
							"format": "double",
							"type": "number"
						}
					},
					{
						"in": "query",
						"name": "sort_column",
						"required": false,
						"schema": {
							"$ref": "#/components/schemas/ChangeRequestDurationChallengeSortColumn"
						}
					},
					{
						"in": "query",
						"name": "sort_direction",
						"required": false,
						"schema": {
							"$ref": "#/components/schemas/SortDirection"
						}
					},
					{
						"in": "query",
						"name": "swa_code",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "organisation",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "geographical_area_reference_number",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"type": "string"
							}
						}
					},
					{
						"in": "query",
						"name": "duration_challenge_review_status",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"$ref": "#/components/schemas/DurationChallengeReviewStatus"
							}
						}
					},
					{
						"in": "query",
						"name": "duration_challenge_non_acceptance_response_status",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"$ref": "#/components/schemas/DurationChallengeNonAcceptanceResponseStatus"
							}
						}
					},
					{
						"in": "query",
						"name": "work_status",
						"required": false,
						"schema": {
							"type": "array",
							"items": {
								"$ref": "#/components/schemas/WorkStatus"
							}
						}
					},
					{
						"in": "query",
						"name": "street_descriptor",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "usrn",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "change_request_reference_number",
						"required": false,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "query",
						"name": "include_total_count",
						"required": false,
						"schema": {
							"type": "boolean"
						}
					}
				]
			}
		}
	},
	"servers": [
		{
			"url": "/"
		}
	]
}