Skip to content

Commit

Permalink
refactor: rename accessibility_attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
thekaveman committed Apr 27, 2023
1 parent 202b3bb commit 39e50cd
Show file tree
Hide file tree
Showing 14 changed files with 22 additions and 22 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
title: modes/car-share/accessibility-options
title: modes/car-share/accessibility-attributes
description: Accessibility options definition for the `car-share` mode.
type: array

Expand Down
4 changes: 2 additions & 2 deletions models/modes/car-share/trip.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,6 @@ properties:
surcharge:
$ref: ../../data-types/currency-cost.yaml
description: Any surcharge pricing.
accessibility_options:
$ref: ./accessibility-options.yaml
accessibility_attributes:
$ref: ./accessibility-attributes.yaml
description: The accessibility options utilized for a given trip. Required if available.
4 changes: 2 additions & 2 deletions models/modes/car-share/vehicle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ x-stoplight:
id: ept949jym2d7l

properties:
accessibility_options:
$ref: ./accessibility-options.yaml
accessibility_attributes:
$ref: ./accessibility-attributes.yaml
description: The accessibility options available on a given vehicle. Required if available.
vehicle_attributes:
type: object
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
title: modes/delivery-robots/accessibility-options
title: modes/delivery-robots/accessibility-attributes
description: Accessibility options definition for the `delivery-robots` mode.
type: object

Expand Down
4 changes: 2 additions & 2 deletions models/modes/delivery-robots/trip.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,6 @@ properties:
- voucher
price:
$ref: ../../data-types/currency-cost.yaml
accessibility_options:
$ref: ./accessibility-options.yaml
accessibility_attributes:
$ref: ./accessibility-attributes.yaml
description: The accessibility options available on a given delivery robot device. Required if available.
4 changes: 2 additions & 2 deletions models/modes/delivery-robots/vehicle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ x-stoplight:
id: 01xpq0lxoywf6

properties:
accessibility_options:
$ref: ./accessibility-options.yaml
accessibility_attributes:
$ref: ./accessibility-attributes.yaml
description: The accessibility options available on a given delivery robot device. Required if available.
vehicle_attributes:
type: object
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
title: modes/micromobility/accessibility-options
title: modes/micromobility/accessibility-attributes
description: Accessibility options definition for the `micromobility` mode.
type: array

Expand Down
4 changes: 2 additions & 2 deletions models/modes/micromobility/trip.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ properties:
- rider
- rebalance
- maintenance
accessibility_options:
$ref: ./accessibility-options.yaml
accessibility_attributes:
$ref: ./accessibility-attributes.yaml
description: The accessibility options utilized for a given trip. Required if available.
4 changes: 2 additions & 2 deletions models/modes/micromobility/vehicle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ x-stoplight:
id: f0dry8u608trk

properties:
accessibility_options:
$ref: ./accessibility-options.yaml
accessibility_attributes:
$ref: ./accessibility-attributes.yaml
description: The accessibility options available on a given vehicle. Required if available.
vehicle_attributes:
type: object
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
title: modes/passenger-services/accessibility-options
title: modes/passenger-services/accessibility-attributes
description: Accessibility options definition for the `passenger-services` mode.
type: array

Expand Down
4 changes: 2 additions & 2 deletions models/modes/passenger-services/trip.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,6 @@ properties:
- disabled
- upfront_pricing
- promo_rate
accessibility_options:
$ref: ./accessibility-options.yaml
accessibility_attributes:
$ref: ./accessibility-attributes.yaml
description: The accessibility options utilized for a given trip. Required if available.
4 changes: 2 additions & 2 deletions models/modes/passenger-services/vehicle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ x-stoplight:
id: jlsmrsrzxthi6

properties:
accessibility_options:
$ref: ./accessibility-options.yaml
accessibility_attributes:
$ref: ./accessibility-attributes.yaml
description: The accessibility options available on a given vehicle. Required if available.
vehicle_attributes:
type: object
Expand Down
2 changes: 1 addition & 1 deletion models/trip.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ allOf:
publication_time:
$ref: ./data-types/timestamp.yaml
description: Date/time that trip became available through the trips endpoint.
accessibility_options:
accessibility_attributes:
type:
- array
- object
Expand Down
2 changes: 1 addition & 1 deletion models/vehicle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ allOf:
$ref: ./data-types/propulsion-type-array.yaml
description: The type of propulsion; allows multiple values.
minItems: 1
accessibility_options:
accessibility_attributes:
type:
- array
- object
Expand Down

0 comments on commit 39e50cd

Please sign in to comment.