Skip to content

Commit

Permalink
Revert "Validate uniqueness of values in Arrays of IDs (#102)" (#104)
Browse files Browse the repository at this point in the history
This reverts commit b73b40f.
  • Loading branch information
richfab authored Nov 22, 2023
1 parent cd28f1d commit 48f5812
Show file tree
Hide file tree
Showing 22 changed files with 0 additions and 33 deletions.
2 changes: 0 additions & 2 deletions v1.0/system_alerts.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,13 @@
"station_ids": {
"description": "Array of identifiers of the stations for which this alert applies.",
"type": "array",
"uniqueItems": true,
"items": {
"type": "string"
}
},
"region_ids": {
"description": "Array of identifiers of the regions for which this alert applies.",
"type": "array",
"uniqueItems": true,
"items": {
"type": "string"
}
Expand Down
2 changes: 0 additions & 2 deletions v1.1/system_alerts.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@
"description":
"Array of identifiers of the stations for which this alert applies.",
"type": "array",
"uniqueItems": true,
"items": {
"type": "string"
}
Expand All @@ -80,7 +79,6 @@
"description":
"Array of identifiers of the regions for which this alert applies.",
"type": "array",
"uniqueItems": true,
"items": {
"type": "string"
}
Expand Down
2 changes: 0 additions & 2 deletions v2.0/system_alerts.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@
"description":
"Array of identifiers of the stations for which this alert applies.",
"type": "array",
"uniqueItems": true,
"items": {
"type": "string"
}
Expand All @@ -80,7 +79,6 @@
"description":
"Array of identifiers of the regions for which this alert applies.",
"type": "array",
"uniqueItems": true,
"items": {
"type": "string"
}
Expand Down
1 change: 0 additions & 1 deletion v2.1/geofencing_zones.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
"properties": {
"vehicle_type_id": {
"type": "array",
"uniqueItems": true,
"description":
"Array of vehicle type IDs for which these restrictions apply.",
"items": { "type": "string" }
Expand Down
1 change: 0 additions & 1 deletion v2.1/station_status.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@
"description":
"An array of strings where each string represents a vehicle_type_id that is able to use a particular type of dock at the station (added in v2.1-RC).",
"type": "array",
"uniqueItems": true,
"items": {
"type": "string"
}
Expand Down
2 changes: 0 additions & 2 deletions v2.1/system_alerts.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@
"description":
"Array of identifiers of the stations for which this alert applies.",
"type": "array",
"uniqueItems": true,
"items": {
"type": "string"
}
Expand All @@ -80,7 +79,6 @@
"description":
"Array of identifiers of the regions for which this alert applies.",
"type": "array",
"uniqueItems": true,
"items": {
"type": "string"
}
Expand Down
1 change: 0 additions & 1 deletion v2.2/geofencing_zones.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
"properties": {
"vehicle_type_id": {
"type": "array",
"uniqueItems": true,
"description":
"Array of vehicle type IDs for which these restrictions apply.",
"items": { "type": "string" }
Expand Down
1 change: 0 additions & 1 deletion v2.2/station_status.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@
"description":
"An array of strings where each string represents a vehicle_type_id that is able to use a particular type of dock at the station (added in v2.1-RC).",
"type": "array",
"uniqueItems": true,
"items": {
"type": "string"
}
Expand Down
2 changes: 0 additions & 2 deletions v2.2/system_alerts.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@
"description":
"Array of identifiers of the stations for which this alert applies.",
"type": "array",
"uniqueItems": true,
"items": {
"type": "string"
}
Expand All @@ -80,7 +79,6 @@
"description":
"Array of identifiers of the regions for which this alert applies.",
"type": "array",
"uniqueItems": true,
"items": {
"type": "string"
}
Expand Down
1 change: 0 additions & 1 deletion v2.3/geofencing_zones.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@
"properties": {
"vehicle_type_id": {
"type": "array",
"uniqueItems": true,
"description": "Array of vehicle type IDs for which these restrictions apply.",
"items": { "type": "string" }
},
Expand Down
1 change: 0 additions & 1 deletion v2.3/station_status.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@
"description":
"An array of strings where each string represents a vehicle_type_id that is able to use a particular type of dock at the station (added in v2.1-RC).",
"type": "array",
"uniqueItems": true,
"items": {
"type": "string"
}
Expand Down
2 changes: 0 additions & 2 deletions v2.3/system_alerts.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@
"description":
"Array of identifiers of the stations for which this alert applies.",
"type": "array",
"uniqueItems": true,
"items": {
"type": "string"
}
Expand All @@ -80,7 +79,6 @@
"description":
"Array of identifiers of the regions for which this alert applies.",
"type": "array",
"uniqueItems": true,
"items": {
"type": "string"
}
Expand Down
1 change: 0 additions & 1 deletion v2.3/vehicle_types.json
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,6 @@
"pricing_plan_ids": {
"description": "Array of all pricing plan IDs as defined in system_pricing_plans.json added in v2.3-RC.",
"type": "array",
"uniqueItems": true,
"items": {
"type": "string"
}
Expand Down
2 changes: 0 additions & 2 deletions v3.0-RC/geofencing_zones.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@
"properties": {
"vehicle_type_id": {
"type": "array",
"uniqueItems": true,
"description": "Array of vehicle type IDs for which these restrictions apply.",
"items": { "type": "string" }
},
Expand Down Expand Up @@ -168,7 +167,6 @@
"properties": {
"vehicle_type_id": {
"type": "array",
"uniqueItems": true,
"description": "Array of vehicle type IDs for which these restrictions apply.",
"items": { "type": "string" }
},
Expand Down
1 change: 0 additions & 1 deletion v3.0-RC/station_status.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@
"description":
"An array of strings where each string represents a vehicle_type_id that is able to use a particular type of dock at the station (added in v2.1-RC).",
"type": "array",
"uniqueItems": true,
"items": {
"type": "string"
}
Expand Down
2 changes: 0 additions & 2 deletions v3.0-RC/system_alerts.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@
"description":
"Array of identifiers of the stations for which this alert applies.",
"type": "array",
"uniqueItems": true,
"items": {
"type": "string"
}
Expand All @@ -83,7 +82,6 @@
"description":
"Array of identifiers of the regions for which this alert applies.",
"type": "array",
"uniqueItems": true,
"items": {
"type": "string"
}
Expand Down
1 change: 0 additions & 1 deletion v3.0-RC/vehicle_types.json
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,6 @@
"pricing_plan_ids": {
"description": "Array of all pricing plan IDs as defined in system_pricing_plans.json added in v2.3-RC.",
"type": "array",
"uniqueItems": true,
"items": {
"type": "string"
}
Expand Down
2 changes: 0 additions & 2 deletions v3.0-RC2/geofencing_zones.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@
"properties": {
"vehicle_type_ids": {
"type": "array",
"uniqueItems": true,
"description": "Array of vehicle type IDs for which these restrictions apply.",
"items": { "type": "string" }
},
Expand Down Expand Up @@ -163,7 +162,6 @@
"properties": {
"vehicle_type_ids": {
"type": "array",
"uniqueItems": true,
"description": "Array of vehicle type IDs for which these restrictions apply.",
"items": { "type": "string" }
},
Expand Down
2 changes: 0 additions & 2 deletions v3.0-RC2/station_information.json
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,6 @@
"vehicle_type_ids": {
"description": "The vehicle_type_ids, as defined in vehicle_types.json, that may park at the virtual station.",
"type": "array",
"uniqueItems": true,
"items": {
"type": "string"
}
Expand All @@ -223,7 +222,6 @@
"vehicle_type_ids": {
"description": "An array of strings where each string represents a vehicle_type_id that is able to use a particular type of dock at the station.",
"type": "array",
"uniqueItems": true,
"items": {
"type": "string"
}
Expand Down
1 change: 0 additions & 1 deletion v3.0-RC2/station_status.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@
"description":
"An array of strings where each string represents a vehicle_type_id that is able to use a particular type of dock at the station (added in v2.1-RC).",
"type": "array",
"uniqueItems": true,
"items": {
"type": "string"
}
Expand Down
2 changes: 0 additions & 2 deletions v3.0-RC2/system_alerts.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@
"description":
"Array of identifiers of the stations for which this alert applies.",
"type": "array",
"uniqueItems": true,
"items": {
"type": "string"
}
Expand All @@ -84,7 +83,6 @@
"description":
"Array of identifiers of the regions for which this alert applies.",
"type": "array",
"uniqueItems": true,
"items": {
"type": "string"
}
Expand Down
1 change: 0 additions & 1 deletion v3.0-RC2/vehicle_types.json
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,6 @@
"pricing_plan_ids": {
"description": "Array of all pricing plan IDs as defined in system_pricing_plans.json added in v2.3-RC.",
"type": "array",
"uniqueItems": true,
"items": {
"type": "string"
}
Expand Down

0 comments on commit 48f5812

Please sign in to comment.