From da892fe64c97a5bb56e2ec04c79f0f6bfdfffb10 Mon Sep 17 00:00:00 2001 From: openactive-bot Date: Thu, 22 Oct 2026 14:16:51 +0000 Subject: [PATCH] Update data models --- OpenActive.NET/enums/PropertyEnumeration.cs | 192 +++++++++++++++++- .../enums/TestOpenBookingFlowEnumeration.cs | 2 +- OpenActive.NET/models/BookingService.cs | 4 +- OpenActive.NET/models/CourseInstance.cs | 2 +- OpenActive.NET/models/Dataset.cs | 2 +- OpenActive.NET/models/Event.cs | 9 +- OpenActive.NET/models/EventSeries.cs | 2 +- OpenActive.NET/models/FacilityUse.cs | 2 +- OpenActive.NET/models/Organization.cs | 12 +- OpenActive.NET/models/PartialSchedule.cs | 2 +- OpenActive.NET/models/Person.cs | 6 +- OpenActive.NET/models/Place.cs | 45 +++- OpenActive.NET/models/Schedule.cs | 30 +-- OpenActive.NET/models/SessionSeries.cs | 2 +- OpenActive.NET/models/VirtualLocation.cs | 12 +- OpenActive.NET/models/WebAPI.cs | 12 +- 16 files changed, 278 insertions(+), 58 deletions(-) diff --git a/OpenActive.NET/enums/PropertyEnumeration.cs b/OpenActive.NET/enums/PropertyEnumeration.cs index 63a666a..4e63201 100644 --- a/OpenActive.NET/enums/PropertyEnumeration.cs +++ b/OpenActive.NET/enums/PropertyEnumeration.cs @@ -217,6 +217,8 @@ public enum PropertyEnumeration ActionOption, [EnumMember(Value = "https://schema.org/actionPlatform")] ActionPlatform, + [EnumMember(Value = "https://schema.org/actionProcess")] + ActionProcess, [EnumMember(Value = "https://schema.org/actionStatus")] ActionStatus, [EnumMember(Value = "https://schema.org/actionableFeedbackPolicy")] @@ -265,6 +267,10 @@ public enum PropertyEnumeration AfterMedia, [EnumMember(Value = "https://schema.org/agent")] Agent, + [EnumMember(Value = "https://schema.org/agentInteractionStatistic")] + AgentInteractionStatistic, + [EnumMember(Value = "https://schema.org/aggregateElement")] + AggregateElement, [EnumMember(Value = "https://schema.org/aggregateRating")] AggregateRating, [EnumMember(Value = "https://schema.org/aircraft")] @@ -377,6 +383,8 @@ public enum PropertyEnumeration Artist, [EnumMember(Value = "https://schema.org/artworkSurface")] ArtworkSurface, + [EnumMember(Value = "https://schema.org/asin")] + Asin, [EnumMember(Value = "https://schema.org/aspect")] Aspect, [EnumMember(Value = "https://schema.org/assembly")] @@ -413,10 +421,14 @@ public enum PropertyEnumeration AudienceType, [EnumMember(Value = "https://schema.org/audio")] Audio, + [EnumMember(Value = "https://schema.org/auditDate")] + AuditDate, [EnumMember(Value = "https://schema.org/authenticator")] Authenticator, [EnumMember(Value = "https://schema.org/author")] Author, + [EnumMember(Value = "https://schema.org/authorizedRepresentative")] + AuthorizedRepresentative, [EnumMember(Value = "https://schema.org/availability")] Availability, [EnumMember(Value = "https://schema.org/availabilityEnds")] @@ -603,10 +615,18 @@ public enum PropertyEnumeration CatalogNumber, [EnumMember(Value = "https://schema.org/category")] Category, + [EnumMember(Value = "https://schema.org/cause")] + Cause, [EnumMember(Value = "https://schema.org/causeOf")] CauseOf, [EnumMember(Value = "https://schema.org/ccRecipient")] CcRecipient, + [EnumMember(Value = "https://schema.org/certificationIdentification")] + CertificationIdentification, + [EnumMember(Value = "https://schema.org/certificationRating")] + CertificationRating, + [EnumMember(Value = "https://schema.org/certificationStatus")] + CertificationStatus, [EnumMember(Value = "https://schema.org/character")] Character, [EnumMember(Value = "https://schema.org/characterAttribute")] @@ -617,6 +637,8 @@ public enum PropertyEnumeration CheatCode, [EnumMember(Value = "https://schema.org/checkinTime")] CheckinTime, + [EnumMember(Value = "https://schema.org/checkoutPageURLTemplate")] + CheckoutPageURLTemplate, [EnumMember(Value = "https://schema.org/checkoutTime")] CheckoutTime, [EnumMember(Value = "https://schema.org/chemicalComposition")] @@ -671,6 +693,8 @@ public enum PropertyEnumeration CollectionSize, [EnumMember(Value = "https://schema.org/color")] Color, + [EnumMember(Value = "https://schema.org/colorSwatch")] + ColorSwatch, [EnumMember(Value = "https://schema.org/colorist")] Colorist, [EnumMember(Value = "https://schema.org/comment")] @@ -681,6 +705,8 @@ public enum PropertyEnumeration CommentText, [EnumMember(Value = "https://schema.org/commentTime")] CommentTime, + [EnumMember(Value = "https://schema.org/companyRegistration")] + CompanyRegistration, [EnumMember(Value = "https://schema.org/competencyRequired")] CompetencyRequired, [EnumMember(Value = "https://schema.org/competitor")] @@ -695,8 +721,10 @@ public enum PropertyEnumeration ConfirmationNumber, [EnumMember(Value = "https://schema.org/connectedTo")] ConnectedTo, - [EnumMember(Value = "https://schema.org/constrainingProperty")] - ConstrainingProperty, + [EnumMember(Value = "https://schema.org/constraintProperty")] + ConstraintProperty, + [EnumMember(Value = "https://schema.org/consumerNotice")] + ConsumerNotice, [EnumMember(Value = "https://schema.org/contactOption")] ContactOption, [EnumMember(Value = "https://schema.org/contactPoint")] @@ -771,6 +799,8 @@ public enum PropertyEnumeration CourseMode, [EnumMember(Value = "https://schema.org/coursePrerequisites")] CoursePrerequisites, + [EnumMember(Value = "https://schema.org/courseSchedule")] + CourseSchedule, [EnumMember(Value = "https://schema.org/courseWorkload")] CourseWorkload, [EnumMember(Value = "https://schema.org/coverageEndTime")] @@ -837,6 +867,8 @@ public enum PropertyEnumeration CvdNumVent, [EnumMember(Value = "https://schema.org/cvdNumVentUse")] CvdNumVentUse, + [EnumMember(Value = "https://schema.org/data")] + Data, [EnumMember(Value = "https://schema.org/dataFeedElement")] DataFeedElement, [EnumMember(Value = "https://schema.org/dataset")] @@ -919,6 +951,8 @@ public enum PropertyEnumeration DietFeatures, [EnumMember(Value = "https://schema.org/differentialDiagnosis")] DifferentialDiagnosis, + [EnumMember(Value = "https://schema.org/digitalSourceType")] + DigitalSourceType, [EnumMember(Value = "https://schema.org/directApply")] DirectApply, [EnumMember(Value = "https://schema.org/director")] @@ -941,6 +975,8 @@ public enum PropertyEnumeration DiseasePreventionInfo, [EnumMember(Value = "https://schema.org/diseaseSpreadStatistics")] DiseaseSpreadStatistics, + [EnumMember(Value = "https://schema.org/displayLocation")] + DisplayLocation, [EnumMember(Value = "https://schema.org/dissolutionDate")] DissolutionDate, [EnumMember(Value = "https://schema.org/distance")] @@ -1039,6 +1075,8 @@ public enum PropertyEnumeration EligibleRegion, [EnumMember(Value = "https://schema.org/eligibleTransactionVolume")] EligibleTransactionVolume, + [EnumMember(Value = "https://schema.org/eligibleWithSupplier")] + EligibleWithSupplier, [EnumMember(Value = "https://schema.org/email")] Email, [EnumMember(Value = "https://schema.org/embedUrl")] @@ -1103,6 +1141,8 @@ public enum PropertyEnumeration Equal, [EnumMember(Value = "https://schema.org/error")] Error, + [EnumMember(Value = "https://schema.org/errorCode")] + ErrorCode, [EnumMember(Value = "https://schema.org/estimatedCost")] EstimatedCost, [EnumMember(Value = "https://schema.org/estimatedFlightDuration")] @@ -1163,6 +1203,8 @@ public enum PropertyEnumeration Expires, [EnumMember(Value = "https://schema.org/expressedIn")] ExpressedIn, + [EnumMember(Value = "https://schema.org/extendedAddress")] + ExtendedAddress, [EnumMember(Value = "https://schema.org/familyName")] FamilyName, [EnumMember(Value = "https://schema.org/fatContent")] @@ -1231,6 +1273,8 @@ public enum PropertyEnumeration FuelEfficiency, [EnumMember(Value = "https://schema.org/fuelType")] FuelType, + [EnumMember(Value = "https://schema.org/fulfillmentType")] + FulfillmentType, [EnumMember(Value = "https://schema.org/functionalClass")] FunctionalClass, [EnumMember(Value = "https://schema.org/fundedItem")] @@ -1331,6 +1375,8 @@ public enum PropertyEnumeration HasBroadcastChannel, [EnumMember(Value = "https://schema.org/hasCategoryCode")] HasCategoryCode, + [EnumMember(Value = "https://schema.org/hasCertification")] + HasCertification, [EnumMember(Value = "https://schema.org/hasCourse")] HasCourse, [EnumMember(Value = "https://schema.org/hasCourseInstance")] @@ -1343,18 +1389,24 @@ public enum PropertyEnumeration HasDeliveryMethod, [EnumMember(Value = "https://schema.org/hasDigitalDocumentPermission")] HasDigitalDocumentPermission, + [EnumMember(Value = "https://schema.org/hasDigitalProductPassport")] + HasDigitalProductPassport, [EnumMember(Value = "https://schema.org/hasDriveThroughService")] HasDriveThroughService, [EnumMember(Value = "https://schema.org/hasEnergyConsumptionDetails")] HasEnergyConsumptionDetails, [EnumMember(Value = "https://schema.org/hasEnergyEfficiencyCategory")] HasEnergyEfficiencyCategory, + [EnumMember(Value = "https://schema.org/hasGS1DigitalLink")] + HasGS1DigitalLink, [EnumMember(Value = "https://schema.org/hasHealthAspect")] HasHealthAspect, [EnumMember(Value = "https://schema.org/hasMap")] HasMap, [EnumMember(Value = "https://schema.org/hasMeasurement")] HasMeasurement, + [EnumMember(Value = "https://schema.org/hasMemberProgram")] + HasMemberProgram, [EnumMember(Value = "https://schema.org/hasMenu")] HasMenu, [EnumMember(Value = "https://schema.org/hasMenuItem")] @@ -1373,8 +1425,24 @@ public enum PropertyEnumeration HasPOS, [EnumMember(Value = "https://schema.org/hasPart")] HasPart, + [EnumMember(Value = "https://schema.org/hasParticipationOffer")] + HasParticipationOffer, + [EnumMember(Value = "https://schema.org/hasProductReturnPolicy")] + HasProductReturnPolicy, [EnumMember(Value = "https://schema.org/hasRepresentation")] HasRepresentation, + [EnumMember(Value = "https://schema.org/hasShippingService")] + HasShippingService, + [EnumMember(Value = "https://schema.org/hasSponsorshipOffer")] + HasSponsorshipOffer, + [EnumMember(Value = "https://schema.org/hasStore")] + HasStore, + [EnumMember(Value = "https://schema.org/hasTierBenefit")] + HasTierBenefit, + [EnumMember(Value = "https://schema.org/hasTierRequirement")] + HasTierRequirement, + [EnumMember(Value = "https://schema.org/hasTiers")] + HasTiers, [EnumMember(Value = "https://schema.org/hasVariant")] HasVariant, [EnumMember(Value = "https://schema.org/headline")] @@ -1449,6 +1517,8 @@ public enum PropertyEnumeration Image, [EnumMember(Value = "https://schema.org/imagingTechnique")] ImagingTechnique, + [EnumMember(Value = "https://schema.org/importer")] + Importer, [EnumMember(Value = "https://schema.org/inAlbum")] InAlbum, [EnumMember(Value = "https://schema.org/inBroadcastLineup")] @@ -1471,10 +1541,18 @@ public enum PropertyEnumeration InStoreReturnsOffered, [EnumMember(Value = "https://schema.org/inSupportOf")] InSupportOf, + [EnumMember(Value = "https://schema.org/incentiveAmount")] + IncentiveAmount, [EnumMember(Value = "https://schema.org/incentiveCompensation")] IncentiveCompensation, + [EnumMember(Value = "https://schema.org/incentiveStatus")] + IncentiveStatus, + [EnumMember(Value = "https://schema.org/incentiveType")] + IncentiveType, [EnumMember(Value = "https://schema.org/incentives")] Incentives, + [EnumMember(Value = "https://schema.org/incentivizedItem")] + IncentivizedItem, [EnumMember(Value = "https://schema.org/includedComposition")] IncludedComposition, [EnumMember(Value = "https://schema.org/includedDataCatalog")] @@ -1493,6 +1571,8 @@ public enum PropertyEnumeration IncludesHealthPlanNetwork, [EnumMember(Value = "https://schema.org/includesObject")] IncludesObject, + [EnumMember(Value = "https://schema.org/incomeLimit")] + IncomeLimit, [EnumMember(Value = "https://schema.org/increasesRiskOf")] IncreasesRiskOf, [EnumMember(Value = "https://schema.org/industry")] @@ -1563,6 +1643,8 @@ public enum PropertyEnumeration IsLiveBroadcast, [EnumMember(Value = "https://schema.org/isLocatedInSubcellularLocation")] IsLocatedInSubcellularLocation, + [EnumMember(Value = "https://schema.org/isOftenBoughtWith")] + IsOftenBoughtWith, [EnumMember(Value = "https://schema.org/isPartOf")] IsPartOf, [EnumMember(Value = "https://schema.org/isPartOfBioChemEntity")] @@ -1577,6 +1659,10 @@ public enum PropertyEnumeration IsResizable, [EnumMember(Value = "https://schema.org/isSimilarTo")] IsSimilarTo, + [EnumMember(Value = "https://schema.org/isStoreOn")] + IsStoreOn, + [EnumMember(Value = "https://schema.org/isTierOf")] + IsTierOf, [EnumMember(Value = "https://schema.org/isUnlabelledFallback")] IsUnlabelledFallback, [EnumMember(Value = "https://schema.org/isVariantOf")] @@ -1617,6 +1703,8 @@ public enum PropertyEnumeration ItemLocation, [EnumMember(Value = "https://schema.org/itemOffered")] ItemOffered, + [EnumMember(Value = "https://schema.org/itemPopularity")] + ItemPopularity, [EnumMember(Value = "https://schema.org/itemReviewed")] ItemReviewed, [EnumMember(Value = "https://schema.org/itemShipped")] @@ -1627,6 +1715,8 @@ public enum PropertyEnumeration IupacName, [EnumMember(Value = "https://schema.org/jobBenefits")] JobBenefits, + [EnumMember(Value = "https://schema.org/jobDuration")] + JobDuration, [EnumMember(Value = "https://schema.org/jobImmediateStart")] JobImmediateStart, [EnumMember(Value = "https://schema.org/jobLocation")] @@ -1665,20 +1755,36 @@ public enum PropertyEnumeration LearningResourceType, [EnumMember(Value = "https://schema.org/leaseLength")] LeaseLength, + [EnumMember(Value = "https://schema.org/legalAddress")] + LegalAddress, [EnumMember(Value = "https://schema.org/legalName")] LegalName, + [EnumMember(Value = "https://schema.org/legalRepresentative")] + LegalRepresentative, [EnumMember(Value = "https://schema.org/legalStatus")] LegalStatus, + [EnumMember(Value = "https://schema.org/legislationAmends")] + LegislationAmends, [EnumMember(Value = "https://schema.org/legislationApplies")] LegislationApplies, [EnumMember(Value = "https://schema.org/legislationChanges")] LegislationChanges, + [EnumMember(Value = "https://schema.org/legislationCommences")] + LegislationCommences, [EnumMember(Value = "https://schema.org/legislationConsolidates")] LegislationConsolidates, + [EnumMember(Value = "https://schema.org/legislationCorrects")] + LegislationCorrects, + [EnumMember(Value = "https://schema.org/legislationCountersignedBy")] + LegislationCountersignedBy, [EnumMember(Value = "https://schema.org/legislationDate")] LegislationDate, + [EnumMember(Value = "https://schema.org/legislationDateOfApplicability")] + LegislationDateOfApplicability, [EnumMember(Value = "https://schema.org/legislationDateVersion")] LegislationDateVersion, + [EnumMember(Value = "https://schema.org/legislationEnsuresImplementationOf")] + LegislationEnsuresImplementationOf, [EnumMember(Value = "https://schema.org/legislationIdentifier")] LegislationIdentifier, [EnumMember(Value = "https://schema.org/legislationJurisdiction")] @@ -1689,6 +1795,8 @@ public enum PropertyEnumeration LegislationLegalValue, [EnumMember(Value = "https://schema.org/legislationPassedBy")] LegislationPassedBy, + [EnumMember(Value = "https://schema.org/legislationRepeals")] + LegislationRepeals, [EnumMember(Value = "https://schema.org/legislationResponsible")] LegislationResponsible, [EnumMember(Value = "https://schema.org/legislationTransposes")] @@ -1707,6 +1815,8 @@ public enum PropertyEnumeration Letterer, [EnumMember(Value = "https://schema.org/license")] License, + [EnumMember(Value = "https://schema.org/lifeEvent")] + LifeEvent, [EnumMember(Value = "https://schema.org/line")] Line, [EnumMember(Value = "https://schema.org/linkRelationship")] @@ -1791,8 +1901,12 @@ public enum PropertyEnumeration MealService, [EnumMember(Value = "https://schema.org/measuredProperty")] MeasuredProperty, - [EnumMember(Value = "https://schema.org/measuredValue")] - MeasuredValue, + [EnumMember(Value = "https://schema.org/measurementDenominator")] + MeasurementDenominator, + [EnumMember(Value = "https://schema.org/measurementMethod")] + MeasurementMethod, + [EnumMember(Value = "https://schema.org/measurementQualifier")] + MeasurementQualifier, [EnumMember(Value = "https://schema.org/measurementTechnique")] MeasurementTechnique, [EnumMember(Value = "https://schema.org/mechanismOfAction")] @@ -1843,10 +1957,14 @@ public enum PropertyEnumeration MinPrice, [EnumMember(Value = "https://schema.org/minValue")] MinValue, + [EnumMember(Value = "https://schema.org/minimumOrderValue")] + MinimumOrderValue, [EnumMember(Value = "https://schema.org/minimumPaymentDue")] MinimumPaymentDue, [EnumMember(Value = "https://schema.org/missionCoveragePrioritiesPolicy")] MissionCoveragePrioritiesPolicy, + [EnumMember(Value = "https://schema.org/mobileUrl")] + MobileUrl, [EnumMember(Value = "https://schema.org/model")] Model, [EnumMember(Value = "https://schema.org/modelDate")] @@ -1921,6 +2039,8 @@ public enum PropertyEnumeration NumChildren, [EnumMember(Value = "https://schema.org/numConstraints")] NumConstraints, + [EnumMember(Value = "https://schema.org/numItems")] + NumItems, [EnumMember(Value = "https://schema.org/numTracks")] NumTracks, [EnumMember(Value = "https://schema.org/numberOfAccommodationUnits")] @@ -1971,10 +2091,12 @@ public enum PropertyEnumeration Nutrition, [EnumMember(Value = "https://schema.org/object")] Object, + [EnumMember(Value = "https://schema.org/observationAbout")] + ObservationAbout, [EnumMember(Value = "https://schema.org/observationDate")] ObservationDate, - [EnumMember(Value = "https://schema.org/observedNode")] - ObservedNode, + [EnumMember(Value = "https://schema.org/observationPeriod")] + ObservationPeriod, [EnumMember(Value = "https://schema.org/occupancy")] Occupancy, [EnumMember(Value = "https://schema.org/occupationLocation")] @@ -2013,10 +2135,14 @@ public enum PropertyEnumeration OrderItemStatus, [EnumMember(Value = "https://schema.org/orderNumber")] OrderNumber, + [EnumMember(Value = "https://schema.org/orderPercentage")] + OrderPercentage, [EnumMember(Value = "https://schema.org/orderQuantity")] OrderQuantity, [EnumMember(Value = "https://schema.org/orderStatus")] OrderStatus, + [EnumMember(Value = "https://schema.org/orderValue")] + OrderValue, [EnumMember(Value = "https://schema.org/orderedItem")] OrderedItem, [EnumMember(Value = "https://schema.org/organizer")] @@ -2035,6 +2161,8 @@ public enum PropertyEnumeration OwnedFrom, [EnumMember(Value = "https://schema.org/ownedThrough")] OwnedThrough, + [EnumMember(Value = "https://schema.org/owner")] + Owner, [EnumMember(Value = "https://schema.org/ownershipFundingInfo")] OwnershipFundingInfo, [EnumMember(Value = "https://schema.org/owns")] @@ -2097,6 +2225,8 @@ public enum PropertyEnumeration PaymentMethod, [EnumMember(Value = "https://schema.org/paymentMethodId")] PaymentMethodId, + [EnumMember(Value = "https://schema.org/paymentMethodType")] + PaymentMethodType, [EnumMember(Value = "https://schema.org/paymentStatus")] PaymentStatus, [EnumMember(Value = "https://schema.org/paymentUrl")] @@ -2179,6 +2309,8 @@ public enum PropertyEnumeration PotentialAction, [EnumMember(Value = "https://schema.org/potentialUse")] PotentialUse, + [EnumMember(Value = "https://schema.org/practicesAt")] + PracticesAt, [EnumMember(Value = "https://schema.org/preOp")] PreOp, [EnumMember(Value = "https://schema.org/predecessorOf")] @@ -2243,6 +2375,10 @@ public enum PropertyEnumeration ProductGroupID, [EnumMember(Value = "https://schema.org/productID")] ProductID, + [EnumMember(Value = "https://schema.org/productReturnDays")] + ProductReturnDays, + [EnumMember(Value = "https://schema.org/productReturnLink")] + ProductReturnLink, [EnumMember(Value = "https://schema.org/productSupported")] ProductSupported, [EnumMember(Value = "https://schema.org/productionCompany")] @@ -2251,6 +2387,8 @@ public enum PropertyEnumeration ProductionDate, [EnumMember(Value = "https://schema.org/proficiencyLevel")] ProficiencyLevel, + [EnumMember(Value = "https://schema.org/program")] + Program, [EnumMember(Value = "https://schema.org/programMembershipUsed")] ProgramMembershipUsed, [EnumMember(Value = "https://schema.org/programName")] @@ -2263,6 +2401,8 @@ public enum PropertyEnumeration ProgrammingLanguage, [EnumMember(Value = "https://schema.org/programmingModel")] ProgrammingModel, + [EnumMember(Value = "https://schema.org/pronouns")] + Pronouns, [EnumMember(Value = "https://schema.org/propertyID")] PropertyID, [EnumMember(Value = "https://schema.org/proprietaryName")] @@ -2297,8 +2437,14 @@ public enum PropertyEnumeration PublishingPrinciples, [EnumMember(Value = "https://schema.org/purchaseDate")] PurchaseDate, + [EnumMember(Value = "https://schema.org/purchasePriceLimit")] + PurchasePriceLimit, + [EnumMember(Value = "https://schema.org/purchaseType")] + PurchaseType, [EnumMember(Value = "https://schema.org/qualifications")] Qualifications, + [EnumMember(Value = "https://schema.org/qualifiedExpense")] + QualifiedExpense, [EnumMember(Value = "https://schema.org/quarantineGuidelines")] QuarantineGuidelines, [EnumMember(Value = "https://schema.org/query")] @@ -2355,6 +2501,10 @@ public enum PropertyEnumeration RecordingOf, [EnumMember(Value = "https://schema.org/recourseLoan")] RecourseLoan, + [EnumMember(Value = "https://schema.org/recycledContentPercentage")] + RecycledContentPercentage, + [EnumMember(Value = "https://schema.org/referee")] + Referee, [EnumMember(Value = "https://schema.org/referenceQuantity")] ReferenceQuantity, [EnumMember(Value = "https://schema.org/referencesOrder")] @@ -2527,6 +2677,8 @@ public enum PropertyEnumeration Season, [EnumMember(Value = "https://schema.org/seasonNumber")] SeasonNumber, + [EnumMember(Value = "https://schema.org/seasonalOverride")] + SeasonalOverride, [EnumMember(Value = "https://schema.org/seasons")] Seasons, [EnumMember(Value = "https://schema.org/seatNumber")] @@ -2589,12 +2741,16 @@ public enum PropertyEnumeration Sha256, [EnumMember(Value = "https://schema.org/sharedContent")] SharedContent, + [EnumMember(Value = "https://schema.org/shippingConditions")] + ShippingConditions, [EnumMember(Value = "https://schema.org/shippingDestination")] ShippingDestination, [EnumMember(Value = "https://schema.org/shippingDetails")] ShippingDetails, [EnumMember(Value = "https://schema.org/shippingLabel")] ShippingLabel, + [EnumMember(Value = "https://schema.org/shippingOrigin")] + ShippingOrigin, [EnumMember(Value = "https://schema.org/shippingRate")] ShippingRate, [EnumMember(Value = "https://schema.org/shippingSettingsLink")] @@ -2639,6 +2795,8 @@ public enum PropertyEnumeration SoftwareRequirements, [EnumMember(Value = "https://schema.org/softwareVersion")] SoftwareVersion, + [EnumMember(Value = "https://schema.org/source")] + Source, [EnumMember(Value = "https://schema.org/sourceOrganization")] SourceOrganization, [EnumMember(Value = "https://schema.org/sourcedFrom")] @@ -2655,6 +2813,8 @@ public enum PropertyEnumeration SpecialOpeningHoursSpecification, [EnumMember(Value = "https://schema.org/specialty")] Specialty, + [EnumMember(Value = "https://schema.org/specification")] + Specification, [EnumMember(Value = "https://schema.org/speechToTextMarkup")] SpeechToTextMarkup, [EnumMember(Value = "https://schema.org/speed")] @@ -2685,6 +2845,8 @@ public enum PropertyEnumeration StartOffset, [EnumMember(Value = "https://schema.org/startTime")] StartTime, + [EnumMember(Value = "https://schema.org/statType")] + StatType, [EnumMember(Value = "https://schema.org/status")] Status, [EnumMember(Value = "https://schema.org/steeringPosition")] @@ -2731,6 +2893,8 @@ public enum PropertyEnumeration SubTrip, [EnumMember(Value = "https://schema.org/subjectOf")] SubjectOf, + [EnumMember(Value = "https://schema.org/substanceOfConcern")] + SubstanceOfConcern, [EnumMember(Value = "https://schema.org/subtitleLanguage")] SubtitleLanguage, [EnumMember(Value = "https://schema.org/successorOf")] @@ -2763,6 +2927,8 @@ public enum PropertyEnumeration SupportingData, [EnumMember(Value = "https://schema.org/surface")] Surface, + [EnumMember(Value = "https://schema.org/syllabusSections")] + SyllabusSections, [EnumMember(Value = "https://schema.org/target")] Target, [EnumMember(Value = "https://schema.org/targetCollection")] @@ -2823,6 +2989,8 @@ public enum PropertyEnumeration TimeRequired, [EnumMember(Value = "https://schema.org/timeToComplete")] TimeToComplete, + [EnumMember(Value = "https://schema.org/timestamp")] + Timestamp, [EnumMember(Value = "https://schema.org/tissueSample")] TissueSample, [EnumMember(Value = "https://schema.org/title")] @@ -2843,6 +3011,8 @@ public enum PropertyEnumeration Tool, [EnumMember(Value = "https://schema.org/torque")] Torque, + [EnumMember(Value = "https://schema.org/totalHistoricalEnrollment")] + TotalHistoricalEnrollment, [EnumMember(Value = "https://schema.org/totalJobOpenings")] TotalJobOpenings, [EnumMember(Value = "https://schema.org/totalPaymentDue")] @@ -2893,6 +3063,8 @@ public enum PropertyEnumeration TrialDesign, [EnumMember(Value = "https://schema.org/tributary")] Tributary, + [EnumMember(Value = "https://schema.org/tripOrigin")] + TripOrigin, [EnumMember(Value = "https://schema.org/typeOfBed")] TypeOfBed, [EnumMember(Value = "https://schema.org/typeOfGood")] @@ -2921,6 +3093,8 @@ public enum PropertyEnumeration Url, [EnumMember(Value = "https://schema.org/urlTemplate")] UrlTemplate, + [EnumMember(Value = "https://schema.org/usNPI")] + UsNPI, [EnumMember(Value = "https://schema.org/usageInfo")] UsageInfo, [EnumMember(Value = "https://schema.org/usedToDiagnose")] @@ -2935,6 +3109,8 @@ public enum PropertyEnumeration Utterances, [EnumMember(Value = "https://schema.org/validFor")] ValidFor, + [EnumMember(Value = "https://schema.org/validForMemberTier")] + ValidForMemberTier, [EnumMember(Value = "https://schema.org/validFrom")] ValidFrom, [EnumMember(Value = "https://schema.org/validIn")] @@ -2947,6 +3123,8 @@ public enum PropertyEnumeration Value, [EnumMember(Value = "https://schema.org/valueAddedTaxIncluded")] ValueAddedTaxIncluded, + [EnumMember(Value = "https://schema.org/valueGroup")] + ValueGroup, [EnumMember(Value = "https://schema.org/valueMaxLength")] ValueMaxLength, [EnumMember(Value = "https://schema.org/valueMinLength")] @@ -3015,6 +3193,8 @@ public enum PropertyEnumeration WebFeed, [EnumMember(Value = "https://schema.org/weight")] Weight, + [EnumMember(Value = "https://schema.org/weightPercentage")] + WeightPercentage, [EnumMember(Value = "https://schema.org/weightTotal")] WeightTotal, [EnumMember(Value = "https://schema.org/wheelbase")] diff --git a/OpenActive.NET/enums/TestOpenBookingFlowEnumeration.cs b/OpenActive.NET/enums/TestOpenBookingFlowEnumeration.cs index 7509c2c..ad9a5dc 100644 --- a/OpenActive.NET/enums/TestOpenBookingFlowEnumeration.cs +++ b/OpenActive.NET/enums/TestOpenBookingFlowEnumeration.cs @@ -4,7 +4,7 @@ namespace OpenActive.NET { /// /// [NOTICE: This enumeration is part of the Open Booking API Test Interface, and MUST NOT be used in production.] - /// An enumeration of open booking flows that an opportunity can be booked with. + /// An enumeration of [open booking flow](https://openactive.io/open-booking-api/EditorsDraft/1.0CR3/#booking-flows) that an [Opportunity and Offer pair](https://openactive.io/open-booking-api/EditorsDraft/1.0CR3/#definition-of-a-bookable-opportunity-and-offer-pair) can be booked with. /// public enum TestOpenBookingFlowEnumeration { diff --git a/OpenActive.NET/models/BookingService.cs b/OpenActive.NET/models/BookingService.cs index 52fed56..6b2ee92 100644 --- a/OpenActive.NET/models/BookingService.cs +++ b/OpenActive.NET/models/BookingService.cs @@ -56,7 +56,7 @@ public override string ToString() /// [DataMember(Name = "hasCredential", EmitDefaultValue = false, Order = 8)] [JsonConverter(typeof(ValuesConverter))] - public virtual Uri HasCredential { get; set; } + public new virtual Uri HasCredential { get; set; } /// /// The version of the application, useful for on-premise installations. Note this property is in EARLY RELEASE AND IS SUBJECT TO CHANGE, as the [Dataset API Discovery specification](https://openactive.io/dataset-api-discovery/EditorsDraft/) evolves. @@ -70,7 +70,7 @@ public override string ToString() /// [DataMember(Name = "termsOfService", EmitDefaultValue = false, Order = 10)] [JsonConverter(typeof(ValuesConverter))] - public virtual List TermsOfService { get; set; } + public new virtual List TermsOfService { get; set; } /// /// The URL of the website of the Booking System. diff --git a/OpenActive.NET/models/CourseInstance.cs b/OpenActive.NET/models/CourseInstance.cs index 9083ad8..c804137 100644 --- a/OpenActive.NET/models/CourseInstance.cs +++ b/OpenActive.NET/models/CourseInstance.cs @@ -65,7 +65,7 @@ public override string ToString() /// [DataMember(Name = "eventSchedule", EmitDefaultValue = false, Order = 7)] [JsonConverter(typeof(ValuesConverter))] - public virtual List EventSchedule { get; set; } + public new virtual List EventSchedule { get; set; } /// /// The description of the Course for which this is a distinct instance. diff --git a/OpenActive.NET/models/Dataset.cs b/OpenActive.NET/models/Dataset.cs index 91b4680..5dca8d9 100644 --- a/OpenActive.NET/models/Dataset.cs +++ b/OpenActive.NET/models/Dataset.cs @@ -166,7 +166,7 @@ public override string ToString() /// [DataMember(Name = "documentation", EmitDefaultValue = false, Order = 16)] [JsonConverter(typeof(ValuesConverter))] - public virtual Uri Documentation { get; set; } + public new virtual Uri Documentation { get; set; } /// /// An array of languages included in the Dataset's content. Please use one of the language codes from the IETF BCP 47 standard. diff --git a/OpenActive.NET/models/Event.cs b/OpenActive.NET/models/Event.cs index ea71367..e739584 100644 --- a/OpenActive.NET/models/Event.cs +++ b/OpenActive.NET/models/Event.cs @@ -261,7 +261,7 @@ public override string ToString() /// [DataMember(Name = "eventAttendanceMode", EmitDefaultValue = false, Order = 21)] [JsonConverter(typeof(ValuesConverter))] - public virtual EventAttendanceModeEnumeration? EventAttendanceMode { get; set; } + public new virtual EventAttendanceModeEnumeration? EventAttendanceMode { get; set; } /// /// The status of an event. Can be used to indicate rescheduled or cancelled events @@ -436,7 +436,7 @@ public override string ToString() /// [DataMember(Name = "maximumVirtualAttendeeCapacity", EmitDefaultValue = false, Order = 32)] [JsonConverter(typeof(ValuesConverter))] - public virtual long? MaximumVirtualAttendeeCapacity { get; set; } + public new virtual long? MaximumVirtualAttendeeCapacity { get; set; } /// /// Instructions for the attendees of an Event about where they should meet the organizer or leader at the start of the event. Some larger locations may have several possible meeting points, so this property provides additional more specific directions. @@ -529,7 +529,7 @@ public override string ToString() public virtual string SchedulingNote { get; set; } /// - /// The start date and time of the event. Can be specified as a schema:Date or schema:DateTime. + /// The start date and time of the event. Can be specified as a schema:DateTime. /// /// /// @@ -541,7 +541,7 @@ public override string ToString() public new virtual DateTimeValue StartDate { get; set; } /// - /// The end date and time of the event. Can be specified as a schema:Date or schema:DateTime + /// The end date and time of the event. Can be specified as a schema:DateTime /// It is recommended that publishers provide either an schema:endDate or a schema:duration for an event. /// /// @@ -781,6 +781,7 @@ public override string ToString() /// /// [NOTICE: This property is part of the Open Booking API Test Interface, and MUST NOT be used in production.] + /// The [open booking flow](https://openactive.io/open-booking-api/EditorsDraft/1.0CR3/#booking-flows) that a created [Opportunity and Offer pair](https://openactive.io/open-booking-api/EditorsDraft/1.0CR3/#definition-of-a-bookable-opportunity-and-offer-pair) should support. /// [DataMember(Name = "test:testOpenBookingFlow", EmitDefaultValue = false, Order = 1064)] [JsonConverter(typeof(ValuesConverter))] diff --git a/OpenActive.NET/models/EventSeries.cs b/OpenActive.NET/models/EventSeries.cs index 41ee039..fd79539 100644 --- a/OpenActive.NET/models/EventSeries.cs +++ b/OpenActive.NET/models/EventSeries.cs @@ -6,7 +6,7 @@ namespace OpenActive.NET { /// - /// This type is derived from https://pending.schema.org/EventSeries. + /// This type is derived from https://schema.org/EventSeries, which means that any of this type's properties within schema.org may also be used. /// [DataContract] public partial class EventSeries : Event diff --git a/OpenActive.NET/models/FacilityUse.cs b/OpenActive.NET/models/FacilityUse.cs index 734e99a..a95722b 100644 --- a/OpenActive.NET/models/FacilityUse.cs +++ b/OpenActive.NET/models/FacilityUse.cs @@ -356,7 +356,7 @@ public override string ToString() /// [DataMember(Name = "provider", EmitDefaultValue = false, Order = 25)] [JsonConverter(typeof(ValuesConverter))] - public virtual Organization Provider { get; set; } + public new virtual Organization Provider { get; set; } /// /// A URL to a web page (or section of a page) that describes the facility use. diff --git a/OpenActive.NET/models/Organization.cs b/OpenActive.NET/models/Organization.cs index 2172c63..eb30247 100644 --- a/OpenActive.NET/models/Organization.cs +++ b/OpenActive.NET/models/Organization.cs @@ -185,7 +185,7 @@ public override string ToString() /// [DataMember(Name = "termsOfService", EmitDefaultValue = false, Order = 19)] [JsonConverter(typeof(ValuesConverter))] - public virtual List TermsOfService { get; set; } + public new virtual List TermsOfService { get; set; } /// /// A definitive canonical URL for the Organization. @@ -235,5 +235,15 @@ public override string ToString() [DataMember(Name = "beta:formalCriteriaMet", EmitDefaultValue = false, Order = 1024)] [JsonConverter(typeof(ValuesConverter))] public virtual List FormalCriteriaMet { get; set; } + + /// + /// [NOTICE: This is a beta property, and is highly likely to change in future versions of this library.] + /// The date on which the details of this organization were last verified as correct by the publisher. Unlike `schema:dateModified`, this changes when the details are confirmed, even if nothing in them has changed. + /// + /// If you are using this property, please join the discussion at proposal [#313](https://github.com/openactive/modelling-opportunity-data/issues/313). + /// + [DataMember(Name = "beta:dateVerified", EmitDefaultValue = false, Order = 1025)] + [JsonConverter(typeof(OpenActiveDateTimeValuesConverter))] + public virtual DateValue DateVerified { get; set; } } } diff --git a/OpenActive.NET/models/PartialSchedule.cs b/OpenActive.NET/models/PartialSchedule.cs index b903ddc..e9f8f9d 100644 --- a/OpenActive.NET/models/PartialSchedule.cs +++ b/OpenActive.NET/models/PartialSchedule.cs @@ -6,7 +6,7 @@ namespace OpenActive.NET { /// - /// This type is derived from https://pending.schema.org/Schedule. + /// This type is derived from https://schema.org/Schedule, which means that any of this type's properties within schema.org may also be used. /// [DataContract] public partial class PartialSchedule : Schedule diff --git a/OpenActive.NET/models/Person.cs b/OpenActive.NET/models/Person.cs index 32f1297..64e44a0 100644 --- a/OpenActive.NET/models/Person.cs +++ b/OpenActive.NET/models/Person.cs @@ -131,7 +131,7 @@ public override string ToString() /// [DataMember(Name = "gender", EmitDefaultValue = false, Order = 14)] [JsonConverter(typeof(ValuesConverter))] - public virtual SingleValues Gender { get; set; } + public new virtual SingleValues Gender { get; set; } /// /// A first name for the person. @@ -177,7 +177,7 @@ public override string ToString() /// [DataMember(Name = "jobTitle", EmitDefaultValue = false, Order = 18)] [JsonConverter(typeof(ValuesConverter))] - public virtual string JobTitle { get; set; } + public new virtual string JobTitle { get; set; } /// /// The official name of the organization, e.g. the registered company name. @@ -243,7 +243,7 @@ public override string ToString() /// [DataMember(Name = "termsOfService", EmitDefaultValue = false, Order = 24)] [JsonConverter(typeof(ValuesConverter))] - public virtual List TermsOfService { get; set; } + public new virtual List TermsOfService { get; set; } /// /// A URL where more information about the person may be found diff --git a/OpenActive.NET/models/Place.cs b/OpenActive.NET/models/Place.cs index 5da8bb7..32a038c 100644 --- a/OpenActive.NET/models/Place.cs +++ b/OpenActive.NET/models/Place.cs @@ -160,15 +160,34 @@ public override string ToString() public new virtual ReferenceValue ContainedInPlace { get; set; } /// - /// Places that exist within this place + /// A specific identifiable facility (`SportsActivityLocation`) or place (`Place`) that exist within this place /// /// /// - /// "containsPlace": { - /// "@type": "Place", - /// "url": "https://www.everyoneactive.com/centres/Center-Parcs-Sports-Plaza", - /// "name": "Center Parcs Sports Plaza" - /// } + /// "containsPlace": [ + /// { + /// "@type": "SportsActivityLocation", + /// "@id": "https://api.example.com/places/1402CBP20150217/sports-activity-locations/3", + /// "url": "https://www.better.org.uk/leisure-centre/manchester/belle-vue-sports-village/facilities", + /// "name": "Studio", + /// "description": "We have a great range of Fitness Classes at Belle Vue Leisure Centre including Group Cycle, Zumba, Pilates and much much more.", + /// "image": [ + /// { + /// "@type": "ImageObject", + /// "url": "https://res-1.cloudinary.com/gll/image/upload/c_fit,f_auto,h_169,w_384/v1592158966/production/0065/7/66/PHOTO-2020-06-09-14-25-53_3.jpg" + /// } + /// ], + /// "specialOpeningHoursSpecification": [ + /// { + /// "@type": "OpeningHoursSpecification", + /// "opens": "00:00", + /// "closes": "00:00", + /// "validFrom": "2022-01-01", + /// "validThrough": "2022-12-31" + /// } + /// ] + /// } + /// ] /// /// [DataMember(Name = "containsPlace", EmitDefaultValue = false, Order = 13)] @@ -279,13 +298,23 @@ public override string ToString() [JsonConverter(typeof(ValuesConverter))] public virtual List Video { get; set; } + /// + /// [NOTICE: This is a beta property, and is highly likely to change in future versions of this library.] + /// A related virtual tour. + /// + /// If you are using this property, please join the discussion at proposal [#306](https://github.com/openactive/modelling-opportunity-data/issues/306). + /// + [DataMember(Name = "beta:virtualTour", EmitDefaultValue = false, Order = 1023)] + [JsonConverter(typeof(ValuesConverter))] + public virtual List VirtualTour { get; set; } + /// /// [NOTICE: This is a beta property, and is highly likely to change in future versions of this library.] /// The organization responsible for the operation of the `Place`. /// /// If you are using this property, please join the discussion at proposal [#307](https://github.com/openactive/modelling-opportunity-data/issues/307). /// - [DataMember(Name = "beta:serviceOperator", EmitDefaultValue = false, Order = 1023)] + [DataMember(Name = "beta:serviceOperator", EmitDefaultValue = false, Order = 1024)] [JsonConverter(typeof(ValuesConverter))] public virtual Organization ServiceOperator { get; set; } @@ -295,7 +324,7 @@ public override string ToString() /// /// If you are using this property, please join the discussion at proposal [#1](https://github.com/openactive/place-types/issues/1). /// - [DataMember(Name = "beta:placeType", EmitDefaultValue = false, Order = 1024)] + [DataMember(Name = "beta:placeType", EmitDefaultValue = false, Order = 1025)] [JsonConverter(typeof(ValuesConverter))] public virtual List PlaceType { get; set; } } diff --git a/OpenActive.NET/models/Schedule.cs b/OpenActive.NET/models/Schedule.cs index aff06b3..76755d3 100644 --- a/OpenActive.NET/models/Schedule.cs +++ b/OpenActive.NET/models/Schedule.cs @@ -6,10 +6,10 @@ namespace OpenActive.NET { /// - /// This type is derived from https://pending.schema.org/Schedule. + /// This type is derived from https://schema.org/Schedule, which means that any of this type's properties within schema.org may also be used. /// [DataContract] - public partial class Schedule : Schema.NET.JsonLdObject + public partial class Schedule : Schema.NET.Schedule { /// /// Returns the JSON-LD representation of this instance. @@ -57,7 +57,7 @@ public override string ToString() /// [DataMember(Name = "byDay", EmitDefaultValue = false, Order = 7)] [JsonConverter(typeof(ValuesConverter))] - public virtual SingleValues, List> ByDay { get; set; } + public new virtual SingleValues, List> ByDay { get; set; } /// /// Defines the months of the year on which the Event takes place. Specified as an integer between 1 and 12, with 1 representing January. @@ -71,7 +71,7 @@ public override string ToString() /// [DataMember(Name = "byMonth", EmitDefaultValue = false, Order = 8)] [JsonConverter(typeof(ValuesConverter))] - public virtual List ByMonth { get; set; } + public new virtual List ByMonth { get; set; } /// /// Defines the days of the month on which the Event takes place. Specified as an integer between 1 and 31 @@ -85,7 +85,7 @@ public override string ToString() /// [DataMember(Name = "byMonthDay", EmitDefaultValue = false, Order = 9)] [JsonConverter(typeof(ValuesConverter))] - public virtual List ByMonthDay { get; set; } + public new virtual List ByMonthDay { get; set; } /// /// The duration of the event given in [ISO8601] format. @@ -97,7 +97,7 @@ public override string ToString() /// [DataMember(Name = "duration", EmitDefaultValue = false, Order = 10)] [JsonConverter(typeof(OpenActiveTimeSpanToISO8601DurationValuesConverter))] - public virtual TimeSpan? Duration { get; set; } + public new virtual TimeSpan? Duration { get; set; } /// /// The end time of the event. @@ -109,7 +109,7 @@ public override string ToString() /// [DataMember(Name = "endTime", EmitDefaultValue = false, Order = 11)] [JsonConverter(typeof(OpenActiveDateTimeValuesConverter))] - public virtual TimeValue EndTime { get; set; } + public new virtual TimeValue EndTime { get; set; } /// /// Exception dates where the schedule should not generate an event. @@ -128,7 +128,7 @@ public override string ToString() /// [DataMember(Name = "exceptDate", EmitDefaultValue = false, Order = 12)] [JsonConverter(typeof(ValuesConverter))] - public virtual List ExceptDate { get; set; } + public new virtual List ExceptDate { get; set; } /// /// An RFC6570 compliant URI template that can be used to generate a unique identifier (`@id`) for every event described by the schedule. This property is required if the data provider is supporting third-party booking via the Open Booking API, or providing complimentary individual `subEvent`s. @@ -152,7 +152,7 @@ public override string ToString() /// [DataMember(Name = "repeatCount", EmitDefaultValue = false, Order = 14)] [JsonConverter(typeof(ValuesConverter))] - public virtual long? RepeatCount { get; set; } + public new virtual long? RepeatCount { get; set; } /// /// Defines the frequency at which Events will occur according to a Schedule. The intervals between events should be defined as a Duration of time. @@ -164,7 +164,7 @@ public override string ToString() /// [DataMember(Name = "repeatFrequency", EmitDefaultValue = false, Order = 15)] [JsonConverter(typeof(OpenActiveTimeSpanToISO8601DurationValuesConverter))] - public virtual TimeSpan? RepeatFrequency { get; set; } + public new virtual TimeSpan? RepeatFrequency { get; set; } /// /// The type of event this schedule related to. @@ -188,7 +188,7 @@ public override string ToString() /// [DataMember(Name = "scheduleTimezone", EmitDefaultValue = false, Order = 17)] [JsonConverter(typeof(ValuesConverter))] - public virtual string ScheduleTimezone { get; set; } + public new virtual string ScheduleTimezone { get; set; } /// /// The start date of the event. @@ -200,7 +200,7 @@ public override string ToString() /// [DataMember(Name = "startDate", EmitDefaultValue = false, Order = 18)] [JsonConverter(typeof(OpenActiveDateTimeValuesConverter))] - public virtual DateValue StartDate { get; set; } + public new virtual DateValue StartDate { get; set; } /// /// The end date of the schedule. @@ -212,7 +212,7 @@ public override string ToString() /// [DataMember(Name = "endDate", EmitDefaultValue = false, Order = 19)] [JsonConverter(typeof(OpenActiveDateTimeValuesConverter))] - public virtual DateValue EndDate { get; set; } + public new virtual DateValue EndDate { get; set; } /// /// The start time of the event. @@ -224,7 +224,7 @@ public override string ToString() /// [DataMember(Name = "startTime", EmitDefaultValue = false, Order = 20)] [JsonConverter(typeof(OpenActiveDateTimeValuesConverter))] - public virtual TimeValue StartTime { get; set; } + public new virtual TimeValue StartTime { get; set; } /// /// An RFC6570 compliant URI template that can be used to generate a unique `url` for every event described by the schedule. This property is required if the data provider wants to provide participants with a unique URL to book to attend an event. @@ -236,7 +236,7 @@ public override string ToString() /// [DataMember(Name = "urlTemplate", EmitDefaultValue = false, Order = 21)] [JsonConverter(typeof(ValuesConverter))] - public virtual string UrlTemplate { get; set; } + public new virtual string UrlTemplate { get; set; } /// /// [DEPRECATED: This term has graduated from the beta namespace and is highly likely to be removed in future versions of this library, please use `scheduleTimezone` instead.] diff --git a/OpenActive.NET/models/SessionSeries.cs b/OpenActive.NET/models/SessionSeries.cs index 04946ef..49e0ece 100644 --- a/OpenActive.NET/models/SessionSeries.cs +++ b/OpenActive.NET/models/SessionSeries.cs @@ -65,7 +65,7 @@ public override string ToString() /// [DataMember(Name = "eventSchedule", EmitDefaultValue = false, Order = 7)] [JsonConverter(typeof(ValuesConverter))] - public virtual List EventSchedule { get; set; } + public new virtual List EventSchedule { get; set; } [Obsolete("This property is disinherited in this type, and must not be used.", true)] public override long? RemainingAttendeeCapacity { get; set; } diff --git a/OpenActive.NET/models/VirtualLocation.cs b/OpenActive.NET/models/VirtualLocation.cs index a0fac8b..d7600b5 100644 --- a/OpenActive.NET/models/VirtualLocation.cs +++ b/OpenActive.NET/models/VirtualLocation.cs @@ -6,10 +6,10 @@ namespace OpenActive.NET { /// - /// This type is derived from https://pending.schema.org/VirtualLocation. + /// This type is derived from https://schema.org/VirtualLocation, which means that any of this type's properties within schema.org may also be used. /// [DataContract] - public partial class VirtualLocation : Schema.NET.JsonLdObject + public partial class VirtualLocation : Schema.NET.VirtualLocation { /// /// Returns the JSON-LD representation of this instance. @@ -54,7 +54,7 @@ public override string ToString() /// [DataMember(Name = "name", EmitDefaultValue = false, Order = 7)] [JsonConverter(typeof(ValuesConverter))] - public virtual string Name { get; set; } + public new virtual string Name { get; set; } /// /// A plain text description of the live stream, including any instructions to join. This description must not include HTML or other markup. @@ -66,7 +66,7 @@ public override string ToString() /// [DataMember(Name = "description", EmitDefaultValue = false, Order = 8)] [JsonConverter(typeof(ValuesConverter))] - public virtual string Description { get; set; } + public new virtual string Description { get; set; } /// /// The password or pin required to access the `VirtualLocation` from any device, without requiring the URL, e.g. the meeting password. @@ -78,7 +78,7 @@ public override string ToString() /// [DataMember(Name = "accessCode", EmitDefaultValue = false, Order = 9)] [JsonConverter(typeof(ValuesConverter))] - public virtual string AccessCode { get; set; } + public new virtual string AccessCode { get; set; } /// /// The identifier required to access the `VirtualLocation` from any device, without requiring the URL, e.g. the meeting ID. @@ -102,6 +102,6 @@ public override string ToString() /// [DataMember(Name = "url", EmitDefaultValue = false, Order = 11)] [JsonConverter(typeof(ValuesConverter))] - public virtual Uri Url { get; set; } + public new virtual Uri Url { get; set; } } } diff --git a/OpenActive.NET/models/WebAPI.cs b/OpenActive.NET/models/WebAPI.cs index 7c5d178..4bed5ee 100644 --- a/OpenActive.NET/models/WebAPI.cs +++ b/OpenActive.NET/models/WebAPI.cs @@ -9,10 +9,10 @@ namespace OpenActive.NET /// /// EARLY RELEASE NOTICE: This class represents a draft that is designed to inform the OpenActive specification work with implementation feedback. IT IS SUBJECT TO CHANGE, as the [Dataset API Discovery specification](https://openactive.io/dataset-api-discovery/EditorsDraft/) evolves. /// - /// This type is derived from https://pending.schema.org/WebAPI. + /// This type is derived from https://schema.org/WebAPI, which means that any of this type's properties within schema.org may also be used. /// [DataContract] - public partial class WebAPI : Schema.NET.JsonLdObject + public partial class WebAPI : Schema.NET.WebAPI { /// /// Returns the JSON-LD representation of this instance. @@ -57,7 +57,7 @@ public override string ToString() /// [DataMember(Name = "name", EmitDefaultValue = false, Order = 7)] [JsonConverter(typeof(ValuesConverter))] - public virtual string Name { get; set; } + public new virtual string Name { get; set; } /// /// A plain text description of the Dataset, which must not include HTML or other markup. @@ -69,7 +69,7 @@ public override string ToString() /// [DataMember(Name = "description", EmitDefaultValue = false, Order = 8)] [JsonConverter(typeof(ValuesConverter))] - public virtual string Description { get; set; } + public new virtual string Description { get; set; } /// /// The location of the OpenID Provider that must be used to access the API. @@ -107,7 +107,7 @@ public override string ToString() /// [DataMember(Name = "documentation", EmitDefaultValue = false, Order = 11)] [JsonConverter(typeof(ValuesConverter))] - public virtual Uri Documentation { get; set; } + public new virtual Uri Documentation { get; set; } /// /// The Open API document associated with this version of the Open Booking API @@ -155,6 +155,6 @@ public override string ToString() /// [DataMember(Name = "termsOfService", EmitDefaultValue = false, Order = 15)] [JsonConverter(typeof(ValuesConverter))] - public virtual Uri TermsOfService { get; set; } + public new virtual Uri TermsOfService { get; set; } } }