Skip to content

Commit 287601d

Browse files
authored
feature: Support new dataset site (#187)
1 parent 8f9e5a8 commit 287601d

File tree

16 files changed

+292
-286
lines changed

16 files changed

+292
-286
lines changed

Examples/BookingSystem.AspNetCore/BookingSystem.AspNetCore.csproj

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,8 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<PackageReference Include="Microsoft.AspNetCore.App">
10-
<PrivateAssets Condition="'%(PackageReference.Version)' == ''">all</PrivateAssets>
11-
<Publish Condition="'%(PackageReference.Version)' == ''">true</Publish>
12-
</PackageReference>
139
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="2.1.2" />
14-
<PackageReference Include="OpenActive.NET" Version="15.2.11" />
10+
<PackageReference Include="OpenActive.NET" Version="15.2.17" />
1511
</ItemGroup>
1612

1713
<ItemGroup>

Examples/BookingSystem.AspNetCore/Feeds/FacilitiesFeeds.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,12 +104,12 @@ protected override async Task<List<RpdeItem<FacilityUse>>> GetRpdeItems(long? af
104104
}
105105
},
106106
Url = new Uri("https://www.example.com/a-session-age"),
107-
Activity = new List<Concept> {
107+
FacilityType = new List<Concept> {
108108
new Concept
109109
{
110-
Id = new Uri("https://openactive.io/activity-list#c07d63a0-8eb9-4602-8bcc-23be6deb8f83"),
111-
PrefLabel = "Jet Skiing",
112-
InScheme = new Uri("https://openactive.io/activity-list")
110+
Id = new Uri("https://openactive.io/facility-types#a1f82b7a-1258-4d9a-8dc5-bfc2ae961651"),
111+
PrefLabel = "Squash Court",
112+
InScheme = new Uri("https://openactive.io/facility-types")
113113
}
114114
}
115115
}

Examples/BookingSystem.AspNetCore/Settings/EngineConfig.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ public static StoreBookingEngine CreateStoreBookingEngine(AppSettings appSetting
164164
{
165165
// QUESTION: Do the Base URLs need to come from config, or should they be detected from the request?
166166
OpenDataFeedBaseUrl = $"{appSettings.ApplicationHostBaseUrl}/feeds".ParseUrlOrNull(),
167-
OpenBookingAPIAuthenticationAuthority = appSettings.FeatureFlags.EnableTokenAuth ? appSettings.OpenIdIssuerUrl.ParseUrlOrNull() : null,
167+
OpenBookingAPIAuthenticationAuthorityUrl = appSettings.FeatureFlags.EnableTokenAuth ? appSettings.OpenIdIssuerUrl.ParseUrlOrNull() : null,
168168
DatasetSiteUrl = $"{appSettings.ApplicationHostBaseUrl}/openactive/".ParseUrlOrNull(),
169169
DatasetDiscussionUrl = "https://github.com/openactive/OpenActive.Server.NET/issues".ParseUrlOrNull(),
170170
DatasetDocumentationUrl = "https://developer.openactive.io/".ParseUrlOrNull(),

Examples/BookingSystem.AspNetCore/Stores/FacilityStore.cs

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -346,15 +346,14 @@ protected override async Task GetOrderItems(List<OrderItemContext<FacilityOpport
346346
Longitude = facility.LocationLng,
347347
}
348348
},
349-
Activity = new List<Concept>
350-
{
351-
new Concept
352-
{
353-
Id = new Uri("https://openactive.io/activity-list#6bdea630-ad22-4e58-98a3-bca26ee3f1da"),
354-
PrefLabel = "Rave Fitness",
355-
InScheme = new Uri("https://openactive.io/activity-list")
356-
}
357-
},
349+
FacilityType = new List<Concept> {
350+
new Concept
351+
{
352+
Id = new Uri("https://openactive.io/facility-types#a1f82b7a-1258-4d9a-8dc5-bfc2ae961651"),
353+
PrefLabel = "Squash Court",
354+
InScheme = new Uri("https://openactive.io/facility-types")
355+
}
356+
}
358357
},
359358
StartDate = (DateTimeOffset)slot.Start,
360359
EndDate = (DateTimeOffset)slot.End,
Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<!--
33
Note: Add entries to the App.config file for configuration settings
44
that apply only to the Test project.
@@ -14,81 +14,81 @@
1414
<runtime>
1515
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
1616
<dependentAssembly>
17-
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
18-
<bindingRedirect oldVersion="0.0.0.0-11.0.0.0" newVersion="11.0.0.0" />
17+
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral"/>
18+
<bindingRedirect oldVersion="0.0.0.0-11.0.0.0" newVersion="11.0.0.0"/>
1919
</dependentAssembly>
2020
<dependentAssembly>
21-
<assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" />
22-
<bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930" />
21+
<assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral"/>
22+
<bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930"/>
2323
</dependentAssembly>
2424
<dependentAssembly>
25-
<assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" culture="neutral" />
26-
<bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2" />
25+
<assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" culture="neutral"/>
26+
<bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2"/>
2727
</dependentAssembly>
2828
<dependentAssembly>
29-
<assemblyIdentity name="Microsoft.Owin" publicKeyToken="31bf3856ad364e35" culture="neutral" />
30-
<bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
29+
<assemblyIdentity name="Microsoft.Owin" publicKeyToken="31bf3856ad364e35" culture="neutral"/>
30+
<bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0"/>
3131
</dependentAssembly>
3232
<dependentAssembly>
33-
<assemblyIdentity name="Microsoft.Owin.Security.OAuth" publicKeyToken="31bf3856ad364e35" culture="neutral" />
34-
<bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
33+
<assemblyIdentity name="Microsoft.Owin.Security.OAuth" publicKeyToken="31bf3856ad364e35" culture="neutral"/>
34+
<bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0"/>
3535
</dependentAssembly>
3636
<dependentAssembly>
37-
<assemblyIdentity name="Microsoft.Owin.Security" publicKeyToken="31bf3856ad364e35" culture="neutral" />
38-
<bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
37+
<assemblyIdentity name="Microsoft.Owin.Security" publicKeyToken="31bf3856ad364e35" culture="neutral"/>
38+
<bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0"/>
3939
</dependentAssembly>
4040
<dependentAssembly>
41-
<assemblyIdentity name="Microsoft.IdentityModel.Logging" publicKeyToken="31bf3856ad364e35" culture="neutral" />
42-
<bindingRedirect oldVersion="0.0.0.0-5.2.4.0" newVersion="5.2.4.0" />
41+
<assemblyIdentity name="Microsoft.IdentityModel.Logging" publicKeyToken="31bf3856ad364e35" culture="neutral"/>
42+
<bindingRedirect oldVersion="0.0.0.0-5.2.4.0" newVersion="5.2.4.0"/>
4343
</dependentAssembly>
4444
<dependentAssembly>
45-
<assemblyIdentity name="Microsoft.IdentityModel.Tokens" publicKeyToken="31bf3856ad364e35" culture="neutral" />
46-
<bindingRedirect oldVersion="0.0.0.0-5.2.4.0" newVersion="5.2.4.0" />
45+
<assemblyIdentity name="Microsoft.IdentityModel.Tokens" publicKeyToken="31bf3856ad364e35" culture="neutral"/>
46+
<bindingRedirect oldVersion="0.0.0.0-5.2.4.0" newVersion="5.2.4.0"/>
4747
</dependentAssembly>
4848
<dependentAssembly>
49-
<assemblyIdentity name="System.IdentityModel.Tokens.Jwt" publicKeyToken="31bf3856ad364e35" culture="neutral" />
50-
<bindingRedirect oldVersion="0.0.0.0-5.2.4.0" newVersion="5.2.4.0" />
49+
<assemblyIdentity name="System.IdentityModel.Tokens.Jwt" publicKeyToken="31bf3856ad364e35" culture="neutral"/>
50+
<bindingRedirect oldVersion="0.0.0.0-5.2.4.0" newVersion="5.2.4.0"/>
5151
</dependentAssembly>
5252
<dependentAssembly>
53-
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
54-
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
53+
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral"/>
54+
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0"/>
5555
</dependentAssembly>
5656
<dependentAssembly>
57-
<assemblyIdentity name="Microsoft.Extensions.DependencyInjection.Abstractions" publicKeyToken="adb9793829ddae60" culture="neutral" />
58-
<bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
57+
<assemblyIdentity name="Microsoft.Extensions.DependencyInjection.Abstractions" publicKeyToken="adb9793829ddae60" culture="neutral"/>
58+
<bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0"/>
5959
</dependentAssembly>
6060
<dependentAssembly>
61-
<assemblyIdentity name="Microsoft.IdentityModel.Protocols.OpenIdConnect" publicKeyToken="31bf3856ad364e35" culture="neutral" />
62-
<bindingRedirect oldVersion="0.0.0.0-5.2.1.0" newVersion="5.2.1.0" />
61+
<assemblyIdentity name="Microsoft.IdentityModel.Protocols.OpenIdConnect" publicKeyToken="31bf3856ad364e35" culture="neutral"/>
62+
<bindingRedirect oldVersion="0.0.0.0-5.2.1.0" newVersion="5.2.1.0"/>
6363
</dependentAssembly>
6464
<dependentAssembly>
65-
<assemblyIdentity name="Microsoft.IdentityModel.Protocols" publicKeyToken="31bf3856ad364e35" culture="neutral" />
66-
<bindingRedirect oldVersion="0.0.0.0-5.2.1.0" newVersion="5.2.1.0" />
65+
<assemblyIdentity name="Microsoft.IdentityModel.Protocols" publicKeyToken="31bf3856ad364e35" culture="neutral"/>
66+
<bindingRedirect oldVersion="0.0.0.0-5.2.1.0" newVersion="5.2.1.0"/>
6767
</dependentAssembly>
6868
<dependentAssembly>
69-
<assemblyIdentity name="System.Security.Cryptography.Cng" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
70-
<bindingRedirect oldVersion="0.0.0.0-4.3.1.0" newVersion="4.3.1.0" />
69+
<assemblyIdentity name="System.Security.Cryptography.Cng" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
70+
<bindingRedirect oldVersion="0.0.0.0-4.3.1.0" newVersion="4.3.1.0"/>
7171
</dependentAssembly>
7272
<dependentAssembly>
73-
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
74-
<bindingRedirect oldVersion="0.0.0.0-4.0.1.1" newVersion="4.0.1.1" />
73+
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral"/>
74+
<bindingRedirect oldVersion="0.0.0.0-4.0.1.1" newVersion="4.0.1.1"/>
7575
</dependentAssembly>
7676
<dependentAssembly>
77-
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
78-
<bindingRedirect oldVersion="0.0.0.0-4.0.4.1" newVersion="4.0.4.1" />
77+
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
78+
<bindingRedirect oldVersion="0.0.0.0-4.0.4.1" newVersion="4.0.4.1"/>
7979
</dependentAssembly>
8080
<dependentAssembly>
81-
<assemblyIdentity name="Schema.NET" publicKeyToken="fc5550082a9c642c" culture="neutral" />
82-
<bindingRedirect oldVersion="0.0.0.0-7.0.1.0" newVersion="7.0.1.0" />
81+
<assemblyIdentity name="Schema.NET" publicKeyToken="fc5550082a9c642c" culture="neutral"/>
82+
<bindingRedirect oldVersion="0.0.0.0-7.0.1.0" newVersion="7.0.1.0"/>
8383
</dependentAssembly>
8484
<dependentAssembly>
85-
<assemblyIdentity name="System.Threading.Tasks.Extensions" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
86-
<bindingRedirect oldVersion="0.0.0.0-4.2.0.1" newVersion="4.2.0.1" />
85+
<assemblyIdentity name="System.Threading.Tasks.Extensions" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral"/>
86+
<bindingRedirect oldVersion="0.0.0.0-4.2.0.1" newVersion="4.2.0.1"/>
8787
</dependentAssembly>
8888
<dependentAssembly>
89-
<assemblyIdentity name="System.ComponentModel.Annotations" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
90-
<bindingRedirect oldVersion="0.0.0.0-4.2.1.0" newVersion="4.2.1.0" />
89+
<assemblyIdentity name="System.ComponentModel.Annotations" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
90+
<bindingRedirect oldVersion="0.0.0.0-4.2.1.0" newVersion="4.2.1.0"/>
9191
</dependentAssembly>
9292
</assemblyBinding>
9393
</runtime>
94-
</configuration>
94+
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2"/></startup></configuration>

Examples/BookingSystem.AspNetFramework.Tests/BookingSystem.AspNetFramework.Tests.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@
1111
<AppDesignerFolder>Properties</AppDesignerFolder>
1212
<RootNamespace>BookingSystem.AspNetFramework.Tests</RootNamespace>
1313
<AssemblyName>BookingSystem.AspNetFramework.Tests</AssemblyName>
14-
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
14+
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
1515
<FileAlignment>512</FileAlignment>
1616
<ProjectTypeGuids>{3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
1717
<NuGetPackageImportStamp>
1818
</NuGetPackageImportStamp>
19+
<TargetFrameworkProfile />
1920
</PropertyGroup>
2021
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
2122
<DebugSymbols>true</DebugSymbols>

Examples/BookingSystem.AspNetFramework/BookingSystem.AspNetFramework.csproj

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<AppDesignerFolder>Properties</AppDesignerFolder>
1515
<RootNamespace>BookingSystem.AspNetFramework</RootNamespace>
1616
<AssemblyName>BookingSystem.AspNetFramework</AssemblyName>
17-
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
17+
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
1818
<MvcBuildViews>false</MvcBuildViews>
1919
<UseIISExpress>true</UseIISExpress>
2020
<Use64BitIISExpress />
@@ -26,6 +26,7 @@
2626
<NuGetPackageImportStamp>
2727
</NuGetPackageImportStamp>
2828
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
29+
<TargetFrameworkProfile />
2930
</PropertyGroup>
3031
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
3132
<DebugSymbols>true</DebugSymbols>
@@ -192,11 +193,11 @@
192193
<Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
193194
<HintPath>..\..\packages\Newtonsoft.Json.12.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
194195
</Reference>
195-
<Reference Include="OpenActive.DatasetSite.NET, Version=4.2.0.0, Culture=neutral, processorArchitecture=MSIL">
196-
<HintPath>..\..\packages\OpenActive.DatasetSite.NET.4.2.0\lib\net45\OpenActive.DatasetSite.NET.dll</HintPath>
196+
<Reference Include="OpenActive.DatasetSite.NET, Version=6.0.0.0, Culture=neutral, processorArchitecture=MSIL">
197+
<HintPath>..\..\packages\OpenActive.DatasetSite.NET.6.0.2\lib\netstandard2.0\OpenActive.DatasetSite.NET.dll</HintPath>
197198
</Reference>
198199
<Reference Include="OpenActive.NET, Version=15.2.0.0, Culture=neutral, processorArchitecture=MSIL">
199-
<HintPath>..\..\packages\OpenActive.NET.15.2.11\lib\netstandard2.0\OpenActive.NET.dll</HintPath>
200+
<HintPath>..\..\packages\OpenActive.NET.15.2.17\lib\netstandard2.0\OpenActive.NET.dll</HintPath>
200201
</Reference>
201202
<Reference Include="Schema.NET, Version=7.0.1.0, Culture=neutral, PublicKeyToken=fc5550082a9c642c, processorArchitecture=MSIL">
202203
<HintPath>..\..\packages\Schema.NET.7.0.1\lib\net461\Schema.NET.dll</HintPath>
@@ -216,11 +217,11 @@
216217
<Reference Include="ServiceStack.Text, Version=5.0.0.0, Culture=neutral, processorArchitecture=MSIL">
217218
<HintPath>..\..\packages\ServiceStack.Text.Core.5.11.0\lib\netstandard2.0\ServiceStack.Text.dll</HintPath>
218219
</Reference>
219-
<Reference Include="Stubble.Core, Version=1.7.0.0, Culture=neutral, processorArchitecture=MSIL">
220-
<HintPath>..\..\packages\Stubble.Core.1.7.2\lib\net45\Stubble.Core.dll</HintPath>
220+
<Reference Include="Stubble.Core, Version=1.9.0.0, Culture=neutral, processorArchitecture=MSIL">
221+
<HintPath>..\..\packages\Stubble.Core.1.9.3\lib\net45\Stubble.Core.dll</HintPath>
221222
</Reference>
222-
<Reference Include="Stubble.Extensions.JsonNet, Version=1.3.0.0, Culture=neutral, processorArchitecture=MSIL">
223-
<HintPath>..\..\packages\Stubble.Extensions.JsonNet.Net45.1.3.3\lib\net45\Stubble.Extensions.JsonNet.dll</HintPath>
223+
<Reference Include="Stubble.Extensions.JsonNet, Version=1.2.0.0, Culture=neutral, processorArchitecture=MSIL">
224+
<HintPath>..\..\packages\Stubble.Extensions.JsonNet.1.2.3\lib\netstandard2.0\Stubble.Extensions.JsonNet.dll</HintPath>
224225
</Reference>
225226
<Reference Include="System" />
226227
<Reference Include="System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
@@ -246,6 +247,7 @@
246247
<HintPath>..\..\packages\System.Data.Common.4.3.0\lib\net451\System.Data.Common.dll</HintPath>
247248
<Private>True</Private>
248249
</Reference>
250+
<Reference Include="System.Data.DataSetExtensions" />
249251
<Reference Include="System.Data.OracleClient" />
250252
<Reference Include="System.Data.SQLite, Version=1.0.113.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=MSIL">
251253
<HintPath>..\..\packages\Stub.System.Data.SQLite.Core.NetFramework.1.0.113.3\lib\net46\System.Data.SQLite.dll</HintPath>
@@ -304,12 +306,11 @@
304306
<Reference Include="System.ValueTuple, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
305307
<HintPath>..\..\packages\System.ValueTuple.4.5.0\lib\net461\System.ValueTuple.dll</HintPath>
306308
</Reference>
309+
<Reference Include="System.Web.DynamicData" />
307310
<Reference Include="System.Web.Entity" />
308311
<Reference Include="System.Web.ApplicationServices" />
309312
<Reference Include="System.ComponentModel.DataAnnotations" />
310-
<Reference Include="System.Core" />
311-
<Reference Include="System.Data.DataSetExtensions" />
312-
<Reference Include="System.Xml.Linq" />
313+
<Reference Include="System.Web.Extensions" />
313314
<Reference Include="System.Web" />
314315
<Reference Include="System.Web.Abstractions" />
315316
<Reference Include="System.Web.Routing" />
@@ -360,6 +361,7 @@
360361
<Private>True</Private>
361362
<HintPath>..\..\packages\Microsoft.AspNet.WebPages.3.2.7\lib\net45\System.Web.WebPages.Razor.dll</HintPath>
362363
</Reference>
364+
<Reference Include="System.Xml.Linq" />
363365
<Reference Include="System.Xml.XmlDocument, Version=4.0.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
364366
<HintPath>..\..\packages\System.Xml.XmlDocument.4.3.0\lib\net46\System.Xml.XmlDocument.dll</HintPath>
365367
<Private>True</Private>

Examples/BookingSystem.AspNetFramework/Feeds/FacilitiesFeeds.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,12 +104,12 @@ protected override async Task<List<RpdeItem<FacilityUse>>> GetRpdeItems(long? af
104104
}
105105
},
106106
Url = new Uri("https://www.example.com/a-session-age"),
107-
Activity = new List<Concept> {
107+
FacilityType = new List<Concept> {
108108
new Concept
109109
{
110-
Id = new Uri("https://openactive.io/activity-list#c07d63a0-8eb9-4602-8bcc-23be6deb8f83"),
111-
PrefLabel = "Jet Skiing",
112-
InScheme = new Uri("https://openactive.io/activity-list")
110+
Id = new Uri("https://openactive.io/facility-types#a1f82b7a-1258-4d9a-8dc5-bfc2ae961651"),
111+
PrefLabel = "Squash Court",
112+
InScheme = new Uri("https://openactive.io/facility-types")
113113
}
114114
}
115115
}

0 commit comments

Comments
 (0)