Skip to content

Commit

Permalink
fix: Fix discrepancies in some Test Interface Action descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
lukehesluke committed Mar 20, 2024
1 parent 4bd1810 commit 4158acc
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions test-interface.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@
"@id": "test:ChangeOfLogisticsTimeSimulateAction",
"@type": "Class",
"label": "ChangeOfLogisticsTimeSimulateAction",
"comment": "Simulate changing the time of an Opportunity after a customer has already booked it ([spec](https://openactive.io/open-booking-api/EditorsDraft/#change-of-logistics-notifications), with the opportunity data in the Orders as defined in [issue #198](https://github.com/openactive/open-booking-api/issues/198)). Expectations: A booked Opportunity's `startDate`, `endDate`, or `duration` changes to a new value; and the Order is updated in the booking system's [Orders RPDE feed](https://openactive.io/open-booking-api/EditorsDraft/#orders-feed-notifications-updates-and-refunds), with the modified opportunity data included.",
"comment": "Simulate changing the time of an Opportunity after a customer has already booked it ([spec](https://openactive.io/open-booking-api/EditorsDraft/#change-of-logistics-notifications), with the opportunity data in the Orders RPDE feed as defined in [issue #198](https://github.com/openactive/open-booking-api/issues/198)). Expectations: A booked Opportunity's `startDate`, `endDate`, or `duration` changes to a new value; and the Order is updated in the booking system's [Orders RPDE feed](https://openactive.io/open-booking-api/EditorsDraft/#orders-feed-notifications-updates-and-refunds), with the modified opportunity data included.",
"subClassOf": [
"test:OpenBookingSimulateAction"
]
Expand All @@ -294,7 +294,7 @@
"@id": "test:ChangeOfLogisticsNameSimulateAction",
"@type": "Class",
"label": "ChangeOfLogisticsNameSimulateAction",
"comment": "Simulate changing the name of an Opportunity after a customer has already booked it ([spec](https://openactive.io/open-booking-api/EditorsDraft/#change-of-logistics-notifications), with the opportunity data in the Orders as defined in [issue #198](https://github.com/openactive/open-booking-api/issues/198)). Expectations: A booked Opportunity's `name` changes to a new value; and the Order is updated in the booking system's [Orders RPDE feed](https://openactive.io/open-booking-api/EditorsDraft/#orders-feed-notifications-updates-and-refunds), with the modified opportunity data included.",
"comment": "Simulate changing the name of an Opportunity after a customer has already booked it ([spec](https://openactive.io/open-booking-api/EditorsDraft/#change-of-logistics-notifications), with the opportunity data in the Orders RPDE feed as defined in [issue #198](https://github.com/openactive/open-booking-api/issues/198)). Expectations: A booked Opportunity's `name` changes to a new value; and the Order is updated in the booking system's [Orders RPDE feed](https://openactive.io/open-booking-api/EditorsDraft/#orders-feed-notifications-updates-and-refunds), with the modified opportunity data included.",
"subClassOf": [
"test:OpenBookingSimulateAction"
]
Expand All @@ -303,7 +303,7 @@
"@id": "test:ChangeOfLogisticsLocationSimulateAction",
"@type": "Class",
"label": "ChangeOfLogisticsLocationSimulateAction",
"comment": "Simulate changing the location of an Opportunity after a customer has already booked it ([spec](https://openactive.io/open-booking-api/EditorsDraft/#change-of-logistics-notifications), with the opportunity data in the Orders as defined in [issue #198](https://github.com/openactive/open-booking-api/issues/198)). Expectations: A booked Opportunity's `location` changes to a new value; and the Order is updated in the booking system's [Orders RPDE feed](https://openactive.io/open-booking-api/EditorsDraft/#orders-feed-notifications-updates-and-refunds), with the modified opportunity data included.",
"comment": "Simulate changing the location of an Opportunity after a customer has already booked it ([spec](https://openactive.io/open-booking-api/EditorsDraft/#change-of-logistics-notifications), with the opportunity data in the Orders RPDE feed as defined in [issue #198](https://github.com/openactive/open-booking-api/issues/198)). Expectations: A booked Opportunity's `location` changes to a new value; and the Order is updated in the booking system's [Orders RPDE feed](https://openactive.io/open-booking-api/EditorsDraft/#orders-feed-notifications-updates-and-refunds), with the modified opportunity data included.",
"subClassOf": [
"test:OpenBookingSimulateAction"
]
Expand All @@ -312,7 +312,7 @@
"@id": "test:AttendeeAttendedSimulateAction",
"@type": "Class",
"label": "AttendeeAttendedSimulateAction",
"comment": "Simulate confirming a customer as not having attended the activity that they booked ([spec](https://openactive.io/open-booking-api/EditorsDraft/#opportunity-attendance-updates), with updated status values as defined in [issue #199](https://github.com/openactive/open-booking-api/issues/199)). Expectations: An OrderItem's `orderItemStatus` changes to `https://openactive.io/AttendeeAttended`; and the Order is updated in the booking system's [Orders RPDE feed](https://openactive.io/open-booking-api/EditorsDraft/#orders-feed-notifications-updates-and-refunds).",
"comment": "Simulate confirming a customer as having attended the activity that they booked ([spec](https://openactive.io/open-booking-api/EditorsDraft/#opportunity-attendance-updates), with updated status values as defined in [issue #199](https://github.com/openactive/open-booking-api/issues/199)). Expectations: An OrderItem's `orderItemStatus` changes to `https://openactive.io/AttendeeAttended`; and the Order is updated in the booking system's [Orders RPDE feed](https://openactive.io/open-booking-api/EditorsDraft/#orders-feed-notifications-updates-and-refunds).",
"subClassOf": [
"test:OpenBookingSimulateAction"
]
Expand Down Expand Up @@ -348,7 +348,7 @@
"@id": "test:SellerAcceptOrderProposalSimulateAction",
"@type": "Class",
"label": "SellerAcceptOrderProposalSimulateAction",
"comment": "Simulate the seller approving a customer's [OrderProposal](https://openactive.io/open-booking-api/EditorsDraft/#minimal-proposal-implementation) ([spec](https://openactive.io/open-booking-api/EditorsDraft/#proposal-amendment), with the Order Proposals RPDE feed as defined in [issue #197](https://github.com/openactive/open-booking-api/issues/197)). Expectations: It should now be possible to complete the booking with **[B](https://openactive.io/open-booking-api/EditorsDraft/#dfn-b)**; the OrderProposal's `orderProposalStatus` is set to `https://openactive.io/SellerAccepted`; and the OrderProposal is updated in the booking system's [Order Proposals RPDE feed](https://github.com/openactive/open-booking-api/issues/197).",
"comment": "Simulate the seller approving a customer's [OrderProposal](https://openactive.io/open-booking-api/EditorsDraft/#minimal-proposal-implementation) ([spec](https://openactive.io/open-booking-api/EditorsDraft/#proposal-approval), with the Order Proposals RPDE feed as defined in [issue #197](https://github.com/openactive/open-booking-api/issues/197)). Expectations: It should now be possible to complete the booking with **[B](https://openactive.io/open-booking-api/EditorsDraft/#dfn-b)**; the OrderProposal's `orderProposalStatus` is set to `https://openactive.io/SellerAccepted`; and the OrderProposal is updated in the booking system's [Order Proposals RPDE feed](https://github.com/openactive/open-booking-api/issues/197).",
"subClassOf": [
"test:OpenBookingSimulateAction"
]
Expand All @@ -357,7 +357,7 @@
"@id": "test:SellerAmendOrderProposalSimulateAction",
"@type": "Class",
"label": "SellerAmendOrderProposalSimulateAction",
"comment": "Simulate the seller amending a customer's [OrderProposal](https://openactive.io/open-booking-api/EditorsDraft/#minimal-proposal-implementation) ([spec](https://openactive.io/open-booking-api/EditorsDraft/#proposal-approval), with the Order Proposals RPDE feed as defined in [issue #197](https://github.com/openactive/open-booking-api/issues/197)). Expectations: The OrderProposal's `orderProposalVersion` is changed and later attempts to complete the booking with **[B](https://openactive.io/open-booking-api/EditorsDraft/#dfn-b)** will only succeed with this new `orderProposalVersion`; and the OrderProposal is updated in the booking system's [Order Proposals RPDE feed](https://github.com/openactive/open-booking-api/issues/197).",
"comment": "Simulate the seller amending a customer's [OrderProposal](https://openactive.io/open-booking-api/EditorsDraft/#minimal-proposal-implementation) ([spec](https://openactive.io/open-booking-api/EditorsDraft/#proposal-amendment), with the Order Proposals RPDE feed as defined in [issue #197](https://github.com/openactive/open-booking-api/issues/197)). Expectations: The OrderProposal's `orderProposalVersion` is changed and later attempts to complete the booking with **[B](https://openactive.io/open-booking-api/EditorsDraft/#dfn-b)** will only succeed with this new `orderProposalVersion`; and the OrderProposal is updated in the booking system's [Order Proposals RPDE feed](https://github.com/openactive/open-booking-api/issues/197).",
"subClassOf": [
"test:OpenBookingSimulateAction"
]
Expand All @@ -366,7 +366,7 @@
"@id": "test:SellerRejectOrderProposalSimulateAction",
"@type": "Class",
"label": "SellerRejectOrderProposalSimulateAction",
"comment": "Simulate the seller rejecting a customer's [OrderProposal](https://openactive.io/open-booking-api/EditorsDraft/#proposal-rejection) ([spec](https://openactive.io/open-booking-api/EditorsDraft/#proposal-approval), with the Order Proposals RPDE feed as defined in [issue #197](https://github.com/openactive/open-booking-api/issues/197)). Expectations: It should not be possible to complete the booking with **[B](https://openactive.io/open-booking-api/EditorsDraft/#dfn-b)**; the OrderProposal's `orderProposalStatus` is set to `https://openactive.io/SellerRejected`; and the OrderProposal is updated in the booking system's [Order Proposals RPDE feed](https://github.com/openactive/open-booking-api/issues/197).",
"comment": "Simulate the seller rejecting a customer's [OrderProposal](https://openactive.io/open-booking-api/EditorsDraft/#minimal-proposal-implementation) ([spec](https://openactive.io/open-booking-api/EditorsDraft/#proposal-rejection), with the Order Proposals RPDE feed as defined in [issue #197](https://github.com/openactive/open-booking-api/issues/197)). Expectations: It should not be possible to complete the booking with **[B](https://openactive.io/open-booking-api/EditorsDraft/#dfn-b)**; the OrderProposal's `orderProposalStatus` is set to `https://openactive.io/SellerRejected`; and the OrderProposal is updated in the booking system's [Order Proposals RPDE feed](https://github.com/openactive/open-booking-api/issues/197).",
"subClassOf": [
"test:OpenBookingSimulateAction"
]
Expand Down

0 comments on commit 4158acc

Please sign in to comment.