From 1534edd65ed7107bd8a9578c9a8daa82c9b96a8a Mon Sep 17 00:00:00 2001 From: Tom Witkowski Date: Thu, 11 Jan 2024 14:23:06 +0100 Subject: [PATCH] upgrade to schema.org v16 --- generator/Console/GenerateCommand.php | 2 +- src/AMRadioChannel.php | 12 +- src/APIReference.php | 42 +- src/AboutPage.php | 38 +- src/AcceptAction.php | 12 +- src/Accommodation.php | 61 +- src/AccountingService.php | 37 +- src/AchieveAction.php | 12 +- src/Action.php | 13 +- src/ActionAccessSpecification.php | 15 +- src/ActionStatusType.php | 12 +- src/ActivateAction.php | 12 +- src/AddAction.php | 12 +- src/AdministrativeArea.php | 18 +- src/AdultEntertainment.php | 36 +- src/AdultOrientedEnumeration.php | 12 +- src/AdvertiserContentArticle.php | 43 +- src/AggregateOffer.php | 38 +- src/AggregateRating.php | 12 +- src/AgreeAction.php | 12 +- src/Airline.php | 33 +- src/Airport.php | 18 +- src/AlignmentObject.php | 13 +- src/AllocateAction.php | 12 +- src/AmpStory.php | 38 +- src/AmusementPark.php | 36 +- src/AnalysisNewsArticle.php | 43 +- src/AnatomicalStructure.php | 13 +- src/AnatomicalSystem.php | 13 +- src/AnimalShelter.php | 36 +- src/Answer.php | 39 +- src/Apartment.php | 42 +- src/ApartmentComplex.php | 19 +- src/AppendAction.php | 12 +- src/ApplyAction.php | 12 +- src/ApprovedIndication.php | 13 +- src/Aquarium.php | 18 +- src/ArchiveComponent.php | 38 +- src/ArchiveOrganization.php | 36 +- src/ArriveAction.php | 12 +- src/ArtGallery.php | 36 +- src/Artery.php | 13 +- src/Article.php | 43 +- src/AskAction.php | 12 +- src/AskPublicNewsArticle.php | 43 +- src/AssessAction.php | 12 +- src/AssignAction.php | 12 +- src/Atlas.php | 38 +- src/Attorney.php | 36 +- src/Audience.php | 12 +- src/AudioObject.php | 39 +- src/AudioObjectSnapshot.php | 38 +- src/Audiobook.php | 38 +- src/AuthorizeAction.php | 12 +- src/AutoBodyShop.php | 36 +- src/AutoDealer.php | 36 +- src/AutoPartsStore.php | 36 +- src/AutoRental.php | 36 +- src/AutoRepair.php | 36 +- src/AutoWash.php | 36 +- src/AutomatedTeller.php | 37 +- src/AutomotiveBusiness.php | 36 +- src/BackgroundNewsArticle.php | 43 +- src/Bakery.php | 37 +- src/BankAccount.php | 22 +- src/BankOrCreditUnion.php | 37 +- src/BarOrPub.php | 37 +- src/Barcode.php | 24 +- src/Beach.php | 18 +- src/BeautySalon.php | 36 +- src/BedAndBreakfast.php | 39 +- src/BedDetails.php | 15 +- src/BedType.php | 20 +- src/BefriendAction.php | 12 +- src/BikeStore.php | 36 +- src/BioChemEntity.php | 26 +- src/Blog.php | 39 +- src/BlogPosting.php | 42 +- src/BloodTest.php | 13 +- src/BoardingPolicyType.php | 12 +- src/BoatReservation.php | 12 +- src/BoatTerminal.php | 18 +- src/BoatTrip.php | 15 +- src/BodyMeasurementTypeEnumeration.php | 12 +- src/BodyOfWater.php | 18 +- src/Bone.php | 13 +- src/Book.php | 38 +- src/BookFormatType.php | 12 +- src/BookSeries.php | 39 +- src/BookStore.php | 36 +- src/BookmarkAction.php | 12 +- src/BorrowAction.php | 12 +- src/BowlingAlley.php | 36 +- src/BrainStructure.php | 13 +- src/Brand.php | 14 +- src/BreadcrumbList.php | 12 +- src/Brewery.php | 37 +- src/Bridge.php | 18 +- src/BroadcastChannel.php | 12 +- src/BroadcastEvent.php | 14 +- src/BroadcastFrequencySpecification.php | 12 +- src/BroadcastService.php | 15 +- src/BrokerageAccount.php | 19 +- src/BuddhistTemple.php | 18 +- src/BusOrCoach.php | 69 +- src/BusReservation.php | 12 +- src/BusStation.php | 18 +- src/BusStop.php | 18 +- src/BusTrip.php | 15 +- src/BusinessAudience.php | 12 +- src/BusinessEntityType.php | 13 +- src/BusinessEvent.php | 14 +- src/BusinessFunction.php | 13 +- src/BuyAction.php | 13 +- src/CDCPMDRecord.php | 12 +- src/CableOrSatelliteService.php | 15 +- src/CafeOrCoffeeShop.php | 37 +- src/Campground.php | 40 +- src/CampingPitch.php | 59 +- src/Canal.php | 18 +- src/CancelAction.php | 12 +- src/Car.php | 69 +- src/CarUsageType.php | 16 +- src/Casino.php | 36 +- src/CategoryCode.php | 12 +- src/CategoryCodeSet.php | 38 +- src/CatholicChurch.php | 18 +- src/Cemetery.php | 18 +- src/Chapter.php | 41 +- src/CheckAction.php | 12 +- src/CheckInAction.php | 12 +- src/CheckOutAction.php | 12 +- src/CheckoutPage.php | 38 +- src/ChemicalSubstance.php | 28 +- src/ChildCare.php | 36 +- src/ChildrensEvent.php | 14 +- src/ChooseAction.php | 12 +- src/Church.php | 18 +- src/City.php | 18 +- src/CityHall.php | 18 +- src/CivicStructure.php | 18 +- src/Claim.php | 38 +- src/ClaimReview.php | 38 +- src/Clip.php | 38 +- src/ClothingStore.php | 36 +- src/Code.php | 38 +- src/Collection.php | 38 +- src/CollectionPage.php | 38 +- src/CollegeOrUniversity.php | 36 +- src/ComedyClub.php | 36 +- src/ComedyEvent.php | 14 +- src/ComicCoverArt.php | 39 +- src/ComicIssue.php | 42 +- src/ComicSeries.php | 39 +- src/ComicStory.php | 38 +- src/Comment.php | 38 +- src/CommentAction.php | 12 +- src/CommunicateAction.php | 12 +- src/CompleteDataFeed.php | 94 +- src/CompoundPriceSpecification.php | 22 +- src/ComputerLanguage.php | 12 +- src/ComputerStore.php | 36 +- src/ConfirmAction.php | 12 +- src/Consortium.php | 33 +- src/ConstraintNode.php | 256 ++ src/ConsumeAction.php | 12 +- src/ContactPage.php | 38 +- src/ContactPoint.php | 12 +- src/ContactPointOption.php | 12 +- src/Continent.php | 18 +- src/Contracts/APIReferenceContract.php | 2 + src/Contracts/AboutPageContract.php | 2 + src/Contracts/AccommodationContract.php | 4 + .../AdvertiserContentArticleContract.php | 2 + src/Contracts/AmpStoryContract.php | 2 + src/Contracts/AnalysisNewsArticleContract.php | 2 + src/Contracts/AnswerContract.php | 2 + src/Contracts/ApartmentContract.php | 2 + src/Contracts/ArchiveComponentContract.php | 2 + src/Contracts/ArticleContract.php | 2 + .../AskPublicNewsArticleContract.php | 2 + src/Contracts/AtlasContract.php | 2 + src/Contracts/AudioObjectContract.php | 2 + src/Contracts/AudioObjectSnapshotContract.php | 2 + src/Contracts/AudiobookContract.php | 2 + .../BackgroundNewsArticleContract.php | 2 + src/Contracts/BlogContract.php | 2 + src/Contracts/BlogPostingContract.php | 2 + src/Contracts/BookContract.php | 2 + src/Contracts/BookSeriesContract.php | 2 + src/Contracts/CampingPitchContract.php | 4 + src/Contracts/CategoryCodeSetContract.php | 2 + src/Contracts/ChapterContract.php | 2 + src/Contracts/CheckoutPageContract.php | 2 + src/Contracts/ClaimContract.php | 2 + src/Contracts/ClaimReviewContract.php | 2 + src/Contracts/ClipContract.php | 2 + src/Contracts/CodeContract.php | 2 + src/Contracts/CollectionContract.php | 2 + src/Contracts/CollectionPageContract.php | 2 + src/Contracts/ComicCoverArtContract.php | 2 + src/Contracts/ComicIssueContract.php | 2 + src/Contracts/ComicSeriesContract.php | 2 + src/Contracts/ComicStoryContract.php | 2 + src/Contracts/CommentContract.php | 2 + src/Contracts/CompleteDataFeedContract.php | 4 + src/Contracts/ConstraintNodeContract.php | 34 + src/Contracts/ContactPageContract.php | 2 + src/Contracts/ConversationContract.php | 2 + src/Contracts/CorrectionCommentContract.php | 2 + src/Contracts/CourseContract.php | 10 + src/Contracts/CourseInstanceContract.php | 2 + src/Contracts/CoverArtContract.php | 2 + src/Contracts/CreativeWorkContract.php | 2 + src/Contracts/CreativeWorkSeasonContract.php | 2 + src/Contracts/CreativeWorkSeriesContract.php | 2 + src/Contracts/CriticReviewContract.php | 2 + src/Contracts/DataCatalogContract.php | 4 + src/Contracts/DataDownloadContract.php | 4 + src/Contracts/DataFeedContract.php | 4 + src/Contracts/DatasetContract.php | 4 + src/Contracts/DefinedTermSetContract.php | 2 + src/Contracts/DietContract.php | 2 + src/Contracts/DigitalDocumentContract.php | 2 + .../DiscussionForumPostingContract.php | 2 + src/Contracts/DrawingContract.php | 2 + ...cationalOccupationalCredentialContract.php | 2 + src/Contracts/EmailMessageContract.php | 2 + src/Contracts/EmployerReviewContract.php | 2 + src/Contracts/EpisodeContract.php | 2 + src/Contracts/ExercisePlanContract.php | 2 + src/Contracts/FAQPageContract.php | 2 + src/Contracts/GameContract.php | 2 + src/Contracts/GuideContract.php | 2 + src/Contracts/HealthTopicContentContract.php | 2 + src/Contracts/HouseContract.php | 4 + src/Contracts/HowToContract.php | 2 + src/Contracts/HowToDirectionContract.php | 2 + src/Contracts/HowToSectionContract.php | 2 + src/Contracts/HowToStepContract.php | 2 + src/Contracts/HowToTipContract.php | 2 + src/Contracts/HyperTocContract.php | 2 + src/Contracts/HyperTocEntryContract.php | 2 + src/Contracts/ImageGalleryContract.php | 2 + src/Contracts/ItemPageContract.php | 2 + src/Contracts/LearningResourceContract.php | 2 + src/Contracts/LegislationContract.php | 2 + src/Contracts/LegislationObjectContract.php | 2 + src/Contracts/LiveBlogPostingContract.php | 2 + .../LocationFeatureSpecificationContract.php | 2 + src/Contracts/ManuscriptContract.php | 2 + src/Contracts/MapContract.php | 2 + src/Contracts/MathSolverContract.php | 2 + .../MeasurementMethodEnumContract.php | 30 + src/Contracts/MediaGalleryContract.php | 2 + src/Contracts/MediaObjectContract.php | 2 + src/Contracts/MediaReviewContract.php | 2 + src/Contracts/MediaReviewItemContract.php | 2 + .../MedicalScholarlyArticleContract.php | 2 + src/Contracts/MedicalWebPageContract.php | 2 + src/Contracts/MeetingRoomContract.php | 4 + src/Contracts/MenuContract.php | 2 + src/Contracts/MenuSectionContract.php | 2 + src/Contracts/MessageContract.php | 2 + src/Contracts/MobileApplicationContract.php | 2 + src/Contracts/MovieClipContract.php | 2 + src/Contracts/MovieContract.php | 2 + src/Contracts/MovieSeriesContract.php | 2 + src/Contracts/MusicAlbumContract.php | 2 + src/Contracts/MusicCompositionContract.php | 2 + src/Contracts/MusicPlaylistContract.php | 2 + src/Contracts/MusicRecordingContract.php | 2 + src/Contracts/MusicReleaseContract.php | 2 + src/Contracts/MusicVideoObjectContract.php | 2 + src/Contracts/NewsArticleContract.php | 2 + src/Contracts/NewspaperContract.php | 2 + src/Contracts/NoteDigitalDocumentContract.php | 2 + src/Contracts/ObservationContract.php | 28 +- src/Contracts/OpinionNewsArticleContract.php | 2 + src/Contracts/PaintingContract.php | 2 + src/Contracts/PeriodicalContract.php | 2 + src/Contracts/PhotographContract.php | 2 + src/Contracts/PlayContract.php | 2 + src/Contracts/PodcastEpisodeContract.php | 2 + src/Contracts/PodcastSeasonContract.php | 2 + src/Contracts/PodcastSeriesContract.php | 2 + src/Contracts/PosterContract.php | 2 + .../PresentationDigitalDocumentContract.php | 2 + src/Contracts/ProductCollectionContract.php | 2 + src/Contracts/ProfilePageContract.php | 2 + src/Contracts/PropertyValueContract.php | 2 + src/Contracts/PublicationIssueContract.php | 2 + src/Contracts/PublicationVolumeContract.php | 2 + src/Contracts/QAPageContract.php | 2 + src/Contracts/QuestionContract.php | 2 + src/Contracts/QuizContract.php | 2 + src/Contracts/QuotationContract.php | 2 + src/Contracts/RadioClipContract.php | 2 + src/Contracts/RadioEpisodeContract.php | 2 + src/Contracts/RadioSeasonContract.php | 2 + src/Contracts/RadioSeriesContract.php | 2 + src/Contracts/RealEstateListingContract.php | 2 + src/Contracts/RecipeContract.php | 2 + src/Contracts/RecommendationContract.php | 2 + src/Contracts/ReportContract.php | 2 + .../ReportageNewsArticleContract.php | 2 + src/Contracts/ReviewContract.php | 2 + src/Contracts/ReviewNewsArticleContract.php | 2 + src/Contracts/RoomContract.php | 4 + src/Contracts/SatiricalArticleContract.php | 2 + src/Contracts/ScholarlyArticleContract.php | 2 + src/Contracts/SculptureContract.php | 2 + src/Contracts/SearchResultsPageContract.php | 2 + src/Contracts/SeasonContract.php | 2 + src/Contracts/SheetMusicContract.php | 2 + src/Contracts/ShortStoryContract.php | 2 + .../SingleFamilyResidenceContract.php | 2 + .../SiteNavigationElementContract.php | 2 + src/Contracts/SocialMediaPostingContract.php | 2 + src/Contracts/SoftwareApplicationContract.php | 2 + src/Contracts/SoftwareSourceCodeContract.php | 2 + src/Contracts/SpecialAnnouncementContract.php | 2 + .../SpreadsheetDigitalDocumentContract.php | 2 + src/Contracts/StatementContract.php | 2 + .../StatisticalPopulationContract.php | 4 - src/Contracts/StatisticalVariableContract.php | 46 + src/Contracts/SyllabusContract.php | 258 ++ src/Contracts/TVClipContract.php | 2 + src/Contracts/TVEpisodeContract.php | 2 + src/Contracts/TVSeasonContract.php | 2 + src/Contracts/TVSeriesContract.php | 2 + src/Contracts/TableContract.php | 2 + src/Contracts/TechArticleContract.php | 2 + src/Contracts/TextDigitalDocumentContract.php | 2 + src/Contracts/ThesisContract.php | 2 + .../ThreeDimensionalModelContract.php | 2 + src/Contracts/UserReviewContract.php | 2 + src/Contracts/VacationRentalContract.php | 252 ++ src/Contracts/VideoGalleryContract.php | 2 + src/Contracts/VideoGameClipContract.php | 2 + src/Contracts/VideoGameContract.php | 2 + src/Contracts/VideoGameSeriesContract.php | 2 + src/Contracts/VisualArtworkContract.php | 2 + src/Contracts/WPAdBlockContract.php | 2 + src/Contracts/WPFooterContract.php | 2 + src/Contracts/WPHeaderContract.php | 2 + src/Contracts/WPSideBarContract.php | 2 + src/Contracts/WebApplicationContract.php | 2 + src/Contracts/WebContentContract.php | 2 + src/Contracts/WebPageContract.php | 2 + src/Contracts/WebPageElementContract.php | 2 + src/Contracts/WebSiteContract.php | 2 + src/ControlAction.php | 12 +- src/ConvenienceStore.php | 36 +- src/Conversation.php | 38 +- src/CookAction.php | 12 +- src/Corporation.php | 34 +- src/CorrectionComment.php | 38 +- src/Country.php | 18 +- src/Course.php | 105 +- src/CourseInstance.php | 30 +- src/Courthouse.php | 18 +- src/CoverArt.php | 39 +- src/CovidTestingFacility.php | 36 +- src/CreateAction.php | 12 +- src/CreativeWork.php | 39 +- src/CreativeWorkSeason.php | 38 +- src/CreativeWorkSeries.php | 39 +- src/CreditCard.php | 29 +- src/Crematorium.php | 18 +- src/CriticReview.php | 38 +- src/CurrencyConversionService.php | 19 +- src/DDxElement.php | 13 +- src/DanceEvent.php | 14 +- src/DanceGroup.php | 33 +- src/DataCatalog.php | 89 +- src/DataDownload.php | 89 +- src/DataFeed.php | 94 +- src/DataFeedItem.php | 12 +- src/Dataset.php | 95 +- src/DatedMoneySpecification.php | 12 +- src/DayOfWeek.php | 14 +- src/DaySpa.php | 36 +- src/DeactivateAction.php | 12 +- src/DefenceEstablishment.php | 18 +- src/DefinedRegion.php | 12 +- src/DefinedTerm.php | 12 +- src/DefinedTermSet.php | 38 +- src/DeleteAction.php | 12 +- src/DeliveryChargeSpecification.php | 22 +- src/DeliveryEvent.php | 14 +- src/DeliveryMethod.php | 14 +- src/DeliveryTimeSettings.php | 12 +- src/Demand.php | 38 +- src/Dentist.php | 36 +- src/DepartAction.php | 12 +- src/DepartmentStore.php | 36 +- src/DepositAccount.php | 22 +- src/DiagnosticLab.php | 33 +- src/DiagnosticProcedure.php | 13 +- src/Diet.php | 38 +- src/DietarySupplement.php | 30 +- src/DigitalDocument.php | 38 +- src/DigitalDocumentPermission.php | 12 +- src/DigitalDocumentPermissionType.php | 12 +- src/DigitalPlatformEnumeration.php | 12 +- src/DisagreeAction.php | 12 +- src/DiscoverAction.php | 12 +- src/DiscussionForumPosting.php | 42 +- src/DislikeAction.php | 12 +- src/Distance.php | 12 +- src/Distillery.php | 37 +- src/DonateAction.php | 13 +- src/DoseSchedule.php | 13 +- src/DownloadAction.php | 12 +- src/DrawAction.php | 12 +- src/Drawing.php | 38 +- src/DrinkAction.php | 12 +- src/DriveWheelConfigurationValue.php | 24 +- src/Drug.php | 30 +- src/DrugClass.php | 13 +- src/DrugCost.php | 13 +- src/DrugCostCategory.php | 12 +- src/DrugLegalStatus.php | 13 +- src/DrugPregnancyCategory.php | 12 +- src/DrugPrescriptionStatus.php | 12 +- src/DrugStrength.php | 13 +- src/DryCleaningOrLaundry.php | 36 +- src/Duration.php | 12 +- src/EUEnergyEfficiencyEnumeration.php | 12 +- src/EatAction.php | 12 +- src/EducationEvent.php | 14 +- src/EducationalAudience.php | 13 +- src/EducationalOccupationalCredential.php | 38 +- src/EducationalOccupationalProgram.php | 13 +- src/EducationalOrganization.php | 36 +- src/Electrician.php | 36 +- src/ElectronicsStore.php | 36 +- src/ElementarySchool.php | 36 +- src/EmailMessage.php | 38 +- src/Embassy.php | 18 +- src/EmergencyService.php | 36 +- src/EmployeeRole.php | 12 +- src/EmployerAggregateRating.php | 12 +- src/EmployerReview.php | 38 +- src/EmploymentAgency.php | 36 +- src/EndorseAction.php | 12 +- src/EndorsementRating.php | 12 +- src/Energy.php | 12 +- src/EnergyConsumptionDetails.php | 12 +- src/EnergyEfficiencyEnumeration.php | 12 +- src/EnergyStarEnergyEfficiencyEnumeration.php | 12 +- src/EngineSpecification.php | 18 +- src/EntertainmentBusiness.php | 36 +- src/EntryPoint.php | 13 +- src/Enumeration.php | 12 +- src/Episode.php | 38 +- src/Event.php | 14 +- src/EventAttendanceModeEnumeration.php | 12 +- src/EventReservation.php | 12 +- src/EventSeries.php | 14 +- src/EventStatusType.php | 12 +- src/EventVenue.php | 18 +- src/ExchangeRateSpecification.php | 15 +- src/ExerciseAction.php | 12 +- src/ExerciseGym.php | 36 +- src/ExercisePlan.php | 38 +- src/ExhibitionEvent.php | 14 +- src/FAQPage.php | 38 +- src/FMRadioChannel.php | 12 +- src/FastFoodRestaurant.php | 37 +- src/Festival.php | 14 +- src/FilmAction.php | 12 +- src/FinancialProduct.php | 19 +- src/FinancialService.php | 37 +- src/FindAction.php | 12 +- src/FireStation.php | 36 +- src/Flight.php | 15 +- src/FlightReservation.php | 12 +- src/FloorPlan.php | 16 +- src/Florist.php | 36 +- src/FollowAction.php | 12 +- src/FoodEstablishment.php | 37 +- src/FoodEstablishmentReservation.php | 12 +- src/FoodEvent.php | 14 +- src/FoodService.php | 16 +- src/FundingAgency.php | 33 +- src/FundingScheme.php | 33 +- src/FurnitureStore.php | 36 +- src/Game.php | 38 +- src/GameAvailabilityEnumeration.php | 12 +- src/GamePlayMode.php | 12 +- src/GameServer.php | 12 +- src/GameServerStatus.php | 12 +- src/GardenStore.php | 36 +- src/GasStation.php | 36 +- src/GatedResidenceCommunity.php | 18 +- src/GenderType.php | 12 +- src/Gene.php | 30 +- src/GeneralContractor.php | 36 +- src/GeoCircle.php | 12 +- src/GeoCoordinates.php | 12 +- src/GeoShape.php | 13 +- src/GeospatialGeometry.php | 12 +- src/GiveAction.php | 12 +- src/GolfCourse.php | 36 +- src/GovernmentBenefitsType.php | 12 +- src/GovernmentBuilding.php | 18 +- src/GovernmentOffice.php | 36 +- src/GovernmentOrganization.php | 33 +- src/GovernmentPermit.php | 13 +- src/GovernmentService.php | 15 +- src/Grant.php | 12 +- src/Graph.php | 5 + src/GroceryStore.php | 36 +- src/Guide.php | 38 +- src/HVACBusiness.php | 36 +- src/Hackathon.php | 14 +- src/HairSalon.php | 36 +- src/HardwareStore.php | 36 +- src/HealthAndBeautyBusiness.php | 36 +- src/HealthAspectEnumeration.php | 12 +- src/HealthClub.php | 36 +- src/HealthInsurancePlan.php | 12 +- src/HealthPlanCostSharingSpecification.php | 12 +- src/HealthPlanFormulary.php | 12 +- src/HealthPlanNetwork.php | 12 +- src/HealthTopicContent.php | 38 +- src/HighSchool.php | 36 +- src/HinduTemple.php | 18 +- src/HobbyShop.php | 36 +- src/HomeAndConstructionBusiness.php | 36 +- src/HomeGoodsStore.php | 36 +- src/Hospital.php | 36 +- src/Hostel.php | 39 +- src/Hotel.php | 40 +- src/HotelRoom.php | 25 +- src/House.php | 59 +- src/HousePainter.php | 36 +- src/HowTo.php | 38 +- src/HowToDirection.php | 38 +- src/HowToItem.php | 12 +- src/HowToSection.php | 38 +- src/HowToStep.php | 38 +- src/HowToSupply.php | 12 +- src/HowToTip.php | 38 +- src/HowToTool.php | 12 +- src/HyperToc.php | 38 +- src/HyperTocEntry.php | 38 +- src/IceCreamShop.php | 37 +- src/IgnoreAction.php | 12 +- src/ImageGallery.php | 38 +- src/ImageObject.php | 24 +- src/ImageObjectSnapshot.php | 24 +- src/ImagingTest.php | 13 +- src/IndividualProduct.php | 32 +- src/InfectiousAgentClass.php | 12 +- src/InfectiousDisease.php | 13 +- src/InformAction.php | 12 +- src/InsertAction.php | 12 +- src/InstallAction.php | 12 +- src/InsuranceAgency.php | 37 +- src/Intangible.php | 12 +- src/InteractAction.php | 12 +- src/InteractionCounter.php | 12 +- src/InternetCafe.php | 36 +- src/InvestmentFund.php | 19 +- src/InvestmentOrDeposit.php | 19 +- src/InviteAction.php | 12 +- src/Invoice.php | 12 +- src/ItemAvailability.php | 12 +- src/ItemList.php | 12 +- src/ItemListOrderType.php | 12 +- src/ItemPage.php | 38 +- src/JewelryStore.php | 36 +- src/JobPosting.php | 13 +- src/JoinAction.php | 12 +- src/Joint.php | 13 +- src/LakeBodyOfWater.php | 18 +- src/Landform.php | 18 +- src/LandmarksOrHistoricalBuildings.php | 18 +- src/Language.php | 12 +- src/LearningResource.php | 38 +- src/LeaveAction.php | 12 +- src/LegalForceStatus.php | 16 +- src/LegalService.php | 36 +- src/LegalValueLevel.php | 17 +- src/Legislation.php | 51 +- src/LegislationObject.php | 52 +- src/LegislativeBuilding.php | 18 +- src/LendAction.php | 12 +- src/Library.php | 36 +- src/LibrarySystem.php | 33 +- src/LifestyleModification.php | 13 +- src/Ligament.php | 13 +- src/LikeAction.php | 12 +- src/LinkRole.php | 12 +- src/LiquorStore.php | 36 +- src/ListItem.php | 12 +- src/ListenAction.php | 12 +- src/LiteraryEvent.php | 14 +- src/LiveBlogPosting.php | 42 +- src/LoanOrCredit.php | 26 +- src/LocalBusiness.php | 36 +- src/LocationFeatureSpecification.php | 73 +- src/Locksmith.php | 36 +- src/LodgingBusiness.php | 39 +- src/LodgingReservation.php | 12 +- src/LoseAction.php | 12 +- src/LymphaticVessel.php | 13 +- src/Manuscript.php | 38 +- src/Map.php | 38 +- src/MapCategoryType.php | 12 +- src/MarryAction.php | 12 +- src/Mass.php | 12 +- src/MathSolver.php | 38 +- src/MaximumDoseSchedule.php | 13 +- src/MeasurementMethodEnum.php | 221 ++ src/MeasurementTypeEnumeration.php | 12 +- src/MediaGallery.php | 38 +- src/MediaManipulationRatingEnumeration.php | 12 +- src/MediaObject.php | 38 +- src/MediaReview.php | 38 +- src/MediaReviewItem.php | 38 +- src/MediaSubscription.php | 12 +- src/MedicalAudience.php | 12 +- src/MedicalAudienceType.php | 12 +- src/MedicalBusiness.php | 36 +- src/MedicalCause.php | 13 +- src/MedicalClinic.php | 36 +- src/MedicalCode.php | 13 +- src/MedicalCondition.php | 13 +- src/MedicalConditionStage.php | 13 +- src/MedicalContraindication.php | 13 +- src/MedicalDevice.php | 13 +- src/MedicalDevicePurpose.php | 12 +- src/MedicalEntity.php | 13 +- src/MedicalEnumeration.php | 12 +- src/MedicalEvidenceLevel.php | 12 +- src/MedicalGuideline.php | 13 +- src/MedicalGuidelineContraindication.php | 13 +- src/MedicalGuidelineRecommendation.php | 13 +- src/MedicalImagingTechnique.php | 12 +- src/MedicalIndication.php | 13 +- src/MedicalIntangible.php | 13 +- src/MedicalObservationalStudy.php | 13 +- src/MedicalObservationalStudyDesign.php | 12 +- src/MedicalOrganization.php | 33 +- src/MedicalProcedure.php | 13 +- src/MedicalProcedureType.php | 12 +- src/MedicalRiskCalculator.php | 13 +- src/MedicalRiskEstimator.php | 13 +- src/MedicalRiskFactor.php | 13 +- src/MedicalRiskScore.php | 13 +- src/MedicalScholarlyArticle.php | 42 +- src/MedicalSign.php | 13 +- src/MedicalSignOrSymptom.php | 13 +- src/MedicalSpecialty.php | 12 +- src/MedicalStudy.php | 13 +- src/MedicalStudyStatus.php | 12 +- src/MedicalSymptom.php | 13 +- src/MedicalTest.php | 13 +- src/MedicalTestPanel.php | 13 +- src/MedicalTherapy.php | 13 +- src/MedicalTrial.php | 13 +- src/MedicalTrialDesign.php | 13 +- src/MedicalWebPage.php | 38 +- src/MedicineSystem.php | 12 +- src/MeetingRoom.php | 59 +- src/MensClothingStore.php | 36 +- src/Menu.php | 38 +- src/MenuItem.php | 12 +- src/MenuSection.php | 38 +- src/MerchantReturnEnumeration.php | 12 +- src/MerchantReturnPolicy.php | 12 +- src/MerchantReturnPolicySeasonalOverride.php | 12 +- src/Message.php | 38 +- src/MiddleSchool.php | 36 +- src/MobileApplication.php | 38 +- src/MobilePhoneStore.php | 36 +- src/MolecularEntity.php | 35 +- src/MonetaryAmount.php | 21 +- src/MonetaryAmountDistribution.php | 12 +- src/MonetaryGrant.php | 12 +- src/MoneyTransfer.php | 14 +- src/MortgageLoan.php | 28 +- src/Mosque.php | 18 +- src/Motel.php | 39 +- src/Motorcycle.php | 67 +- src/MotorcycleDealer.php | 36 +- src/MotorcycleRepair.php | 36 +- src/MotorizedBicycle.php | 67 +- src/Mountain.php | 18 +- src/MoveAction.php | 12 +- src/Movie.php | 38 +- src/MovieClip.php | 38 +- src/MovieRentalStore.php | 36 +- src/MovieSeries.php | 39 +- src/MovieTheater.php | 36 +- src/MovingCompany.php | 36 +- src/MultiTypedEntity.php | 9 +- src/Muscle.php | 13 +- src/Museum.php | 18 +- src/MusicAlbum.php | 41 +- src/MusicAlbumProductionType.php | 22 +- src/MusicAlbumReleaseType.php | 17 +- src/MusicComposition.php | 49 +- src/MusicEvent.php | 14 +- src/MusicGroup.php | 34 +- src/MusicPlaylist.php | 39 +- src/MusicRecording.php | 40 +- src/MusicRelease.php | 45 +- src/MusicReleaseFormatType.php | 20 +- src/MusicStore.php | 36 +- src/MusicVenue.php | 18 +- src/MusicVideoObject.php | 38 +- src/NGO.php | 33 +- src/NLNonprofitType.php | 12 +- src/NailSalon.php | 36 +- src/Nerve.php | 13 +- src/NewsArticle.php | 42 +- src/NewsMediaOrganization.php | 38 +- src/Newspaper.php | 39 +- src/NightClub.php | 36 +- src/NonprofitType.php | 12 +- src/Notary.php | 36 +- src/NoteDigitalDocument.php | 38 +- src/NutritionInformation.php | 12 +- src/Observation.php | 309 ++- src/Occupation.php | 12 +- src/OccupationalExperienceRequirements.php | 12 +- src/OccupationalTherapy.php | 13 +- src/OceanBodyOfWater.php | 18 +- src/Offer.php | 39 +- src/OfferCatalog.php | 12 +- src/OfferForLease.php | 38 +- src/OfferForPurchase.php | 38 +- src/OfferItemCondition.php | 12 +- src/OfferShippingDetails.php | 14 +- src/OfficeEquipmentStore.php | 36 +- src/OnDemandEvent.php | 14 +- src/OnlineBusiness.php | 33 +- src/OnlineStore.php | 33 +- src/OpeningHoursSpecification.php | 18 +- src/OpinionNewsArticle.php | 43 +- src/Optician.php | 36 +- src/Order.php | 12 +- src/OrderAction.php | 13 +- src/OrderItem.php | 12 +- src/OrderStatus.php | 12 +- src/Organization.php | 33 +- src/OrganizationRole.php | 12 +- src/OrganizeAction.php | 12 +- src/OutletStore.php | 36 +- src/OwnershipInfo.php | 17 +- src/PaintAction.php | 12 +- src/Painting.php | 38 +- src/PalliativeProcedure.php | 13 +- src/ParcelDelivery.php | 12 +- src/ParentAudience.php | 12 +- src/Park.php | 18 +- src/ParkingFacility.php | 18 +- src/PathologyTest.php | 13 +- src/Patient.php | 26 +- src/PawnShop.php | 36 +- src/PayAction.php | 13 +- src/PaymentCard.php | 23 +- src/PaymentChargeSpecification.php | 22 +- src/PaymentMethod.php | 13 +- src/PaymentService.php | 19 +- src/PaymentStatusType.php | 12 +- src/PeopleAudience.php | 12 +- src/PerformAction.php | 12 +- src/PerformanceRole.php | 12 +- src/PerformingArtsTheater.php | 18 +- src/PerformingGroup.php | 33 +- src/Periodical.php | 40 +- src/Permit.php | 13 +- src/Person.php | 27 +- src/PetStore.php | 36 +- src/Pharmacy.php | 36 +- src/Photograph.php | 38 +- src/PhotographAction.php | 12 +- src/PhysicalActivity.php | 13 +- src/PhysicalActivityCategory.php | 12 +- src/PhysicalExam.php | 13 +- src/PhysicalTherapy.php | 13 +- src/Physician.php | 36 +- src/Place.php | 18 +- src/PlaceOfWorship.php | 18 +- src/PlanAction.php | 12 +- src/Play.php | 38 +- src/PlayAction.php | 12 +- src/PlayGameAction.php | 12 +- src/Playground.php | 18 +- src/Plumber.php | 36 +- src/PodcastEpisode.php | 38 +- src/PodcastSeason.php | 38 +- src/PodcastSeries.php | 39 +- src/PoliceStation.php | 36 +- src/Pond.php | 18 +- src/PostOffice.php | 36 +- src/PostalAddress.php | 12 +- src/PostalCodeRangeSpecification.php | 12 +- src/Poster.php | 38 +- src/PreOrderAction.php | 13 +- src/PrependAction.php | 12 +- src/Preschool.php | 36 +- src/PresentationDigitalDocument.php | 38 +- src/PreventionIndication.php | 13 +- src/PriceComponentTypeEnumeration.php | 12 +- src/PriceSpecification.php | 20 +- src/PriceTypeEnumeration.php | 12 +- src/Product.php | 31 +- src/ProductCollection.php | 56 +- src/ProductGroup.php | 32 +- src/ProductModel.php | 33 +- src/ProductReturnEnumeration.php | 12 +- src/ProductReturnPolicy.php | 12 +- src/ProfessionalService.php | 36 +- src/ProfilePage.php | 38 +- src/ProgramMembership.php | 12 +- src/Project.php | 33 +- src/Property.php | 12 +- src/PropertyValue.php | 71 +- src/PropertyValueSpecification.php | 15 +- src/Protein.php | 35 +- src/PsychologicalTreatment.php | 13 +- src/PublicSwimmingPool.php | 36 +- src/PublicToilet.php | 18 +- src/PublicationEvent.php | 14 +- src/PublicationIssue.php | 43 +- src/PublicationVolume.php | 43 +- src/QAPage.php | 38 +- src/QualitativeValue.php | 20 +- src/QuantitativeValue.php | 21 +- src/QuantitativeValueDistribution.php | 12 +- src/Quantity.php | 12 +- src/Question.php | 39 +- src/Quiz.php | 38 +- src/Quotation.php | 38 +- src/QuoteAction.php | 13 +- src/RVPark.php | 18 +- src/RadiationTherapy.php | 13 +- src/RadioBroadcastService.php | 15 +- src/RadioChannel.php | 12 +- src/RadioClip.php | 38 +- src/RadioEpisode.php | 38 +- src/RadioSeason.php | 38 +- src/RadioSeries.php | 39 +- src/RadioStation.php | 36 +- src/Rating.php | 12 +- src/ReactAction.php | 12 +- src/ReadAction.php | 12 +- src/RealEstateAgent.php | 36 +- src/RealEstateListing.php | 38 +- src/ReceiveAction.php | 12 +- src/Recipe.php | 38 +- src/Recommendation.php | 38 +- src/RecommendedDoseSchedule.php | 13 +- src/RecyclingCenter.php | 36 +- src/RefundTypeEnumeration.php | 12 +- src/RegisterAction.php | 12 +- src/RejectAction.php | 12 +- src/RentAction.php | 13 +- src/RentalCarReservation.php | 12 +- src/RepaymentSpecification.php | 18 +- src/ReplaceAction.php | 12 +- src/ReplyAction.php | 12 +- src/Report.php | 42 +- src/ReportageNewsArticle.php | 43 +- src/ReportedDoseSchedule.php | 13 +- src/ResearchOrganization.php | 33 +- src/ResearchProject.php | 33 +- src/Researcher.php | 12 +- src/Reservation.php | 12 +- src/ReservationPackage.php | 12 +- src/ReservationStatusType.php | 12 +- src/ReserveAction.php | 12 +- src/Reservoir.php | 18 +- src/Residence.php | 18 +- src/Resort.php | 40 +- src/Restaurant.php | 37 +- src/RestrictedDiet.php | 12 +- src/ResumeAction.php | 12 +- src/ReturnAction.php | 12 +- src/ReturnFeesEnumeration.php | 12 +- src/ReturnLabelSourceEnumeration.php | 12 +- src/ReturnMethodEnumeration.php | 12 +- src/Review.php | 38 +- src/ReviewAction.php | 12 +- src/ReviewNewsArticle.php | 43 +- src/RiverBodyOfWater.php | 18 +- src/Role.php | 12 +- src/RoofingContractor.php | 36 +- src/Room.php | 59 +- src/RsvpAction.php | 12 +- src/RsvpResponseType.php | 12 +- src/SaleEvent.php | 14 +- src/SatiricalArticle.php | 43 +- src/Schedule.php | 12 +- src/ScheduleAction.php | 12 +- src/Schema.php | 25 + src/ScholarlyArticle.php | 42 +- src/School.php | 36 +- src/SchoolDistrict.php | 18 +- src/ScreeningEvent.php | 14 +- src/Sculpture.php | 38 +- src/SeaBodyOfWater.php | 18 +- src/SearchAction.php | 12 +- src/SearchRescueOrganization.php | 33 +- src/SearchResultsPage.php | 38 +- src/Season.php | 38 +- src/Seat.php | 12 +- src/SeekToAction.php | 12 +- src/SelfStorage.php | 36 +- src/SellAction.php | 13 +- src/SendAction.php | 12 +- src/Series.php | 12 +- src/Service.php | 15 +- src/ServiceChannel.php | 12 +- src/ShareAction.php | 12 +- src/SheetMusic.php | 38 +- src/ShippingDeliveryTime.php | 12 +- src/ShippingRateSettings.php | 12 +- src/ShoeStore.php | 36 +- src/ShoppingCenter.php | 36 +- src/ShortStory.php | 38 +- src/SingleFamilyResidence.php | 41 +- src/SiteNavigationElement.php | 38 +- src/SizeGroupEnumeration.php | 12 +- src/SizeSpecification.php | 19 +- src/SizeSystemEnumeration.php | 12 +- src/SkiResort.php | 39 +- src/SocialEvent.php | 14 +- src/SocialMediaPosting.php | 42 +- src/SoftwareApplication.php | 38 +- src/SoftwareSourceCode.php | 38 +- src/SolveMathAction.php | 12 +- src/SomeProducts.php | 32 +- src/SpeakableSpecification.php | 12 +- src/SpecialAnnouncement.php | 38 +- src/Specialty.php | 12 +- src/SportingGoodsStore.php | 36 +- src/SportsActivityLocation.php | 36 +- src/SportsClub.php | 36 +- src/SportsEvent.php | 14 +- src/SportsOrganization.php | 33 +- src/SportsTeam.php | 33 +- src/SpreadsheetDigitalDocument.php | 38 +- src/StadiumOrArena.php | 36 +- src/State.php | 18 +- src/Statement.php | 38 +- src/StatisticalPopulation.php | 56 +- src/StatisticalVariable.php | 402 ++++ src/StatusEnumeration.php | 12 +- src/SteeringPositionValue.php | 22 +- src/Store.php | 36 +- src/StructuredValue.php | 12 +- src/StupidType.php | 12 +- src/SubscribeAction.php | 12 +- src/Substance.php | 13 +- src/SubwayStation.php | 18 +- src/Suite.php | 25 +- src/SuperficialAnatomy.php | 13 +- src/SurgicalProcedure.php | 13 +- src/SuspendAction.php | 12 +- src/Syllabus.php | 2108 +++++++++++++++++ src/Synagogue.php | 18 +- src/TVClip.php | 38 +- src/TVEpisode.php | 38 +- src/TVSeason.php | 38 +- src/TVSeries.php | 39 +- src/Table.php | 38 +- src/TakeAction.php | 12 +- src/TattooParlor.php | 36 +- src/Taxi.php | 15 +- src/TaxiReservation.php | 12 +- src/TaxiService.php | 15 +- src/TaxiStand.php | 18 +- src/Taxon.php | 16 +- src/TechArticle.php | 42 +- src/TelevisionChannel.php | 12 +- src/TelevisionStation.php | 36 +- src/TennisComplex.php | 36 +- src/TextDigitalDocument.php | 38 +- src/TheaterEvent.php | 14 +- src/TheaterGroup.php | 33 +- src/TherapeuticProcedure.php | 13 +- src/Thesis.php | 38 +- src/Thing.php | 12 +- src/ThreeDimensionalModel.php | 38 +- src/Ticket.php | 12 +- src/TieAction.php | 12 +- src/TipAction.php | 13 +- src/TireShop.php | 36 +- src/TouristAttraction.php | 18 +- src/TouristDestination.php | 20 +- src/TouristInformationCenter.php | 36 +- src/TouristTrip.php | 16 +- src/ToyStore.php | 36 +- src/TrackAction.php | 12 +- src/TradeAction.php | 13 +- src/TrainReservation.php | 12 +- src/TrainStation.php | 18 +- src/TrainTrip.php | 15 +- src/TransferAction.php | 12 +- src/TravelAction.php | 12 +- src/TravelAgency.php | 36 +- src/TreatmentIndication.php | 13 +- src/Trip.php | 16 +- src/TypeAndQuantityNode.php | 17 +- src/UKNonprofitType.php | 12 +- src/USNonprofitType.php | 12 +- src/UnRegisterAction.php | 12 +- src/UnitPriceSpecification.php | 23 +- src/UpdateAction.php | 12 +- src/UseAction.php | 12 +- src/UserBlocks.php | 14 +- src/UserCheckins.php | 14 +- src/UserComments.php | 15 +- src/UserDownloads.php | 14 +- src/UserInteraction.php | 14 +- src/UserLikes.php | 14 +- src/UserPageVisits.php | 14 +- src/UserPlays.php | 14 +- src/UserPlusOnes.php | 14 +- src/UserReview.php | 38 +- src/UserTweets.php | 14 +- src/VacationRental.php | 1970 +++++++++++++++ src/Vehicle.php | 66 +- src/Vein.php | 13 +- src/Vessel.php | 13 +- src/VeterinaryCare.php | 33 +- src/VideoGallery.php | 38 +- src/VideoGame.php | 38 +- src/VideoGameClip.php | 38 +- src/VideoGameSeries.php | 39 +- src/VideoObject.php | 25 +- src/VideoObjectSnapshot.php | 24 +- src/ViewAction.php | 12 +- src/VirtualLocation.php | 12 +- src/VisualArtsEvent.php | 14 +- src/VisualArtwork.php | 40 +- src/VitalSign.php | 13 +- src/Volcano.php | 18 +- src/VoteAction.php | 12 +- src/WPAdBlock.php | 38 +- src/WPFooter.php | 38 +- src/WPHeader.php | 38 +- src/WPSideBar.php | 38 +- src/WantAction.php | 12 +- src/WarrantyPromise.php | 15 +- src/WarrantyScope.php | 13 +- src/WatchAction.php | 12 +- src/Waterfall.php | 18 +- src/WearAction.php | 12 +- src/WearableMeasurementTypeEnumeration.php | 12 +- src/WearableSizeGroupEnumeration.php | 12 +- src/WearableSizeSystemEnumeration.php | 12 +- src/WebAPI.php | 15 +- src/WebApplication.php | 38 +- src/WebContent.php | 38 +- src/WebPage.php | 38 +- src/WebPageElement.php | 38 +- src/WebSite.php | 39 +- src/WholesaleStore.php | 36 +- src/WinAction.php | 12 +- src/Winery.php | 37 +- src/WorkBasedProgram.php | 13 +- src/WorkersUnion.php | 33 +- src/WriteAction.php | 12 +- src/Zoo.php | 18 +- 1073 files changed, 18910 insertions(+), 8793 deletions(-) create mode 100644 src/ConstraintNode.php create mode 100644 src/Contracts/ConstraintNodeContract.php create mode 100644 src/Contracts/MeasurementMethodEnumContract.php create mode 100644 src/Contracts/StatisticalVariableContract.php create mode 100644 src/Contracts/SyllabusContract.php create mode 100644 src/Contracts/VacationRentalContract.php create mode 100644 src/MeasurementMethodEnum.php create mode 100644 src/StatisticalVariable.php create mode 100644 src/Syllabus.php create mode 100644 src/VacationRental.php diff --git a/generator/Console/GenerateCommand.php b/generator/Console/GenerateCommand.php index 92e6ca31c..9cae6ecf0 100644 --- a/generator/Console/GenerateCommand.php +++ b/generator/Console/GenerateCommand.php @@ -31,7 +31,7 @@ protected function execute(InputInterface $input, OutputInterface $output) $generator = new PackageGenerator(); $definitions = new Definitions([ - 'core' => 'https://raw.githubusercontent.com/schemaorg/schemaorg/main/data/releases/15.0/schemaorg-all-https.jsonld', + 'core' => 'https://raw.githubusercontent.com/schemaorg/schemaorg/main/data/releases/16.0/schemaorg-all-https.jsonld', ]); if (! $input->getOption('local')) { diff --git a/src/AMRadioChannel.php b/src/AMRadioChannel.php index a97e4a77f..3a3c30946 100644 --- a/src/AMRadioChannel.php +++ b/src/AMRadioChannel.php @@ -20,10 +20,14 @@ class AMRadioChannel extends BaseType implements AMRadioChannelContract, Broadca /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/APIReference.php b/src/APIReference.php index ca8c64a2e..987fc6bac 100644 --- a/src/APIReference.php +++ b/src/APIReference.php @@ -202,10 +202,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -456,6 +460,7 @@ public function awards($awards) * * @see https://schema.org/backstory * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function backstory($backstory) { @@ -661,6 +666,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -1004,7 +1010,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1089,6 +1094,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1118,7 +1124,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1256,7 +1261,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1525,7 +1530,6 @@ public function offers($offers) * @return static * * @see https://schema.org/pageEnd - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pageEnd($pageEnd) { @@ -1540,7 +1544,6 @@ public function pageEnd($pageEnd) * @return static * * @see https://schema.org/pageStart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pageStart($pageStart) { @@ -1556,7 +1559,6 @@ public function pageStart($pageStart) * @return static * * @see https://schema.org/pagination - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pagination($pagination) { @@ -2122,6 +2124,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2137,9 +2153,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2291,7 +2306,6 @@ public function wordCount($wordCount) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/AboutPage.php b/src/AboutPage.php index 6df57ce0e..76ce3f922 100644 --- a/src/AboutPage.php +++ b/src/AboutPage.php @@ -201,10 +201,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -599,6 +603,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -928,7 +933,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -999,6 +1003,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1028,7 +1033,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1166,7 +1170,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2059,6 +2063,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2074,9 +2092,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2214,7 +2231,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/AcceptAction.php b/src/AcceptAction.php index 490645039..09c67ecb1 100644 --- a/src/AcceptAction.php +++ b/src/AcceptAction.php @@ -37,10 +37,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/Accommodation.php b/src/Accommodation.php index 43644aa13..04f7a1d7b 100644 --- a/src/Accommodation.php +++ b/src/Accommodation.php @@ -11,13 +11,12 @@ * room, a camping pitch, or a meeting room. Many accommodations are for * overnight stays, but this is not a mandatory requirement. * For more specific types of accommodations not defined in schema.org, one can - * use additionalType with external vocabularies. + * use [[additionalType]] with external vocabularies. * * See also the dedicated document on the use of * schema.org for marking up hotels and other forms of accommodations. * * @see https://schema.org/Accommodation - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology * */ class Accommodation extends BaseType implements AccommodationContract, PlaceContract, ThingContract @@ -84,10 +83,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -154,13 +157,30 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { return $this->setProperty('amenityFeature', $amenityFeature); } + /** + * The type of bed or beds included in the accommodation. For the single + * case of just one bed of a certain type, you use bed directly with a text. + * If you want to indicate the quantity of a certain kind of bed, use + * an instance of BedDetails. For more detailed information, use the + * amenityFeature property. + * + * @param \Spatie\SchemaOrg\Contracts\BedDetailsContract|\Spatie\SchemaOrg\Contracts\BedDetailsContract[]|\Spatie\SchemaOrg\Contracts\BedTypeContract|\Spatie\SchemaOrg\Contracts\BedTypeContract[]|string|string[] $bed + * + * @return static + * + * @see https://schema.org/bed + */ + public function bed($bed) + { + return $this->setProperty('bed', $bed); + } + /** * A short textual code (also called "store code") that uniquely identifies * a place of business. The code is typically assigned by the @@ -328,7 +348,6 @@ public function floorLevel($floorLevel) * @return static * * @see https://schema.org/floorSize - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function floorSize($floorSize) { @@ -532,7 +551,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -630,7 +648,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -693,7 +710,6 @@ public function leaseLength($leaseLength) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -872,13 +888,30 @@ public function numberOfPartialBathrooms($numberOfPartialBathrooms) * @return static * * @see https://schema.org/numberOfRooms - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function numberOfRooms($numberOfRooms) { return $this->setProperty('numberOfRooms', $numberOfRooms); } + /** + * The allowed total occupancy for the accommodation in persons (including + * infants etc). For individual accommodations, this is not necessarily the + * legal maximum but defines the permitted usage as per the contractual + * agreement (e.g. a double room used by a single person). + * Typical unit code(s): C62 for person + * + * @param \Spatie\SchemaOrg\Contracts\QuantitativeValueContract|\Spatie\SchemaOrg\Contracts\QuantitativeValueContract[] $occupancy + * + * @return static + * + * @see https://schema.org/occupancy + */ + public function occupancy($occupancy) + { + return $this->setProperty('occupancy', $occupancy); + } + /** * The opening hours of a certain place. * @@ -887,7 +920,6 @@ public function numberOfRooms($numberOfRooms) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -902,7 +934,6 @@ public function openingHoursSpecification($openingHoursSpecification) * @return static * * @see https://schema.org/permittedUsage - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function permittedUsage($permittedUsage) { @@ -918,7 +949,6 @@ public function permittedUsage($permittedUsage) * @return static * * @see https://schema.org/petsAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function petsAllowed($petsAllowed) { @@ -1050,7 +1080,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/AccountingService.php b/src/AccountingService.php index 902c18338..a2dbe5929 100644 --- a/src/AccountingService.php +++ b/src/AccountingService.php @@ -32,6 +32,7 @@ class AccountingService extends BaseType implements AccountingServiceContract, F * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -63,10 +64,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -147,7 +152,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -328,6 +332,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -430,6 +435,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -448,6 +454,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -463,7 +470,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -585,7 +591,6 @@ public function faxNumber($faxNumber) * @return static * * @see https://schema.org/feesAndCommissionsSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#FIBO */ public function feesAndCommissionsSpecification($feesAndCommissionsSpecification) { @@ -673,6 +678,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -876,7 +882,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -972,7 +977,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1069,7 +1073,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1125,6 +1128,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1143,6 +1147,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1172,7 +1177,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1217,7 +1221,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1263,7 +1266,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1365,7 +1367,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1452,7 +1453,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1473,6 +1473,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1487,7 +1488,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1672,7 +1672,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1716,7 +1715,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1796,7 +1794,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1846,6 +1843,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1874,7 +1872,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/AchieveAction.php b/src/AchieveAction.php index 9a5cfec8a..48b99224d 100644 --- a/src/AchieveAction.php +++ b/src/AchieveAction.php @@ -32,10 +32,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/Action.php b/src/Action.php index fbd59f9e3..5fda173ef 100644 --- a/src/Action.php +++ b/src/Action.php @@ -16,7 +16,6 @@ * [Actions overview document](https://schema.org/docs/actions.html). * * @see https://schema.org/Action - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_ActionCollabClass * */ class Action extends BaseType implements ActionContract, ThingContract @@ -38,10 +37,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/ActionAccessSpecification.php b/src/ActionAccessSpecification.php index 146d75a3c..bb9f297cd 100644 --- a/src/ActionAccessSpecification.php +++ b/src/ActionAccessSpecification.php @@ -18,10 +18,14 @@ class ActionAccessSpecification extends BaseType implements ActionAccessSpecific /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -57,6 +61,7 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/availabilityEnds + * @link https://github.com/schemaorg/schemaorg/issues/1741 */ public function availabilityEnds($availabilityEnds) { @@ -72,6 +77,7 @@ public function availabilityEnds($availabilityEnds) * @return static * * @see https://schema.org/availabilityStarts + * @link https://github.com/schemaorg/schemaorg/issues/1741 */ public function availabilityStarts($availabilityStarts) { @@ -136,6 +142,7 @@ public function disambiguatingDescription($disambiguatingDescription) * @return static * * @see https://schema.org/eligibleRegion + * @link https://github.com/schemaorg/schemaorg/issues/1741 */ public function eligibleRegion($eligibleRegion) { diff --git a/src/ActionStatusType.php b/src/ActionStatusType.php index a18181f2e..33c084c54 100644 --- a/src/ActionStatusType.php +++ b/src/ActionStatusType.php @@ -50,10 +50,14 @@ class ActionStatusType extends BaseType implements ActionStatusTypeContract, Enu /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/ActivateAction.php b/src/ActivateAction.php index b907ea8c2..fa0f54d28 100644 --- a/src/ActivateAction.php +++ b/src/ActivateAction.php @@ -33,10 +33,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/AddAction.php b/src/AddAction.php index 94c6a8cf7..09199da54 100644 --- a/src/AddAction.php +++ b/src/AddAction.php @@ -32,10 +32,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/AdministrativeArea.php b/src/AdministrativeArea.php index 8a46c0417..069b15da4 100644 --- a/src/AdministrativeArea.php +++ b/src/AdministrativeArea.php @@ -40,10 +40,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -110,7 +114,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -451,7 +454,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -549,7 +551,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -595,7 +596,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -697,7 +697,6 @@ public function name($name) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -829,7 +828,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/AdultEntertainment.php b/src/AdultEntertainment.php index cb4e3e653..c5599f626 100644 --- a/src/AdultEntertainment.php +++ b/src/AdultEntertainment.php @@ -29,6 +29,7 @@ class AdultEntertainment extends BaseType implements AdultEntertainmentContract, * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/AdultOrientedEnumeration.php b/src/AdultOrientedEnumeration.php index 9ec0c7e71..35f58f6d5 100644 --- a/src/AdultOrientedEnumeration.php +++ b/src/AdultOrientedEnumeration.php @@ -127,10 +127,14 @@ class AdultOrientedEnumeration extends BaseType implements AdultOrientedEnumerat /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/AdvertiserContentArticle.php b/src/AdvertiserContentArticle.php index 7fe7dcca2..eeb2c5c13 100644 --- a/src/AdvertiserContentArticle.php +++ b/src/AdvertiserContentArticle.php @@ -15,6 +15,7 @@ * * @see https://schema.org/AdvertiserContentArticle * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 * */ class AdvertiserContentArticle extends BaseType implements AdvertiserContentArticleContract, ArticleContract, CreativeWorkContract, ThingContract @@ -205,10 +206,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -431,6 +436,7 @@ public function awards($awards) * * @see https://schema.org/backstory * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function backstory($backstory) { @@ -636,6 +642,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -965,7 +972,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1036,6 +1042,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1065,7 +1072,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1203,7 +1209,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1472,7 +1478,6 @@ public function offers($offers) * @return static * * @see https://schema.org/pageEnd - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pageEnd($pageEnd) { @@ -1487,7 +1492,6 @@ public function pageEnd($pageEnd) * @return static * * @see https://schema.org/pageStart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pageStart($pageStart) { @@ -1503,7 +1507,6 @@ public function pageStart($pageStart) * @return static * * @see https://schema.org/pagination - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pagination($pagination) { @@ -2026,6 +2029,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2041,9 +2058,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2195,7 +2211,6 @@ public function wordCount($wordCount) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/AggregateOffer.php b/src/AggregateOffer.php index f76abd9d3..8729f9f7d 100644 --- a/src/AggregateOffer.php +++ b/src/AggregateOffer.php @@ -30,7 +30,6 @@ class AggregateOffer extends BaseType implements AggregateOfferContract, Intangi * @return static * * @see https://schema.org/acceptedPaymentMethod - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function acceptedPaymentMethod($acceptedPaymentMethod) { @@ -47,7 +46,6 @@ public function acceptedPaymentMethod($acceptedPaymentMethod) * @return static * * @see https://schema.org/addOn - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function addOn($addOn) { @@ -57,10 +55,14 @@ public function addOn($addOn) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -82,7 +84,6 @@ public function additionalType($additionalType) * @return static * * @see https://schema.org/advanceBookingRequirement - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function advanceBookingRequirement($advanceBookingRequirement) { @@ -182,6 +183,7 @@ public function availability($availability) * @return static * * @see https://schema.org/availabilityEnds + * @link https://github.com/schemaorg/schemaorg/issues/1741 */ public function availabilityEnds($availabilityEnds) { @@ -197,6 +199,7 @@ public function availabilityEnds($availabilityEnds) * @return static * * @see https://schema.org/availabilityStarts + * @link https://github.com/schemaorg/schemaorg/issues/1741 */ public function availabilityStarts($availabilityStarts) { @@ -211,7 +214,6 @@ public function availabilityStarts($availabilityStarts) * @return static * * @see https://schema.org/availableAtOrFrom - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function availableAtOrFrom($availableAtOrFrom) { @@ -226,7 +228,6 @@ public function availableAtOrFrom($availableAtOrFrom) * @return static * * @see https://schema.org/availableDeliveryMethod - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function availableDeliveryMethod($availableDeliveryMethod) { @@ -243,7 +244,6 @@ public function availableDeliveryMethod($availableDeliveryMethod) * @return static * * @see https://schema.org/businessFunction - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function businessFunction($businessFunction) { @@ -295,7 +295,6 @@ public function checkoutPageURLTemplate($checkoutPageURLTemplate) * @return static * * @see https://schema.org/deliveryLeadTime - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function deliveryLeadTime($deliveryLeadTime) { @@ -341,7 +340,6 @@ public function disambiguatingDescription($disambiguatingDescription) * @return static * * @see https://schema.org/eligibleCustomerType - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function eligibleCustomerType($eligibleCustomerType) { @@ -356,7 +354,6 @@ public function eligibleCustomerType($eligibleCustomerType) * @return static * * @see https://schema.org/eligibleDuration - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function eligibleDuration($eligibleDuration) { @@ -373,7 +370,6 @@ public function eligibleDuration($eligibleDuration) * @return static * * @see https://schema.org/eligibleQuantity - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function eligibleQuantity($eligibleQuantity) { @@ -392,6 +388,7 @@ public function eligibleQuantity($eligibleQuantity) * @return static * * @see https://schema.org/eligibleRegion + * @link https://github.com/schemaorg/schemaorg/issues/1741 */ public function eligibleRegion($eligibleRegion) { @@ -409,7 +406,6 @@ public function eligibleRegion($eligibleRegion) * @return static * * @see https://schema.org/eligibleTransactionVolume - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function eligibleTransactionVolume($eligibleTransactionVolume) { @@ -489,7 +485,6 @@ public function gtin12($gtin12) * @return static * * @see https://schema.org/gtin13 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function gtin13($gtin13) { @@ -507,7 +502,6 @@ public function gtin13($gtin13) * @return static * * @see https://schema.org/gtin14 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function gtin14($gtin14) { @@ -525,7 +519,6 @@ public function gtin14($gtin14) * @return static * * @see https://schema.org/gtin8 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function gtin8($gtin8) { @@ -647,7 +640,6 @@ public function image($image) * @return static * * @see https://schema.org/includesObject - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function includesObject($includesObject) { @@ -683,7 +675,6 @@ public function ineligibleRegion($ineligibleRegion) * @return static * * @see https://schema.org/inventoryLevel - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function inventoryLevel($inventoryLevel) { @@ -834,7 +825,6 @@ public function mobileUrl($mobileUrl) * @return static * * @see https://schema.org/mpn - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function mpn($mpn) { @@ -989,7 +979,6 @@ public function priceCurrency($priceCurrency) * @return static * * @see https://schema.org/priceSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function priceSpecification($priceSpecification) { @@ -1079,7 +1068,6 @@ public function seller($seller) * @return static * * @see https://schema.org/serialNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function serialNumber($serialNumber) { @@ -1112,7 +1100,6 @@ public function shippingDetails($shippingDetails) * @return static * * @see https://schema.org/sku - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function sku($sku) { @@ -1156,7 +1143,6 @@ public function url($url) * @return static * * @see https://schema.org/validFrom - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function validFrom($validFrom) { @@ -1172,7 +1158,6 @@ public function validFrom($validFrom) * @return static * * @see https://schema.org/validThrough - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function validThrough($validThrough) { @@ -1187,7 +1172,6 @@ public function validThrough($validThrough) * @return static * * @see https://schema.org/warranty - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function warranty($warranty) { diff --git a/src/AggregateRating.php b/src/AggregateRating.php index fb682cb61..6e236b89d 100644 --- a/src/AggregateRating.php +++ b/src/AggregateRating.php @@ -18,10 +18,14 @@ class AggregateRating extends BaseType implements AggregateRatingContract, Intan /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/AgreeAction.php b/src/AgreeAction.php index 1082e3f8a..5da6b9c7a 100644 --- a/src/AgreeAction.php +++ b/src/AgreeAction.php @@ -34,10 +34,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/Airline.php b/src/Airline.php index 4a659b5a0..78cfdd083 100644 --- a/src/Airline.php +++ b/src/Airline.php @@ -26,6 +26,7 @@ class Airline extends BaseType implements AirlineContract, OrganizationContract, * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -35,10 +36,14 @@ public function actionableFeedbackPolicy($actionableFeedbackPolicy) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -219,6 +224,7 @@ public function contactPoints($contactPoints) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -299,6 +305,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -317,6 +324,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -332,7 +340,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -526,6 +533,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -543,7 +551,6 @@ public function funding($funding) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -605,7 +612,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -702,7 +708,6 @@ public function interactionStatistic($interactionStatistic) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -758,6 +763,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -776,6 +782,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -790,7 +797,6 @@ public function knowsLanguage($knowsLanguage) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -835,7 +841,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -866,7 +871,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -926,7 +930,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -992,6 +995,7 @@ public function numberOfEmployees($numberOfEmployees) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1006,7 +1010,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1120,7 +1123,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1211,7 +1213,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1243,6 +1244,7 @@ public function telephone($telephone) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1271,7 +1273,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/Airport.php b/src/Airport.php index b5982fa5e..4671fc815 100644 --- a/src/Airport.php +++ b/src/Airport.php @@ -40,10 +40,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -110,7 +114,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -451,7 +454,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -577,7 +579,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -623,7 +624,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -752,7 +752,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -884,7 +883,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/AlignmentObject.php b/src/AlignmentObject.php index 820e27798..257a52dd6 100644 --- a/src/AlignmentObject.php +++ b/src/AlignmentObject.php @@ -15,7 +15,6 @@ * [[assesses]] a competency. * * @see https://schema.org/AlignmentObject - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_LRMIClass * */ class AlignmentObject extends BaseType implements AlignmentObjectContract, IntangibleContract, ThingContract @@ -23,10 +22,14 @@ class AlignmentObject extends BaseType implements AlignmentObjectContract, Intan /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/AllocateAction.php b/src/AllocateAction.php index 227d9ccef..fa9a17c7b 100644 --- a/src/AllocateAction.php +++ b/src/AllocateAction.php @@ -32,10 +32,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/AmpStory.php b/src/AmpStory.php index 7d4e43c29..1aa24c2ce 100644 --- a/src/AmpStory.php +++ b/src/AmpStory.php @@ -204,10 +204,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -644,6 +648,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -1042,7 +1047,6 @@ public function endTime($endTime) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1113,6 +1117,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1142,7 +1147,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1315,7 +1319,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2156,6 +2160,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2171,9 +2189,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2339,7 +2356,6 @@ public function width($width) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/AmusementPark.php b/src/AmusementPark.php index 62bccb46b..8aa609ee2 100644 --- a/src/AmusementPark.php +++ b/src/AmusementPark.php @@ -29,6 +29,7 @@ class AmusementPark extends BaseType implements AmusementParkContract, Entertain * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/AnalysisNewsArticle.php b/src/AnalysisNewsArticle.php index 438ae399f..4b38f4599 100644 --- a/src/AnalysisNewsArticle.php +++ b/src/AnalysisNewsArticle.php @@ -15,6 +15,7 @@ * * @see https://schema.org/AnalysisNewsArticle * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 * */ class AnalysisNewsArticle extends BaseType implements AnalysisNewsArticleContract, ArticleContract, CreativeWorkContract, NewsArticleContract, ThingContract @@ -205,10 +206,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -431,6 +436,7 @@ public function awards($awards) * * @see https://schema.org/backstory * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function backstory($backstory) { @@ -636,6 +642,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -992,7 +999,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1063,6 +1069,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1092,7 +1099,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1230,7 +1236,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1499,7 +1505,6 @@ public function offers($offers) * @return static * * @see https://schema.org/pageEnd - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pageEnd($pageEnd) { @@ -1514,7 +1519,6 @@ public function pageEnd($pageEnd) * @return static * * @see https://schema.org/pageStart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pageStart($pageStart) { @@ -1530,7 +1534,6 @@ public function pageStart($pageStart) * @return static * * @see https://schema.org/pagination - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pagination($pagination) { @@ -2113,6 +2116,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2128,9 +2145,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2282,7 +2298,6 @@ public function wordCount($wordCount) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/AnatomicalStructure.php b/src/AnatomicalStructure.php index f330bf5d4..a45b944cb 100644 --- a/src/AnatomicalStructure.php +++ b/src/AnatomicalStructure.php @@ -19,10 +19,14 @@ class AnatomicalStructure extends BaseType implements AnatomicalStructureContrac /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -169,6 +173,7 @@ public function disambiguatingDescription($disambiguatingDescription) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/AnatomicalSystem.php b/src/AnatomicalSystem.php index 1e856e7a5..847e1b533 100644 --- a/src/AnatomicalSystem.php +++ b/src/AnatomicalSystem.php @@ -22,10 +22,14 @@ class AnatomicalSystem extends BaseType implements AnatomicalSystemContract, Med /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -143,6 +147,7 @@ public function disambiguatingDescription($disambiguatingDescription) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/AnimalShelter.php b/src/AnimalShelter.php index f97faed1e..b7f42da6f 100644 --- a/src/AnimalShelter.php +++ b/src/AnimalShelter.php @@ -28,6 +28,7 @@ class AnimalShelter extends BaseType implements AnimalShelterContract, LocalBusi * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -59,10 +60,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -143,7 +148,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -324,6 +328,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -426,6 +431,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -444,6 +450,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -459,7 +466,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -653,6 +659,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -856,7 +863,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -952,7 +958,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1049,7 +1054,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1105,6 +1109,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1123,6 +1128,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1152,7 +1158,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1197,7 +1202,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1243,7 +1247,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1345,7 +1348,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1432,7 +1434,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1453,6 +1454,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1467,7 +1469,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1652,7 +1653,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1696,7 +1696,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1776,7 +1775,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1826,6 +1824,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1854,7 +1853,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/Answer.php b/src/Answer.php index 255bbc250..2266959cb 100644 --- a/src/Answer.php +++ b/src/Answer.php @@ -12,7 +12,6 @@ * wrong. * * @see https://schema.org/Answer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_QAStackExchange * */ class Answer extends BaseType implements AnswerContract, CommentContract, CreativeWorkContract, ThingContract @@ -203,10 +202,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -604,6 +607,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -948,7 +952,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1019,6 +1022,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1048,7 +1052,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1186,7 +1189,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1937,6 +1940,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1952,9 +1969,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2107,7 +2123,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/Apartment.php b/src/Apartment.php index bced591d6..0ca4f6720 100644 --- a/src/Apartment.php +++ b/src/Apartment.php @@ -14,7 +14,6 @@ * href="http://en.wikipedia.org/wiki/Apartment">http://en.wikipedia.org/wiki/Apartment). * * @see https://schema.org/Apartment - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology * */ class Apartment extends BaseType implements ApartmentContract, AccommodationContract, PlaceContract, ThingContract @@ -81,10 +80,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -151,13 +154,30 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { return $this->setProperty('amenityFeature', $amenityFeature); } + /** + * The type of bed or beds included in the accommodation. For the single + * case of just one bed of a certain type, you use bed directly with a text. + * If you want to indicate the quantity of a certain kind of bed, use + * an instance of BedDetails. For more detailed information, use the + * amenityFeature property. + * + * @param \Spatie\SchemaOrg\Contracts\BedDetailsContract|\Spatie\SchemaOrg\Contracts\BedDetailsContract[]|\Spatie\SchemaOrg\Contracts\BedTypeContract|\Spatie\SchemaOrg\Contracts\BedTypeContract[]|string|string[] $bed + * + * @return static + * + * @see https://schema.org/bed + */ + public function bed($bed) + { + return $this->setProperty('bed', $bed); + } + /** * A short textual code (also called "store code") that uniquely identifies * a place of business. The code is typically assigned by the @@ -325,7 +345,6 @@ public function floorLevel($floorLevel) * @return static * * @see https://schema.org/floorSize - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function floorSize($floorSize) { @@ -529,7 +548,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -627,7 +645,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -690,7 +707,6 @@ public function leaseLength($leaseLength) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -869,7 +885,6 @@ public function numberOfPartialBathrooms($numberOfPartialBathrooms) * @return static * * @see https://schema.org/numberOfRooms - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function numberOfRooms($numberOfRooms) { @@ -888,7 +903,6 @@ public function numberOfRooms($numberOfRooms) * @return static * * @see https://schema.org/occupancy - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function occupancy($occupancy) { @@ -903,7 +917,6 @@ public function occupancy($occupancy) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -918,7 +931,6 @@ public function openingHoursSpecification($openingHoursSpecification) * @return static * * @see https://schema.org/permittedUsage - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function permittedUsage($permittedUsage) { @@ -934,7 +946,6 @@ public function permittedUsage($permittedUsage) * @return static * * @see https://schema.org/petsAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function petsAllowed($petsAllowed) { @@ -1066,7 +1077,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/ApartmentComplex.php b/src/ApartmentComplex.php index 683b2aecf..eda241461 100644 --- a/src/ApartmentComplex.php +++ b/src/ApartmentComplex.php @@ -56,10 +56,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -126,7 +130,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -467,7 +470,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -565,7 +567,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -611,7 +612,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -768,7 +768,6 @@ public function numberOfBedrooms($numberOfBedrooms) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -784,7 +783,6 @@ public function openingHoursSpecification($openingHoursSpecification) * @return static * * @see https://schema.org/petsAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function petsAllowed($petsAllowed) { @@ -916,7 +914,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/AppendAction.php b/src/AppendAction.php index 377f4682d..18c1caaa4 100644 --- a/src/AppendAction.php +++ b/src/AppendAction.php @@ -34,10 +34,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/ApplyAction.php b/src/ApplyAction.php index 4212492f5..149d7611c 100644 --- a/src/ApplyAction.php +++ b/src/ApplyAction.php @@ -38,10 +38,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/ApprovedIndication.php b/src/ApprovedIndication.php index 7181081c7..39be2af9a 100644 --- a/src/ApprovedIndication.php +++ b/src/ApprovedIndication.php @@ -21,10 +21,14 @@ class ApprovedIndication extends BaseType implements ApprovedIndicationContract, /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -108,6 +112,7 @@ public function disambiguatingDescription($disambiguatingDescription) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/Aquarium.php b/src/Aquarium.php index 777de8021..9b76faf06 100644 --- a/src/Aquarium.php +++ b/src/Aquarium.php @@ -40,10 +40,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -110,7 +114,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -451,7 +454,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -549,7 +551,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -595,7 +596,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -724,7 +724,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -856,7 +855,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/ArchiveComponent.php b/src/ArchiveComponent.php index eca77a339..f2339ef82 100644 --- a/src/ArchiveComponent.php +++ b/src/ArchiveComponent.php @@ -203,10 +203,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -586,6 +590,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -915,7 +920,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -986,6 +990,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1015,7 +1020,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1170,7 +1174,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1923,6 +1927,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1938,9 +1956,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2078,7 +2095,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/ArchiveOrganization.php b/src/ArchiveOrganization.php index 38011652e..898f7bd9d 100644 --- a/src/ArchiveOrganization.php +++ b/src/ArchiveOrganization.php @@ -31,6 +31,7 @@ class ArchiveOrganization extends BaseType implements ArchiveOrganizationContrac * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -62,10 +63,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -146,7 +151,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -344,6 +348,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -446,6 +451,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -464,6 +470,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -479,7 +486,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -673,6 +679,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -876,7 +883,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -972,7 +978,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1069,7 +1074,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1125,6 +1129,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1143,6 +1148,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1172,7 +1178,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1217,7 +1222,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1263,7 +1267,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1365,7 +1368,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1452,7 +1454,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1473,6 +1474,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1487,7 +1489,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1672,7 +1673,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1716,7 +1716,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1796,7 +1795,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1846,6 +1844,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1874,7 +1873,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/ArriveAction.php b/src/ArriveAction.php index 26ca0e719..03ed8a03b 100644 --- a/src/ArriveAction.php +++ b/src/ArriveAction.php @@ -33,10 +33,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/ArtGallery.php b/src/ArtGallery.php index bab828344..bfc3a3a2f 100644 --- a/src/ArtGallery.php +++ b/src/ArtGallery.php @@ -29,6 +29,7 @@ class ArtGallery extends BaseType implements ArtGalleryContract, EntertainmentBu * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/Artery.php b/src/Artery.php index 5b221b205..e05661822 100644 --- a/src/Artery.php +++ b/src/Artery.php @@ -20,10 +20,14 @@ class Artery extends BaseType implements ArteryContract, AnatomicalStructureCont /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -185,6 +189,7 @@ public function disambiguatingDescription($disambiguatingDescription) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/Article.php b/src/Article.php index d62a504a1..2b2698c59 100644 --- a/src/Article.php +++ b/src/Article.php @@ -15,7 +15,6 @@ * post](http://blog.schema.org/2014/09/schemaorg-support-for-bibliographic_2.html). * * @see https://schema.org/Article - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_rNews * */ class Article extends BaseType implements ArticleContract, CreativeWorkContract, ThingContract @@ -206,10 +205,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -432,6 +435,7 @@ public function awards($awards) * * @see https://schema.org/backstory * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function backstory($backstory) { @@ -637,6 +641,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -966,7 +971,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1037,6 +1041,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1066,7 +1071,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1204,7 +1208,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1473,7 +1477,6 @@ public function offers($offers) * @return static * * @see https://schema.org/pageEnd - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pageEnd($pageEnd) { @@ -1488,7 +1491,6 @@ public function pageEnd($pageEnd) * @return static * * @see https://schema.org/pageStart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pageStart($pageStart) { @@ -1504,7 +1506,6 @@ public function pageStart($pageStart) * @return static * * @see https://schema.org/pagination - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pagination($pagination) { @@ -2027,6 +2028,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2042,9 +2057,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2196,7 +2210,6 @@ public function wordCount($wordCount) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/AskAction.php b/src/AskAction.php index 561b6e2fc..e2ed9c363 100644 --- a/src/AskAction.php +++ b/src/AskAction.php @@ -52,10 +52,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/AskPublicNewsArticle.php b/src/AskPublicNewsArticle.php index 7620e5b20..b63d309bb 100644 --- a/src/AskPublicNewsArticle.php +++ b/src/AskPublicNewsArticle.php @@ -15,6 +15,7 @@ * * @see https://schema.org/AskPublicNewsArticle * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 * */ class AskPublicNewsArticle extends BaseType implements AskPublicNewsArticleContract, ArticleContract, CreativeWorkContract, NewsArticleContract, ThingContract @@ -205,10 +206,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -431,6 +436,7 @@ public function awards($awards) * * @see https://schema.org/backstory * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function backstory($backstory) { @@ -636,6 +642,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -992,7 +999,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1063,6 +1069,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1092,7 +1099,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1230,7 +1236,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1499,7 +1505,6 @@ public function offers($offers) * @return static * * @see https://schema.org/pageEnd - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pageEnd($pageEnd) { @@ -1514,7 +1519,6 @@ public function pageEnd($pageEnd) * @return static * * @see https://schema.org/pageStart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pageStart($pageStart) { @@ -1530,7 +1534,6 @@ public function pageStart($pageStart) * @return static * * @see https://schema.org/pagination - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pagination($pagination) { @@ -2113,6 +2116,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2128,9 +2145,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2282,7 +2298,6 @@ public function wordCount($wordCount) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/AssessAction.php b/src/AssessAction.php index e1a0111e6..e3dfe3ece 100644 --- a/src/AssessAction.php +++ b/src/AssessAction.php @@ -31,10 +31,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/AssignAction.php b/src/AssignAction.php index 412b4df3c..04426a0a6 100644 --- a/src/AssignAction.php +++ b/src/AssignAction.php @@ -34,10 +34,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/Atlas.php b/src/Atlas.php index 69ce5c75a..3540ce23d 100644 --- a/src/Atlas.php +++ b/src/Atlas.php @@ -203,10 +203,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -586,6 +590,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -915,7 +920,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -986,6 +990,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1015,7 +1020,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1153,7 +1157,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1890,6 +1894,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1905,9 +1923,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2045,7 +2062,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/Attorney.php b/src/Attorney.php index 2b6c8afb5..c7e829450 100644 --- a/src/Attorney.php +++ b/src/Attorney.php @@ -32,6 +32,7 @@ class Attorney extends BaseType implements AttorneyContract, LegalServiceContrac * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -63,10 +64,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -147,7 +152,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -328,6 +332,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -430,6 +435,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -448,6 +454,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -463,7 +470,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -657,6 +663,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -860,7 +867,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -956,7 +962,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1053,7 +1058,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1109,6 +1113,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1127,6 +1132,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1156,7 +1162,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1201,7 +1206,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1247,7 +1251,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1349,7 +1352,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1436,7 +1438,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1457,6 +1458,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1471,7 +1473,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1656,7 +1657,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1700,7 +1700,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1780,7 +1779,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1830,6 +1828,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1858,7 +1857,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/Audience.php b/src/Audience.php index b2706f949..396061537 100644 --- a/src/Audience.php +++ b/src/Audience.php @@ -17,10 +17,14 @@ class Audience extends BaseType implements AudienceContract, IntangibleContract, /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/AudioObject.php b/src/AudioObject.php index 3d4e066cb..4c68b0f6d 100644 --- a/src/AudioObject.php +++ b/src/AudioObject.php @@ -11,7 +11,6 @@ * An audio file. * * @see https://schema.org/AudioObject - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_rNews * */ class AudioObject extends BaseType implements AudioObjectContract, CreativeWorkContract, MediaObjectContract, ThingContract @@ -202,10 +201,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -658,6 +661,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -1073,7 +1077,6 @@ public function endTime($endTime) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1144,6 +1147,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1173,7 +1177,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1346,7 +1349,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2187,6 +2190,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2202,9 +2219,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2385,7 +2401,6 @@ public function width($width) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/AudioObjectSnapshot.php b/src/AudioObjectSnapshot.php index 4373f0ae1..f3eda8b09 100644 --- a/src/AudioObjectSnapshot.php +++ b/src/AudioObjectSnapshot.php @@ -209,10 +209,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -665,6 +669,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -1080,7 +1085,6 @@ public function endTime($endTime) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1151,6 +1155,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1180,7 +1185,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1353,7 +1357,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2194,6 +2198,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2209,9 +2227,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2392,7 +2409,6 @@ public function width($width) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/Audiobook.php b/src/Audiobook.php index 068a1452e..38f62c75f 100644 --- a/src/Audiobook.php +++ b/src/Audiobook.php @@ -219,10 +219,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -703,6 +707,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -1118,7 +1123,6 @@ public function endTime($endTime) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1189,6 +1193,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1218,7 +1223,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1405,7 +1409,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2289,6 +2293,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2304,9 +2322,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2487,7 +2504,6 @@ public function width($width) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/AuthorizeAction.php b/src/AuthorizeAction.php index e6d7f969a..58bd54675 100644 --- a/src/AuthorizeAction.php +++ b/src/AuthorizeAction.php @@ -33,10 +33,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/AutoBodyShop.php b/src/AutoBodyShop.php index 3a3a920e0..211601dc8 100644 --- a/src/AutoBodyShop.php +++ b/src/AutoBodyShop.php @@ -29,6 +29,7 @@ class AutoBodyShop extends BaseType implements AutoBodyShopContract, AutomotiveB * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/AutoDealer.php b/src/AutoDealer.php index 0ea517760..031f5f2d5 100644 --- a/src/AutoDealer.php +++ b/src/AutoDealer.php @@ -29,6 +29,7 @@ class AutoDealer extends BaseType implements AutoDealerContract, AutomotiveBusin * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/AutoPartsStore.php b/src/AutoPartsStore.php index 9586e9124..208c94e13 100644 --- a/src/AutoPartsStore.php +++ b/src/AutoPartsStore.php @@ -30,6 +30,7 @@ class AutoPartsStore extends BaseType implements AutoPartsStoreContract, Automot * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -61,10 +62,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -145,7 +150,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -326,6 +330,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -428,6 +433,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -446,6 +452,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -461,7 +468,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -655,6 +661,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -858,7 +865,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -954,7 +960,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1051,7 +1056,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1107,6 +1111,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1125,6 +1130,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1154,7 +1160,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1199,7 +1204,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1245,7 +1249,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1347,7 +1350,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1434,7 +1436,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1455,6 +1456,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1469,7 +1471,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1654,7 +1655,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1698,7 +1698,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1778,7 +1777,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1828,6 +1826,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1856,7 +1855,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/AutoRental.php b/src/AutoRental.php index e4a6cc168..2e39ded2d 100644 --- a/src/AutoRental.php +++ b/src/AutoRental.php @@ -29,6 +29,7 @@ class AutoRental extends BaseType implements AutoRentalContract, AutomotiveBusin * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/AutoRepair.php b/src/AutoRepair.php index 48666102e..0aaa104da 100644 --- a/src/AutoRepair.php +++ b/src/AutoRepair.php @@ -29,6 +29,7 @@ class AutoRepair extends BaseType implements AutoRepairContract, AutomotiveBusin * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/AutoWash.php b/src/AutoWash.php index dfdb81f7f..279f4ab94 100644 --- a/src/AutoWash.php +++ b/src/AutoWash.php @@ -29,6 +29,7 @@ class AutoWash extends BaseType implements AutoWashContract, AutomotiveBusinessC * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/AutomatedTeller.php b/src/AutomatedTeller.php index 5dfcc1111..ee3dc66c2 100644 --- a/src/AutomatedTeller.php +++ b/src/AutomatedTeller.php @@ -29,6 +29,7 @@ class AutomatedTeller extends BaseType implements AutomatedTellerContract, Finan * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -582,7 +588,6 @@ public function faxNumber($faxNumber) * @return static * * @see https://schema.org/feesAndCommissionsSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#FIBO */ public function feesAndCommissionsSpecification($feesAndCommissionsSpecification) { @@ -670,6 +675,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -873,7 +879,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -969,7 +974,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1066,7 +1070,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1122,6 +1125,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1140,6 +1144,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1169,7 +1174,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1214,7 +1218,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1260,7 +1263,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1362,7 +1364,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1449,7 +1450,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1470,6 +1470,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1484,7 +1485,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1669,7 +1669,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1713,7 +1712,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1793,7 +1791,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1843,6 +1840,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1871,7 +1869,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/AutomotiveBusiness.php b/src/AutomotiveBusiness.php index 5a9ba03c2..e75701877 100644 --- a/src/AutomotiveBusiness.php +++ b/src/AutomotiveBusiness.php @@ -28,6 +28,7 @@ class AutomotiveBusiness extends BaseType implements AutomotiveBusinessContract, * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -59,10 +60,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -143,7 +148,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -324,6 +328,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -426,6 +431,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -444,6 +450,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -459,7 +466,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -653,6 +659,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -856,7 +863,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -952,7 +958,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1049,7 +1054,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1105,6 +1109,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1123,6 +1128,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1152,7 +1158,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1197,7 +1202,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1243,7 +1247,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1345,7 +1348,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1432,7 +1434,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1453,6 +1454,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1467,7 +1469,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1652,7 +1653,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1696,7 +1696,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1776,7 +1775,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1826,6 +1824,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1854,7 +1853,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/BackgroundNewsArticle.php b/src/BackgroundNewsArticle.php index 47b48f69a..04581cccc 100644 --- a/src/BackgroundNewsArticle.php +++ b/src/BackgroundNewsArticle.php @@ -20,6 +20,7 @@ * * @see https://schema.org/BackgroundNewsArticle * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 * */ class BackgroundNewsArticle extends BaseType implements BackgroundNewsArticleContract, ArticleContract, CreativeWorkContract, NewsArticleContract, ThingContract @@ -210,10 +211,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -436,6 +441,7 @@ public function awards($awards) * * @see https://schema.org/backstory * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function backstory($backstory) { @@ -641,6 +647,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -997,7 +1004,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1068,6 +1074,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1097,7 +1104,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1235,7 +1241,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1504,7 +1510,6 @@ public function offers($offers) * @return static * * @see https://schema.org/pageEnd - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pageEnd($pageEnd) { @@ -1519,7 +1524,6 @@ public function pageEnd($pageEnd) * @return static * * @see https://schema.org/pageStart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pageStart($pageStart) { @@ -1535,7 +1539,6 @@ public function pageStart($pageStart) * @return static * * @see https://schema.org/pagination - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pagination($pagination) { @@ -2118,6 +2121,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2133,9 +2150,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2287,7 +2303,6 @@ public function wordCount($wordCount) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/Bakery.php b/src/Bakery.php index e87934159..8cdf79743 100644 --- a/src/Bakery.php +++ b/src/Bakery.php @@ -45,6 +45,7 @@ public function acceptsReservations($acceptsReservations) * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -76,10 +77,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -160,7 +165,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -341,6 +345,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -443,6 +448,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -461,6 +467,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -476,7 +483,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -670,6 +676,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -873,7 +880,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -984,7 +990,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1081,7 +1086,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1137,6 +1141,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1155,6 +1160,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1184,7 +1190,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1229,7 +1234,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1275,7 +1279,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1392,7 +1395,6 @@ public function menu($menu) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1479,7 +1481,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1500,6 +1501,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1514,7 +1516,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1699,7 +1700,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1757,7 +1757,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1808,7 +1807,6 @@ public function sponsor($sponsor) * @return static * * @see https://schema.org/starRating - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function starRating($starRating) { @@ -1855,7 +1853,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1905,6 +1902,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1933,7 +1931,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/BankAccount.php b/src/BankAccount.php index 4749cc1e5..cf0cf63f7 100644 --- a/src/BankAccount.php +++ b/src/BankAccount.php @@ -13,7 +13,6 @@ * transfer money and in some cases be paid interest. * * @see https://schema.org/BankAccount - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#FIBO * */ class BankAccount extends BaseType implements BankAccountContract, FinancialProductContract, IntangibleContract, ServiceContract, ThingContract @@ -27,6 +26,7 @@ class BankAccount extends BaseType implements BankAccountContract, FinancialProd * * @see https://schema.org/accountMinimumInflow * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1253 */ public function accountMinimumInflow($accountMinimumInflow) { @@ -45,6 +45,7 @@ public function accountMinimumInflow($accountMinimumInflow) * * @see https://schema.org/accountOverdraftLimit * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1253 */ public function accountOverdraftLimit($accountOverdraftLimit) { @@ -54,10 +55,14 @@ public function accountOverdraftLimit($accountOverdraftLimit) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -110,7 +115,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/annualPercentageRate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#FIBO */ public function annualPercentageRate($annualPercentageRate) { @@ -183,6 +187,7 @@ public function award($award) * * @see https://schema.org/bankAccountType * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1253 */ public function bankAccountType($bankAccountType) { @@ -276,7 +281,6 @@ public function disambiguatingDescription($disambiguatingDescription) * @return static * * @see https://schema.org/feesAndCommissionsSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#FIBO */ public function feesAndCommissionsSpecification($feesAndCommissionsSpecification) { @@ -354,7 +358,6 @@ public function image($image) * @return static * * @see https://schema.org/interestRate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#FIBO */ public function interestRate($interestRate) { @@ -369,7 +372,6 @@ public function interestRate($interestRate) * @return static * * @see https://schema.org/isRelatedTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isRelatedTo($isRelatedTo) { @@ -385,7 +387,6 @@ public function isRelatedTo($isRelatedTo) * @return static * * @see https://schema.org/isSimilarTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isSimilarTo($isSimilarTo) { @@ -400,7 +401,6 @@ public function isSimilarTo($isSimilarTo) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { diff --git a/src/BankOrCreditUnion.php b/src/BankOrCreditUnion.php index 96d26ede8..3f81ef04f 100644 --- a/src/BankOrCreditUnion.php +++ b/src/BankOrCreditUnion.php @@ -29,6 +29,7 @@ class BankOrCreditUnion extends BaseType implements BankOrCreditUnionContract, F * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -582,7 +588,6 @@ public function faxNumber($faxNumber) * @return static * * @see https://schema.org/feesAndCommissionsSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#FIBO */ public function feesAndCommissionsSpecification($feesAndCommissionsSpecification) { @@ -670,6 +675,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -873,7 +879,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -969,7 +974,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1066,7 +1070,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1122,6 +1125,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1140,6 +1144,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1169,7 +1174,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1214,7 +1218,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1260,7 +1263,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1362,7 +1364,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1449,7 +1450,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1470,6 +1470,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1484,7 +1485,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1669,7 +1669,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1713,7 +1712,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1793,7 +1791,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1843,6 +1840,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1871,7 +1869,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/BarOrPub.php b/src/BarOrPub.php index 84e4670cb..4e1c1c960 100644 --- a/src/BarOrPub.php +++ b/src/BarOrPub.php @@ -45,6 +45,7 @@ public function acceptsReservations($acceptsReservations) * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -76,10 +77,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -160,7 +165,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -341,6 +345,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -443,6 +448,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -461,6 +467,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -476,7 +483,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -670,6 +676,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -873,7 +880,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -984,7 +990,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1081,7 +1086,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1137,6 +1141,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1155,6 +1160,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1184,7 +1190,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1229,7 +1234,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1275,7 +1279,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1392,7 +1395,6 @@ public function menu($menu) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1479,7 +1481,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1500,6 +1501,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1514,7 +1516,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1699,7 +1700,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1757,7 +1757,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1808,7 +1807,6 @@ public function sponsor($sponsor) * @return static * * @see https://schema.org/starRating - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function starRating($starRating) { @@ -1855,7 +1853,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1905,6 +1902,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1933,7 +1931,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/Barcode.php b/src/Barcode.php index 311957f44..9855cc94f 100644 --- a/src/Barcode.php +++ b/src/Barcode.php @@ -202,10 +202,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -658,6 +662,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -1073,7 +1078,6 @@ public function endTime($endTime) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1158,6 +1162,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1187,7 +1192,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1360,7 +1364,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2245,9 +2249,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2413,7 +2416,6 @@ public function width($width) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/Beach.php b/src/Beach.php index b5e20c772..8a0eb3ac7 100644 --- a/src/Beach.php +++ b/src/Beach.php @@ -40,10 +40,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -110,7 +114,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -451,7 +454,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -549,7 +551,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -595,7 +596,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -724,7 +724,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -856,7 +855,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/BeautySalon.php b/src/BeautySalon.php index 18ee58329..93f977e98 100644 --- a/src/BeautySalon.php +++ b/src/BeautySalon.php @@ -29,6 +29,7 @@ class BeautySalon extends BaseType implements BeautySalonContract, HealthAndBeau * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/BedAndBreakfast.php b/src/BedAndBreakfast.php index 436c89f39..a23c76089 100644 --- a/src/BedAndBreakfast.php +++ b/src/BedAndBreakfast.php @@ -32,6 +32,7 @@ class BedAndBreakfast extends BaseType implements BedAndBreakfastContract, Local * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -63,10 +64,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -147,7 +152,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -386,6 +390,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -488,6 +493,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -506,6 +512,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -521,7 +528,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -715,6 +721,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -918,7 +925,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -1014,7 +1020,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1111,7 +1116,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1167,6 +1171,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1185,6 +1190,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1214,7 +1220,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1259,7 +1264,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1305,7 +1309,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1407,7 +1410,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1470,7 +1472,6 @@ public function numberOfEmployees($numberOfEmployees) * @return static * * @see https://schema.org/numberOfRooms - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function numberOfRooms($numberOfRooms) { @@ -1512,7 +1513,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1533,6 +1533,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1547,7 +1548,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1592,7 +1592,6 @@ public function paymentAccepted($paymentAccepted) * @return static * * @see https://schema.org/petsAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function petsAllowed($petsAllowed) { @@ -1748,7 +1747,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1792,7 +1790,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1843,7 +1840,6 @@ public function sponsor($sponsor) * @return static * * @see https://schema.org/starRating - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function starRating($starRating) { @@ -1890,7 +1886,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1940,6 +1935,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1968,7 +1964,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/BedDetails.php b/src/BedDetails.php index 449cd6154..867496dfb 100644 --- a/src/BedDetails.php +++ b/src/BedDetails.php @@ -13,7 +13,6 @@ * [[BedType]] (under development). * * @see https://schema.org/BedDetails - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology * */ class BedDetails extends BaseType implements BedDetailsContract, IntangibleContract, ThingContract @@ -21,10 +20,14 @@ class BedDetails extends BaseType implements BedDetailsContract, IntangibleContr /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -154,7 +157,6 @@ public function name($name) * @return static * * @see https://schema.org/numberOfBeds - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function numberOfBeds($numberOfBeds) { @@ -216,7 +218,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/typeOfBed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function typeOfBed($typeOfBed) { diff --git a/src/BedType.php b/src/BedType.php index 544d4a4e5..d464fbd84 100644 --- a/src/BedType.php +++ b/src/BedType.php @@ -13,6 +13,7 @@ * accommodation. * * @see https://schema.org/BedType + * @link https://github.com/schemaorg/schemaorg/issues/1262 * * @method static supersededBy($supersededBy) The value should be instance of pending types Class|Class[]|Enumeration|Enumeration[]|Property|Property[] */ @@ -43,10 +44,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -113,7 +118,6 @@ public function disambiguatingDescription($disambiguatingDescription) * @return static * * @see https://schema.org/equal - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function equal($equal) { @@ -129,7 +133,6 @@ public function equal($equal) * @return static * * @see https://schema.org/greater - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function greater($greater) { @@ -145,7 +148,6 @@ public function greater($greater) * @return static * * @see https://schema.org/greaterOrEqual - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function greaterOrEqual($greaterOrEqual) { @@ -194,7 +196,6 @@ public function image($image) * @return static * * @see https://schema.org/lesser - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function lesser($lesser) { @@ -210,7 +211,6 @@ public function lesser($lesser) * @return static * * @see https://schema.org/lesserOrEqual - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function lesserOrEqual($lesserOrEqual) { @@ -256,7 +256,6 @@ public function name($name) * @return static * * @see https://schema.org/nonEqual - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function nonEqual($nonEqual) { @@ -332,7 +331,6 @@ public function url($url) * @return static * * @see https://schema.org/valueReference - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function valueReference($valueReference) { diff --git a/src/BefriendAction.php b/src/BefriendAction.php index 457c424e9..e46ee1ae6 100644 --- a/src/BefriendAction.php +++ b/src/BefriendAction.php @@ -38,10 +38,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/BikeStore.php b/src/BikeStore.php index baed3f47b..795edb6fc 100644 --- a/src/BikeStore.php +++ b/src/BikeStore.php @@ -29,6 +29,7 @@ class BikeStore extends BaseType implements BikeStoreContract, LocalBusinessCont * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/BioChemEntity.php b/src/BioChemEntity.php index 198794b03..8b0558f11 100644 --- a/src/BioChemEntity.php +++ b/src/BioChemEntity.php @@ -11,6 +11,7 @@ * * @see https://schema.org/BioChemEntity * @see https://pending.schema.org + * @link http://bioschemas.org * */ class BioChemEntity extends BaseType implements BioChemEntityContract, ThingContract @@ -18,10 +19,14 @@ class BioChemEntity extends BaseType implements BioChemEntityContract, ThingCont /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -59,6 +64,7 @@ public function alternateName($alternateName) * * @see https://schema.org/associatedDisease * @see https://pending.schema.org + * @link http://www.bioschemas.org/BioChemEntity */ public function associatedDisease($associatedDisease) { @@ -74,6 +80,7 @@ public function associatedDisease($associatedDisease) * * @see https://schema.org/bioChemInteraction * @see https://pending.schema.org + * @link http://www.bioschemas.org */ public function bioChemInteraction($bioChemInteraction) { @@ -90,6 +97,7 @@ public function bioChemInteraction($bioChemInteraction) * * @see https://schema.org/bioChemSimilarity * @see https://pending.schema.org + * @link http://www.bioschemas.org */ public function bioChemSimilarity($bioChemSimilarity) { @@ -105,6 +113,7 @@ public function bioChemSimilarity($bioChemSimilarity) * * @see https://schema.org/biologicalRole * @see https://pending.schema.org + * @link http://www.bioschemas.org */ public function biologicalRole($biologicalRole) { @@ -152,6 +161,7 @@ public function disambiguatingDescription($disambiguatingDescription) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -168,6 +178,7 @@ public function funding($funding) * * @see https://schema.org/hasBioChemEntityPart * @see https://pending.schema.org + * @link http://www.bioschemas.org */ public function hasBioChemEntityPart($hasBioChemEntityPart) { @@ -184,6 +195,7 @@ public function hasBioChemEntityPart($hasBioChemEntityPart) * * @see https://schema.org/hasMolecularFunction * @see https://pending.schema.org + * @link http://www.bioschemas.org/BioChemEntity */ public function hasMolecularFunction($hasMolecularFunction) { @@ -200,6 +212,7 @@ public function hasMolecularFunction($hasMolecularFunction) * * @see https://schema.org/hasRepresentation * @see https://pending.schema.org + * @link http://www.bioschemas.org */ public function hasRepresentation($hasRepresentation) { @@ -248,6 +261,7 @@ public function image($image) * * @see https://schema.org/isEncodedByBioChemEntity * @see https://pending.schema.org + * @link http://www.bioschemas.org/Gene */ public function isEncodedByBioChemEntity($isEncodedByBioChemEntity) { @@ -264,6 +278,7 @@ public function isEncodedByBioChemEntity($isEncodedByBioChemEntity) * * @see https://schema.org/isInvolvedInBiologicalProcess * @see https://pending.schema.org + * @link http://www.bioschemas.org/BioChemEntity */ public function isInvolvedInBiologicalProcess($isInvolvedInBiologicalProcess) { @@ -280,6 +295,7 @@ public function isInvolvedInBiologicalProcess($isInvolvedInBiologicalProcess) * * @see https://schema.org/isLocatedInSubcellularLocation * @see https://pending.schema.org + * @link http://www.bioschemas.org/BioChemEntity */ public function isLocatedInSubcellularLocation($isLocatedInSubcellularLocation) { @@ -296,6 +312,7 @@ public function isLocatedInSubcellularLocation($isLocatedInSubcellularLocation) * * @see https://schema.org/isPartOfBioChemEntity * @see https://pending.schema.org + * @link http://www.bioschemas.org */ public function isPartOfBioChemEntity($isPartOfBioChemEntity) { @@ -388,6 +405,7 @@ public function subjectOf($subjectOf) * * @see https://schema.org/taxonomicRange * @see https://pending.schema.org + * @link http://www.bioschemas.org */ public function taxonomicRange($taxonomicRange) { diff --git a/src/Blog.php b/src/Blog.php index 947098866..ae8efa3c2 100644 --- a/src/Blog.php +++ b/src/Blog.php @@ -202,10 +202,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -615,6 +619,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -944,7 +949,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1015,6 +1019,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1044,7 +1049,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1182,7 +1186,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1250,7 +1254,6 @@ public function isPartOf($isPartOf) * @return static * * @see https://schema.org/issn - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function issn($issn) { @@ -1936,6 +1939,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1951,9 +1968,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2091,7 +2107,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/BlogPosting.php b/src/BlogPosting.php index 0752d3fd8..2beba77c1 100644 --- a/src/BlogPosting.php +++ b/src/BlogPosting.php @@ -202,10 +202,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -428,6 +432,7 @@ public function awards($awards) * * @see https://schema.org/backstory * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function backstory($backstory) { @@ -633,6 +638,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -962,7 +968,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1033,6 +1038,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1062,7 +1068,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1200,7 +1205,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1469,7 +1474,6 @@ public function offers($offers) * @return static * * @see https://schema.org/pageEnd - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pageEnd($pageEnd) { @@ -1484,7 +1488,6 @@ public function pageEnd($pageEnd) * @return static * * @see https://schema.org/pageStart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pageStart($pageStart) { @@ -1500,7 +1503,6 @@ public function pageStart($pageStart) * @return static * * @see https://schema.org/pagination - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pagination($pagination) { @@ -2038,6 +2040,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2053,9 +2069,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2207,7 +2222,6 @@ public function wordCount($wordCount) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/BloodTest.php b/src/BloodTest.php index bb6956690..052e3b52a 100644 --- a/src/BloodTest.php +++ b/src/BloodTest.php @@ -19,10 +19,14 @@ class BloodTest extends BaseType implements BloodTestContract, MedicalEntityCont /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -121,6 +125,7 @@ public function disambiguatingDescription($disambiguatingDescription) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/BoardingPolicyType.php b/src/BoardingPolicyType.php index 30d53a8b9..62c376d85 100644 --- a/src/BoardingPolicyType.php +++ b/src/BoardingPolicyType.php @@ -33,10 +33,14 @@ class BoardingPolicyType extends BaseType implements BoardingPolicyTypeContract, /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/BoatReservation.php b/src/BoatReservation.php index 473e88dd5..320f076b6 100644 --- a/src/BoatReservation.php +++ b/src/BoatReservation.php @@ -24,10 +24,14 @@ class BoatReservation extends BaseType implements BoatReservationContract, Intan /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/BoatTerminal.php b/src/BoatTerminal.php index e64b6756a..1920de4f7 100644 --- a/src/BoatTerminal.php +++ b/src/BoatTerminal.php @@ -42,10 +42,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -112,7 +116,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -453,7 +456,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -551,7 +553,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -597,7 +598,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -726,7 +726,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -858,7 +857,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/BoatTrip.php b/src/BoatTrip.php index 328efd8c0..aadee0546 100644 --- a/src/BoatTrip.php +++ b/src/BoatTrip.php @@ -20,10 +20,14 @@ class BoatTrip extends BaseType implements BoatTripContract, IntangibleContract, /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -185,6 +189,7 @@ public function image($image) * * @see https://schema.org/itinerary * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1810 */ public function itinerary($itinerary) { @@ -253,6 +258,7 @@ public function offers($offers) * * @see https://schema.org/partOfTrip * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1810 */ public function partOfTrip($partOfTrip) { @@ -317,6 +323,7 @@ public function sameAs($sameAs) * * @see https://schema.org/subTrip * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1810 */ public function subTrip($subTrip) { diff --git a/src/BodyMeasurementTypeEnumeration.php b/src/BodyMeasurementTypeEnumeration.php index ffc2985c4..b03244819 100644 --- a/src/BodyMeasurementTypeEnumeration.php +++ b/src/BodyMeasurementTypeEnumeration.php @@ -148,10 +148,14 @@ class BodyMeasurementTypeEnumeration extends BaseType implements BodyMeasurement /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/BodyOfWater.php b/src/BodyOfWater.php index 4de8bb9a0..3524ea48c 100644 --- a/src/BodyOfWater.php +++ b/src/BodyOfWater.php @@ -40,10 +40,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -110,7 +114,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -451,7 +454,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -549,7 +551,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -595,7 +596,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -697,7 +697,6 @@ public function name($name) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -829,7 +828,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/Bone.php b/src/Bone.php index a5fb39c11..14d4ae7bf 100644 --- a/src/Bone.php +++ b/src/Bone.php @@ -20,10 +20,14 @@ class Bone extends BaseType implements BoneContract, AnatomicalStructureContract /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -170,6 +174,7 @@ public function disambiguatingDescription($disambiguatingDescription) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/Book.php b/src/Book.php index 2a2f0c490..dce670388 100644 --- a/src/Book.php +++ b/src/Book.php @@ -215,10 +215,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -626,6 +630,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -955,7 +960,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1026,6 +1030,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1055,7 +1060,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1207,7 +1211,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1972,6 +1976,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1987,9 +2005,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2127,7 +2144,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/BookFormatType.php b/src/BookFormatType.php index 9a038f396..87b7b1604 100644 --- a/src/BookFormatType.php +++ b/src/BookFormatType.php @@ -58,10 +58,14 @@ class BookFormatType extends BaseType implements BookFormatTypeContract, Enumera /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/BookSeries.php b/src/BookSeries.php index 516cc10bf..7726139c8 100644 --- a/src/BookSeries.php +++ b/src/BookSeries.php @@ -203,10 +203,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -586,6 +590,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -931,7 +936,6 @@ public function endDate($endDate) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1002,6 +1006,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1031,7 +1036,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1169,7 +1173,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1237,7 +1241,6 @@ public function isPartOf($isPartOf) * @return static * * @see https://schema.org/issn - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function issn($issn) { @@ -1939,6 +1942,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1954,9 +1971,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2094,7 +2110,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/BookStore.php b/src/BookStore.php index 5a27b28d4..4da63c537 100644 --- a/src/BookStore.php +++ b/src/BookStore.php @@ -29,6 +29,7 @@ class BookStore extends BaseType implements BookStoreContract, LocalBusinessCont * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/BookmarkAction.php b/src/BookmarkAction.php index 4352a3485..71e5e438b 100644 --- a/src/BookmarkAction.php +++ b/src/BookmarkAction.php @@ -32,10 +32,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/BorrowAction.php b/src/BorrowAction.php index 775717d7b..3da48d58e 100644 --- a/src/BorrowAction.php +++ b/src/BorrowAction.php @@ -37,10 +37,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/BowlingAlley.php b/src/BowlingAlley.php index 352e66eef..088a290c7 100644 --- a/src/BowlingAlley.php +++ b/src/BowlingAlley.php @@ -29,6 +29,7 @@ class BowlingAlley extends BaseType implements BowlingAlleyContract, LocalBusine * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/BrainStructure.php b/src/BrainStructure.php index a4a05a5b6..3f1966777 100644 --- a/src/BrainStructure.php +++ b/src/BrainStructure.php @@ -21,10 +21,14 @@ class BrainStructure extends BaseType implements BrainStructureContract, Anatomi /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -171,6 +175,7 @@ public function disambiguatingDescription($disambiguatingDescription) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/Brand.php b/src/Brand.php index a69a992a1..b9a3cb57e 100644 --- a/src/Brand.php +++ b/src/Brand.php @@ -11,7 +11,6 @@ * product, product group, or similar. * * @see https://schema.org/Brand - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsClass * */ class Brand extends BaseType implements BrandContract, IntangibleContract, ThingContract @@ -19,10 +18,14 @@ class Brand extends BaseType implements BrandContract, IntangibleContract, Thing /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -136,7 +139,6 @@ public function image($image) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { diff --git a/src/BreadcrumbList.php b/src/BreadcrumbList.php index 4cbf7a648..49f68b0c8 100644 --- a/src/BreadcrumbList.php +++ b/src/BreadcrumbList.php @@ -28,10 +28,14 @@ class BreadcrumbList extends BaseType implements BreadcrumbListContract, Intangi /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/Brewery.php b/src/Brewery.php index 3c492c711..51fa7108d 100644 --- a/src/Brewery.php +++ b/src/Brewery.php @@ -45,6 +45,7 @@ public function acceptsReservations($acceptsReservations) * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -76,10 +77,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -160,7 +165,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -341,6 +345,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -443,6 +448,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -461,6 +467,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -476,7 +483,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -670,6 +676,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -873,7 +880,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -984,7 +990,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1081,7 +1086,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1137,6 +1141,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1155,6 +1160,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1184,7 +1190,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1229,7 +1234,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1275,7 +1279,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1392,7 +1395,6 @@ public function menu($menu) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1479,7 +1481,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1500,6 +1501,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1514,7 +1516,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1699,7 +1700,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1757,7 +1757,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1808,7 +1807,6 @@ public function sponsor($sponsor) * @return static * * @see https://schema.org/starRating - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function starRating($starRating) { @@ -1855,7 +1853,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1905,6 +1902,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1933,7 +1931,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/Bridge.php b/src/Bridge.php index 1a669a418..c01ff916c 100644 --- a/src/Bridge.php +++ b/src/Bridge.php @@ -40,10 +40,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -110,7 +114,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -451,7 +454,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -549,7 +551,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -595,7 +596,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -724,7 +724,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -856,7 +855,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/BroadcastChannel.php b/src/BroadcastChannel.php index c95971d75..da27bc8c8 100644 --- a/src/BroadcastChannel.php +++ b/src/BroadcastChannel.php @@ -17,10 +17,14 @@ class BroadcastChannel extends BaseType implements BroadcastChannelContract, Int /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/BroadcastEvent.php b/src/BroadcastEvent.php index 430478852..3e6da777a 100644 --- a/src/BroadcastEvent.php +++ b/src/BroadcastEvent.php @@ -49,10 +49,14 @@ public function actor($actor) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -159,7 +163,6 @@ public function broadcastOfEvent($broadcastOfEvent) * @return static * * @see https://schema.org/composer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public function composer($composer) { @@ -373,6 +376,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/BroadcastFrequencySpecification.php b/src/BroadcastFrequencySpecification.php index 675318c21..54168d115 100644 --- a/src/BroadcastFrequencySpecification.php +++ b/src/BroadcastFrequencySpecification.php @@ -19,10 +19,14 @@ class BroadcastFrequencySpecification extends BaseType implements BroadcastFrequ /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/BroadcastService.php b/src/BroadcastService.php index 3737acd40..1b89edaf8 100644 --- a/src/BroadcastService.php +++ b/src/BroadcastService.php @@ -19,10 +19,14 @@ class BroadcastService extends BaseType implements BroadcastServiceContract, Int /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -409,7 +413,6 @@ public function inLanguage($inLanguage) * @return static * * @see https://schema.org/isRelatedTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isRelatedTo($isRelatedTo) { @@ -425,7 +428,6 @@ public function isRelatedTo($isRelatedTo) * @return static * * @see https://schema.org/isSimilarTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isSimilarTo($isSimilarTo) { @@ -440,7 +442,6 @@ public function isSimilarTo($isSimilarTo) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { diff --git a/src/BrokerageAccount.php b/src/BrokerageAccount.php index 46704792d..117743b44 100644 --- a/src/BrokerageAccount.php +++ b/src/BrokerageAccount.php @@ -15,6 +15,7 @@ * * @see https://schema.org/BrokerageAccount * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1253 * */ class BrokerageAccount extends BaseType implements BrokerageAccountContract, FinancialProductContract, IntangibleContract, InvestmentOrDepositContract, ServiceContract, ThingContract @@ -22,10 +23,14 @@ class BrokerageAccount extends BaseType implements BrokerageAccountContract, Fin /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -92,7 +97,6 @@ public function amount($amount) * @return static * * @see https://schema.org/annualPercentageRate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#FIBO */ public function annualPercentageRate($annualPercentageRate) { @@ -243,7 +247,6 @@ public function disambiguatingDescription($disambiguatingDescription) * @return static * * @see https://schema.org/feesAndCommissionsSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#FIBO */ public function feesAndCommissionsSpecification($feesAndCommissionsSpecification) { @@ -321,7 +324,6 @@ public function image($image) * @return static * * @see https://schema.org/interestRate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#FIBO */ public function interestRate($interestRate) { @@ -336,7 +338,6 @@ public function interestRate($interestRate) * @return static * * @see https://schema.org/isRelatedTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isRelatedTo($isRelatedTo) { @@ -352,7 +353,6 @@ public function isRelatedTo($isRelatedTo) * @return static * * @see https://schema.org/isSimilarTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isSimilarTo($isSimilarTo) { @@ -367,7 +367,6 @@ public function isSimilarTo($isSimilarTo) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { diff --git a/src/BuddhistTemple.php b/src/BuddhistTemple.php index d1015d138..dcff766b8 100644 --- a/src/BuddhistTemple.php +++ b/src/BuddhistTemple.php @@ -41,10 +41,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -111,7 +115,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -452,7 +455,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -550,7 +552,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -596,7 +597,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -725,7 +725,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -857,7 +856,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/BusOrCoach.php b/src/BusOrCoach.php index 6b37ebe2f..274921be5 100644 --- a/src/BusOrCoach.php +++ b/src/BusOrCoach.php @@ -14,7 +14,6 @@ * * @see https://schema.org/BusOrCoach * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group * */ class BusOrCoach extends BaseType implements BusOrCoachContract, ProductContract, ThingContract, VehicleContract @@ -37,7 +36,6 @@ class BusOrCoach extends BaseType implements BusOrCoachContract, ProductContract * * @see https://schema.org/accelerationTime * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function accelerationTime($accelerationTime) { @@ -55,7 +53,6 @@ public function accelerationTime($accelerationTime) * * @see https://schema.org/acrissCode * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function acrissCode($acrissCode) { @@ -87,10 +84,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -210,7 +211,6 @@ public function awards($awards) * * @see https://schema.org/bodyType * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function bodyType($bodyType) { @@ -263,7 +263,6 @@ public function callSign($callSign) * @return static * * @see https://schema.org/cargoVolume - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function cargoVolume($cargoVolume) { @@ -293,7 +292,6 @@ public function category($category) * @return static * * @see https://schema.org/color - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function color($color) { @@ -367,7 +365,6 @@ public function countryOfOrigin($countryOfOrigin) * @return static * * @see https://schema.org/dateVehicleFirstRegistered - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function dateVehicleFirstRegistered($dateVehicleFirstRegistered) { @@ -382,7 +379,6 @@ public function dateVehicleFirstRegistered($dateVehicleFirstRegistered) * @return static * * @see https://schema.org/depth - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function depth($depth) { @@ -429,7 +425,6 @@ public function disambiguatingDescription($disambiguatingDescription) * @return static * * @see https://schema.org/driveWheelConfiguration - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function driveWheelConfiguration($driveWheelConfiguration) { @@ -447,7 +442,6 @@ public function driveWheelConfiguration($driveWheelConfiguration) * * @see https://schema.org/emissionsCO2 * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function emissionsCO2($emissionsCO2) { @@ -468,7 +462,6 @@ public function emissionsCO2($emissionsCO2) * * @see https://schema.org/fuelCapacity * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function fuelCapacity($fuelCapacity) { @@ -495,7 +488,6 @@ public function fuelCapacity($fuelCapacity) * @return static * * @see https://schema.org/fuelConsumption - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function fuelConsumption($fuelConsumption) { @@ -522,7 +514,6 @@ public function fuelConsumption($fuelConsumption) * @return static * * @see https://schema.org/fuelEfficiency - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function fuelEfficiency($fuelEfficiency) { @@ -539,7 +530,6 @@ public function fuelEfficiency($fuelEfficiency) * @return static * * @see https://schema.org/fuelType - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function fuelType($fuelType) { @@ -556,6 +546,7 @@ public function fuelType($fuelType) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -635,7 +626,6 @@ public function gtin12($gtin12) * @return static * * @see https://schema.org/gtin13 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function gtin13($gtin13) { @@ -653,7 +643,6 @@ public function gtin13($gtin13) * @return static * * @see https://schema.org/gtin14 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function gtin14($gtin14) { @@ -671,7 +660,6 @@ public function gtin14($gtin14) * @return static * * @see https://schema.org/gtin8 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function gtin8($gtin8) { @@ -837,7 +825,6 @@ public function inProductGroupWithID($inProductGroupWithID) * @return static * * @see https://schema.org/isAccessoryOrSparePartFor - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isAccessoryOrSparePartFor($isAccessoryOrSparePartFor) { @@ -853,7 +840,6 @@ public function isAccessoryOrSparePartFor($isAccessoryOrSparePartFor) * @return static * * @see https://schema.org/isConsumableFor - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isConsumableFor($isConsumableFor) { @@ -882,7 +868,6 @@ public function isFamilyFriendly($isFamilyFriendly) * @return static * * @see https://schema.org/isRelatedTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isRelatedTo($isRelatedTo) { @@ -898,7 +883,6 @@ public function isRelatedTo($isRelatedTo) * @return static * * @see https://schema.org/isSimilarTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isSimilarTo($isSimilarTo) { @@ -923,7 +907,6 @@ public function isSimilarTo($isSimilarTo) * @return static * * @see https://schema.org/isVariantOf - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isVariantOf($isVariantOf) { @@ -971,7 +954,6 @@ public function keywords($keywords) * @return static * * @see https://schema.org/knownVehicleDamages - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function knownVehicleDamages($knownVehicleDamages) { @@ -986,7 +968,6 @@ public function knownVehicleDamages($knownVehicleDamages) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1047,7 +1028,6 @@ public function material($material) * * @see https://schema.org/meetsEmissionStandard * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function meetsEmissionStandard($meetsEmissionStandard) { @@ -1065,7 +1045,6 @@ public function meetsEmissionStandard($meetsEmissionStandard) * @return static * * @see https://schema.org/mileageFromOdometer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function mileageFromOdometer($mileageFromOdometer) { @@ -1132,7 +1111,6 @@ public function model($model) * * @see https://schema.org/modelDate * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function modelDate($modelDate) { @@ -1148,7 +1126,6 @@ public function modelDate($modelDate) * @return static * * @see https://schema.org/mpn - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function mpn($mpn) { @@ -1223,7 +1200,6 @@ public function nsn($nsn) * @return static * * @see https://schema.org/numberOfAirbags - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function numberOfAirbags($numberOfAirbags) { @@ -1240,7 +1216,6 @@ public function numberOfAirbags($numberOfAirbags) * @return static * * @see https://schema.org/numberOfAxles - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function numberOfAxles($numberOfAxles) { @@ -1257,7 +1232,6 @@ public function numberOfAxles($numberOfAxles) * @return static * * @see https://schema.org/numberOfDoors - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function numberOfDoors($numberOfDoors) { @@ -1275,7 +1249,6 @@ public function numberOfDoors($numberOfDoors) * @return static * * @see https://schema.org/numberOfForwardGears - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function numberOfForwardGears($numberOfForwardGears) { @@ -1292,7 +1265,6 @@ public function numberOfForwardGears($numberOfForwardGears) * @return static * * @see https://schema.org/numberOfPreviousOwners - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function numberOfPreviousOwners($numberOfPreviousOwners) { @@ -1360,7 +1332,6 @@ public function pattern($pattern) * * @see https://schema.org/payload * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function payload($payload) { @@ -1430,7 +1401,6 @@ public function productID($productID) * @return static * * @see https://schema.org/productionDate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function productionDate($productionDate) { @@ -1445,7 +1415,6 @@ public function productionDate($productionDate) * @return static * * @see https://schema.org/purchaseDate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function purchaseDate($purchaseDate) { @@ -1461,7 +1430,6 @@ public function purchaseDate($purchaseDate) * @return static * * @see https://schema.org/releaseDate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function releaseDate($releaseDate) { @@ -1515,7 +1483,6 @@ public function reviews($reviews) * * @see https://schema.org/roofLoad * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function roofLoad($roofLoad) { @@ -1551,7 +1518,6 @@ public function sameAs($sameAs) * * @see https://schema.org/seatingCapacity * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function seatingCapacity($seatingCapacity) { @@ -1587,7 +1553,6 @@ public function size($size) * @return static * * @see https://schema.org/sku - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function sku($sku) { @@ -1628,7 +1593,6 @@ public function slogan($slogan) * * @see https://schema.org/speed * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function speed($speed) { @@ -1643,7 +1607,6 @@ public function speed($speed) * @return static * * @see https://schema.org/steeringPosition - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function steeringPosition($steeringPosition) { @@ -1700,7 +1663,6 @@ public function subjectOf($subjectOf) * * @see https://schema.org/tongueWeight * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function tongueWeight($tongueWeight) { @@ -1724,7 +1686,6 @@ public function tongueWeight($tongueWeight) * * @see https://schema.org/trailerWeight * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function trailerWeight($trailerWeight) { @@ -1754,7 +1715,6 @@ public function url($url) * @return static * * @see https://schema.org/vehicleConfiguration - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function vehicleConfiguration($vehicleConfiguration) { @@ -1769,7 +1729,6 @@ public function vehicleConfiguration($vehicleConfiguration) * @return static * * @see https://schema.org/vehicleEngine - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function vehicleEngine($vehicleEngine) { @@ -1785,7 +1744,6 @@ public function vehicleEngine($vehicleEngine) * @return static * * @see https://schema.org/vehicleIdentificationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function vehicleIdentificationNumber($vehicleIdentificationNumber) { @@ -1800,7 +1758,6 @@ public function vehicleIdentificationNumber($vehicleIdentificationNumber) * @return static * * @see https://schema.org/vehicleInteriorColor - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function vehicleInteriorColor($vehicleInteriorColor) { @@ -1818,7 +1775,6 @@ public function vehicleInteriorColor($vehicleInteriorColor) * @return static * * @see https://schema.org/vehicleInteriorType - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function vehicleInteriorType($vehicleInteriorType) { @@ -1834,7 +1790,6 @@ public function vehicleInteriorType($vehicleInteriorType) * @return static * * @see https://schema.org/vehicleModelDate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function vehicleModelDate($vehicleModelDate) { @@ -1852,7 +1807,6 @@ public function vehicleModelDate($vehicleModelDate) * @return static * * @see https://schema.org/vehicleSeatingCapacity - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function vehicleSeatingCapacity($vehicleSeatingCapacity) { @@ -1871,7 +1825,6 @@ public function vehicleSeatingCapacity($vehicleSeatingCapacity) * * @see https://schema.org/vehicleSpecialUsage * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function vehicleSpecialUsage($vehicleSpecialUsage) { @@ -1888,7 +1841,6 @@ public function vehicleSpecialUsage($vehicleSpecialUsage) * @return static * * @see https://schema.org/vehicleTransmission - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function vehicleTransmission($vehicleTransmission) { @@ -1903,7 +1855,6 @@ public function vehicleTransmission($vehicleTransmission) * @return static * * @see https://schema.org/weight - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function weight($weight) { @@ -1929,7 +1880,6 @@ public function weight($weight) * * @see https://schema.org/weightTotal * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function weightTotal($weightTotal) { @@ -1948,7 +1898,6 @@ public function weightTotal($weightTotal) * * @see https://schema.org/wheelbase * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function wheelbase($wheelbase) { diff --git a/src/BusReservation.php b/src/BusReservation.php index 820b69521..60d01b447 100644 --- a/src/BusReservation.php +++ b/src/BusReservation.php @@ -22,10 +22,14 @@ class BusReservation extends BaseType implements BusReservationContract, Intangi /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/BusStation.php b/src/BusStation.php index d534a6d5c..3bfe396ec 100644 --- a/src/BusStation.php +++ b/src/BusStation.php @@ -40,10 +40,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -110,7 +114,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -451,7 +454,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -549,7 +551,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -595,7 +596,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -724,7 +724,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -856,7 +855,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/BusStop.php b/src/BusStop.php index c35350d25..807b28678 100644 --- a/src/BusStop.php +++ b/src/BusStop.php @@ -40,10 +40,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -110,7 +114,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -451,7 +454,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -549,7 +551,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -595,7 +596,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -724,7 +724,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -856,7 +855,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/BusTrip.php b/src/BusTrip.php index 18350cac4..8e32eba43 100644 --- a/src/BusTrip.php +++ b/src/BusTrip.php @@ -18,10 +18,14 @@ class BusTrip extends BaseType implements BusTripContract, IntangibleContract, T /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -207,6 +211,7 @@ public function image($image) * * @see https://schema.org/itinerary * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1810 */ public function itinerary($itinerary) { @@ -275,6 +280,7 @@ public function offers($offers) * * @see https://schema.org/partOfTrip * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1810 */ public function partOfTrip($partOfTrip) { @@ -339,6 +345,7 @@ public function sameAs($sameAs) * * @see https://schema.org/subTrip * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1810 */ public function subTrip($subTrip) { diff --git a/src/BusinessAudience.php b/src/BusinessAudience.php index 5a548f508..f0a1e90f8 100644 --- a/src/BusinessAudience.php +++ b/src/BusinessAudience.php @@ -19,10 +19,14 @@ class BusinessAudience extends BaseType implements BusinessAudienceContract, Aud /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/BusinessEntityType.php b/src/BusinessEntityType.php index 68b31198f..1bc340814 100644 --- a/src/BusinessEntityType.php +++ b/src/BusinessEntityType.php @@ -20,7 +20,6 @@ * * http://purl.org/goodrelations/v1#Reseller * * @see https://schema.org/BusinessEntityType - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsClass * * @method static supersededBy($supersededBy) The value should be instance of pending types Class|Class[]|Enumeration|Enumeration[]|Property|Property[] */ @@ -29,10 +28,14 @@ class BusinessEntityType extends BaseType implements BusinessEntityTypeContract, /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/BusinessEvent.php b/src/BusinessEvent.php index 89ba972b4..329437dbb 100644 --- a/src/BusinessEvent.php +++ b/src/BusinessEvent.php @@ -48,10 +48,14 @@ public function actor($actor) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +148,6 @@ public function audience($audience) * @return static * * @see https://schema.org/composer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public function composer($composer) { @@ -344,6 +347,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/BusinessFunction.php b/src/BusinessFunction.php index 00657413d..376494ff6 100644 --- a/src/BusinessFunction.php +++ b/src/BusinessFunction.php @@ -26,7 +26,6 @@ * * http://purl.org/goodrelations/v1#Buy * * @see https://schema.org/BusinessFunction - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsClass * * @method static supersededBy($supersededBy) The value should be instance of pending types Class|Class[]|Enumeration|Enumeration[]|Property|Property[] */ @@ -35,10 +34,14 @@ class BusinessFunction extends BaseType implements BusinessFunctionContract, Enu /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/BuyAction.php b/src/BuyAction.php index 78186c67b..9cded04b4 100644 --- a/src/BuyAction.php +++ b/src/BuyAction.php @@ -34,10 +34,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -357,7 +361,6 @@ public function priceCurrency($priceCurrency) * @return static * * @see https://schema.org/priceSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function priceSpecification($priceSpecification) { diff --git a/src/CDCPMDRecord.php b/src/CDCPMDRecord.php index f55341d32..91d7dce59 100644 --- a/src/CDCPMDRecord.php +++ b/src/CDCPMDRecord.php @@ -25,10 +25,14 @@ class CDCPMDRecord extends BaseType implements CDCPMDRecordContract, IntangibleC /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/CableOrSatelliteService.php b/src/CableOrSatelliteService.php index e2bba93ef..bc1975670 100644 --- a/src/CableOrSatelliteService.php +++ b/src/CableOrSatelliteService.php @@ -19,10 +19,14 @@ class CableOrSatelliteService extends BaseType implements CableOrSatelliteServic /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -269,7 +273,6 @@ public function image($image) * @return static * * @see https://schema.org/isRelatedTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isRelatedTo($isRelatedTo) { @@ -285,7 +288,6 @@ public function isRelatedTo($isRelatedTo) * @return static * * @see https://schema.org/isSimilarTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isSimilarTo($isSimilarTo) { @@ -300,7 +302,6 @@ public function isSimilarTo($isSimilarTo) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { diff --git a/src/CafeOrCoffeeShop.php b/src/CafeOrCoffeeShop.php index d000a33f1..eefb6da9d 100644 --- a/src/CafeOrCoffeeShop.php +++ b/src/CafeOrCoffeeShop.php @@ -45,6 +45,7 @@ public function acceptsReservations($acceptsReservations) * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -76,10 +77,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -160,7 +165,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -341,6 +345,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -443,6 +448,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -461,6 +467,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -476,7 +483,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -670,6 +676,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -873,7 +880,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -984,7 +990,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1081,7 +1086,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1137,6 +1141,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1155,6 +1160,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1184,7 +1190,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1229,7 +1234,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1275,7 +1279,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1392,7 +1395,6 @@ public function menu($menu) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1479,7 +1481,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1500,6 +1501,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1514,7 +1516,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1699,7 +1700,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1757,7 +1757,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1808,7 +1807,6 @@ public function sponsor($sponsor) * @return static * * @see https://schema.org/starRating - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function starRating($starRating) { @@ -1855,7 +1853,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1905,6 +1902,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1933,7 +1931,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/Campground.php b/src/Campground.php index bca2a5a03..2308c8064 100644 --- a/src/Campground.php +++ b/src/Campground.php @@ -31,7 +31,6 @@ * hotels and other forms of accommodations](/docs/hotels.html). * * @see https://schema.org/Campground - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology * */ class Campground extends BaseType implements CampgroundContract, CivicStructureContract, LocalBusinessContract, LodgingBusinessContract, OrganizationContract, PlaceContract, ThingContract @@ -48,6 +47,7 @@ class Campground extends BaseType implements CampgroundContract, CivicStructureC * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -79,10 +79,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -163,7 +167,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -402,6 +405,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -504,6 +508,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -522,6 +527,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -537,7 +543,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -731,6 +736,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -934,7 +940,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -1030,7 +1035,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1127,7 +1131,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1183,6 +1186,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1201,6 +1205,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1230,7 +1235,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1275,7 +1279,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1321,7 +1324,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1423,7 +1425,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1486,7 +1487,6 @@ public function numberOfEmployees($numberOfEmployees) * @return static * * @see https://schema.org/numberOfRooms - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function numberOfRooms($numberOfRooms) { @@ -1528,7 +1528,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1549,6 +1548,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1563,7 +1563,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1608,7 +1607,6 @@ public function paymentAccepted($paymentAccepted) * @return static * * @see https://schema.org/petsAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function petsAllowed($petsAllowed) { @@ -1764,7 +1762,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1808,7 +1805,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1859,7 +1855,6 @@ public function sponsor($sponsor) * @return static * * @see https://schema.org/starRating - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function starRating($starRating) { @@ -1906,7 +1901,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1956,6 +1950,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1984,7 +1979,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/CampingPitch.php b/src/CampingPitch.php index b8709af7c..7cab98289 100644 --- a/src/CampingPitch.php +++ b/src/CampingPitch.php @@ -27,7 +27,6 @@ * hotels and other forms of accommodations](/docs/hotels.html). * * @see https://schema.org/CampingPitch - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology * */ class CampingPitch extends BaseType implements CampingPitchContract, AccommodationContract, PlaceContract, ThingContract @@ -94,10 +93,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -164,13 +167,30 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { return $this->setProperty('amenityFeature', $amenityFeature); } + /** + * The type of bed or beds included in the accommodation. For the single + * case of just one bed of a certain type, you use bed directly with a text. + * If you want to indicate the quantity of a certain kind of bed, use + * an instance of BedDetails. For more detailed information, use the + * amenityFeature property. + * + * @param \Spatie\SchemaOrg\Contracts\BedDetailsContract|\Spatie\SchemaOrg\Contracts\BedDetailsContract[]|\Spatie\SchemaOrg\Contracts\BedTypeContract|\Spatie\SchemaOrg\Contracts\BedTypeContract[]|string|string[] $bed + * + * @return static + * + * @see https://schema.org/bed + */ + public function bed($bed) + { + return $this->setProperty('bed', $bed); + } + /** * A short textual code (also called "store code") that uniquely identifies * a place of business. The code is typically assigned by the @@ -338,7 +358,6 @@ public function floorLevel($floorLevel) * @return static * * @see https://schema.org/floorSize - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function floorSize($floorSize) { @@ -542,7 +561,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -640,7 +658,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -703,7 +720,6 @@ public function leaseLength($leaseLength) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -882,13 +898,30 @@ public function numberOfPartialBathrooms($numberOfPartialBathrooms) * @return static * * @see https://schema.org/numberOfRooms - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function numberOfRooms($numberOfRooms) { return $this->setProperty('numberOfRooms', $numberOfRooms); } + /** + * The allowed total occupancy for the accommodation in persons (including + * infants etc). For individual accommodations, this is not necessarily the + * legal maximum but defines the permitted usage as per the contractual + * agreement (e.g. a double room used by a single person). + * Typical unit code(s): C62 for person + * + * @param \Spatie\SchemaOrg\Contracts\QuantitativeValueContract|\Spatie\SchemaOrg\Contracts\QuantitativeValueContract[] $occupancy + * + * @return static + * + * @see https://schema.org/occupancy + */ + public function occupancy($occupancy) + { + return $this->setProperty('occupancy', $occupancy); + } + /** * The opening hours of a certain place. * @@ -897,7 +930,6 @@ public function numberOfRooms($numberOfRooms) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -912,7 +944,6 @@ public function openingHoursSpecification($openingHoursSpecification) * @return static * * @see https://schema.org/permittedUsage - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function permittedUsage($permittedUsage) { @@ -928,7 +959,6 @@ public function permittedUsage($permittedUsage) * @return static * * @see https://schema.org/petsAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function petsAllowed($petsAllowed) { @@ -1060,7 +1090,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/Canal.php b/src/Canal.php index ab3408c3c..fef54166b 100644 --- a/src/Canal.php +++ b/src/Canal.php @@ -41,10 +41,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -111,7 +115,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -452,7 +455,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -550,7 +552,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -596,7 +597,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -698,7 +698,6 @@ public function name($name) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -830,7 +829,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/CancelAction.php b/src/CancelAction.php index 6f6774f8a..95a1bad99 100644 --- a/src/CancelAction.php +++ b/src/CancelAction.php @@ -37,10 +37,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/Car.php b/src/Car.php index c047dd631..3d61f9c65 100644 --- a/src/Car.php +++ b/src/Car.php @@ -11,7 +11,6 @@ * A car is a wheeled, self-powered motor vehicle used for transportation. * * @see https://schema.org/Car - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group * */ class Car extends BaseType implements CarContract, ProductContract, ThingContract, VehicleContract @@ -34,7 +33,6 @@ class Car extends BaseType implements CarContract, ProductContract, ThingContrac * * @see https://schema.org/accelerationTime * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function accelerationTime($accelerationTime) { @@ -52,7 +50,6 @@ public function accelerationTime($accelerationTime) * * @see https://schema.org/acrissCode * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function acrissCode($acrissCode) { @@ -84,10 +81,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -207,7 +208,6 @@ public function awards($awards) * * @see https://schema.org/bodyType * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function bodyType($bodyType) { @@ -260,7 +260,6 @@ public function callSign($callSign) * @return static * * @see https://schema.org/cargoVolume - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function cargoVolume($cargoVolume) { @@ -290,7 +289,6 @@ public function category($category) * @return static * * @see https://schema.org/color - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function color($color) { @@ -364,7 +362,6 @@ public function countryOfOrigin($countryOfOrigin) * @return static * * @see https://schema.org/dateVehicleFirstRegistered - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function dateVehicleFirstRegistered($dateVehicleFirstRegistered) { @@ -379,7 +376,6 @@ public function dateVehicleFirstRegistered($dateVehicleFirstRegistered) * @return static * * @see https://schema.org/depth - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function depth($depth) { @@ -426,7 +422,6 @@ public function disambiguatingDescription($disambiguatingDescription) * @return static * * @see https://schema.org/driveWheelConfiguration - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function driveWheelConfiguration($driveWheelConfiguration) { @@ -444,7 +439,6 @@ public function driveWheelConfiguration($driveWheelConfiguration) * * @see https://schema.org/emissionsCO2 * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function emissionsCO2($emissionsCO2) { @@ -465,7 +459,6 @@ public function emissionsCO2($emissionsCO2) * * @see https://schema.org/fuelCapacity * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function fuelCapacity($fuelCapacity) { @@ -492,7 +485,6 @@ public function fuelCapacity($fuelCapacity) * @return static * * @see https://schema.org/fuelConsumption - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function fuelConsumption($fuelConsumption) { @@ -519,7 +511,6 @@ public function fuelConsumption($fuelConsumption) * @return static * * @see https://schema.org/fuelEfficiency - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function fuelEfficiency($fuelEfficiency) { @@ -536,7 +527,6 @@ public function fuelEfficiency($fuelEfficiency) * @return static * * @see https://schema.org/fuelType - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function fuelType($fuelType) { @@ -553,6 +543,7 @@ public function fuelType($fuelType) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -632,7 +623,6 @@ public function gtin12($gtin12) * @return static * * @see https://schema.org/gtin13 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function gtin13($gtin13) { @@ -650,7 +640,6 @@ public function gtin13($gtin13) * @return static * * @see https://schema.org/gtin14 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function gtin14($gtin14) { @@ -668,7 +657,6 @@ public function gtin14($gtin14) * @return static * * @see https://schema.org/gtin8 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function gtin8($gtin8) { @@ -834,7 +822,6 @@ public function inProductGroupWithID($inProductGroupWithID) * @return static * * @see https://schema.org/isAccessoryOrSparePartFor - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isAccessoryOrSparePartFor($isAccessoryOrSparePartFor) { @@ -850,7 +837,6 @@ public function isAccessoryOrSparePartFor($isAccessoryOrSparePartFor) * @return static * * @see https://schema.org/isConsumableFor - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isConsumableFor($isConsumableFor) { @@ -879,7 +865,6 @@ public function isFamilyFriendly($isFamilyFriendly) * @return static * * @see https://schema.org/isRelatedTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isRelatedTo($isRelatedTo) { @@ -895,7 +880,6 @@ public function isRelatedTo($isRelatedTo) * @return static * * @see https://schema.org/isSimilarTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isSimilarTo($isSimilarTo) { @@ -920,7 +904,6 @@ public function isSimilarTo($isSimilarTo) * @return static * * @see https://schema.org/isVariantOf - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isVariantOf($isVariantOf) { @@ -968,7 +951,6 @@ public function keywords($keywords) * @return static * * @see https://schema.org/knownVehicleDamages - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function knownVehicleDamages($knownVehicleDamages) { @@ -983,7 +965,6 @@ public function knownVehicleDamages($knownVehicleDamages) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1044,7 +1025,6 @@ public function material($material) * * @see https://schema.org/meetsEmissionStandard * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function meetsEmissionStandard($meetsEmissionStandard) { @@ -1062,7 +1042,6 @@ public function meetsEmissionStandard($meetsEmissionStandard) * @return static * * @see https://schema.org/mileageFromOdometer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function mileageFromOdometer($mileageFromOdometer) { @@ -1129,7 +1108,6 @@ public function model($model) * * @see https://schema.org/modelDate * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function modelDate($modelDate) { @@ -1145,7 +1123,6 @@ public function modelDate($modelDate) * @return static * * @see https://schema.org/mpn - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function mpn($mpn) { @@ -1220,7 +1197,6 @@ public function nsn($nsn) * @return static * * @see https://schema.org/numberOfAirbags - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function numberOfAirbags($numberOfAirbags) { @@ -1237,7 +1213,6 @@ public function numberOfAirbags($numberOfAirbags) * @return static * * @see https://schema.org/numberOfAxles - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function numberOfAxles($numberOfAxles) { @@ -1254,7 +1229,6 @@ public function numberOfAxles($numberOfAxles) * @return static * * @see https://schema.org/numberOfDoors - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function numberOfDoors($numberOfDoors) { @@ -1272,7 +1246,6 @@ public function numberOfDoors($numberOfDoors) * @return static * * @see https://schema.org/numberOfForwardGears - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function numberOfForwardGears($numberOfForwardGears) { @@ -1289,7 +1262,6 @@ public function numberOfForwardGears($numberOfForwardGears) * @return static * * @see https://schema.org/numberOfPreviousOwners - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function numberOfPreviousOwners($numberOfPreviousOwners) { @@ -1357,7 +1329,6 @@ public function pattern($pattern) * * @see https://schema.org/payload * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function payload($payload) { @@ -1427,7 +1398,6 @@ public function productID($productID) * @return static * * @see https://schema.org/productionDate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function productionDate($productionDate) { @@ -1442,7 +1412,6 @@ public function productionDate($productionDate) * @return static * * @see https://schema.org/purchaseDate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function purchaseDate($purchaseDate) { @@ -1458,7 +1427,6 @@ public function purchaseDate($purchaseDate) * @return static * * @see https://schema.org/releaseDate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function releaseDate($releaseDate) { @@ -1512,7 +1480,6 @@ public function reviews($reviews) * * @see https://schema.org/roofLoad * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function roofLoad($roofLoad) { @@ -1548,7 +1515,6 @@ public function sameAs($sameAs) * * @see https://schema.org/seatingCapacity * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function seatingCapacity($seatingCapacity) { @@ -1584,7 +1550,6 @@ public function size($size) * @return static * * @see https://schema.org/sku - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function sku($sku) { @@ -1625,7 +1590,6 @@ public function slogan($slogan) * * @see https://schema.org/speed * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function speed($speed) { @@ -1640,7 +1604,6 @@ public function speed($speed) * @return static * * @see https://schema.org/steeringPosition - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function steeringPosition($steeringPosition) { @@ -1697,7 +1660,6 @@ public function subjectOf($subjectOf) * * @see https://schema.org/tongueWeight * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function tongueWeight($tongueWeight) { @@ -1721,7 +1683,6 @@ public function tongueWeight($tongueWeight) * * @see https://schema.org/trailerWeight * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function trailerWeight($trailerWeight) { @@ -1751,7 +1712,6 @@ public function url($url) * @return static * * @see https://schema.org/vehicleConfiguration - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function vehicleConfiguration($vehicleConfiguration) { @@ -1766,7 +1726,6 @@ public function vehicleConfiguration($vehicleConfiguration) * @return static * * @see https://schema.org/vehicleEngine - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function vehicleEngine($vehicleEngine) { @@ -1782,7 +1741,6 @@ public function vehicleEngine($vehicleEngine) * @return static * * @see https://schema.org/vehicleIdentificationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function vehicleIdentificationNumber($vehicleIdentificationNumber) { @@ -1797,7 +1755,6 @@ public function vehicleIdentificationNumber($vehicleIdentificationNumber) * @return static * * @see https://schema.org/vehicleInteriorColor - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function vehicleInteriorColor($vehicleInteriorColor) { @@ -1815,7 +1772,6 @@ public function vehicleInteriorColor($vehicleInteriorColor) * @return static * * @see https://schema.org/vehicleInteriorType - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function vehicleInteriorType($vehicleInteriorType) { @@ -1831,7 +1787,6 @@ public function vehicleInteriorType($vehicleInteriorType) * @return static * * @see https://schema.org/vehicleModelDate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function vehicleModelDate($vehicleModelDate) { @@ -1849,7 +1804,6 @@ public function vehicleModelDate($vehicleModelDate) * @return static * * @see https://schema.org/vehicleSeatingCapacity - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function vehicleSeatingCapacity($vehicleSeatingCapacity) { @@ -1868,7 +1822,6 @@ public function vehicleSeatingCapacity($vehicleSeatingCapacity) * * @see https://schema.org/vehicleSpecialUsage * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function vehicleSpecialUsage($vehicleSpecialUsage) { @@ -1885,7 +1838,6 @@ public function vehicleSpecialUsage($vehicleSpecialUsage) * @return static * * @see https://schema.org/vehicleTransmission - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function vehicleTransmission($vehicleTransmission) { @@ -1900,7 +1852,6 @@ public function vehicleTransmission($vehicleTransmission) * @return static * * @see https://schema.org/weight - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function weight($weight) { @@ -1926,7 +1877,6 @@ public function weight($weight) * * @see https://schema.org/weightTotal * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function weightTotal($weightTotal) { @@ -1945,7 +1895,6 @@ public function weightTotal($weightTotal) * * @see https://schema.org/wheelbase * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function wheelbase($wheelbase) { diff --git a/src/CarUsageType.php b/src/CarUsageType.php index f6baeac2a..0e111d1b1 100644 --- a/src/CarUsageType.php +++ b/src/CarUsageType.php @@ -13,7 +13,6 @@ * * @see https://schema.org/CarUsageType * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group * * @method static supersededBy($supersededBy) The value should be instance of pending types Class|Class[]|Enumeration|Enumeration[]|Property|Property[] */ @@ -24,7 +23,6 @@ class CarUsageType extends BaseType implements CarUsageTypeContract, Enumeration * * @see https://schema.org/DrivingSchoolVehicleUsage * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public const DrivingSchoolVehicleUsage = 'https://schema.org/DrivingSchoolVehicleUsage'; @@ -33,7 +31,6 @@ class CarUsageType extends BaseType implements CarUsageTypeContract, Enumeration * * @see https://schema.org/RentalVehicleUsage * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public const RentalVehicleUsage = 'https://schema.org/RentalVehicleUsage'; @@ -42,17 +39,20 @@ class CarUsageType extends BaseType implements CarUsageTypeContract, Enumeration * * @see https://schema.org/TaxiVehicleUsage * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public const TaxiVehicleUsage = 'https://schema.org/TaxiVehicleUsage'; /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/Casino.php b/src/Casino.php index a7b2d0896..8f290f5d2 100644 --- a/src/Casino.php +++ b/src/Casino.php @@ -29,6 +29,7 @@ class Casino extends BaseType implements CasinoContract, EntertainmentBusinessCo * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/CategoryCode.php b/src/CategoryCode.php index d8cfaacb0..435c5bd54 100644 --- a/src/CategoryCode.php +++ b/src/CategoryCode.php @@ -20,10 +20,14 @@ class CategoryCode extends BaseType implements CategoryCodeContract, DefinedTerm /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/CategoryCodeSet.php b/src/CategoryCodeSet.php index 1d96cf58d..e96bb43ea 100644 --- a/src/CategoryCodeSet.php +++ b/src/CategoryCodeSet.php @@ -203,10 +203,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -586,6 +590,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -915,7 +920,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -986,6 +990,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1047,7 +1052,6 @@ public function hasDefinedTerm($hasDefinedTerm) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1185,7 +1189,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1922,6 +1926,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1937,9 +1955,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2077,7 +2094,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/CatholicChurch.php b/src/CatholicChurch.php index 4f3977d09..917a47314 100644 --- a/src/CatholicChurch.php +++ b/src/CatholicChurch.php @@ -42,10 +42,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -112,7 +116,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -453,7 +456,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -551,7 +553,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -597,7 +598,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -726,7 +726,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -858,7 +857,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/Cemetery.php b/src/Cemetery.php index 9c1e53afa..0a1be0cc3 100644 --- a/src/Cemetery.php +++ b/src/Cemetery.php @@ -40,10 +40,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -110,7 +114,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -451,7 +454,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -549,7 +551,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -595,7 +596,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -724,7 +724,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -856,7 +855,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/Chapter.php b/src/Chapter.php index da03b9702..a434cf9e9 100644 --- a/src/Chapter.php +++ b/src/Chapter.php @@ -202,10 +202,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -585,6 +589,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -914,7 +919,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -985,6 +989,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1014,7 +1019,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1152,7 +1156,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1421,7 +1425,6 @@ public function offers($offers) * @return static * * @see https://schema.org/pageEnd - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pageEnd($pageEnd) { @@ -1436,7 +1439,6 @@ public function pageEnd($pageEnd) * @return static * * @see https://schema.org/pageStart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pageStart($pageStart) { @@ -1452,7 +1454,6 @@ public function pageStart($pageStart) * @return static * * @see https://schema.org/pagination - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pagination($pagination) { @@ -1935,6 +1936,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1950,9 +1965,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2090,7 +2104,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/CheckAction.php b/src/CheckAction.php index 949395ab9..e430de39c 100644 --- a/src/CheckAction.php +++ b/src/CheckAction.php @@ -33,10 +33,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/CheckInAction.php b/src/CheckInAction.php index 6c7c7aebb..816f53249 100644 --- a/src/CheckInAction.php +++ b/src/CheckInAction.php @@ -60,10 +60,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/CheckOutAction.php b/src/CheckOutAction.php index e83ab41b7..1321077c8 100644 --- a/src/CheckOutAction.php +++ b/src/CheckOutAction.php @@ -58,10 +58,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/CheckoutPage.php b/src/CheckoutPage.php index b31ac0292..3bf4c30f1 100644 --- a/src/CheckoutPage.php +++ b/src/CheckoutPage.php @@ -201,10 +201,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -599,6 +603,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -928,7 +933,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -999,6 +1003,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1028,7 +1033,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1166,7 +1170,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2059,6 +2063,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2074,9 +2092,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2214,7 +2231,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/ChemicalSubstance.php b/src/ChemicalSubstance.php index b8964ceb2..3fd030f5d 100644 --- a/src/ChemicalSubstance.php +++ b/src/ChemicalSubstance.php @@ -21,10 +21,14 @@ class ChemicalSubstance extends BaseType implements ChemicalSubstanceContract, B /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -62,6 +66,7 @@ public function alternateName($alternateName) * * @see https://schema.org/associatedDisease * @see https://pending.schema.org + * @link http://www.bioschemas.org/BioChemEntity */ public function associatedDisease($associatedDisease) { @@ -77,6 +82,7 @@ public function associatedDisease($associatedDisease) * * @see https://schema.org/bioChemInteraction * @see https://pending.schema.org + * @link http://www.bioschemas.org */ public function bioChemInteraction($bioChemInteraction) { @@ -93,6 +99,7 @@ public function bioChemInteraction($bioChemInteraction) * * @see https://schema.org/bioChemSimilarity * @see https://pending.schema.org + * @link http://www.bioschemas.org */ public function bioChemSimilarity($bioChemSimilarity) { @@ -108,6 +115,7 @@ public function bioChemSimilarity($bioChemSimilarity) * * @see https://schema.org/biologicalRole * @see https://pending.schema.org + * @link http://www.bioschemas.org */ public function biologicalRole($biologicalRole) { @@ -124,6 +132,7 @@ public function biologicalRole($biologicalRole) * * @see https://schema.org/chemicalComposition * @see https://pending.schema.org + * @link http://www.bioschemas.org/ChemicalSubstance */ public function chemicalComposition($chemicalComposition) { @@ -139,6 +148,7 @@ public function chemicalComposition($chemicalComposition) * * @see https://schema.org/chemicalRole * @see https://pending.schema.org + * @link http://www.bioschemas.org/ChemicalSubstance */ public function chemicalRole($chemicalRole) { @@ -186,6 +196,7 @@ public function disambiguatingDescription($disambiguatingDescription) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -202,6 +213,7 @@ public function funding($funding) * * @see https://schema.org/hasBioChemEntityPart * @see https://pending.schema.org + * @link http://www.bioschemas.org */ public function hasBioChemEntityPart($hasBioChemEntityPart) { @@ -218,6 +230,7 @@ public function hasBioChemEntityPart($hasBioChemEntityPart) * * @see https://schema.org/hasMolecularFunction * @see https://pending.schema.org + * @link http://www.bioschemas.org/BioChemEntity */ public function hasMolecularFunction($hasMolecularFunction) { @@ -234,6 +247,7 @@ public function hasMolecularFunction($hasMolecularFunction) * * @see https://schema.org/hasRepresentation * @see https://pending.schema.org + * @link http://www.bioschemas.org */ public function hasRepresentation($hasRepresentation) { @@ -282,6 +296,7 @@ public function image($image) * * @see https://schema.org/isEncodedByBioChemEntity * @see https://pending.schema.org + * @link http://www.bioschemas.org/Gene */ public function isEncodedByBioChemEntity($isEncodedByBioChemEntity) { @@ -298,6 +313,7 @@ public function isEncodedByBioChemEntity($isEncodedByBioChemEntity) * * @see https://schema.org/isInvolvedInBiologicalProcess * @see https://pending.schema.org + * @link http://www.bioschemas.org/BioChemEntity */ public function isInvolvedInBiologicalProcess($isInvolvedInBiologicalProcess) { @@ -314,6 +330,7 @@ public function isInvolvedInBiologicalProcess($isInvolvedInBiologicalProcess) * * @see https://schema.org/isLocatedInSubcellularLocation * @see https://pending.schema.org + * @link http://www.bioschemas.org/BioChemEntity */ public function isLocatedInSubcellularLocation($isLocatedInSubcellularLocation) { @@ -330,6 +347,7 @@ public function isLocatedInSubcellularLocation($isLocatedInSubcellularLocation) * * @see https://schema.org/isPartOfBioChemEntity * @see https://pending.schema.org + * @link http://www.bioschemas.org */ public function isPartOfBioChemEntity($isPartOfBioChemEntity) { @@ -390,6 +408,7 @@ public function potentialAction($potentialAction) * * @see https://schema.org/potentialUse * @see https://pending.schema.org + * @link http://www.bioschemas.org/ChemicalSubstance */ public function potentialUse($potentialUse) { @@ -437,6 +456,7 @@ public function subjectOf($subjectOf) * * @see https://schema.org/taxonomicRange * @see https://pending.schema.org + * @link http://www.bioschemas.org */ public function taxonomicRange($taxonomicRange) { diff --git a/src/ChildCare.php b/src/ChildCare.php index 97a402ec9..3ddabfa6d 100644 --- a/src/ChildCare.php +++ b/src/ChildCare.php @@ -28,6 +28,7 @@ class ChildCare extends BaseType implements ChildCareContract, LocalBusinessCont * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -59,10 +60,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -143,7 +148,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -324,6 +328,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -426,6 +431,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -444,6 +450,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -459,7 +466,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -653,6 +659,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -856,7 +863,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -952,7 +958,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1049,7 +1054,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1105,6 +1109,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1123,6 +1128,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1152,7 +1158,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1197,7 +1202,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1243,7 +1247,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1345,7 +1348,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1432,7 +1434,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1453,6 +1454,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1467,7 +1469,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1652,7 +1653,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1696,7 +1696,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1776,7 +1775,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1826,6 +1824,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1854,7 +1853,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/ChildrensEvent.php b/src/ChildrensEvent.php index 792dbc9c6..59591108b 100644 --- a/src/ChildrensEvent.php +++ b/src/ChildrensEvent.php @@ -48,10 +48,14 @@ public function actor($actor) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +148,6 @@ public function audience($audience) * @return static * * @see https://schema.org/composer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public function composer($composer) { @@ -344,6 +347,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/ChooseAction.php b/src/ChooseAction.php index 521e56198..0d41b9bb2 100644 --- a/src/ChooseAction.php +++ b/src/ChooseAction.php @@ -47,10 +47,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/Church.php b/src/Church.php index a45de119e..5b3804a50 100644 --- a/src/Church.php +++ b/src/Church.php @@ -41,10 +41,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -111,7 +115,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -452,7 +455,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -550,7 +552,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -596,7 +597,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -725,7 +725,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -857,7 +856,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/City.php b/src/City.php index 8f9d9af31..157e7735c 100644 --- a/src/City.php +++ b/src/City.php @@ -40,10 +40,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -110,7 +114,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -451,7 +454,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -549,7 +551,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -595,7 +596,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -697,7 +697,6 @@ public function name($name) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -829,7 +828,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/CityHall.php b/src/CityHall.php index 4fe458862..e41f569d1 100644 --- a/src/CityHall.php +++ b/src/CityHall.php @@ -41,10 +41,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -111,7 +115,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -452,7 +455,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -550,7 +552,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -596,7 +597,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -725,7 +725,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -857,7 +856,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/CivicStructure.php b/src/CivicStructure.php index 23d35f992..73bf33bb9 100644 --- a/src/CivicStructure.php +++ b/src/CivicStructure.php @@ -39,10 +39,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -109,7 +113,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -450,7 +453,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -548,7 +550,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -594,7 +595,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -723,7 +723,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -855,7 +854,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/Claim.php b/src/Claim.php index 4441efb4a..fe374e9fd 100644 --- a/src/Claim.php +++ b/src/Claim.php @@ -216,10 +216,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -633,6 +637,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -962,7 +967,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1050,6 +1054,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1079,7 +1084,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1217,7 +1221,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1954,6 +1958,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1969,9 +1987,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2109,7 +2126,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/ClaimReview.php b/src/ClaimReview.php index d9c84dcc7..e0d398432 100644 --- a/src/ClaimReview.php +++ b/src/ClaimReview.php @@ -203,10 +203,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -659,6 +663,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -988,7 +993,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1059,6 +1063,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1088,7 +1093,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1226,7 +1230,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2077,6 +2081,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2092,9 +2110,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2232,7 +2249,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/Clip.php b/src/Clip.php index 0c845a6c0..5998fcfd6 100644 --- a/src/Clip.php +++ b/src/Clip.php @@ -231,10 +231,14 @@ public function actors($actors) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -628,6 +632,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -1005,7 +1010,6 @@ public function endOffset($endOffset) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1076,6 +1080,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1105,7 +1110,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1243,7 +1247,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2053,6 +2057,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2068,9 +2086,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2208,7 +2225,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/ClothingStore.php b/src/ClothingStore.php index b29a00675..c0de92013 100644 --- a/src/ClothingStore.php +++ b/src/ClothingStore.php @@ -29,6 +29,7 @@ class ClothingStore extends BaseType implements ClothingStoreContract, LocalBusi * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/Code.php b/src/Code.php index 6367a3d9a..7cbe7bdf4 100644 --- a/src/Code.php +++ b/src/Code.php @@ -201,10 +201,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -584,6 +588,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -913,7 +918,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -984,6 +988,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1013,7 +1018,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1151,7 +1155,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1888,6 +1892,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1903,9 +1921,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2043,7 +2060,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/Collection.php b/src/Collection.php index 13994d83e..17e019fe7 100644 --- a/src/Collection.php +++ b/src/Collection.php @@ -201,10 +201,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -600,6 +604,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -929,7 +934,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1000,6 +1004,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1029,7 +1034,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1167,7 +1171,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1904,6 +1908,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1919,9 +1937,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2059,7 +2076,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/CollectionPage.php b/src/CollectionPage.php index b1de2d814..f8b3e51f8 100644 --- a/src/CollectionPage.php +++ b/src/CollectionPage.php @@ -201,10 +201,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -599,6 +603,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -928,7 +933,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -999,6 +1003,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1028,7 +1033,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1166,7 +1170,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2059,6 +2063,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2074,9 +2092,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2214,7 +2231,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/CollegeOrUniversity.php b/src/CollegeOrUniversity.php index eeaab3888..7e1002efd 100644 --- a/src/CollegeOrUniversity.php +++ b/src/CollegeOrUniversity.php @@ -29,6 +29,7 @@ class CollegeOrUniversity extends BaseType implements CollegeOrUniversityContrac * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -310,6 +314,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -390,6 +395,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -408,6 +414,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -423,7 +430,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -617,6 +623,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -820,7 +827,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -916,7 +922,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1013,7 +1018,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1069,6 +1073,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1087,6 +1092,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1116,7 +1122,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1161,7 +1166,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1207,7 +1211,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1309,7 +1312,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1396,7 +1398,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1417,6 +1418,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1431,7 +1433,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1588,7 +1589,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1632,7 +1632,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1712,7 +1711,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1762,6 +1760,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1790,7 +1789,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/ComedyClub.php b/src/ComedyClub.php index c28931e9e..be9fb30c6 100644 --- a/src/ComedyClub.php +++ b/src/ComedyClub.php @@ -29,6 +29,7 @@ class ComedyClub extends BaseType implements ComedyClubContract, EntertainmentBu * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/ComedyEvent.php b/src/ComedyEvent.php index 131fe50fd..3a01c5be6 100644 --- a/src/ComedyEvent.php +++ b/src/ComedyEvent.php @@ -48,10 +48,14 @@ public function actor($actor) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +148,6 @@ public function audience($audience) * @return static * * @see https://schema.org/composer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public function composer($composer) { @@ -344,6 +347,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/ComicCoverArt.php b/src/ComicCoverArt.php index b785502b8..3869307b0 100644 --- a/src/ComicCoverArt.php +++ b/src/ComicCoverArt.php @@ -204,10 +204,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -682,6 +686,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -816,7 +821,6 @@ public function datePublished($datePublished) * @return static * * @see https://schema.org/depth - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function depth($depth) { @@ -1026,7 +1030,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1097,6 +1100,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1126,7 +1130,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1294,7 +1297,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2077,6 +2080,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2092,9 +2109,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2246,7 +2262,6 @@ public function width($width) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/ComicIssue.php b/src/ComicIssue.php index 3058af002..c898c117e 100644 --- a/src/ComicIssue.php +++ b/src/ComicIssue.php @@ -209,10 +209,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -625,6 +629,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -954,7 +959,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1025,6 +1029,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1054,7 +1059,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1208,7 +1212,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1274,7 +1278,6 @@ public function isPartOf($isPartOf) * @return static * * @see https://schema.org/issueNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function issueNumber($issueNumber) { @@ -1508,7 +1511,6 @@ public function offers($offers) * @return static * * @see https://schema.org/pageEnd - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pageEnd($pageEnd) { @@ -1523,7 +1525,6 @@ public function pageEnd($pageEnd) * @return static * * @see https://schema.org/pageStart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pageStart($pageStart) { @@ -1539,7 +1540,6 @@ public function pageStart($pageStart) * @return static * * @see https://schema.org/pagination - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pagination($pagination) { @@ -2037,6 +2037,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2052,9 +2066,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2210,7 +2223,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/ComicSeries.php b/src/ComicSeries.php index d0fe8e498..741df9251 100644 --- a/src/ComicSeries.php +++ b/src/ComicSeries.php @@ -207,10 +207,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -590,6 +594,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -935,7 +940,6 @@ public function endDate($endDate) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1006,6 +1010,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1035,7 +1040,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1173,7 +1177,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1241,7 +1245,6 @@ public function isPartOf($isPartOf) * @return static * * @see https://schema.org/issn - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function issn($issn) { @@ -1943,6 +1946,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1958,9 +1975,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2098,7 +2114,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/ComicStory.php b/src/ComicStory.php index 21ebd8757..b6a89373a 100644 --- a/src/ComicStory.php +++ b/src/ComicStory.php @@ -205,10 +205,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -621,6 +625,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -950,7 +955,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1021,6 +1025,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1050,7 +1055,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1204,7 +1208,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1972,6 +1976,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1987,9 +2005,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2127,7 +2144,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/Comment.php b/src/Comment.php index 17f91347e..51754c773 100644 --- a/src/Comment.php +++ b/src/Comment.php @@ -202,10 +202,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -585,6 +589,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -929,7 +934,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1000,6 +1004,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1029,7 +1034,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1167,7 +1171,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1918,6 +1922,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1933,9 +1951,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2088,7 +2105,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/CommentAction.php b/src/CommentAction.php index 3046ef27b..830971ccd 100644 --- a/src/CommentAction.php +++ b/src/CommentAction.php @@ -48,10 +48,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/CommunicateAction.php b/src/CommunicateAction.php index f30f8bcfa..27d35dde1 100644 --- a/src/CommunicateAction.php +++ b/src/CommunicateAction.php @@ -48,10 +48,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/CompleteDataFeed.php b/src/CompleteDataFeed.php index a42772722..536cf1c9b 100644 --- a/src/CompleteDataFeed.php +++ b/src/CompleteDataFeed.php @@ -214,10 +214,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -611,6 +615,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -989,7 +994,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1060,6 +1064,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1089,7 +1094,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1256,7 +1260,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1324,7 +1328,6 @@ public function isPartOf($isPartOf) * @return static * * @see https://schema.org/issn - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function issn($issn) { @@ -1484,27 +1487,53 @@ public function materialExtent($materialExtent) } /** - * A technique or technology used in a [[Dataset]] (or [[DataDownload]], - * [[DataCatalog]]), - * corresponding to the method used for measuring the corresponding - * variable(s) (described using [[variableMeasured]]). This is oriented + * A subproperty of [[measurementTechnique]] that can be used for specifying + * specific methods, in particular via [[MeasurementMethodEnum]]. + * + * @param \Spatie\SchemaOrg\Contracts\MeasurementMethodEnumContract|\Spatie\SchemaOrg\Contracts\MeasurementMethodEnumContract[]|string|string[] $measurementMethod + * + * @return static + * + * @see https://schema.org/measurementMethod + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1425 + */ + public function measurementMethod($measurementMethod) + { + return $this->setProperty('measurementMethod', $measurementMethod); + } + + /** + * A technique, method or technology used in an [[Observation]], + * [[StatisticalVariable]] or [[Dataset]] (or [[DataDownload]], + * [[DataCatalog]]), corresponding to the method used for measuring the + * corresponding variable(s) (for datasets, described using + * [[variableMeasured]]; for [[Observation]], a [[StatisticalVariable]]). + * Often but not necessarily each [[variableMeasured]] will have an explicit + * representation as (or mapping to) an property such as those defined in + * Schema.org, or other RDF vocabularies and "knowledge graphs". In that + * case the subproperty of [[variableMeasured]] called [[measuredProperty]] + * is applicable. + * + * The [[measurementTechnique]] property helps when extra clarification is + * needed about how a [[measuredProperty]] was measured. This is oriented * towards scientific and scholarly dataset publication but may have broader * applicability; it is not intended as a full representation of - * measurement, but rather as a high level summary for dataset discovery. + * measurement, but can often serve as a high level summary for dataset + * discovery. * * For example, if [[variableMeasured]] is: molecule concentration, * [[measurementTechnique]] could be: "mass spectrometry" or "nmr - * spectroscopy" or "colorimetry" or "immunofluorescence". - * - * If the [[variableMeasured]] is "depression rating", the - * [[measurementTechnique]] could be "Zung Scale" or "HAM-D" or "Beck - * Depression Inventory". + * spectroscopy" or "colorimetry" or "immunofluorescence". If the + * [[variableMeasured]] is "depression rating", the [[measurementTechnique]] + * could be "Zung Scale" or "HAM-D" or "Beck Depression Inventory". * * If there are several [[variableMeasured]] properties recorded for some * given data object, use a [[PropertyValue]] for each [[variableMeasured]] - * and attach the corresponding [[measurementTechnique]]. + * and attach the corresponding [[measurementTechnique]]. The value can also + * be from an enumeration, organized as a [[MeasurementMetholdEnumeration]]. * - * @param string|string[] $measurementTechnique + * @param \Spatie\SchemaOrg\Contracts\MeasurementMethodEnumContract|\Spatie\SchemaOrg\Contracts\MeasurementMethodEnumContract[]|string|string[] $measurementTechnique * * @return static * @@ -2044,6 +2073,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2059,9 +2102,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2165,9 +2207,10 @@ public function usageInfo($usageInfo) /** * The variableMeasured property can indicate (repeated as necessary) the * variables that are measured in some dataset, either described as text or - * as pairs of identifier and description using PropertyValue. + * as pairs of identifier and description using PropertyValue, or more + * explicitly as a [[StatisticalVariable]]. * - * @param \Spatie\SchemaOrg\Contracts\PropertyValueContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract[]|string|string[] $variableMeasured + * @param \Spatie\SchemaOrg\Contracts\PropertyContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract[]|\Spatie\SchemaOrg\Contracts\PropertyContract[]|\Spatie\SchemaOrg\Contracts\StatisticalVariableContract|\Spatie\SchemaOrg\Contracts\StatisticalVariableContract[]|string|string[] $variableMeasured * * @return static * @@ -2235,7 +2278,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/CompoundPriceSpecification.php b/src/CompoundPriceSpecification.php index e943d3b01..e69a09802 100644 --- a/src/CompoundPriceSpecification.php +++ b/src/CompoundPriceSpecification.php @@ -15,7 +15,6 @@ * dimension of a price component (e.g. "electricity" or "final cleaning"). * * @see https://schema.org/CompoundPriceSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsClass * */ class CompoundPriceSpecification extends BaseType implements CompoundPriceSpecificationContract, IntangibleContract, PriceSpecificationContract, StructuredValueContract, ThingContract @@ -23,10 +22,14 @@ class CompoundPriceSpecification extends BaseType implements CompoundPriceSpecif /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -94,7 +97,6 @@ public function disambiguatingDescription($disambiguatingDescription) * @return static * * @see https://schema.org/eligibleQuantity - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function eligibleQuantity($eligibleQuantity) { @@ -112,7 +114,6 @@ public function eligibleQuantity($eligibleQuantity) * @return static * * @see https://schema.org/eligibleTransactionVolume - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function eligibleTransactionVolume($eligibleTransactionVolume) { @@ -176,7 +177,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/maxPrice - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function maxPrice($maxPrice) { @@ -191,7 +191,6 @@ public function maxPrice($maxPrice) * @return static * * @see https://schema.org/minPrice - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function minPrice($minPrice) { @@ -273,7 +272,6 @@ public function price($price) * @return static * * @see https://schema.org/priceComponent - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function priceComponent($priceComponent) { @@ -317,7 +315,6 @@ public function priceCurrency($priceCurrency) * @return static * * @see https://schema.org/priceType - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function priceType($priceType) { @@ -377,7 +374,6 @@ public function url($url) * @return static * * @see https://schema.org/validFrom - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function validFrom($validFrom) { @@ -393,7 +389,6 @@ public function validFrom($validFrom) * @return static * * @see https://schema.org/validThrough - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function validThrough($validThrough) { @@ -409,7 +404,6 @@ public function validThrough($validThrough) * @return static * * @see https://schema.org/valueAddedTaxIncluded - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function valueAddedTaxIncluded($valueAddedTaxIncluded) { diff --git a/src/ComputerLanguage.php b/src/ComputerLanguage.php index f379a8499..40de53bc0 100644 --- a/src/ComputerLanguage.php +++ b/src/ComputerLanguage.php @@ -19,10 +19,14 @@ class ComputerLanguage extends BaseType implements ComputerLanguageContract, Int /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/ComputerStore.php b/src/ComputerStore.php index de10c5e15..7f643cd0a 100644 --- a/src/ComputerStore.php +++ b/src/ComputerStore.php @@ -29,6 +29,7 @@ class ComputerStore extends BaseType implements ComputerStoreContract, LocalBusi * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/ConfirmAction.php b/src/ConfirmAction.php index ec0e5f13c..9a5a233b8 100644 --- a/src/ConfirmAction.php +++ b/src/ConfirmAction.php @@ -54,10 +54,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/Consortium.php b/src/Consortium.php index d4e5396f8..355c61c32 100644 --- a/src/Consortium.php +++ b/src/Consortium.php @@ -29,6 +29,7 @@ class Consortium extends BaseType implements ConsortiumContract, OrganizationCon * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -38,10 +39,14 @@ public function actionableFeedbackPolicy($actionableFeedbackPolicy) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -207,6 +212,7 @@ public function contactPoints($contactPoints) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -287,6 +293,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -305,6 +312,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -320,7 +328,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -514,6 +521,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -531,7 +539,6 @@ public function funding($funding) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -593,7 +600,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -676,7 +682,6 @@ public function interactionStatistic($interactionStatistic) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -732,6 +737,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -750,6 +756,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -764,7 +771,6 @@ public function knowsLanguage($knowsLanguage) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -809,7 +815,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -840,7 +845,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -900,7 +904,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -966,6 +969,7 @@ public function numberOfEmployees($numberOfEmployees) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -980,7 +984,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1094,7 +1097,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1185,7 +1187,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1217,6 +1218,7 @@ public function telephone($telephone) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1245,7 +1247,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/ConstraintNode.php b/src/ConstraintNode.php new file mode 100644 index 000000000..017851289 --- /dev/null +++ b/src/ConstraintNode.php @@ -0,0 +1,256 @@ +setProperty('additionalType', $additionalType); + } + + /** + * An alias for the item. + * + * @param string|string[] $alternateName + * + * @return static + * + * @see https://schema.org/alternateName + */ + public function alternateName($alternateName) + { + return $this->setProperty('alternateName', $alternateName); + } + + /** + * Indicates a property used as a constraint. For example, in the definition + * of a [[StatisticalVariable]]. The value is a property, either from within + * Schema.org or from other compatible (e.g. RDF) systems such as + * DataCommons.org or Wikidata.org. + * + * @param \Spatie\SchemaOrg\Contracts\PropertyContract|\Spatie\SchemaOrg\Contracts\PropertyContract[]|string|string[] $constraintProperty + * + * @return static + * + * @see https://schema.org/constraintProperty + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/2291 + */ + public function constraintProperty($constraintProperty) + { + return $this->setProperty('constraintProperty', $constraintProperty); + } + + /** + * A description of the item. + * + * @param string|string[] $description + * + * @return static + * + * @see https://schema.org/description + */ + public function description($description) + { + return $this->setProperty('description', $description); + } + + /** + * A sub property of description. A short description of the item used to + * disambiguate from other, similar items. Information from other properties + * (in particular, name) may be necessary for the description to be useful + * for disambiguation. + * + * @param string|string[] $disambiguatingDescription + * + * @return static + * + * @see https://schema.org/disambiguatingDescription + */ + public function disambiguatingDescription($disambiguatingDescription) + { + return $this->setProperty('disambiguatingDescription', $disambiguatingDescription); + } + + /** + * The identifier property represents any kind of identifier for any kind of + * [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides + * dedicated properties for representing many of these, either as textual + * strings or as URL (URI) links. See [background + * notes](/docs/datamodel.html#identifierBg) for more details. + * + * @param \Spatie\SchemaOrg\Contracts\PropertyValueContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract[]|string|string[] $identifier + * + * @return static + * + * @see https://schema.org/identifier + */ + public function identifier($identifier) + { + return $this->setProperty('identifier', $identifier); + } + + /** + * An image of the item. This can be a [[URL]] or a fully described + * [[ImageObject]]. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|string|string[] $image + * + * @return static + * + * @see https://schema.org/image + */ + public function image($image) + { + return $this->setProperty('image', $image); + } + + /** + * Indicates a page (or other CreativeWork) for which this thing is the main + * entity being described. See [background + * notes](/docs/datamodel.html#mainEntityBackground) for details. + * + * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $mainEntityOfPage + * + * @return static + * + * @see https://schema.org/mainEntityOfPage + */ + public function mainEntityOfPage($mainEntityOfPage) + { + return $this->setProperty('mainEntityOfPage', $mainEntityOfPage); + } + + /** + * The name of the item. + * + * @param string|string[] $name + * + * @return static + * + * @see https://schema.org/name + */ + public function name($name) + { + return $this->setProperty('name', $name); + } + + /** + * Indicates the number of constraints property values defined for a + * particular [[ConstraintNode]] such as [[StatisticalVariable]]. This helps + * applications understand if they have access to a sufficiently complete + * description of a [[StatisticalVariable]] or other construct that is + * defined using properties on template-style nodes. + * + * @param int|int[] $numConstraints + * + * @return static + * + * @see https://schema.org/numConstraints + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/2291 + */ + public function numConstraints($numConstraints) + { + return $this->setProperty('numConstraints', $numConstraints); + } + + /** + * Indicates a potential Action, which describes an idealized action in + * which this thing would play an 'object' role. + * + * @param \Spatie\SchemaOrg\Contracts\ActionContract|\Spatie\SchemaOrg\Contracts\ActionContract[] $potentialAction + * + * @return static + * + * @see https://schema.org/potentialAction + */ + public function potentialAction($potentialAction) + { + return $this->setProperty('potentialAction', $potentialAction); + } + + /** + * URL of a reference Web page that unambiguously indicates the item's + * identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or + * official website. + * + * @param string|string[] $sameAs + * + * @return static + * + * @see https://schema.org/sameAs + */ + public function sameAs($sameAs) + { + return $this->setProperty('sameAs', $sameAs); + } + + /** + * A CreativeWork or Event about this Thing. + * + * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $subjectOf + * + * @return static + * + * @see https://schema.org/subjectOf + * @link https://github.com/schemaorg/schemaorg/issues/1670 + */ + public function subjectOf($subjectOf) + { + return $this->setProperty('subjectOf', $subjectOf); + } + + /** + * URL of the item. + * + * @param string|string[] $url + * + * @return static + * + * @see https://schema.org/url + */ + public function url($url) + { + return $this->setProperty('url', $url); + } +} diff --git a/src/ConsumeAction.php b/src/ConsumeAction.php index 5b8798e19..d38c6a955 100644 --- a/src/ConsumeAction.php +++ b/src/ConsumeAction.php @@ -48,10 +48,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/ContactPage.php b/src/ContactPage.php index b0f32f345..24cc7ba3d 100644 --- a/src/ContactPage.php +++ b/src/ContactPage.php @@ -201,10 +201,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -599,6 +603,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -928,7 +933,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -999,6 +1003,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1028,7 +1033,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1166,7 +1170,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2059,6 +2063,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2074,9 +2092,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2214,7 +2231,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/ContactPoint.php b/src/ContactPoint.php index 48dc92272..77dda5a60 100644 --- a/src/ContactPoint.php +++ b/src/ContactPoint.php @@ -18,10 +18,14 @@ class ContactPoint extends BaseType implements ContactPointContract, IntangibleC /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/ContactPointOption.php b/src/ContactPointOption.php index 16ab1b519..7cad62f3a 100644 --- a/src/ContactPointOption.php +++ b/src/ContactPointOption.php @@ -33,10 +33,14 @@ class ContactPointOption extends BaseType implements ContactPointOptionContract, /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/Continent.php b/src/Continent.php index 1aeef3995..73c9d33e6 100644 --- a/src/Continent.php +++ b/src/Continent.php @@ -40,10 +40,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -110,7 +114,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -451,7 +454,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -549,7 +551,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -595,7 +596,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -697,7 +697,6 @@ public function name($name) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -829,7 +828,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/Contracts/APIReferenceContract.php b/src/Contracts/APIReferenceContract.php index cbab666c6..1ae343c10 100644 --- a/src/Contracts/APIReferenceContract.php +++ b/src/Contracts/APIReferenceContract.php @@ -258,6 +258,8 @@ public function temporalCoverage($temporalCoverage); public function text($text); + public function thumbnail($thumbnail); + public function thumbnailUrl($thumbnailUrl); public function timeRequired($timeRequired); diff --git a/src/Contracts/AboutPageContract.php b/src/Contracts/AboutPageContract.php index ad148d88e..b53a79387 100644 --- a/src/Contracts/AboutPageContract.php +++ b/src/Contracts/AboutPageContract.php @@ -250,6 +250,8 @@ public function temporalCoverage($temporalCoverage); public function text($text); + public function thumbnail($thumbnail); + public function thumbnailUrl($thumbnailUrl); public function timeRequired($timeRequired); diff --git a/src/Contracts/AccommodationContract.php b/src/Contracts/AccommodationContract.php index 667d83b12..1f275090e 100644 --- a/src/Contracts/AccommodationContract.php +++ b/src/Contracts/AccommodationContract.php @@ -20,6 +20,8 @@ public function alternateName($alternateName); public function amenityFeature($amenityFeature); + public function bed($bed); + public function branchCode($branchCode); public function containedIn($containedIn); @@ -108,6 +110,8 @@ public function numberOfPartialBathrooms($numberOfPartialBathrooms); public function numberOfRooms($numberOfRooms); + public function occupancy($occupancy); + public function openingHoursSpecification($openingHoursSpecification); public function permittedUsage($permittedUsage); diff --git a/src/Contracts/AdvertiserContentArticleContract.php b/src/Contracts/AdvertiserContentArticleContract.php index 9d3ed9362..1767a759f 100644 --- a/src/Contracts/AdvertiserContentArticleContract.php +++ b/src/Contracts/AdvertiserContentArticleContract.php @@ -244,6 +244,8 @@ public function temporalCoverage($temporalCoverage); public function text($text); + public function thumbnail($thumbnail); + public function thumbnailUrl($thumbnailUrl); public function timeRequired($timeRequired); diff --git a/src/Contracts/AmpStoryContract.php b/src/Contracts/AmpStoryContract.php index a6f57922e..8e86d57f5 100644 --- a/src/Contracts/AmpStoryContract.php +++ b/src/Contracts/AmpStoryContract.php @@ -262,6 +262,8 @@ public function temporalCoverage($temporalCoverage); public function text($text); + public function thumbnail($thumbnail); + public function thumbnailUrl($thumbnailUrl); public function timeRequired($timeRequired); diff --git a/src/Contracts/AnalysisNewsArticleContract.php b/src/Contracts/AnalysisNewsArticleContract.php index 32a1ae298..d179d824f 100644 --- a/src/Contracts/AnalysisNewsArticleContract.php +++ b/src/Contracts/AnalysisNewsArticleContract.php @@ -254,6 +254,8 @@ public function temporalCoverage($temporalCoverage); public function text($text); + public function thumbnail($thumbnail); + public function thumbnailUrl($thumbnailUrl); public function timeRequired($timeRequired); diff --git a/src/Contracts/AnswerContract.php b/src/Contracts/AnswerContract.php index 758e0444c..eba025abd 100644 --- a/src/Contracts/AnswerContract.php +++ b/src/Contracts/AnswerContract.php @@ -236,6 +236,8 @@ public function temporalCoverage($temporalCoverage); public function text($text); + public function thumbnail($thumbnail); + public function thumbnailUrl($thumbnailUrl); public function timeRequired($timeRequired); diff --git a/src/Contracts/ApartmentContract.php b/src/Contracts/ApartmentContract.php index e6225616a..b5450c825 100644 --- a/src/Contracts/ApartmentContract.php +++ b/src/Contracts/ApartmentContract.php @@ -20,6 +20,8 @@ public function alternateName($alternateName); public function amenityFeature($amenityFeature); + public function bed($bed); + public function branchCode($branchCode); public function containedIn($containedIn); diff --git a/src/Contracts/ArchiveComponentContract.php b/src/Contracts/ArchiveComponentContract.php index 1e6db232d..3ed138694 100644 --- a/src/Contracts/ArchiveComponentContract.php +++ b/src/Contracts/ArchiveComponentContract.php @@ -234,6 +234,8 @@ public function temporalCoverage($temporalCoverage); public function text($text); + public function thumbnail($thumbnail); + public function thumbnailUrl($thumbnailUrl); public function timeRequired($timeRequired); diff --git a/src/Contracts/ArticleContract.php b/src/Contracts/ArticleContract.php index 1722c7db8..acdb309f5 100644 --- a/src/Contracts/ArticleContract.php +++ b/src/Contracts/ArticleContract.php @@ -244,6 +244,8 @@ public function temporalCoverage($temporalCoverage); public function text($text); + public function thumbnail($thumbnail); + public function thumbnailUrl($thumbnailUrl); public function timeRequired($timeRequired); diff --git a/src/Contracts/AskPublicNewsArticleContract.php b/src/Contracts/AskPublicNewsArticleContract.php index 3e76f4b3c..db8933ac6 100644 --- a/src/Contracts/AskPublicNewsArticleContract.php +++ b/src/Contracts/AskPublicNewsArticleContract.php @@ -254,6 +254,8 @@ public function temporalCoverage($temporalCoverage); public function text($text); + public function thumbnail($thumbnail); + public function thumbnailUrl($thumbnailUrl); public function timeRequired($timeRequired); diff --git a/src/Contracts/AtlasContract.php b/src/Contracts/AtlasContract.php index 5d9cab70b..e28a51bb3 100644 --- a/src/Contracts/AtlasContract.php +++ b/src/Contracts/AtlasContract.php @@ -230,6 +230,8 @@ public function temporalCoverage($temporalCoverage); public function text($text); + public function thumbnail($thumbnail); + public function thumbnailUrl($thumbnailUrl); public function timeRequired($timeRequired); diff --git a/src/Contracts/AudioObjectContract.php b/src/Contracts/AudioObjectContract.php index 71ab93560..ebc4afc3c 100644 --- a/src/Contracts/AudioObjectContract.php +++ b/src/Contracts/AudioObjectContract.php @@ -266,6 +266,8 @@ public function temporalCoverage($temporalCoverage); public function text($text); + public function thumbnail($thumbnail); + public function thumbnailUrl($thumbnailUrl); public function timeRequired($timeRequired); diff --git a/src/Contracts/AudioObjectSnapshotContract.php b/src/Contracts/AudioObjectSnapshotContract.php index 3247b7629..5e070c41e 100644 --- a/src/Contracts/AudioObjectSnapshotContract.php +++ b/src/Contracts/AudioObjectSnapshotContract.php @@ -266,6 +266,8 @@ public function temporalCoverage($temporalCoverage); public function text($text); + public function thumbnail($thumbnail); + public function thumbnailUrl($thumbnailUrl); public function timeRequired($timeRequired); diff --git a/src/Contracts/AudiobookContract.php b/src/Contracts/AudiobookContract.php index 08c9643a0..e499cc00c 100644 --- a/src/Contracts/AudiobookContract.php +++ b/src/Contracts/AudiobookContract.php @@ -280,6 +280,8 @@ public function temporalCoverage($temporalCoverage); public function text($text); + public function thumbnail($thumbnail); + public function thumbnailUrl($thumbnailUrl); public function timeRequired($timeRequired); diff --git a/src/Contracts/BackgroundNewsArticleContract.php b/src/Contracts/BackgroundNewsArticleContract.php index 3db665380..99447737c 100644 --- a/src/Contracts/BackgroundNewsArticleContract.php +++ b/src/Contracts/BackgroundNewsArticleContract.php @@ -254,6 +254,8 @@ public function temporalCoverage($temporalCoverage); public function text($text); + public function thumbnail($thumbnail); + public function thumbnailUrl($thumbnailUrl); public function timeRequired($timeRequired); diff --git a/src/Contracts/BlogContract.php b/src/Contracts/BlogContract.php index 617927940..8c0b0e402 100644 --- a/src/Contracts/BlogContract.php +++ b/src/Contracts/BlogContract.php @@ -236,6 +236,8 @@ public function temporalCoverage($temporalCoverage); public function text($text); + public function thumbnail($thumbnail); + public function thumbnailUrl($thumbnailUrl); public function timeRequired($timeRequired); diff --git a/src/Contracts/BlogPostingContract.php b/src/Contracts/BlogPostingContract.php index 92fb98397..903ed3356 100644 --- a/src/Contracts/BlogPostingContract.php +++ b/src/Contracts/BlogPostingContract.php @@ -246,6 +246,8 @@ public function temporalCoverage($temporalCoverage); public function text($text); + public function thumbnail($thumbnail); + public function thumbnailUrl($thumbnailUrl); public function timeRequired($timeRequired); diff --git a/src/Contracts/BookContract.php b/src/Contracts/BookContract.php index be991ea70..372381380 100644 --- a/src/Contracts/BookContract.php +++ b/src/Contracts/BookContract.php @@ -242,6 +242,8 @@ public function temporalCoverage($temporalCoverage); public function text($text); + public function thumbnail($thumbnail); + public function thumbnailUrl($thumbnailUrl); public function timeRequired($timeRequired); diff --git a/src/Contracts/BookSeriesContract.php b/src/Contracts/BookSeriesContract.php index 41c096385..84eb1269b 100644 --- a/src/Contracts/BookSeriesContract.php +++ b/src/Contracts/BookSeriesContract.php @@ -236,6 +236,8 @@ public function temporalCoverage($temporalCoverage); public function text($text); + public function thumbnail($thumbnail); + public function thumbnailUrl($thumbnailUrl); public function timeRequired($timeRequired); diff --git a/src/Contracts/CampingPitchContract.php b/src/Contracts/CampingPitchContract.php index d57523937..5623917c8 100644 --- a/src/Contracts/CampingPitchContract.php +++ b/src/Contracts/CampingPitchContract.php @@ -20,6 +20,8 @@ public function alternateName($alternateName); public function amenityFeature($amenityFeature); + public function bed($bed); + public function branchCode($branchCode); public function containedIn($containedIn); @@ -108,6 +110,8 @@ public function numberOfPartialBathrooms($numberOfPartialBathrooms); public function numberOfRooms($numberOfRooms); + public function occupancy($occupancy); + public function openingHoursSpecification($openingHoursSpecification); public function permittedUsage($permittedUsage); diff --git a/src/Contracts/CategoryCodeSetContract.php b/src/Contracts/CategoryCodeSetContract.php index 458ea2de4..9fba44596 100644 --- a/src/Contracts/CategoryCodeSetContract.php +++ b/src/Contracts/CategoryCodeSetContract.php @@ -234,6 +234,8 @@ public function temporalCoverage($temporalCoverage); public function text($text); + public function thumbnail($thumbnail); + public function thumbnailUrl($thumbnailUrl); public function timeRequired($timeRequired); diff --git a/src/Contracts/ChapterContract.php b/src/Contracts/ChapterContract.php index d55f95066..a3ddd0927 100644 --- a/src/Contracts/ChapterContract.php +++ b/src/Contracts/ChapterContract.php @@ -236,6 +236,8 @@ public function temporalCoverage($temporalCoverage); public function text($text); + public function thumbnail($thumbnail); + public function thumbnailUrl($thumbnailUrl); public function timeRequired($timeRequired); diff --git a/src/Contracts/CheckoutPageContract.php b/src/Contracts/CheckoutPageContract.php index 3b552d62b..ad27eccf7 100644 --- a/src/Contracts/CheckoutPageContract.php +++ b/src/Contracts/CheckoutPageContract.php @@ -250,6 +250,8 @@ public function temporalCoverage($temporalCoverage); public function text($text); + public function thumbnail($thumbnail); + public function thumbnailUrl($thumbnailUrl); public function timeRequired($timeRequired); diff --git a/src/Contracts/ClaimContract.php b/src/Contracts/ClaimContract.php index 3ec3a5336..33a7d0d27 100644 --- a/src/Contracts/ClaimContract.php +++ b/src/Contracts/ClaimContract.php @@ -236,6 +236,8 @@ public function temporalCoverage($temporalCoverage); public function text($text); + public function thumbnail($thumbnail); + public function thumbnailUrl($thumbnailUrl); public function timeRequired($timeRequired); diff --git a/src/Contracts/ClaimReviewContract.php b/src/Contracts/ClaimReviewContract.php index 3e52f9bf1..d9184f150 100644 --- a/src/Contracts/ClaimReviewContract.php +++ b/src/Contracts/ClaimReviewContract.php @@ -250,6 +250,8 @@ public function temporalCoverage($temporalCoverage); public function text($text); + public function thumbnail($thumbnail); + public function thumbnailUrl($thumbnailUrl); public function timeRequired($timeRequired); diff --git a/src/Contracts/ClipContract.php b/src/Contracts/ClipContract.php index 452e6e6d6..774eaf6ad 100644 --- a/src/Contracts/ClipContract.php +++ b/src/Contracts/ClipContract.php @@ -252,6 +252,8 @@ public function temporalCoverage($temporalCoverage); public function text($text); + public function thumbnail($thumbnail); + public function thumbnailUrl($thumbnailUrl); public function timeRequired($timeRequired); diff --git a/src/Contracts/CodeContract.php b/src/Contracts/CodeContract.php index 80e547d48..cd8db1d6a 100644 --- a/src/Contracts/CodeContract.php +++ b/src/Contracts/CodeContract.php @@ -230,6 +230,8 @@ public function temporalCoverage($temporalCoverage); public function text($text); + public function thumbnail($thumbnail); + public function thumbnailUrl($thumbnailUrl); public function timeRequired($timeRequired); diff --git a/src/Contracts/CollectionContract.php b/src/Contracts/CollectionContract.php index 64ffde30b..593cf2df1 100644 --- a/src/Contracts/CollectionContract.php +++ b/src/Contracts/CollectionContract.php @@ -232,6 +232,8 @@ public function temporalCoverage($temporalCoverage); public function text($text); + public function thumbnail($thumbnail); + public function thumbnailUrl($thumbnailUrl); public function timeRequired($timeRequired); diff --git a/src/Contracts/CollectionPageContract.php b/src/Contracts/CollectionPageContract.php index 3475f5508..c791f141e 100644 --- a/src/Contracts/CollectionPageContract.php +++ b/src/Contracts/CollectionPageContract.php @@ -250,6 +250,8 @@ public function temporalCoverage($temporalCoverage); public function text($text); + public function thumbnail($thumbnail); + public function thumbnailUrl($thumbnailUrl); public function timeRequired($timeRequired); diff --git a/src/Contracts/ComicCoverArtContract.php b/src/Contracts/ComicCoverArtContract.php index 283295356..3f6161eb0 100644 --- a/src/Contracts/ComicCoverArtContract.php +++ b/src/Contracts/ComicCoverArtContract.php @@ -254,6 +254,8 @@ public function temporalCoverage($temporalCoverage); public function text($text); + public function thumbnail($thumbnail); + public function thumbnailUrl($thumbnailUrl); public function timeRequired($timeRequired); diff --git a/src/Contracts/ComicIssueContract.php b/src/Contracts/ComicIssueContract.php index 587ab38a3..c379ce5c3 100644 --- a/src/Contracts/ComicIssueContract.php +++ b/src/Contracts/ComicIssueContract.php @@ -248,6 +248,8 @@ public function temporalCoverage($temporalCoverage); public function text($text); + public function thumbnail($thumbnail); + public function thumbnailUrl($thumbnailUrl); public function timeRequired($timeRequired); diff --git a/src/Contracts/ComicSeriesContract.php b/src/Contracts/ComicSeriesContract.php index 31ea9ef8f..52a7be48c 100644 --- a/src/Contracts/ComicSeriesContract.php +++ b/src/Contracts/ComicSeriesContract.php @@ -236,6 +236,8 @@ public function temporalCoverage($temporalCoverage); public function text($text); + public function thumbnail($thumbnail); + public function thumbnailUrl($thumbnailUrl); public function timeRequired($timeRequired); diff --git a/src/Contracts/ComicStoryContract.php b/src/Contracts/ComicStoryContract.php index 6ba755360..a26783066 100644 --- a/src/Contracts/ComicStoryContract.php +++ b/src/Contracts/ComicStoryContract.php @@ -240,6 +240,8 @@ public function temporalCoverage($temporalCoverage); public function text($text); + public function thumbnail($thumbnail); + public function thumbnailUrl($thumbnailUrl); public function timeRequired($timeRequired); diff --git a/src/Contracts/CommentContract.php b/src/Contracts/CommentContract.php index 4bff191ee..113653aa1 100644 --- a/src/Contracts/CommentContract.php +++ b/src/Contracts/CommentContract.php @@ -234,6 +234,8 @@ public function temporalCoverage($temporalCoverage); public function text($text); + public function thumbnail($thumbnail); + public function thumbnailUrl($thumbnailUrl); public function timeRequired($timeRequired); diff --git a/src/Contracts/CompleteDataFeedContract.php b/src/Contracts/CompleteDataFeedContract.php index 135ed59cf..06a4608d3 100644 --- a/src/Contracts/CompleteDataFeedContract.php +++ b/src/Contracts/CompleteDataFeedContract.php @@ -182,6 +182,8 @@ public function material($material); public function materialExtent($materialExtent); + public function measurementMethod($measurementMethod); + public function measurementTechnique($measurementTechnique); public function mentions($mentions); @@ -246,6 +248,8 @@ public function temporalCoverage($temporalCoverage); public function text($text); + public function thumbnail($thumbnail); + public function thumbnailUrl($thumbnailUrl); public function timeRequired($timeRequired); diff --git a/src/Contracts/ConstraintNodeContract.php b/src/Contracts/ConstraintNodeContract.php new file mode 100644 index 000000000..2f0af0012 --- /dev/null +++ b/src/Contracts/ConstraintNodeContract.php @@ -0,0 +1,34 @@ +setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1904,9 +1922,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2044,7 +2061,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/CookAction.php b/src/CookAction.php index c79546c26..01a20238c 100644 --- a/src/CookAction.php +++ b/src/CookAction.php @@ -32,10 +32,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/Corporation.php b/src/Corporation.php index 6cb05d92f..e58c4c40f 100644 --- a/src/Corporation.php +++ b/src/Corporation.php @@ -10,7 +10,6 @@ * Organization: A business corporation. * * @see https://schema.org/Corporation - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_rNews * */ class Corporation extends BaseType implements CorporationContract, OrganizationContract, ThingContract @@ -27,6 +26,7 @@ class Corporation extends BaseType implements CorporationContract, OrganizationC * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -36,10 +36,14 @@ public function actionableFeedbackPolicy($actionableFeedbackPolicy) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -205,6 +209,7 @@ public function contactPoints($contactPoints) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -285,6 +290,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -303,6 +309,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -318,7 +325,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -512,6 +518,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -529,7 +536,6 @@ public function funding($funding) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -591,7 +597,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -674,7 +679,6 @@ public function interactionStatistic($interactionStatistic) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -730,6 +734,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -748,6 +753,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -762,7 +768,6 @@ public function knowsLanguage($knowsLanguage) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -807,7 +812,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -838,7 +842,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -898,7 +901,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -964,6 +966,7 @@ public function numberOfEmployees($numberOfEmployees) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -978,7 +981,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1092,7 +1094,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1183,7 +1184,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1233,6 +1233,7 @@ public function tickerSymbol($tickerSymbol) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1261,7 +1262,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/CorrectionComment.php b/src/CorrectionComment.php index 06a7ba93e..e70dde67a 100644 --- a/src/CorrectionComment.php +++ b/src/CorrectionComment.php @@ -203,10 +203,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -586,6 +590,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -930,7 +935,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1001,6 +1005,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1030,7 +1035,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1168,7 +1172,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1919,6 +1923,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1934,9 +1952,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2089,7 +2106,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/Country.php b/src/Country.php index cebfdeab4..1a51d1701 100644 --- a/src/Country.php +++ b/src/Country.php @@ -40,10 +40,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -110,7 +114,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -451,7 +454,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -549,7 +551,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -595,7 +596,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -697,7 +697,6 @@ public function name($name) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -829,7 +828,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/Course.php b/src/Course.php index 10fceea81..7a5327485 100644 --- a/src/Course.php +++ b/src/Course.php @@ -206,10 +206,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -362,6 +366,22 @@ public function author($author) return $this->setProperty('author', $author); } + /** + * A language someone may use with or at the item, service or place. Please + * use one of the language codes from the [IETF BCP 47 + * standard](http://tools.ietf.org/html/bcp47). See also [[inLanguage]]. + * + * @param \Spatie\SchemaOrg\Contracts\LanguageContract|\Spatie\SchemaOrg\Contracts\LanguageContract[]|string|string[] $availableLanguage + * + * @return static + * + * @see https://schema.org/availableLanguage + */ + public function availableLanguage($availableLanguage) + { + return $this->setProperty('availableLanguage', $availableLanguage); + } + /** * An award won by or for this item. * @@ -607,6 +627,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -985,7 +1006,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1031,6 +1051,23 @@ public function fileFormat($fileFormat) return $this->setProperty('fileFormat', $fileFormat); } + /** + * A financial aid type or program which students may use to pay for tuition + * or fees associated with the program. + * + * @param \Spatie\SchemaOrg\Contracts\DefinedTermContract|\Spatie\SchemaOrg\Contracts\DefinedTermContract[]|string|string[] $financialAidEligible + * + * @return static + * + * @see https://schema.org/financialAidEligible + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/2418 + */ + public function financialAidEligible($financialAidEligible) + { + return $this->setProperty('financialAidEligible', $financialAidEligible); + } + /** * A person or organization that supports (sponsors) something through some * kind of financial contribution. @@ -1056,6 +1093,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1100,7 +1138,6 @@ public function hasCourseInstance($hasCourseInstance) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1238,7 +1275,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1932,6 +1969,23 @@ public function subjectOf($subjectOf) return $this->setProperty('subjectOf', $subjectOf); } + /** + * Indicates (typically several) Syllabus entities that lay out what each + * section of the overall course will cover. + * + * @param \Spatie\SchemaOrg\Contracts\SyllabusContract|\Spatie\SchemaOrg\Contracts\SyllabusContract[] $syllabusSections + * + * @return static + * + * @see https://schema.org/syllabusSections + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/3281 + */ + public function syllabusSections($syllabusSections) + { + return $this->setProperty('syllabusSections', $syllabusSections); + } + /** * The item being described is intended to help a person learn the * competency or learning outcome defined by the referenced term. @@ -2010,6 +2064,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2025,9 +2093,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2040,6 +2107,23 @@ public function timeRequired($timeRequired) return $this->setProperty('timeRequired', $timeRequired); } + /** + * The total number of students that have enrolled in the history of the + * course. + * + * @param int|int[] $totalHistoricalEnrollment + * + * @return static + * + * @see https://schema.org/totalHistoricalEnrollment + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/3281 + */ + public function totalHistoricalEnrollment($totalHistoricalEnrollment) + { + return $this->setProperty('totalHistoricalEnrollment', $totalHistoricalEnrollment); + } + /** * The work that this work has been translated from. E.g. 物种起源 is a * translationOf “On the Origin of Species”. @@ -2165,7 +2249,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/CourseInstance.php b/src/CourseInstance.php index 842609d0b..0edbfcbb3 100644 --- a/src/CourseInstance.php +++ b/src/CourseInstance.php @@ -50,10 +50,14 @@ public function actor($actor) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -146,7 +150,6 @@ public function audience($audience) * @return static * * @see https://schema.org/composer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public function composer($composer) { @@ -167,6 +170,22 @@ public function contributor($contributor) return $this->setProperty('contributor', $contributor); } + /** + * Represents the length and pace of a course. + * + * @param \Spatie\SchemaOrg\Contracts\ScheduleContract|\Spatie\SchemaOrg\Contracts\ScheduleContract[] $courseLength + * + * @return static + * + * @see https://schema.org/courseLength + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/3281 + */ + public function courseLength($courseLength) + { + return $this->setProperty('courseLength', $courseLength); + } + /** * The medium or means of delivery of the course instance or the mode of * study, either as a text label (e.g. "online", "onsite" or "blended"; @@ -383,6 +402,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/Courthouse.php b/src/Courthouse.php index 214484b1f..3078f056d 100644 --- a/src/Courthouse.php +++ b/src/Courthouse.php @@ -41,10 +41,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -111,7 +115,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -452,7 +455,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -550,7 +552,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -596,7 +597,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -725,7 +725,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -857,7 +856,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/CoverArt.php b/src/CoverArt.php index 729dcc50a..00599254f 100644 --- a/src/CoverArt.php +++ b/src/CoverArt.php @@ -202,10 +202,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -680,6 +684,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -814,7 +819,6 @@ public function datePublished($datePublished) * @return static * * @see https://schema.org/depth - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function depth($depth) { @@ -1024,7 +1028,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1095,6 +1098,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1124,7 +1128,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1292,7 +1295,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2075,6 +2078,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2090,9 +2107,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2244,7 +2260,6 @@ public function width($width) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/CovidTestingFacility.php b/src/CovidTestingFacility.php index 2157da64b..31a845642 100644 --- a/src/CovidTestingFacility.php +++ b/src/CovidTestingFacility.php @@ -40,6 +40,7 @@ class CovidTestingFacility extends BaseType implements CovidTestingFacilityContr * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -71,10 +72,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -155,7 +160,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -351,6 +355,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -453,6 +458,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -471,6 +477,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -486,7 +493,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -680,6 +686,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -883,7 +890,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -979,7 +985,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1109,7 +1114,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1165,6 +1169,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1183,6 +1188,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1212,7 +1218,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1257,7 +1262,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1303,7 +1307,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1420,7 +1423,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1507,7 +1509,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1528,6 +1529,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1542,7 +1544,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1727,7 +1728,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1771,7 +1771,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1851,7 +1850,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1901,6 +1899,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1929,7 +1928,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/CreateAction.php b/src/CreateAction.php index b877af263..deb86a7a3 100644 --- a/src/CreateAction.php +++ b/src/CreateAction.php @@ -32,10 +32,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/CreativeWork.php b/src/CreativeWork.php index 6e7ff6cfe..331784aa5 100644 --- a/src/CreativeWork.php +++ b/src/CreativeWork.php @@ -10,7 +10,6 @@ * software programs, etc. * * @see https://schema.org/CreativeWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_rNews * */ class CreativeWork extends BaseType implements CreativeWorkContract, ThingContract @@ -201,10 +200,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -584,6 +587,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -913,7 +917,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -984,6 +987,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1013,7 +1017,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1151,7 +1154,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1888,6 +1891,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1903,9 +1920,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2043,7 +2059,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/CreativeWorkSeason.php b/src/CreativeWorkSeason.php index e0916cfcd..06268e330 100644 --- a/src/CreativeWorkSeason.php +++ b/src/CreativeWorkSeason.php @@ -216,10 +216,14 @@ public function actor($actor) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -599,6 +603,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -988,7 +993,6 @@ public function episodes($episodes) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1059,6 +1063,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1088,7 +1093,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1226,7 +1230,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2036,6 +2040,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2051,9 +2069,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2205,7 +2222,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/CreativeWorkSeries.php b/src/CreativeWorkSeries.php index f8e37a00b..9868891bb 100644 --- a/src/CreativeWorkSeries.php +++ b/src/CreativeWorkSeries.php @@ -218,10 +218,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -601,6 +605,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -946,7 +951,6 @@ public function endDate($endDate) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1017,6 +1021,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1046,7 +1051,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1184,7 +1188,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1252,7 +1256,6 @@ public function isPartOf($isPartOf) * @return static * * @see https://schema.org/issn - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function issn($issn) { @@ -1954,6 +1957,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1969,9 +1986,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2109,7 +2125,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/CreditCard.php b/src/CreditCard.php index aa89c7de3..6f2eeb797 100644 --- a/src/CreditCard.php +++ b/src/CreditCard.php @@ -35,10 +35,14 @@ class CreditCard extends BaseType implements CreditCardContract, EnumerationCont /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -105,7 +109,6 @@ public function amount($amount) * @return static * * @see https://schema.org/annualPercentageRate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#FIBO */ public function annualPercentageRate($annualPercentageRate) { @@ -211,6 +214,7 @@ public function broker($broker) * * @see https://schema.org/cashBack * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1253 */ public function cashBack($cashBack) { @@ -242,6 +246,7 @@ public function category($category) * * @see https://schema.org/contactlessPayment * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1253 */ public function contactlessPayment($contactlessPayment) { @@ -311,7 +316,6 @@ public function disambiguatingDescription($disambiguatingDescription) * @return static * * @see https://schema.org/feesAndCommissionsSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#FIBO */ public function feesAndCommissionsSpecification($feesAndCommissionsSpecification) { @@ -328,6 +332,7 @@ public function feesAndCommissionsSpecification($feesAndCommissionsSpecification * * @see https://schema.org/floorLimit * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1253 */ public function floorLimit($floorLimit) { @@ -344,6 +349,7 @@ public function floorLimit($floorLimit) * * @see https://schema.org/gracePeriod * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1253 */ public function gracePeriod($gracePeriod) { @@ -421,7 +427,6 @@ public function image($image) * @return static * * @see https://schema.org/interestRate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#FIBO */ public function interestRate($interestRate) { @@ -436,7 +441,6 @@ public function interestRate($interestRate) * @return static * * @see https://schema.org/isRelatedTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isRelatedTo($isRelatedTo) { @@ -452,7 +456,6 @@ public function isRelatedTo($isRelatedTo) * @return static * * @see https://schema.org/isSimilarTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isSimilarTo($isSimilarTo) { @@ -470,6 +473,7 @@ public function isSimilarTo($isSimilarTo) * * @see https://schema.org/loanRepaymentForm * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1253 */ public function loanRepaymentForm($loanRepaymentForm) { @@ -484,7 +488,6 @@ public function loanRepaymentForm($loanRepaymentForm) * @return static * * @see https://schema.org/loanTerm - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#FIBO */ public function loanTerm($loanTerm) { @@ -500,6 +503,7 @@ public function loanTerm($loanTerm) * * @see https://schema.org/loanType * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1253 */ public function loanType($loanType) { @@ -514,7 +518,6 @@ public function loanType($loanType) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -547,6 +550,7 @@ public function mainEntityOfPage($mainEntityOfPage) * * @see https://schema.org/monthlyMinimumRepaymentAmount * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1253 */ public function monthlyMinimumRepaymentAmount($monthlyMinimumRepaymentAmount) { @@ -661,6 +665,7 @@ public function providerMobility($providerMobility) * * @see https://schema.org/recourseLoan * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1253 */ public function recourseLoan($recourseLoan) { @@ -677,6 +682,7 @@ public function recourseLoan($recourseLoan) * * @see https://schema.org/renegotiableLoan * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1253 */ public function renegotiableLoan($renegotiableLoan) { @@ -692,7 +698,6 @@ public function renegotiableLoan($renegotiableLoan) * @return static * * @see https://schema.org/requiredCollateral - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#FIBO */ public function requiredCollateral($requiredCollateral) { diff --git a/src/Crematorium.php b/src/Crematorium.php index fc7f27ca9..afd42623c 100644 --- a/src/Crematorium.php +++ b/src/Crematorium.php @@ -40,10 +40,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -110,7 +114,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -451,7 +454,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -549,7 +551,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -595,7 +596,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -724,7 +724,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -856,7 +855,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/CriticReview.php b/src/CriticReview.php index ed72f9b23..a0d8277d7 100644 --- a/src/CriticReview.php +++ b/src/CriticReview.php @@ -211,10 +211,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -652,6 +656,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -981,7 +986,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1052,6 +1056,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1081,7 +1086,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1219,7 +1223,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2070,6 +2074,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2085,9 +2103,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2225,7 +2242,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/CurrencyConversionService.php b/src/CurrencyConversionService.php index 66cadb94a..0418ba4cb 100644 --- a/src/CurrencyConversionService.php +++ b/src/CurrencyConversionService.php @@ -12,7 +12,6 @@ * A service to convert funds from one currency to another currency. * * @see https://schema.org/CurrencyConversionService - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#FIBO * */ class CurrencyConversionService extends BaseType implements CurrencyConversionServiceContract, FinancialProductContract, IntangibleContract, ServiceContract, ThingContract @@ -20,10 +19,14 @@ class CurrencyConversionService extends BaseType implements CurrencyConversionSe /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -76,7 +79,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/annualPercentageRate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#FIBO */ public function annualPercentageRate($annualPercentageRate) { @@ -227,7 +229,6 @@ public function disambiguatingDescription($disambiguatingDescription) * @return static * * @see https://schema.org/feesAndCommissionsSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#FIBO */ public function feesAndCommissionsSpecification($feesAndCommissionsSpecification) { @@ -305,7 +306,6 @@ public function image($image) * @return static * * @see https://schema.org/interestRate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#FIBO */ public function interestRate($interestRate) { @@ -320,7 +320,6 @@ public function interestRate($interestRate) * @return static * * @see https://schema.org/isRelatedTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isRelatedTo($isRelatedTo) { @@ -336,7 +335,6 @@ public function isRelatedTo($isRelatedTo) * @return static * * @see https://schema.org/isSimilarTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isSimilarTo($isSimilarTo) { @@ -351,7 +349,6 @@ public function isSimilarTo($isSimilarTo) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { diff --git a/src/DDxElement.php b/src/DDxElement.php index 26d5273b9..bc258a0bd 100644 --- a/src/DDxElement.php +++ b/src/DDxElement.php @@ -21,10 +21,14 @@ class DDxElement extends BaseType implements DDxElementContract, MedicalEntityCo /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -140,6 +144,7 @@ public function distinguishingSign($distinguishingSign) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/DanceEvent.php b/src/DanceEvent.php index 76fea2740..2ccaa97fb 100644 --- a/src/DanceEvent.php +++ b/src/DanceEvent.php @@ -48,10 +48,14 @@ public function actor($actor) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +148,6 @@ public function audience($audience) * @return static * * @see https://schema.org/composer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public function composer($composer) { @@ -344,6 +347,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/DanceGroup.php b/src/DanceGroup.php index 98bcdc5bc..71a9aef56 100644 --- a/src/DanceGroup.php +++ b/src/DanceGroup.php @@ -28,6 +28,7 @@ class DanceGroup extends BaseType implements DanceGroupContract, OrganizationCon * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -37,10 +38,14 @@ public function actionableFeedbackPolicy($actionableFeedbackPolicy) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -206,6 +211,7 @@ public function contactPoints($contactPoints) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -286,6 +292,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -304,6 +311,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -319,7 +327,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -513,6 +520,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -530,7 +538,6 @@ public function funding($funding) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -592,7 +599,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -675,7 +681,6 @@ public function interactionStatistic($interactionStatistic) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -731,6 +736,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -749,6 +755,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -763,7 +770,6 @@ public function knowsLanguage($knowsLanguage) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -808,7 +814,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -839,7 +844,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -899,7 +903,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -965,6 +968,7 @@ public function numberOfEmployees($numberOfEmployees) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -979,7 +983,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1093,7 +1096,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1184,7 +1186,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1216,6 +1217,7 @@ public function telephone($telephone) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1244,7 +1246,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/DataCatalog.php b/src/DataCatalog.php index 6df27169b..990816148 100644 --- a/src/DataCatalog.php +++ b/src/DataCatalog.php @@ -10,7 +10,6 @@ * A collection of datasets. * * @see https://schema.org/DataCatalog - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_DatasetClass * */ class DataCatalog extends BaseType implements DataCatalogContract, CreativeWorkContract, ThingContract @@ -201,10 +200,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -584,6 +587,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -927,7 +931,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -998,6 +1001,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1027,7 +1031,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1165,7 +1168,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1376,27 +1379,53 @@ public function materialExtent($materialExtent) } /** - * A technique or technology used in a [[Dataset]] (or [[DataDownload]], - * [[DataCatalog]]), - * corresponding to the method used for measuring the corresponding - * variable(s) (described using [[variableMeasured]]). This is oriented + * A subproperty of [[measurementTechnique]] that can be used for specifying + * specific methods, in particular via [[MeasurementMethodEnum]]. + * + * @param \Spatie\SchemaOrg\Contracts\MeasurementMethodEnumContract|\Spatie\SchemaOrg\Contracts\MeasurementMethodEnumContract[]|string|string[] $measurementMethod + * + * @return static + * + * @see https://schema.org/measurementMethod + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1425 + */ + public function measurementMethod($measurementMethod) + { + return $this->setProperty('measurementMethod', $measurementMethod); + } + + /** + * A technique, method or technology used in an [[Observation]], + * [[StatisticalVariable]] or [[Dataset]] (or [[DataDownload]], + * [[DataCatalog]]), corresponding to the method used for measuring the + * corresponding variable(s) (for datasets, described using + * [[variableMeasured]]; for [[Observation]], a [[StatisticalVariable]]). + * Often but not necessarily each [[variableMeasured]] will have an explicit + * representation as (or mapping to) an property such as those defined in + * Schema.org, or other RDF vocabularies and "knowledge graphs". In that + * case the subproperty of [[variableMeasured]] called [[measuredProperty]] + * is applicable. + * + * The [[measurementTechnique]] property helps when extra clarification is + * needed about how a [[measuredProperty]] was measured. This is oriented * towards scientific and scholarly dataset publication but may have broader * applicability; it is not intended as a full representation of - * measurement, but rather as a high level summary for dataset discovery. + * measurement, but can often serve as a high level summary for dataset + * discovery. * * For example, if [[variableMeasured]] is: molecule concentration, * [[measurementTechnique]] could be: "mass spectrometry" or "nmr - * spectroscopy" or "colorimetry" or "immunofluorescence". - * - * If the [[variableMeasured]] is "depression rating", the - * [[measurementTechnique]] could be "Zung Scale" or "HAM-D" or "Beck - * Depression Inventory". + * spectroscopy" or "colorimetry" or "immunofluorescence". If the + * [[variableMeasured]] is "depression rating", the [[measurementTechnique]] + * could be "Zung Scale" or "HAM-D" or "Beck Depression Inventory". * * If there are several [[variableMeasured]] properties recorded for some * given data object, use a [[PropertyValue]] for each [[variableMeasured]] - * and attach the corresponding [[measurementTechnique]]. + * and attach the corresponding [[measurementTechnique]]. The value can also + * be from an enumeration, organized as a [[MeasurementMetholdEnumeration]]. * - * @param string|string[] $measurementTechnique + * @param \Spatie\SchemaOrg\Contracts\MeasurementMethodEnumContract|\Spatie\SchemaOrg\Contracts\MeasurementMethodEnumContract[]|string|string[] $measurementTechnique * * @return static * @@ -1936,6 +1965,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1951,9 +1994,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2091,7 +2133,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/DataDownload.php b/src/DataDownload.php index a26990c0c..40570fd47 100644 --- a/src/DataDownload.php +++ b/src/DataDownload.php @@ -11,7 +11,6 @@ * All or part of a [[Dataset]] in downloadable form. * * @see https://schema.org/DataDownload - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_DatasetClass * */ class DataDownload extends BaseType implements DataDownloadContract, CreativeWorkContract, MediaObjectContract, ThingContract @@ -202,10 +201,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -642,6 +645,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -1040,7 +1044,6 @@ public function endTime($endTime) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1111,6 +1114,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1140,7 +1144,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1313,7 +1316,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1524,27 +1527,53 @@ public function materialExtent($materialExtent) } /** - * A technique or technology used in a [[Dataset]] (or [[DataDownload]], - * [[DataCatalog]]), - * corresponding to the method used for measuring the corresponding - * variable(s) (described using [[variableMeasured]]). This is oriented + * A subproperty of [[measurementTechnique]] that can be used for specifying + * specific methods, in particular via [[MeasurementMethodEnum]]. + * + * @param \Spatie\SchemaOrg\Contracts\MeasurementMethodEnumContract|\Spatie\SchemaOrg\Contracts\MeasurementMethodEnumContract[]|string|string[] $measurementMethod + * + * @return static + * + * @see https://schema.org/measurementMethod + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1425 + */ + public function measurementMethod($measurementMethod) + { + return $this->setProperty('measurementMethod', $measurementMethod); + } + + /** + * A technique, method or technology used in an [[Observation]], + * [[StatisticalVariable]] or [[Dataset]] (or [[DataDownload]], + * [[DataCatalog]]), corresponding to the method used for measuring the + * corresponding variable(s) (for datasets, described using + * [[variableMeasured]]; for [[Observation]], a [[StatisticalVariable]]). + * Often but not necessarily each [[variableMeasured]] will have an explicit + * representation as (or mapping to) an property such as those defined in + * Schema.org, or other RDF vocabularies and "knowledge graphs". In that + * case the subproperty of [[variableMeasured]] called [[measuredProperty]] + * is applicable. + * + * The [[measurementTechnique]] property helps when extra clarification is + * needed about how a [[measuredProperty]] was measured. This is oriented * towards scientific and scholarly dataset publication but may have broader * applicability; it is not intended as a full representation of - * measurement, but rather as a high level summary for dataset discovery. + * measurement, but can often serve as a high level summary for dataset + * discovery. * * For example, if [[variableMeasured]] is: molecule concentration, * [[measurementTechnique]] could be: "mass spectrometry" or "nmr - * spectroscopy" or "colorimetry" or "immunofluorescence". - * - * If the [[variableMeasured]] is "depression rating", the - * [[measurementTechnique]] could be "Zung Scale" or "HAM-D" or "Beck - * Depression Inventory". + * spectroscopy" or "colorimetry" or "immunofluorescence". If the + * [[variableMeasured]] is "depression rating", the [[measurementTechnique]] + * could be "Zung Scale" or "HAM-D" or "Beck Depression Inventory". * * If there are several [[variableMeasured]] properties recorded for some * given data object, use a [[PropertyValue]] for each [[variableMeasured]] - * and attach the corresponding [[measurementTechnique]]. + * and attach the corresponding [[measurementTechnique]]. The value can also + * be from an enumeration, organized as a [[MeasurementMetholdEnumeration]]. * - * @param string|string[] $measurementTechnique + * @param \Spatie\SchemaOrg\Contracts\MeasurementMethodEnumContract|\Spatie\SchemaOrg\Contracts\MeasurementMethodEnumContract[]|string|string[] $measurementTechnique * * @return static * @@ -2188,6 +2217,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2203,9 +2246,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2371,7 +2413,6 @@ public function width($width) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/DataFeed.php b/src/DataFeed.php index e330ab1be..836d68dfe 100644 --- a/src/DataFeed.php +++ b/src/DataFeed.php @@ -202,10 +202,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -599,6 +603,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -977,7 +982,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1048,6 +1052,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1077,7 +1082,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1244,7 +1248,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1312,7 +1316,6 @@ public function isPartOf($isPartOf) * @return static * * @see https://schema.org/issn - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function issn($issn) { @@ -1472,27 +1475,53 @@ public function materialExtent($materialExtent) } /** - * A technique or technology used in a [[Dataset]] (or [[DataDownload]], - * [[DataCatalog]]), - * corresponding to the method used for measuring the corresponding - * variable(s) (described using [[variableMeasured]]). This is oriented + * A subproperty of [[measurementTechnique]] that can be used for specifying + * specific methods, in particular via [[MeasurementMethodEnum]]. + * + * @param \Spatie\SchemaOrg\Contracts\MeasurementMethodEnumContract|\Spatie\SchemaOrg\Contracts\MeasurementMethodEnumContract[]|string|string[] $measurementMethod + * + * @return static + * + * @see https://schema.org/measurementMethod + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1425 + */ + public function measurementMethod($measurementMethod) + { + return $this->setProperty('measurementMethod', $measurementMethod); + } + + /** + * A technique, method or technology used in an [[Observation]], + * [[StatisticalVariable]] or [[Dataset]] (or [[DataDownload]], + * [[DataCatalog]]), corresponding to the method used for measuring the + * corresponding variable(s) (for datasets, described using + * [[variableMeasured]]; for [[Observation]], a [[StatisticalVariable]]). + * Often but not necessarily each [[variableMeasured]] will have an explicit + * representation as (or mapping to) an property such as those defined in + * Schema.org, or other RDF vocabularies and "knowledge graphs". In that + * case the subproperty of [[variableMeasured]] called [[measuredProperty]] + * is applicable. + * + * The [[measurementTechnique]] property helps when extra clarification is + * needed about how a [[measuredProperty]] was measured. This is oriented * towards scientific and scholarly dataset publication but may have broader * applicability; it is not intended as a full representation of - * measurement, but rather as a high level summary for dataset discovery. + * measurement, but can often serve as a high level summary for dataset + * discovery. * * For example, if [[variableMeasured]] is: molecule concentration, * [[measurementTechnique]] could be: "mass spectrometry" or "nmr - * spectroscopy" or "colorimetry" or "immunofluorescence". - * - * If the [[variableMeasured]] is "depression rating", the - * [[measurementTechnique]] could be "Zung Scale" or "HAM-D" or "Beck - * Depression Inventory". + * spectroscopy" or "colorimetry" or "immunofluorescence". If the + * [[variableMeasured]] is "depression rating", the [[measurementTechnique]] + * could be "Zung Scale" or "HAM-D" or "Beck Depression Inventory". * * If there are several [[variableMeasured]] properties recorded for some * given data object, use a [[PropertyValue]] for each [[variableMeasured]] - * and attach the corresponding [[measurementTechnique]]. + * and attach the corresponding [[measurementTechnique]]. The value can also + * be from an enumeration, organized as a [[MeasurementMetholdEnumeration]]. * - * @param string|string[] $measurementTechnique + * @param \Spatie\SchemaOrg\Contracts\MeasurementMethodEnumContract|\Spatie\SchemaOrg\Contracts\MeasurementMethodEnumContract[]|string|string[] $measurementTechnique * * @return static * @@ -2032,6 +2061,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2047,9 +2090,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2153,9 +2195,10 @@ public function usageInfo($usageInfo) /** * The variableMeasured property can indicate (repeated as necessary) the * variables that are measured in some dataset, either described as text or - * as pairs of identifier and description using PropertyValue. + * as pairs of identifier and description using PropertyValue, or more + * explicitly as a [[StatisticalVariable]]. * - * @param \Spatie\SchemaOrg\Contracts\PropertyValueContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract[]|string|string[] $variableMeasured + * @param \Spatie\SchemaOrg\Contracts\PropertyContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract[]|\Spatie\SchemaOrg\Contracts\PropertyContract[]|\Spatie\SchemaOrg\Contracts\StatisticalVariableContract|\Spatie\SchemaOrg\Contracts\StatisticalVariableContract[]|string|string[] $variableMeasured * * @return static * @@ -2223,7 +2266,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/DataFeedItem.php b/src/DataFeedItem.php index f14bc838e..b17129633 100644 --- a/src/DataFeedItem.php +++ b/src/DataFeedItem.php @@ -17,10 +17,14 @@ class DataFeedItem extends BaseType implements DataFeedItemContract, IntangibleC /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/Dataset.php b/src/Dataset.php index 3f81be1d7..462dab906 100644 --- a/src/Dataset.php +++ b/src/Dataset.php @@ -10,7 +10,6 @@ * A body of structured information describing some topic(s) of interest. * * @see https://schema.org/Dataset - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_DatasetClass * */ class Dataset extends BaseType implements DatasetContract, CreativeWorkContract, ThingContract @@ -201,10 +200,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -598,6 +601,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -962,7 +966,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1033,6 +1036,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1062,7 +1066,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1229,7 +1232,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1297,7 +1300,6 @@ public function isPartOf($isPartOf) * @return static * * @see https://schema.org/issn - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function issn($issn) { @@ -1457,27 +1459,53 @@ public function materialExtent($materialExtent) } /** - * A technique or technology used in a [[Dataset]] (or [[DataDownload]], - * [[DataCatalog]]), - * corresponding to the method used for measuring the corresponding - * variable(s) (described using [[variableMeasured]]). This is oriented + * A subproperty of [[measurementTechnique]] that can be used for specifying + * specific methods, in particular via [[MeasurementMethodEnum]]. + * + * @param \Spatie\SchemaOrg\Contracts\MeasurementMethodEnumContract|\Spatie\SchemaOrg\Contracts\MeasurementMethodEnumContract[]|string|string[] $measurementMethod + * + * @return static + * + * @see https://schema.org/measurementMethod + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1425 + */ + public function measurementMethod($measurementMethod) + { + return $this->setProperty('measurementMethod', $measurementMethod); + } + + /** + * A technique, method or technology used in an [[Observation]], + * [[StatisticalVariable]] or [[Dataset]] (or [[DataDownload]], + * [[DataCatalog]]), corresponding to the method used for measuring the + * corresponding variable(s) (for datasets, described using + * [[variableMeasured]]; for [[Observation]], a [[StatisticalVariable]]). + * Often but not necessarily each [[variableMeasured]] will have an explicit + * representation as (or mapping to) an property such as those defined in + * Schema.org, or other RDF vocabularies and "knowledge graphs". In that + * case the subproperty of [[variableMeasured]] called [[measuredProperty]] + * is applicable. + * + * The [[measurementTechnique]] property helps when extra clarification is + * needed about how a [[measuredProperty]] was measured. This is oriented * towards scientific and scholarly dataset publication but may have broader * applicability; it is not intended as a full representation of - * measurement, but rather as a high level summary for dataset discovery. + * measurement, but can often serve as a high level summary for dataset + * discovery. * * For example, if [[variableMeasured]] is: molecule concentration, * [[measurementTechnique]] could be: "mass spectrometry" or "nmr - * spectroscopy" or "colorimetry" or "immunofluorescence". - * - * If the [[variableMeasured]] is "depression rating", the - * [[measurementTechnique]] could be "Zung Scale" or "HAM-D" or "Beck - * Depression Inventory". + * spectroscopy" or "colorimetry" or "immunofluorescence". If the + * [[variableMeasured]] is "depression rating", the [[measurementTechnique]] + * could be "Zung Scale" or "HAM-D" or "Beck Depression Inventory". * * If there are several [[variableMeasured]] properties recorded for some * given data object, use a [[PropertyValue]] for each [[variableMeasured]] - * and attach the corresponding [[measurementTechnique]]. + * and attach the corresponding [[measurementTechnique]]. The value can also + * be from an enumeration, organized as a [[MeasurementMetholdEnumeration]]. * - * @param string|string[] $measurementTechnique + * @param \Spatie\SchemaOrg\Contracts\MeasurementMethodEnumContract|\Spatie\SchemaOrg\Contracts\MeasurementMethodEnumContract[]|string|string[] $measurementTechnique * * @return static * @@ -2017,6 +2045,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2032,9 +2074,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2138,9 +2179,10 @@ public function usageInfo($usageInfo) /** * The variableMeasured property can indicate (repeated as necessary) the * variables that are measured in some dataset, either described as text or - * as pairs of identifier and description using PropertyValue. + * as pairs of identifier and description using PropertyValue, or more + * explicitly as a [[StatisticalVariable]]. * - * @param \Spatie\SchemaOrg\Contracts\PropertyValueContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract[]|string|string[] $variableMeasured + * @param \Spatie\SchemaOrg\Contracts\PropertyContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract[]|\Spatie\SchemaOrg\Contracts\PropertyContract[]|\Spatie\SchemaOrg\Contracts\StatisticalVariableContract|\Spatie\SchemaOrg\Contracts\StatisticalVariableContract[]|string|string[] $variableMeasured * * @return static * @@ -2208,7 +2250,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/DatedMoneySpecification.php b/src/DatedMoneySpecification.php index 77a08d71b..59ec1c4bd 100644 --- a/src/DatedMoneySpecification.php +++ b/src/DatedMoneySpecification.php @@ -21,10 +21,14 @@ class DatedMoneySpecification extends BaseType implements DatedMoneySpecificatio /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/DayOfWeek.php b/src/DayOfWeek.php index b751a6f28..497383dc8 100644 --- a/src/DayOfWeek.php +++ b/src/DayOfWeek.php @@ -17,7 +17,6 @@ * have now been integrated directly into schema.org. * * @see https://schema.org/DayOfWeek - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsClass * * @method static supersededBy($supersededBy) The value should be instance of pending types Class|Class[]|Enumeration|Enumeration[]|Property|Property[] */ @@ -47,7 +46,6 @@ class DayOfWeek extends BaseType implements DayOfWeekContract, EnumerationContra * which a public holiday occurs. * * @see https://schema.org/PublicHolidays - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsClass */ public const PublicHolidays = 'https://schema.org/PublicHolidays'; @@ -89,10 +87,14 @@ class DayOfWeek extends BaseType implements DayOfWeekContract, EnumerationContra /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/DaySpa.php b/src/DaySpa.php index 47f3ca63c..7c69410c2 100644 --- a/src/DaySpa.php +++ b/src/DaySpa.php @@ -29,6 +29,7 @@ class DaySpa extends BaseType implements DaySpaContract, HealthAndBeautyBusiness * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/DeactivateAction.php b/src/DeactivateAction.php index 7f64558df..9592fe452 100644 --- a/src/DeactivateAction.php +++ b/src/DeactivateAction.php @@ -33,10 +33,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/DefenceEstablishment.php b/src/DefenceEstablishment.php index 828dd44bc..8f579a60a 100644 --- a/src/DefenceEstablishment.php +++ b/src/DefenceEstablishment.php @@ -41,10 +41,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -111,7 +115,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -452,7 +455,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -550,7 +552,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -596,7 +597,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -725,7 +725,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -857,7 +856,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/DefinedRegion.php b/src/DefinedRegion.php index 31c8e805d..8efce58f4 100644 --- a/src/DefinedRegion.php +++ b/src/DefinedRegion.php @@ -35,10 +35,14 @@ class DefinedRegion extends BaseType implements DefinedRegionContract, Intangibl /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/DefinedTerm.php b/src/DefinedTerm.php index 8a1978c8c..f6f43c4ba 100644 --- a/src/DefinedTerm.php +++ b/src/DefinedTerm.php @@ -23,10 +23,14 @@ class DefinedTerm extends BaseType implements DefinedTermContract, IntangibleCon /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/DefinedTermSet.php b/src/DefinedTermSet.php index c285028b4..134ca6320 100644 --- a/src/DefinedTermSet.php +++ b/src/DefinedTermSet.php @@ -203,10 +203,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -586,6 +590,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -915,7 +920,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -986,6 +990,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1031,7 +1036,6 @@ public function hasDefinedTerm($hasDefinedTerm) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1169,7 +1173,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1906,6 +1910,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1921,9 +1939,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2061,7 +2078,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/DeleteAction.php b/src/DeleteAction.php index 6bc46f1d8..5e21ab205 100644 --- a/src/DeleteAction.php +++ b/src/DeleteAction.php @@ -32,10 +32,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/DeliveryChargeSpecification.php b/src/DeliveryChargeSpecification.php index ea181cf16..478eabb97 100644 --- a/src/DeliveryChargeSpecification.php +++ b/src/DeliveryChargeSpecification.php @@ -12,7 +12,6 @@ * The price for the delivery of an offer using a particular delivery method. * * @see https://schema.org/DeliveryChargeSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsClass * */ class DeliveryChargeSpecification extends BaseType implements DeliveryChargeSpecificationContract, IntangibleContract, PriceSpecificationContract, StructuredValueContract, ThingContract @@ -20,10 +19,14 @@ class DeliveryChargeSpecification extends BaseType implements DeliveryChargeSpec /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -59,7 +62,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/appliesToDeliveryMethod - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function appliesToDeliveryMethod($appliesToDeliveryMethod) { @@ -121,7 +123,6 @@ public function disambiguatingDescription($disambiguatingDescription) * @return static * * @see https://schema.org/eligibleQuantity - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function eligibleQuantity($eligibleQuantity) { @@ -140,6 +141,7 @@ public function eligibleQuantity($eligibleQuantity) * @return static * * @see https://schema.org/eligibleRegion + * @link https://github.com/schemaorg/schemaorg/issues/1741 */ public function eligibleRegion($eligibleRegion) { @@ -157,7 +159,6 @@ public function eligibleRegion($eligibleRegion) * @return static * * @see https://schema.org/eligibleTransactionVolume - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function eligibleTransactionVolume($eligibleTransactionVolume) { @@ -242,7 +243,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/maxPrice - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function maxPrice($maxPrice) { @@ -257,7 +257,6 @@ public function maxPrice($maxPrice) * @return static * * @see https://schema.org/minPrice - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function minPrice($minPrice) { @@ -406,7 +405,6 @@ public function url($url) * @return static * * @see https://schema.org/validFrom - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function validFrom($validFrom) { @@ -422,7 +420,6 @@ public function validFrom($validFrom) * @return static * * @see https://schema.org/validThrough - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function validThrough($validThrough) { @@ -438,7 +435,6 @@ public function validThrough($validThrough) * @return static * * @see https://schema.org/valueAddedTaxIncluded - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function valueAddedTaxIncluded($valueAddedTaxIncluded) { diff --git a/src/DeliveryEvent.php b/src/DeliveryEvent.php index 9c1bd0f14..40bba7d18 100644 --- a/src/DeliveryEvent.php +++ b/src/DeliveryEvent.php @@ -62,10 +62,14 @@ public function actor($actor) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -186,7 +190,6 @@ public function availableThrough($availableThrough) * @return static * * @see https://schema.org/composer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public function composer($composer) { @@ -386,6 +389,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/DeliveryMethod.php b/src/DeliveryMethod.php index ed0ed159d..0a74e92d1 100644 --- a/src/DeliveryMethod.php +++ b/src/DeliveryMethod.php @@ -26,7 +26,6 @@ * * http://purl.org/goodrelations/v1#UPS * * @see https://schema.org/DeliveryMethod - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsClass * * @method static supersededBy($supersededBy) The value should be instance of pending types Class|Class[]|Enumeration|Enumeration[]|Property|Property[] */ @@ -58,17 +57,20 @@ class DeliveryMethod extends BaseType implements DeliveryMethodContract, Enumera * * http://purl.org/goodrelations/v1#UPS * * @see https://schema.org/ParcelService - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsClass */ public const ParcelService = 'https://schema.org/ParcelService'; /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/DeliveryTimeSettings.php b/src/DeliveryTimeSettings.php index 8c00b2ab0..b97bceb77 100644 --- a/src/DeliveryTimeSettings.php +++ b/src/DeliveryTimeSettings.php @@ -25,10 +25,14 @@ class DeliveryTimeSettings extends BaseType implements DeliveryTimeSettingsContr /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/Demand.php b/src/Demand.php index 5995a8488..c3b65dd65 100644 --- a/src/Demand.php +++ b/src/Demand.php @@ -13,7 +13,6 @@ * very same properties used for Offer apply. * * @see https://schema.org/Demand - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsClass * */ class Demand extends BaseType implements DemandContract, IntangibleContract, ThingContract @@ -26,7 +25,6 @@ class Demand extends BaseType implements DemandContract, IntangibleContract, Thi * @return static * * @see https://schema.org/acceptedPaymentMethod - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function acceptedPaymentMethod($acceptedPaymentMethod) { @@ -36,10 +34,14 @@ public function acceptedPaymentMethod($acceptedPaymentMethod) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -61,7 +63,6 @@ public function additionalType($additionalType) * @return static * * @see https://schema.org/advanceBookingRequirement - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function advanceBookingRequirement($advanceBookingRequirement) { @@ -146,6 +147,7 @@ public function availability($availability) * @return static * * @see https://schema.org/availabilityEnds + * @link https://github.com/schemaorg/schemaorg/issues/1741 */ public function availabilityEnds($availabilityEnds) { @@ -161,6 +163,7 @@ public function availabilityEnds($availabilityEnds) * @return static * * @see https://schema.org/availabilityStarts + * @link https://github.com/schemaorg/schemaorg/issues/1741 */ public function availabilityStarts($availabilityStarts) { @@ -175,7 +178,6 @@ public function availabilityStarts($availabilityStarts) * @return static * * @see https://schema.org/availableAtOrFrom - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function availableAtOrFrom($availableAtOrFrom) { @@ -190,7 +192,6 @@ public function availableAtOrFrom($availableAtOrFrom) * @return static * * @see https://schema.org/availableDeliveryMethod - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function availableDeliveryMethod($availableDeliveryMethod) { @@ -207,7 +208,6 @@ public function availableDeliveryMethod($availableDeliveryMethod) * @return static * * @see https://schema.org/businessFunction - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function businessFunction($businessFunction) { @@ -224,7 +224,6 @@ public function businessFunction($businessFunction) * @return static * * @see https://schema.org/deliveryLeadTime - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function deliveryLeadTime($deliveryLeadTime) { @@ -270,7 +269,6 @@ public function disambiguatingDescription($disambiguatingDescription) * @return static * * @see https://schema.org/eligibleCustomerType - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function eligibleCustomerType($eligibleCustomerType) { @@ -285,7 +283,6 @@ public function eligibleCustomerType($eligibleCustomerType) * @return static * * @see https://schema.org/eligibleDuration - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function eligibleDuration($eligibleDuration) { @@ -302,7 +299,6 @@ public function eligibleDuration($eligibleDuration) * @return static * * @see https://schema.org/eligibleQuantity - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function eligibleQuantity($eligibleQuantity) { @@ -321,6 +317,7 @@ public function eligibleQuantity($eligibleQuantity) * @return static * * @see https://schema.org/eligibleRegion + * @link https://github.com/schemaorg/schemaorg/issues/1741 */ public function eligibleRegion($eligibleRegion) { @@ -338,7 +335,6 @@ public function eligibleRegion($eligibleRegion) * @return static * * @see https://schema.org/eligibleTransactionVolume - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function eligibleTransactionVolume($eligibleTransactionVolume) { @@ -418,7 +414,6 @@ public function gtin12($gtin12) * @return static * * @see https://schema.org/gtin13 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function gtin13($gtin13) { @@ -436,7 +431,6 @@ public function gtin13($gtin13) * @return static * * @see https://schema.org/gtin14 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function gtin14($gtin14) { @@ -454,7 +448,6 @@ public function gtin14($gtin14) * @return static * * @see https://schema.org/gtin8 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function gtin8($gtin8) { @@ -503,7 +496,6 @@ public function image($image) * @return static * * @see https://schema.org/includesObject - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function includesObject($includesObject) { @@ -539,7 +531,6 @@ public function ineligibleRegion($ineligibleRegion) * @return static * * @see https://schema.org/inventoryLevel - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function inventoryLevel($inventoryLevel) { @@ -606,7 +597,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/mpn - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function mpn($mpn) { @@ -651,7 +641,6 @@ public function potentialAction($potentialAction) * @return static * * @see https://schema.org/priceSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function priceSpecification($priceSpecification) { @@ -699,7 +688,6 @@ public function seller($seller) * @return static * * @see https://schema.org/serialNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function serialNumber($serialNumber) { @@ -715,7 +703,6 @@ public function serialNumber($serialNumber) * @return static * * @see https://schema.org/sku - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function sku($sku) { @@ -759,7 +746,6 @@ public function url($url) * @return static * * @see https://schema.org/validFrom - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function validFrom($validFrom) { @@ -775,7 +761,6 @@ public function validFrom($validFrom) * @return static * * @see https://schema.org/validThrough - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function validThrough($validThrough) { @@ -790,7 +775,6 @@ public function validThrough($validThrough) * @return static * * @see https://schema.org/warranty - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function warranty($warranty) { diff --git a/src/Dentist.php b/src/Dentist.php index 5e4d4a20a..3d1e51353 100644 --- a/src/Dentist.php +++ b/src/Dentist.php @@ -30,6 +30,7 @@ class Dentist extends BaseType implements DentistContract, LocalBusinessContract * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -61,10 +62,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -145,7 +150,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -326,6 +330,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -428,6 +433,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -446,6 +452,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -461,7 +468,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -655,6 +661,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -858,7 +865,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -954,7 +960,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1084,7 +1089,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1140,6 +1144,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1158,6 +1163,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1187,7 +1193,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1232,7 +1237,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1278,7 +1282,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1395,7 +1398,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1482,7 +1484,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1503,6 +1504,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1517,7 +1519,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1702,7 +1703,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1746,7 +1746,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1826,7 +1825,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1876,6 +1874,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1904,7 +1903,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/DepartAction.php b/src/DepartAction.php index 034abd525..98c6a7c9a 100644 --- a/src/DepartAction.php +++ b/src/DepartAction.php @@ -33,10 +33,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/DepartmentStore.php b/src/DepartmentStore.php index f657e2564..2094076cf 100644 --- a/src/DepartmentStore.php +++ b/src/DepartmentStore.php @@ -29,6 +29,7 @@ class DepartmentStore extends BaseType implements DepartmentStoreContract, Local * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/DepositAccount.php b/src/DepositAccount.php index 64a0c05cb..a3c67ea40 100644 --- a/src/DepositAccount.php +++ b/src/DepositAccount.php @@ -15,7 +15,6 @@ * interest or other benefits. * * @see https://schema.org/DepositAccount - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#FIBO * */ class DepositAccount extends BaseType implements DepositAccountContract, BankAccountContract, FinancialProductContract, IntangibleContract, InvestmentOrDepositContract, ServiceContract, ThingContract @@ -29,6 +28,7 @@ class DepositAccount extends BaseType implements DepositAccountContract, BankAcc * * @see https://schema.org/accountMinimumInflow * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1253 */ public function accountMinimumInflow($accountMinimumInflow) { @@ -47,6 +47,7 @@ public function accountMinimumInflow($accountMinimumInflow) * * @see https://schema.org/accountOverdraftLimit * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1253 */ public function accountOverdraftLimit($accountOverdraftLimit) { @@ -56,10 +57,14 @@ public function accountOverdraftLimit($accountOverdraftLimit) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -126,7 +131,6 @@ public function amount($amount) * @return static * * @see https://schema.org/annualPercentageRate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#FIBO */ public function annualPercentageRate($annualPercentageRate) { @@ -199,6 +203,7 @@ public function award($award) * * @see https://schema.org/bankAccountType * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1253 */ public function bankAccountType($bankAccountType) { @@ -292,7 +297,6 @@ public function disambiguatingDescription($disambiguatingDescription) * @return static * * @see https://schema.org/feesAndCommissionsSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#FIBO */ public function feesAndCommissionsSpecification($feesAndCommissionsSpecification) { @@ -370,7 +374,6 @@ public function image($image) * @return static * * @see https://schema.org/interestRate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#FIBO */ public function interestRate($interestRate) { @@ -385,7 +388,6 @@ public function interestRate($interestRate) * @return static * * @see https://schema.org/isRelatedTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isRelatedTo($isRelatedTo) { @@ -401,7 +403,6 @@ public function isRelatedTo($isRelatedTo) * @return static * * @see https://schema.org/isSimilarTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isSimilarTo($isSimilarTo) { @@ -416,7 +417,6 @@ public function isSimilarTo($isSimilarTo) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { diff --git a/src/DiagnosticLab.php b/src/DiagnosticLab.php index f913b248f..cc3afca9f 100644 --- a/src/DiagnosticLab.php +++ b/src/DiagnosticLab.php @@ -28,6 +28,7 @@ class DiagnosticLab extends BaseType implements DiagnosticLabContract, MedicalOr * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -37,10 +38,14 @@ public function actionableFeedbackPolicy($actionableFeedbackPolicy) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -221,6 +226,7 @@ public function contactPoints($contactPoints) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -301,6 +307,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -319,6 +326,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -334,7 +342,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -528,6 +535,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -545,7 +553,6 @@ public function funding($funding) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -607,7 +614,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -723,7 +729,6 @@ public function isAcceptingNewPatients($isAcceptingNewPatients) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -779,6 +784,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -797,6 +803,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -811,7 +818,6 @@ public function knowsLanguage($knowsLanguage) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -856,7 +862,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -887,7 +892,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -962,7 +966,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1028,6 +1031,7 @@ public function numberOfEmployees($numberOfEmployees) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1042,7 +1046,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1156,7 +1159,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1247,7 +1249,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1279,6 +1280,7 @@ public function telephone($telephone) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1307,7 +1309,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/DiagnosticProcedure.php b/src/DiagnosticProcedure.php index b6c130606..5b3ba6c1c 100644 --- a/src/DiagnosticProcedure.php +++ b/src/DiagnosticProcedure.php @@ -20,10 +20,14 @@ class DiagnosticProcedure extends BaseType implements DiagnosticProcedureContrac /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -137,6 +141,7 @@ public function followup($followup) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/Diet.php b/src/Diet.php index f5d0bef3e..e70270934 100644 --- a/src/Diet.php +++ b/src/Diet.php @@ -204,10 +204,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -603,6 +607,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -965,7 +970,6 @@ public function endorsers($endorsers) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1051,6 +1055,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1095,7 +1100,6 @@ public function guideline($guideline) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1233,7 +1237,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2078,6 +2082,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2093,9 +2111,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2233,7 +2250,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/DietarySupplement.php b/src/DietarySupplement.php index 189464a87..9ca995d99 100644 --- a/src/DietarySupplement.php +++ b/src/DietarySupplement.php @@ -61,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -228,7 +232,6 @@ public function code($code) * @return static * * @see https://schema.org/color - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function color($color) { @@ -301,7 +304,6 @@ public function countryOfOrigin($countryOfOrigin) * @return static * * @see https://schema.org/depth - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function depth($depth) { @@ -349,6 +351,7 @@ public function disambiguatingDescription($disambiguatingDescription) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -428,7 +431,6 @@ public function gtin12($gtin12) * @return static * * @see https://schema.org/gtin13 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function gtin13($gtin13) { @@ -446,7 +448,6 @@ public function gtin13($gtin13) * @return static * * @see https://schema.org/gtin14 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function gtin14($gtin14) { @@ -464,7 +465,6 @@ public function gtin14($gtin14) * @return static * * @see https://schema.org/gtin8 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function gtin8($gtin8) { @@ -645,7 +645,6 @@ public function inProductGroupWithID($inProductGroupWithID) * @return static * * @see https://schema.org/isAccessoryOrSparePartFor - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isAccessoryOrSparePartFor($isAccessoryOrSparePartFor) { @@ -661,7 +660,6 @@ public function isAccessoryOrSparePartFor($isAccessoryOrSparePartFor) * @return static * * @see https://schema.org/isConsumableFor - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isConsumableFor($isConsumableFor) { @@ -705,7 +703,6 @@ public function isProprietary($isProprietary) * @return static * * @see https://schema.org/isRelatedTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isRelatedTo($isRelatedTo) { @@ -721,7 +718,6 @@ public function isRelatedTo($isRelatedTo) * @return static * * @see https://schema.org/isSimilarTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isSimilarTo($isSimilarTo) { @@ -746,7 +742,6 @@ public function isSimilarTo($isSimilarTo) * @return static * * @see https://schema.org/isVariantOf - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isVariantOf($isVariantOf) { @@ -810,7 +805,6 @@ public function legalStatus($legalStatus) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -969,7 +963,6 @@ public function model($model) * @return static * * @see https://schema.org/mpn - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function mpn($mpn) { @@ -1154,7 +1147,6 @@ public function productID($productID) * @return static * * @see https://schema.org/productionDate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function productionDate($productionDate) { @@ -1185,7 +1177,6 @@ public function proprietaryName($proprietaryName) * @return static * * @see https://schema.org/purchaseDate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function purchaseDate($purchaseDate) { @@ -1233,7 +1224,6 @@ public function recommendedIntake($recommendedIntake) * @return static * * @see https://schema.org/releaseDate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function releaseDate($releaseDate) { @@ -1345,7 +1335,6 @@ public function size($size) * @return static * * @see https://schema.org/sku - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function sku($sku) { @@ -1434,7 +1423,6 @@ public function url($url) * @return static * * @see https://schema.org/weight - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function weight($weight) { diff --git a/src/DigitalDocument.php b/src/DigitalDocument.php index 9f8ee3e23..42f351df8 100644 --- a/src/DigitalDocument.php +++ b/src/DigitalDocument.php @@ -200,10 +200,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -583,6 +587,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -912,7 +917,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -983,6 +987,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1028,7 +1033,6 @@ public function hasDigitalDocumentPermission($hasDigitalDocumentPermission) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1166,7 +1170,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1903,6 +1907,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1918,9 +1936,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2058,7 +2075,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/DigitalDocumentPermission.php b/src/DigitalDocumentPermission.php index 3a0ceb4dc..2514b36cb 100644 --- a/src/DigitalDocumentPermission.php +++ b/src/DigitalDocumentPermission.php @@ -17,10 +17,14 @@ class DigitalDocumentPermission extends BaseType implements DigitalDocumentPermi /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/DigitalDocumentPermissionType.php b/src/DigitalDocumentPermissionType.php index a71440683..b354da70a 100644 --- a/src/DigitalDocumentPermissionType.php +++ b/src/DigitalDocumentPermissionType.php @@ -40,10 +40,14 @@ class DigitalDocumentPermissionType extends BaseType implements DigitalDocumentP /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/DigitalPlatformEnumeration.php b/src/DigitalPlatformEnumeration.php index 29a4451f8..56f6d2833 100644 --- a/src/DigitalPlatformEnumeration.php +++ b/src/DigitalPlatformEnumeration.php @@ -73,10 +73,14 @@ class DigitalPlatformEnumeration extends BaseType implements DigitalPlatformEnum /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/DisagreeAction.php b/src/DisagreeAction.php index 366908b54..489155056 100644 --- a/src/DisagreeAction.php +++ b/src/DisagreeAction.php @@ -35,10 +35,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/DiscoverAction.php b/src/DiscoverAction.php index 9b94f5793..c4ceeef44 100644 --- a/src/DiscoverAction.php +++ b/src/DiscoverAction.php @@ -32,10 +32,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/DiscussionForumPosting.php b/src/DiscussionForumPosting.php index 606d4935e..bb9d2bcae 100644 --- a/src/DiscussionForumPosting.php +++ b/src/DiscussionForumPosting.php @@ -202,10 +202,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -428,6 +432,7 @@ public function awards($awards) * * @see https://schema.org/backstory * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function backstory($backstory) { @@ -633,6 +638,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -962,7 +968,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1033,6 +1038,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1062,7 +1068,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1200,7 +1205,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1469,7 +1474,6 @@ public function offers($offers) * @return static * * @see https://schema.org/pageEnd - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pageEnd($pageEnd) { @@ -1484,7 +1488,6 @@ public function pageEnd($pageEnd) * @return static * * @see https://schema.org/pageStart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pageStart($pageStart) { @@ -1500,7 +1503,6 @@ public function pageStart($pageStart) * @return static * * @see https://schema.org/pagination - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pagination($pagination) { @@ -2038,6 +2040,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2053,9 +2069,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2207,7 +2222,6 @@ public function wordCount($wordCount) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/DislikeAction.php b/src/DislikeAction.php index dc45c917e..bf113bde3 100644 --- a/src/DislikeAction.php +++ b/src/DislikeAction.php @@ -34,10 +34,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/Distance.php b/src/Distance.php index 5f94d325f..01d619acf 100644 --- a/src/Distance.php +++ b/src/Distance.php @@ -19,10 +19,14 @@ class Distance extends BaseType implements DistanceContract, IntangibleContract, /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/Distillery.php b/src/Distillery.php index 041caa4ec..a5d99412f 100644 --- a/src/Distillery.php +++ b/src/Distillery.php @@ -46,6 +46,7 @@ public function acceptsReservations($acceptsReservations) * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -77,10 +78,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -161,7 +166,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -342,6 +346,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -444,6 +449,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -462,6 +468,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -477,7 +484,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -671,6 +677,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -874,7 +881,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -985,7 +991,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1082,7 +1087,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1138,6 +1142,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1156,6 +1161,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1185,7 +1191,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1230,7 +1235,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1276,7 +1280,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1393,7 +1396,6 @@ public function menu($menu) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1480,7 +1482,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1501,6 +1502,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1515,7 +1517,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1700,7 +1701,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1758,7 +1758,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1809,7 +1808,6 @@ public function sponsor($sponsor) * @return static * * @see https://schema.org/starRating - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function starRating($starRating) { @@ -1856,7 +1854,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1906,6 +1903,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1934,7 +1932,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/DonateAction.php b/src/DonateAction.php index a40bb228e..115c3519a 100644 --- a/src/DonateAction.php +++ b/src/DonateAction.php @@ -33,10 +33,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -356,7 +360,6 @@ public function priceCurrency($priceCurrency) * @return static * * @see https://schema.org/priceSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function priceSpecification($priceSpecification) { diff --git a/src/DoseSchedule.php b/src/DoseSchedule.php index 4d8b1c5c8..3592d93ee 100644 --- a/src/DoseSchedule.php +++ b/src/DoseSchedule.php @@ -19,10 +19,14 @@ class DoseSchedule extends BaseType implements DoseScheduleContract, MedicalEnti /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -151,6 +155,7 @@ public function frequency($frequency) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/DownloadAction.php b/src/DownloadAction.php index 696e68714..08d6c42dd 100644 --- a/src/DownloadAction.php +++ b/src/DownloadAction.php @@ -32,10 +32,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/DrawAction.php b/src/DrawAction.php index 58c4a0a84..bc4a94758 100644 --- a/src/DrawAction.php +++ b/src/DrawAction.php @@ -33,10 +33,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/Drawing.php b/src/Drawing.php index 5119a0133..608fbeeda 100644 --- a/src/Drawing.php +++ b/src/Drawing.php @@ -202,10 +202,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -585,6 +589,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -914,7 +919,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -985,6 +989,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1014,7 +1019,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1152,7 +1156,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1889,6 +1893,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1904,9 +1922,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2044,7 +2061,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/DrinkAction.php b/src/DrinkAction.php index e349ef5d5..5524d713f 100644 --- a/src/DrinkAction.php +++ b/src/DrinkAction.php @@ -49,10 +49,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/DriveWheelConfigurationValue.php b/src/DriveWheelConfigurationValue.php index 9a0233835..dcb2b8285 100644 --- a/src/DriveWheelConfigurationValue.php +++ b/src/DriveWheelConfigurationValue.php @@ -12,7 +12,6 @@ * A value indicating which roadwheels will receive torque. * * @see https://schema.org/DriveWheelConfigurationValue - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group * * @method static supersededBy($supersededBy) The value should be instance of pending types Class|Class[]|Enumeration|Enumeration[]|Property|Property[] */ @@ -23,7 +22,6 @@ class DriveWheelConfigurationValue extends BaseType implements DriveWheelConfigu * wheels. * * @see https://schema.org/AllWheelDriveConfiguration - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public const AllWheelDriveConfiguration = 'https://schema.org/AllWheelDriveConfiguration'; @@ -32,7 +30,6 @@ class DriveWheelConfigurationValue extends BaseType implements DriveWheelConfigu * drives two wheels with a part-time four-wheel drive capability. * * @see https://schema.org/FourWheelDriveConfiguration - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public const FourWheelDriveConfiguration = 'https://schema.org/FourWheelDriveConfiguration'; @@ -41,7 +38,6 @@ class DriveWheelConfigurationValue extends BaseType implements DriveWheelConfigu * front wheels. * * @see https://schema.org/FrontWheelDriveConfiguration - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public const FrontWheelDriveConfiguration = 'https://schema.org/FrontWheelDriveConfiguration'; @@ -50,7 +46,6 @@ class DriveWheelConfigurationValue extends BaseType implements DriveWheelConfigu * rear wheels. * * @see https://schema.org/RearWheelDriveConfiguration - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public const RearWheelDriveConfiguration = 'https://schema.org/RearWheelDriveConfiguration'; @@ -79,10 +74,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -149,7 +148,6 @@ public function disambiguatingDescription($disambiguatingDescription) * @return static * * @see https://schema.org/equal - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function equal($equal) { @@ -165,7 +163,6 @@ public function equal($equal) * @return static * * @see https://schema.org/greater - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function greater($greater) { @@ -181,7 +178,6 @@ public function greater($greater) * @return static * * @see https://schema.org/greaterOrEqual - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function greaterOrEqual($greaterOrEqual) { @@ -230,7 +226,6 @@ public function image($image) * @return static * * @see https://schema.org/lesser - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function lesser($lesser) { @@ -246,7 +241,6 @@ public function lesser($lesser) * @return static * * @see https://schema.org/lesserOrEqual - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function lesserOrEqual($lesserOrEqual) { @@ -292,7 +286,6 @@ public function name($name) * @return static * * @see https://schema.org/nonEqual - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function nonEqual($nonEqual) { @@ -368,7 +361,6 @@ public function url($url) * @return static * * @see https://schema.org/valueReference - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function valueReference($valueReference) { diff --git a/src/Drug.php b/src/Drug.php index 14072b590..dbcaa2954 100644 --- a/src/Drug.php +++ b/src/Drug.php @@ -61,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -324,7 +328,6 @@ public function code($code) * @return static * * @see https://schema.org/color - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function color($color) { @@ -397,7 +400,6 @@ public function countryOfOrigin($countryOfOrigin) * @return static * * @see https://schema.org/depth - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function depth($depth) { @@ -523,6 +525,7 @@ public function foodWarning($foodWarning) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -602,7 +605,6 @@ public function gtin12($gtin12) * @return static * * @see https://schema.org/gtin13 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function gtin13($gtin13) { @@ -620,7 +622,6 @@ public function gtin13($gtin13) * @return static * * @see https://schema.org/gtin14 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function gtin14($gtin14) { @@ -638,7 +639,6 @@ public function gtin14($gtin14) * @return static * * @see https://schema.org/gtin8 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function gtin8($gtin8) { @@ -852,7 +852,6 @@ public function interactingDrug($interactingDrug) * @return static * * @see https://schema.org/isAccessoryOrSparePartFor - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isAccessoryOrSparePartFor($isAccessoryOrSparePartFor) { @@ -883,7 +882,6 @@ public function isAvailableGenerically($isAvailableGenerically) * @return static * * @see https://schema.org/isConsumableFor - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isConsumableFor($isConsumableFor) { @@ -927,7 +925,6 @@ public function isProprietary($isProprietary) * @return static * * @see https://schema.org/isRelatedTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isRelatedTo($isRelatedTo) { @@ -943,7 +940,6 @@ public function isRelatedTo($isRelatedTo) * @return static * * @see https://schema.org/isSimilarTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isSimilarTo($isSimilarTo) { @@ -968,7 +964,6 @@ public function isSimilarTo($isSimilarTo) * @return static * * @see https://schema.org/isVariantOf - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isVariantOf($isVariantOf) { @@ -1047,7 +1042,6 @@ public function legalStatus($legalStatus) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1206,7 +1200,6 @@ public function model($model) * @return static * * @see https://schema.org/mpn - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function mpn($mpn) { @@ -1470,7 +1463,6 @@ public function productID($productID) * @return static * * @see https://schema.org/productionDate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function productionDate($productionDate) { @@ -1501,7 +1493,6 @@ public function proprietaryName($proprietaryName) * @return static * * @see https://schema.org/purchaseDate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function purchaseDate($purchaseDate) { @@ -1549,7 +1540,6 @@ public function relatedDrug($relatedDrug) * @return static * * @see https://schema.org/releaseDate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function releaseDate($releaseDate) { @@ -1660,7 +1650,6 @@ public function size($size) * @return static * * @see https://schema.org/sku - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function sku($sku) { @@ -1748,7 +1737,6 @@ public function warning($warning) * @return static * * @see https://schema.org/weight - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function weight($weight) { diff --git a/src/DrugClass.php b/src/DrugClass.php index cdeb06b25..50bebab11 100644 --- a/src/DrugClass.php +++ b/src/DrugClass.php @@ -20,10 +20,14 @@ class DrugClass extends BaseType implements DrugClassContract, MedicalEntityCont /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -122,6 +126,7 @@ public function drug($drug) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/DrugCost.php b/src/DrugCost.php index 6f23c7d63..bb0ba04ce 100644 --- a/src/DrugCost.php +++ b/src/DrugCost.php @@ -24,10 +24,14 @@ class DrugCost extends BaseType implements DrugCostContract, MedicalEntityContra /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -203,6 +207,7 @@ public function drugUnit($drugUnit) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/DrugCostCategory.php b/src/DrugCostCategory.php index 286dde12f..5399a8c7a 100644 --- a/src/DrugCostCategory.php +++ b/src/DrugCostCategory.php @@ -46,10 +46,14 @@ class DrugCostCategory extends BaseType implements DrugCostCategoryContract, Enu /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/DrugLegalStatus.php b/src/DrugLegalStatus.php index 841bbb4b4..836395dc0 100644 --- a/src/DrugLegalStatus.php +++ b/src/DrugLegalStatus.php @@ -19,10 +19,14 @@ class DrugLegalStatus extends BaseType implements DrugLegalStatusContract, Medic /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -121,6 +125,7 @@ public function disambiguatingDescription($disambiguatingDescription) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/DrugPregnancyCategory.php b/src/DrugPregnancyCategory.php index 5ebdbc7f3..fc71b6236 100644 --- a/src/DrugPregnancyCategory.php +++ b/src/DrugPregnancyCategory.php @@ -86,10 +86,14 @@ class DrugPregnancyCategory extends BaseType implements DrugPregnancyCategoryCon /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/DrugPrescriptionStatus.php b/src/DrugPrescriptionStatus.php index 639f83e49..55b2c082c 100644 --- a/src/DrugPrescriptionStatus.php +++ b/src/DrugPrescriptionStatus.php @@ -38,10 +38,14 @@ class DrugPrescriptionStatus extends BaseType implements DrugPrescriptionStatusC /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/DrugStrength.php b/src/DrugStrength.php index e4e6f3f41..b775f16df 100644 --- a/src/DrugStrength.php +++ b/src/DrugStrength.php @@ -36,10 +36,14 @@ public function activeIngredient($activeIngredient) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -138,6 +142,7 @@ public function disambiguatingDescription($disambiguatingDescription) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/DryCleaningOrLaundry.php b/src/DryCleaningOrLaundry.php index 204b11bc3..4174ada3a 100644 --- a/src/DryCleaningOrLaundry.php +++ b/src/DryCleaningOrLaundry.php @@ -28,6 +28,7 @@ class DryCleaningOrLaundry extends BaseType implements DryCleaningOrLaundryContr * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -59,10 +60,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -143,7 +148,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -324,6 +328,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -426,6 +431,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -444,6 +450,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -459,7 +466,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -653,6 +659,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -856,7 +863,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -952,7 +958,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1049,7 +1054,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1105,6 +1109,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1123,6 +1128,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1152,7 +1158,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1197,7 +1202,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1243,7 +1247,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1345,7 +1348,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1432,7 +1434,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1453,6 +1454,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1467,7 +1469,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1652,7 +1653,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1696,7 +1696,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1776,7 +1775,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1826,6 +1824,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1854,7 +1853,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/Duration.php b/src/Duration.php index 6d99d11bb..1d3290141 100644 --- a/src/Duration.php +++ b/src/Duration.php @@ -19,10 +19,14 @@ class Duration extends BaseType implements DurationContract, IntangibleContract, /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/EUEnergyEfficiencyEnumeration.php b/src/EUEnergyEfficiencyEnumeration.php index 97732a5bf..9f0958e22 100644 --- a/src/EUEnergyEfficiencyEnumeration.php +++ b/src/EUEnergyEfficiencyEnumeration.php @@ -123,10 +123,14 @@ class EUEnergyEfficiencyEnumeration extends BaseType implements EUEnergyEfficien /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/EatAction.php b/src/EatAction.php index a1c0407aa..d7e1091a2 100644 --- a/src/EatAction.php +++ b/src/EatAction.php @@ -49,10 +49,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/EducationEvent.php b/src/EducationEvent.php index dfdb19b36..4c4296463 100644 --- a/src/EducationEvent.php +++ b/src/EducationEvent.php @@ -48,10 +48,14 @@ public function actor($actor) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -161,7 +165,6 @@ public function audience($audience) * @return static * * @see https://schema.org/composer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public function composer($composer) { @@ -379,6 +382,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/EducationalAudience.php b/src/EducationalAudience.php index e1e39e27f..fad63fc65 100644 --- a/src/EducationalAudience.php +++ b/src/EducationalAudience.php @@ -11,7 +11,6 @@ * An EducationalAudience. * * @see https://schema.org/EducationalAudience - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_LRMIClass * */ class EducationalAudience extends BaseType implements EducationalAudienceContract, AudienceContract, IntangibleContract, ThingContract @@ -19,10 +18,14 @@ class EducationalAudience extends BaseType implements EducationalAudienceContrac /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/EducationalOccupationalCredential.php b/src/EducationalOccupationalCredential.php index 1b54baa6b..cc75da8a5 100644 --- a/src/EducationalOccupationalCredential.php +++ b/src/EducationalOccupationalCredential.php @@ -204,10 +204,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -605,6 +609,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -951,7 +956,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1022,6 +1026,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1051,7 +1056,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1189,7 +1193,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1944,6 +1948,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1959,9 +1977,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2129,7 +2146,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/EducationalOccupationalProgram.php b/src/EducationalOccupationalProgram.php index b34c26628..1e9a50aa1 100644 --- a/src/EducationalOccupationalProgram.php +++ b/src/EducationalOccupationalProgram.php @@ -24,10 +24,14 @@ class EducationalOccupationalProgram extends BaseType implements EducationalOccu /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -96,7 +100,6 @@ public function applicationStartDate($applicationStartDate) * @return static * * @see https://schema.org/dayOfWeek - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function dayOfWeek($dayOfWeek) { diff --git a/src/EducationalOrganization.php b/src/EducationalOrganization.php index dc3e52f18..ece32e329 100644 --- a/src/EducationalOrganization.php +++ b/src/EducationalOrganization.php @@ -28,6 +28,7 @@ class EducationalOrganization extends BaseType implements EducationalOrganizatio * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -59,10 +60,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -143,7 +148,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -309,6 +313,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -389,6 +394,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -407,6 +413,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -422,7 +429,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -616,6 +622,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -819,7 +826,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -915,7 +921,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1012,7 +1017,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1068,6 +1072,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1086,6 +1091,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1115,7 +1121,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1160,7 +1165,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1206,7 +1210,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1308,7 +1311,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1395,7 +1397,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1416,6 +1417,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1430,7 +1432,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1587,7 +1588,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1631,7 +1631,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1711,7 +1710,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1761,6 +1759,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1789,7 +1788,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/Electrician.php b/src/Electrician.php index 4cb1bb164..93102f9af 100644 --- a/src/Electrician.php +++ b/src/Electrician.php @@ -29,6 +29,7 @@ class Electrician extends BaseType implements ElectricianContract, HomeAndConstr * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/ElectronicsStore.php b/src/ElectronicsStore.php index 4ca10a883..27b685c04 100644 --- a/src/ElectronicsStore.php +++ b/src/ElectronicsStore.php @@ -29,6 +29,7 @@ class ElectronicsStore extends BaseType implements ElectronicsStoreContract, Loc * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/ElementarySchool.php b/src/ElementarySchool.php index dd68d37ab..ec84879e4 100644 --- a/src/ElementarySchool.php +++ b/src/ElementarySchool.php @@ -29,6 +29,7 @@ class ElementarySchool extends BaseType implements ElementarySchoolContract, Civ * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -310,6 +314,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -390,6 +395,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -408,6 +414,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -423,7 +430,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -617,6 +623,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -820,7 +827,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -916,7 +922,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1013,7 +1018,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1069,6 +1073,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1087,6 +1092,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1116,7 +1122,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1161,7 +1166,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1207,7 +1211,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1309,7 +1312,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1396,7 +1398,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1417,6 +1418,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1431,7 +1433,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1588,7 +1589,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1632,7 +1632,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1712,7 +1711,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1762,6 +1760,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1790,7 +1789,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/EmailMessage.php b/src/EmailMessage.php index 49bf2fdb0..ef517a7c6 100644 --- a/src/EmailMessage.php +++ b/src/EmailMessage.php @@ -201,10 +201,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -612,6 +616,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -984,7 +989,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1055,6 +1059,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1084,7 +1089,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1222,7 +1226,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2003,6 +2007,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2018,9 +2036,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2173,7 +2190,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/Embassy.php b/src/Embassy.php index d878be6ea..ec941f163 100644 --- a/src/Embassy.php +++ b/src/Embassy.php @@ -41,10 +41,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -111,7 +115,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -452,7 +455,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -550,7 +552,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -596,7 +597,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -725,7 +725,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -857,7 +856,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/EmergencyService.php b/src/EmergencyService.php index 40d64a3da..49f9e0543 100644 --- a/src/EmergencyService.php +++ b/src/EmergencyService.php @@ -28,6 +28,7 @@ class EmergencyService extends BaseType implements EmergencyServiceContract, Loc * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -59,10 +60,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -143,7 +148,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -324,6 +328,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -426,6 +431,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -444,6 +450,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -459,7 +466,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -653,6 +659,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -856,7 +863,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -952,7 +958,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1049,7 +1054,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1105,6 +1109,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1123,6 +1128,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1152,7 +1158,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1197,7 +1202,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1243,7 +1247,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1345,7 +1348,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1432,7 +1434,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1453,6 +1454,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1467,7 +1469,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1652,7 +1653,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1696,7 +1696,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1776,7 +1775,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1826,6 +1824,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1854,7 +1853,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/EmployeeRole.php b/src/EmployeeRole.php index 52fa5bdc2..a67d6463b 100644 --- a/src/EmployeeRole.php +++ b/src/EmployeeRole.php @@ -19,10 +19,14 @@ class EmployeeRole extends BaseType implements EmployeeRoleContract, IntangibleC /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/EmployerAggregateRating.php b/src/EmployerAggregateRating.php index 27565deef..9ad12e75c 100644 --- a/src/EmployerAggregateRating.php +++ b/src/EmployerAggregateRating.php @@ -20,10 +20,14 @@ class EmployerAggregateRating extends BaseType implements EmployerAggregateRatin /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/EmployerReview.php b/src/EmployerReview.php index f8483d67b..fd53977fa 100644 --- a/src/EmployerReview.php +++ b/src/EmployerReview.php @@ -204,10 +204,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -645,6 +649,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -974,7 +979,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1045,6 +1049,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1074,7 +1079,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1212,7 +1216,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2063,6 +2067,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2078,9 +2096,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2218,7 +2235,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/EmploymentAgency.php b/src/EmploymentAgency.php index d1be9463b..583ef5eeb 100644 --- a/src/EmploymentAgency.php +++ b/src/EmploymentAgency.php @@ -28,6 +28,7 @@ class EmploymentAgency extends BaseType implements EmploymentAgencyContract, Loc * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -59,10 +60,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -143,7 +148,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -324,6 +328,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -426,6 +431,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -444,6 +450,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -459,7 +466,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -653,6 +659,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -856,7 +863,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -952,7 +958,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1049,7 +1054,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1105,6 +1109,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1123,6 +1128,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1152,7 +1158,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1197,7 +1202,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1243,7 +1247,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1345,7 +1348,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1432,7 +1434,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1453,6 +1454,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1467,7 +1469,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1652,7 +1653,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1696,7 +1696,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1776,7 +1775,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1826,6 +1824,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1854,7 +1853,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/EndorseAction.php b/src/EndorseAction.php index c9826b47b..c630bc624 100644 --- a/src/EndorseAction.php +++ b/src/EndorseAction.php @@ -33,10 +33,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/EndorsementRating.php b/src/EndorsementRating.php index 5d3b491b3..81c22784e 100644 --- a/src/EndorsementRating.php +++ b/src/EndorsementRating.php @@ -31,10 +31,14 @@ class EndorsementRating extends BaseType implements EndorsementRatingContract, I /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/Energy.php b/src/Energy.php index 662d23737..3a289a904 100644 --- a/src/Energy.php +++ b/src/Energy.php @@ -19,10 +19,14 @@ class Energy extends BaseType implements EnergyContract, IntangibleContract, Qua /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/EnergyConsumptionDetails.php b/src/EnergyConsumptionDetails.php index bf5fa7dbb..c647f5069 100644 --- a/src/EnergyConsumptionDetails.php +++ b/src/EnergyConsumptionDetails.php @@ -25,10 +25,14 @@ class EnergyConsumptionDetails extends BaseType implements EnergyConsumptionDeta /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/EnergyEfficiencyEnumeration.php b/src/EnergyEfficiencyEnumeration.php index a2f6cf210..1420e941a 100644 --- a/src/EnergyEfficiencyEnumeration.php +++ b/src/EnergyEfficiencyEnumeration.php @@ -23,10 +23,14 @@ class EnergyEfficiencyEnumeration extends BaseType implements EnergyEfficiencyEn /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/EnergyStarEnergyEfficiencyEnumeration.php b/src/EnergyStarEnergyEfficiencyEnumeration.php index a5bec22a7..87029c983 100644 --- a/src/EnergyStarEnergyEfficiencyEnumeration.php +++ b/src/EnergyStarEnergyEfficiencyEnumeration.php @@ -31,10 +31,14 @@ class EnergyStarEnergyEfficiencyEnumeration extends BaseType implements EnergySt /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/EngineSpecification.php b/src/EngineSpecification.php index c082cb3c4..39d4a9241 100644 --- a/src/EngineSpecification.php +++ b/src/EngineSpecification.php @@ -12,7 +12,6 @@ * engines represented by multiple engine specification entities. * * @see https://schema.org/EngineSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group * */ class EngineSpecification extends BaseType implements EngineSpecificationContract, IntangibleContract, StructuredValueContract, ThingContract @@ -20,10 +19,14 @@ class EngineSpecification extends BaseType implements EngineSpecificationContrac /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -97,7 +100,6 @@ public function disambiguatingDescription($disambiguatingDescription) * * @see https://schema.org/engineDisplacement * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function engineDisplacement($engineDisplacement) { @@ -122,7 +124,6 @@ public function engineDisplacement($engineDisplacement) * * @see https://schema.org/enginePower * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function enginePower($enginePower) { @@ -138,7 +139,6 @@ public function enginePower($enginePower) * * @see https://schema.org/engineType * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function engineType($engineType) { @@ -155,7 +155,6 @@ public function engineType($engineType) * @return static * * @see https://schema.org/fuelType - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function fuelType($fuelType) { @@ -287,7 +286,6 @@ public function subjectOf($subjectOf) * * @see https://schema.org/torque * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function torque($torque) { diff --git a/src/EntertainmentBusiness.php b/src/EntertainmentBusiness.php index 74a419597..576478596 100644 --- a/src/EntertainmentBusiness.php +++ b/src/EntertainmentBusiness.php @@ -28,6 +28,7 @@ class EntertainmentBusiness extends BaseType implements EntertainmentBusinessCon * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -59,10 +60,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -143,7 +148,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -324,6 +328,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -426,6 +431,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -444,6 +450,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -459,7 +466,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -653,6 +659,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -856,7 +863,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -952,7 +958,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1049,7 +1054,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1105,6 +1109,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1123,6 +1128,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1152,7 +1158,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1197,7 +1202,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1243,7 +1247,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1345,7 +1348,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1432,7 +1434,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1453,6 +1454,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1467,7 +1469,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1652,7 +1653,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1696,7 +1696,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1776,7 +1775,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1826,6 +1824,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1854,7 +1853,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/EntryPoint.php b/src/EntryPoint.php index 1575c7593..fae542fd8 100644 --- a/src/EntryPoint.php +++ b/src/EntryPoint.php @@ -10,7 +10,6 @@ * An entry point, within some Web-based protocol. * * @see https://schema.org/EntryPoint - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_ActionCollabClass * */ class EntryPoint extends BaseType implements EntryPointContract, IntangibleContract, ThingContract @@ -48,10 +47,14 @@ public function actionPlatform($actionPlatform) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/Enumeration.php b/src/Enumeration.php index c68600b33..25cf717e2 100644 --- a/src/Enumeration.php +++ b/src/Enumeration.php @@ -18,10 +18,14 @@ class Enumeration extends BaseType implements EnumerationContract, IntangibleCon /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/Episode.php b/src/Episode.php index 77559572f..a2578245a 100644 --- a/src/Episode.php +++ b/src/Episode.php @@ -232,10 +232,14 @@ public function actors($actors) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -615,6 +619,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -1004,7 +1009,6 @@ public function episodeNumber($episodeNumber) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1075,6 +1079,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1104,7 +1109,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1242,7 +1246,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2036,6 +2040,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2051,9 +2069,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2205,7 +2222,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/Event.php b/src/Event.php index 233176eb8..7a43f1cf5 100644 --- a/src/Event.php +++ b/src/Event.php @@ -49,10 +49,14 @@ public function actor($actor) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -145,7 +149,6 @@ public function audience($audience) * @return static * * @see https://schema.org/composer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public function composer($composer) { @@ -345,6 +348,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/EventAttendanceModeEnumeration.php b/src/EventAttendanceModeEnumeration.php index 3b643628a..1e33b53b9 100644 --- a/src/EventAttendanceModeEnumeration.php +++ b/src/EventAttendanceModeEnumeration.php @@ -51,10 +51,14 @@ class EventAttendanceModeEnumeration extends BaseType implements EventAttendance /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/EventReservation.php b/src/EventReservation.php index 6b6470b09..1b869aa98 100644 --- a/src/EventReservation.php +++ b/src/EventReservation.php @@ -22,10 +22,14 @@ class EventReservation extends BaseType implements EventReservationContract, Int /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/EventSeries.php b/src/EventSeries.php index 32f223ac8..f7479f437 100644 --- a/src/EventSeries.php +++ b/src/EventSeries.php @@ -74,10 +74,14 @@ public function actor($actor) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -170,7 +174,6 @@ public function audience($audience) * @return static * * @see https://schema.org/composer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public function composer($composer) { @@ -370,6 +373,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/EventStatusType.php b/src/EventStatusType.php index 4e57dda11..605fdae54 100644 --- a/src/EventStatusType.php +++ b/src/EventStatusType.php @@ -65,10 +65,14 @@ class EventStatusType extends BaseType implements EventStatusTypeContract, Enume /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/EventVenue.php b/src/EventVenue.php index 1ff8f62c3..68cb241f6 100644 --- a/src/EventVenue.php +++ b/src/EventVenue.php @@ -40,10 +40,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -110,7 +114,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -451,7 +454,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -549,7 +551,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -595,7 +596,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -724,7 +724,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -856,7 +855,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/ExchangeRateSpecification.php b/src/ExchangeRateSpecification.php index a71479bc6..2617493f5 100644 --- a/src/ExchangeRateSpecification.php +++ b/src/ExchangeRateSpecification.php @@ -12,6 +12,7 @@ * * @see https://schema.org/ExchangeRateSpecification * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1253 * */ class ExchangeRateSpecification extends BaseType implements ExchangeRateSpecificationContract, IntangibleContract, StructuredValueContract, ThingContract @@ -19,10 +20,14 @@ class ExchangeRateSpecification extends BaseType implements ExchangeRateSpecific /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -81,6 +86,7 @@ public function currency($currency) * * @see https://schema.org/currentExchangeRate * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1253 */ public function currentExchangeRate($currentExchangeRate) { @@ -128,6 +134,7 @@ public function disambiguatingDescription($disambiguatingDescription) * * @see https://schema.org/exchangeRateSpread * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1253 */ public function exchangeRateSpread($exchangeRateSpread) { diff --git a/src/ExerciseAction.php b/src/ExerciseAction.php index f4c0f5dec..6c41d3b8a 100644 --- a/src/ExerciseAction.php +++ b/src/ExerciseAction.php @@ -33,10 +33,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/ExerciseGym.php b/src/ExerciseGym.php index 750d5f556..a79b9947a 100644 --- a/src/ExerciseGym.php +++ b/src/ExerciseGym.php @@ -29,6 +29,7 @@ class ExerciseGym extends BaseType implements ExerciseGymContract, LocalBusiness * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/ExercisePlan.php b/src/ExercisePlan.php index 22e25b31f..b827f6258 100644 --- a/src/ExercisePlan.php +++ b/src/ExercisePlan.php @@ -236,10 +236,14 @@ public function activityFrequency($activityFrequency) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -684,6 +688,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -1029,7 +1034,6 @@ public function epidemiology($epidemiology) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1116,6 +1120,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1160,7 +1165,6 @@ public function guideline($guideline) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1315,7 +1319,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2176,6 +2180,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2191,9 +2209,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2331,7 +2348,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/ExhibitionEvent.php b/src/ExhibitionEvent.php index acd9c8d53..8a762c222 100644 --- a/src/ExhibitionEvent.php +++ b/src/ExhibitionEvent.php @@ -49,10 +49,14 @@ public function actor($actor) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -145,7 +149,6 @@ public function audience($audience) * @return static * * @see https://schema.org/composer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public function composer($composer) { @@ -345,6 +348,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/FAQPage.php b/src/FAQPage.php index adbf1aae0..6d563661b 100644 --- a/src/FAQPage.php +++ b/src/FAQPage.php @@ -203,10 +203,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -601,6 +605,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -930,7 +935,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1001,6 +1005,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1030,7 +1035,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1168,7 +1172,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2061,6 +2065,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2076,9 +2094,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2216,7 +2233,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/FMRadioChannel.php b/src/FMRadioChannel.php index 18f870138..f7096c64d 100644 --- a/src/FMRadioChannel.php +++ b/src/FMRadioChannel.php @@ -20,10 +20,14 @@ class FMRadioChannel extends BaseType implements FMRadioChannelContract, Broadca /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/FastFoodRestaurant.php b/src/FastFoodRestaurant.php index b927c545a..96912aeaf 100644 --- a/src/FastFoodRestaurant.php +++ b/src/FastFoodRestaurant.php @@ -45,6 +45,7 @@ public function acceptsReservations($acceptsReservations) * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -76,10 +77,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -160,7 +165,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -341,6 +345,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -443,6 +448,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -461,6 +467,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -476,7 +483,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -670,6 +676,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -873,7 +880,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -984,7 +990,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1081,7 +1086,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1137,6 +1141,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1155,6 +1160,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1184,7 +1190,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1229,7 +1234,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1275,7 +1279,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1392,7 +1395,6 @@ public function menu($menu) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1479,7 +1481,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1500,6 +1501,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1514,7 +1516,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1699,7 +1700,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1757,7 +1757,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1808,7 +1807,6 @@ public function sponsor($sponsor) * @return static * * @see https://schema.org/starRating - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function starRating($starRating) { @@ -1855,7 +1853,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1905,6 +1902,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1933,7 +1931,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/Festival.php b/src/Festival.php index 7ba8bbed7..032024dc0 100644 --- a/src/Festival.php +++ b/src/Festival.php @@ -48,10 +48,14 @@ public function actor($actor) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +148,6 @@ public function audience($audience) * @return static * * @see https://schema.org/composer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public function composer($composer) { @@ -344,6 +347,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/FilmAction.php b/src/FilmAction.php index 70e2824d7..77c4149b1 100644 --- a/src/FilmAction.php +++ b/src/FilmAction.php @@ -32,10 +32,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/FinancialProduct.php b/src/FinancialProduct.php index 9b5a3cf94..7aa443546 100644 --- a/src/FinancialProduct.php +++ b/src/FinancialProduct.php @@ -13,7 +13,6 @@ * and investment companies which comprise the financial services industry. * * @see https://schema.org/FinancialProduct - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#FIBO * */ class FinancialProduct extends BaseType implements FinancialProductContract, IntangibleContract, ServiceContract, ThingContract @@ -21,10 +20,14 @@ class FinancialProduct extends BaseType implements FinancialProductContract, Int /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -77,7 +80,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/annualPercentageRate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#FIBO */ public function annualPercentageRate($annualPercentageRate) { @@ -228,7 +230,6 @@ public function disambiguatingDescription($disambiguatingDescription) * @return static * * @see https://schema.org/feesAndCommissionsSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#FIBO */ public function feesAndCommissionsSpecification($feesAndCommissionsSpecification) { @@ -306,7 +307,6 @@ public function image($image) * @return static * * @see https://schema.org/interestRate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#FIBO */ public function interestRate($interestRate) { @@ -321,7 +321,6 @@ public function interestRate($interestRate) * @return static * * @see https://schema.org/isRelatedTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isRelatedTo($isRelatedTo) { @@ -337,7 +336,6 @@ public function isRelatedTo($isRelatedTo) * @return static * * @see https://schema.org/isSimilarTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isSimilarTo($isSimilarTo) { @@ -352,7 +350,6 @@ public function isSimilarTo($isSimilarTo) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { diff --git a/src/FinancialService.php b/src/FinancialService.php index bdb475006..3f8c5d648 100644 --- a/src/FinancialService.php +++ b/src/FinancialService.php @@ -28,6 +28,7 @@ class FinancialService extends BaseType implements FinancialServiceContract, Loc * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -59,10 +60,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -143,7 +148,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -324,6 +328,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -426,6 +431,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -444,6 +450,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -459,7 +466,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -581,7 +587,6 @@ public function faxNumber($faxNumber) * @return static * * @see https://schema.org/feesAndCommissionsSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#FIBO */ public function feesAndCommissionsSpecification($feesAndCommissionsSpecification) { @@ -669,6 +674,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -872,7 +878,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -968,7 +973,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1065,7 +1069,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1121,6 +1124,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1139,6 +1143,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1168,7 +1173,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1213,7 +1217,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1259,7 +1262,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1361,7 +1363,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1448,7 +1449,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1469,6 +1469,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1483,7 +1484,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1668,7 +1668,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1712,7 +1711,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1792,7 +1790,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1842,6 +1839,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1870,7 +1868,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/FindAction.php b/src/FindAction.php index 624d62533..6ca23d138 100644 --- a/src/FindAction.php +++ b/src/FindAction.php @@ -36,10 +36,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/FireStation.php b/src/FireStation.php index 4bc922314..ed1d5537f 100644 --- a/src/FireStation.php +++ b/src/FireStation.php @@ -30,6 +30,7 @@ class FireStation extends BaseType implements FireStationContract, CivicStructur * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -61,10 +62,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -145,7 +150,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -326,6 +330,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -428,6 +433,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -446,6 +452,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -461,7 +468,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -655,6 +661,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -858,7 +865,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -954,7 +960,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1051,7 +1056,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1107,6 +1111,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1125,6 +1130,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1154,7 +1160,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1199,7 +1204,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1245,7 +1249,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1347,7 +1350,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1434,7 +1436,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1455,6 +1456,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1469,7 +1471,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1654,7 +1655,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1698,7 +1698,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1778,7 +1777,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1828,6 +1826,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1856,7 +1855,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/Flight.php b/src/Flight.php index 744d5e7eb..e67a0eec5 100644 --- a/src/Flight.php +++ b/src/Flight.php @@ -18,10 +18,14 @@ class Flight extends BaseType implements FlightContract, IntangibleContract, Thi /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -323,6 +327,7 @@ public function image($image) * * @see https://schema.org/itinerary * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1810 */ public function itinerary($itinerary) { @@ -405,6 +410,7 @@ public function offers($offers) * * @see https://schema.org/partOfTrip * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1810 */ public function partOfTrip($partOfTrip) { @@ -484,6 +490,7 @@ public function seller($seller) * * @see https://schema.org/subTrip * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1810 */ public function subTrip($subTrip) { diff --git a/src/FlightReservation.php b/src/FlightReservation.php index 05affbe1e..8a56a5404 100644 --- a/src/FlightReservation.php +++ b/src/FlightReservation.php @@ -22,10 +22,14 @@ class FlightReservation extends BaseType implements FlightReservationContract, I /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/FloorPlan.php b/src/FloorPlan.php index e71d4c7a3..662a40b63 100644 --- a/src/FloorPlan.php +++ b/src/FloorPlan.php @@ -27,10 +27,14 @@ class FloorPlan extends BaseType implements FloorPlanContract, IntangibleContrac /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -68,7 +72,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -116,7 +119,6 @@ public function disambiguatingDescription($disambiguatingDescription) * @return static * * @see https://schema.org/floorSize - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function floorSize($floorSize) { @@ -341,7 +343,6 @@ public function numberOfPartialBathrooms($numberOfPartialBathrooms) * @return static * * @see https://schema.org/numberOfRooms - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function numberOfRooms($numberOfRooms) { @@ -357,7 +358,6 @@ public function numberOfRooms($numberOfRooms) * @return static * * @see https://schema.org/petsAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function petsAllowed($petsAllowed) { diff --git a/src/Florist.php b/src/Florist.php index 6b4ed61d2..95ab625de 100644 --- a/src/Florist.php +++ b/src/Florist.php @@ -29,6 +29,7 @@ class Florist extends BaseType implements FloristContract, LocalBusinessContract * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/FollowAction.php b/src/FollowAction.php index e264182aa..8a60adbb8 100644 --- a/src/FollowAction.php +++ b/src/FollowAction.php @@ -47,10 +47,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/FoodEstablishment.php b/src/FoodEstablishment.php index 0b0330398..d739c46fb 100644 --- a/src/FoodEstablishment.php +++ b/src/FoodEstablishment.php @@ -44,6 +44,7 @@ public function acceptsReservations($acceptsReservations) * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -75,10 +76,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -159,7 +164,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -340,6 +344,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -442,6 +447,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -460,6 +466,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -475,7 +482,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -669,6 +675,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -872,7 +879,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -983,7 +989,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1080,7 +1085,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1136,6 +1140,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1154,6 +1159,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1183,7 +1189,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1228,7 +1233,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1274,7 +1278,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1391,7 +1394,6 @@ public function menu($menu) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1478,7 +1480,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1499,6 +1500,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1513,7 +1515,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1698,7 +1699,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1756,7 +1756,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1807,7 +1806,6 @@ public function sponsor($sponsor) * @return static * * @see https://schema.org/starRating - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function starRating($starRating) { @@ -1854,7 +1852,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1904,6 +1901,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1932,7 +1930,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/FoodEstablishmentReservation.php b/src/FoodEstablishmentReservation.php index d1e490d0a..e25001073 100644 --- a/src/FoodEstablishmentReservation.php +++ b/src/FoodEstablishmentReservation.php @@ -22,10 +22,14 @@ class FoodEstablishmentReservation extends BaseType implements FoodEstablishment /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/FoodEvent.php b/src/FoodEvent.php index eac946e4d..ad159f292 100644 --- a/src/FoodEvent.php +++ b/src/FoodEvent.php @@ -48,10 +48,14 @@ public function actor($actor) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +148,6 @@ public function audience($audience) * @return static * * @see https://schema.org/composer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public function composer($composer) { @@ -344,6 +347,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/FoodService.php b/src/FoodService.php index 316478105..841f215f2 100644 --- a/src/FoodService.php +++ b/src/FoodService.php @@ -11,7 +11,6 @@ * A food service, like breakfast, lunch, or dinner. * * @see https://schema.org/FoodService - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology * */ class FoodService extends BaseType implements FoodServiceContract, IntangibleContract, ServiceContract, ThingContract @@ -19,10 +18,14 @@ class FoodService extends BaseType implements FoodServiceContract, IntangibleCon /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -269,7 +272,6 @@ public function image($image) * @return static * * @see https://schema.org/isRelatedTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isRelatedTo($isRelatedTo) { @@ -285,7 +287,6 @@ public function isRelatedTo($isRelatedTo) * @return static * * @see https://schema.org/isSimilarTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isSimilarTo($isSimilarTo) { @@ -300,7 +301,6 @@ public function isSimilarTo($isSimilarTo) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { diff --git a/src/FundingAgency.php b/src/FundingAgency.php index 136417351..e9ac89085 100644 --- a/src/FundingAgency.php +++ b/src/FundingAgency.php @@ -35,6 +35,7 @@ class FundingAgency extends BaseType implements FundingAgencyContract, Organizat * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -44,10 +45,14 @@ public function actionableFeedbackPolicy($actionableFeedbackPolicy) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -213,6 +218,7 @@ public function contactPoints($contactPoints) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -293,6 +299,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -311,6 +318,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -326,7 +334,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -520,6 +527,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -537,7 +545,6 @@ public function funding($funding) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -599,7 +606,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -682,7 +688,6 @@ public function interactionStatistic($interactionStatistic) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -738,6 +743,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -756,6 +762,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -770,7 +777,6 @@ public function knowsLanguage($knowsLanguage) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -815,7 +821,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -846,7 +851,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -906,7 +910,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -972,6 +975,7 @@ public function numberOfEmployees($numberOfEmployees) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -986,7 +990,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1100,7 +1103,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1191,7 +1193,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1223,6 +1224,7 @@ public function telephone($telephone) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1251,7 +1253,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/FundingScheme.php b/src/FundingScheme.php index 35c06f5ec..ee60c38a7 100644 --- a/src/FundingScheme.php +++ b/src/FundingScheme.php @@ -36,6 +36,7 @@ class FundingScheme extends BaseType implements FundingSchemeContract, Organizat * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -45,10 +46,14 @@ public function actionableFeedbackPolicy($actionableFeedbackPolicy) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -214,6 +219,7 @@ public function contactPoints($contactPoints) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -294,6 +300,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -312,6 +319,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -327,7 +335,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -521,6 +528,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -538,7 +546,6 @@ public function funding($funding) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -600,7 +607,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -683,7 +689,6 @@ public function interactionStatistic($interactionStatistic) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -739,6 +744,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -757,6 +763,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -771,7 +778,6 @@ public function knowsLanguage($knowsLanguage) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -816,7 +822,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -847,7 +852,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -907,7 +911,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -973,6 +976,7 @@ public function numberOfEmployees($numberOfEmployees) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -987,7 +991,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1101,7 +1104,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1192,7 +1194,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1224,6 +1225,7 @@ public function telephone($telephone) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1252,7 +1254,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/FurnitureStore.php b/src/FurnitureStore.php index 43fe73dd2..fe0f53050 100644 --- a/src/FurnitureStore.php +++ b/src/FurnitureStore.php @@ -29,6 +29,7 @@ class FurnitureStore extends BaseType implements FurnitureStoreContract, LocalBu * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/Game.php b/src/Game.php index a8cac83f3..14c6aa0c8 100644 --- a/src/Game.php +++ b/src/Game.php @@ -202,10 +202,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -600,6 +604,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -929,7 +934,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1000,6 +1004,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1058,7 +1063,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1196,7 +1200,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1962,6 +1966,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1977,9 +1995,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2117,7 +2134,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/GameAvailabilityEnumeration.php b/src/GameAvailabilityEnumeration.php index b71f6c8b3..b0c0f9d56 100644 --- a/src/GameAvailabilityEnumeration.php +++ b/src/GameAvailabilityEnumeration.php @@ -41,10 +41,14 @@ class GameAvailabilityEnumeration extends BaseType implements GameAvailabilityEn /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/GamePlayMode.php b/src/GamePlayMode.php index 9c40f9196..28f0a5381 100644 --- a/src/GamePlayMode.php +++ b/src/GamePlayMode.php @@ -42,10 +42,14 @@ class GamePlayMode extends BaseType implements GamePlayModeContract, Enumeration /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/GameServer.php b/src/GameServer.php index 127ca2fb1..e3eb826b4 100644 --- a/src/GameServer.php +++ b/src/GameServer.php @@ -17,10 +17,14 @@ class GameServer extends BaseType implements GameServerContract, IntangibleContr /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/GameServerStatus.php b/src/GameServerStatus.php index 4779f73aa..d7e02c7cf 100644 --- a/src/GameServerStatus.php +++ b/src/GameServerStatus.php @@ -51,10 +51,14 @@ class GameServerStatus extends BaseType implements GameServerStatusContract, Enu /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/GardenStore.php b/src/GardenStore.php index 83dffdeed..0edf47312 100644 --- a/src/GardenStore.php +++ b/src/GardenStore.php @@ -29,6 +29,7 @@ class GardenStore extends BaseType implements GardenStoreContract, LocalBusiness * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/GasStation.php b/src/GasStation.php index 81dcefd16..fb3341de6 100644 --- a/src/GasStation.php +++ b/src/GasStation.php @@ -29,6 +29,7 @@ class GasStation extends BaseType implements GasStationContract, AutomotiveBusin * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/GatedResidenceCommunity.php b/src/GatedResidenceCommunity.php index 0db9a1534..2d5da7e0f 100644 --- a/src/GatedResidenceCommunity.php +++ b/src/GatedResidenceCommunity.php @@ -56,10 +56,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -126,7 +130,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -467,7 +470,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -565,7 +567,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -611,7 +612,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -713,7 +713,6 @@ public function name($name) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -845,7 +844,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/GenderType.php b/src/GenderType.php index f2ff2eb89..0605b6000 100644 --- a/src/GenderType.php +++ b/src/GenderType.php @@ -33,10 +33,14 @@ class GenderType extends BaseType implements GenderTypeContract, EnumerationCont /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/Gene.php b/src/Gene.php index 798245f65..0c8e2a3ea 100644 --- a/src/Gene.php +++ b/src/Gene.php @@ -15,6 +15,7 @@ * * @see https://schema.org/Gene * @see https://pending.schema.org + * @link http://bioschemas.org * */ class Gene extends BaseType implements GeneContract, BioChemEntityContract, ThingContract @@ -22,10 +23,14 @@ class Gene extends BaseType implements GeneContract, BioChemEntityContract, Thin /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -61,6 +66,7 @@ public function alternateName($alternateName) * * @see https://schema.org/alternativeOf * @see https://pending.schema.org + * @link http://www.bioschemas.org/Gene */ public function alternativeOf($alternativeOf) { @@ -78,6 +84,7 @@ public function alternativeOf($alternativeOf) * * @see https://schema.org/associatedDisease * @see https://pending.schema.org + * @link http://www.bioschemas.org/BioChemEntity */ public function associatedDisease($associatedDisease) { @@ -93,6 +100,7 @@ public function associatedDisease($associatedDisease) * * @see https://schema.org/bioChemInteraction * @see https://pending.schema.org + * @link http://www.bioschemas.org */ public function bioChemInteraction($bioChemInteraction) { @@ -109,6 +117,7 @@ public function bioChemInteraction($bioChemInteraction) * * @see https://schema.org/bioChemSimilarity * @see https://pending.schema.org + * @link http://www.bioschemas.org */ public function bioChemSimilarity($bioChemSimilarity) { @@ -124,6 +133,7 @@ public function bioChemSimilarity($bioChemSimilarity) * * @see https://schema.org/biologicalRole * @see https://pending.schema.org + * @link http://www.bioschemas.org */ public function biologicalRole($biologicalRole) { @@ -170,6 +180,7 @@ public function disambiguatingDescription($disambiguatingDescription) * * @see https://schema.org/encodesBioChemEntity * @see https://pending.schema.org + * @link http://www.bioschemas.org/Gene */ public function encodesBioChemEntity($encodesBioChemEntity) { @@ -186,6 +197,7 @@ public function encodesBioChemEntity($encodesBioChemEntity) * * @see https://schema.org/expressedIn * @see https://pending.schema.org + * @link http://www.bioschemas.org/Gene */ public function expressedIn($expressedIn) { @@ -202,6 +214,7 @@ public function expressedIn($expressedIn) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -218,6 +231,7 @@ public function funding($funding) * * @see https://schema.org/hasBioChemEntityPart * @see https://pending.schema.org + * @link http://www.bioschemas.org */ public function hasBioChemEntityPart($hasBioChemEntityPart) { @@ -234,6 +248,7 @@ public function hasBioChemEntityPart($hasBioChemEntityPart) * * @see https://schema.org/hasBioPolymerSequence * @see https://pending.schema.org + * @link http://www.bioschemas.org/Gene */ public function hasBioPolymerSequence($hasBioPolymerSequence) { @@ -250,6 +265,7 @@ public function hasBioPolymerSequence($hasBioPolymerSequence) * * @see https://schema.org/hasMolecularFunction * @see https://pending.schema.org + * @link http://www.bioschemas.org/BioChemEntity */ public function hasMolecularFunction($hasMolecularFunction) { @@ -266,6 +282,7 @@ public function hasMolecularFunction($hasMolecularFunction) * * @see https://schema.org/hasRepresentation * @see https://pending.schema.org + * @link http://www.bioschemas.org */ public function hasRepresentation($hasRepresentation) { @@ -314,6 +331,7 @@ public function image($image) * * @see https://schema.org/isEncodedByBioChemEntity * @see https://pending.schema.org + * @link http://www.bioschemas.org/Gene */ public function isEncodedByBioChemEntity($isEncodedByBioChemEntity) { @@ -330,6 +348,7 @@ public function isEncodedByBioChemEntity($isEncodedByBioChemEntity) * * @see https://schema.org/isInvolvedInBiologicalProcess * @see https://pending.schema.org + * @link http://www.bioschemas.org/BioChemEntity */ public function isInvolvedInBiologicalProcess($isInvolvedInBiologicalProcess) { @@ -346,6 +365,7 @@ public function isInvolvedInBiologicalProcess($isInvolvedInBiologicalProcess) * * @see https://schema.org/isLocatedInSubcellularLocation * @see https://pending.schema.org + * @link http://www.bioschemas.org/BioChemEntity */ public function isLocatedInSubcellularLocation($isLocatedInSubcellularLocation) { @@ -362,6 +382,7 @@ public function isLocatedInSubcellularLocation($isLocatedInSubcellularLocation) * * @see https://schema.org/isPartOfBioChemEntity * @see https://pending.schema.org + * @link http://www.bioschemas.org */ public function isPartOfBioChemEntity($isPartOfBioChemEntity) { @@ -454,6 +475,7 @@ public function subjectOf($subjectOf) * * @see https://schema.org/taxonomicRange * @see https://pending.schema.org + * @link http://www.bioschemas.org */ public function taxonomicRange($taxonomicRange) { diff --git a/src/GeneralContractor.php b/src/GeneralContractor.php index 2258c0b97..5e4b15dea 100644 --- a/src/GeneralContractor.php +++ b/src/GeneralContractor.php @@ -29,6 +29,7 @@ class GeneralContractor extends BaseType implements GeneralContractorContract, H * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/GeoCircle.php b/src/GeoCircle.php index eec2274f5..e11b6352a 100644 --- a/src/GeoCircle.php +++ b/src/GeoCircle.php @@ -24,10 +24,14 @@ class GeoCircle extends BaseType implements GeoCircleContract, GeoShapeContract, /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/GeoCoordinates.php b/src/GeoCoordinates.php index ac76f13eb..262ead463 100644 --- a/src/GeoCoordinates.php +++ b/src/GeoCoordinates.php @@ -18,10 +18,14 @@ class GeoCoordinates extends BaseType implements GeoCoordinatesContract, Intangi /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/GeoShape.php b/src/GeoShape.php index 774ee02ab..3d3254089 100644 --- a/src/GeoShape.php +++ b/src/GeoShape.php @@ -14,7 +14,6 @@ * whitespace should be used when writing a list of several such points. * * @see https://schema.org/GeoShape - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_rNews * */ class GeoShape extends BaseType implements GeoShapeContract, IntangibleContract, StructuredValueContract, ThingContract @@ -22,10 +21,14 @@ class GeoShape extends BaseType implements GeoShapeContract, IntangibleContract, /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/GeospatialGeometry.php b/src/GeospatialGeometry.php index 0984515f0..a695fa5ac 100644 --- a/src/GeospatialGeometry.php +++ b/src/GeospatialGeometry.php @@ -20,10 +20,14 @@ class GeospatialGeometry extends BaseType implements GeospatialGeometryContract, /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/GiveAction.php b/src/GiveAction.php index d7493d50c..f463bd439 100644 --- a/src/GiveAction.php +++ b/src/GiveAction.php @@ -40,10 +40,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/GolfCourse.php b/src/GolfCourse.php index a426b3ca6..7be13cf12 100644 --- a/src/GolfCourse.php +++ b/src/GolfCourse.php @@ -29,6 +29,7 @@ class GolfCourse extends BaseType implements GolfCourseContract, LocalBusinessCo * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/GovernmentBenefitsType.php b/src/GovernmentBenefitsType.php index 687a2d3a1..46ba37136 100644 --- a/src/GovernmentBenefitsType.php +++ b/src/GovernmentBenefitsType.php @@ -95,10 +95,14 @@ class GovernmentBenefitsType extends BaseType implements GovernmentBenefitsTypeC /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/GovernmentBuilding.php b/src/GovernmentBuilding.php index 991e5b75a..0db27af2b 100644 --- a/src/GovernmentBuilding.php +++ b/src/GovernmentBuilding.php @@ -40,10 +40,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -110,7 +114,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -451,7 +454,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -549,7 +551,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -595,7 +596,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -724,7 +724,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -856,7 +855,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/GovernmentOffice.php b/src/GovernmentOffice.php index 27d811dcc..e2f83341f 100644 --- a/src/GovernmentOffice.php +++ b/src/GovernmentOffice.php @@ -28,6 +28,7 @@ class GovernmentOffice extends BaseType implements GovernmentOfficeContract, Loc * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -59,10 +60,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -143,7 +148,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -324,6 +328,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -426,6 +431,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -444,6 +450,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -459,7 +466,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -653,6 +659,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -856,7 +863,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -952,7 +958,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1049,7 +1054,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1105,6 +1109,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1123,6 +1128,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1152,7 +1158,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1197,7 +1202,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1243,7 +1247,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1345,7 +1348,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1432,7 +1434,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1453,6 +1454,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1467,7 +1469,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1652,7 +1653,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1696,7 +1696,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1776,7 +1775,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1826,6 +1824,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1854,7 +1853,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/GovernmentOrganization.php b/src/GovernmentOrganization.php index e439cf351..4ac115537 100644 --- a/src/GovernmentOrganization.php +++ b/src/GovernmentOrganization.php @@ -26,6 +26,7 @@ class GovernmentOrganization extends BaseType implements GovernmentOrganizationC * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -35,10 +36,14 @@ public function actionableFeedbackPolicy($actionableFeedbackPolicy) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -204,6 +209,7 @@ public function contactPoints($contactPoints) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -284,6 +290,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -302,6 +309,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -317,7 +325,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -511,6 +518,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -528,7 +536,6 @@ public function funding($funding) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -590,7 +597,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -673,7 +679,6 @@ public function interactionStatistic($interactionStatistic) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -729,6 +734,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -747,6 +753,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -761,7 +768,6 @@ public function knowsLanguage($knowsLanguage) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -806,7 +812,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -837,7 +842,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -897,7 +901,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -963,6 +966,7 @@ public function numberOfEmployees($numberOfEmployees) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -977,7 +981,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1091,7 +1094,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1182,7 +1184,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1214,6 +1215,7 @@ public function telephone($telephone) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1242,7 +1244,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/GovernmentPermit.php b/src/GovernmentPermit.php index dfe804cc0..02275d06e 100644 --- a/src/GovernmentPermit.php +++ b/src/GovernmentPermit.php @@ -18,10 +18,14 @@ class GovernmentPermit extends BaseType implements GovernmentPermitContract, Int /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -267,7 +271,6 @@ public function validFor($validFor) * @return static * * @see https://schema.org/validFrom - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function validFrom($validFrom) { diff --git a/src/GovernmentService.php b/src/GovernmentService.php index bd1823c66..36e1444e1 100644 --- a/src/GovernmentService.php +++ b/src/GovernmentService.php @@ -19,10 +19,14 @@ class GovernmentService extends BaseType implements GovernmentServiceContract, I /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -269,7 +273,6 @@ public function image($image) * @return static * * @see https://schema.org/isRelatedTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isRelatedTo($isRelatedTo) { @@ -285,7 +288,6 @@ public function isRelatedTo($isRelatedTo) * @return static * * @see https://schema.org/isSimilarTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isSimilarTo($isSimilarTo) { @@ -317,7 +319,6 @@ public function jurisdiction($jurisdiction) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { diff --git a/src/Grant.php b/src/Grant.php index 0ce0e19a5..aa5fd8205 100644 --- a/src/Grant.php +++ b/src/Grant.php @@ -33,10 +33,14 @@ class Grant extends BaseType implements GrantContract, IntangibleContract, Thing /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/Graph.php b/src/Graph.php index 2f4993df5..b146cb461 100644 --- a/src/Graph.php +++ b/src/Graph.php @@ -177,6 +177,7 @@ * @method self|ComputerStore computerStore(string|\Closure|null $identifier = null, \Closure|null $callback = null) * @method self|ConfirmAction confirmAction(string|\Closure|null $identifier = null, \Closure|null $callback = null) * @method self|Consortium consortium(string|\Closure|null $identifier = null, \Closure|null $callback = null) + * @method self|ConstraintNode constraintNode(string|\Closure|null $identifier = null, \Closure|null $callback = null) * @method self|ConsumeAction consumeAction(string|\Closure|null $identifier = null, \Closure|null $callback = null) * @method self|ContactPage contactPage(string|\Closure|null $identifier = null, \Closure|null $callback = null) * @method self|ContactPoint contactPoint(string|\Closure|null $identifier = null, \Closure|null $callback = null) @@ -447,6 +448,7 @@ * @method self|Mass mass(string|\Closure|null $identifier = null, \Closure|null $callback = null) * @method self|MathSolver mathSolver(string|\Closure|null $identifier = null, \Closure|null $callback = null) * @method self|MaximumDoseSchedule maximumDoseSchedule(string|\Closure|null $identifier = null, \Closure|null $callback = null) + * @method self|MeasurementMethodEnum measurementMethodEnum(string|\Closure|null $identifier = null, \Closure|null $callback = null) * @method self|MeasurementTypeEnumeration measurementTypeEnumeration(string|\Closure|null $identifier = null, \Closure|null $callback = null) * @method self|MediaGallery mediaGallery(string|\Closure|null $identifier = null, \Closure|null $callback = null) * @method self|MediaManipulationRatingEnumeration mediaManipulationRatingEnumeration(string|\Closure|null $identifier = null, \Closure|null $callback = null) @@ -782,6 +784,7 @@ * @method self|State state(string|\Closure|null $identifier = null, \Closure|null $callback = null) * @method self|Statement statement(string|\Closure|null $identifier = null, \Closure|null $callback = null) * @method self|StatisticalPopulation statisticalPopulation(string|\Closure|null $identifier = null, \Closure|null $callback = null) + * @method self|StatisticalVariable statisticalVariable(string|\Closure|null $identifier = null, \Closure|null $callback = null) * @method self|StatusEnumeration statusEnumeration(string|\Closure|null $identifier = null, \Closure|null $callback = null) * @method self|SteeringPositionValue steeringPositionValue(string|\Closure|null $identifier = null, \Closure|null $callback = null) * @method self|Store store(string|\Closure|null $identifier = null, \Closure|null $callback = null) @@ -794,6 +797,7 @@ * @method self|SuperficialAnatomy superficialAnatomy(string|\Closure|null $identifier = null, \Closure|null $callback = null) * @method self|SurgicalProcedure surgicalProcedure(string|\Closure|null $identifier = null, \Closure|null $callback = null) * @method self|SuspendAction suspendAction(string|\Closure|null $identifier = null, \Closure|null $callback = null) + * @method self|Syllabus syllabus(string|\Closure|null $identifier = null, \Closure|null $callback = null) * @method self|Synagogue synagogue(string|\Closure|null $identifier = null, \Closure|null $callback = null) * @method self|TVClip tVClip(string|\Closure|null $identifier = null, \Closure|null $callback = null) * @method self|TVEpisode tVEpisode(string|\Closure|null $identifier = null, \Closure|null $callback = null) @@ -854,6 +858,7 @@ * @method self|UserPlusOnes userPlusOnes(string|\Closure|null $identifier = null, \Closure|null $callback = null) * @method self|UserReview userReview(string|\Closure|null $identifier = null, \Closure|null $callback = null) * @method self|UserTweets userTweets(string|\Closure|null $identifier = null, \Closure|null $callback = null) + * @method self|VacationRental vacationRental(string|\Closure|null $identifier = null, \Closure|null $callback = null) * @method self|Vehicle vehicle(string|\Closure|null $identifier = null, \Closure|null $callback = null) * @method self|Vein vein(string|\Closure|null $identifier = null, \Closure|null $callback = null) * @method self|Vessel vessel(string|\Closure|null $identifier = null, \Closure|null $callback = null) diff --git a/src/GroceryStore.php b/src/GroceryStore.php index 6438b4b8d..7a0a8e413 100644 --- a/src/GroceryStore.php +++ b/src/GroceryStore.php @@ -29,6 +29,7 @@ class GroceryStore extends BaseType implements GroceryStoreContract, LocalBusine * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/Guide.php b/src/Guide.php index c860871db..ea8e819b4 100644 --- a/src/Guide.php +++ b/src/Guide.php @@ -207,10 +207,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -590,6 +594,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -919,7 +924,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -990,6 +994,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1019,7 +1024,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1157,7 +1161,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1910,6 +1914,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1925,9 +1943,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2065,7 +2082,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/HVACBusiness.php b/src/HVACBusiness.php index 13c067d84..903c9e0f5 100644 --- a/src/HVACBusiness.php +++ b/src/HVACBusiness.php @@ -29,6 +29,7 @@ class HVACBusiness extends BaseType implements HVACBusinessContract, HomeAndCons * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/Hackathon.php b/src/Hackathon.php index 080687253..8e3403458 100644 --- a/src/Hackathon.php +++ b/src/Hackathon.php @@ -50,10 +50,14 @@ public function actor($actor) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -146,7 +150,6 @@ public function audience($audience) * @return static * * @see https://schema.org/composer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public function composer($composer) { @@ -346,6 +349,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/HairSalon.php b/src/HairSalon.php index 93f7f4124..9b53b088d 100644 --- a/src/HairSalon.php +++ b/src/HairSalon.php @@ -29,6 +29,7 @@ class HairSalon extends BaseType implements HairSalonContract, HealthAndBeautyBu * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/HardwareStore.php b/src/HardwareStore.php index bb6778cad..75a481849 100644 --- a/src/HardwareStore.php +++ b/src/HardwareStore.php @@ -29,6 +29,7 @@ class HardwareStore extends BaseType implements HardwareStoreContract, LocalBusi * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/HealthAndBeautyBusiness.php b/src/HealthAndBeautyBusiness.php index 80f4dc115..ec64d1b25 100644 --- a/src/HealthAndBeautyBusiness.php +++ b/src/HealthAndBeautyBusiness.php @@ -28,6 +28,7 @@ class HealthAndBeautyBusiness extends BaseType implements HealthAndBeautyBusines * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -59,10 +60,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -143,7 +148,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -324,6 +328,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -426,6 +431,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -444,6 +450,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -459,7 +466,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -653,6 +659,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -856,7 +863,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -952,7 +958,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1049,7 +1054,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1105,6 +1109,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1123,6 +1128,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1152,7 +1158,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1197,7 +1202,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1243,7 +1247,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1345,7 +1348,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1432,7 +1434,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1453,6 +1454,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1467,7 +1469,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1652,7 +1653,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1696,7 +1696,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1776,7 +1775,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1826,6 +1824,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1854,7 +1853,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/HealthAspectEnumeration.php b/src/HealthAspectEnumeration.php index b2aeb612d..072bbfbd8 100644 --- a/src/HealthAspectEnumeration.php +++ b/src/HealthAspectEnumeration.php @@ -301,10 +301,14 @@ class HealthAspectEnumeration extends BaseType implements HealthAspectEnumeratio /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/HealthClub.php b/src/HealthClub.php index 08d41b6dd..daf2fdefa 100644 --- a/src/HealthClub.php +++ b/src/HealthClub.php @@ -30,6 +30,7 @@ class HealthClub extends BaseType implements HealthClubContract, HealthAndBeauty * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -61,10 +62,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -145,7 +150,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -326,6 +330,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -428,6 +433,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -446,6 +452,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -461,7 +468,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -655,6 +661,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -858,7 +865,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -954,7 +960,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1051,7 +1056,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1107,6 +1111,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1125,6 +1130,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1154,7 +1160,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1199,7 +1204,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1245,7 +1249,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1347,7 +1350,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1434,7 +1436,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1455,6 +1456,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1469,7 +1471,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1654,7 +1655,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1698,7 +1698,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1778,7 +1777,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1828,6 +1826,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1856,7 +1855,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/HealthInsurancePlan.php b/src/HealthInsurancePlan.php index d8a83ab24..067349ce1 100644 --- a/src/HealthInsurancePlan.php +++ b/src/HealthInsurancePlan.php @@ -19,10 +19,14 @@ class HealthInsurancePlan extends BaseType implements HealthInsurancePlanContrac /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/HealthPlanCostSharingSpecification.php b/src/HealthPlanCostSharingSpecification.php index a254eaa95..6913b715f 100644 --- a/src/HealthPlanCostSharingSpecification.php +++ b/src/HealthPlanCostSharingSpecification.php @@ -19,10 +19,14 @@ class HealthPlanCostSharingSpecification extends BaseType implements HealthPlanC /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/HealthPlanFormulary.php b/src/HealthPlanFormulary.php index 503f1bf7e..d00c9e07d 100644 --- a/src/HealthPlanFormulary.php +++ b/src/HealthPlanFormulary.php @@ -20,10 +20,14 @@ class HealthPlanFormulary extends BaseType implements HealthPlanFormularyContrac /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/HealthPlanNetwork.php b/src/HealthPlanNetwork.php index d1b17260c..633903b97 100644 --- a/src/HealthPlanNetwork.php +++ b/src/HealthPlanNetwork.php @@ -19,10 +19,14 @@ class HealthPlanNetwork extends BaseType implements HealthPlanNetworkContract, I /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/HealthTopicContent.php b/src/HealthTopicContent.php index 5ecb37155..e532845e7 100644 --- a/src/HealthTopicContent.php +++ b/src/HealthTopicContent.php @@ -209,10 +209,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -592,6 +596,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -921,7 +926,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -992,6 +996,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1040,7 +1045,6 @@ public function hasHealthAspect($hasHealthAspect) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1178,7 +1182,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1915,6 +1919,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1930,9 +1948,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2070,7 +2087,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/HighSchool.php b/src/HighSchool.php index 740465520..18fb0ccbf 100644 --- a/src/HighSchool.php +++ b/src/HighSchool.php @@ -29,6 +29,7 @@ class HighSchool extends BaseType implements HighSchoolContract, CivicStructureC * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -310,6 +314,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -390,6 +395,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -408,6 +414,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -423,7 +430,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -617,6 +623,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -820,7 +827,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -916,7 +922,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1013,7 +1018,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1069,6 +1073,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1087,6 +1092,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1116,7 +1122,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1161,7 +1166,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1207,7 +1211,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1309,7 +1312,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1396,7 +1398,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1417,6 +1418,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1431,7 +1433,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1588,7 +1589,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1632,7 +1632,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1712,7 +1711,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1762,6 +1760,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1790,7 +1789,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/HinduTemple.php b/src/HinduTemple.php index e58e97b3f..93de25aae 100644 --- a/src/HinduTemple.php +++ b/src/HinduTemple.php @@ -41,10 +41,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -111,7 +115,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -452,7 +455,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -550,7 +552,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -596,7 +597,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -725,7 +725,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -857,7 +856,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/HobbyShop.php b/src/HobbyShop.php index 4402697e9..89227da7d 100644 --- a/src/HobbyShop.php +++ b/src/HobbyShop.php @@ -29,6 +29,7 @@ class HobbyShop extends BaseType implements HobbyShopContract, LocalBusinessCont * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/HomeAndConstructionBusiness.php b/src/HomeAndConstructionBusiness.php index c39c66a6c..b32a85a8d 100644 --- a/src/HomeAndConstructionBusiness.php +++ b/src/HomeAndConstructionBusiness.php @@ -34,6 +34,7 @@ class HomeAndConstructionBusiness extends BaseType implements HomeAndConstructio * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -65,10 +66,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -149,7 +154,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -330,6 +334,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -432,6 +437,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -450,6 +456,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -465,7 +472,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -659,6 +665,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -862,7 +869,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -958,7 +964,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1055,7 +1060,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1111,6 +1115,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1129,6 +1134,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1158,7 +1164,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1203,7 +1208,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1249,7 +1253,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1351,7 +1354,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1438,7 +1440,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1459,6 +1460,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1473,7 +1475,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1658,7 +1659,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1702,7 +1702,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1782,7 +1781,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1832,6 +1830,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1860,7 +1859,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/HomeGoodsStore.php b/src/HomeGoodsStore.php index 03d527971..278d78001 100644 --- a/src/HomeGoodsStore.php +++ b/src/HomeGoodsStore.php @@ -29,6 +29,7 @@ class HomeGoodsStore extends BaseType implements HomeGoodsStoreContract, LocalBu * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/Hospital.php b/src/Hospital.php index e541a69b3..4ceea385c 100644 --- a/src/Hospital.php +++ b/src/Hospital.php @@ -31,6 +31,7 @@ class Hospital extends BaseType implements HospitalContract, CivicStructureContr * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -62,10 +63,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -146,7 +151,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -342,6 +346,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -444,6 +449,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -462,6 +468,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -477,7 +484,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -671,6 +677,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -874,7 +881,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -970,7 +976,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1117,7 +1122,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1173,6 +1177,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1191,6 +1196,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1220,7 +1226,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1265,7 +1270,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1311,7 +1315,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1428,7 +1431,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1515,7 +1517,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1536,6 +1537,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1550,7 +1552,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1735,7 +1736,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1779,7 +1779,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1859,7 +1858,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1909,6 +1907,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1937,7 +1936,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/Hostel.php b/src/Hostel.php index 8cc0818ed..8935592fc 100644 --- a/src/Hostel.php +++ b/src/Hostel.php @@ -32,6 +32,7 @@ class Hostel extends BaseType implements HostelContract, LocalBusinessContract, * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -63,10 +64,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -147,7 +152,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -386,6 +390,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -488,6 +493,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -506,6 +512,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -521,7 +528,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -715,6 +721,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -918,7 +925,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -1014,7 +1020,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1111,7 +1116,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1167,6 +1171,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1185,6 +1190,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1214,7 +1220,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1259,7 +1264,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1305,7 +1309,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1407,7 +1410,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1470,7 +1472,6 @@ public function numberOfEmployees($numberOfEmployees) * @return static * * @see https://schema.org/numberOfRooms - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function numberOfRooms($numberOfRooms) { @@ -1512,7 +1513,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1533,6 +1533,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1547,7 +1548,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1592,7 +1592,6 @@ public function paymentAccepted($paymentAccepted) * @return static * * @see https://schema.org/petsAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function petsAllowed($petsAllowed) { @@ -1748,7 +1747,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1792,7 +1790,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1843,7 +1840,6 @@ public function sponsor($sponsor) * @return static * * @see https://schema.org/starRating - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function starRating($starRating) { @@ -1890,7 +1886,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1940,6 +1935,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1968,7 +1964,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/Hotel.php b/src/Hotel.php index 5a506619c..7f1ec5681 100644 --- a/src/Hotel.php +++ b/src/Hotel.php @@ -18,7 +18,6 @@ * schema.org for marking up hotels and other forms of accommodations. * * @see https://schema.org/Hotel - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology * */ class Hotel extends BaseType implements HotelContract, LocalBusinessContract, LodgingBusinessContract, OrganizationContract, PlaceContract, ThingContract @@ -35,6 +34,7 @@ class Hotel extends BaseType implements HotelContract, LocalBusinessContract, Lo * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -66,10 +66,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -150,7 +154,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -389,6 +392,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -491,6 +495,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -509,6 +514,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -524,7 +530,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -718,6 +723,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -921,7 +927,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -1017,7 +1022,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1114,7 +1118,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1170,6 +1173,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1188,6 +1192,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1217,7 +1222,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1262,7 +1266,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1308,7 +1311,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1410,7 +1412,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1473,7 +1474,6 @@ public function numberOfEmployees($numberOfEmployees) * @return static * * @see https://schema.org/numberOfRooms - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function numberOfRooms($numberOfRooms) { @@ -1515,7 +1515,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1536,6 +1535,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1550,7 +1550,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1595,7 +1594,6 @@ public function paymentAccepted($paymentAccepted) * @return static * * @see https://schema.org/petsAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function petsAllowed($petsAllowed) { @@ -1751,7 +1749,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1795,7 +1792,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1846,7 +1842,6 @@ public function sponsor($sponsor) * @return static * * @see https://schema.org/starRating - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function starRating($starRating) { @@ -1893,7 +1888,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1943,6 +1937,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1971,7 +1966,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/HotelRoom.php b/src/HotelRoom.php index 696fcde88..c89676b5c 100644 --- a/src/HotelRoom.php +++ b/src/HotelRoom.php @@ -15,7 +15,6 @@ * schema.org for marking up hotels and other forms of accommodations. * * @see https://schema.org/HotelRoom - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology * */ class HotelRoom extends BaseType implements HotelRoomContract, AccommodationContract, PlaceContract, RoomContract, ThingContract @@ -82,10 +81,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -152,7 +155,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -171,7 +173,6 @@ public function amenityFeature($amenityFeature) * @return static * * @see https://schema.org/bed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function bed($bed) { @@ -345,7 +346,6 @@ public function floorLevel($floorLevel) * @return static * * @see https://schema.org/floorSize - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function floorSize($floorSize) { @@ -549,7 +549,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -647,7 +646,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -710,7 +708,6 @@ public function leaseLength($leaseLength) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -889,7 +886,6 @@ public function numberOfPartialBathrooms($numberOfPartialBathrooms) * @return static * * @see https://schema.org/numberOfRooms - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function numberOfRooms($numberOfRooms) { @@ -908,7 +904,6 @@ public function numberOfRooms($numberOfRooms) * @return static * * @see https://schema.org/occupancy - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function occupancy($occupancy) { @@ -923,7 +918,6 @@ public function occupancy($occupancy) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -938,7 +932,6 @@ public function openingHoursSpecification($openingHoursSpecification) * @return static * * @see https://schema.org/permittedUsage - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function permittedUsage($permittedUsage) { @@ -954,7 +947,6 @@ public function permittedUsage($permittedUsage) * @return static * * @see https://schema.org/petsAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function petsAllowed($petsAllowed) { @@ -1086,7 +1078,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/House.php b/src/House.php index fce6ead9c..35e7e4a98 100644 --- a/src/House.php +++ b/src/House.php @@ -14,7 +14,6 @@ * href="http://en.wikipedia.org/wiki/House">http://en.wikipedia.org/wiki/House). * * @see https://schema.org/House - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology * */ class House extends BaseType implements HouseContract, AccommodationContract, PlaceContract, ThingContract @@ -81,10 +80,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -151,13 +154,30 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { return $this->setProperty('amenityFeature', $amenityFeature); } + /** + * The type of bed or beds included in the accommodation. For the single + * case of just one bed of a certain type, you use bed directly with a text. + * If you want to indicate the quantity of a certain kind of bed, use + * an instance of BedDetails. For more detailed information, use the + * amenityFeature property. + * + * @param \Spatie\SchemaOrg\Contracts\BedDetailsContract|\Spatie\SchemaOrg\Contracts\BedDetailsContract[]|\Spatie\SchemaOrg\Contracts\BedTypeContract|\Spatie\SchemaOrg\Contracts\BedTypeContract[]|string|string[] $bed + * + * @return static + * + * @see https://schema.org/bed + */ + public function bed($bed) + { + return $this->setProperty('bed', $bed); + } + /** * A short textual code (also called "store code") that uniquely identifies * a place of business. The code is typically assigned by the @@ -325,7 +345,6 @@ public function floorLevel($floorLevel) * @return static * * @see https://schema.org/floorSize - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function floorSize($floorSize) { @@ -529,7 +548,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -627,7 +645,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -690,7 +707,6 @@ public function leaseLength($leaseLength) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -869,13 +885,30 @@ public function numberOfPartialBathrooms($numberOfPartialBathrooms) * @return static * * @see https://schema.org/numberOfRooms - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function numberOfRooms($numberOfRooms) { return $this->setProperty('numberOfRooms', $numberOfRooms); } + /** + * The allowed total occupancy for the accommodation in persons (including + * infants etc). For individual accommodations, this is not necessarily the + * legal maximum but defines the permitted usage as per the contractual + * agreement (e.g. a double room used by a single person). + * Typical unit code(s): C62 for person + * + * @param \Spatie\SchemaOrg\Contracts\QuantitativeValueContract|\Spatie\SchemaOrg\Contracts\QuantitativeValueContract[] $occupancy + * + * @return static + * + * @see https://schema.org/occupancy + */ + public function occupancy($occupancy) + { + return $this->setProperty('occupancy', $occupancy); + } + /** * The opening hours of a certain place. * @@ -884,7 +917,6 @@ public function numberOfRooms($numberOfRooms) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -899,7 +931,6 @@ public function openingHoursSpecification($openingHoursSpecification) * @return static * * @see https://schema.org/permittedUsage - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function permittedUsage($permittedUsage) { @@ -915,7 +946,6 @@ public function permittedUsage($permittedUsage) * @return static * * @see https://schema.org/petsAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function petsAllowed($petsAllowed) { @@ -1047,7 +1077,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/HousePainter.php b/src/HousePainter.php index 9487b27ce..2e3f0a6cb 100644 --- a/src/HousePainter.php +++ b/src/HousePainter.php @@ -29,6 +29,7 @@ class HousePainter extends BaseType implements HousePainterContract, HomeAndCons * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/HowTo.php b/src/HowTo.php index 363039ba6..995330fc8 100644 --- a/src/HowTo.php +++ b/src/HowTo.php @@ -201,10 +201,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -584,6 +588,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -928,7 +933,6 @@ public function estimatedCost($estimatedCost) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -999,6 +1003,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1028,7 +1033,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1166,7 +1170,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1980,6 +1984,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1995,9 +2013,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2166,7 +2183,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/HowToDirection.php b/src/HowToDirection.php index f1f1b9989..3ac067b6b 100644 --- a/src/HowToDirection.php +++ b/src/HowToDirection.php @@ -203,10 +203,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -616,6 +620,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -960,7 +965,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1031,6 +1035,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1060,7 +1065,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1198,7 +1202,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2025,6 +2029,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2040,9 +2058,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2211,7 +2228,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/HowToItem.php b/src/HowToItem.php index 9aceac799..494786ef5 100644 --- a/src/HowToItem.php +++ b/src/HowToItem.php @@ -19,10 +19,14 @@ class HowToItem extends BaseType implements HowToItemContract, IntangibleContrac /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/HowToSection.php b/src/HowToSection.php index 00b1903d9..f35c04836 100644 --- a/src/HowToSection.php +++ b/src/HowToSection.php @@ -204,10 +204,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -587,6 +591,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -916,7 +921,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -987,6 +991,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1016,7 +1021,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1154,7 +1158,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2004,6 +2008,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2019,9 +2037,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2159,7 +2176,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/HowToStep.php b/src/HowToStep.php index 0ba6bcc27..dd9083c0c 100644 --- a/src/HowToStep.php +++ b/src/HowToStep.php @@ -204,10 +204,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -587,6 +591,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -916,7 +921,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -987,6 +991,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1016,7 +1021,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1154,7 +1158,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1989,6 +1993,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2004,9 +2022,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2144,7 +2161,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/HowToSupply.php b/src/HowToSupply.php index 3b9b8a6da..0e08a83e2 100644 --- a/src/HowToSupply.php +++ b/src/HowToSupply.php @@ -20,10 +20,14 @@ class HowToSupply extends BaseType implements HowToSupplyContract, HowToItemCont /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/HowToTip.php b/src/HowToTip.php index 2b56b89dd..bd5dce8f2 100644 --- a/src/HowToTip.php +++ b/src/HowToTip.php @@ -205,10 +205,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -588,6 +592,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -917,7 +922,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -988,6 +992,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1017,7 +1022,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1155,7 +1159,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1935,6 +1939,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1950,9 +1968,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2090,7 +2107,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/HowToTool.php b/src/HowToTool.php index 574dc8722..a4ef525ce 100644 --- a/src/HowToTool.php +++ b/src/HowToTool.php @@ -20,10 +20,14 @@ class HowToTool extends BaseType implements HowToToolContract, HowToItemContract /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/HyperToc.php b/src/HyperToc.php index a85cd5bea..becfe7b27 100644 --- a/src/HyperToc.php +++ b/src/HyperToc.php @@ -207,10 +207,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -590,6 +594,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -919,7 +924,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -990,6 +994,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1019,7 +1024,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1157,7 +1161,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1894,6 +1898,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1909,9 +1927,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2065,7 +2082,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/HyperTocEntry.php b/src/HyperTocEntry.php index 6dc4e4571..7f203844e 100644 --- a/src/HyperTocEntry.php +++ b/src/HyperTocEntry.php @@ -210,10 +210,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -593,6 +597,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -922,7 +927,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -993,6 +997,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1022,7 +1027,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1160,7 +1164,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1897,6 +1901,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1912,9 +1930,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2087,7 +2104,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/IceCreamShop.php b/src/IceCreamShop.php index d2c1abeda..322258030 100644 --- a/src/IceCreamShop.php +++ b/src/IceCreamShop.php @@ -45,6 +45,7 @@ public function acceptsReservations($acceptsReservations) * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -76,10 +77,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -160,7 +165,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -341,6 +345,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -443,6 +448,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -461,6 +467,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -476,7 +483,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -670,6 +676,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -873,7 +880,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -984,7 +990,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1081,7 +1086,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1137,6 +1141,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1155,6 +1160,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1184,7 +1190,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1229,7 +1234,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1275,7 +1279,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1392,7 +1395,6 @@ public function menu($menu) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1479,7 +1481,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1500,6 +1501,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1514,7 +1516,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1699,7 +1700,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1757,7 +1757,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1808,7 +1807,6 @@ public function sponsor($sponsor) * @return static * * @see https://schema.org/starRating - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function starRating($starRating) { @@ -1855,7 +1853,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1905,6 +1902,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1933,7 +1931,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/IgnoreAction.php b/src/IgnoreAction.php index 6693c8739..9a1484897 100644 --- a/src/IgnoreAction.php +++ b/src/IgnoreAction.php @@ -32,10 +32,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/ImageGallery.php b/src/ImageGallery.php index 8f72d86bc..979516b0d 100644 --- a/src/ImageGallery.php +++ b/src/ImageGallery.php @@ -203,10 +203,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -601,6 +605,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -930,7 +935,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1001,6 +1005,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1030,7 +1035,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1168,7 +1172,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2061,6 +2065,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2076,9 +2094,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2216,7 +2233,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/ImageObject.php b/src/ImageObject.php index dde75cc68..bd4eda99e 100644 --- a/src/ImageObject.php +++ b/src/ImageObject.php @@ -201,10 +201,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -657,6 +661,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -1072,7 +1077,6 @@ public function endTime($endTime) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1157,6 +1161,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1186,7 +1191,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1359,7 +1363,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2244,9 +2248,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2412,7 +2415,6 @@ public function width($width) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/ImageObjectSnapshot.php b/src/ImageObjectSnapshot.php index 99eb06c98..3e3e24769 100644 --- a/src/ImageObjectSnapshot.php +++ b/src/ImageObjectSnapshot.php @@ -209,10 +209,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -665,6 +669,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -1080,7 +1085,6 @@ public function endTime($endTime) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1165,6 +1169,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1194,7 +1199,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1367,7 +1371,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2252,9 +2256,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2420,7 +2423,6 @@ public function width($width) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/ImagingTest.php b/src/ImagingTest.php index 6dee685b1..b70046f46 100644 --- a/src/ImagingTest.php +++ b/src/ImagingTest.php @@ -19,10 +19,14 @@ class ImagingTest extends BaseType implements ImagingTestContract, MedicalEntity /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -121,6 +125,7 @@ public function disambiguatingDescription($disambiguatingDescription) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/IndividualProduct.php b/src/IndividualProduct.php index ffd109f9f..4c8316e98 100644 --- a/src/IndividualProduct.php +++ b/src/IndividualProduct.php @@ -11,7 +11,6 @@ * serial number). * * @see https://schema.org/IndividualProduct - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsClass * */ class IndividualProduct extends BaseType implements IndividualProductContract, ProductContract, ThingContract @@ -41,10 +40,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -192,7 +195,6 @@ public function category($category) * @return static * * @see https://schema.org/color - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function color($color) { @@ -265,7 +267,6 @@ public function countryOfOrigin($countryOfOrigin) * @return static * * @see https://schema.org/depth - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function depth($depth) { @@ -313,6 +314,7 @@ public function disambiguatingDescription($disambiguatingDescription) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -392,7 +394,6 @@ public function gtin12($gtin12) * @return static * * @see https://schema.org/gtin13 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function gtin13($gtin13) { @@ -410,7 +411,6 @@ public function gtin13($gtin13) * @return static * * @see https://schema.org/gtin14 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function gtin14($gtin14) { @@ -428,7 +428,6 @@ public function gtin14($gtin14) * @return static * * @see https://schema.org/gtin8 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function gtin8($gtin8) { @@ -594,7 +593,6 @@ public function inProductGroupWithID($inProductGroupWithID) * @return static * * @see https://schema.org/isAccessoryOrSparePartFor - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isAccessoryOrSparePartFor($isAccessoryOrSparePartFor) { @@ -610,7 +608,6 @@ public function isAccessoryOrSparePartFor($isAccessoryOrSparePartFor) * @return static * * @see https://schema.org/isConsumableFor - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isConsumableFor($isConsumableFor) { @@ -639,7 +636,6 @@ public function isFamilyFriendly($isFamilyFriendly) * @return static * * @see https://schema.org/isRelatedTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isRelatedTo($isRelatedTo) { @@ -655,7 +651,6 @@ public function isRelatedTo($isRelatedTo) * @return static * * @see https://schema.org/isSimilarTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isSimilarTo($isSimilarTo) { @@ -680,7 +675,6 @@ public function isSimilarTo($isSimilarTo) * @return static * * @see https://schema.org/isVariantOf - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isVariantOf($isVariantOf) { @@ -728,7 +722,6 @@ public function keywords($keywords) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -839,7 +832,6 @@ public function model($model) * @return static * * @see https://schema.org/mpn - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function mpn($mpn) { @@ -1009,7 +1001,6 @@ public function productID($productID) * @return static * * @see https://schema.org/productionDate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function productionDate($productionDate) { @@ -1024,7 +1015,6 @@ public function productionDate($productionDate) * @return static * * @see https://schema.org/purchaseDate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function purchaseDate($purchaseDate) { @@ -1040,7 +1030,6 @@ public function purchaseDate($purchaseDate) * @return static * * @see https://schema.org/releaseDate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function releaseDate($releaseDate) { @@ -1101,7 +1090,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/serialNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function serialNumber($serialNumber) { @@ -1137,7 +1125,6 @@ public function size($size) * @return static * * @see https://schema.org/sku - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function sku($sku) { @@ -1195,7 +1182,6 @@ public function url($url) * @return static * * @see https://schema.org/weight - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function weight($weight) { diff --git a/src/InfectiousAgentClass.php b/src/InfectiousAgentClass.php index eb1090a0e..c8402866f 100644 --- a/src/InfectiousAgentClass.php +++ b/src/InfectiousAgentClass.php @@ -70,10 +70,14 @@ class InfectiousAgentClass extends BaseType implements InfectiousAgentClassContr /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/InfectiousDisease.php b/src/InfectiousDisease.php index 9b0f5ed79..6f2ef6cbf 100644 --- a/src/InfectiousDisease.php +++ b/src/InfectiousDisease.php @@ -23,10 +23,14 @@ class InfectiousDisease extends BaseType implements InfectiousDiseaseContract, M /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -193,6 +197,7 @@ public function expectedPrognosis($expectedPrognosis) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/InformAction.php b/src/InformAction.php index b0ea6e6c2..fc4248803 100644 --- a/src/InformAction.php +++ b/src/InformAction.php @@ -49,10 +49,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/InsertAction.php b/src/InsertAction.php index 73918fb96..b48822e09 100644 --- a/src/InsertAction.php +++ b/src/InsertAction.php @@ -33,10 +33,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/InstallAction.php b/src/InstallAction.php index de3727183..60178794f 100644 --- a/src/InstallAction.php +++ b/src/InstallAction.php @@ -49,10 +49,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/InsuranceAgency.php b/src/InsuranceAgency.php index 99aaf2e5b..f2d74bb52 100644 --- a/src/InsuranceAgency.php +++ b/src/InsuranceAgency.php @@ -29,6 +29,7 @@ class InsuranceAgency extends BaseType implements InsuranceAgencyContract, Finan * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -582,7 +588,6 @@ public function faxNumber($faxNumber) * @return static * * @see https://schema.org/feesAndCommissionsSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#FIBO */ public function feesAndCommissionsSpecification($feesAndCommissionsSpecification) { @@ -670,6 +675,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -873,7 +879,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -969,7 +974,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1066,7 +1070,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1122,6 +1125,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1140,6 +1144,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1169,7 +1174,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1214,7 +1218,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1260,7 +1263,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1362,7 +1364,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1449,7 +1450,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1470,6 +1470,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1484,7 +1485,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1669,7 +1669,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1713,7 +1712,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1793,7 +1791,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1843,6 +1840,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1871,7 +1869,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/Intangible.php b/src/Intangible.php index 8bbd9cbb0..0d7abe74b 100644 --- a/src/Intangible.php +++ b/src/Intangible.php @@ -17,10 +17,14 @@ class Intangible extends BaseType implements IntangibleContract, ThingContract /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/InteractAction.php b/src/InteractAction.php index 555fc2c4b..9a58f304b 100644 --- a/src/InteractAction.php +++ b/src/InteractAction.php @@ -31,10 +31,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/InteractionCounter.php b/src/InteractionCounter.php index af0bf755d..69798c638 100644 --- a/src/InteractionCounter.php +++ b/src/InteractionCounter.php @@ -19,10 +19,14 @@ class InteractionCounter extends BaseType implements InteractionCounterContract, /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/InternetCafe.php b/src/InternetCafe.php index f6881691a..2c5f3f73f 100644 --- a/src/InternetCafe.php +++ b/src/InternetCafe.php @@ -28,6 +28,7 @@ class InternetCafe extends BaseType implements InternetCafeContract, LocalBusine * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -59,10 +60,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -143,7 +148,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -324,6 +328,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -426,6 +431,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -444,6 +450,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -459,7 +466,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -653,6 +659,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -856,7 +863,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -952,7 +958,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1049,7 +1054,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1105,6 +1109,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1123,6 +1128,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1152,7 +1158,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1197,7 +1202,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1243,7 +1247,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1345,7 +1348,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1432,7 +1434,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1453,6 +1454,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1467,7 +1469,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1652,7 +1653,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1696,7 +1696,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1776,7 +1775,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1826,6 +1824,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1854,7 +1853,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/InvestmentFund.php b/src/InvestmentFund.php index 6b633891c..d28433774 100644 --- a/src/InvestmentFund.php +++ b/src/InvestmentFund.php @@ -15,6 +15,7 @@ * * @see https://schema.org/InvestmentFund * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1253 * */ class InvestmentFund extends BaseType implements InvestmentFundContract, FinancialProductContract, IntangibleContract, InvestmentOrDepositContract, ServiceContract, ThingContract @@ -22,10 +23,14 @@ class InvestmentFund extends BaseType implements InvestmentFundContract, Financi /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -92,7 +97,6 @@ public function amount($amount) * @return static * * @see https://schema.org/annualPercentageRate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#FIBO */ public function annualPercentageRate($annualPercentageRate) { @@ -243,7 +247,6 @@ public function disambiguatingDescription($disambiguatingDescription) * @return static * * @see https://schema.org/feesAndCommissionsSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#FIBO */ public function feesAndCommissionsSpecification($feesAndCommissionsSpecification) { @@ -321,7 +324,6 @@ public function image($image) * @return static * * @see https://schema.org/interestRate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#FIBO */ public function interestRate($interestRate) { @@ -336,7 +338,6 @@ public function interestRate($interestRate) * @return static * * @see https://schema.org/isRelatedTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isRelatedTo($isRelatedTo) { @@ -352,7 +353,6 @@ public function isRelatedTo($isRelatedTo) * @return static * * @see https://schema.org/isSimilarTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isSimilarTo($isSimilarTo) { @@ -367,7 +367,6 @@ public function isSimilarTo($isSimilarTo) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { diff --git a/src/InvestmentOrDeposit.php b/src/InvestmentOrDeposit.php index 34ecdcb6d..7f1029eac 100644 --- a/src/InvestmentOrDeposit.php +++ b/src/InvestmentOrDeposit.php @@ -14,7 +14,6 @@ * return. * * @see https://schema.org/InvestmentOrDeposit - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#FIBO * */ class InvestmentOrDeposit extends BaseType implements InvestmentOrDepositContract, FinancialProductContract, IntangibleContract, ServiceContract, ThingContract @@ -22,10 +21,14 @@ class InvestmentOrDeposit extends BaseType implements InvestmentOrDepositContrac /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -92,7 +95,6 @@ public function amount($amount) * @return static * * @see https://schema.org/annualPercentageRate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#FIBO */ public function annualPercentageRate($annualPercentageRate) { @@ -243,7 +245,6 @@ public function disambiguatingDescription($disambiguatingDescription) * @return static * * @see https://schema.org/feesAndCommissionsSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#FIBO */ public function feesAndCommissionsSpecification($feesAndCommissionsSpecification) { @@ -321,7 +322,6 @@ public function image($image) * @return static * * @see https://schema.org/interestRate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#FIBO */ public function interestRate($interestRate) { @@ -336,7 +336,6 @@ public function interestRate($interestRate) * @return static * * @see https://schema.org/isRelatedTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isRelatedTo($isRelatedTo) { @@ -352,7 +351,6 @@ public function isRelatedTo($isRelatedTo) * @return static * * @see https://schema.org/isSimilarTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isSimilarTo($isSimilarTo) { @@ -367,7 +365,6 @@ public function isSimilarTo($isSimilarTo) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { diff --git a/src/InviteAction.php b/src/InviteAction.php index 8527a2201..ad6c53472 100644 --- a/src/InviteAction.php +++ b/src/InviteAction.php @@ -48,10 +48,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/Invoice.php b/src/Invoice.php index 524e343b4..8e8987d17 100644 --- a/src/Invoice.php +++ b/src/Invoice.php @@ -31,10 +31,14 @@ public function accountId($accountId) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/ItemAvailability.php b/src/ItemAvailability.php index 015c21988..3a27fbcd7 100644 --- a/src/ItemAvailability.php +++ b/src/ItemAvailability.php @@ -90,10 +90,14 @@ class ItemAvailability extends BaseType implements ItemAvailabilityContract, Enu /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/ItemList.php b/src/ItemList.php index 7355c5920..29a381dd4 100644 --- a/src/ItemList.php +++ b/src/ItemList.php @@ -19,10 +19,14 @@ class ItemList extends BaseType implements ItemListContract, IntangibleContract, /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/ItemListOrderType.php b/src/ItemListOrderType.php index 4add85f98..b9746a77a 100644 --- a/src/ItemListOrderType.php +++ b/src/ItemListOrderType.php @@ -41,10 +41,14 @@ class ItemListOrderType extends BaseType implements ItemListOrderTypeContract, E /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/ItemPage.php b/src/ItemPage.php index f2e06afe1..1e45cb40b 100644 --- a/src/ItemPage.php +++ b/src/ItemPage.php @@ -201,10 +201,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -599,6 +603,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -928,7 +933,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -999,6 +1003,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1028,7 +1033,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1166,7 +1170,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2059,6 +2063,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2074,9 +2092,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2214,7 +2231,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/JewelryStore.php b/src/JewelryStore.php index 17644cb82..ce3a5655f 100644 --- a/src/JewelryStore.php +++ b/src/JewelryStore.php @@ -29,6 +29,7 @@ class JewelryStore extends BaseType implements JewelryStoreContract, LocalBusine * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/JobPosting.php b/src/JobPosting.php index 7136849f0..721c3925b 100644 --- a/src/JobPosting.php +++ b/src/JobPosting.php @@ -17,10 +17,14 @@ class JobPosting extends BaseType implements JobPostingContract, IntangibleContr /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -784,7 +788,6 @@ public function url($url) * @return static * * @see https://schema.org/validThrough - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function validThrough($validThrough) { diff --git a/src/JoinAction.php b/src/JoinAction.php index 40535be42..598e60057 100644 --- a/src/JoinAction.php +++ b/src/JoinAction.php @@ -41,10 +41,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/Joint.php b/src/Joint.php index e1dbbf547..8ac784610 100644 --- a/src/Joint.php +++ b/src/Joint.php @@ -19,10 +19,14 @@ class Joint extends BaseType implements JointContract, AnatomicalStructureContra /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -199,6 +203,7 @@ public function functionalClass($functionalClass) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/LakeBodyOfWater.php b/src/LakeBodyOfWater.php index 4f5f75a6b..00155f393 100644 --- a/src/LakeBodyOfWater.php +++ b/src/LakeBodyOfWater.php @@ -41,10 +41,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -111,7 +115,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -452,7 +455,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -550,7 +552,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -596,7 +597,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -698,7 +698,6 @@ public function name($name) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -830,7 +829,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/Landform.php b/src/Landform.php index 9cd70088b..439272a09 100644 --- a/src/Landform.php +++ b/src/Landform.php @@ -42,10 +42,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -112,7 +116,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -453,7 +456,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -551,7 +553,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -597,7 +598,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -699,7 +699,6 @@ public function name($name) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -831,7 +830,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/LandmarksOrHistoricalBuildings.php b/src/LandmarksOrHistoricalBuildings.php index 2cf8ae3da..77849106a 100644 --- a/src/LandmarksOrHistoricalBuildings.php +++ b/src/LandmarksOrHistoricalBuildings.php @@ -39,10 +39,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -109,7 +113,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -450,7 +453,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -548,7 +550,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -594,7 +595,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -696,7 +696,6 @@ public function name($name) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -828,7 +827,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/Language.php b/src/Language.php index bc0110d36..1269d7ce2 100644 --- a/src/Language.php +++ b/src/Language.php @@ -22,10 +22,14 @@ class Language extends BaseType implements LanguageContract, IntangibleContract, /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/LearningResource.php b/src/LearningResource.php index 2014e00c2..cc88da65f 100644 --- a/src/LearningResource.php +++ b/src/LearningResource.php @@ -211,10 +211,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -612,6 +616,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -941,7 +946,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1012,6 +1016,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1041,7 +1046,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1179,7 +1183,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1916,6 +1920,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1931,9 +1949,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2071,7 +2088,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/LeaveAction.php b/src/LeaveAction.php index 1c0dc6ae9..e027fee6a 100644 --- a/src/LeaveAction.php +++ b/src/LeaveAction.php @@ -38,10 +38,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/LegalForceStatus.php b/src/LegalForceStatus.php index f52b8246b..f26d47c15 100644 --- a/src/LegalForceStatus.php +++ b/src/LegalForceStatus.php @@ -13,6 +13,7 @@ * * @see https://schema.org/LegalForceStatus * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1156 * * @method static supersededBy($supersededBy) The value should be instance of pending types Class|Class[]|Enumeration|Enumeration[]|Property|Property[] */ @@ -23,6 +24,7 @@ class LegalForceStatus extends BaseType implements LegalForceStatusContract, Enu * * @see https://schema.org/InForce * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1156 */ public const InForce = 'https://schema.org/InForce'; @@ -31,6 +33,7 @@ class LegalForceStatus extends BaseType implements LegalForceStatusContract, Enu * * @see https://schema.org/NotInForce * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1156 */ public const NotInForce = 'https://schema.org/NotInForce'; @@ -39,16 +42,21 @@ class LegalForceStatus extends BaseType implements LegalForceStatusContract, Enu * * @see https://schema.org/PartiallyInForce * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1156 */ public const PartiallyInForce = 'https://schema.org/PartiallyInForce'; /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/LegalService.php b/src/LegalService.php index 0de838460..f9de08c09 100644 --- a/src/LegalService.php +++ b/src/LegalService.php @@ -32,6 +32,7 @@ class LegalService extends BaseType implements LegalServiceContract, LocalBusine * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -63,10 +64,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -147,7 +152,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -328,6 +332,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -430,6 +435,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -448,6 +454,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -463,7 +470,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -657,6 +663,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -860,7 +867,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -956,7 +962,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1053,7 +1058,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1109,6 +1113,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1127,6 +1132,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1156,7 +1162,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1201,7 +1206,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1247,7 +1251,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1349,7 +1352,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1436,7 +1438,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1457,6 +1458,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1471,7 +1473,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1656,7 +1657,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1700,7 +1700,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1780,7 +1779,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1830,6 +1828,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1858,7 +1857,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/LegalValueLevel.php b/src/LegalValueLevel.php index ce9f5514b..dcfe7b996 100644 --- a/src/LegalValueLevel.php +++ b/src/LegalValueLevel.php @@ -12,6 +12,7 @@ * * @see https://schema.org/LegalValueLevel * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1156 * * @method static supersededBy($supersededBy) The value should be instance of pending types Class|Class[]|Enumeration|Enumeration[]|Property|Property[] */ @@ -26,6 +27,7 @@ class LegalValueLevel extends BaseType implements LegalValueLevelContract, Enume * * @see https://schema.org/AuthoritativeLegalValue * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1156 */ public const AuthoritativeLegalValue = 'https://schema.org/AuthoritativeLegalValue'; @@ -38,6 +40,7 @@ class LegalValueLevel extends BaseType implements LegalValueLevelContract, Enume * * @see https://schema.org/DefinitiveLegalValue * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1156 */ public const DefinitiveLegalValue = 'https://schema.org/DefinitiveLegalValue'; @@ -50,6 +53,7 @@ class LegalValueLevel extends BaseType implements LegalValueLevelContract, Enume * * @see https://schema.org/OfficialLegalValue * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1156 */ public const OfficialLegalValue = 'https://schema.org/OfficialLegalValue'; @@ -59,16 +63,21 @@ class LegalValueLevel extends BaseType implements LegalValueLevelContract, Enume * * @see https://schema.org/UnofficialLegalValue * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1156 */ public const UnofficialLegalValue = 'https://schema.org/UnofficialLegalValue'; /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/Legislation.php b/src/Legislation.php index 41d09c318..e85de1ca2 100644 --- a/src/Legislation.php +++ b/src/Legislation.php @@ -12,6 +12,7 @@ * * @see https://schema.org/Legislation * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1156 * */ class Legislation extends BaseType implements LegislationContract, CreativeWorkContract, ThingContract @@ -202,10 +203,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -585,6 +590,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -914,7 +920,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -985,6 +990,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1014,7 +1020,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1152,7 +1157,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1273,6 +1278,7 @@ public function learningResourceType($learningResourceType) * * @see https://schema.org/legislationApplies * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1156 */ public function legislationApplies($legislationApplies) { @@ -1295,6 +1301,7 @@ public function legislationApplies($legislationApplies) * * @see https://schema.org/legislationChanges * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1156 */ public function legislationChanges($legislationChanges) { @@ -1314,6 +1321,7 @@ public function legislationChanges($legislationChanges) * * @see https://schema.org/legislationConsolidates * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1156 */ public function legislationConsolidates($legislationConsolidates) { @@ -1331,6 +1339,7 @@ public function legislationConsolidates($legislationConsolidates) * * @see https://schema.org/legislationDate * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1156 */ public function legislationDate($legislationDate) { @@ -1349,6 +1358,7 @@ public function legislationDate($legislationDate) * * @see https://schema.org/legislationDateVersion * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1156 */ public function legislationDateVersion($legislationDateVersion) { @@ -1367,6 +1377,7 @@ public function legislationDateVersion($legislationDateVersion) * * @see https://schema.org/legislationIdentifier * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1156 */ public function legislationIdentifier($legislationIdentifier) { @@ -1382,6 +1393,7 @@ public function legislationIdentifier($legislationIdentifier) * * @see https://schema.org/legislationJurisdiction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1156 */ public function legislationJurisdiction($legislationJurisdiction) { @@ -1398,6 +1410,7 @@ public function legislationJurisdiction($legislationJurisdiction) * * @see https://schema.org/legislationLegalForce * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1156 */ public function legislationLegalForce($legislationLegalForce) { @@ -1416,6 +1429,7 @@ public function legislationLegalForce($legislationLegalForce) * * @see https://schema.org/legislationPassedBy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1156 */ public function legislationPassedBy($legislationPassedBy) { @@ -1434,6 +1448,7 @@ public function legislationPassedBy($legislationPassedBy) * * @see https://schema.org/legislationResponsible * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1156 */ public function legislationResponsible($legislationResponsible) { @@ -1453,6 +1468,7 @@ public function legislationResponsible($legislationResponsible) * * @see https://schema.org/legislationTransposes * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1156 */ public function legislationTransposes($legislationTransposes) { @@ -1470,6 +1486,7 @@ public function legislationTransposes($legislationTransposes) * * @see https://schema.org/legislationType * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1156 */ public function legislationType($legislationType) { @@ -2124,6 +2141,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2139,9 +2170,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2279,7 +2309,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/LegislationObject.php b/src/LegislationObject.php index bffd79e15..6b6ed1c61 100644 --- a/src/LegislationObject.php +++ b/src/LegislationObject.php @@ -15,6 +15,7 @@ * * @see https://schema.org/LegislationObject * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1156 * */ class LegislationObject extends BaseType implements LegislationObjectContract, CreativeWorkContract, LegislationContract, MediaObjectContract, ThingContract @@ -205,10 +206,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -645,6 +650,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -1043,7 +1049,6 @@ public function endTime($endTime) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1114,6 +1119,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1143,7 +1149,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1316,7 +1321,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1437,6 +1442,7 @@ public function learningResourceType($learningResourceType) * * @see https://schema.org/legislationApplies * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1156 */ public function legislationApplies($legislationApplies) { @@ -1459,6 +1465,7 @@ public function legislationApplies($legislationApplies) * * @see https://schema.org/legislationChanges * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1156 */ public function legislationChanges($legislationChanges) { @@ -1478,6 +1485,7 @@ public function legislationChanges($legislationChanges) * * @see https://schema.org/legislationConsolidates * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1156 */ public function legislationConsolidates($legislationConsolidates) { @@ -1495,6 +1503,7 @@ public function legislationConsolidates($legislationConsolidates) * * @see https://schema.org/legislationDate * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1156 */ public function legislationDate($legislationDate) { @@ -1513,6 +1522,7 @@ public function legislationDate($legislationDate) * * @see https://schema.org/legislationDateVersion * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1156 */ public function legislationDateVersion($legislationDateVersion) { @@ -1531,6 +1541,7 @@ public function legislationDateVersion($legislationDateVersion) * * @see https://schema.org/legislationIdentifier * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1156 */ public function legislationIdentifier($legislationIdentifier) { @@ -1546,6 +1557,7 @@ public function legislationIdentifier($legislationIdentifier) * * @see https://schema.org/legislationJurisdiction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1156 */ public function legislationJurisdiction($legislationJurisdiction) { @@ -1562,6 +1574,7 @@ public function legislationJurisdiction($legislationJurisdiction) * * @see https://schema.org/legislationLegalForce * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1156 */ public function legislationLegalForce($legislationLegalForce) { @@ -1580,6 +1593,7 @@ public function legislationLegalForce($legislationLegalForce) * * @see https://schema.org/legislationLegalValue * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1156 */ public function legislationLegalValue($legislationLegalValue) { @@ -1598,6 +1612,7 @@ public function legislationLegalValue($legislationLegalValue) * * @see https://schema.org/legislationPassedBy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1156 */ public function legislationPassedBy($legislationPassedBy) { @@ -1616,6 +1631,7 @@ public function legislationPassedBy($legislationPassedBy) * * @see https://schema.org/legislationResponsible * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1156 */ public function legislationResponsible($legislationResponsible) { @@ -1635,6 +1651,7 @@ public function legislationResponsible($legislationResponsible) * * @see https://schema.org/legislationTransposes * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1156 */ public function legislationTransposes($legislationTransposes) { @@ -1652,6 +1669,7 @@ public function legislationTransposes($legislationTransposes) * * @see https://schema.org/legislationType * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1156 */ public function legislationType($legislationType) { @@ -2410,6 +2428,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2425,9 +2457,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2593,7 +2624,6 @@ public function width($width) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/LegislativeBuilding.php b/src/LegislativeBuilding.php index 5b3624415..b052d9fec 100644 --- a/src/LegislativeBuilding.php +++ b/src/LegislativeBuilding.php @@ -41,10 +41,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -111,7 +115,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -452,7 +455,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -550,7 +552,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -596,7 +597,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -725,7 +725,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -857,7 +856,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/LendAction.php b/src/LendAction.php index 087dfe9c7..412b9be5f 100644 --- a/src/LendAction.php +++ b/src/LendAction.php @@ -37,10 +37,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/Library.php b/src/Library.php index 175463fe7..a274d2508 100644 --- a/src/Library.php +++ b/src/Library.php @@ -28,6 +28,7 @@ class Library extends BaseType implements LibraryContract, LocalBusinessContract * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -59,10 +60,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -143,7 +148,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -324,6 +328,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -426,6 +431,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -444,6 +450,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -459,7 +466,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -653,6 +659,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -856,7 +863,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -952,7 +958,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1049,7 +1054,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1105,6 +1109,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1123,6 +1128,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1152,7 +1158,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1197,7 +1202,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1243,7 +1247,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1345,7 +1348,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1432,7 +1434,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1453,6 +1454,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1467,7 +1469,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1652,7 +1653,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1696,7 +1696,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1776,7 +1775,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1826,6 +1824,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1854,7 +1853,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/LibrarySystem.php b/src/LibrarySystem.php index e5cdd6485..24a82b354 100644 --- a/src/LibrarySystem.php +++ b/src/LibrarySystem.php @@ -28,6 +28,7 @@ class LibrarySystem extends BaseType implements LibrarySystemContract, Organizat * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -37,10 +38,14 @@ public function actionableFeedbackPolicy($actionableFeedbackPolicy) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -206,6 +211,7 @@ public function contactPoints($contactPoints) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -286,6 +292,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -304,6 +311,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -319,7 +327,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -513,6 +520,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -530,7 +538,6 @@ public function funding($funding) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -592,7 +599,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -675,7 +681,6 @@ public function interactionStatistic($interactionStatistic) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -731,6 +736,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -749,6 +755,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -763,7 +770,6 @@ public function knowsLanguage($knowsLanguage) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -808,7 +814,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -839,7 +844,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -899,7 +903,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -965,6 +968,7 @@ public function numberOfEmployees($numberOfEmployees) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -979,7 +983,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1093,7 +1096,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1184,7 +1186,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1216,6 +1217,7 @@ public function telephone($telephone) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1244,7 +1246,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/LifestyleModification.php b/src/LifestyleModification.php index c223de6df..1217898b8 100644 --- a/src/LifestyleModification.php +++ b/src/LifestyleModification.php @@ -19,10 +19,14 @@ class LifestyleModification extends BaseType implements LifestyleModificationCon /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -106,6 +110,7 @@ public function disambiguatingDescription($disambiguatingDescription) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/Ligament.php b/src/Ligament.php index b3ada34e8..1be285ac9 100644 --- a/src/Ligament.php +++ b/src/Ligament.php @@ -20,10 +20,14 @@ class Ligament extends BaseType implements LigamentContract, AnatomicalStructure /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -170,6 +174,7 @@ public function disambiguatingDescription($disambiguatingDescription) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/LikeAction.php b/src/LikeAction.php index 08ce61b18..16607d218 100644 --- a/src/LikeAction.php +++ b/src/LikeAction.php @@ -34,10 +34,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/LinkRole.php b/src/LinkRole.php index a63dcf4b3..36eb6dc48 100644 --- a/src/LinkRole.php +++ b/src/LinkRole.php @@ -24,10 +24,14 @@ class LinkRole extends BaseType implements LinkRoleContract, IntangibleContract, /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/LiquorStore.php b/src/LiquorStore.php index cc592bd9a..d92645024 100644 --- a/src/LiquorStore.php +++ b/src/LiquorStore.php @@ -30,6 +30,7 @@ class LiquorStore extends BaseType implements LiquorStoreContract, LocalBusiness * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -61,10 +62,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -145,7 +150,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -326,6 +330,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -428,6 +433,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -446,6 +452,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -461,7 +468,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -655,6 +661,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -858,7 +865,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -954,7 +960,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1051,7 +1056,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1107,6 +1111,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1125,6 +1130,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1154,7 +1160,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1199,7 +1204,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1245,7 +1249,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1347,7 +1350,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1434,7 +1436,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1455,6 +1456,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1469,7 +1471,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1654,7 +1655,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1698,7 +1698,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1778,7 +1777,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1828,6 +1826,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1856,7 +1855,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/ListItem.php b/src/ListItem.php index 62fab28f7..3e5b7bcca 100644 --- a/src/ListItem.php +++ b/src/ListItem.php @@ -17,10 +17,14 @@ class ListItem extends BaseType implements ListItemContract, IntangibleContract, /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/ListenAction.php b/src/ListenAction.php index 221b6bd6f..af53e3ca8 100644 --- a/src/ListenAction.php +++ b/src/ListenAction.php @@ -49,10 +49,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/LiteraryEvent.php b/src/LiteraryEvent.php index cde645b3c..d5724c246 100644 --- a/src/LiteraryEvent.php +++ b/src/LiteraryEvent.php @@ -48,10 +48,14 @@ public function actor($actor) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +148,6 @@ public function audience($audience) * @return static * * @see https://schema.org/composer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public function composer($composer) { @@ -344,6 +347,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/LiveBlogPosting.php b/src/LiveBlogPosting.php index 0a9f2a4bb..9444b3249 100644 --- a/src/LiveBlogPosting.php +++ b/src/LiveBlogPosting.php @@ -204,10 +204,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -430,6 +434,7 @@ public function awards($awards) * * @see https://schema.org/backstory * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function backstory($backstory) { @@ -635,6 +640,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -995,7 +1001,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1066,6 +1071,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1095,7 +1101,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1233,7 +1238,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1516,7 +1521,6 @@ public function offers($offers) * @return static * * @see https://schema.org/pageEnd - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pageEnd($pageEnd) { @@ -1531,7 +1535,6 @@ public function pageEnd($pageEnd) * @return static * * @see https://schema.org/pageStart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pageStart($pageStart) { @@ -1547,7 +1550,6 @@ public function pageStart($pageStart) * @return static * * @see https://schema.org/pagination - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pagination($pagination) { @@ -2085,6 +2087,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2100,9 +2116,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2254,7 +2269,6 @@ public function wordCount($wordCount) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/LoanOrCredit.php b/src/LoanOrCredit.php index 327f5abbb..b113a693e 100644 --- a/src/LoanOrCredit.php +++ b/src/LoanOrCredit.php @@ -13,7 +13,6 @@ * under agreed terms and charges. * * @see https://schema.org/LoanOrCredit - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#FIBO * */ class LoanOrCredit extends BaseType implements LoanOrCreditContract, FinancialProductContract, IntangibleContract, ServiceContract, ThingContract @@ -21,10 +20,14 @@ class LoanOrCredit extends BaseType implements LoanOrCreditContract, FinancialPr /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -91,7 +94,6 @@ public function amount($amount) * @return static * * @see https://schema.org/annualPercentageRate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#FIBO */ public function annualPercentageRate($annualPercentageRate) { @@ -265,7 +267,6 @@ public function disambiguatingDescription($disambiguatingDescription) * @return static * * @see https://schema.org/feesAndCommissionsSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#FIBO */ public function feesAndCommissionsSpecification($feesAndCommissionsSpecification) { @@ -282,6 +283,7 @@ public function feesAndCommissionsSpecification($feesAndCommissionsSpecification * * @see https://schema.org/gracePeriod * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1253 */ public function gracePeriod($gracePeriod) { @@ -359,7 +361,6 @@ public function image($image) * @return static * * @see https://schema.org/interestRate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#FIBO */ public function interestRate($interestRate) { @@ -374,7 +375,6 @@ public function interestRate($interestRate) * @return static * * @see https://schema.org/isRelatedTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isRelatedTo($isRelatedTo) { @@ -390,7 +390,6 @@ public function isRelatedTo($isRelatedTo) * @return static * * @see https://schema.org/isSimilarTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isSimilarTo($isSimilarTo) { @@ -408,6 +407,7 @@ public function isSimilarTo($isSimilarTo) * * @see https://schema.org/loanRepaymentForm * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1253 */ public function loanRepaymentForm($loanRepaymentForm) { @@ -422,7 +422,6 @@ public function loanRepaymentForm($loanRepaymentForm) * @return static * * @see https://schema.org/loanTerm - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#FIBO */ public function loanTerm($loanTerm) { @@ -438,6 +437,7 @@ public function loanTerm($loanTerm) * * @see https://schema.org/loanType * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1253 */ public function loanType($loanType) { @@ -452,7 +452,6 @@ public function loanType($loanType) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -583,6 +582,7 @@ public function providerMobility($providerMobility) * * @see https://schema.org/recourseLoan * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1253 */ public function recourseLoan($recourseLoan) { @@ -599,6 +599,7 @@ public function recourseLoan($recourseLoan) * * @see https://schema.org/renegotiableLoan * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1253 */ public function renegotiableLoan($renegotiableLoan) { @@ -614,7 +615,6 @@ public function renegotiableLoan($renegotiableLoan) * @return static * * @see https://schema.org/requiredCollateral - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#FIBO */ public function requiredCollateral($requiredCollateral) { diff --git a/src/LocalBusiness.php b/src/LocalBusiness.php index 6e6a9d914..b70a07bec 100644 --- a/src/LocalBusiness.php +++ b/src/LocalBusiness.php @@ -29,6 +29,7 @@ class LocalBusiness extends BaseType implements LocalBusinessContract, Organizat * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/LocationFeatureSpecification.php b/src/LocationFeatureSpecification.php index 231ba686d..85a0615c5 100644 --- a/src/LocationFeatureSpecification.php +++ b/src/LocationFeatureSpecification.php @@ -14,7 +14,6 @@ * formality. * * @see https://schema.org/LocationFeatureSpecification - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology * */ class LocationFeatureSpecification extends BaseType implements LocationFeatureSpecificationContract, IntangibleContract, PropertyValueContract, StructuredValueContract, ThingContract @@ -22,10 +21,14 @@ class LocationFeatureSpecification extends BaseType implements LocationFeatureSp /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -154,7 +157,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/maxValue - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function maxValue($maxValue) { @@ -162,27 +164,53 @@ public function maxValue($maxValue) } /** - * A technique or technology used in a [[Dataset]] (or [[DataDownload]], - * [[DataCatalog]]), - * corresponding to the method used for measuring the corresponding - * variable(s) (described using [[variableMeasured]]). This is oriented + * A subproperty of [[measurementTechnique]] that can be used for specifying + * specific methods, in particular via [[MeasurementMethodEnum]]. + * + * @param \Spatie\SchemaOrg\Contracts\MeasurementMethodEnumContract|\Spatie\SchemaOrg\Contracts\MeasurementMethodEnumContract[]|string|string[] $measurementMethod + * + * @return static + * + * @see https://schema.org/measurementMethod + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1425 + */ + public function measurementMethod($measurementMethod) + { + return $this->setProperty('measurementMethod', $measurementMethod); + } + + /** + * A technique, method or technology used in an [[Observation]], + * [[StatisticalVariable]] or [[Dataset]] (or [[DataDownload]], + * [[DataCatalog]]), corresponding to the method used for measuring the + * corresponding variable(s) (for datasets, described using + * [[variableMeasured]]; for [[Observation]], a [[StatisticalVariable]]). + * Often but not necessarily each [[variableMeasured]] will have an explicit + * representation as (or mapping to) an property such as those defined in + * Schema.org, or other RDF vocabularies and "knowledge graphs". In that + * case the subproperty of [[variableMeasured]] called [[measuredProperty]] + * is applicable. + * + * The [[measurementTechnique]] property helps when extra clarification is + * needed about how a [[measuredProperty]] was measured. This is oriented * towards scientific and scholarly dataset publication but may have broader * applicability; it is not intended as a full representation of - * measurement, but rather as a high level summary for dataset discovery. + * measurement, but can often serve as a high level summary for dataset + * discovery. * * For example, if [[variableMeasured]] is: molecule concentration, * [[measurementTechnique]] could be: "mass spectrometry" or "nmr - * spectroscopy" or "colorimetry" or "immunofluorescence". - * - * If the [[variableMeasured]] is "depression rating", the - * [[measurementTechnique]] could be "Zung Scale" or "HAM-D" or "Beck - * Depression Inventory". + * spectroscopy" or "colorimetry" or "immunofluorescence". If the + * [[variableMeasured]] is "depression rating", the [[measurementTechnique]] + * could be "Zung Scale" or "HAM-D" or "Beck Depression Inventory". * * If there are several [[variableMeasured]] properties recorded for some * given data object, use a [[PropertyValue]] for each [[variableMeasured]] - * and attach the corresponding [[measurementTechnique]]. + * and attach the corresponding [[measurementTechnique]]. The value can also + * be from an enumeration, organized as a [[MeasurementMetholdEnumeration]]. * - * @param string|string[] $measurementTechnique + * @param \Spatie\SchemaOrg\Contracts\MeasurementMethodEnumContract|\Spatie\SchemaOrg\Contracts\MeasurementMethodEnumContract[]|string|string[] $measurementTechnique * * @return static * @@ -203,7 +231,6 @@ public function measurementTechnique($measurementTechnique) * @return static * * @see https://schema.org/minValue - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function minValue($minValue) { @@ -304,7 +331,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/unitCode - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function unitCode($unitCode) { @@ -349,7 +375,6 @@ public function url($url) * @return static * * @see https://schema.org/validFrom - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function validFrom($validFrom) { @@ -365,7 +390,6 @@ public function validFrom($validFrom) * @return static * * @see https://schema.org/validThrough - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function validThrough($validThrough) { @@ -373,7 +397,8 @@ public function validThrough($validThrough) } /** - * The value of the quantitative value or property value node. + * The value of a [[QuantitativeValue]] (including [[Observation]]) or + * property value node. * * * For [[QuantitativeValue]] and [[MonetaryAmount]], the recommended type * for values is 'Number'. @@ -389,7 +414,6 @@ public function validThrough($validThrough) * @return static * * @see https://schema.org/value - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function value($value) { @@ -405,7 +429,6 @@ public function value($value) * @return static * * @see https://schema.org/valueReference - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function valueReference($valueReference) { diff --git a/src/Locksmith.php b/src/Locksmith.php index 4ba1f4aae..42abde55d 100644 --- a/src/Locksmith.php +++ b/src/Locksmith.php @@ -29,6 +29,7 @@ class Locksmith extends BaseType implements LocksmithContract, HomeAndConstructi * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/LodgingBusiness.php b/src/LodgingBusiness.php index aec55a1f1..b23e2d3c4 100644 --- a/src/LodgingBusiness.php +++ b/src/LodgingBusiness.php @@ -28,6 +28,7 @@ class LodgingBusiness extends BaseType implements LodgingBusinessContract, Local * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -59,10 +60,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -143,7 +148,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -382,6 +386,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -484,6 +489,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -502,6 +508,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -517,7 +524,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -711,6 +717,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -914,7 +921,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -1010,7 +1016,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1107,7 +1112,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1163,6 +1167,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1181,6 +1186,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1210,7 +1216,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1255,7 +1260,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1301,7 +1305,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1403,7 +1406,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1466,7 +1468,6 @@ public function numberOfEmployees($numberOfEmployees) * @return static * * @see https://schema.org/numberOfRooms - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function numberOfRooms($numberOfRooms) { @@ -1508,7 +1509,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1529,6 +1529,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1543,7 +1544,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1588,7 +1588,6 @@ public function paymentAccepted($paymentAccepted) * @return static * * @see https://schema.org/petsAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function petsAllowed($petsAllowed) { @@ -1744,7 +1743,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1788,7 +1786,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1839,7 +1836,6 @@ public function sponsor($sponsor) * @return static * * @see https://schema.org/starRating - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function starRating($starRating) { @@ -1886,7 +1882,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1936,6 +1931,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1964,7 +1960,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/LodgingReservation.php b/src/LodgingReservation.php index 154365a53..8ac7695eb 100644 --- a/src/LodgingReservation.php +++ b/src/LodgingReservation.php @@ -22,10 +22,14 @@ class LodgingReservation extends BaseType implements LodgingReservationContract, /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/LoseAction.php b/src/LoseAction.php index 9c8ae2bd8..9de40d658 100644 --- a/src/LoseAction.php +++ b/src/LoseAction.php @@ -32,10 +32,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/LymphaticVessel.php b/src/LymphaticVessel.php index f49b36fec..889020e09 100644 --- a/src/LymphaticVessel.php +++ b/src/LymphaticVessel.php @@ -21,10 +21,14 @@ class LymphaticVessel extends BaseType implements LymphaticVesselContract, Anato /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -171,6 +175,7 @@ public function disambiguatingDescription($disambiguatingDescription) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/Manuscript.php b/src/Manuscript.php index dcefd4b5f..b2619b790 100644 --- a/src/Manuscript.php +++ b/src/Manuscript.php @@ -203,10 +203,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -586,6 +590,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -915,7 +920,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -986,6 +990,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1015,7 +1020,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1153,7 +1157,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1890,6 +1894,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1905,9 +1923,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2045,7 +2062,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/Map.php b/src/Map.php index 8608dd437..b7c010e5f 100644 --- a/src/Map.php +++ b/src/Map.php @@ -200,10 +200,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -583,6 +587,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -912,7 +917,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -983,6 +987,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1012,7 +1017,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1150,7 +1154,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1901,6 +1905,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1916,9 +1934,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2056,7 +2073,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/MapCategoryType.php b/src/MapCategoryType.php index 99d611f21..8911e86eb 100644 --- a/src/MapCategoryType.php +++ b/src/MapCategoryType.php @@ -47,10 +47,14 @@ class MapCategoryType extends BaseType implements MapCategoryTypeContract, Enume /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/MarryAction.php b/src/MarryAction.php index 82c6f1eeb..50204668b 100644 --- a/src/MarryAction.php +++ b/src/MarryAction.php @@ -32,10 +32,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/Mass.php b/src/Mass.php index 760e09e33..d98e30fa9 100644 --- a/src/Mass.php +++ b/src/Mass.php @@ -19,10 +19,14 @@ class Mass extends BaseType implements MassContract, IntangibleContract, Quantit /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/MathSolver.php b/src/MathSolver.php index 063699fb1..512553269 100644 --- a/src/MathSolver.php +++ b/src/MathSolver.php @@ -202,10 +202,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -585,6 +589,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -914,7 +919,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -985,6 +989,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1014,7 +1019,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1152,7 +1156,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1908,6 +1912,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1923,9 +1941,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2063,7 +2080,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/MaximumDoseSchedule.php b/src/MaximumDoseSchedule.php index 916841413..287f8322a 100644 --- a/src/MaximumDoseSchedule.php +++ b/src/MaximumDoseSchedule.php @@ -23,10 +23,14 @@ class MaximumDoseSchedule extends BaseType implements MaximumDoseScheduleContrac /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -155,6 +159,7 @@ public function frequency($frequency) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/MeasurementMethodEnum.php b/src/MeasurementMethodEnum.php new file mode 100644 index 000000000..d8365368d --- /dev/null +++ b/src/MeasurementMethodEnum.php @@ -0,0 +1,221 @@ +setProperty('additionalType', $additionalType); + } + + /** + * An alias for the item. + * + * @param string|string[] $alternateName + * + * @return static + * + * @see https://schema.org/alternateName + */ + public function alternateName($alternateName) + { + return $this->setProperty('alternateName', $alternateName); + } + + /** + * A description of the item. + * + * @param string|string[] $description + * + * @return static + * + * @see https://schema.org/description + */ + public function description($description) + { + return $this->setProperty('description', $description); + } + + /** + * A sub property of description. A short description of the item used to + * disambiguate from other, similar items. Information from other properties + * (in particular, name) may be necessary for the description to be useful + * for disambiguation. + * + * @param string|string[] $disambiguatingDescription + * + * @return static + * + * @see https://schema.org/disambiguatingDescription + */ + public function disambiguatingDescription($disambiguatingDescription) + { + return $this->setProperty('disambiguatingDescription', $disambiguatingDescription); + } + + /** + * The identifier property represents any kind of identifier for any kind of + * [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides + * dedicated properties for representing many of these, either as textual + * strings or as URL (URI) links. See [background + * notes](/docs/datamodel.html#identifierBg) for more details. + * + * @param \Spatie\SchemaOrg\Contracts\PropertyValueContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract[]|string|string[] $identifier + * + * @return static + * + * @see https://schema.org/identifier + */ + public function identifier($identifier) + { + return $this->setProperty('identifier', $identifier); + } + + /** + * An image of the item. This can be a [[URL]] or a fully described + * [[ImageObject]]. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|string|string[] $image + * + * @return static + * + * @see https://schema.org/image + */ + public function image($image) + { + return $this->setProperty('image', $image); + } + + /** + * Indicates a page (or other CreativeWork) for which this thing is the main + * entity being described. See [background + * notes](/docs/datamodel.html#mainEntityBackground) for details. + * + * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $mainEntityOfPage + * + * @return static + * + * @see https://schema.org/mainEntityOfPage + */ + public function mainEntityOfPage($mainEntityOfPage) + { + return $this->setProperty('mainEntityOfPage', $mainEntityOfPage); + } + + /** + * The name of the item. + * + * @param string|string[] $name + * + * @return static + * + * @see https://schema.org/name + */ + public function name($name) + { + return $this->setProperty('name', $name); + } + + /** + * Indicates a potential Action, which describes an idealized action in + * which this thing would play an 'object' role. + * + * @param \Spatie\SchemaOrg\Contracts\ActionContract|\Spatie\SchemaOrg\Contracts\ActionContract[] $potentialAction + * + * @return static + * + * @see https://schema.org/potentialAction + */ + public function potentialAction($potentialAction) + { + return $this->setProperty('potentialAction', $potentialAction); + } + + /** + * URL of a reference Web page that unambiguously indicates the item's + * identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or + * official website. + * + * @param string|string[] $sameAs + * + * @return static + * + * @see https://schema.org/sameAs + */ + public function sameAs($sameAs) + { + return $this->setProperty('sameAs', $sameAs); + } + + /** + * A CreativeWork or Event about this Thing. + * + * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $subjectOf + * + * @return static + * + * @see https://schema.org/subjectOf + * @link https://github.com/schemaorg/schemaorg/issues/1670 + */ + public function subjectOf($subjectOf) + { + return $this->setProperty('subjectOf', $subjectOf); + } + + /** + * URL of the item. + * + * @param string|string[] $url + * + * @return static + * + * @see https://schema.org/url + */ + public function url($url) + { + return $this->setProperty('url', $url); + } +} diff --git a/src/MeasurementTypeEnumeration.php b/src/MeasurementTypeEnumeration.php index 199b9f5a9..623a58fb6 100644 --- a/src/MeasurementTypeEnumeration.php +++ b/src/MeasurementTypeEnumeration.php @@ -23,10 +23,14 @@ class MeasurementTypeEnumeration extends BaseType implements MeasurementTypeEnum /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/MediaGallery.php b/src/MediaGallery.php index 4f176bda7..53ea9b0a6 100644 --- a/src/MediaGallery.php +++ b/src/MediaGallery.php @@ -203,10 +203,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -601,6 +605,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -930,7 +935,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1001,6 +1005,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1030,7 +1035,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1168,7 +1172,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2061,6 +2065,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2076,9 +2094,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2216,7 +2233,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/MediaManipulationRatingEnumeration.php b/src/MediaManipulationRatingEnumeration.php index ef9ff0d45..3976e893f 100644 --- a/src/MediaManipulationRatingEnumeration.php +++ b/src/MediaManipulationRatingEnumeration.php @@ -198,10 +198,14 @@ class MediaManipulationRatingEnumeration extends BaseType implements MediaManipu /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/MediaObject.php b/src/MediaObject.php index 84ae8689d..0a25dc93d 100644 --- a/src/MediaObject.php +++ b/src/MediaObject.php @@ -205,10 +205,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -645,6 +649,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -1043,7 +1048,6 @@ public function endTime($endTime) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1114,6 +1118,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1143,7 +1148,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1316,7 +1320,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2157,6 +2161,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2172,9 +2190,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2340,7 +2357,6 @@ public function width($width) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/MediaReview.php b/src/MediaReview.php index c9fe992cf..aac33d327 100644 --- a/src/MediaReview.php +++ b/src/MediaReview.php @@ -215,10 +215,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -656,6 +660,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -985,7 +990,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1056,6 +1060,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1085,7 +1090,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1223,7 +1227,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2127,6 +2131,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2142,9 +2160,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2282,7 +2299,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/MediaReviewItem.php b/src/MediaReviewItem.php index 248420518..03dfdf309 100644 --- a/src/MediaReviewItem.php +++ b/src/MediaReviewItem.php @@ -204,10 +204,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -587,6 +591,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -916,7 +921,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -987,6 +991,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1016,7 +1021,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1154,7 +1158,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1908,6 +1912,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1923,9 +1941,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2063,7 +2080,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/MediaSubscription.php b/src/MediaSubscription.php index 512bbac82..5267041f8 100644 --- a/src/MediaSubscription.php +++ b/src/MediaSubscription.php @@ -19,10 +19,14 @@ class MediaSubscription extends BaseType implements MediaSubscriptionContract, I /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/MedicalAudience.php b/src/MedicalAudience.php index 2de028cef..741e762cd 100644 --- a/src/MedicalAudience.php +++ b/src/MedicalAudience.php @@ -20,10 +20,14 @@ class MedicalAudience extends BaseType implements MedicalAudienceContract, Audie /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/MedicalAudienceType.php b/src/MedicalAudienceType.php index 04f49721d..01027c8da 100644 --- a/src/MedicalAudienceType.php +++ b/src/MedicalAudienceType.php @@ -38,10 +38,14 @@ class MedicalAudienceType extends BaseType implements MedicalAudienceTypeContrac /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/MedicalBusiness.php b/src/MedicalBusiness.php index 318deb1e5..3f7ca4bcb 100644 --- a/src/MedicalBusiness.php +++ b/src/MedicalBusiness.php @@ -31,6 +31,7 @@ class MedicalBusiness extends BaseType implements MedicalBusinessContract, Local * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -62,10 +63,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -146,7 +151,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -327,6 +331,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -429,6 +434,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -447,6 +453,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -462,7 +469,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -656,6 +662,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -859,7 +866,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -955,7 +961,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1052,7 +1057,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1108,6 +1112,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1126,6 +1131,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1155,7 +1161,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1200,7 +1205,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1246,7 +1250,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1348,7 +1351,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1435,7 +1437,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1456,6 +1457,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1470,7 +1472,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1655,7 +1656,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1699,7 +1699,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1779,7 +1778,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1829,6 +1827,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1857,7 +1856,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/MedicalCause.php b/src/MedicalCause.php index 81531691e..39eae7c59 100644 --- a/src/MedicalCause.php +++ b/src/MedicalCause.php @@ -33,10 +33,14 @@ class MedicalCause extends BaseType implements MedicalCauseContract, MedicalEnti /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -135,6 +139,7 @@ public function disambiguatingDescription($disambiguatingDescription) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/MedicalClinic.php b/src/MedicalClinic.php index ef7175572..70679efbc 100644 --- a/src/MedicalClinic.php +++ b/src/MedicalClinic.php @@ -33,6 +33,7 @@ class MedicalClinic extends BaseType implements MedicalClinicContract, LocalBusi * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -64,10 +65,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -148,7 +153,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -344,6 +348,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -446,6 +451,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -464,6 +470,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -479,7 +486,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -673,6 +679,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -876,7 +883,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -972,7 +978,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1102,7 +1107,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1158,6 +1162,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1176,6 +1181,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1205,7 +1211,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1250,7 +1255,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1296,7 +1300,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1413,7 +1416,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1500,7 +1502,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1521,6 +1522,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1535,7 +1537,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1720,7 +1721,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1764,7 +1764,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1844,7 +1843,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1894,6 +1892,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1922,7 +1921,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/MedicalCode.php b/src/MedicalCode.php index b6fadb1fa..63c7f023f 100644 --- a/src/MedicalCode.php +++ b/src/MedicalCode.php @@ -22,10 +22,14 @@ class MedicalCode extends BaseType implements MedicalCodeContract, CategoryCodeC /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -140,6 +144,7 @@ public function disambiguatingDescription($disambiguatingDescription) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/MedicalCondition.php b/src/MedicalCondition.php index 0b458d604..0914db674 100644 --- a/src/MedicalCondition.php +++ b/src/MedicalCondition.php @@ -20,10 +20,14 @@ class MedicalCondition extends BaseType implements MedicalConditionContract, Med /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -190,6 +194,7 @@ public function expectedPrognosis($expectedPrognosis) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/MedicalConditionStage.php b/src/MedicalConditionStage.php index 6579b699f..e71f7d0c0 100644 --- a/src/MedicalConditionStage.php +++ b/src/MedicalConditionStage.php @@ -19,10 +19,14 @@ class MedicalConditionStage extends BaseType implements MedicalConditionStageCon /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -106,6 +110,7 @@ public function disambiguatingDescription($disambiguatingDescription) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/MedicalContraindication.php b/src/MedicalContraindication.php index 24611a5b4..2b52732e1 100644 --- a/src/MedicalContraindication.php +++ b/src/MedicalContraindication.php @@ -22,10 +22,14 @@ class MedicalContraindication extends BaseType implements MedicalContraindicatio /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -109,6 +113,7 @@ public function disambiguatingDescription($disambiguatingDescription) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/MedicalDevice.php b/src/MedicalDevice.php index b8a6d6618..f284fa5dd 100644 --- a/src/MedicalDevice.php +++ b/src/MedicalDevice.php @@ -19,10 +19,14 @@ class MedicalDevice extends BaseType implements MedicalDeviceContract, MedicalEn /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -140,6 +144,7 @@ public function disambiguatingDescription($disambiguatingDescription) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/MedicalDevicePurpose.php b/src/MedicalDevicePurpose.php index a2e5b383f..ece03d978 100644 --- a/src/MedicalDevicePurpose.php +++ b/src/MedicalDevicePurpose.php @@ -38,10 +38,14 @@ class MedicalDevicePurpose extends BaseType implements MedicalDevicePurposeContr /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/MedicalEntity.php b/src/MedicalEntity.php index 9e176b85e..b4d660ad0 100644 --- a/src/MedicalEntity.php +++ b/src/MedicalEntity.php @@ -18,10 +18,14 @@ class MedicalEntity extends BaseType implements MedicalEntityContract, ThingCont /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -105,6 +109,7 @@ public function disambiguatingDescription($disambiguatingDescription) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/MedicalEnumeration.php b/src/MedicalEnumeration.php index b75cb8b27..ccbe92c60 100644 --- a/src/MedicalEnumeration.php +++ b/src/MedicalEnumeration.php @@ -23,10 +23,14 @@ class MedicalEnumeration extends BaseType implements MedicalEnumerationContract, /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/MedicalEvidenceLevel.php b/src/MedicalEvidenceLevel.php index ed66d7df1..2ddfe4f19 100644 --- a/src/MedicalEvidenceLevel.php +++ b/src/MedicalEvidenceLevel.php @@ -45,10 +45,14 @@ class MedicalEvidenceLevel extends BaseType implements MedicalEvidenceLevelContr /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/MedicalGuideline.php b/src/MedicalGuideline.php index 279407ff5..2d95b6b97 100644 --- a/src/MedicalGuideline.php +++ b/src/MedicalGuideline.php @@ -24,10 +24,14 @@ class MedicalGuideline extends BaseType implements MedicalGuidelineContract, Med /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -143,6 +147,7 @@ public function evidenceOrigin($evidenceOrigin) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/MedicalGuidelineContraindication.php b/src/MedicalGuidelineContraindication.php index 33bb8c270..4007b0b80 100644 --- a/src/MedicalGuidelineContraindication.php +++ b/src/MedicalGuidelineContraindication.php @@ -20,10 +20,14 @@ class MedicalGuidelineContraindication extends BaseType implements MedicalGuidel /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -139,6 +143,7 @@ public function evidenceOrigin($evidenceOrigin) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/MedicalGuidelineRecommendation.php b/src/MedicalGuidelineRecommendation.php index de6b523d9..2595a29ec 100644 --- a/src/MedicalGuidelineRecommendation.php +++ b/src/MedicalGuidelineRecommendation.php @@ -20,10 +20,14 @@ class MedicalGuidelineRecommendation extends BaseType implements MedicalGuidelin /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -139,6 +143,7 @@ public function evidenceOrigin($evidenceOrigin) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/MedicalImagingTechnique.php b/src/MedicalImagingTechnique.php index 1ebbf1938..972837320 100644 --- a/src/MedicalImagingTechnique.php +++ b/src/MedicalImagingTechnique.php @@ -62,10 +62,14 @@ class MedicalImagingTechnique extends BaseType implements MedicalImagingTechniqu /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/MedicalIndication.php b/src/MedicalIndication.php index ca5786d25..faa54b3d0 100644 --- a/src/MedicalIndication.php +++ b/src/MedicalIndication.php @@ -19,10 +19,14 @@ class MedicalIndication extends BaseType implements MedicalIndicationContract, M /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -106,6 +110,7 @@ public function disambiguatingDescription($disambiguatingDescription) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/MedicalIntangible.php b/src/MedicalIntangible.php index b77b38e75..455934fc9 100644 --- a/src/MedicalIntangible.php +++ b/src/MedicalIntangible.php @@ -19,10 +19,14 @@ class MedicalIntangible extends BaseType implements MedicalIntangibleContract, M /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -106,6 +110,7 @@ public function disambiguatingDescription($disambiguatingDescription) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/MedicalObservationalStudy.php b/src/MedicalObservationalStudy.php index 1d4f6a34f..aadd5aa7a 100644 --- a/src/MedicalObservationalStudy.php +++ b/src/MedicalObservationalStudy.php @@ -26,10 +26,14 @@ class MedicalObservationalStudy extends BaseType implements MedicalObservational /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -113,6 +117,7 @@ public function disambiguatingDescription($disambiguatingDescription) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/MedicalObservationalStudyDesign.php b/src/MedicalObservationalStudyDesign.php index 7fe2458dd..824ea3b0f 100644 --- a/src/MedicalObservationalStudyDesign.php +++ b/src/MedicalObservationalStudyDesign.php @@ -91,10 +91,14 @@ class MedicalObservationalStudyDesign extends BaseType implements MedicalObserva /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/MedicalOrganization.php b/src/MedicalOrganization.php index d3bdf5005..ae29c695a 100644 --- a/src/MedicalOrganization.php +++ b/src/MedicalOrganization.php @@ -27,6 +27,7 @@ class MedicalOrganization extends BaseType implements MedicalOrganizationContrac * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -36,10 +37,14 @@ public function actionableFeedbackPolicy($actionableFeedbackPolicy) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -205,6 +210,7 @@ public function contactPoints($contactPoints) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -285,6 +291,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -303,6 +310,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -318,7 +326,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -512,6 +519,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -529,7 +537,6 @@ public function funding($funding) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -591,7 +598,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -707,7 +713,6 @@ public function isAcceptingNewPatients($isAcceptingNewPatients) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -763,6 +768,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -781,6 +787,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -795,7 +802,6 @@ public function knowsLanguage($knowsLanguage) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -840,7 +846,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -871,7 +876,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -946,7 +950,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1012,6 +1015,7 @@ public function numberOfEmployees($numberOfEmployees) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1026,7 +1030,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1140,7 +1143,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1231,7 +1233,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1263,6 +1264,7 @@ public function telephone($telephone) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1291,7 +1293,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/MedicalProcedure.php b/src/MedicalProcedure.php index 998459f7f..2982b856c 100644 --- a/src/MedicalProcedure.php +++ b/src/MedicalProcedure.php @@ -20,10 +20,14 @@ class MedicalProcedure extends BaseType implements MedicalProcedureContract, Med /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -137,6 +141,7 @@ public function followup($followup) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/MedicalProcedureType.php b/src/MedicalProcedureType.php index 131ed21a1..7b1ea433f 100644 --- a/src/MedicalProcedureType.php +++ b/src/MedicalProcedureType.php @@ -39,10 +39,14 @@ class MedicalProcedureType extends BaseType implements MedicalProcedureTypeContr /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/MedicalRiskCalculator.php b/src/MedicalRiskCalculator.php index de351b1d7..e401f5271 100644 --- a/src/MedicalRiskCalculator.php +++ b/src/MedicalRiskCalculator.php @@ -21,10 +21,14 @@ class MedicalRiskCalculator extends BaseType implements MedicalRiskCalculatorCon /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -123,6 +127,7 @@ public function estimatesRiskOf($estimatesRiskOf) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/MedicalRiskEstimator.php b/src/MedicalRiskEstimator.php index eef5d4d27..73d1693b1 100644 --- a/src/MedicalRiskEstimator.php +++ b/src/MedicalRiskEstimator.php @@ -19,10 +19,14 @@ class MedicalRiskEstimator extends BaseType implements MedicalRiskEstimatorContr /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -121,6 +125,7 @@ public function estimatesRiskOf($estimatesRiskOf) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/MedicalRiskFactor.php b/src/MedicalRiskFactor.php index 3a9001304..33aaf7f8b 100644 --- a/src/MedicalRiskFactor.php +++ b/src/MedicalRiskFactor.php @@ -19,10 +19,14 @@ class MedicalRiskFactor extends BaseType implements MedicalRiskFactorContract, M /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -106,6 +110,7 @@ public function disambiguatingDescription($disambiguatingDescription) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/MedicalRiskScore.php b/src/MedicalRiskScore.php index 414ae4540..e6c9e7481 100644 --- a/src/MedicalRiskScore.php +++ b/src/MedicalRiskScore.php @@ -20,10 +20,14 @@ class MedicalRiskScore extends BaseType implements MedicalRiskScoreContract, Med /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -137,6 +141,7 @@ public function estimatesRiskOf($estimatesRiskOf) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/MedicalScholarlyArticle.php b/src/MedicalScholarlyArticle.php index 63ba88be4..b5d55e1e0 100644 --- a/src/MedicalScholarlyArticle.php +++ b/src/MedicalScholarlyArticle.php @@ -203,10 +203,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -429,6 +433,7 @@ public function awards($awards) * * @see https://schema.org/backstory * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function backstory($backstory) { @@ -634,6 +639,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -963,7 +969,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1034,6 +1039,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1063,7 +1069,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1201,7 +1206,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1470,7 +1475,6 @@ public function offers($offers) * @return static * * @see https://schema.org/pageEnd - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pageEnd($pageEnd) { @@ -1485,7 +1489,6 @@ public function pageEnd($pageEnd) * @return static * * @see https://schema.org/pageStart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pageStart($pageStart) { @@ -1501,7 +1504,6 @@ public function pageStart($pageStart) * @return static * * @see https://schema.org/pagination - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pagination($pagination) { @@ -2041,6 +2043,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2056,9 +2072,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2210,7 +2225,6 @@ public function wordCount($wordCount) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/MedicalSign.php b/src/MedicalSign.php index 3a4b22370..cb6df1525 100644 --- a/src/MedicalSign.php +++ b/src/MedicalSign.php @@ -21,10 +21,14 @@ class MedicalSign extends BaseType implements MedicalSignContract, MedicalCondit /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -191,6 +195,7 @@ public function expectedPrognosis($expectedPrognosis) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/MedicalSignOrSymptom.php b/src/MedicalSignOrSymptom.php index 864639696..126d7b47e 100644 --- a/src/MedicalSignOrSymptom.php +++ b/src/MedicalSignOrSymptom.php @@ -20,10 +20,14 @@ class MedicalSignOrSymptom extends BaseType implements MedicalSignOrSymptomContr /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -190,6 +194,7 @@ public function expectedPrognosis($expectedPrognosis) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/MedicalSpecialty.php b/src/MedicalSpecialty.php index b877b3435..f61fbe7b7 100644 --- a/src/MedicalSpecialty.php +++ b/src/MedicalSpecialty.php @@ -409,10 +409,14 @@ class MedicalSpecialty extends BaseType implements MedicalSpecialtyContract, Enu /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/MedicalStudy.php b/src/MedicalStudy.php index 654ba2a76..9466d157c 100644 --- a/src/MedicalStudy.php +++ b/src/MedicalStudy.php @@ -26,10 +26,14 @@ class MedicalStudy extends BaseType implements MedicalStudyContract, MedicalEnti /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -113,6 +117,7 @@ public function disambiguatingDescription($disambiguatingDescription) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/MedicalStudyStatus.php b/src/MedicalStudyStatus.php index c57455b87..19c8171fd 100644 --- a/src/MedicalStudyStatus.php +++ b/src/MedicalStudyStatus.php @@ -101,10 +101,14 @@ class MedicalStudyStatus extends BaseType implements MedicalStudyStatusContract, /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/MedicalSymptom.php b/src/MedicalSymptom.php index 39521e044..18fb5b786 100644 --- a/src/MedicalSymptom.php +++ b/src/MedicalSymptom.php @@ -21,10 +21,14 @@ class MedicalSymptom extends BaseType implements MedicalSymptomContract, Medical /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -191,6 +195,7 @@ public function expectedPrognosis($expectedPrognosis) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/MedicalTest.php b/src/MedicalTest.php index 32063c3ee..2e621353e 100644 --- a/src/MedicalTest.php +++ b/src/MedicalTest.php @@ -18,10 +18,14 @@ class MedicalTest extends BaseType implements MedicalTestContract, MedicalEntity /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -120,6 +124,7 @@ public function disambiguatingDescription($disambiguatingDescription) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/MedicalTestPanel.php b/src/MedicalTestPanel.php index 38e57108c..82258cf8c 100644 --- a/src/MedicalTestPanel.php +++ b/src/MedicalTestPanel.php @@ -19,10 +19,14 @@ class MedicalTestPanel extends BaseType implements MedicalTestPanelContract, Med /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -121,6 +125,7 @@ public function disambiguatingDescription($disambiguatingDescription) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/MedicalTherapy.php b/src/MedicalTherapy.php index c8146968f..375167cf3 100644 --- a/src/MedicalTherapy.php +++ b/src/MedicalTherapy.php @@ -25,10 +25,14 @@ class MedicalTherapy extends BaseType implements MedicalTherapyContract, Medical /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -222,6 +226,7 @@ public function followup($followup) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/MedicalTrial.php b/src/MedicalTrial.php index 6d2b5267a..3bf03c378 100644 --- a/src/MedicalTrial.php +++ b/src/MedicalTrial.php @@ -22,10 +22,14 @@ class MedicalTrial extends BaseType implements MedicalTrialContract, MedicalEnti /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -109,6 +113,7 @@ public function disambiguatingDescription($disambiguatingDescription) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/MedicalTrialDesign.php b/src/MedicalTrialDesign.php index 05247a420..2486d4109 100644 --- a/src/MedicalTrialDesign.php +++ b/src/MedicalTrialDesign.php @@ -13,7 +13,6 @@ * * @see https://schema.org/MedicalTrialDesign * @see https://health-lifesci.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_WikiDoc * * @method static supersededBy($supersededBy) The value should be instance of pending types Class|Class[]|Enumeration|Enumeration[]|Property|Property[] */ @@ -99,10 +98,14 @@ class MedicalTrialDesign extends BaseType implements MedicalTrialDesignContract, /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/MedicalWebPage.php b/src/MedicalWebPage.php index 302509d43..1a6504ab0 100644 --- a/src/MedicalWebPage.php +++ b/src/MedicalWebPage.php @@ -202,10 +202,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -617,6 +621,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -946,7 +951,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1017,6 +1021,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1046,7 +1051,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1184,7 +1188,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2092,6 +2096,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2107,9 +2125,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2247,7 +2264,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/MedicineSystem.php b/src/MedicineSystem.php index d25db1a44..8a02099f7 100644 --- a/src/MedicineSystem.php +++ b/src/MedicineSystem.php @@ -78,10 +78,14 @@ class MedicineSystem extends BaseType implements MedicineSystemContract, Enumera /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/MeetingRoom.php b/src/MeetingRoom.php index 6d9cf28b7..7e60390a4 100644 --- a/src/MeetingRoom.php +++ b/src/MeetingRoom.php @@ -18,7 +18,6 @@ * schema.org for marking up hotels and other forms of accommodations. * * @see https://schema.org/MeetingRoom - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology * */ class MeetingRoom extends BaseType implements MeetingRoomContract, AccommodationContract, PlaceContract, RoomContract, ThingContract @@ -85,10 +84,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -155,13 +158,30 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { return $this->setProperty('amenityFeature', $amenityFeature); } + /** + * The type of bed or beds included in the accommodation. For the single + * case of just one bed of a certain type, you use bed directly with a text. + * If you want to indicate the quantity of a certain kind of bed, use + * an instance of BedDetails. For more detailed information, use the + * amenityFeature property. + * + * @param \Spatie\SchemaOrg\Contracts\BedDetailsContract|\Spatie\SchemaOrg\Contracts\BedDetailsContract[]|\Spatie\SchemaOrg\Contracts\BedTypeContract|\Spatie\SchemaOrg\Contracts\BedTypeContract[]|string|string[] $bed + * + * @return static + * + * @see https://schema.org/bed + */ + public function bed($bed) + { + return $this->setProperty('bed', $bed); + } + /** * A short textual code (also called "store code") that uniquely identifies * a place of business. The code is typically assigned by the @@ -329,7 +349,6 @@ public function floorLevel($floorLevel) * @return static * * @see https://schema.org/floorSize - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function floorSize($floorSize) { @@ -533,7 +552,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -631,7 +649,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -694,7 +711,6 @@ public function leaseLength($leaseLength) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -873,13 +889,30 @@ public function numberOfPartialBathrooms($numberOfPartialBathrooms) * @return static * * @see https://schema.org/numberOfRooms - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function numberOfRooms($numberOfRooms) { return $this->setProperty('numberOfRooms', $numberOfRooms); } + /** + * The allowed total occupancy for the accommodation in persons (including + * infants etc). For individual accommodations, this is not necessarily the + * legal maximum but defines the permitted usage as per the contractual + * agreement (e.g. a double room used by a single person). + * Typical unit code(s): C62 for person + * + * @param \Spatie\SchemaOrg\Contracts\QuantitativeValueContract|\Spatie\SchemaOrg\Contracts\QuantitativeValueContract[] $occupancy + * + * @return static + * + * @see https://schema.org/occupancy + */ + public function occupancy($occupancy) + { + return $this->setProperty('occupancy', $occupancy); + } + /** * The opening hours of a certain place. * @@ -888,7 +921,6 @@ public function numberOfRooms($numberOfRooms) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -903,7 +935,6 @@ public function openingHoursSpecification($openingHoursSpecification) * @return static * * @see https://schema.org/permittedUsage - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function permittedUsage($permittedUsage) { @@ -919,7 +950,6 @@ public function permittedUsage($permittedUsage) * @return static * * @see https://schema.org/petsAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function petsAllowed($petsAllowed) { @@ -1051,7 +1081,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/MensClothingStore.php b/src/MensClothingStore.php index 5d96e9e7d..83fe013cb 100644 --- a/src/MensClothingStore.php +++ b/src/MensClothingStore.php @@ -29,6 +29,7 @@ class MensClothingStore extends BaseType implements MensClothingStoreContract, L * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/Menu.php b/src/Menu.php index 139a913c3..97434791c 100644 --- a/src/Menu.php +++ b/src/Menu.php @@ -201,10 +201,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -584,6 +588,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -913,7 +918,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -984,6 +988,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1041,7 +1046,6 @@ public function hasMenuSection($hasMenuSection) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1179,7 +1183,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1916,6 +1920,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1931,9 +1949,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2071,7 +2088,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/MenuItem.php b/src/MenuItem.php index a479c3988..4302e4e81 100644 --- a/src/MenuItem.php +++ b/src/MenuItem.php @@ -17,10 +17,14 @@ class MenuItem extends BaseType implements MenuItemContract, IntangibleContract, /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/MenuSection.php b/src/MenuSection.php index 11deedf05..59b7b40eb 100644 --- a/src/MenuSection.php +++ b/src/MenuSection.php @@ -203,10 +203,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -586,6 +590,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -915,7 +920,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -986,6 +990,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1043,7 +1048,6 @@ public function hasMenuSection($hasMenuSection) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1181,7 +1185,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1918,6 +1922,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1933,9 +1951,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2073,7 +2090,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/MerchantReturnEnumeration.php b/src/MerchantReturnEnumeration.php index 976efe718..56de4f880 100644 --- a/src/MerchantReturnEnumeration.php +++ b/src/MerchantReturnEnumeration.php @@ -57,10 +57,14 @@ class MerchantReturnEnumeration extends BaseType implements MerchantReturnEnumer /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/MerchantReturnPolicy.php b/src/MerchantReturnPolicy.php index 652032cea..73399d113 100644 --- a/src/MerchantReturnPolicy.php +++ b/src/MerchantReturnPolicy.php @@ -42,10 +42,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/MerchantReturnPolicySeasonalOverride.php b/src/MerchantReturnPolicySeasonalOverride.php index 050e63864..d698eac85 100644 --- a/src/MerchantReturnPolicySeasonalOverride.php +++ b/src/MerchantReturnPolicySeasonalOverride.php @@ -19,10 +19,14 @@ class MerchantReturnPolicySeasonalOverride extends BaseType implements MerchantR /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/Message.php b/src/Message.php index 17d8dff7a..f610d17db 100644 --- a/src/Message.php +++ b/src/Message.php @@ -200,10 +200,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -611,6 +615,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -983,7 +988,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1054,6 +1058,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1083,7 +1088,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1221,7 +1225,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2002,6 +2006,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2017,9 +2035,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2172,7 +2189,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/MiddleSchool.php b/src/MiddleSchool.php index 8bbde477a..f64fc194f 100644 --- a/src/MiddleSchool.php +++ b/src/MiddleSchool.php @@ -30,6 +30,7 @@ class MiddleSchool extends BaseType implements MiddleSchoolContract, CivicStruct * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -61,10 +62,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -145,7 +150,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -311,6 +315,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -391,6 +396,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -409,6 +415,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -424,7 +431,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -618,6 +624,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -821,7 +828,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -917,7 +923,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1014,7 +1019,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1070,6 +1074,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1088,6 +1093,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1117,7 +1123,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1162,7 +1167,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1208,7 +1212,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1310,7 +1313,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1397,7 +1399,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1418,6 +1419,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1432,7 +1434,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1589,7 +1590,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1633,7 +1633,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1713,7 +1712,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1763,6 +1761,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1791,7 +1790,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/MobileApplication.php b/src/MobileApplication.php index 0d58879bc..c738e3ace 100644 --- a/src/MobileApplication.php +++ b/src/MobileApplication.php @@ -202,10 +202,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -658,6 +662,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -1046,7 +1051,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1147,6 +1151,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1176,7 +1181,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1329,7 +1333,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2255,6 +2259,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2270,9 +2288,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2410,7 +2427,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/MobilePhoneStore.php b/src/MobilePhoneStore.php index 6da45143e..974e5eaa2 100644 --- a/src/MobilePhoneStore.php +++ b/src/MobilePhoneStore.php @@ -29,6 +29,7 @@ class MobilePhoneStore extends BaseType implements MobilePhoneStoreContract, Loc * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/MolecularEntity.php b/src/MolecularEntity.php index 9ac0bcf40..462d69481 100644 --- a/src/MolecularEntity.php +++ b/src/MolecularEntity.php @@ -13,6 +13,7 @@ * * @see https://schema.org/MolecularEntity * @see https://pending.schema.org + * @link http://bioschemas.org * */ class MolecularEntity extends BaseType implements MolecularEntityContract, BioChemEntityContract, ThingContract @@ -20,10 +21,14 @@ class MolecularEntity extends BaseType implements MolecularEntityContract, BioCh /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -61,6 +66,7 @@ public function alternateName($alternateName) * * @see https://schema.org/associatedDisease * @see https://pending.schema.org + * @link http://www.bioschemas.org/BioChemEntity */ public function associatedDisease($associatedDisease) { @@ -76,6 +82,7 @@ public function associatedDisease($associatedDisease) * * @see https://schema.org/bioChemInteraction * @see https://pending.schema.org + * @link http://www.bioschemas.org */ public function bioChemInteraction($bioChemInteraction) { @@ -92,6 +99,7 @@ public function bioChemInteraction($bioChemInteraction) * * @see https://schema.org/bioChemSimilarity * @see https://pending.schema.org + * @link http://www.bioschemas.org */ public function bioChemSimilarity($bioChemSimilarity) { @@ -107,6 +115,7 @@ public function bioChemSimilarity($bioChemSimilarity) * * @see https://schema.org/biologicalRole * @see https://pending.schema.org + * @link http://www.bioschemas.org */ public function biologicalRole($biologicalRole) { @@ -122,6 +131,7 @@ public function biologicalRole($biologicalRole) * * @see https://schema.org/chemicalRole * @see https://pending.schema.org + * @link http://www.bioschemas.org/ChemicalSubstance */ public function chemicalRole($chemicalRole) { @@ -169,6 +179,7 @@ public function disambiguatingDescription($disambiguatingDescription) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -185,6 +196,7 @@ public function funding($funding) * * @see https://schema.org/hasBioChemEntityPart * @see https://pending.schema.org + * @link http://www.bioschemas.org */ public function hasBioChemEntityPart($hasBioChemEntityPart) { @@ -201,6 +213,7 @@ public function hasBioChemEntityPart($hasBioChemEntityPart) * * @see https://schema.org/hasMolecularFunction * @see https://pending.schema.org + * @link http://www.bioschemas.org/BioChemEntity */ public function hasMolecularFunction($hasMolecularFunction) { @@ -217,6 +230,7 @@ public function hasMolecularFunction($hasMolecularFunction) * * @see https://schema.org/hasRepresentation * @see https://pending.schema.org + * @link http://www.bioschemas.org */ public function hasRepresentation($hasRepresentation) { @@ -267,6 +281,7 @@ public function image($image) * * @see https://schema.org/inChI * @see https://pending.schema.org + * @link http://www.bioschemas.org/MolecularEntity */ public function inChI($inChI) { @@ -283,6 +298,7 @@ public function inChI($inChI) * * @see https://schema.org/inChIKey * @see https://pending.schema.org + * @link http://www.bioschemas.org/MolecularEntity */ public function inChIKey($inChIKey) { @@ -298,6 +314,7 @@ public function inChIKey($inChIKey) * * @see https://schema.org/isEncodedByBioChemEntity * @see https://pending.schema.org + * @link http://www.bioschemas.org/Gene */ public function isEncodedByBioChemEntity($isEncodedByBioChemEntity) { @@ -314,6 +331,7 @@ public function isEncodedByBioChemEntity($isEncodedByBioChemEntity) * * @see https://schema.org/isInvolvedInBiologicalProcess * @see https://pending.schema.org + * @link http://www.bioschemas.org/BioChemEntity */ public function isInvolvedInBiologicalProcess($isInvolvedInBiologicalProcess) { @@ -330,6 +348,7 @@ public function isInvolvedInBiologicalProcess($isInvolvedInBiologicalProcess) * * @see https://schema.org/isLocatedInSubcellularLocation * @see https://pending.schema.org + * @link http://www.bioschemas.org/BioChemEntity */ public function isLocatedInSubcellularLocation($isLocatedInSubcellularLocation) { @@ -346,6 +365,7 @@ public function isLocatedInSubcellularLocation($isLocatedInSubcellularLocation) * * @see https://schema.org/isPartOfBioChemEntity * @see https://pending.schema.org + * @link http://www.bioschemas.org */ public function isPartOfBioChemEntity($isPartOfBioChemEntity) { @@ -362,6 +382,7 @@ public function isPartOfBioChemEntity($isPartOfBioChemEntity) * * @see https://schema.org/iupacName * @see https://pending.schema.org + * @link http://www.bioschemas.org/MolecularEntity */ public function iupacName($iupacName) { @@ -394,6 +415,7 @@ public function mainEntityOfPage($mainEntityOfPage) * * @see https://schema.org/molecularFormula * @see https://pending.schema.org + * @link http://www.bioschemas.org/MolecularEntity */ public function molecularFormula($molecularFormula) { @@ -411,6 +433,7 @@ public function molecularFormula($molecularFormula) * * @see https://schema.org/molecularWeight * @see https://pending.schema.org + * @link http://www.bioschemas.org/MolecularEntity */ public function molecularWeight($molecularWeight) { @@ -430,6 +453,7 @@ public function molecularWeight($molecularWeight) * * @see https://schema.org/monoisotopicMolecularWeight * @see https://pending.schema.org + * @link http://www.bioschemas.org/MolecularEntity */ public function monoisotopicMolecularWeight($monoisotopicMolecularWeight) { @@ -474,6 +498,7 @@ public function potentialAction($potentialAction) * * @see https://schema.org/potentialUse * @see https://pending.schema.org + * @link http://www.bioschemas.org/ChemicalSubstance */ public function potentialUse($potentialUse) { @@ -508,6 +533,7 @@ public function sameAs($sameAs) * * @see https://schema.org/smiles * @see https://pending.schema.org + * @link http://www.bioschemas.org/MolecularEntity */ public function smiles($smiles) { @@ -539,6 +565,7 @@ public function subjectOf($subjectOf) * * @see https://schema.org/taxonomicRange * @see https://pending.schema.org + * @link http://www.bioschemas.org */ public function taxonomicRange($taxonomicRange) { diff --git a/src/MonetaryAmount.php b/src/MonetaryAmount.php index 3f3083c15..0940c7304 100644 --- a/src/MonetaryAmount.php +++ b/src/MonetaryAmount.php @@ -15,7 +15,6 @@ * describe the price of an Offer, Invoice, etc. * * @see https://schema.org/MonetaryAmount - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#FIBO * */ class MonetaryAmount extends BaseType implements MonetaryAmountContract, IntangibleContract, StructuredValueContract, ThingContract @@ -23,10 +22,14 @@ class MonetaryAmount extends BaseType implements MonetaryAmountContract, Intangi /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -164,7 +167,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/maxValue - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function maxValue($maxValue) { @@ -179,7 +181,6 @@ public function maxValue($maxValue) * @return static * * @see https://schema.org/minValue - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function minValue($minValue) { @@ -268,7 +269,6 @@ public function url($url) * @return static * * @see https://schema.org/validFrom - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function validFrom($validFrom) { @@ -284,7 +284,6 @@ public function validFrom($validFrom) * @return static * * @see https://schema.org/validThrough - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function validThrough($validThrough) { @@ -292,7 +291,8 @@ public function validThrough($validThrough) } /** - * The value of the quantitative value or property value node. + * The value of a [[QuantitativeValue]] (including [[Observation]]) or + * property value node. * * * For [[QuantitativeValue]] and [[MonetaryAmount]], the recommended type * for values is 'Number'. @@ -308,7 +308,6 @@ public function validThrough($validThrough) * @return static * * @see https://schema.org/value - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function value($value) { diff --git a/src/MonetaryAmountDistribution.php b/src/MonetaryAmountDistribution.php index 26487d82f..f22d64168 100644 --- a/src/MonetaryAmountDistribution.php +++ b/src/MonetaryAmountDistribution.php @@ -20,10 +20,14 @@ class MonetaryAmountDistribution extends BaseType implements MonetaryAmountDistr /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/MonetaryGrant.php b/src/MonetaryGrant.php index a06f469c3..838ea286f 100644 --- a/src/MonetaryGrant.php +++ b/src/MonetaryGrant.php @@ -19,10 +19,14 @@ class MonetaryGrant extends BaseType implements MonetaryGrantContract, GrantCont /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/MoneyTransfer.php b/src/MoneyTransfer.php index 375a46352..1786cc133 100644 --- a/src/MoneyTransfer.php +++ b/src/MoneyTransfer.php @@ -13,6 +13,7 @@ * * @see https://schema.org/MoneyTransfer * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1253 * */ class MoneyTransfer extends BaseType implements MoneyTransferContract, ActionContract, ThingContract, TransferActionContract @@ -34,10 +35,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -104,6 +109,7 @@ public function amount($amount) * * @see https://schema.org/beneficiaryBank * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1253 */ public function beneficiaryBank($beneficiaryBank) { diff --git a/src/MortgageLoan.php b/src/MortgageLoan.php index 90e6a222b..2086d5eed 100644 --- a/src/MortgageLoan.php +++ b/src/MortgageLoan.php @@ -15,6 +15,7 @@ * * @see https://schema.org/MortgageLoan * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1253 * */ class MortgageLoan extends BaseType implements MortgageLoanContract, FinancialProductContract, IntangibleContract, LoanOrCreditContract, ServiceContract, ThingContract @@ -22,10 +23,14 @@ class MortgageLoan extends BaseType implements MortgageLoanContract, FinancialPr /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -92,7 +97,6 @@ public function amount($amount) * @return static * * @see https://schema.org/annualPercentageRate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#FIBO */ public function annualPercentageRate($annualPercentageRate) { @@ -267,6 +271,7 @@ public function disambiguatingDescription($disambiguatingDescription) * * @see https://schema.org/domiciledMortgage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1253 */ public function domiciledMortgage($domiciledMortgage) { @@ -282,7 +287,6 @@ public function domiciledMortgage($domiciledMortgage) * @return static * * @see https://schema.org/feesAndCommissionsSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#FIBO */ public function feesAndCommissionsSpecification($feesAndCommissionsSpecification) { @@ -299,6 +303,7 @@ public function feesAndCommissionsSpecification($feesAndCommissionsSpecification * * @see https://schema.org/gracePeriod * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1253 */ public function gracePeriod($gracePeriod) { @@ -376,7 +381,6 @@ public function image($image) * @return static * * @see https://schema.org/interestRate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#FIBO */ public function interestRate($interestRate) { @@ -391,7 +395,6 @@ public function interestRate($interestRate) * @return static * * @see https://schema.org/isRelatedTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isRelatedTo($isRelatedTo) { @@ -407,7 +410,6 @@ public function isRelatedTo($isRelatedTo) * @return static * * @see https://schema.org/isSimilarTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isSimilarTo($isSimilarTo) { @@ -424,6 +426,7 @@ public function isSimilarTo($isSimilarTo) * * @see https://schema.org/loanMortgageMandateAmount * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1253 */ public function loanMortgageMandateAmount($loanMortgageMandateAmount) { @@ -441,6 +444,7 @@ public function loanMortgageMandateAmount($loanMortgageMandateAmount) * * @see https://schema.org/loanRepaymentForm * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1253 */ public function loanRepaymentForm($loanRepaymentForm) { @@ -455,7 +459,6 @@ public function loanRepaymentForm($loanRepaymentForm) * @return static * * @see https://schema.org/loanTerm - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#FIBO */ public function loanTerm($loanTerm) { @@ -471,6 +474,7 @@ public function loanTerm($loanTerm) * * @see https://schema.org/loanType * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1253 */ public function loanType($loanType) { @@ -485,7 +489,6 @@ public function loanType($loanType) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -616,6 +619,7 @@ public function providerMobility($providerMobility) * * @see https://schema.org/recourseLoan * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1253 */ public function recourseLoan($recourseLoan) { @@ -632,6 +636,7 @@ public function recourseLoan($recourseLoan) * * @see https://schema.org/renegotiableLoan * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1253 */ public function renegotiableLoan($renegotiableLoan) { @@ -647,7 +652,6 @@ public function renegotiableLoan($renegotiableLoan) * @return static * * @see https://schema.org/requiredCollateral - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#FIBO */ public function requiredCollateral($requiredCollateral) { diff --git a/src/Mosque.php b/src/Mosque.php index 8a34d056e..afd7fc08d 100644 --- a/src/Mosque.php +++ b/src/Mosque.php @@ -41,10 +41,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -111,7 +115,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -452,7 +455,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -550,7 +552,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -596,7 +597,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -725,7 +725,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -857,7 +856,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/Motel.php b/src/Motel.php index 02a526715..d288d6e6e 100644 --- a/src/Motel.php +++ b/src/Motel.php @@ -32,6 +32,7 @@ class Motel extends BaseType implements MotelContract, LocalBusinessContract, Lo * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -63,10 +64,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -147,7 +152,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -386,6 +390,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -488,6 +493,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -506,6 +512,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -521,7 +528,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -715,6 +721,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -918,7 +925,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -1014,7 +1020,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1111,7 +1116,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1167,6 +1171,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1185,6 +1190,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1214,7 +1220,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1259,7 +1264,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1305,7 +1309,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1407,7 +1410,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1470,7 +1472,6 @@ public function numberOfEmployees($numberOfEmployees) * @return static * * @see https://schema.org/numberOfRooms - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function numberOfRooms($numberOfRooms) { @@ -1512,7 +1513,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1533,6 +1533,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1547,7 +1548,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1592,7 +1592,6 @@ public function paymentAccepted($paymentAccepted) * @return static * * @see https://schema.org/petsAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function petsAllowed($petsAllowed) { @@ -1748,7 +1747,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1792,7 +1790,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1843,7 +1840,6 @@ public function sponsor($sponsor) * @return static * * @see https://schema.org/starRating - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function starRating($starRating) { @@ -1890,7 +1886,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1940,6 +1935,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1968,7 +1964,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/Motorcycle.php b/src/Motorcycle.php index ec4f2ec00..86ee45491 100644 --- a/src/Motorcycle.php +++ b/src/Motorcycle.php @@ -12,7 +12,6 @@ * * @see https://schema.org/Motorcycle * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group * */ class Motorcycle extends BaseType implements MotorcycleContract, ProductContract, ThingContract, VehicleContract @@ -35,7 +34,6 @@ class Motorcycle extends BaseType implements MotorcycleContract, ProductContract * * @see https://schema.org/accelerationTime * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function accelerationTime($accelerationTime) { @@ -67,10 +65,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -190,7 +192,6 @@ public function awards($awards) * * @see https://schema.org/bodyType * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function bodyType($bodyType) { @@ -243,7 +244,6 @@ public function callSign($callSign) * @return static * * @see https://schema.org/cargoVolume - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function cargoVolume($cargoVolume) { @@ -273,7 +273,6 @@ public function category($category) * @return static * * @see https://schema.org/color - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function color($color) { @@ -347,7 +346,6 @@ public function countryOfOrigin($countryOfOrigin) * @return static * * @see https://schema.org/dateVehicleFirstRegistered - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function dateVehicleFirstRegistered($dateVehicleFirstRegistered) { @@ -362,7 +360,6 @@ public function dateVehicleFirstRegistered($dateVehicleFirstRegistered) * @return static * * @see https://schema.org/depth - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function depth($depth) { @@ -409,7 +406,6 @@ public function disambiguatingDescription($disambiguatingDescription) * @return static * * @see https://schema.org/driveWheelConfiguration - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function driveWheelConfiguration($driveWheelConfiguration) { @@ -427,7 +423,6 @@ public function driveWheelConfiguration($driveWheelConfiguration) * * @see https://schema.org/emissionsCO2 * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function emissionsCO2($emissionsCO2) { @@ -448,7 +443,6 @@ public function emissionsCO2($emissionsCO2) * * @see https://schema.org/fuelCapacity * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function fuelCapacity($fuelCapacity) { @@ -475,7 +469,6 @@ public function fuelCapacity($fuelCapacity) * @return static * * @see https://schema.org/fuelConsumption - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function fuelConsumption($fuelConsumption) { @@ -502,7 +495,6 @@ public function fuelConsumption($fuelConsumption) * @return static * * @see https://schema.org/fuelEfficiency - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function fuelEfficiency($fuelEfficiency) { @@ -519,7 +511,6 @@ public function fuelEfficiency($fuelEfficiency) * @return static * * @see https://schema.org/fuelType - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function fuelType($fuelType) { @@ -536,6 +527,7 @@ public function fuelType($fuelType) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -615,7 +607,6 @@ public function gtin12($gtin12) * @return static * * @see https://schema.org/gtin13 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function gtin13($gtin13) { @@ -633,7 +624,6 @@ public function gtin13($gtin13) * @return static * * @see https://schema.org/gtin14 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function gtin14($gtin14) { @@ -651,7 +641,6 @@ public function gtin14($gtin14) * @return static * * @see https://schema.org/gtin8 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function gtin8($gtin8) { @@ -817,7 +806,6 @@ public function inProductGroupWithID($inProductGroupWithID) * @return static * * @see https://schema.org/isAccessoryOrSparePartFor - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isAccessoryOrSparePartFor($isAccessoryOrSparePartFor) { @@ -833,7 +821,6 @@ public function isAccessoryOrSparePartFor($isAccessoryOrSparePartFor) * @return static * * @see https://schema.org/isConsumableFor - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isConsumableFor($isConsumableFor) { @@ -862,7 +849,6 @@ public function isFamilyFriendly($isFamilyFriendly) * @return static * * @see https://schema.org/isRelatedTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isRelatedTo($isRelatedTo) { @@ -878,7 +864,6 @@ public function isRelatedTo($isRelatedTo) * @return static * * @see https://schema.org/isSimilarTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isSimilarTo($isSimilarTo) { @@ -903,7 +888,6 @@ public function isSimilarTo($isSimilarTo) * @return static * * @see https://schema.org/isVariantOf - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isVariantOf($isVariantOf) { @@ -951,7 +935,6 @@ public function keywords($keywords) * @return static * * @see https://schema.org/knownVehicleDamages - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function knownVehicleDamages($knownVehicleDamages) { @@ -966,7 +949,6 @@ public function knownVehicleDamages($knownVehicleDamages) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1027,7 +1009,6 @@ public function material($material) * * @see https://schema.org/meetsEmissionStandard * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function meetsEmissionStandard($meetsEmissionStandard) { @@ -1045,7 +1026,6 @@ public function meetsEmissionStandard($meetsEmissionStandard) * @return static * * @see https://schema.org/mileageFromOdometer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function mileageFromOdometer($mileageFromOdometer) { @@ -1112,7 +1092,6 @@ public function model($model) * * @see https://schema.org/modelDate * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function modelDate($modelDate) { @@ -1128,7 +1107,6 @@ public function modelDate($modelDate) * @return static * * @see https://schema.org/mpn - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function mpn($mpn) { @@ -1203,7 +1181,6 @@ public function nsn($nsn) * @return static * * @see https://schema.org/numberOfAirbags - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function numberOfAirbags($numberOfAirbags) { @@ -1220,7 +1197,6 @@ public function numberOfAirbags($numberOfAirbags) * @return static * * @see https://schema.org/numberOfAxles - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function numberOfAxles($numberOfAxles) { @@ -1237,7 +1213,6 @@ public function numberOfAxles($numberOfAxles) * @return static * * @see https://schema.org/numberOfDoors - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function numberOfDoors($numberOfDoors) { @@ -1255,7 +1230,6 @@ public function numberOfDoors($numberOfDoors) * @return static * * @see https://schema.org/numberOfForwardGears - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function numberOfForwardGears($numberOfForwardGears) { @@ -1272,7 +1246,6 @@ public function numberOfForwardGears($numberOfForwardGears) * @return static * * @see https://schema.org/numberOfPreviousOwners - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function numberOfPreviousOwners($numberOfPreviousOwners) { @@ -1340,7 +1313,6 @@ public function pattern($pattern) * * @see https://schema.org/payload * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function payload($payload) { @@ -1410,7 +1382,6 @@ public function productID($productID) * @return static * * @see https://schema.org/productionDate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function productionDate($productionDate) { @@ -1425,7 +1396,6 @@ public function productionDate($productionDate) * @return static * * @see https://schema.org/purchaseDate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function purchaseDate($purchaseDate) { @@ -1441,7 +1411,6 @@ public function purchaseDate($purchaseDate) * @return static * * @see https://schema.org/releaseDate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function releaseDate($releaseDate) { @@ -1505,7 +1474,6 @@ public function sameAs($sameAs) * * @see https://schema.org/seatingCapacity * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function seatingCapacity($seatingCapacity) { @@ -1541,7 +1509,6 @@ public function size($size) * @return static * * @see https://schema.org/sku - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function sku($sku) { @@ -1582,7 +1549,6 @@ public function slogan($slogan) * * @see https://schema.org/speed * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function speed($speed) { @@ -1597,7 +1563,6 @@ public function speed($speed) * @return static * * @see https://schema.org/steeringPosition - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function steeringPosition($steeringPosition) { @@ -1654,7 +1619,6 @@ public function subjectOf($subjectOf) * * @see https://schema.org/tongueWeight * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function tongueWeight($tongueWeight) { @@ -1678,7 +1642,6 @@ public function tongueWeight($tongueWeight) * * @see https://schema.org/trailerWeight * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function trailerWeight($trailerWeight) { @@ -1708,7 +1671,6 @@ public function url($url) * @return static * * @see https://schema.org/vehicleConfiguration - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function vehicleConfiguration($vehicleConfiguration) { @@ -1723,7 +1685,6 @@ public function vehicleConfiguration($vehicleConfiguration) * @return static * * @see https://schema.org/vehicleEngine - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function vehicleEngine($vehicleEngine) { @@ -1739,7 +1700,6 @@ public function vehicleEngine($vehicleEngine) * @return static * * @see https://schema.org/vehicleIdentificationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function vehicleIdentificationNumber($vehicleIdentificationNumber) { @@ -1754,7 +1714,6 @@ public function vehicleIdentificationNumber($vehicleIdentificationNumber) * @return static * * @see https://schema.org/vehicleInteriorColor - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function vehicleInteriorColor($vehicleInteriorColor) { @@ -1772,7 +1731,6 @@ public function vehicleInteriorColor($vehicleInteriorColor) * @return static * * @see https://schema.org/vehicleInteriorType - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function vehicleInteriorType($vehicleInteriorType) { @@ -1788,7 +1746,6 @@ public function vehicleInteriorType($vehicleInteriorType) * @return static * * @see https://schema.org/vehicleModelDate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function vehicleModelDate($vehicleModelDate) { @@ -1806,7 +1763,6 @@ public function vehicleModelDate($vehicleModelDate) * @return static * * @see https://schema.org/vehicleSeatingCapacity - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function vehicleSeatingCapacity($vehicleSeatingCapacity) { @@ -1825,7 +1781,6 @@ public function vehicleSeatingCapacity($vehicleSeatingCapacity) * * @see https://schema.org/vehicleSpecialUsage * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function vehicleSpecialUsage($vehicleSpecialUsage) { @@ -1842,7 +1797,6 @@ public function vehicleSpecialUsage($vehicleSpecialUsage) * @return static * * @see https://schema.org/vehicleTransmission - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function vehicleTransmission($vehicleTransmission) { @@ -1857,7 +1811,6 @@ public function vehicleTransmission($vehicleTransmission) * @return static * * @see https://schema.org/weight - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function weight($weight) { @@ -1883,7 +1836,6 @@ public function weight($weight) * * @see https://schema.org/weightTotal * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function weightTotal($weightTotal) { @@ -1902,7 +1854,6 @@ public function weightTotal($weightTotal) * * @see https://schema.org/wheelbase * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function wheelbase($wheelbase) { diff --git a/src/MotorcycleDealer.php b/src/MotorcycleDealer.php index a47d78530..977ba32da 100644 --- a/src/MotorcycleDealer.php +++ b/src/MotorcycleDealer.php @@ -29,6 +29,7 @@ class MotorcycleDealer extends BaseType implements MotorcycleDealerContract, Aut * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/MotorcycleRepair.php b/src/MotorcycleRepair.php index b0c87b06d..2185a6fa1 100644 --- a/src/MotorcycleRepair.php +++ b/src/MotorcycleRepair.php @@ -29,6 +29,7 @@ class MotorcycleRepair extends BaseType implements MotorcycleRepairContract, Aut * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/MotorizedBicycle.php b/src/MotorizedBicycle.php index df8394d20..2bcc4bdab 100644 --- a/src/MotorizedBicycle.php +++ b/src/MotorizedBicycle.php @@ -13,7 +13,6 @@ * * @see https://schema.org/MotorizedBicycle * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group * */ class MotorizedBicycle extends BaseType implements MotorizedBicycleContract, ProductContract, ThingContract, VehicleContract @@ -36,7 +35,6 @@ class MotorizedBicycle extends BaseType implements MotorizedBicycleContract, Pro * * @see https://schema.org/accelerationTime * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function accelerationTime($accelerationTime) { @@ -68,10 +66,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -191,7 +193,6 @@ public function awards($awards) * * @see https://schema.org/bodyType * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function bodyType($bodyType) { @@ -244,7 +245,6 @@ public function callSign($callSign) * @return static * * @see https://schema.org/cargoVolume - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function cargoVolume($cargoVolume) { @@ -274,7 +274,6 @@ public function category($category) * @return static * * @see https://schema.org/color - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function color($color) { @@ -348,7 +347,6 @@ public function countryOfOrigin($countryOfOrigin) * @return static * * @see https://schema.org/dateVehicleFirstRegistered - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function dateVehicleFirstRegistered($dateVehicleFirstRegistered) { @@ -363,7 +361,6 @@ public function dateVehicleFirstRegistered($dateVehicleFirstRegistered) * @return static * * @see https://schema.org/depth - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function depth($depth) { @@ -410,7 +407,6 @@ public function disambiguatingDescription($disambiguatingDescription) * @return static * * @see https://schema.org/driveWheelConfiguration - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function driveWheelConfiguration($driveWheelConfiguration) { @@ -428,7 +424,6 @@ public function driveWheelConfiguration($driveWheelConfiguration) * * @see https://schema.org/emissionsCO2 * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function emissionsCO2($emissionsCO2) { @@ -449,7 +444,6 @@ public function emissionsCO2($emissionsCO2) * * @see https://schema.org/fuelCapacity * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function fuelCapacity($fuelCapacity) { @@ -476,7 +470,6 @@ public function fuelCapacity($fuelCapacity) * @return static * * @see https://schema.org/fuelConsumption - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function fuelConsumption($fuelConsumption) { @@ -503,7 +496,6 @@ public function fuelConsumption($fuelConsumption) * @return static * * @see https://schema.org/fuelEfficiency - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function fuelEfficiency($fuelEfficiency) { @@ -520,7 +512,6 @@ public function fuelEfficiency($fuelEfficiency) * @return static * * @see https://schema.org/fuelType - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function fuelType($fuelType) { @@ -537,6 +528,7 @@ public function fuelType($fuelType) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -616,7 +608,6 @@ public function gtin12($gtin12) * @return static * * @see https://schema.org/gtin13 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function gtin13($gtin13) { @@ -634,7 +625,6 @@ public function gtin13($gtin13) * @return static * * @see https://schema.org/gtin14 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function gtin14($gtin14) { @@ -652,7 +642,6 @@ public function gtin14($gtin14) * @return static * * @see https://schema.org/gtin8 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function gtin8($gtin8) { @@ -818,7 +807,6 @@ public function inProductGroupWithID($inProductGroupWithID) * @return static * * @see https://schema.org/isAccessoryOrSparePartFor - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isAccessoryOrSparePartFor($isAccessoryOrSparePartFor) { @@ -834,7 +822,6 @@ public function isAccessoryOrSparePartFor($isAccessoryOrSparePartFor) * @return static * * @see https://schema.org/isConsumableFor - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isConsumableFor($isConsumableFor) { @@ -863,7 +850,6 @@ public function isFamilyFriendly($isFamilyFriendly) * @return static * * @see https://schema.org/isRelatedTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isRelatedTo($isRelatedTo) { @@ -879,7 +865,6 @@ public function isRelatedTo($isRelatedTo) * @return static * * @see https://schema.org/isSimilarTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isSimilarTo($isSimilarTo) { @@ -904,7 +889,6 @@ public function isSimilarTo($isSimilarTo) * @return static * * @see https://schema.org/isVariantOf - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isVariantOf($isVariantOf) { @@ -952,7 +936,6 @@ public function keywords($keywords) * @return static * * @see https://schema.org/knownVehicleDamages - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function knownVehicleDamages($knownVehicleDamages) { @@ -967,7 +950,6 @@ public function knownVehicleDamages($knownVehicleDamages) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1028,7 +1010,6 @@ public function material($material) * * @see https://schema.org/meetsEmissionStandard * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function meetsEmissionStandard($meetsEmissionStandard) { @@ -1046,7 +1027,6 @@ public function meetsEmissionStandard($meetsEmissionStandard) * @return static * * @see https://schema.org/mileageFromOdometer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function mileageFromOdometer($mileageFromOdometer) { @@ -1113,7 +1093,6 @@ public function model($model) * * @see https://schema.org/modelDate * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function modelDate($modelDate) { @@ -1129,7 +1108,6 @@ public function modelDate($modelDate) * @return static * * @see https://schema.org/mpn - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function mpn($mpn) { @@ -1204,7 +1182,6 @@ public function nsn($nsn) * @return static * * @see https://schema.org/numberOfAirbags - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function numberOfAirbags($numberOfAirbags) { @@ -1221,7 +1198,6 @@ public function numberOfAirbags($numberOfAirbags) * @return static * * @see https://schema.org/numberOfAxles - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function numberOfAxles($numberOfAxles) { @@ -1238,7 +1214,6 @@ public function numberOfAxles($numberOfAxles) * @return static * * @see https://schema.org/numberOfDoors - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function numberOfDoors($numberOfDoors) { @@ -1256,7 +1231,6 @@ public function numberOfDoors($numberOfDoors) * @return static * * @see https://schema.org/numberOfForwardGears - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function numberOfForwardGears($numberOfForwardGears) { @@ -1273,7 +1247,6 @@ public function numberOfForwardGears($numberOfForwardGears) * @return static * * @see https://schema.org/numberOfPreviousOwners - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function numberOfPreviousOwners($numberOfPreviousOwners) { @@ -1341,7 +1314,6 @@ public function pattern($pattern) * * @see https://schema.org/payload * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function payload($payload) { @@ -1411,7 +1383,6 @@ public function productID($productID) * @return static * * @see https://schema.org/productionDate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function productionDate($productionDate) { @@ -1426,7 +1397,6 @@ public function productionDate($productionDate) * @return static * * @see https://schema.org/purchaseDate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function purchaseDate($purchaseDate) { @@ -1442,7 +1412,6 @@ public function purchaseDate($purchaseDate) * @return static * * @see https://schema.org/releaseDate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function releaseDate($releaseDate) { @@ -1506,7 +1475,6 @@ public function sameAs($sameAs) * * @see https://schema.org/seatingCapacity * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function seatingCapacity($seatingCapacity) { @@ -1542,7 +1510,6 @@ public function size($size) * @return static * * @see https://schema.org/sku - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function sku($sku) { @@ -1583,7 +1550,6 @@ public function slogan($slogan) * * @see https://schema.org/speed * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function speed($speed) { @@ -1598,7 +1564,6 @@ public function speed($speed) * @return static * * @see https://schema.org/steeringPosition - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function steeringPosition($steeringPosition) { @@ -1655,7 +1620,6 @@ public function subjectOf($subjectOf) * * @see https://schema.org/tongueWeight * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function tongueWeight($tongueWeight) { @@ -1679,7 +1643,6 @@ public function tongueWeight($tongueWeight) * * @see https://schema.org/trailerWeight * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function trailerWeight($trailerWeight) { @@ -1709,7 +1672,6 @@ public function url($url) * @return static * * @see https://schema.org/vehicleConfiguration - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function vehicleConfiguration($vehicleConfiguration) { @@ -1724,7 +1686,6 @@ public function vehicleConfiguration($vehicleConfiguration) * @return static * * @see https://schema.org/vehicleEngine - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function vehicleEngine($vehicleEngine) { @@ -1740,7 +1701,6 @@ public function vehicleEngine($vehicleEngine) * @return static * * @see https://schema.org/vehicleIdentificationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function vehicleIdentificationNumber($vehicleIdentificationNumber) { @@ -1755,7 +1715,6 @@ public function vehicleIdentificationNumber($vehicleIdentificationNumber) * @return static * * @see https://schema.org/vehicleInteriorColor - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function vehicleInteriorColor($vehicleInteriorColor) { @@ -1773,7 +1732,6 @@ public function vehicleInteriorColor($vehicleInteriorColor) * @return static * * @see https://schema.org/vehicleInteriorType - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function vehicleInteriorType($vehicleInteriorType) { @@ -1789,7 +1747,6 @@ public function vehicleInteriorType($vehicleInteriorType) * @return static * * @see https://schema.org/vehicleModelDate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function vehicleModelDate($vehicleModelDate) { @@ -1807,7 +1764,6 @@ public function vehicleModelDate($vehicleModelDate) * @return static * * @see https://schema.org/vehicleSeatingCapacity - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function vehicleSeatingCapacity($vehicleSeatingCapacity) { @@ -1826,7 +1782,6 @@ public function vehicleSeatingCapacity($vehicleSeatingCapacity) * * @see https://schema.org/vehicleSpecialUsage * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function vehicleSpecialUsage($vehicleSpecialUsage) { @@ -1843,7 +1798,6 @@ public function vehicleSpecialUsage($vehicleSpecialUsage) * @return static * * @see https://schema.org/vehicleTransmission - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function vehicleTransmission($vehicleTransmission) { @@ -1858,7 +1812,6 @@ public function vehicleTransmission($vehicleTransmission) * @return static * * @see https://schema.org/weight - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function weight($weight) { @@ -1884,7 +1837,6 @@ public function weight($weight) * * @see https://schema.org/weightTotal * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function weightTotal($weightTotal) { @@ -1903,7 +1855,6 @@ public function weightTotal($weightTotal) * * @see https://schema.org/wheelbase * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function wheelbase($wheelbase) { diff --git a/src/Mountain.php b/src/Mountain.php index cc64dcf4a..7f3d4bbfd 100644 --- a/src/Mountain.php +++ b/src/Mountain.php @@ -40,10 +40,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -110,7 +114,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -451,7 +454,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -549,7 +551,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -595,7 +596,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -697,7 +697,6 @@ public function name($name) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -829,7 +828,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/MoveAction.php b/src/MoveAction.php index 7d966a7b5..6a848fd61 100644 --- a/src/MoveAction.php +++ b/src/MoveAction.php @@ -36,10 +36,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/Movie.php b/src/Movie.php index 277dd2623..222dbcac4 100644 --- a/src/Movie.php +++ b/src/Movie.php @@ -231,10 +231,14 @@ public function actors($actors) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -614,6 +618,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -989,7 +994,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1060,6 +1064,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1089,7 +1094,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1227,7 +1231,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2010,6 +2014,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2025,9 +2043,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2206,7 +2223,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/MovieClip.php b/src/MovieClip.php index 447091015..5d52a34a5 100644 --- a/src/MovieClip.php +++ b/src/MovieClip.php @@ -232,10 +232,14 @@ public function actors($actors) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -629,6 +633,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -1006,7 +1011,6 @@ public function endOffset($endOffset) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1077,6 +1081,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1106,7 +1111,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1244,7 +1248,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2054,6 +2058,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2069,9 +2087,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2209,7 +2226,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/MovieRentalStore.php b/src/MovieRentalStore.php index 46226ecb6..ab99ae97b 100644 --- a/src/MovieRentalStore.php +++ b/src/MovieRentalStore.php @@ -29,6 +29,7 @@ class MovieRentalStore extends BaseType implements MovieRentalStoreContract, Loc * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/MovieSeries.php b/src/MovieSeries.php index 3083f37d0..00c5bb3bc 100644 --- a/src/MovieSeries.php +++ b/src/MovieSeries.php @@ -235,10 +235,14 @@ public function actors($actors) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -618,6 +622,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -994,7 +999,6 @@ public function endDate($endDate) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1065,6 +1069,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1094,7 +1099,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1232,7 +1236,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1300,7 +1304,6 @@ public function isPartOf($isPartOf) * @return static * * @see https://schema.org/issn - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function issn($issn) { @@ -2031,6 +2034,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2046,9 +2063,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2200,7 +2216,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/MovieTheater.php b/src/MovieTheater.php index 3b8b72e5a..4cf7c8edb 100644 --- a/src/MovieTheater.php +++ b/src/MovieTheater.php @@ -30,6 +30,7 @@ class MovieTheater extends BaseType implements MovieTheaterContract, CivicStruct * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -61,10 +62,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -145,7 +150,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -326,6 +330,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -428,6 +433,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -446,6 +452,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -461,7 +468,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -655,6 +661,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -858,7 +865,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -954,7 +960,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1051,7 +1056,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1107,6 +1111,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1125,6 +1130,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1154,7 +1160,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1199,7 +1204,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1245,7 +1249,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1347,7 +1350,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1434,7 +1436,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1455,6 +1456,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1469,7 +1471,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1668,7 +1669,6 @@ public function screenCount($screenCount) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1712,7 +1712,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1792,7 +1791,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1842,6 +1840,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1870,7 +1869,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/MovingCompany.php b/src/MovingCompany.php index e0c100f45..a669b8e2d 100644 --- a/src/MovingCompany.php +++ b/src/MovingCompany.php @@ -29,6 +29,7 @@ class MovingCompany extends BaseType implements MovingCompanyContract, HomeAndCo * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/MultiTypedEntity.php b/src/MultiTypedEntity.php index 76b2e4446..7bacd7fc7 100644 --- a/src/MultiTypedEntity.php +++ b/src/MultiTypedEntity.php @@ -176,6 +176,7 @@ * @method self|ComputerStore computerStore(\Closure|null $callback = null) * @method self|ConfirmAction confirmAction(\Closure|null $callback = null) * @method self|Consortium consortium(\Closure|null $callback = null) + * @method self|ConstraintNode constraintNode(\Closure|null $callback = null) * @method self|ConsumeAction consumeAction(\Closure|null $callback = null) * @method self|ContactPage contactPage(\Closure|null $callback = null) * @method self|ContactPoint contactPoint(\Closure|null $callback = null) @@ -446,6 +447,7 @@ * @method self|Mass mass(\Closure|null $callback = null) * @method self|MathSolver mathSolver(\Closure|null $callback = null) * @method self|MaximumDoseSchedule maximumDoseSchedule(\Closure|null $callback = null) + * @method self|MeasurementMethodEnum measurementMethodEnum(\Closure|null $callback = null) * @method self|MeasurementTypeEnumeration measurementTypeEnumeration(\Closure|null $callback = null) * @method self|MediaGallery mediaGallery(\Closure|null $callback = null) * @method self|MediaManipulationRatingEnumeration mediaManipulationRatingEnumeration(\Closure|null $callback = null) @@ -781,6 +783,7 @@ * @method self|State state(\Closure|null $callback = null) * @method self|Statement statement(\Closure|null $callback = null) * @method self|StatisticalPopulation statisticalPopulation(\Closure|null $callback = null) + * @method self|StatisticalVariable statisticalVariable(\Closure|null $callback = null) * @method self|StatusEnumeration statusEnumeration(\Closure|null $callback = null) * @method self|SteeringPositionValue steeringPositionValue(\Closure|null $callback = null) * @method self|Store store(\Closure|null $callback = null) @@ -793,6 +796,7 @@ * @method self|SuperficialAnatomy superficialAnatomy(\Closure|null $callback = null) * @method self|SurgicalProcedure surgicalProcedure(\Closure|null $callback = null) * @method self|SuspendAction suspendAction(\Closure|null $callback = null) + * @method self|Syllabus syllabus(\Closure|null $callback = null) * @method self|Synagogue synagogue(\Closure|null $callback = null) * @method self|TVClip tVClip(\Closure|null $callback = null) * @method self|TVEpisode tVEpisode(\Closure|null $callback = null) @@ -853,6 +857,7 @@ * @method self|UserPlusOnes userPlusOnes(\Closure|null $callback = null) * @method self|UserReview userReview(\Closure|null $callback = null) * @method self|UserTweets userTweets(\Closure|null $callback = null) + * @method self|VacationRental vacationRental(\Closure|null $callback = null) * @method self|Vehicle vehicle(\Closure|null $callback = null) * @method self|Vein vein(\Closure|null $callback = null) * @method self|Vessel vessel(\Closure|null $callback = null) @@ -1013,10 +1018,10 @@ public function toArray(): array $properties = []; $types = []; - foreach ($this->nodes as $node) { + foreach($this->nodes as $node) { $temp = $this->serializeNode($node); - if (isset($temp['@type'])) { + if(isset($temp['@type'])) { array_push($types, $temp['@type']); unset($temp['@type']); } diff --git a/src/Muscle.php b/src/Muscle.php index 61b580290..ae72a80a1 100644 --- a/src/Muscle.php +++ b/src/Muscle.php @@ -20,10 +20,14 @@ class Muscle extends BaseType implements MuscleContract, AnatomicalStructureCont /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -200,6 +204,7 @@ public function disambiguatingDescription($disambiguatingDescription) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/Museum.php b/src/Museum.php index faa6a91da..36c230b87 100644 --- a/src/Museum.php +++ b/src/Museum.php @@ -40,10 +40,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -110,7 +114,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -451,7 +454,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -549,7 +551,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -595,7 +596,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -724,7 +724,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -856,7 +855,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/MusicAlbum.php b/src/MusicAlbum.php index 04d729b8b..8ed53b527 100644 --- a/src/MusicAlbum.php +++ b/src/MusicAlbum.php @@ -201,10 +201,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -241,7 +245,6 @@ public function aggregateRating($aggregateRating) * @return static * * @see https://schema.org/albumProductionType - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public function albumProductionType($albumProductionType) { @@ -270,7 +273,6 @@ public function albumRelease($albumRelease) * @return static * * @see https://schema.org/albumReleaseType - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public function albumReleaseType($albumReleaseType) { @@ -643,6 +645,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -972,7 +975,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1043,6 +1045,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1072,7 +1075,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1210,7 +1212,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1961,6 +1963,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1976,9 +1992,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2000,7 +2015,6 @@ public function timeRequired($timeRequired) * @return static * * @see https://schema.org/track - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public function track($track) { @@ -2146,7 +2160,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/MusicAlbumProductionType.php b/src/MusicAlbumProductionType.php index eb7f60e8f..02ec23df2 100644 --- a/src/MusicAlbumProductionType.php +++ b/src/MusicAlbumProductionType.php @@ -12,7 +12,6 @@ * studio album, etc. * * @see https://schema.org/MusicAlbumProductionType - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ * * @method static supersededBy($supersededBy) The value should be instance of pending types Class|Class[]|Enumeration|Enumeration[]|Property|Property[] */ @@ -22,7 +21,6 @@ class MusicAlbumProductionType extends BaseType implements MusicAlbumProductionT * CompilationAlbum. * * @see https://schema.org/CompilationAlbum - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public const CompilationAlbum = 'https://schema.org/CompilationAlbum'; @@ -30,7 +28,6 @@ class MusicAlbumProductionType extends BaseType implements MusicAlbumProductionT * DJMixAlbum. * * @see https://schema.org/DJMixAlbum - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public const DJMixAlbum = 'https://schema.org/DJMixAlbum'; @@ -38,7 +35,6 @@ class MusicAlbumProductionType extends BaseType implements MusicAlbumProductionT * DemoAlbum. * * @see https://schema.org/DemoAlbum - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public const DemoAlbum = 'https://schema.org/DemoAlbum'; @@ -46,7 +42,6 @@ class MusicAlbumProductionType extends BaseType implements MusicAlbumProductionT * LiveAlbum. * * @see https://schema.org/LiveAlbum - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public const LiveAlbum = 'https://schema.org/LiveAlbum'; @@ -54,7 +49,6 @@ class MusicAlbumProductionType extends BaseType implements MusicAlbumProductionT * MixtapeAlbum. * * @see https://schema.org/MixtapeAlbum - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public const MixtapeAlbum = 'https://schema.org/MixtapeAlbum'; @@ -62,7 +56,6 @@ class MusicAlbumProductionType extends BaseType implements MusicAlbumProductionT * RemixAlbum. * * @see https://schema.org/RemixAlbum - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public const RemixAlbum = 'https://schema.org/RemixAlbum'; @@ -70,7 +63,6 @@ class MusicAlbumProductionType extends BaseType implements MusicAlbumProductionT * SoundtrackAlbum. * * @see https://schema.org/SoundtrackAlbum - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public const SoundtrackAlbum = 'https://schema.org/SoundtrackAlbum'; @@ -78,7 +70,6 @@ class MusicAlbumProductionType extends BaseType implements MusicAlbumProductionT * SpokenWordAlbum. * * @see https://schema.org/SpokenWordAlbum - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public const SpokenWordAlbum = 'https://schema.org/SpokenWordAlbum'; @@ -86,17 +77,20 @@ class MusicAlbumProductionType extends BaseType implements MusicAlbumProductionT * StudioAlbum. * * @see https://schema.org/StudioAlbum - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public const StudioAlbum = 'https://schema.org/StudioAlbum'; /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/MusicAlbumReleaseType.php b/src/MusicAlbumReleaseType.php index 30e848ce4..488a3fe86 100644 --- a/src/MusicAlbumReleaseType.php +++ b/src/MusicAlbumReleaseType.php @@ -11,7 +11,6 @@ * The kind of release which this album is: single, EP or album. * * @see https://schema.org/MusicAlbumReleaseType - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ * * @method static supersededBy($supersededBy) The value should be instance of pending types Class|Class[]|Enumeration|Enumeration[]|Property|Property[] */ @@ -21,7 +20,6 @@ class MusicAlbumReleaseType extends BaseType implements MusicAlbumReleaseTypeCon * AlbumRelease. * * @see https://schema.org/AlbumRelease - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public const AlbumRelease = 'https://schema.org/AlbumRelease'; @@ -29,7 +27,6 @@ class MusicAlbumReleaseType extends BaseType implements MusicAlbumReleaseTypeCon * BroadcastRelease. * * @see https://schema.org/BroadcastRelease - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public const BroadcastRelease = 'https://schema.org/BroadcastRelease'; @@ -37,7 +34,6 @@ class MusicAlbumReleaseType extends BaseType implements MusicAlbumReleaseTypeCon * EPRelease. * * @see https://schema.org/EPRelease - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public const EPRelease = 'https://schema.org/EPRelease'; @@ -45,17 +41,20 @@ class MusicAlbumReleaseType extends BaseType implements MusicAlbumReleaseTypeCon * SingleRelease. * * @see https://schema.org/SingleRelease - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public const SingleRelease = 'https://schema.org/SingleRelease'; /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/MusicComposition.php b/src/MusicComposition.php index e3a952052..13e6d11fe 100644 --- a/src/MusicComposition.php +++ b/src/MusicComposition.php @@ -10,7 +10,6 @@ * A musical composition. * * @see https://schema.org/MusicComposition - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ * */ class MusicComposition extends BaseType implements MusicCompositionContract, CreativeWorkContract, ThingContract @@ -201,10 +200,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -453,7 +456,6 @@ public function commentCount($commentCount) * @return static * * @see https://schema.org/composer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public function composer($composer) { @@ -600,6 +602,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -929,7 +932,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -983,7 +985,6 @@ public function fileFormat($fileFormat) * @return static * * @see https://schema.org/firstPerformance - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public function firstPerformance($firstPerformance) { @@ -1015,6 +1016,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1044,7 +1046,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1125,7 +1126,6 @@ public function inLanguage($inLanguage) * @return static * * @see https://schema.org/includedComposition - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public function includedComposition($includedComposition) { @@ -1198,7 +1198,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1264,7 +1264,6 @@ public function isPartOf($isPartOf) * @return static * * @see https://schema.org/iswcCode - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public function iswcCode($iswcCode) { @@ -1340,7 +1339,6 @@ public function locationCreated($locationCreated) * @return static * * @see https://schema.org/lyricist - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public function lyricist($lyricist) { @@ -1355,7 +1353,6 @@ public function lyricist($lyricist) * @return static * * @see https://schema.org/lyrics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public function lyrics($lyrics) { @@ -1476,7 +1473,6 @@ public function mentions($mentions) * @return static * * @see https://schema.org/musicArrangement - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public function musicArrangement($musicArrangement) { @@ -1491,7 +1487,6 @@ public function musicArrangement($musicArrangement) * @return static * * @see https://schema.org/musicCompositionForm - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public function musicCompositionForm($musicCompositionForm) { @@ -1506,7 +1501,6 @@ public function musicCompositionForm($musicCompositionForm) * @return static * * @see https://schema.org/musicalKey - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public function musicalKey($musicalKey) { @@ -1703,7 +1697,6 @@ public function publishingPrinciples($publishingPrinciples) * @return static * * @see https://schema.org/recordedAs - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public function recordedAs($recordedAs) { @@ -2040,6 +2033,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2055,9 +2062,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2195,7 +2201,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/MusicEvent.php b/src/MusicEvent.php index 78ff25155..4b337f0c2 100644 --- a/src/MusicEvent.php +++ b/src/MusicEvent.php @@ -48,10 +48,14 @@ public function actor($actor) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +148,6 @@ public function audience($audience) * @return static * * @see https://schema.org/composer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public function composer($composer) { @@ -344,6 +347,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/MusicGroup.php b/src/MusicGroup.php index 6b272a272..77f0e17ae 100644 --- a/src/MusicGroup.php +++ b/src/MusicGroup.php @@ -28,6 +28,7 @@ class MusicGroup extends BaseType implements MusicGroupContract, OrganizationCon * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -37,10 +38,14 @@ public function actionableFeedbackPolicy($actionableFeedbackPolicy) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -234,6 +239,7 @@ public function contactPoints($contactPoints) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -314,6 +320,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -332,6 +339,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -347,7 +355,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -541,6 +548,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -572,7 +580,6 @@ public function genre($genre) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -634,7 +641,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -717,7 +723,6 @@ public function interactionStatistic($interactionStatistic) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -773,6 +778,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -791,6 +797,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -805,7 +812,6 @@ public function knowsLanguage($knowsLanguage) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -850,7 +856,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -881,7 +886,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -956,7 +960,6 @@ public function musicGroupMember($musicGroupMember) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1022,6 +1025,7 @@ public function numberOfEmployees($numberOfEmployees) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1036,7 +1040,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1150,7 +1153,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1241,7 +1243,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1271,7 +1272,6 @@ public function telephone($telephone) * @return static * * @see https://schema.org/track - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public function track($track) { @@ -1303,6 +1303,7 @@ public function tracks($tracks) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1331,7 +1332,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/MusicPlaylist.php b/src/MusicPlaylist.php index 5958ab8a5..1dc830b09 100644 --- a/src/MusicPlaylist.php +++ b/src/MusicPlaylist.php @@ -200,10 +200,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -583,6 +587,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -912,7 +917,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -983,6 +987,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1012,7 +1017,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1150,7 +1154,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1901,6 +1905,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1916,9 +1934,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -1940,7 +1957,6 @@ public function timeRequired($timeRequired) * @return static * * @see https://schema.org/track - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public function track($track) { @@ -2086,7 +2102,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/MusicRecording.php b/src/MusicRecording.php index 0c33bdf43..d4316f284 100644 --- a/src/MusicRecording.php +++ b/src/MusicRecording.php @@ -200,10 +200,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -597,6 +601,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -941,7 +946,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1012,6 +1016,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1041,7 +1046,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1207,7 +1211,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1273,7 +1277,6 @@ public function isPartOf($isPartOf) * @return static * * @see https://schema.org/isrcCode - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public function isrcCode($isrcCode) { @@ -1652,7 +1655,6 @@ public function recordedAt($recordedAt) * @return static * * @see https://schema.org/recordingOf - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public function recordingOf($recordingOf) { @@ -1974,6 +1976,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1989,9 +2005,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2129,7 +2144,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/MusicRelease.php b/src/MusicRelease.php index a000bfa32..fc4c2373b 100644 --- a/src/MusicRelease.php +++ b/src/MusicRelease.php @@ -11,7 +11,6 @@ * A MusicRelease is a specific release of a music album. * * @see https://schema.org/MusicRelease - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ * */ class MusicRelease extends BaseType implements MusicReleaseContract, CreativeWorkContract, MusicPlaylistContract, ThingContract @@ -202,10 +201,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -394,7 +397,6 @@ public function awards($awards) * @return static * * @see https://schema.org/catalogNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public function catalogNumber($catalogNumber) { @@ -600,6 +602,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -692,7 +695,6 @@ public function creditText($creditText) * @return static * * @see https://schema.org/creditedTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public function creditedTo($creditedTo) { @@ -961,7 +963,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1032,6 +1033,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1061,7 +1063,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1199,7 +1200,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1433,7 +1434,6 @@ public function mentions($mentions) * @return static * * @see https://schema.org/musicReleaseFormat - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public function musicReleaseFormat($musicReleaseFormat) { @@ -1644,7 +1644,6 @@ public function publishingPrinciples($publishingPrinciples) * @return static * * @see https://schema.org/recordLabel - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public function recordLabel($recordLabel) { @@ -1674,7 +1673,6 @@ public function recordedAt($recordedAt) * @return static * * @see https://schema.org/releaseOf - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public function releaseOf($releaseOf) { @@ -1996,6 +1994,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2011,9 +2023,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2035,7 +2046,6 @@ public function timeRequired($timeRequired) * @return static * * @see https://schema.org/track - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public function track($track) { @@ -2181,7 +2191,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/MusicReleaseFormatType.php b/src/MusicReleaseFormatType.php index 1414dc0af..737ff6ff7 100644 --- a/src/MusicReleaseFormatType.php +++ b/src/MusicReleaseFormatType.php @@ -12,7 +12,6 @@ * digital media, LP, etc.). * * @see https://schema.org/MusicReleaseFormatType - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ * * @method static supersededBy($supersededBy) The value should be instance of pending types Class|Class[]|Enumeration|Enumeration[]|Property|Property[] */ @@ -22,7 +21,6 @@ class MusicReleaseFormatType extends BaseType implements MusicReleaseFormatTypeC * CDFormat. * * @see https://schema.org/CDFormat - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public const CDFormat = 'https://schema.org/CDFormat'; @@ -30,7 +28,6 @@ class MusicReleaseFormatType extends BaseType implements MusicReleaseFormatTypeC * CassetteFormat. * * @see https://schema.org/CassetteFormat - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public const CassetteFormat = 'https://schema.org/CassetteFormat'; @@ -38,7 +35,6 @@ class MusicReleaseFormatType extends BaseType implements MusicReleaseFormatTypeC * DVDFormat. * * @see https://schema.org/DVDFormat - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public const DVDFormat = 'https://schema.org/DVDFormat'; @@ -46,7 +42,6 @@ class MusicReleaseFormatType extends BaseType implements MusicReleaseFormatTypeC * DigitalAudioTapeFormat. * * @see https://schema.org/DigitalAudioTapeFormat - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public const DigitalAudioTapeFormat = 'https://schema.org/DigitalAudioTapeFormat'; @@ -54,7 +49,6 @@ class MusicReleaseFormatType extends BaseType implements MusicReleaseFormatTypeC * DigitalFormat. * * @see https://schema.org/DigitalFormat - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public const DigitalFormat = 'https://schema.org/DigitalFormat'; @@ -62,7 +56,6 @@ class MusicReleaseFormatType extends BaseType implements MusicReleaseFormatTypeC * LaserDiscFormat. * * @see https://schema.org/LaserDiscFormat - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public const LaserDiscFormat = 'https://schema.org/LaserDiscFormat'; @@ -70,17 +63,20 @@ class MusicReleaseFormatType extends BaseType implements MusicReleaseFormatTypeC * VinylFormat. * * @see https://schema.org/VinylFormat - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public const VinylFormat = 'https://schema.org/VinylFormat'; /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/MusicStore.php b/src/MusicStore.php index 1ab90828b..e8e0d463d 100644 --- a/src/MusicStore.php +++ b/src/MusicStore.php @@ -29,6 +29,7 @@ class MusicStore extends BaseType implements MusicStoreContract, LocalBusinessCo * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/MusicVenue.php b/src/MusicVenue.php index 71d562c1f..09acefb75 100644 --- a/src/MusicVenue.php +++ b/src/MusicVenue.php @@ -40,10 +40,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -110,7 +114,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -451,7 +454,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -549,7 +551,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -595,7 +596,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -724,7 +724,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -856,7 +855,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/MusicVideoObject.php b/src/MusicVideoObject.php index d50496410..c7aefc3ca 100644 --- a/src/MusicVideoObject.php +++ b/src/MusicVideoObject.php @@ -201,10 +201,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -641,6 +645,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -1039,7 +1044,6 @@ public function endTime($endTime) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1110,6 +1114,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1139,7 +1144,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1312,7 +1316,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2153,6 +2157,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2168,9 +2186,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2336,7 +2353,6 @@ public function width($width) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/NGO.php b/src/NGO.php index 8f5d542b7..4a5dd9885 100644 --- a/src/NGO.php +++ b/src/NGO.php @@ -26,6 +26,7 @@ class NGO extends BaseType implements NGOContract, OrganizationContract, ThingCo * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -35,10 +36,14 @@ public function actionableFeedbackPolicy($actionableFeedbackPolicy) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -204,6 +209,7 @@ public function contactPoints($contactPoints) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -284,6 +290,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -302,6 +309,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -317,7 +325,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -511,6 +518,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -528,7 +536,6 @@ public function funding($funding) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -590,7 +597,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -673,7 +679,6 @@ public function interactionStatistic($interactionStatistic) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -729,6 +734,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -747,6 +753,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -761,7 +768,6 @@ public function knowsLanguage($knowsLanguage) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -806,7 +812,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -837,7 +842,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -897,7 +901,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -963,6 +966,7 @@ public function numberOfEmployees($numberOfEmployees) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -977,7 +981,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1091,7 +1094,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1182,7 +1184,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1214,6 +1215,7 @@ public function telephone($telephone) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1242,7 +1244,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/NLNonprofitType.php b/src/NLNonprofitType.php index 87cb65577..05a137989 100644 --- a/src/NLNonprofitType.php +++ b/src/NLNonprofitType.php @@ -43,10 +43,14 @@ class NLNonprofitType extends BaseType implements NLNonprofitTypeContract, Enume /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/NailSalon.php b/src/NailSalon.php index 16a28ba4a..1a6765969 100644 --- a/src/NailSalon.php +++ b/src/NailSalon.php @@ -29,6 +29,7 @@ class NailSalon extends BaseType implements NailSalonContract, HealthAndBeautyBu * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/Nerve.php b/src/Nerve.php index 9db31f133..3c9f5a126 100644 --- a/src/Nerve.php +++ b/src/Nerve.php @@ -20,10 +20,14 @@ class Nerve extends BaseType implements NerveContract, AnatomicalStructureContra /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -186,6 +190,7 @@ public function disambiguatingDescription($disambiguatingDescription) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/NewsArticle.php b/src/NewsArticle.php index 181ebdcb1..99173ed2c 100644 --- a/src/NewsArticle.php +++ b/src/NewsArticle.php @@ -205,10 +205,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -431,6 +435,7 @@ public function awards($awards) * * @see https://schema.org/backstory * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function backstory($backstory) { @@ -636,6 +641,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -992,7 +998,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1063,6 +1068,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1092,7 +1098,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1230,7 +1235,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1499,7 +1504,6 @@ public function offers($offers) * @return static * * @see https://schema.org/pageEnd - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pageEnd($pageEnd) { @@ -1514,7 +1518,6 @@ public function pageEnd($pageEnd) * @return static * * @see https://schema.org/pageStart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pageStart($pageStart) { @@ -1530,7 +1533,6 @@ public function pageStart($pageStart) * @return static * * @see https://schema.org/pagination - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pagination($pagination) { @@ -2113,6 +2115,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2128,9 +2144,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2282,7 +2297,6 @@ public function wordCount($wordCount) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/NewsMediaOrganization.php b/src/NewsMediaOrganization.php index 39fc738dd..f07c48fda 100644 --- a/src/NewsMediaOrganization.php +++ b/src/NewsMediaOrganization.php @@ -11,6 +11,7 @@ * * @see https://schema.org/NewsMediaOrganization * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 * */ class NewsMediaOrganization extends BaseType implements NewsMediaOrganizationContract, OrganizationContract, ThingContract @@ -27,6 +28,7 @@ class NewsMediaOrganization extends BaseType implements NewsMediaOrganizationCon * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -36,10 +38,14 @@ public function actionableFeedbackPolicy($actionableFeedbackPolicy) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -205,6 +211,7 @@ public function contactPoints($contactPoints) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -285,6 +292,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -303,6 +311,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -318,7 +327,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -512,6 +520,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -529,7 +538,6 @@ public function funding($funding) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -591,7 +599,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -674,7 +681,6 @@ public function interactionStatistic($interactionStatistic) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -730,6 +736,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -748,6 +755,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -762,7 +770,6 @@ public function knowsLanguage($knowsLanguage) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -807,7 +814,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -838,7 +844,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -855,6 +860,7 @@ public function makesOffer($makesOffer) * * @see https://schema.org/masthead * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function masthead($masthead) { @@ -915,6 +921,7 @@ public function members($members) * * @see https://schema.org/missionCoveragePrioritiesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function missionCoveragePrioritiesPolicy($missionCoveragePrioritiesPolicy) { @@ -930,7 +937,6 @@ public function missionCoveragePrioritiesPolicy($missionCoveragePrioritiesPolicy * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -961,6 +967,7 @@ public function name($name) * * @see https://schema.org/noBylinesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function noBylinesPolicy($noBylinesPolicy) { @@ -1012,6 +1019,7 @@ public function numberOfEmployees($numberOfEmployees) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1026,7 +1034,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1140,7 +1147,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1231,7 +1237,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1263,6 +1268,7 @@ public function telephone($telephone) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1291,7 +1297,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { @@ -1308,6 +1313,7 @@ public function vatID($vatID) * * @see https://schema.org/verificationFactCheckingPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function verificationFactCheckingPolicy($verificationFactCheckingPolicy) { diff --git a/src/Newspaper.php b/src/Newspaper.php index eb1c3977b..020ee60fe 100644 --- a/src/Newspaper.php +++ b/src/Newspaper.php @@ -208,10 +208,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -591,6 +595,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -936,7 +941,6 @@ public function endDate($endDate) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1007,6 +1011,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1036,7 +1041,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1174,7 +1178,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1242,7 +1246,6 @@ public function isPartOf($isPartOf) * @return static * * @see https://schema.org/issn - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function issn($issn) { @@ -1944,6 +1947,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1959,9 +1976,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2099,7 +2115,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/NightClub.php b/src/NightClub.php index da46fb6ff..dfdceafc8 100644 --- a/src/NightClub.php +++ b/src/NightClub.php @@ -29,6 +29,7 @@ class NightClub extends BaseType implements NightClubContract, EntertainmentBusi * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/NonprofitType.php b/src/NonprofitType.php index 404676a26..eab62ebba 100644 --- a/src/NonprofitType.php +++ b/src/NonprofitType.php @@ -22,10 +22,14 @@ class NonprofitType extends BaseType implements NonprofitTypeContract, Enumerati /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/Notary.php b/src/Notary.php index 689d10257..61405902a 100644 --- a/src/Notary.php +++ b/src/Notary.php @@ -29,6 +29,7 @@ class Notary extends BaseType implements NotaryContract, LegalServiceContract, L * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/NoteDigitalDocument.php b/src/NoteDigitalDocument.php index 853883c21..3cc5324ad 100644 --- a/src/NoteDigitalDocument.php +++ b/src/NoteDigitalDocument.php @@ -201,10 +201,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -584,6 +588,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -913,7 +918,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -984,6 +988,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1029,7 +1034,6 @@ public function hasDigitalDocumentPermission($hasDigitalDocumentPermission) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1167,7 +1171,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1904,6 +1908,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1919,9 +1937,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2059,7 +2076,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/NutritionInformation.php b/src/NutritionInformation.php index e9d51f51c..c38d39067 100644 --- a/src/NutritionInformation.php +++ b/src/NutritionInformation.php @@ -18,10 +18,14 @@ class NutritionInformation extends BaseType implements NutritionInformationContr /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/Observation.php b/src/Observation.php index 925c24ec5..22c9b5032 100644 --- a/src/Observation.php +++ b/src/Observation.php @@ -4,35 +4,69 @@ use Spatie\SchemaOrg\Contracts\IntangibleContract; use Spatie\SchemaOrg\Contracts\ObservationContract; +use Spatie\SchemaOrg\Contracts\QuantitativeValueContract; +use Spatie\SchemaOrg\Contracts\StructuredValueContract; use Spatie\SchemaOrg\Contracts\ThingContract; /** * Instances of the class [[Observation]] are used to specify observations about - * an entity (which may or may not be an instance of a - * [[StatisticalPopulation]]), at a particular time. The principal properties of - * an [[Observation]] are [[observedNode]], [[measuredProperty]], - * [[measuredValue]] (or [[median]], etc.) and [[observationDate]] - * ([[measuredProperty]] properties can, but need not always, be W3C RDF Data - * Cube "measure properties", as in the [lifeExpectancy - * example](https://www.w3.org/TR/vocab-data-cube/#dsd-example)). - * See also [[StatisticalPopulation]], and the [data and - * datasets](/docs/data-and-datasets.html) overview for more details. + * an entity at a particular time. The principal properties of an + * [[Observation]] are [[observationAbout]], [[measuredProperty]], [[statType]], + * [[value] and [[observationDate]] and [[measuredProperty]]. Some but not all + * Observations represent a [[QuantitativeValue]]. Quantitative observations can + * be about a [[StatisticalVariable]], which is an abstract specification about + * which we can make observations that are grounded at a particular location and + * time. + * + * Observations can also encode a subset of simple RDF-like statements (its + * observationAbout, a StatisticalVariable, defining the measuredPoperty; its + * observationAbout property indicating the entity the statement is about, and + * [[value]] ) + * + * In the context of a quantitative knowledge graph, typical properties could + * include [[measuredProperty]], [[observationAbout]], [[observationDate]], + * [[value]], [[unitCode]], [[unitText]], [[measurementMethod]]. * * @see https://schema.org/Observation * @see https://pending.schema.org * @link https://github.com/schemaorg/schemaorg/issues/2291 * - * @method static measuredValue($measuredValue) The value should be instance of pending types DataType|DataType[] */ -class Observation extends BaseType implements ObservationContract, IntangibleContract, ThingContract +class Observation extends BaseType implements ObservationContract, IntangibleContract, QuantitativeValueContract, StructuredValueContract, ThingContract { + /** + * A property-value pair representing an additional characteristic of the + * entity, e.g. a product feature or another characteristic for which there + * is no matching property in schema.org. + * + * Note: Publishers should be aware that applications designed to use + * specific schema.org properties (e.g. https://schema.org/width, + * https://schema.org/color, https://schema.org/gtin13, ...) will typically + * expect such data to be provided using those properties, rather than using + * the generic property/value mechanism. + * + * @param \Spatie\SchemaOrg\Contracts\PropertyValueContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract[] $additionalProperty + * + * @return static + * + * @see https://schema.org/additionalProperty + */ + public function additionalProperty($additionalProperty) + { + return $this->setProperty('additionalProperty', $additionalProperty); + } + /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -140,7 +174,7 @@ public function mainEntityOfPage($mainEntityOfPage) } /** - * A marginOfError for an [[Observation]]. + * A [[marginOfError]] for an [[Observation]]. * * @param \Spatie\SchemaOrg\Contracts\QuantitativeValueContract|\Spatie\SchemaOrg\Contracts\QuantitativeValueContract[] $marginOfError * @@ -156,10 +190,25 @@ public function marginOfError($marginOfError) } /** - * The measuredProperty of an [[Observation]], either a schema.org property, - * a property from other RDF-compatible systems, e.g. W3C RDF Data Cube, or - * schema.org extensions such as - * [GS1's](https://www.gs1.org/voc/?show=properties). + * The upper value of some characteristic or property. + * + * @param float|float[]|int|int[] $maxValue + * + * @return static + * + * @see https://schema.org/maxValue + */ + public function maxValue($maxValue) + { + return $this->setProperty('maxValue', $maxValue); + } + + /** + * The measuredProperty of an [[Observation]], typically via its + * [[StatisticalVariable]]. There are various kinds of applicable + * [[Property]]: a schema.org property, a property from other RDF-compatible + * systems, e.g. W3C RDF Data Cube, Data Commons, Wikidata, or schema.org + * extensions such as [GS1's](https://www.gs1.org/voc/?show=properties). * * @param \Spatie\SchemaOrg\Contracts\PropertyContract|\Spatie\SchemaOrg\Contracts\PropertyContract[] $measuredProperty * @@ -174,6 +223,114 @@ public function measuredProperty($measuredProperty) return $this->setProperty('measuredProperty', $measuredProperty); } + /** + * Identifies the denominator variable when an observation represents a + * ratio or percentage. + * + * @param \Spatie\SchemaOrg\Contracts\StatisticalVariableContract|\Spatie\SchemaOrg\Contracts\StatisticalVariableContract[] $measurementDenominator + * + * @return static + * + * @see https://schema.org/measurementDenominator + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/2564 + */ + public function measurementDenominator($measurementDenominator) + { + return $this->setProperty('measurementDenominator', $measurementDenominator); + } + + /** + * A subproperty of [[measurementTechnique]] that can be used for specifying + * specific methods, in particular via [[MeasurementMethodEnum]]. + * + * @param \Spatie\SchemaOrg\Contracts\MeasurementMethodEnumContract|\Spatie\SchemaOrg\Contracts\MeasurementMethodEnumContract[]|string|string[] $measurementMethod + * + * @return static + * + * @see https://schema.org/measurementMethod + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1425 + */ + public function measurementMethod($measurementMethod) + { + return $this->setProperty('measurementMethod', $measurementMethod); + } + + /** + * Provides additional qualification to an observation. For example, a GDP + * observation measures the Nominal value. + * + * @param \Spatie\SchemaOrg\Contracts\EnumerationContract|\Spatie\SchemaOrg\Contracts\EnumerationContract[] $measurementQualifier + * + * @return static + * + * @see https://schema.org/measurementQualifier + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/2564 + */ + public function measurementQualifier($measurementQualifier) + { + return $this->setProperty('measurementQualifier', $measurementQualifier); + } + + /** + * A technique, method or technology used in an [[Observation]], + * [[StatisticalVariable]] or [[Dataset]] (or [[DataDownload]], + * [[DataCatalog]]), corresponding to the method used for measuring the + * corresponding variable(s) (for datasets, described using + * [[variableMeasured]]; for [[Observation]], a [[StatisticalVariable]]). + * Often but not necessarily each [[variableMeasured]] will have an explicit + * representation as (or mapping to) an property such as those defined in + * Schema.org, or other RDF vocabularies and "knowledge graphs". In that + * case the subproperty of [[variableMeasured]] called [[measuredProperty]] + * is applicable. + * + * The [[measurementTechnique]] property helps when extra clarification is + * needed about how a [[measuredProperty]] was measured. This is oriented + * towards scientific and scholarly dataset publication but may have broader + * applicability; it is not intended as a full representation of + * measurement, but can often serve as a high level summary for dataset + * discovery. + * + * For example, if [[variableMeasured]] is: molecule concentration, + * [[measurementTechnique]] could be: "mass spectrometry" or "nmr + * spectroscopy" or "colorimetry" or "immunofluorescence". If the + * [[variableMeasured]] is "depression rating", the [[measurementTechnique]] + * could be "Zung Scale" or "HAM-D" or "Beck Depression Inventory". + * + * If there are several [[variableMeasured]] properties recorded for some + * given data object, use a [[PropertyValue]] for each [[variableMeasured]] + * and attach the corresponding [[measurementTechnique]]. The value can also + * be from an enumeration, organized as a [[MeasurementMetholdEnumeration]]. + * + * @param \Spatie\SchemaOrg\Contracts\MeasurementMethodEnumContract|\Spatie\SchemaOrg\Contracts\MeasurementMethodEnumContract[]|string|string[] $measurementTechnique + * + * @return static + * + * @see https://schema.org/measurementTechnique + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1425 + */ + public function measurementTechnique($measurementTechnique) + { + return $this->setProperty('measurementTechnique', $measurementTechnique); + } + + /** + * The lower value of some characteristic or property. + * + * @param float|float[]|int|int[] $minValue + * + * @return static + * + * @see https://schema.org/minValue + */ + public function minValue($minValue) + { + return $this->setProperty('minValue', $minValue); + } + /** * The name of the item. * @@ -189,36 +346,36 @@ public function name($name) } /** - * The observationDate of an [[Observation]]. + * The [[observationAbout]] property identifies an entity, often a + * [[Place]], associated with an [[Observation]]. * - * @param \DateTimeInterface|\DateTimeInterface[] $observationDate + * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[]|\Spatie\SchemaOrg\Contracts\ThingContract|\Spatie\SchemaOrg\Contracts\ThingContract[] $observationAbout * * @return static * - * @see https://schema.org/observationDate + * @see https://schema.org/observationAbout * @see https://pending.schema.org * @link https://github.com/schemaorg/schemaorg/issues/2291 */ - public function observationDate($observationDate) + public function observationAbout($observationAbout) { - return $this->setProperty('observationDate', $observationDate); + return $this->setProperty('observationAbout', $observationAbout); } /** - * The observedNode of an [[Observation]], often a - * [[StatisticalPopulation]]. + * The observationDate of an [[Observation]]. * - * @param \Spatie\SchemaOrg\Contracts\StatisticalPopulationContract|\Spatie\SchemaOrg\Contracts\StatisticalPopulationContract[] $observedNode + * @param \DateTimeInterface|\DateTimeInterface[] $observationDate * * @return static * - * @see https://schema.org/observedNode + * @see https://schema.org/observationDate * @see https://pending.schema.org * @link https://github.com/schemaorg/schemaorg/issues/2291 */ - public function observedNode($observedNode) + public function observationDate($observationDate) { - return $this->setProperty('observedNode', $observedNode); + return $this->setProperty('observationDate', $observationDate); } /** @@ -267,6 +424,38 @@ public function subjectOf($subjectOf) return $this->setProperty('subjectOf', $subjectOf); } + /** + * The unit of measurement given using the UN/CEFACT Common Code (3 + * characters) or a URL. Other codes than the UN/CEFACT Common Code may be + * used with a prefix followed by a colon. + * + * @param string|string[] $unitCode + * + * @return static + * + * @see https://schema.org/unitCode + */ + public function unitCode($unitCode) + { + return $this->setProperty('unitCode', $unitCode); + } + + /** + * A string or text indicating the unit of measurement. Useful if you cannot + * provide a standard unit code for + * unitCode. + * + * @param string|string[] $unitText + * + * @return static + * + * @see https://schema.org/unitText + */ + public function unitText($unitText) + { + return $this->setProperty('unitText', $unitText); + } + /** * URL of the item. * @@ -280,4 +469,62 @@ public function url($url) { return $this->setProperty('url', $url); } + + /** + * The value of a [[QuantitativeValue]] (including [[Observation]]) or + * property value node. + * + * * For [[QuantitativeValue]] and [[MonetaryAmount]], the recommended type + * for values is 'Number'. + * * For [[PropertyValue]], it can be 'Text', 'Number', 'Boolean', or + * 'StructuredValue'. + * * Use values from 0123456789 (Unicode 'DIGIT ZERO' (U+0030) to 'DIGIT + * NINE' (U+0039)) rather than superficially similar Unicode symbols. + * * Use '.' (Unicode 'FULL STOP' (U+002E)) rather than ',' to indicate a + * decimal point. Avoid using these symbols as a readability separator. + * + * @param \Spatie\SchemaOrg\Contracts\StructuredValueContract|\Spatie\SchemaOrg\Contracts\StructuredValueContract[]|bool|bool[]|float|float[]|int|int[]|string|string[] $value + * + * @return static + * + * @see https://schema.org/value + */ + public function value($value) + { + return $this->setProperty('value', $value); + } + + /** + * A secondary value that provides additional information on the original + * value, e.g. a reference temperature or a type of measurement. + * + * @param \Spatie\SchemaOrg\Contracts\DefinedTermContract|\Spatie\SchemaOrg\Contracts\DefinedTermContract[]|\Spatie\SchemaOrg\Contracts\EnumerationContract|\Spatie\SchemaOrg\Contracts\EnumerationContract[]|\Spatie\SchemaOrg\Contracts\MeasurementTypeEnumerationContract|\Spatie\SchemaOrg\Contracts\MeasurementTypeEnumerationContract[]|\Spatie\SchemaOrg\Contracts\PropertyValueContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract[]|\Spatie\SchemaOrg\Contracts\QualitativeValueContract|\Spatie\SchemaOrg\Contracts\QualitativeValueContract[]|\Spatie\SchemaOrg\Contracts\QuantitativeValueContract|\Spatie\SchemaOrg\Contracts\QuantitativeValueContract[]|\Spatie\SchemaOrg\Contracts\StructuredValueContract|\Spatie\SchemaOrg\Contracts\StructuredValueContract[]|string|string[] $valueReference + * + * @return static + * + * @see https://schema.org/valueReference + */ + public function valueReference($valueReference) + { + return $this->setProperty('valueReference', $valueReference); + } + + /** + * The variableMeasured property can indicate (repeated as necessary) the + * variables that are measured in some dataset, either described as text or + * as pairs of identifier and description using PropertyValue, or more + * explicitly as a [[StatisticalVariable]]. + * + * @param \Spatie\SchemaOrg\Contracts\PropertyContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract[]|\Spatie\SchemaOrg\Contracts\PropertyContract[]|\Spatie\SchemaOrg\Contracts\StatisticalVariableContract|\Spatie\SchemaOrg\Contracts\StatisticalVariableContract[]|string|string[] $variableMeasured + * + * @return static + * + * @see https://schema.org/variableMeasured + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1083 + */ + public function variableMeasured($variableMeasured) + { + return $this->setProperty('variableMeasured', $variableMeasured); + } } diff --git a/src/Occupation.php b/src/Occupation.php index dd956ead9..06aa4e8d0 100644 --- a/src/Occupation.php +++ b/src/Occupation.php @@ -18,10 +18,14 @@ class Occupation extends BaseType implements OccupationContract, IntangibleContr /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/OccupationalExperienceRequirements.php b/src/OccupationalExperienceRequirements.php index 1a7f6cf8f..879ceef2d 100644 --- a/src/OccupationalExperienceRequirements.php +++ b/src/OccupationalExperienceRequirements.php @@ -20,10 +20,14 @@ class OccupationalExperienceRequirements extends BaseType implements Occupationa /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/OccupationalTherapy.php b/src/OccupationalTherapy.php index 758bee6e1..efd893613 100644 --- a/src/OccupationalTherapy.php +++ b/src/OccupationalTherapy.php @@ -23,10 +23,14 @@ class OccupationalTherapy extends BaseType implements OccupationalTherapyContrac /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -220,6 +224,7 @@ public function followup($followup) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/OceanBodyOfWater.php b/src/OceanBodyOfWater.php index 7f0bcf458..f9277d3f3 100644 --- a/src/OceanBodyOfWater.php +++ b/src/OceanBodyOfWater.php @@ -41,10 +41,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -111,7 +115,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -452,7 +455,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -550,7 +552,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -596,7 +597,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -698,7 +698,6 @@ public function name($name) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -830,7 +829,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/Offer.php b/src/Offer.php index 5f0b14c55..7fc0dddb2 100644 --- a/src/Offer.php +++ b/src/Offer.php @@ -25,7 +25,6 @@ * [GS1](http://www.gs1.org/). * * @see https://schema.org/Offer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms * */ class Offer extends BaseType implements OfferContract, IntangibleContract, ThingContract @@ -38,7 +37,6 @@ class Offer extends BaseType implements OfferContract, IntangibleContract, Thing * @return static * * @see https://schema.org/acceptedPaymentMethod - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function acceptedPaymentMethod($acceptedPaymentMethod) { @@ -55,7 +53,6 @@ public function acceptedPaymentMethod($acceptedPaymentMethod) * @return static * * @see https://schema.org/addOn - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function addOn($addOn) { @@ -65,10 +62,14 @@ public function addOn($addOn) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -90,7 +91,6 @@ public function additionalType($additionalType) * @return static * * @see https://schema.org/advanceBookingRequirement - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function advanceBookingRequirement($advanceBookingRequirement) { @@ -190,6 +190,7 @@ public function availability($availability) * @return static * * @see https://schema.org/availabilityEnds + * @link https://github.com/schemaorg/schemaorg/issues/1741 */ public function availabilityEnds($availabilityEnds) { @@ -205,6 +206,7 @@ public function availabilityEnds($availabilityEnds) * @return static * * @see https://schema.org/availabilityStarts + * @link https://github.com/schemaorg/schemaorg/issues/1741 */ public function availabilityStarts($availabilityStarts) { @@ -219,7 +221,6 @@ public function availabilityStarts($availabilityStarts) * @return static * * @see https://schema.org/availableAtOrFrom - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function availableAtOrFrom($availableAtOrFrom) { @@ -234,7 +235,6 @@ public function availableAtOrFrom($availableAtOrFrom) * @return static * * @see https://schema.org/availableDeliveryMethod - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function availableDeliveryMethod($availableDeliveryMethod) { @@ -251,7 +251,6 @@ public function availableDeliveryMethod($availableDeliveryMethod) * @return static * * @see https://schema.org/businessFunction - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function businessFunction($businessFunction) { @@ -303,7 +302,6 @@ public function checkoutPageURLTemplate($checkoutPageURLTemplate) * @return static * * @see https://schema.org/deliveryLeadTime - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function deliveryLeadTime($deliveryLeadTime) { @@ -349,7 +347,6 @@ public function disambiguatingDescription($disambiguatingDescription) * @return static * * @see https://schema.org/eligibleCustomerType - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function eligibleCustomerType($eligibleCustomerType) { @@ -364,7 +361,6 @@ public function eligibleCustomerType($eligibleCustomerType) * @return static * * @see https://schema.org/eligibleDuration - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function eligibleDuration($eligibleDuration) { @@ -381,7 +377,6 @@ public function eligibleDuration($eligibleDuration) * @return static * * @see https://schema.org/eligibleQuantity - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function eligibleQuantity($eligibleQuantity) { @@ -400,6 +395,7 @@ public function eligibleQuantity($eligibleQuantity) * @return static * * @see https://schema.org/eligibleRegion + * @link https://github.com/schemaorg/schemaorg/issues/1741 */ public function eligibleRegion($eligibleRegion) { @@ -417,7 +413,6 @@ public function eligibleRegion($eligibleRegion) * @return static * * @see https://schema.org/eligibleTransactionVolume - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function eligibleTransactionVolume($eligibleTransactionVolume) { @@ -497,7 +492,6 @@ public function gtin12($gtin12) * @return static * * @see https://schema.org/gtin13 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function gtin13($gtin13) { @@ -515,7 +509,6 @@ public function gtin13($gtin13) * @return static * * @see https://schema.org/gtin14 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function gtin14($gtin14) { @@ -533,7 +526,6 @@ public function gtin14($gtin14) * @return static * * @see https://schema.org/gtin8 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function gtin8($gtin8) { @@ -634,7 +626,6 @@ public function image($image) * @return static * * @see https://schema.org/includesObject - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function includesObject($includesObject) { @@ -670,7 +661,6 @@ public function ineligibleRegion($ineligibleRegion) * @return static * * @see https://schema.org/inventoryLevel - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function inventoryLevel($inventoryLevel) { @@ -800,7 +790,6 @@ public function mobileUrl($mobileUrl) * @return static * * @see https://schema.org/mpn - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function mpn($mpn) { @@ -919,7 +908,6 @@ public function priceCurrency($priceCurrency) * @return static * * @see https://schema.org/priceSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function priceSpecification($priceSpecification) { @@ -1009,7 +997,6 @@ public function seller($seller) * @return static * * @see https://schema.org/serialNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function serialNumber($serialNumber) { @@ -1042,7 +1029,6 @@ public function shippingDetails($shippingDetails) * @return static * * @see https://schema.org/sku - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function sku($sku) { @@ -1086,7 +1072,6 @@ public function url($url) * @return static * * @see https://schema.org/validFrom - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function validFrom($validFrom) { @@ -1102,7 +1087,6 @@ public function validFrom($validFrom) * @return static * * @see https://schema.org/validThrough - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function validThrough($validThrough) { @@ -1117,7 +1101,6 @@ public function validThrough($validThrough) * @return static * * @see https://schema.org/warranty - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function warranty($warranty) { diff --git a/src/OfferCatalog.php b/src/OfferCatalog.php index 01625fbdb..dec850291 100644 --- a/src/OfferCatalog.php +++ b/src/OfferCatalog.php @@ -19,10 +19,14 @@ class OfferCatalog extends BaseType implements OfferCatalogContract, IntangibleC /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/OfferForLease.php b/src/OfferForLease.php index 3c11260b3..6b2d702b1 100644 --- a/src/OfferForLease.php +++ b/src/OfferForLease.php @@ -30,7 +30,6 @@ class OfferForLease extends BaseType implements OfferForLeaseContract, Intangibl * @return static * * @see https://schema.org/acceptedPaymentMethod - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function acceptedPaymentMethod($acceptedPaymentMethod) { @@ -47,7 +46,6 @@ public function acceptedPaymentMethod($acceptedPaymentMethod) * @return static * * @see https://schema.org/addOn - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function addOn($addOn) { @@ -57,10 +55,14 @@ public function addOn($addOn) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -82,7 +84,6 @@ public function additionalType($additionalType) * @return static * * @see https://schema.org/advanceBookingRequirement - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function advanceBookingRequirement($advanceBookingRequirement) { @@ -182,6 +183,7 @@ public function availability($availability) * @return static * * @see https://schema.org/availabilityEnds + * @link https://github.com/schemaorg/schemaorg/issues/1741 */ public function availabilityEnds($availabilityEnds) { @@ -197,6 +199,7 @@ public function availabilityEnds($availabilityEnds) * @return static * * @see https://schema.org/availabilityStarts + * @link https://github.com/schemaorg/schemaorg/issues/1741 */ public function availabilityStarts($availabilityStarts) { @@ -211,7 +214,6 @@ public function availabilityStarts($availabilityStarts) * @return static * * @see https://schema.org/availableAtOrFrom - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function availableAtOrFrom($availableAtOrFrom) { @@ -226,7 +228,6 @@ public function availableAtOrFrom($availableAtOrFrom) * @return static * * @see https://schema.org/availableDeliveryMethod - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function availableDeliveryMethod($availableDeliveryMethod) { @@ -243,7 +244,6 @@ public function availableDeliveryMethod($availableDeliveryMethod) * @return static * * @see https://schema.org/businessFunction - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function businessFunction($businessFunction) { @@ -295,7 +295,6 @@ public function checkoutPageURLTemplate($checkoutPageURLTemplate) * @return static * * @see https://schema.org/deliveryLeadTime - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function deliveryLeadTime($deliveryLeadTime) { @@ -341,7 +340,6 @@ public function disambiguatingDescription($disambiguatingDescription) * @return static * * @see https://schema.org/eligibleCustomerType - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function eligibleCustomerType($eligibleCustomerType) { @@ -356,7 +354,6 @@ public function eligibleCustomerType($eligibleCustomerType) * @return static * * @see https://schema.org/eligibleDuration - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function eligibleDuration($eligibleDuration) { @@ -373,7 +370,6 @@ public function eligibleDuration($eligibleDuration) * @return static * * @see https://schema.org/eligibleQuantity - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function eligibleQuantity($eligibleQuantity) { @@ -392,6 +388,7 @@ public function eligibleQuantity($eligibleQuantity) * @return static * * @see https://schema.org/eligibleRegion + * @link https://github.com/schemaorg/schemaorg/issues/1741 */ public function eligibleRegion($eligibleRegion) { @@ -409,7 +406,6 @@ public function eligibleRegion($eligibleRegion) * @return static * * @see https://schema.org/eligibleTransactionVolume - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function eligibleTransactionVolume($eligibleTransactionVolume) { @@ -489,7 +485,6 @@ public function gtin12($gtin12) * @return static * * @see https://schema.org/gtin13 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function gtin13($gtin13) { @@ -507,7 +502,6 @@ public function gtin13($gtin13) * @return static * * @see https://schema.org/gtin14 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function gtin14($gtin14) { @@ -525,7 +519,6 @@ public function gtin14($gtin14) * @return static * * @see https://schema.org/gtin8 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function gtin8($gtin8) { @@ -626,7 +619,6 @@ public function image($image) * @return static * * @see https://schema.org/includesObject - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function includesObject($includesObject) { @@ -662,7 +654,6 @@ public function ineligibleRegion($ineligibleRegion) * @return static * * @see https://schema.org/inventoryLevel - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function inventoryLevel($inventoryLevel) { @@ -792,7 +783,6 @@ public function mobileUrl($mobileUrl) * @return static * * @see https://schema.org/mpn - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function mpn($mpn) { @@ -911,7 +901,6 @@ public function priceCurrency($priceCurrency) * @return static * * @see https://schema.org/priceSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function priceSpecification($priceSpecification) { @@ -1001,7 +990,6 @@ public function seller($seller) * @return static * * @see https://schema.org/serialNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function serialNumber($serialNumber) { @@ -1034,7 +1022,6 @@ public function shippingDetails($shippingDetails) * @return static * * @see https://schema.org/sku - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function sku($sku) { @@ -1078,7 +1065,6 @@ public function url($url) * @return static * * @see https://schema.org/validFrom - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function validFrom($validFrom) { @@ -1094,7 +1080,6 @@ public function validFrom($validFrom) * @return static * * @see https://schema.org/validThrough - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function validThrough($validThrough) { @@ -1109,7 +1094,6 @@ public function validThrough($validThrough) * @return static * * @see https://schema.org/warranty - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function warranty($warranty) { diff --git a/src/OfferForPurchase.php b/src/OfferForPurchase.php index c44a6b56a..04789dfd3 100644 --- a/src/OfferForPurchase.php +++ b/src/OfferForPurchase.php @@ -29,7 +29,6 @@ class OfferForPurchase extends BaseType implements OfferForPurchaseContract, Int * @return static * * @see https://schema.org/acceptedPaymentMethod - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function acceptedPaymentMethod($acceptedPaymentMethod) { @@ -46,7 +45,6 @@ public function acceptedPaymentMethod($acceptedPaymentMethod) * @return static * * @see https://schema.org/addOn - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function addOn($addOn) { @@ -56,10 +54,14 @@ public function addOn($addOn) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -81,7 +83,6 @@ public function additionalType($additionalType) * @return static * * @see https://schema.org/advanceBookingRequirement - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function advanceBookingRequirement($advanceBookingRequirement) { @@ -181,6 +182,7 @@ public function availability($availability) * @return static * * @see https://schema.org/availabilityEnds + * @link https://github.com/schemaorg/schemaorg/issues/1741 */ public function availabilityEnds($availabilityEnds) { @@ -196,6 +198,7 @@ public function availabilityEnds($availabilityEnds) * @return static * * @see https://schema.org/availabilityStarts + * @link https://github.com/schemaorg/schemaorg/issues/1741 */ public function availabilityStarts($availabilityStarts) { @@ -210,7 +213,6 @@ public function availabilityStarts($availabilityStarts) * @return static * * @see https://schema.org/availableAtOrFrom - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function availableAtOrFrom($availableAtOrFrom) { @@ -225,7 +227,6 @@ public function availableAtOrFrom($availableAtOrFrom) * @return static * * @see https://schema.org/availableDeliveryMethod - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function availableDeliveryMethod($availableDeliveryMethod) { @@ -242,7 +243,6 @@ public function availableDeliveryMethod($availableDeliveryMethod) * @return static * * @see https://schema.org/businessFunction - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function businessFunction($businessFunction) { @@ -294,7 +294,6 @@ public function checkoutPageURLTemplate($checkoutPageURLTemplate) * @return static * * @see https://schema.org/deliveryLeadTime - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function deliveryLeadTime($deliveryLeadTime) { @@ -340,7 +339,6 @@ public function disambiguatingDescription($disambiguatingDescription) * @return static * * @see https://schema.org/eligibleCustomerType - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function eligibleCustomerType($eligibleCustomerType) { @@ -355,7 +353,6 @@ public function eligibleCustomerType($eligibleCustomerType) * @return static * * @see https://schema.org/eligibleDuration - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function eligibleDuration($eligibleDuration) { @@ -372,7 +369,6 @@ public function eligibleDuration($eligibleDuration) * @return static * * @see https://schema.org/eligibleQuantity - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function eligibleQuantity($eligibleQuantity) { @@ -391,6 +387,7 @@ public function eligibleQuantity($eligibleQuantity) * @return static * * @see https://schema.org/eligibleRegion + * @link https://github.com/schemaorg/schemaorg/issues/1741 */ public function eligibleRegion($eligibleRegion) { @@ -408,7 +405,6 @@ public function eligibleRegion($eligibleRegion) * @return static * * @see https://schema.org/eligibleTransactionVolume - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function eligibleTransactionVolume($eligibleTransactionVolume) { @@ -488,7 +484,6 @@ public function gtin12($gtin12) * @return static * * @see https://schema.org/gtin13 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function gtin13($gtin13) { @@ -506,7 +501,6 @@ public function gtin13($gtin13) * @return static * * @see https://schema.org/gtin14 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function gtin14($gtin14) { @@ -524,7 +518,6 @@ public function gtin14($gtin14) * @return static * * @see https://schema.org/gtin8 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function gtin8($gtin8) { @@ -625,7 +618,6 @@ public function image($image) * @return static * * @see https://schema.org/includesObject - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function includesObject($includesObject) { @@ -661,7 +653,6 @@ public function ineligibleRegion($ineligibleRegion) * @return static * * @see https://schema.org/inventoryLevel - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function inventoryLevel($inventoryLevel) { @@ -791,7 +782,6 @@ public function mobileUrl($mobileUrl) * @return static * * @see https://schema.org/mpn - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function mpn($mpn) { @@ -910,7 +900,6 @@ public function priceCurrency($priceCurrency) * @return static * * @see https://schema.org/priceSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function priceSpecification($priceSpecification) { @@ -1000,7 +989,6 @@ public function seller($seller) * @return static * * @see https://schema.org/serialNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function serialNumber($serialNumber) { @@ -1033,7 +1021,6 @@ public function shippingDetails($shippingDetails) * @return static * * @see https://schema.org/sku - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function sku($sku) { @@ -1077,7 +1064,6 @@ public function url($url) * @return static * * @see https://schema.org/validFrom - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function validFrom($validFrom) { @@ -1093,7 +1079,6 @@ public function validFrom($validFrom) * @return static * * @see https://schema.org/validThrough - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function validThrough($validThrough) { @@ -1108,7 +1093,6 @@ public function validThrough($validThrough) * @return static * * @see https://schema.org/warranty - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function warranty($warranty) { diff --git a/src/OfferItemCondition.php b/src/OfferItemCondition.php index c69216bd4..a7e383c71 100644 --- a/src/OfferItemCondition.php +++ b/src/OfferItemCondition.php @@ -47,10 +47,14 @@ class OfferItemCondition extends BaseType implements OfferItemConditionContract, /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/OfferShippingDetails.php b/src/OfferShippingDetails.php index 00fcbef21..7555126f6 100644 --- a/src/OfferShippingDetails.php +++ b/src/OfferShippingDetails.php @@ -34,10 +34,14 @@ class OfferShippingDetails extends BaseType implements OfferShippingDetailsContr /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -89,7 +93,6 @@ public function deliveryTime($deliveryTime) * @return static * * @see https://schema.org/depth - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function depth($depth) { @@ -393,7 +396,6 @@ public function url($url) * @return static * * @see https://schema.org/weight - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function weight($weight) { diff --git a/src/OfficeEquipmentStore.php b/src/OfficeEquipmentStore.php index eaed4408b..c463d70b0 100644 --- a/src/OfficeEquipmentStore.php +++ b/src/OfficeEquipmentStore.php @@ -29,6 +29,7 @@ class OfficeEquipmentStore extends BaseType implements OfficeEquipmentStoreContr * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/OnDemandEvent.php b/src/OnDemandEvent.php index 14b446500..0eb6cafe2 100644 --- a/src/OnDemandEvent.php +++ b/src/OnDemandEvent.php @@ -50,10 +50,14 @@ public function actor($actor) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -146,7 +150,6 @@ public function audience($audience) * @return static * * @see https://schema.org/composer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public function composer($composer) { @@ -360,6 +363,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/OnlineBusiness.php b/src/OnlineBusiness.php index 767f22440..167fd426d 100644 --- a/src/OnlineBusiness.php +++ b/src/OnlineBusiness.php @@ -31,6 +31,7 @@ class OnlineBusiness extends BaseType implements OnlineBusinessContract, Organiz * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -40,10 +41,14 @@ public function actionableFeedbackPolicy($actionableFeedbackPolicy) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -209,6 +214,7 @@ public function contactPoints($contactPoints) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -289,6 +295,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -307,6 +314,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -322,7 +330,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -516,6 +523,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -533,7 +541,6 @@ public function funding($funding) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -595,7 +602,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -678,7 +684,6 @@ public function interactionStatistic($interactionStatistic) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -734,6 +739,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -752,6 +758,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -766,7 +773,6 @@ public function knowsLanguage($knowsLanguage) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -811,7 +817,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -842,7 +847,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -902,7 +906,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -968,6 +971,7 @@ public function numberOfEmployees($numberOfEmployees) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -982,7 +986,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1096,7 +1099,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1187,7 +1189,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1219,6 +1220,7 @@ public function telephone($telephone) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1247,7 +1249,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/OnlineStore.php b/src/OnlineStore.php index 39e8ad890..eb83fd859 100644 --- a/src/OnlineStore.php +++ b/src/OnlineStore.php @@ -29,6 +29,7 @@ class OnlineStore extends BaseType implements OnlineStoreContract, OnlineBusines * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -38,10 +39,14 @@ public function actionableFeedbackPolicy($actionableFeedbackPolicy) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -207,6 +212,7 @@ public function contactPoints($contactPoints) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -287,6 +293,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -305,6 +312,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -320,7 +328,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -514,6 +521,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -531,7 +539,6 @@ public function funding($funding) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -593,7 +600,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -676,7 +682,6 @@ public function interactionStatistic($interactionStatistic) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -732,6 +737,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -750,6 +756,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -764,7 +771,6 @@ public function knowsLanguage($knowsLanguage) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -809,7 +815,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -840,7 +845,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -900,7 +904,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -966,6 +969,7 @@ public function numberOfEmployees($numberOfEmployees) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -980,7 +984,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1094,7 +1097,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1185,7 +1187,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1217,6 +1218,7 @@ public function telephone($telephone) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1245,7 +1247,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/OpeningHoursSpecification.php b/src/OpeningHoursSpecification.php index 009cf944b..b402f40ec 100644 --- a/src/OpeningHoursSpecification.php +++ b/src/OpeningHoursSpecification.php @@ -19,7 +19,6 @@ * [[opens]] property then the hour range is assumed to span over the next day. * * @see https://schema.org/OpeningHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsClass * */ class OpeningHoursSpecification extends BaseType implements OpeningHoursSpecificationContract, IntangibleContract, StructuredValueContract, ThingContract @@ -27,10 +26,14 @@ class OpeningHoursSpecification extends BaseType implements OpeningHoursSpecific /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -65,7 +68,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/closes - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function closes($closes) { @@ -80,7 +82,6 @@ public function closes($closes) * @return static * * @see https://schema.org/dayOfWeek - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function dayOfWeek($dayOfWeek) { @@ -189,7 +190,6 @@ public function name($name) * @return static * * @see https://schema.org/opens - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function opens($opens) { @@ -264,7 +264,6 @@ public function url($url) * @return static * * @see https://schema.org/validFrom - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function validFrom($validFrom) { @@ -280,7 +279,6 @@ public function validFrom($validFrom) * @return static * * @see https://schema.org/validThrough - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function validThrough($validThrough) { diff --git a/src/OpinionNewsArticle.php b/src/OpinionNewsArticle.php index 130147dfa..97649e422 100644 --- a/src/OpinionNewsArticle.php +++ b/src/OpinionNewsArticle.php @@ -16,6 +16,7 @@ * * @see https://schema.org/OpinionNewsArticle * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 * */ class OpinionNewsArticle extends BaseType implements OpinionNewsArticleContract, ArticleContract, CreativeWorkContract, NewsArticleContract, ThingContract @@ -206,10 +207,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -432,6 +437,7 @@ public function awards($awards) * * @see https://schema.org/backstory * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function backstory($backstory) { @@ -637,6 +643,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -993,7 +1000,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1064,6 +1070,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1093,7 +1100,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1231,7 +1237,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1500,7 +1506,6 @@ public function offers($offers) * @return static * * @see https://schema.org/pageEnd - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pageEnd($pageEnd) { @@ -1515,7 +1520,6 @@ public function pageEnd($pageEnd) * @return static * * @see https://schema.org/pageStart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pageStart($pageStart) { @@ -1531,7 +1535,6 @@ public function pageStart($pageStart) * @return static * * @see https://schema.org/pagination - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pagination($pagination) { @@ -2114,6 +2117,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2129,9 +2146,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2283,7 +2299,6 @@ public function wordCount($wordCount) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/Optician.php b/src/Optician.php index eb0bcf9aa..6c7a6e512 100644 --- a/src/Optician.php +++ b/src/Optician.php @@ -30,6 +30,7 @@ class Optician extends BaseType implements OpticianContract, LocalBusinessContra * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -61,10 +62,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -145,7 +150,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -326,6 +330,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -428,6 +433,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -446,6 +452,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -461,7 +468,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -655,6 +661,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -858,7 +865,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -954,7 +960,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1051,7 +1056,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1107,6 +1111,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1125,6 +1130,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1154,7 +1160,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1199,7 +1204,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1245,7 +1249,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1347,7 +1350,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1434,7 +1436,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1455,6 +1456,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1469,7 +1471,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1654,7 +1655,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1698,7 +1698,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1778,7 +1777,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1828,6 +1826,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1856,7 +1855,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/Order.php b/src/Order.php index e04a4448e..b420266f1 100644 --- a/src/Order.php +++ b/src/Order.php @@ -34,10 +34,14 @@ public function acceptedOffer($acceptedOffer) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/OrderAction.php b/src/OrderAction.php index 61e0e9b77..d7f2004f4 100644 --- a/src/OrderAction.php +++ b/src/OrderAction.php @@ -32,10 +32,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -369,7 +373,6 @@ public function priceCurrency($priceCurrency) * @return static * * @see https://schema.org/priceSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function priceSpecification($priceSpecification) { diff --git a/src/OrderItem.php b/src/OrderItem.php index 94eaa42f2..bd063a2e1 100644 --- a/src/OrderItem.php +++ b/src/OrderItem.php @@ -18,10 +18,14 @@ class OrderItem extends BaseType implements OrderItemContract, IntangibleContrac /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/OrderStatus.php b/src/OrderStatus.php index f8c7febd9..9b37b4fd8 100644 --- a/src/OrderStatus.php +++ b/src/OrderStatus.php @@ -76,10 +76,14 @@ class OrderStatus extends BaseType implements OrderStatusContract, EnumerationCo /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/Organization.php b/src/Organization.php index 6212a4f56..8e36857b5 100644 --- a/src/Organization.php +++ b/src/Organization.php @@ -25,6 +25,7 @@ class Organization extends BaseType implements OrganizationContract, ThingContra * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -34,10 +35,14 @@ public function actionableFeedbackPolicy($actionableFeedbackPolicy) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -203,6 +208,7 @@ public function contactPoints($contactPoints) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -283,6 +289,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -301,6 +308,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -316,7 +324,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -510,6 +517,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -527,7 +535,6 @@ public function funding($funding) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -589,7 +596,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -672,7 +678,6 @@ public function interactionStatistic($interactionStatistic) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -728,6 +733,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -746,6 +752,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -760,7 +767,6 @@ public function knowsLanguage($knowsLanguage) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -805,7 +811,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -836,7 +841,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -896,7 +900,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -962,6 +965,7 @@ public function numberOfEmployees($numberOfEmployees) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -976,7 +980,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1090,7 +1093,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1181,7 +1183,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1213,6 +1214,7 @@ public function telephone($telephone) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1241,7 +1243,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/OrganizationRole.php b/src/OrganizationRole.php index cdd264d64..5d896095a 100644 --- a/src/OrganizationRole.php +++ b/src/OrganizationRole.php @@ -18,10 +18,14 @@ class OrganizationRole extends BaseType implements OrganizationRoleContract, Int /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/OrganizeAction.php b/src/OrganizeAction.php index 03854efec..a2b3c095e 100644 --- a/src/OrganizeAction.php +++ b/src/OrganizeAction.php @@ -32,10 +32,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/OutletStore.php b/src/OutletStore.php index f3c72e068..4b8408826 100644 --- a/src/OutletStore.php +++ b/src/OutletStore.php @@ -29,6 +29,7 @@ class OutletStore extends BaseType implements OutletStoreContract, LocalBusiness * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/OwnershipInfo.php b/src/OwnershipInfo.php index ee9bdf0d5..d5b923a8f 100644 --- a/src/OwnershipInfo.php +++ b/src/OwnershipInfo.php @@ -12,7 +12,6 @@ * person owned a certain product. * * @see https://schema.org/OwnershipInfo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsClass * */ class OwnershipInfo extends BaseType implements OwnershipInfoContract, IntangibleContract, StructuredValueContract, ThingContract @@ -25,7 +24,6 @@ class OwnershipInfo extends BaseType implements OwnershipInfoContract, Intangibl * @return static * * @see https://schema.org/acquiredFrom - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function acquiredFrom($acquiredFrom) { @@ -35,10 +33,14 @@ public function acquiredFrom($acquiredFrom) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -167,7 +169,6 @@ public function name($name) * @return static * * @see https://schema.org/ownedFrom - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function ownedFrom($ownedFrom) { @@ -182,7 +183,6 @@ public function ownedFrom($ownedFrom) * @return static * * @see https://schema.org/ownedThrough - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function ownedThrough($ownedThrough) { @@ -243,7 +243,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/typeOfGood - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function typeOfGood($typeOfGood) { diff --git a/src/PaintAction.php b/src/PaintAction.php index 3002d405d..103b577a4 100644 --- a/src/PaintAction.php +++ b/src/PaintAction.php @@ -33,10 +33,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/Painting.php b/src/Painting.php index b671afdff..8616587dd 100644 --- a/src/Painting.php +++ b/src/Painting.php @@ -200,10 +200,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -583,6 +587,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -912,7 +917,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -983,6 +987,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1012,7 +1017,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1150,7 +1154,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1887,6 +1891,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1902,9 +1920,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2042,7 +2059,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/PalliativeProcedure.php b/src/PalliativeProcedure.php index e92a0b32f..d0878282b 100644 --- a/src/PalliativeProcedure.php +++ b/src/PalliativeProcedure.php @@ -22,10 +22,14 @@ class PalliativeProcedure extends BaseType implements PalliativeProcedureContrac /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -219,6 +223,7 @@ public function followup($followup) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/ParcelDelivery.php b/src/ParcelDelivery.php index f9c76717d..3f359f5d5 100644 --- a/src/ParcelDelivery.php +++ b/src/ParcelDelivery.php @@ -18,10 +18,14 @@ class ParcelDelivery extends BaseType implements ParcelDeliveryContract, Intangi /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/ParentAudience.php b/src/ParentAudience.php index 99c7fc1af..28c7f7b78 100644 --- a/src/ParentAudience.php +++ b/src/ParentAudience.php @@ -20,10 +20,14 @@ class ParentAudience extends BaseType implements ParentAudienceContract, Audienc /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/Park.php b/src/Park.php index 238ed57f6..9204360b2 100644 --- a/src/Park.php +++ b/src/Park.php @@ -40,10 +40,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -110,7 +114,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -451,7 +454,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -549,7 +551,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -595,7 +596,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -724,7 +724,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -856,7 +855,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/ParkingFacility.php b/src/ParkingFacility.php index 8e12548aa..9b3602816 100644 --- a/src/ParkingFacility.php +++ b/src/ParkingFacility.php @@ -40,10 +40,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -110,7 +114,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -451,7 +454,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -549,7 +551,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -595,7 +596,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -724,7 +724,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -856,7 +855,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/PathologyTest.php b/src/PathologyTest.php index 5c0722bb5..861623998 100644 --- a/src/PathologyTest.php +++ b/src/PathologyTest.php @@ -20,10 +20,14 @@ class PathologyTest extends BaseType implements PathologyTestContract, MedicalEn /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -122,6 +126,7 @@ public function disambiguatingDescription($disambiguatingDescription) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/Patient.php b/src/Patient.php index 8aef05ebc..e9845a789 100644 --- a/src/Patient.php +++ b/src/Patient.php @@ -36,10 +36,14 @@ public function additionalName($additionalName) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -382,7 +386,6 @@ public function drug($drug) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -470,6 +473,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -538,7 +542,6 @@ public function givenName($givenName) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -600,7 +603,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -739,7 +741,6 @@ public function interactionStatistic($interactionStatistic) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -788,6 +789,7 @@ public function knows($knows) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -806,6 +808,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -836,7 +839,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -867,7 +869,6 @@ public function memberOf($memberOf) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -925,7 +926,6 @@ public function netWorth($netWorth) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1094,7 +1094,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1261,7 +1260,6 @@ public function suggestedMinAge($suggestedMinAge) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1304,7 +1302,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { @@ -1319,7 +1316,6 @@ public function vatID($vatID) * @return static * * @see https://schema.org/weight - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function weight($weight) { diff --git a/src/PawnShop.php b/src/PawnShop.php index 78a69c0c1..4b2d54734 100644 --- a/src/PawnShop.php +++ b/src/PawnShop.php @@ -30,6 +30,7 @@ class PawnShop extends BaseType implements PawnShopContract, LocalBusinessContra * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -61,10 +62,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -145,7 +150,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -326,6 +330,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -428,6 +433,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -446,6 +452,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -461,7 +468,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -655,6 +661,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -858,7 +865,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -954,7 +960,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1051,7 +1056,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1107,6 +1111,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1125,6 +1130,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1154,7 +1160,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1199,7 +1204,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1245,7 +1249,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1347,7 +1350,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1434,7 +1436,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1455,6 +1456,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1469,7 +1471,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1654,7 +1655,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1698,7 +1698,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1778,7 +1777,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1828,6 +1826,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1856,7 +1855,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/PayAction.php b/src/PayAction.php index 7bb8138f6..ca72aa56d 100644 --- a/src/PayAction.php +++ b/src/PayAction.php @@ -32,10 +32,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -355,7 +359,6 @@ public function priceCurrency($priceCurrency) * @return static * * @see https://schema.org/priceSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function priceSpecification($priceSpecification) { diff --git a/src/PaymentCard.php b/src/PaymentCard.php index 04c327821..99ac54457 100644 --- a/src/PaymentCard.php +++ b/src/PaymentCard.php @@ -15,7 +15,6 @@ * payment with an account. * * @see https://schema.org/PaymentCard - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#FIBO * * @method static supersededBy($supersededBy) The value should be instance of pending types Class|Class[]|Enumeration|Enumeration[]|Property|Property[] */ @@ -24,10 +23,14 @@ class PaymentCard extends BaseType implements PaymentCardContract, EnumerationCo /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -80,7 +83,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/annualPercentageRate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#FIBO */ public function annualPercentageRate($annualPercentageRate) { @@ -186,6 +188,7 @@ public function broker($broker) * * @see https://schema.org/cashBack * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1253 */ public function cashBack($cashBack) { @@ -217,6 +220,7 @@ public function category($category) * * @see https://schema.org/contactlessPayment * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1253 */ public function contactlessPayment($contactlessPayment) { @@ -263,7 +267,6 @@ public function disambiguatingDescription($disambiguatingDescription) * @return static * * @see https://schema.org/feesAndCommissionsSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#FIBO */ public function feesAndCommissionsSpecification($feesAndCommissionsSpecification) { @@ -280,6 +283,7 @@ public function feesAndCommissionsSpecification($feesAndCommissionsSpecification * * @see https://schema.org/floorLimit * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1253 */ public function floorLimit($floorLimit) { @@ -357,7 +361,6 @@ public function image($image) * @return static * * @see https://schema.org/interestRate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#FIBO */ public function interestRate($interestRate) { @@ -372,7 +375,6 @@ public function interestRate($interestRate) * @return static * * @see https://schema.org/isRelatedTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isRelatedTo($isRelatedTo) { @@ -388,7 +390,6 @@ public function isRelatedTo($isRelatedTo) * @return static * * @see https://schema.org/isSimilarTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isSimilarTo($isSimilarTo) { @@ -403,7 +404,6 @@ public function isSimilarTo($isSimilarTo) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -436,6 +436,7 @@ public function mainEntityOfPage($mainEntityOfPage) * * @see https://schema.org/monthlyMinimumRepaymentAmount * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1253 */ public function monthlyMinimumRepaymentAmount($monthlyMinimumRepaymentAmount) { diff --git a/src/PaymentChargeSpecification.php b/src/PaymentChargeSpecification.php index 7918a29a7..2753b0380 100644 --- a/src/PaymentChargeSpecification.php +++ b/src/PaymentChargeSpecification.php @@ -12,7 +12,6 @@ * The costs of settling the payment using a particular payment method. * * @see https://schema.org/PaymentChargeSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsClass * */ class PaymentChargeSpecification extends BaseType implements PaymentChargeSpecificationContract, IntangibleContract, PriceSpecificationContract, StructuredValueContract, ThingContract @@ -20,10 +19,14 @@ class PaymentChargeSpecification extends BaseType implements PaymentChargeSpecif /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -59,7 +62,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/appliesToDeliveryMethod - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function appliesToDeliveryMethod($appliesToDeliveryMethod) { @@ -74,7 +76,6 @@ public function appliesToDeliveryMethod($appliesToDeliveryMethod) * @return static * * @see https://schema.org/appliesToPaymentMethod - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function appliesToPaymentMethod($appliesToPaymentMethod) { @@ -122,7 +123,6 @@ public function disambiguatingDescription($disambiguatingDescription) * @return static * * @see https://schema.org/eligibleQuantity - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function eligibleQuantity($eligibleQuantity) { @@ -140,7 +140,6 @@ public function eligibleQuantity($eligibleQuantity) * @return static * * @see https://schema.org/eligibleTransactionVolume - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function eligibleTransactionVolume($eligibleTransactionVolume) { @@ -204,7 +203,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/maxPrice - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function maxPrice($maxPrice) { @@ -219,7 +217,6 @@ public function maxPrice($maxPrice) * @return static * * @see https://schema.org/minPrice - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function minPrice($minPrice) { @@ -368,7 +365,6 @@ public function url($url) * @return static * * @see https://schema.org/validFrom - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function validFrom($validFrom) { @@ -384,7 +380,6 @@ public function validFrom($validFrom) * @return static * * @see https://schema.org/validThrough - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function validThrough($validThrough) { @@ -400,7 +395,6 @@ public function validThrough($validThrough) * @return static * * @see https://schema.org/valueAddedTaxIncluded - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function valueAddedTaxIncluded($valueAddedTaxIncluded) { diff --git a/src/PaymentMethod.php b/src/PaymentMethod.php index 497e8c4f0..e27f90296 100644 --- a/src/PaymentMethod.php +++ b/src/PaymentMethod.php @@ -26,7 +26,6 @@ * * http://purl.org/goodrelations/v1#PaySwarm * * @see https://schema.org/PaymentMethod - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsClass * * @method static supersededBy($supersededBy) The value should be instance of pending types Class|Class[]|Enumeration|Enumeration[]|Property|Property[] */ @@ -35,10 +34,14 @@ class PaymentMethod extends BaseType implements PaymentMethodContract, Enumerati /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/PaymentService.php b/src/PaymentService.php index f70d31ea7..685c6c1fb 100644 --- a/src/PaymentService.php +++ b/src/PaymentService.php @@ -13,7 +13,6 @@ * person or organization. * * @see https://schema.org/PaymentService - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#FIBO * */ class PaymentService extends BaseType implements PaymentServiceContract, FinancialProductContract, IntangibleContract, ServiceContract, ThingContract @@ -21,10 +20,14 @@ class PaymentService extends BaseType implements PaymentServiceContract, Financi /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -77,7 +80,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/annualPercentageRate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#FIBO */ public function annualPercentageRate($annualPercentageRate) { @@ -228,7 +230,6 @@ public function disambiguatingDescription($disambiguatingDescription) * @return static * * @see https://schema.org/feesAndCommissionsSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#FIBO */ public function feesAndCommissionsSpecification($feesAndCommissionsSpecification) { @@ -306,7 +307,6 @@ public function image($image) * @return static * * @see https://schema.org/interestRate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#FIBO */ public function interestRate($interestRate) { @@ -321,7 +321,6 @@ public function interestRate($interestRate) * @return static * * @see https://schema.org/isRelatedTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isRelatedTo($isRelatedTo) { @@ -337,7 +336,6 @@ public function isRelatedTo($isRelatedTo) * @return static * * @see https://schema.org/isSimilarTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isSimilarTo($isSimilarTo) { @@ -352,7 +350,6 @@ public function isSimilarTo($isSimilarTo) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { diff --git a/src/PaymentStatusType.php b/src/PaymentStatusType.php index f997788e3..5c4cc67c9 100644 --- a/src/PaymentStatusType.php +++ b/src/PaymentStatusType.php @@ -55,10 +55,14 @@ class PaymentStatusType extends BaseType implements PaymentStatusTypeContract, E /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/PeopleAudience.php b/src/PeopleAudience.php index 0f7d1a912..21a9476c5 100644 --- a/src/PeopleAudience.php +++ b/src/PeopleAudience.php @@ -19,10 +19,14 @@ class PeopleAudience extends BaseType implements PeopleAudienceContract, Audienc /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/PerformAction.php b/src/PerformAction.php index 68fc6db61..53727d03c 100644 --- a/src/PerformAction.php +++ b/src/PerformAction.php @@ -32,10 +32,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/PerformanceRole.php b/src/PerformanceRole.php index ad56e476c..bf9187ad2 100644 --- a/src/PerformanceRole.php +++ b/src/PerformanceRole.php @@ -19,10 +19,14 @@ class PerformanceRole extends BaseType implements PerformanceRoleContract, Intan /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/PerformingArtsTheater.php b/src/PerformingArtsTheater.php index 0835f8682..c48485221 100644 --- a/src/PerformingArtsTheater.php +++ b/src/PerformingArtsTheater.php @@ -40,10 +40,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -110,7 +114,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -451,7 +454,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -549,7 +551,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -595,7 +596,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -724,7 +724,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -856,7 +855,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/PerformingGroup.php b/src/PerformingGroup.php index 596f98c4c..ecf680bc9 100644 --- a/src/PerformingGroup.php +++ b/src/PerformingGroup.php @@ -26,6 +26,7 @@ class PerformingGroup extends BaseType implements PerformingGroupContract, Organ * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -35,10 +36,14 @@ public function actionableFeedbackPolicy($actionableFeedbackPolicy) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -204,6 +209,7 @@ public function contactPoints($contactPoints) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -284,6 +290,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -302,6 +309,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -317,7 +325,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -511,6 +518,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -528,7 +536,6 @@ public function funding($funding) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -590,7 +597,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -673,7 +679,6 @@ public function interactionStatistic($interactionStatistic) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -729,6 +734,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -747,6 +753,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -761,7 +768,6 @@ public function knowsLanguage($knowsLanguage) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -806,7 +812,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -837,7 +842,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -897,7 +901,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -963,6 +966,7 @@ public function numberOfEmployees($numberOfEmployees) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -977,7 +981,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1091,7 +1094,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1182,7 +1184,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1214,6 +1215,7 @@ public function telephone($telephone) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1242,7 +1244,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/Periodical.php b/src/Periodical.php index e8163ceff..913af39c8 100644 --- a/src/Periodical.php +++ b/src/Periodical.php @@ -18,7 +18,6 @@ * post](http://blog.schema.org/2014/09/schemaorg-support-for-bibliographic_2.html). * * @see https://schema.org/Periodical - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex * */ class Periodical extends BaseType implements PeriodicalContract, CreativeWorkContract, CreativeWorkSeriesContract, IntangibleContract, SeriesContract, ThingContract @@ -209,10 +208,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -592,6 +595,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -937,7 +941,6 @@ public function endDate($endDate) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1008,6 +1011,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1037,7 +1041,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1175,7 +1178,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1243,7 +1246,6 @@ public function isPartOf($isPartOf) * @return static * * @see https://schema.org/issn - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function issn($issn) { @@ -1945,6 +1947,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1960,9 +1976,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2100,7 +2115,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/Permit.php b/src/Permit.php index 3705cee15..ddc551cfd 100644 --- a/src/Permit.php +++ b/src/Permit.php @@ -17,10 +17,14 @@ class Permit extends BaseType implements PermitContract, IntangibleContract, Thi /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -266,7 +270,6 @@ public function validFor($validFor) * @return static * * @see https://schema.org/validFrom - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function validFrom($validFrom) { diff --git a/src/Person.php b/src/Person.php index 4129bd606..be0e0c153 100644 --- a/src/Person.php +++ b/src/Person.php @@ -9,7 +9,6 @@ * A person (alive, dead, undead, or fictional). * * @see https://schema.org/Person - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_rNews * */ class Person extends BaseType implements PersonContract, ThingContract @@ -31,10 +30,14 @@ public function additionalName($additionalName) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -331,7 +334,6 @@ public function disambiguatingDescription($disambiguatingDescription) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -419,6 +421,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -473,7 +476,6 @@ public function givenName($givenName) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -535,7 +537,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -658,7 +659,6 @@ public function interactionStatistic($interactionStatistic) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -707,6 +707,7 @@ public function knows($knows) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -725,6 +726,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -755,7 +757,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -786,7 +787,6 @@ public function memberOf($memberOf) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -844,7 +844,6 @@ public function netWorth($netWorth) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -971,7 +970,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1060,7 +1058,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1103,7 +1100,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { @@ -1118,7 +1114,6 @@ public function vatID($vatID) * @return static * * @see https://schema.org/weight - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function weight($weight) { diff --git a/src/PetStore.php b/src/PetStore.php index ff4fc4df3..579f9b7cc 100644 --- a/src/PetStore.php +++ b/src/PetStore.php @@ -29,6 +29,7 @@ class PetStore extends BaseType implements PetStoreContract, LocalBusinessContra * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/Pharmacy.php b/src/Pharmacy.php index c6d1a2a77..eab7e0cc2 100644 --- a/src/Pharmacy.php +++ b/src/Pharmacy.php @@ -30,6 +30,7 @@ class Pharmacy extends BaseType implements PharmacyContract, LocalBusinessContra * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -61,10 +62,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -145,7 +150,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -326,6 +330,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -428,6 +433,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -446,6 +452,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -461,7 +468,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -655,6 +661,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -858,7 +865,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -954,7 +960,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1084,7 +1089,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1140,6 +1144,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1158,6 +1163,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1187,7 +1193,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1232,7 +1237,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1278,7 +1282,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1395,7 +1398,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1482,7 +1484,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1503,6 +1504,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1517,7 +1519,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1702,7 +1703,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1746,7 +1746,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1826,7 +1825,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1876,6 +1874,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1904,7 +1903,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/Photograph.php b/src/Photograph.php index 6cc66d93f..deea4b014 100644 --- a/src/Photograph.php +++ b/src/Photograph.php @@ -200,10 +200,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -583,6 +587,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -912,7 +917,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -983,6 +987,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1012,7 +1017,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1150,7 +1154,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1887,6 +1891,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1902,9 +1920,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2042,7 +2059,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/PhotographAction.php b/src/PhotographAction.php index 2653f0277..0f8dae38f 100644 --- a/src/PhotographAction.php +++ b/src/PhotographAction.php @@ -32,10 +32,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/PhysicalActivity.php b/src/PhysicalActivity.php index f7b88105b..6f4a478d0 100644 --- a/src/PhysicalActivity.php +++ b/src/PhysicalActivity.php @@ -22,10 +22,14 @@ class PhysicalActivity extends BaseType implements PhysicalActivityContract, Lif /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -156,6 +160,7 @@ public function epidemiology($epidemiology) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/PhysicalActivityCategory.php b/src/PhysicalActivityCategory.php index b233125c1..bdbee4398 100644 --- a/src/PhysicalActivityCategory.php +++ b/src/PhysicalActivityCategory.php @@ -84,10 +84,14 @@ class PhysicalActivityCategory extends BaseType implements PhysicalActivityCateg /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/PhysicalExam.php b/src/PhysicalExam.php index 042659712..1f86f9296 100644 --- a/src/PhysicalExam.php +++ b/src/PhysicalExam.php @@ -135,10 +135,14 @@ class PhysicalExam extends BaseType implements PhysicalExamContract, Enumeration /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -252,6 +256,7 @@ public function followup($followup) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/PhysicalTherapy.php b/src/PhysicalTherapy.php index 91cdee6e4..eceb4e4c8 100644 --- a/src/PhysicalTherapy.php +++ b/src/PhysicalTherapy.php @@ -22,10 +22,14 @@ class PhysicalTherapy extends BaseType implements PhysicalTherapyContract, Medic /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -219,6 +223,7 @@ public function followup($followup) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/Physician.php b/src/Physician.php index 5990cbb6c..a8d273873 100644 --- a/src/Physician.php +++ b/src/Physician.php @@ -30,6 +30,7 @@ class Physician extends BaseType implements PhysicianContract, LocalBusinessCont * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -61,10 +62,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -145,7 +150,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -341,6 +345,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -443,6 +448,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -461,6 +467,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -476,7 +483,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -670,6 +676,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -873,7 +880,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -969,7 +975,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1114,7 +1119,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1170,6 +1174,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1188,6 +1193,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1217,7 +1223,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1262,7 +1267,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1308,7 +1312,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1425,7 +1428,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1512,7 +1514,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1533,6 +1534,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1547,7 +1549,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1732,7 +1733,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1776,7 +1776,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1856,7 +1855,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1906,6 +1904,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1934,7 +1933,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/Place.php b/src/Place.php index 1a476c146..cf9cb771b 100644 --- a/src/Place.php +++ b/src/Place.php @@ -38,10 +38,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -108,7 +112,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -449,7 +452,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -547,7 +549,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -593,7 +594,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -695,7 +695,6 @@ public function name($name) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -827,7 +826,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/PlaceOfWorship.php b/src/PlaceOfWorship.php index 093512dff..141e5b6b1 100644 --- a/src/PlaceOfWorship.php +++ b/src/PlaceOfWorship.php @@ -40,10 +40,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -110,7 +114,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -451,7 +454,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -549,7 +551,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -595,7 +596,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -724,7 +724,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -856,7 +855,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/PlanAction.php b/src/PlanAction.php index 8352315fd..7db99efb8 100644 --- a/src/PlanAction.php +++ b/src/PlanAction.php @@ -33,10 +33,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/Play.php b/src/Play.php index f6860e404..3acfb5d01 100644 --- a/src/Play.php +++ b/src/Play.php @@ -205,10 +205,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -588,6 +592,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -917,7 +922,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -988,6 +992,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1017,7 +1022,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1155,7 +1159,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1892,6 +1896,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1907,9 +1925,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2047,7 +2064,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/PlayAction.php b/src/PlayAction.php index 8461045af..80640bf56 100644 --- a/src/PlayAction.php +++ b/src/PlayAction.php @@ -41,10 +41,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/PlayGameAction.php b/src/PlayGameAction.php index 4c5cc63b5..2b6019ac7 100644 --- a/src/PlayGameAction.php +++ b/src/PlayGameAction.php @@ -51,10 +51,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/Playground.php b/src/Playground.php index e8193da55..e1a2574c1 100644 --- a/src/Playground.php +++ b/src/Playground.php @@ -40,10 +40,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -110,7 +114,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -451,7 +454,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -549,7 +551,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -595,7 +596,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -724,7 +724,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -856,7 +855,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/Plumber.php b/src/Plumber.php index 7631e4341..ce57abca8 100644 --- a/src/Plumber.php +++ b/src/Plumber.php @@ -29,6 +29,7 @@ class Plumber extends BaseType implements PlumberContract, HomeAndConstructionBu * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/PodcastEpisode.php b/src/PodcastEpisode.php index c6b68c8e2..faa1af327 100644 --- a/src/PodcastEpisode.php +++ b/src/PodcastEpisode.php @@ -234,10 +234,14 @@ public function actors($actors) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -617,6 +621,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -1006,7 +1011,6 @@ public function episodeNumber($episodeNumber) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1077,6 +1081,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1106,7 +1111,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1244,7 +1248,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2038,6 +2042,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2053,9 +2071,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2207,7 +2224,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/PodcastSeason.php b/src/PodcastSeason.php index e0bafef10..0346e3a1b 100644 --- a/src/PodcastSeason.php +++ b/src/PodcastSeason.php @@ -220,10 +220,14 @@ public function actor($actor) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -603,6 +607,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -992,7 +997,6 @@ public function episodes($episodes) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1063,6 +1067,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1092,7 +1097,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1230,7 +1234,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2040,6 +2044,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2055,9 +2073,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2209,7 +2226,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/PodcastSeries.php b/src/PodcastSeries.php index 42fd56ee3..82ce07854 100644 --- a/src/PodcastSeries.php +++ b/src/PodcastSeries.php @@ -222,10 +222,14 @@ public function actor($actor) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -605,6 +609,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -950,7 +955,6 @@ public function endDate($endDate) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1021,6 +1025,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1050,7 +1055,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1188,7 +1192,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1256,7 +1260,6 @@ public function isPartOf($isPartOf) * @return static * * @see https://schema.org/issn - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function issn($issn) { @@ -1958,6 +1961,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1973,9 +1990,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2130,7 +2146,6 @@ public function webFeed($webFeed) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/PoliceStation.php b/src/PoliceStation.php index 740e9533d..26850d4df 100644 --- a/src/PoliceStation.php +++ b/src/PoliceStation.php @@ -30,6 +30,7 @@ class PoliceStation extends BaseType implements PoliceStationContract, CivicStru * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -61,10 +62,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -145,7 +150,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -326,6 +330,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -428,6 +433,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -446,6 +452,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -461,7 +468,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -655,6 +661,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -858,7 +865,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -954,7 +960,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1051,7 +1056,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1107,6 +1111,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1125,6 +1130,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1154,7 +1160,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1199,7 +1204,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1245,7 +1249,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1347,7 +1350,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1434,7 +1436,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1455,6 +1456,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1469,7 +1471,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1654,7 +1655,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1698,7 +1698,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1778,7 +1777,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1828,6 +1826,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1856,7 +1855,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/Pond.php b/src/Pond.php index a7a167ce4..584f42cd5 100644 --- a/src/Pond.php +++ b/src/Pond.php @@ -41,10 +41,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -111,7 +115,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -452,7 +455,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -550,7 +552,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -596,7 +597,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -698,7 +698,6 @@ public function name($name) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -830,7 +829,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/PostOffice.php b/src/PostOffice.php index 8d54b0377..b7300f456 100644 --- a/src/PostOffice.php +++ b/src/PostOffice.php @@ -29,6 +29,7 @@ class PostOffice extends BaseType implements PostOfficeContract, GovernmentOffic * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/PostalAddress.php b/src/PostalAddress.php index bd47f890c..48f67cafe 100644 --- a/src/PostalAddress.php +++ b/src/PostalAddress.php @@ -19,10 +19,14 @@ class PostalAddress extends BaseType implements PostalAddressContract, ContactPo /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/PostalCodeRangeSpecification.php b/src/PostalCodeRangeSpecification.php index cff66c51d..982edc53c 100644 --- a/src/PostalCodeRangeSpecification.php +++ b/src/PostalCodeRangeSpecification.php @@ -21,10 +21,14 @@ class PostalCodeRangeSpecification extends BaseType implements PostalCodeRangeSp /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/Poster.php b/src/Poster.php index c38701be6..5c5847d6c 100644 --- a/src/Poster.php +++ b/src/Poster.php @@ -203,10 +203,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -586,6 +590,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -915,7 +920,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -986,6 +990,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1015,7 +1020,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1153,7 +1157,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1890,6 +1894,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1905,9 +1923,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2045,7 +2062,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/PreOrderAction.php b/src/PreOrderAction.php index efce49129..9ddecdc14 100644 --- a/src/PreOrderAction.php +++ b/src/PreOrderAction.php @@ -34,10 +34,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -357,7 +361,6 @@ public function priceCurrency($priceCurrency) * @return static * * @see https://schema.org/priceSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function priceSpecification($priceSpecification) { diff --git a/src/PrependAction.php b/src/PrependAction.php index 006c59537..29f770da4 100644 --- a/src/PrependAction.php +++ b/src/PrependAction.php @@ -34,10 +34,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/Preschool.php b/src/Preschool.php index 330816bb2..31a22f0fa 100644 --- a/src/Preschool.php +++ b/src/Preschool.php @@ -29,6 +29,7 @@ class Preschool extends BaseType implements PreschoolContract, CivicStructureCon * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -310,6 +314,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -390,6 +395,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -408,6 +414,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -423,7 +430,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -617,6 +623,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -820,7 +827,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -916,7 +922,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1013,7 +1018,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1069,6 +1073,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1087,6 +1092,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1116,7 +1122,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1161,7 +1166,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1207,7 +1211,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1309,7 +1312,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1396,7 +1398,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1417,6 +1418,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1431,7 +1433,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1588,7 +1589,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1632,7 +1632,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1712,7 +1711,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1762,6 +1760,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1790,7 +1789,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/PresentationDigitalDocument.php b/src/PresentationDigitalDocument.php index ddcc1fa00..6e38ed5b4 100644 --- a/src/PresentationDigitalDocument.php +++ b/src/PresentationDigitalDocument.php @@ -201,10 +201,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -584,6 +588,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -913,7 +918,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -984,6 +988,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1029,7 +1034,6 @@ public function hasDigitalDocumentPermission($hasDigitalDocumentPermission) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1167,7 +1171,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1904,6 +1908,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1919,9 +1937,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2059,7 +2076,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/PreventionIndication.php b/src/PreventionIndication.php index 375bc20a5..e494c00a1 100644 --- a/src/PreventionIndication.php +++ b/src/PreventionIndication.php @@ -19,10 +19,14 @@ class PreventionIndication extends BaseType implements PreventionIndicationContr /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -106,6 +110,7 @@ public function disambiguatingDescription($disambiguatingDescription) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/PriceComponentTypeEnumeration.php b/src/PriceComponentTypeEnumeration.php index 8d5a098db..41522840b 100644 --- a/src/PriceComponentTypeEnumeration.php +++ b/src/PriceComponentTypeEnumeration.php @@ -83,10 +83,14 @@ class PriceComponentTypeEnumeration extends BaseType implements PriceComponentTy /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/PriceSpecification.php b/src/PriceSpecification.php index 963e9e204..3c600b3ce 100644 --- a/src/PriceSpecification.php +++ b/src/PriceSpecification.php @@ -14,7 +14,6 @@ * credit card limits, etc. * * @see https://schema.org/PriceSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsClass * */ class PriceSpecification extends BaseType implements PriceSpecificationContract, IntangibleContract, StructuredValueContract, ThingContract @@ -22,10 +21,14 @@ class PriceSpecification extends BaseType implements PriceSpecificationContract, /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -93,7 +96,6 @@ public function disambiguatingDescription($disambiguatingDescription) * @return static * * @see https://schema.org/eligibleQuantity - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function eligibleQuantity($eligibleQuantity) { @@ -111,7 +113,6 @@ public function eligibleQuantity($eligibleQuantity) * @return static * * @see https://schema.org/eligibleTransactionVolume - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function eligibleTransactionVolume($eligibleTransactionVolume) { @@ -175,7 +176,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/maxPrice - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function maxPrice($maxPrice) { @@ -190,7 +190,6 @@ public function maxPrice($maxPrice) * @return static * * @see https://schema.org/minPrice - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function minPrice($minPrice) { @@ -339,7 +338,6 @@ public function url($url) * @return static * * @see https://schema.org/validFrom - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function validFrom($validFrom) { @@ -355,7 +353,6 @@ public function validFrom($validFrom) * @return static * * @see https://schema.org/validThrough - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function validThrough($validThrough) { @@ -371,7 +368,6 @@ public function validThrough($validThrough) * @return static * * @see https://schema.org/valueAddedTaxIncluded - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function valueAddedTaxIncluded($valueAddedTaxIncluded) { diff --git a/src/PriceTypeEnumeration.php b/src/PriceTypeEnumeration.php index c549987d4..26eb98d6b 100644 --- a/src/PriceTypeEnumeration.php +++ b/src/PriceTypeEnumeration.php @@ -80,10 +80,14 @@ class PriceTypeEnumeration extends BaseType implements PriceTypeEnumerationContr /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/Product.php b/src/Product.php index 1d173b3bb..ba700cdcd 100644 --- a/src/Product.php +++ b/src/Product.php @@ -11,7 +11,6 @@ * online. * * @see https://schema.org/Product - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms * */ class Product extends BaseType implements ProductContract, ThingContract @@ -41,10 +40,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -192,7 +195,6 @@ public function category($category) * @return static * * @see https://schema.org/color - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function color($color) { @@ -265,7 +267,6 @@ public function countryOfOrigin($countryOfOrigin) * @return static * * @see https://schema.org/depth - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function depth($depth) { @@ -313,6 +314,7 @@ public function disambiguatingDescription($disambiguatingDescription) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -392,7 +394,6 @@ public function gtin12($gtin12) * @return static * * @see https://schema.org/gtin13 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function gtin13($gtin13) { @@ -410,7 +411,6 @@ public function gtin13($gtin13) * @return static * * @see https://schema.org/gtin14 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function gtin14($gtin14) { @@ -428,7 +428,6 @@ public function gtin14($gtin14) * @return static * * @see https://schema.org/gtin8 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function gtin8($gtin8) { @@ -594,7 +593,6 @@ public function inProductGroupWithID($inProductGroupWithID) * @return static * * @see https://schema.org/isAccessoryOrSparePartFor - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isAccessoryOrSparePartFor($isAccessoryOrSparePartFor) { @@ -610,7 +608,6 @@ public function isAccessoryOrSparePartFor($isAccessoryOrSparePartFor) * @return static * * @see https://schema.org/isConsumableFor - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isConsumableFor($isConsumableFor) { @@ -639,7 +636,6 @@ public function isFamilyFriendly($isFamilyFriendly) * @return static * * @see https://schema.org/isRelatedTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isRelatedTo($isRelatedTo) { @@ -655,7 +651,6 @@ public function isRelatedTo($isRelatedTo) * @return static * * @see https://schema.org/isSimilarTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isSimilarTo($isSimilarTo) { @@ -680,7 +675,6 @@ public function isSimilarTo($isSimilarTo) * @return static * * @see https://schema.org/isVariantOf - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isVariantOf($isVariantOf) { @@ -728,7 +722,6 @@ public function keywords($keywords) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -839,7 +832,6 @@ public function model($model) * @return static * * @see https://schema.org/mpn - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function mpn($mpn) { @@ -1009,7 +1001,6 @@ public function productID($productID) * @return static * * @see https://schema.org/productionDate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function productionDate($productionDate) { @@ -1024,7 +1015,6 @@ public function productionDate($productionDate) * @return static * * @see https://schema.org/purchaseDate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function purchaseDate($purchaseDate) { @@ -1040,7 +1030,6 @@ public function purchaseDate($purchaseDate) * @return static * * @see https://schema.org/releaseDate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function releaseDate($releaseDate) { @@ -1120,7 +1109,6 @@ public function size($size) * @return static * * @see https://schema.org/sku - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function sku($sku) { @@ -1178,7 +1166,6 @@ public function url($url) * @return static * * @see https://schema.org/weight - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function weight($weight) { diff --git a/src/ProductCollection.php b/src/ProductCollection.php index 18a92034a..fbc7b8ffc 100644 --- a/src/ProductCollection.php +++ b/src/ProductCollection.php @@ -227,10 +227,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -520,7 +524,6 @@ public function collectionSize($collectionSize) * @return static * * @see https://schema.org/color - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function color($color) { @@ -697,6 +700,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -864,7 +868,6 @@ public function datePublished($datePublished) * @return static * * @see https://schema.org/depth - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function depth($depth) { @@ -1074,7 +1077,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1145,6 +1147,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1238,7 +1241,6 @@ public function gtin12($gtin12) * @return static * * @see https://schema.org/gtin13 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function gtin13($gtin13) { @@ -1256,7 +1258,6 @@ public function gtin13($gtin13) * @return static * * @see https://schema.org/gtin14 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function gtin14($gtin14) { @@ -1274,7 +1275,6 @@ public function gtin14($gtin14) * @return static * * @see https://schema.org/gtin8 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function gtin8($gtin8) { @@ -1360,7 +1360,6 @@ public function hasMerchantReturnPolicy($hasMerchantReturnPolicy) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1488,7 +1487,6 @@ public function inProductGroupWithID($inProductGroupWithID) * @return static * * @see https://schema.org/includesObject - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function includesObject($includesObject) { @@ -1568,7 +1566,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isAccessoryOrSparePartFor - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isAccessoryOrSparePartFor($isAccessoryOrSparePartFor) { @@ -1577,7 +1574,7 @@ public function isAccessoryOrSparePartFor($isAccessoryOrSparePartFor) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1615,7 +1612,6 @@ public function isBasedOnUrl($isBasedOnUrl) * @return static * * @see https://schema.org/isConsumableFor - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isConsumableFor($isConsumableFor) { @@ -1659,7 +1655,6 @@ public function isPartOf($isPartOf) * @return static * * @see https://schema.org/isRelatedTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isRelatedTo($isRelatedTo) { @@ -1675,7 +1670,6 @@ public function isRelatedTo($isRelatedTo) * @return static * * @see https://schema.org/isSimilarTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isSimilarTo($isSimilarTo) { @@ -1700,7 +1694,6 @@ public function isSimilarTo($isSimilarTo) * @return static * * @see https://schema.org/isVariantOf - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isVariantOf($isVariantOf) { @@ -1793,7 +1786,6 @@ public function locationCreated($locationCreated) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1979,7 +1971,6 @@ public function model($model) * @return static * * @see https://schema.org/mpn - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function mpn($mpn) { @@ -2178,7 +2169,6 @@ public function productID($productID) * @return static * * @see https://schema.org/productionDate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function productionDate($productionDate) { @@ -2277,7 +2267,6 @@ public function publishingPrinciples($publishingPrinciples) * @return static * * @see https://schema.org/purchaseDate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function purchaseDate($purchaseDate) { @@ -2308,7 +2297,6 @@ public function recordedAt($recordedAt) * @return static * * @see https://schema.org/releaseDate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function releaseDate($releaseDate) { @@ -2481,7 +2469,6 @@ public function size($size) * @return static * * @see https://schema.org/sku - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function sku($sku) { @@ -2660,6 +2647,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2675,9 +2676,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2814,7 +2814,6 @@ public function video($video) * @return static * * @see https://schema.org/weight - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function weight($weight) { @@ -2844,7 +2843,6 @@ public function width($width) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/ProductGroup.php b/src/ProductGroup.php index c52d5c055..9c179af6f 100644 --- a/src/ProductGroup.php +++ b/src/ProductGroup.php @@ -21,7 +21,7 @@ * * @see https://schema.org/ProductGroup * @see https://pending.schema.org - * @link https://github.com/schemaorg/schemaorg/issues/2597 + * @link https://github.com/schemaorg/schemaorg/issues/1797 * */ class ProductGroup extends BaseType implements ProductGroupContract, ProductContract, ThingContract @@ -51,10 +51,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -202,7 +206,6 @@ public function category($category) * @return static * * @see https://schema.org/color - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function color($color) { @@ -275,7 +278,6 @@ public function countryOfOrigin($countryOfOrigin) * @return static * * @see https://schema.org/depth - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function depth($depth) { @@ -323,6 +325,7 @@ public function disambiguatingDescription($disambiguatingDescription) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -402,7 +405,6 @@ public function gtin12($gtin12) * @return static * * @see https://schema.org/gtin13 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function gtin13($gtin13) { @@ -420,7 +422,6 @@ public function gtin13($gtin13) * @return static * * @see https://schema.org/gtin14 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function gtin14($gtin14) { @@ -438,7 +439,6 @@ public function gtin14($gtin14) * @return static * * @see https://schema.org/gtin8 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function gtin8($gtin8) { @@ -621,7 +621,6 @@ public function inProductGroupWithID($inProductGroupWithID) * @return static * * @see https://schema.org/isAccessoryOrSparePartFor - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isAccessoryOrSparePartFor($isAccessoryOrSparePartFor) { @@ -637,7 +636,6 @@ public function isAccessoryOrSparePartFor($isAccessoryOrSparePartFor) * @return static * * @see https://schema.org/isConsumableFor - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isConsumableFor($isConsumableFor) { @@ -666,7 +664,6 @@ public function isFamilyFriendly($isFamilyFriendly) * @return static * * @see https://schema.org/isRelatedTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isRelatedTo($isRelatedTo) { @@ -682,7 +679,6 @@ public function isRelatedTo($isRelatedTo) * @return static * * @see https://schema.org/isSimilarTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isSimilarTo($isSimilarTo) { @@ -707,7 +703,6 @@ public function isSimilarTo($isSimilarTo) * @return static * * @see https://schema.org/isVariantOf - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isVariantOf($isVariantOf) { @@ -755,7 +750,6 @@ public function keywords($keywords) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -866,7 +860,6 @@ public function model($model) * @return static * * @see https://schema.org/mpn - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function mpn($mpn) { @@ -1052,7 +1045,6 @@ public function productID($productID) * @return static * * @see https://schema.org/productionDate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function productionDate($productionDate) { @@ -1067,7 +1059,6 @@ public function productionDate($productionDate) * @return static * * @see https://schema.org/purchaseDate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function purchaseDate($purchaseDate) { @@ -1083,7 +1074,6 @@ public function purchaseDate($purchaseDate) * @return static * * @see https://schema.org/releaseDate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function releaseDate($releaseDate) { @@ -1163,7 +1153,6 @@ public function size($size) * @return static * * @see https://schema.org/sku - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function sku($sku) { @@ -1240,7 +1229,6 @@ public function variesBy($variesBy) * @return static * * @see https://schema.org/weight - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function weight($weight) { diff --git a/src/ProductModel.php b/src/ProductModel.php index 50ee7d0a4..cdbe423a5 100644 --- a/src/ProductModel.php +++ b/src/ProductModel.php @@ -11,7 +11,6 @@ * prototypical description). * * @see https://schema.org/ProductModel - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsClass * */ class ProductModel extends BaseType implements ProductModelContract, ProductContract, ThingContract @@ -41,10 +40,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -192,7 +195,6 @@ public function category($category) * @return static * * @see https://schema.org/color - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function color($color) { @@ -265,7 +267,6 @@ public function countryOfOrigin($countryOfOrigin) * @return static * * @see https://schema.org/depth - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function depth($depth) { @@ -313,6 +314,7 @@ public function disambiguatingDescription($disambiguatingDescription) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -392,7 +394,6 @@ public function gtin12($gtin12) * @return static * * @see https://schema.org/gtin13 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function gtin13($gtin13) { @@ -410,7 +411,6 @@ public function gtin13($gtin13) * @return static * * @see https://schema.org/gtin14 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function gtin14($gtin14) { @@ -428,7 +428,6 @@ public function gtin14($gtin14) * @return static * * @see https://schema.org/gtin8 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function gtin8($gtin8) { @@ -594,7 +593,6 @@ public function inProductGroupWithID($inProductGroupWithID) * @return static * * @see https://schema.org/isAccessoryOrSparePartFor - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isAccessoryOrSparePartFor($isAccessoryOrSparePartFor) { @@ -610,7 +608,6 @@ public function isAccessoryOrSparePartFor($isAccessoryOrSparePartFor) * @return static * * @see https://schema.org/isConsumableFor - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isConsumableFor($isConsumableFor) { @@ -639,7 +636,6 @@ public function isFamilyFriendly($isFamilyFriendly) * @return static * * @see https://schema.org/isRelatedTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isRelatedTo($isRelatedTo) { @@ -655,7 +651,6 @@ public function isRelatedTo($isRelatedTo) * @return static * * @see https://schema.org/isSimilarTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isSimilarTo($isSimilarTo) { @@ -680,7 +675,6 @@ public function isSimilarTo($isSimilarTo) * @return static * * @see https://schema.org/isVariantOf - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isVariantOf($isVariantOf) { @@ -728,7 +722,6 @@ public function keywords($keywords) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -839,7 +832,6 @@ public function model($model) * @return static * * @see https://schema.org/mpn - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function mpn($mpn) { @@ -995,7 +987,6 @@ public function potentialAction($potentialAction) * @return static * * @see https://schema.org/predecessorOf - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function predecessorOf($predecessorOf) { @@ -1025,7 +1016,6 @@ public function productID($productID) * @return static * * @see https://schema.org/productionDate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function productionDate($productionDate) { @@ -1040,7 +1030,6 @@ public function productionDate($productionDate) * @return static * * @see https://schema.org/purchaseDate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function purchaseDate($purchaseDate) { @@ -1056,7 +1045,6 @@ public function purchaseDate($purchaseDate) * @return static * * @see https://schema.org/releaseDate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function releaseDate($releaseDate) { @@ -1136,7 +1124,6 @@ public function size($size) * @return static * * @see https://schema.org/sku - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function sku($sku) { @@ -1181,7 +1168,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/successorOf - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function successorOf($successorOf) { @@ -1210,7 +1196,6 @@ public function url($url) * @return static * * @see https://schema.org/weight - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function weight($weight) { diff --git a/src/ProductReturnEnumeration.php b/src/ProductReturnEnumeration.php index 40a604ab1..f0ff83bb7 100644 --- a/src/ProductReturnEnumeration.php +++ b/src/ProductReturnEnumeration.php @@ -60,10 +60,14 @@ class ProductReturnEnumeration extends BaseType implements ProductReturnEnumerat /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/ProductReturnPolicy.php b/src/ProductReturnPolicy.php index d5ab47145..48c3f5fd8 100644 --- a/src/ProductReturnPolicy.php +++ b/src/ProductReturnPolicy.php @@ -20,10 +20,14 @@ class ProductReturnPolicy extends BaseType implements ProductReturnPolicyContrac /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/ProfessionalService.php b/src/ProfessionalService.php index d88811816..bf880c6ad 100644 --- a/src/ProfessionalService.php +++ b/src/ProfessionalService.php @@ -38,6 +38,7 @@ class ProfessionalService extends BaseType implements ProfessionalServiceContrac * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -69,10 +70,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -153,7 +158,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -334,6 +338,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -436,6 +441,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -454,6 +460,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -469,7 +476,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -663,6 +669,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -866,7 +873,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -962,7 +968,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1059,7 +1064,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1115,6 +1119,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1133,6 +1138,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1162,7 +1168,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1207,7 +1212,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1253,7 +1257,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1355,7 +1358,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1442,7 +1444,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1463,6 +1464,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1477,7 +1479,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1662,7 +1663,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1706,7 +1706,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1786,7 +1785,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1836,6 +1834,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1864,7 +1863,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/ProfilePage.php b/src/ProfilePage.php index 65310a7d2..29944fe94 100644 --- a/src/ProfilePage.php +++ b/src/ProfilePage.php @@ -201,10 +201,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -599,6 +603,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -928,7 +933,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -999,6 +1003,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1028,7 +1033,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1166,7 +1170,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2059,6 +2063,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2074,9 +2092,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2214,7 +2231,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/ProgramMembership.php b/src/ProgramMembership.php index 040082bef..72ee0b836 100644 --- a/src/ProgramMembership.php +++ b/src/ProgramMembership.php @@ -18,10 +18,14 @@ class ProgramMembership extends BaseType implements ProgramMembershipContract, I /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/Project.php b/src/Project.php index 936f08d26..3c7b40984 100644 --- a/src/Project.php +++ b/src/Project.php @@ -31,6 +31,7 @@ class Project extends BaseType implements ProjectContract, OrganizationContract, * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -40,10 +41,14 @@ public function actionableFeedbackPolicy($actionableFeedbackPolicy) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -209,6 +214,7 @@ public function contactPoints($contactPoints) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -289,6 +295,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -307,6 +314,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -322,7 +330,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -516,6 +523,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -533,7 +541,6 @@ public function funding($funding) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -595,7 +602,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -678,7 +684,6 @@ public function interactionStatistic($interactionStatistic) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -734,6 +739,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -752,6 +758,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -766,7 +773,6 @@ public function knowsLanguage($knowsLanguage) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -811,7 +817,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -842,7 +847,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -902,7 +906,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -968,6 +971,7 @@ public function numberOfEmployees($numberOfEmployees) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -982,7 +986,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1096,7 +1099,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1187,7 +1189,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1219,6 +1220,7 @@ public function telephone($telephone) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1247,7 +1249,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/Property.php b/src/Property.php index e3f4f1ded..c2ff9823e 100644 --- a/src/Property.php +++ b/src/Property.php @@ -22,10 +22,14 @@ class Property extends BaseType implements PropertyContract, IntangibleContract, /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/PropertyValue.php b/src/PropertyValue.php index d1e21f637..ff31e7ee8 100644 --- a/src/PropertyValue.php +++ b/src/PropertyValue.php @@ -18,7 +18,6 @@ * the same effect as using the original, specific property. * * @see https://schema.org/PropertyValue - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsClass * */ class PropertyValue extends BaseType implements PropertyValueContract, IntangibleContract, StructuredValueContract, ThingContract @@ -26,10 +25,14 @@ class PropertyValue extends BaseType implements PropertyValueContract, Intangibl /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +147,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/maxValue - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function maxValue($maxValue) { @@ -152,27 +154,53 @@ public function maxValue($maxValue) } /** - * A technique or technology used in a [[Dataset]] (or [[DataDownload]], - * [[DataCatalog]]), - * corresponding to the method used for measuring the corresponding - * variable(s) (described using [[variableMeasured]]). This is oriented + * A subproperty of [[measurementTechnique]] that can be used for specifying + * specific methods, in particular via [[MeasurementMethodEnum]]. + * + * @param \Spatie\SchemaOrg\Contracts\MeasurementMethodEnumContract|\Spatie\SchemaOrg\Contracts\MeasurementMethodEnumContract[]|string|string[] $measurementMethod + * + * @return static + * + * @see https://schema.org/measurementMethod + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1425 + */ + public function measurementMethod($measurementMethod) + { + return $this->setProperty('measurementMethod', $measurementMethod); + } + + /** + * A technique, method or technology used in an [[Observation]], + * [[StatisticalVariable]] or [[Dataset]] (or [[DataDownload]], + * [[DataCatalog]]), corresponding to the method used for measuring the + * corresponding variable(s) (for datasets, described using + * [[variableMeasured]]; for [[Observation]], a [[StatisticalVariable]]). + * Often but not necessarily each [[variableMeasured]] will have an explicit + * representation as (or mapping to) an property such as those defined in + * Schema.org, or other RDF vocabularies and "knowledge graphs". In that + * case the subproperty of [[variableMeasured]] called [[measuredProperty]] + * is applicable. + * + * The [[measurementTechnique]] property helps when extra clarification is + * needed about how a [[measuredProperty]] was measured. This is oriented * towards scientific and scholarly dataset publication but may have broader * applicability; it is not intended as a full representation of - * measurement, but rather as a high level summary for dataset discovery. + * measurement, but can often serve as a high level summary for dataset + * discovery. * * For example, if [[variableMeasured]] is: molecule concentration, * [[measurementTechnique]] could be: "mass spectrometry" or "nmr - * spectroscopy" or "colorimetry" or "immunofluorescence". - * - * If the [[variableMeasured]] is "depression rating", the - * [[measurementTechnique]] could be "Zung Scale" or "HAM-D" or "Beck - * Depression Inventory". + * spectroscopy" or "colorimetry" or "immunofluorescence". If the + * [[variableMeasured]] is "depression rating", the [[measurementTechnique]] + * could be "Zung Scale" or "HAM-D" or "Beck Depression Inventory". * * If there are several [[variableMeasured]] properties recorded for some * given data object, use a [[PropertyValue]] for each [[variableMeasured]] - * and attach the corresponding [[measurementTechnique]]. + * and attach the corresponding [[measurementTechnique]]. The value can also + * be from an enumeration, organized as a [[MeasurementMetholdEnumeration]]. * - * @param string|string[] $measurementTechnique + * @param \Spatie\SchemaOrg\Contracts\MeasurementMethodEnumContract|\Spatie\SchemaOrg\Contracts\MeasurementMethodEnumContract[]|string|string[] $measurementTechnique * * @return static * @@ -193,7 +221,6 @@ public function measurementTechnique($measurementTechnique) * @return static * * @see https://schema.org/minValue - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function minValue($minValue) { @@ -294,7 +321,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/unitCode - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function unitCode($unitCode) { @@ -332,7 +358,8 @@ public function url($url) } /** - * The value of the quantitative value or property value node. + * The value of a [[QuantitativeValue]] (including [[Observation]]) or + * property value node. * * * For [[QuantitativeValue]] and [[MonetaryAmount]], the recommended type * for values is 'Number'. @@ -348,7 +375,6 @@ public function url($url) * @return static * * @see https://schema.org/value - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function value($value) { @@ -364,7 +390,6 @@ public function value($value) * @return static * * @see https://schema.org/valueReference - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function valueReference($valueReference) { diff --git a/src/PropertyValueSpecification.php b/src/PropertyValueSpecification.php index 1260782e9..e0959d047 100644 --- a/src/PropertyValueSpecification.php +++ b/src/PropertyValueSpecification.php @@ -10,7 +10,6 @@ * A Property value specification. * * @see https://schema.org/PropertyValueSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_ActionCollabClass * */ class PropertyValueSpecification extends BaseType implements PropertyValueSpecificationContract, IntangibleContract, ThingContract @@ -18,10 +17,14 @@ class PropertyValueSpecification extends BaseType implements PropertyValueSpecif /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -152,7 +155,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/maxValue - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function maxValue($maxValue) { @@ -167,7 +169,6 @@ public function maxValue($maxValue) * @return static * * @see https://schema.org/minValue - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function minValue($minValue) { diff --git a/src/Protein.php b/src/Protein.php index 121df1d0c..2cbb93aba 100644 --- a/src/Protein.php +++ b/src/Protein.php @@ -10,13 +10,14 @@ * Protein is here used in its widest possible definition, as classes of amino * acid based molecules. Amyloid-beta Protein in human (UniProt P05067), * eukaryota (e.g. an OrthoDB group) or even a single molecule that one can - * point to are all of type schema:Protein. A protein can thus be a subclass of - * another protein, e.g. schema:Protein as a UniProt record can have multiple - * isoforms inside it which would also be schema:Protein. They can be imagined, - * synthetic, hypothetical or naturally occurring. + * point to are all of type :Protein. A protein can thus be a subclass of + * another protein, e.g. :Protein as a UniProt record can have multiple isoforms + * inside it which would also be :Protein. They can be imagined, synthetic, + * hypothetical or naturally occurring. * * @see https://schema.org/Protein * @see https://pending.schema.org + * @link http://bioschemas.org * */ class Protein extends BaseType implements ProteinContract, BioChemEntityContract, ThingContract @@ -24,10 +25,14 @@ class Protein extends BaseType implements ProteinContract, BioChemEntityContract /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -65,6 +70,7 @@ public function alternateName($alternateName) * * @see https://schema.org/associatedDisease * @see https://pending.schema.org + * @link http://www.bioschemas.org/BioChemEntity */ public function associatedDisease($associatedDisease) { @@ -80,6 +86,7 @@ public function associatedDisease($associatedDisease) * * @see https://schema.org/bioChemInteraction * @see https://pending.schema.org + * @link http://www.bioschemas.org */ public function bioChemInteraction($bioChemInteraction) { @@ -96,6 +103,7 @@ public function bioChemInteraction($bioChemInteraction) * * @see https://schema.org/bioChemSimilarity * @see https://pending.schema.org + * @link http://www.bioschemas.org */ public function bioChemSimilarity($bioChemSimilarity) { @@ -111,6 +119,7 @@ public function bioChemSimilarity($bioChemSimilarity) * * @see https://schema.org/biologicalRole * @see https://pending.schema.org + * @link http://www.bioschemas.org */ public function biologicalRole($biologicalRole) { @@ -158,6 +167,7 @@ public function disambiguatingDescription($disambiguatingDescription) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -174,6 +184,7 @@ public function funding($funding) * * @see https://schema.org/hasBioChemEntityPart * @see https://pending.schema.org + * @link http://www.bioschemas.org */ public function hasBioChemEntityPart($hasBioChemEntityPart) { @@ -190,6 +201,7 @@ public function hasBioChemEntityPart($hasBioChemEntityPart) * * @see https://schema.org/hasBioPolymerSequence * @see https://pending.schema.org + * @link http://www.bioschemas.org/Gene */ public function hasBioPolymerSequence($hasBioPolymerSequence) { @@ -206,6 +218,7 @@ public function hasBioPolymerSequence($hasBioPolymerSequence) * * @see https://schema.org/hasMolecularFunction * @see https://pending.schema.org + * @link http://www.bioschemas.org/BioChemEntity */ public function hasMolecularFunction($hasMolecularFunction) { @@ -222,6 +235,7 @@ public function hasMolecularFunction($hasMolecularFunction) * * @see https://schema.org/hasRepresentation * @see https://pending.schema.org + * @link http://www.bioschemas.org */ public function hasRepresentation($hasRepresentation) { @@ -270,6 +284,7 @@ public function image($image) * * @see https://schema.org/isEncodedByBioChemEntity * @see https://pending.schema.org + * @link http://www.bioschemas.org/Gene */ public function isEncodedByBioChemEntity($isEncodedByBioChemEntity) { @@ -286,6 +301,7 @@ public function isEncodedByBioChemEntity($isEncodedByBioChemEntity) * * @see https://schema.org/isInvolvedInBiologicalProcess * @see https://pending.schema.org + * @link http://www.bioschemas.org/BioChemEntity */ public function isInvolvedInBiologicalProcess($isInvolvedInBiologicalProcess) { @@ -302,6 +318,7 @@ public function isInvolvedInBiologicalProcess($isInvolvedInBiologicalProcess) * * @see https://schema.org/isLocatedInSubcellularLocation * @see https://pending.schema.org + * @link http://www.bioschemas.org/BioChemEntity */ public function isLocatedInSubcellularLocation($isLocatedInSubcellularLocation) { @@ -318,6 +335,7 @@ public function isLocatedInSubcellularLocation($isLocatedInSubcellularLocation) * * @see https://schema.org/isPartOfBioChemEntity * @see https://pending.schema.org + * @link http://www.bioschemas.org */ public function isPartOfBioChemEntity($isPartOfBioChemEntity) { @@ -410,6 +428,7 @@ public function subjectOf($subjectOf) * * @see https://schema.org/taxonomicRange * @see https://pending.schema.org + * @link http://www.bioschemas.org */ public function taxonomicRange($taxonomicRange) { diff --git a/src/PsychologicalTreatment.php b/src/PsychologicalTreatment.php index b790743dd..8116311b2 100644 --- a/src/PsychologicalTreatment.php +++ b/src/PsychologicalTreatment.php @@ -21,10 +21,14 @@ class PsychologicalTreatment extends BaseType implements PsychologicalTreatmentC /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -188,6 +192,7 @@ public function followup($followup) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/PublicSwimmingPool.php b/src/PublicSwimmingPool.php index cf5f79e1b..be5c68392 100644 --- a/src/PublicSwimmingPool.php +++ b/src/PublicSwimmingPool.php @@ -29,6 +29,7 @@ class PublicSwimmingPool extends BaseType implements PublicSwimmingPoolContract, * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/PublicToilet.php b/src/PublicToilet.php index 029c419a3..e902ae288 100644 --- a/src/PublicToilet.php +++ b/src/PublicToilet.php @@ -44,10 +44,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -114,7 +118,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -455,7 +458,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -553,7 +555,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -599,7 +600,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -728,7 +728,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -860,7 +859,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/PublicationEvent.php b/src/PublicationEvent.php index 532f67ebb..358ea9bd7 100644 --- a/src/PublicationEvent.php +++ b/src/PublicationEvent.php @@ -50,10 +50,14 @@ public function actor($actor) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -146,7 +150,6 @@ public function audience($audience) * @return static * * @see https://schema.org/composer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public function composer($composer) { @@ -360,6 +363,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/PublicationIssue.php b/src/PublicationIssue.php index ea0430b6e..d305b43c5 100644 --- a/src/PublicationIssue.php +++ b/src/PublicationIssue.php @@ -15,7 +15,6 @@ * post](http://blog.schema.org/2014/09/schemaorg-support-for-bibliographic_2.html). * * @see https://schema.org/PublicationIssue - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex * */ class PublicationIssue extends BaseType implements PublicationIssueContract, CreativeWorkContract, ThingContract @@ -206,10 +205,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -589,6 +592,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -918,7 +922,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -989,6 +992,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1018,7 +1022,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1156,7 +1159,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1222,7 +1225,6 @@ public function isPartOf($isPartOf) * @return static * * @see https://schema.org/issueNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function issueNumber($issueNumber) { @@ -1440,7 +1442,6 @@ public function offers($offers) * @return static * * @see https://schema.org/pageEnd - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pageEnd($pageEnd) { @@ -1455,7 +1456,6 @@ public function pageEnd($pageEnd) * @return static * * @see https://schema.org/pageStart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pageStart($pageStart) { @@ -1471,7 +1471,6 @@ public function pageStart($pageStart) * @return static * * @see https://schema.org/pagination - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pagination($pagination) { @@ -1954,6 +1953,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1969,9 +1982,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2109,7 +2121,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/PublicationVolume.php b/src/PublicationVolume.php index 52245aeb3..dde368ae9 100644 --- a/src/PublicationVolume.php +++ b/src/PublicationVolume.php @@ -15,7 +15,6 @@ * post](http://blog.schema.org/2014/09/schemaorg-support-for-bibliographic_2.html). * * @see https://schema.org/PublicationVolume - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex * */ class PublicationVolume extends BaseType implements PublicationVolumeContract, CreativeWorkContract, ThingContract @@ -206,10 +205,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -589,6 +592,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -918,7 +922,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -989,6 +992,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1018,7 +1022,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1156,7 +1159,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1425,7 +1428,6 @@ public function offers($offers) * @return static * * @see https://schema.org/pageEnd - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pageEnd($pageEnd) { @@ -1440,7 +1442,6 @@ public function pageEnd($pageEnd) * @return static * * @see https://schema.org/pageStart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pageStart($pageStart) { @@ -1456,7 +1457,6 @@ public function pageStart($pageStart) * @return static * * @see https://schema.org/pagination - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pagination($pagination) { @@ -1939,6 +1939,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1954,9 +1968,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2094,7 +2107,6 @@ public function video($video) * @return static * * @see https://schema.org/volumeNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function volumeNumber($volumeNumber) { @@ -2110,7 +2122,6 @@ public function volumeNumber($volumeNumber) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/QAPage.php b/src/QAPage.php index 060d457be..dbcdc481e 100644 --- a/src/QAPage.php +++ b/src/QAPage.php @@ -203,10 +203,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -601,6 +605,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -930,7 +935,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1001,6 +1005,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1030,7 +1035,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1168,7 +1172,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2061,6 +2065,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2076,9 +2094,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2216,7 +2233,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/QualitativeValue.php b/src/QualitativeValue.php index 7401780e8..c68813c34 100644 --- a/src/QualitativeValue.php +++ b/src/QualitativeValue.php @@ -12,7 +12,6 @@ * type 'US' or the garment sizes 'S', 'M', 'L', and 'XL'. * * @see https://schema.org/QualitativeValue - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsClass * * @method static supersededBy($supersededBy) The value should be instance of pending types Class|Class[]|Enumeration|Enumeration[]|Property|Property[] */ @@ -43,10 +42,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -113,7 +116,6 @@ public function disambiguatingDescription($disambiguatingDescription) * @return static * * @see https://schema.org/equal - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function equal($equal) { @@ -129,7 +131,6 @@ public function equal($equal) * @return static * * @see https://schema.org/greater - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function greater($greater) { @@ -145,7 +146,6 @@ public function greater($greater) * @return static * * @see https://schema.org/greaterOrEqual - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function greaterOrEqual($greaterOrEqual) { @@ -194,7 +194,6 @@ public function image($image) * @return static * * @see https://schema.org/lesser - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function lesser($lesser) { @@ -210,7 +209,6 @@ public function lesser($lesser) * @return static * * @see https://schema.org/lesserOrEqual - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function lesserOrEqual($lesserOrEqual) { @@ -256,7 +254,6 @@ public function name($name) * @return static * * @see https://schema.org/nonEqual - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function nonEqual($nonEqual) { @@ -332,7 +329,6 @@ public function url($url) * @return static * * @see https://schema.org/valueReference - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function valueReference($valueReference) { diff --git a/src/QuantitativeValue.php b/src/QuantitativeValue.php index e6bfaffa1..6cdcbbdee 100644 --- a/src/QuantitativeValue.php +++ b/src/QuantitativeValue.php @@ -11,7 +11,6 @@ * A point value or interval for product characteristics and other purposes. * * @see https://schema.org/QuantitativeValue - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsClass * */ class QuantitativeValue extends BaseType implements QuantitativeValueContract, IntangibleContract, StructuredValueContract, ThingContract @@ -41,10 +40,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -159,7 +162,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/maxValue - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function maxValue($maxValue) { @@ -174,7 +176,6 @@ public function maxValue($maxValue) * @return static * * @see https://schema.org/minValue - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function minValue($minValue) { @@ -251,7 +252,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/unitCode - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function unitCode($unitCode) { @@ -289,7 +289,8 @@ public function url($url) } /** - * The value of the quantitative value or property value node. + * The value of a [[QuantitativeValue]] (including [[Observation]]) or + * property value node. * * * For [[QuantitativeValue]] and [[MonetaryAmount]], the recommended type * for values is 'Number'. @@ -305,7 +306,6 @@ public function url($url) * @return static * * @see https://schema.org/value - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function value($value) { @@ -321,7 +321,6 @@ public function value($value) * @return static * * @see https://schema.org/valueReference - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function valueReference($valueReference) { diff --git a/src/QuantitativeValueDistribution.php b/src/QuantitativeValueDistribution.php index 47d62cad7..7b39ca7c6 100644 --- a/src/QuantitativeValueDistribution.php +++ b/src/QuantitativeValueDistribution.php @@ -19,10 +19,14 @@ class QuantitativeValueDistribution extends BaseType implements QuantitativeValu /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/Quantity.php b/src/Quantity.php index de7e73baf..e499792ac 100644 --- a/src/Quantity.php +++ b/src/Quantity.php @@ -18,10 +18,14 @@ class Quantity extends BaseType implements QuantityContract, IntangibleContract, /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/Question.php b/src/Question.php index df845ba7e..acb72cfe9 100644 --- a/src/Question.php +++ b/src/Question.php @@ -12,7 +12,6 @@ * in a Frequently Asked Questions (FAQ) document. * * @see https://schema.org/Question - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_QAStackExchange * */ class Question extends BaseType implements QuestionContract, CommentContract, CreativeWorkContract, ThingContract @@ -219,10 +218,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -616,6 +619,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -978,7 +982,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1049,6 +1052,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1078,7 +1082,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1216,7 +1219,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1982,6 +1985,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1997,9 +2014,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2152,7 +2168,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/Quiz.php b/src/Quiz.php index 0d1bd5237..30be5f05f 100644 --- a/src/Quiz.php +++ b/src/Quiz.php @@ -203,10 +203,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -604,6 +608,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -933,7 +938,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1004,6 +1008,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1033,7 +1038,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1171,7 +1175,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1908,6 +1912,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1923,9 +1941,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2063,7 +2080,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/Quotation.php b/src/Quotation.php index feac7d9e8..8da846c59 100644 --- a/src/Quotation.php +++ b/src/Quotation.php @@ -206,10 +206,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -589,6 +593,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -918,7 +923,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -989,6 +993,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1018,7 +1023,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1156,7 +1160,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1910,6 +1914,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1925,9 +1943,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2065,7 +2082,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/QuoteAction.php b/src/QuoteAction.php index 1b04258d4..307b9b0d2 100644 --- a/src/QuoteAction.php +++ b/src/QuoteAction.php @@ -33,10 +33,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -356,7 +360,6 @@ public function priceCurrency($priceCurrency) * @return static * * @see https://schema.org/priceSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function priceSpecification($priceSpecification) { diff --git a/src/RVPark.php b/src/RVPark.php index 47e34a9c7..832054a85 100644 --- a/src/RVPark.php +++ b/src/RVPark.php @@ -41,10 +41,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -111,7 +115,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -452,7 +455,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -550,7 +552,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -596,7 +597,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -725,7 +725,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -857,7 +856,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/RadiationTherapy.php b/src/RadiationTherapy.php index 5c6306a40..3f0a0da41 100644 --- a/src/RadiationTherapy.php +++ b/src/RadiationTherapy.php @@ -21,10 +21,14 @@ class RadiationTherapy extends BaseType implements RadiationTherapyContract, Med /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -218,6 +222,7 @@ public function followup($followup) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/RadioBroadcastService.php b/src/RadioBroadcastService.php index 16f6b1c42..29d0c28b3 100644 --- a/src/RadioBroadcastService.php +++ b/src/RadioBroadcastService.php @@ -22,10 +22,14 @@ class RadioBroadcastService extends BaseType implements RadioBroadcastServiceCon /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -412,7 +416,6 @@ public function inLanguage($inLanguage) * @return static * * @see https://schema.org/isRelatedTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isRelatedTo($isRelatedTo) { @@ -428,7 +431,6 @@ public function isRelatedTo($isRelatedTo) * @return static * * @see https://schema.org/isSimilarTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isSimilarTo($isSimilarTo) { @@ -443,7 +445,6 @@ public function isSimilarTo($isSimilarTo) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { diff --git a/src/RadioChannel.php b/src/RadioChannel.php index 260e202fa..474b74f3b 100644 --- a/src/RadioChannel.php +++ b/src/RadioChannel.php @@ -19,10 +19,14 @@ class RadioChannel extends BaseType implements RadioChannelContract, BroadcastCh /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/RadioClip.php b/src/RadioClip.php index 50157037c..0862cee61 100644 --- a/src/RadioClip.php +++ b/src/RadioClip.php @@ -232,10 +232,14 @@ public function actors($actors) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -629,6 +633,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -1006,7 +1011,6 @@ public function endOffset($endOffset) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1077,6 +1081,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1106,7 +1111,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1244,7 +1248,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2054,6 +2058,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2069,9 +2087,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2209,7 +2226,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/RadioEpisode.php b/src/RadioEpisode.php index f6b55461c..3470c7f5b 100644 --- a/src/RadioEpisode.php +++ b/src/RadioEpisode.php @@ -232,10 +232,14 @@ public function actors($actors) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -615,6 +619,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -1004,7 +1009,6 @@ public function episodeNumber($episodeNumber) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1075,6 +1079,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1104,7 +1109,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1242,7 +1246,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2036,6 +2040,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2051,9 +2069,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2205,7 +2222,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/RadioSeason.php b/src/RadioSeason.php index f407cb42e..aa972fe0e 100644 --- a/src/RadioSeason.php +++ b/src/RadioSeason.php @@ -217,10 +217,14 @@ public function actor($actor) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -600,6 +604,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -989,7 +994,6 @@ public function episodes($episodes) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1060,6 +1064,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1089,7 +1094,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1227,7 +1231,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2037,6 +2041,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2052,9 +2070,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2206,7 +2223,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/RadioSeries.php b/src/RadioSeries.php index 708162327..80296ff82 100644 --- a/src/RadioSeries.php +++ b/src/RadioSeries.php @@ -235,10 +235,14 @@ public function actors($actors) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -632,6 +636,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -1036,7 +1041,6 @@ public function episodes($episodes) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1107,6 +1111,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1136,7 +1141,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1274,7 +1278,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1342,7 +1346,6 @@ public function isPartOf($isPartOf) * @return static * * @see https://schema.org/issn - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function issn($issn) { @@ -2129,6 +2132,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2144,9 +2161,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2298,7 +2314,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/RadioStation.php b/src/RadioStation.php index d724c890c..d894b4a49 100644 --- a/src/RadioStation.php +++ b/src/RadioStation.php @@ -28,6 +28,7 @@ class RadioStation extends BaseType implements RadioStationContract, LocalBusine * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -59,10 +60,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -143,7 +148,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -324,6 +328,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -426,6 +431,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -444,6 +450,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -459,7 +466,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -653,6 +659,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -856,7 +863,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -952,7 +958,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1049,7 +1054,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1105,6 +1109,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1123,6 +1128,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1152,7 +1158,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1197,7 +1202,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1243,7 +1247,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1345,7 +1348,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1432,7 +1434,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1453,6 +1454,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1467,7 +1469,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1652,7 +1653,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1696,7 +1696,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1776,7 +1775,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1826,6 +1824,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1854,7 +1853,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/Rating.php b/src/Rating.php index 17a57e9aa..f5ed6795b 100644 --- a/src/Rating.php +++ b/src/Rating.php @@ -17,10 +17,14 @@ class Rating extends BaseType implements RatingContract, IntangibleContract, Thi /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/ReactAction.php b/src/ReactAction.php index 6a78a2049..9956ed2f2 100644 --- a/src/ReactAction.php +++ b/src/ReactAction.php @@ -33,10 +33,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/ReadAction.php b/src/ReadAction.php index b81ade05d..988e67d61 100644 --- a/src/ReadAction.php +++ b/src/ReadAction.php @@ -49,10 +49,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/RealEstateAgent.php b/src/RealEstateAgent.php index dd9169a95..480d4c397 100644 --- a/src/RealEstateAgent.php +++ b/src/RealEstateAgent.php @@ -28,6 +28,7 @@ class RealEstateAgent extends BaseType implements RealEstateAgentContract, Local * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -59,10 +60,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -143,7 +148,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -324,6 +328,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -426,6 +431,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -444,6 +450,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -459,7 +466,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -653,6 +659,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -856,7 +863,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -952,7 +958,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1049,7 +1054,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1105,6 +1109,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1123,6 +1128,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1152,7 +1158,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1197,7 +1202,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1243,7 +1247,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1345,7 +1348,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1432,7 +1434,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1453,6 +1454,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1467,7 +1469,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1652,7 +1653,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1696,7 +1696,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1776,7 +1775,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1826,6 +1824,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1854,7 +1853,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/RealEstateListing.php b/src/RealEstateListing.php index 458faa570..da2a782d0 100644 --- a/src/RealEstateListing.php +++ b/src/RealEstateListing.php @@ -207,10 +207,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -605,6 +609,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -948,7 +953,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1019,6 +1023,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1048,7 +1053,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1186,7 +1190,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2096,6 +2100,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2111,9 +2129,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2251,7 +2268,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/ReceiveAction.php b/src/ReceiveAction.php index b3cf6e168..184f1c9fa 100644 --- a/src/ReceiveAction.php +++ b/src/ReceiveAction.php @@ -40,10 +40,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/Recipe.php b/src/Recipe.php index 724def262..eaa5644a5 100644 --- a/src/Recipe.php +++ b/src/Recipe.php @@ -203,10 +203,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -615,6 +619,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -959,7 +964,6 @@ public function estimatedCost($estimatedCost) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1030,6 +1034,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1059,7 +1064,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1211,7 +1215,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2126,6 +2130,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2141,9 +2159,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2312,7 +2329,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/Recommendation.php b/src/Recommendation.php index 3fe678615..fc810aec7 100644 --- a/src/Recommendation.php +++ b/src/Recommendation.php @@ -208,10 +208,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -664,6 +668,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -993,7 +998,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1064,6 +1068,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1093,7 +1098,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1231,7 +1235,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2082,6 +2086,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2097,9 +2115,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2237,7 +2254,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/RecommendedDoseSchedule.php b/src/RecommendedDoseSchedule.php index 8247f3a8c..58be1ac91 100644 --- a/src/RecommendedDoseSchedule.php +++ b/src/RecommendedDoseSchedule.php @@ -23,10 +23,14 @@ class RecommendedDoseSchedule extends BaseType implements RecommendedDoseSchedul /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -155,6 +159,7 @@ public function frequency($frequency) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/RecyclingCenter.php b/src/RecyclingCenter.php index 26b384a9d..19dc9028b 100644 --- a/src/RecyclingCenter.php +++ b/src/RecyclingCenter.php @@ -28,6 +28,7 @@ class RecyclingCenter extends BaseType implements RecyclingCenterContract, Local * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -59,10 +60,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -143,7 +148,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -324,6 +328,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -426,6 +431,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -444,6 +450,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -459,7 +466,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -653,6 +659,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -856,7 +863,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -952,7 +958,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1049,7 +1054,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1105,6 +1109,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1123,6 +1128,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1152,7 +1158,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1197,7 +1202,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1243,7 +1247,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1345,7 +1348,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1432,7 +1434,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1453,6 +1454,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1467,7 +1469,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1652,7 +1653,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1696,7 +1696,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1776,7 +1775,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1826,6 +1824,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1854,7 +1853,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/RefundTypeEnumeration.php b/src/RefundTypeEnumeration.php index 5dd2a84b9..6311d82a8 100644 --- a/src/RefundTypeEnumeration.php +++ b/src/RefundTypeEnumeration.php @@ -50,10 +50,14 @@ class RefundTypeEnumeration extends BaseType implements RefundTypeEnumerationCon /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/RegisterAction.php b/src/RegisterAction.php index 3a5a57254..c142d73ed 100644 --- a/src/RegisterAction.php +++ b/src/RegisterAction.php @@ -41,10 +41,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/RejectAction.php b/src/RejectAction.php index c2271a273..e0f1272cc 100644 --- a/src/RejectAction.php +++ b/src/RejectAction.php @@ -37,10 +37,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/RentAction.php b/src/RentAction.php index 18f2e245b..e901ce5c6 100644 --- a/src/RentAction.php +++ b/src/RentAction.php @@ -34,10 +34,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -371,7 +375,6 @@ public function priceCurrency($priceCurrency) * @return static * * @see https://schema.org/priceSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function priceSpecification($priceSpecification) { diff --git a/src/RentalCarReservation.php b/src/RentalCarReservation.php index 49f7c2750..8c7ee74c6 100644 --- a/src/RentalCarReservation.php +++ b/src/RentalCarReservation.php @@ -22,10 +22,14 @@ class RentalCarReservation extends BaseType implements RentalCarReservationContr /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/RepaymentSpecification.php b/src/RepaymentSpecification.php index 3918f5c95..db51847a1 100644 --- a/src/RepaymentSpecification.php +++ b/src/RepaymentSpecification.php @@ -12,6 +12,7 @@ * * @see https://schema.org/RepaymentSpecification * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1253 * */ class RepaymentSpecification extends BaseType implements RepaymentSpecificationContract, IntangibleContract, StructuredValueContract, ThingContract @@ -19,10 +20,14 @@ class RepaymentSpecification extends BaseType implements RepaymentSpecificationC /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -91,6 +96,7 @@ public function disambiguatingDescription($disambiguatingDescription) * * @see https://schema.org/downPayment * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1253 */ public function downPayment($downPayment) { @@ -107,6 +113,7 @@ public function downPayment($downPayment) * * @see https://schema.org/earlyPrepaymentPenalty * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1253 */ public function earlyPrepaymentPenalty($earlyPrepaymentPenalty) { @@ -155,6 +162,7 @@ public function image($image) * * @see https://schema.org/loanPaymentAmount * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1253 */ public function loanPaymentAmount($loanPaymentAmount) { @@ -171,6 +179,7 @@ public function loanPaymentAmount($loanPaymentAmount) * * @see https://schema.org/loanPaymentFrequency * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1253 */ public function loanPaymentFrequency($loanPaymentFrequency) { @@ -218,6 +227,7 @@ public function name($name) * * @see https://schema.org/numberOfLoanPayments * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1253 */ public function numberOfLoanPayments($numberOfLoanPayments) { diff --git a/src/ReplaceAction.php b/src/ReplaceAction.php index 94c29aab5..6a7e96dc8 100644 --- a/src/ReplaceAction.php +++ b/src/ReplaceAction.php @@ -32,10 +32,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/ReplyAction.php b/src/ReplyAction.php index ce9a6bee0..63f68a0d6 100644 --- a/src/ReplyAction.php +++ b/src/ReplyAction.php @@ -53,10 +53,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/Report.php b/src/Report.php index 42b4d5571..446d1f7af 100644 --- a/src/Report.php +++ b/src/Report.php @@ -201,10 +201,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -427,6 +431,7 @@ public function awards($awards) * * @see https://schema.org/backstory * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function backstory($backstory) { @@ -632,6 +637,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -961,7 +967,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1032,6 +1037,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1061,7 +1067,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1199,7 +1204,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1468,7 +1473,6 @@ public function offers($offers) * @return static * * @see https://schema.org/pageEnd - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pageEnd($pageEnd) { @@ -1483,7 +1487,6 @@ public function pageEnd($pageEnd) * @return static * * @see https://schema.org/pageStart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pageStart($pageStart) { @@ -1499,7 +1502,6 @@ public function pageStart($pageStart) * @return static * * @see https://schema.org/pagination - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pagination($pagination) { @@ -2037,6 +2039,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2052,9 +2068,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2206,7 +2221,6 @@ public function wordCount($wordCount) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/ReportageNewsArticle.php b/src/ReportageNewsArticle.php index 9240dfd1b..e9b1e1ee9 100644 --- a/src/ReportageNewsArticle.php +++ b/src/ReportageNewsArticle.php @@ -34,6 +34,7 @@ * * @see https://schema.org/ReportageNewsArticle * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 * */ class ReportageNewsArticle extends BaseType implements ReportageNewsArticleContract, ArticleContract, CreativeWorkContract, NewsArticleContract, ThingContract @@ -224,10 +225,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -450,6 +455,7 @@ public function awards($awards) * * @see https://schema.org/backstory * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function backstory($backstory) { @@ -655,6 +661,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -1011,7 +1018,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1082,6 +1088,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1111,7 +1118,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1249,7 +1255,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1518,7 +1524,6 @@ public function offers($offers) * @return static * * @see https://schema.org/pageEnd - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pageEnd($pageEnd) { @@ -1533,7 +1538,6 @@ public function pageEnd($pageEnd) * @return static * * @see https://schema.org/pageStart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pageStart($pageStart) { @@ -1549,7 +1553,6 @@ public function pageStart($pageStart) * @return static * * @see https://schema.org/pagination - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pagination($pagination) { @@ -2132,6 +2135,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2147,9 +2164,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2301,7 +2317,6 @@ public function wordCount($wordCount) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/ReportedDoseSchedule.php b/src/ReportedDoseSchedule.php index d2dbed390..fa01521b6 100644 --- a/src/ReportedDoseSchedule.php +++ b/src/ReportedDoseSchedule.php @@ -20,10 +20,14 @@ class ReportedDoseSchedule extends BaseType implements ReportedDoseScheduleContr /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -152,6 +156,7 @@ public function frequency($frequency) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/ResearchOrganization.php b/src/ResearchOrganization.php index b05451060..e6c726949 100644 --- a/src/ResearchOrganization.php +++ b/src/ResearchOrganization.php @@ -28,6 +28,7 @@ class ResearchOrganization extends BaseType implements ResearchOrganizationContr * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -37,10 +38,14 @@ public function actionableFeedbackPolicy($actionableFeedbackPolicy) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -206,6 +211,7 @@ public function contactPoints($contactPoints) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -286,6 +292,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -304,6 +311,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -319,7 +327,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -513,6 +520,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -530,7 +538,6 @@ public function funding($funding) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -592,7 +599,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -675,7 +681,6 @@ public function interactionStatistic($interactionStatistic) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -731,6 +736,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -749,6 +755,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -763,7 +770,6 @@ public function knowsLanguage($knowsLanguage) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -808,7 +814,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -839,7 +844,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -899,7 +903,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -965,6 +968,7 @@ public function numberOfEmployees($numberOfEmployees) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -979,7 +983,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1093,7 +1096,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1184,7 +1186,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1216,6 +1217,7 @@ public function telephone($telephone) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1244,7 +1246,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/ResearchProject.php b/src/ResearchProject.php index f672e0a1b..e34ed641a 100644 --- a/src/ResearchProject.php +++ b/src/ResearchProject.php @@ -28,6 +28,7 @@ class ResearchProject extends BaseType implements ResearchProjectContract, Organ * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -37,10 +38,14 @@ public function actionableFeedbackPolicy($actionableFeedbackPolicy) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -206,6 +211,7 @@ public function contactPoints($contactPoints) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -286,6 +292,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -304,6 +311,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -319,7 +327,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -513,6 +520,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -530,7 +538,6 @@ public function funding($funding) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -592,7 +599,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -675,7 +681,6 @@ public function interactionStatistic($interactionStatistic) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -731,6 +736,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -749,6 +755,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -763,7 +770,6 @@ public function knowsLanguage($knowsLanguage) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -808,7 +814,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -839,7 +844,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -899,7 +903,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -965,6 +968,7 @@ public function numberOfEmployees($numberOfEmployees) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -979,7 +983,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1093,7 +1096,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1184,7 +1186,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1216,6 +1217,7 @@ public function telephone($telephone) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1244,7 +1246,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/Researcher.php b/src/Researcher.php index 3a1ce36e2..8497dcb78 100644 --- a/src/Researcher.php +++ b/src/Researcher.php @@ -18,10 +18,14 @@ class Researcher extends BaseType implements ResearcherContract, AudienceContrac /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/Reservation.php b/src/Reservation.php index 3abb11e2b..e24c5e93a 100644 --- a/src/Reservation.php +++ b/src/Reservation.php @@ -23,10 +23,14 @@ class Reservation extends BaseType implements ReservationContract, IntangibleCon /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/ReservationPackage.php b/src/ReservationPackage.php index 9a7385af1..c021a9fb5 100644 --- a/src/ReservationPackage.php +++ b/src/ReservationPackage.php @@ -18,10 +18,14 @@ class ReservationPackage extends BaseType implements ReservationPackageContract, /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/ReservationStatusType.php b/src/ReservationStatusType.php index 1825c999c..5305372d3 100644 --- a/src/ReservationStatusType.php +++ b/src/ReservationStatusType.php @@ -50,10 +50,14 @@ class ReservationStatusType extends BaseType implements ReservationStatusTypeCon /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/ReserveAction.php b/src/ReserveAction.php index 42e8642da..504beb96f 100644 --- a/src/ReserveAction.php +++ b/src/ReserveAction.php @@ -38,10 +38,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/Reservoir.php b/src/Reservoir.php index a39bf686a..36ecb42a9 100644 --- a/src/Reservoir.php +++ b/src/Reservoir.php @@ -42,10 +42,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -112,7 +116,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -453,7 +456,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -551,7 +553,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -597,7 +598,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -699,7 +699,6 @@ public function name($name) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -831,7 +830,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/Residence.php b/src/Residence.php index 65a94fa5c..941408cce 100644 --- a/src/Residence.php +++ b/src/Residence.php @@ -55,10 +55,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -125,7 +129,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -466,7 +469,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -564,7 +566,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -610,7 +611,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -712,7 +712,6 @@ public function name($name) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -844,7 +843,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/Resort.php b/src/Resort.php index 89a5e2058..c9e1493dc 100644 --- a/src/Resort.php +++ b/src/Resort.php @@ -20,7 +20,6 @@ * schema.org for marking up hotels and other forms of accommodations. * * @see https://schema.org/Resort - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology * */ class Resort extends BaseType implements ResortContract, LocalBusinessContract, LodgingBusinessContract, OrganizationContract, PlaceContract, ThingContract @@ -37,6 +36,7 @@ class Resort extends BaseType implements ResortContract, LocalBusinessContract, * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -68,10 +68,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -152,7 +156,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -391,6 +394,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -493,6 +497,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -511,6 +516,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -526,7 +532,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -720,6 +725,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -923,7 +929,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -1019,7 +1024,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1116,7 +1120,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1172,6 +1175,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1190,6 +1194,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1219,7 +1224,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1264,7 +1268,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1310,7 +1313,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1412,7 +1414,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1475,7 +1476,6 @@ public function numberOfEmployees($numberOfEmployees) * @return static * * @see https://schema.org/numberOfRooms - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function numberOfRooms($numberOfRooms) { @@ -1517,7 +1517,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1538,6 +1537,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1552,7 +1552,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1597,7 +1596,6 @@ public function paymentAccepted($paymentAccepted) * @return static * * @see https://schema.org/petsAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function petsAllowed($petsAllowed) { @@ -1753,7 +1751,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1797,7 +1794,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1848,7 +1844,6 @@ public function sponsor($sponsor) * @return static * * @see https://schema.org/starRating - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function starRating($starRating) { @@ -1895,7 +1890,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1945,6 +1939,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1973,7 +1968,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/Restaurant.php b/src/Restaurant.php index 29863bae6..109a5f935 100644 --- a/src/Restaurant.php +++ b/src/Restaurant.php @@ -45,6 +45,7 @@ public function acceptsReservations($acceptsReservations) * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -76,10 +77,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -160,7 +165,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -341,6 +345,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -443,6 +448,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -461,6 +467,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -476,7 +483,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -670,6 +676,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -873,7 +880,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -984,7 +990,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1081,7 +1086,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1137,6 +1141,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1155,6 +1160,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1184,7 +1190,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1229,7 +1234,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1275,7 +1279,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1392,7 +1395,6 @@ public function menu($menu) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1479,7 +1481,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1500,6 +1501,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1514,7 +1516,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1699,7 +1700,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1757,7 +1757,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1808,7 +1807,6 @@ public function sponsor($sponsor) * @return static * * @see https://schema.org/starRating - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function starRating($starRating) { @@ -1855,7 +1853,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1905,6 +1902,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1933,7 +1931,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/RestrictedDiet.php b/src/RestrictedDiet.php index cbdb22743..8e37f8316 100644 --- a/src/RestrictedDiet.php +++ b/src/RestrictedDiet.php @@ -97,10 +97,14 @@ class RestrictedDiet extends BaseType implements RestrictedDietContract, Enumera /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/ResumeAction.php b/src/ResumeAction.php index e9a9daa27..b487096a5 100644 --- a/src/ResumeAction.php +++ b/src/ResumeAction.php @@ -33,10 +33,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/ReturnAction.php b/src/ReturnAction.php index 6d880b91d..5f07fe7b2 100644 --- a/src/ReturnAction.php +++ b/src/ReturnAction.php @@ -33,10 +33,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/ReturnFeesEnumeration.php b/src/ReturnFeesEnumeration.php index a7bc88ae1..5b207e752 100644 --- a/src/ReturnFeesEnumeration.php +++ b/src/ReturnFeesEnumeration.php @@ -70,10 +70,14 @@ class ReturnFeesEnumeration extends BaseType implements ReturnFeesEnumerationCon /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/ReturnLabelSourceEnumeration.php b/src/ReturnLabelSourceEnumeration.php index d260a6ed5..aac517c2e 100644 --- a/src/ReturnLabelSourceEnumeration.php +++ b/src/ReturnLabelSourceEnumeration.php @@ -51,10 +51,14 @@ class ReturnLabelSourceEnumeration extends BaseType implements ReturnLabelSource /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/ReturnMethodEnumeration.php b/src/ReturnMethodEnumeration.php index 77727aeb0..dfd38b9fe 100644 --- a/src/ReturnMethodEnumeration.php +++ b/src/ReturnMethodEnumeration.php @@ -48,10 +48,14 @@ class ReturnMethodEnumeration extends BaseType implements ReturnMethodEnumeratio /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/Review.php b/src/Review.php index a0c785075..aa7996785 100644 --- a/src/Review.php +++ b/src/Review.php @@ -200,10 +200,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -641,6 +645,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -970,7 +975,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1041,6 +1045,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1070,7 +1075,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1208,7 +1212,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2059,6 +2063,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2074,9 +2092,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2214,7 +2231,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/ReviewAction.php b/src/ReviewAction.php index ece546938..070660efa 100644 --- a/src/ReviewAction.php +++ b/src/ReviewAction.php @@ -33,10 +33,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/ReviewNewsArticle.php b/src/ReviewNewsArticle.php index 8bd3ca1d4..dd2c62fc4 100644 --- a/src/ReviewNewsArticle.php +++ b/src/ReviewNewsArticle.php @@ -16,6 +16,7 @@ * * @see https://schema.org/ReviewNewsArticle * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 * */ class ReviewNewsArticle extends BaseType implements ReviewNewsArticleContract, ArticleContract, CreativeWorkContract, CriticReviewContract, NewsArticleContract, ReviewContract, ThingContract @@ -206,10 +207,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -490,6 +495,7 @@ public function awards($awards) * * @see https://schema.org/backstory * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function backstory($backstory) { @@ -695,6 +701,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -1051,7 +1058,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1122,6 +1128,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1151,7 +1158,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1289,7 +1295,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1600,7 +1606,6 @@ public function offers($offers) * @return static * * @see https://schema.org/pageEnd - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pageEnd($pageEnd) { @@ -1615,7 +1620,6 @@ public function pageEnd($pageEnd) * @return static * * @see https://schema.org/pageStart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pageStart($pageStart) { @@ -1631,7 +1635,6 @@ public function pageStart($pageStart) * @return static * * @see https://schema.org/pagination - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pagination($pagination) { @@ -2286,6 +2289,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2301,9 +2318,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2455,7 +2471,6 @@ public function wordCount($wordCount) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/RiverBodyOfWater.php b/src/RiverBodyOfWater.php index 7a75fbe1a..280171221 100644 --- a/src/RiverBodyOfWater.php +++ b/src/RiverBodyOfWater.php @@ -41,10 +41,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -111,7 +115,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -452,7 +455,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -550,7 +552,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -596,7 +597,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -698,7 +698,6 @@ public function name($name) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -830,7 +829,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/Role.php b/src/Role.php index f90f86d30..56546a876 100644 --- a/src/Role.php +++ b/src/Role.php @@ -24,10 +24,14 @@ class Role extends BaseType implements RoleContract, IntangibleContract, ThingCo /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/RoofingContractor.php b/src/RoofingContractor.php index 258e631b6..e13a3b1e6 100644 --- a/src/RoofingContractor.php +++ b/src/RoofingContractor.php @@ -29,6 +29,7 @@ class RoofingContractor extends BaseType implements RoofingContractorContract, H * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/Room.php b/src/Room.php index ed66f9a7b..12d080c53 100644 --- a/src/Room.php +++ b/src/Room.php @@ -17,7 +17,6 @@ * schema.org for marking up hotels and other forms of accommodations. * * @see https://schema.org/Room - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology * */ class Room extends BaseType implements RoomContract, AccommodationContract, PlaceContract, ThingContract @@ -84,10 +83,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -154,13 +157,30 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { return $this->setProperty('amenityFeature', $amenityFeature); } + /** + * The type of bed or beds included in the accommodation. For the single + * case of just one bed of a certain type, you use bed directly with a text. + * If you want to indicate the quantity of a certain kind of bed, use + * an instance of BedDetails. For more detailed information, use the + * amenityFeature property. + * + * @param \Spatie\SchemaOrg\Contracts\BedDetailsContract|\Spatie\SchemaOrg\Contracts\BedDetailsContract[]|\Spatie\SchemaOrg\Contracts\BedTypeContract|\Spatie\SchemaOrg\Contracts\BedTypeContract[]|string|string[] $bed + * + * @return static + * + * @see https://schema.org/bed + */ + public function bed($bed) + { + return $this->setProperty('bed', $bed); + } + /** * A short textual code (also called "store code") that uniquely identifies * a place of business. The code is typically assigned by the @@ -328,7 +348,6 @@ public function floorLevel($floorLevel) * @return static * * @see https://schema.org/floorSize - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function floorSize($floorSize) { @@ -532,7 +551,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -630,7 +648,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -693,7 +710,6 @@ public function leaseLength($leaseLength) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -872,13 +888,30 @@ public function numberOfPartialBathrooms($numberOfPartialBathrooms) * @return static * * @see https://schema.org/numberOfRooms - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function numberOfRooms($numberOfRooms) { return $this->setProperty('numberOfRooms', $numberOfRooms); } + /** + * The allowed total occupancy for the accommodation in persons (including + * infants etc). For individual accommodations, this is not necessarily the + * legal maximum but defines the permitted usage as per the contractual + * agreement (e.g. a double room used by a single person). + * Typical unit code(s): C62 for person + * + * @param \Spatie\SchemaOrg\Contracts\QuantitativeValueContract|\Spatie\SchemaOrg\Contracts\QuantitativeValueContract[] $occupancy + * + * @return static + * + * @see https://schema.org/occupancy + */ + public function occupancy($occupancy) + { + return $this->setProperty('occupancy', $occupancy); + } + /** * The opening hours of a certain place. * @@ -887,7 +920,6 @@ public function numberOfRooms($numberOfRooms) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -902,7 +934,6 @@ public function openingHoursSpecification($openingHoursSpecification) * @return static * * @see https://schema.org/permittedUsage - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function permittedUsage($permittedUsage) { @@ -918,7 +949,6 @@ public function permittedUsage($permittedUsage) * @return static * * @see https://schema.org/petsAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function petsAllowed($petsAllowed) { @@ -1050,7 +1080,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/RsvpAction.php b/src/RsvpAction.php index 56917b842..cfa5096d8 100644 --- a/src/RsvpAction.php +++ b/src/RsvpAction.php @@ -65,10 +65,14 @@ public function additionalNumberOfGuests($additionalNumberOfGuests) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/RsvpResponseType.php b/src/RsvpResponseType.php index 682875550..975dce9c0 100644 --- a/src/RsvpResponseType.php +++ b/src/RsvpResponseType.php @@ -41,10 +41,14 @@ class RsvpResponseType extends BaseType implements RsvpResponseTypeContract, Enu /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/SaleEvent.php b/src/SaleEvent.php index 52f394f79..e73ae5870 100644 --- a/src/SaleEvent.php +++ b/src/SaleEvent.php @@ -48,10 +48,14 @@ public function actor($actor) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +148,6 @@ public function audience($audience) * @return static * * @see https://schema.org/composer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public function composer($composer) { @@ -344,6 +347,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/SatiricalArticle.php b/src/SatiricalArticle.php index ea9e5594d..aa52df7b6 100644 --- a/src/SatiricalArticle.php +++ b/src/SatiricalArticle.php @@ -15,6 +15,7 @@ * * @see https://schema.org/SatiricalArticle * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 * */ class SatiricalArticle extends BaseType implements SatiricalArticleContract, ArticleContract, CreativeWorkContract, ThingContract @@ -205,10 +206,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -431,6 +436,7 @@ public function awards($awards) * * @see https://schema.org/backstory * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function backstory($backstory) { @@ -636,6 +642,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -965,7 +972,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1036,6 +1042,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1065,7 +1072,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1203,7 +1209,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1472,7 +1478,6 @@ public function offers($offers) * @return static * * @see https://schema.org/pageEnd - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pageEnd($pageEnd) { @@ -1487,7 +1492,6 @@ public function pageEnd($pageEnd) * @return static * * @see https://schema.org/pageStart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pageStart($pageStart) { @@ -1503,7 +1507,6 @@ public function pageStart($pageStart) * @return static * * @see https://schema.org/pagination - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pagination($pagination) { @@ -2026,6 +2029,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2041,9 +2058,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2195,7 +2211,6 @@ public function wordCount($wordCount) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/Schedule.php b/src/Schedule.php index abbddb225..bb64d7365 100644 --- a/src/Schedule.php +++ b/src/Schedule.php @@ -27,10 +27,14 @@ class Schedule extends BaseType implements ScheduleContract, IntangibleContract, /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/ScheduleAction.php b/src/ScheduleAction.php index 02313c695..e2b90c700 100644 --- a/src/ScheduleAction.php +++ b/src/ScheduleAction.php @@ -39,10 +39,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/Schema.php b/src/Schema.php index d744bb20b..a497cdd00 100644 --- a/src/Schema.php +++ b/src/Schema.php @@ -827,6 +827,11 @@ public static function consortium(): Consortium return new Consortium(); } + public static function constraintNode(): ConstraintNode + { + return new ConstraintNode(); + } + public static function consumeAction(): ConsumeAction { return new ConsumeAction(); @@ -2177,6 +2182,11 @@ public static function maximumDoseSchedule(): MaximumDoseSchedule return new MaximumDoseSchedule(); } + public static function measurementMethodEnum(): MeasurementMethodEnum + { + return new MeasurementMethodEnum(); + } + public static function measurementTypeEnumeration(): MeasurementTypeEnumeration { return new MeasurementTypeEnumeration(); @@ -3852,6 +3862,11 @@ public static function statisticalPopulation(): StatisticalPopulation return new StatisticalPopulation(); } + public static function statisticalVariable(): StatisticalVariable + { + return new StatisticalVariable(); + } + public static function statusEnumeration(): StatusEnumeration { return new StatusEnumeration(); @@ -3912,6 +3927,11 @@ public static function suspendAction(): SuspendAction return new SuspendAction(); } + public static function syllabus(): Syllabus + { + return new Syllabus(); + } + public static function synagogue(): Synagogue { return new Synagogue(); @@ -4212,6 +4232,11 @@ public static function userTweets(): UserTweets return new UserTweets(); } + public static function vacationRental(): VacationRental + { + return new VacationRental(); + } + public static function vehicle(): Vehicle { return new Vehicle(); diff --git a/src/ScholarlyArticle.php b/src/ScholarlyArticle.php index 4b9341932..b5c8eb2ef 100644 --- a/src/ScholarlyArticle.php +++ b/src/ScholarlyArticle.php @@ -201,10 +201,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -427,6 +431,7 @@ public function awards($awards) * * @see https://schema.org/backstory * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function backstory($backstory) { @@ -632,6 +637,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -961,7 +967,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1032,6 +1037,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1061,7 +1067,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1199,7 +1204,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1468,7 +1473,6 @@ public function offers($offers) * @return static * * @see https://schema.org/pageEnd - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pageEnd($pageEnd) { @@ -1483,7 +1487,6 @@ public function pageEnd($pageEnd) * @return static * * @see https://schema.org/pageStart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pageStart($pageStart) { @@ -1499,7 +1502,6 @@ public function pageStart($pageStart) * @return static * * @see https://schema.org/pagination - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pagination($pagination) { @@ -2022,6 +2024,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2037,9 +2053,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2191,7 +2206,6 @@ public function wordCount($wordCount) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/School.php b/src/School.php index 2b4aedbd2..8afa9b5de 100644 --- a/src/School.php +++ b/src/School.php @@ -29,6 +29,7 @@ class School extends BaseType implements SchoolContract, CivicStructureContract, * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -310,6 +314,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -390,6 +395,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -408,6 +414,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -423,7 +430,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -617,6 +623,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -820,7 +827,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -916,7 +922,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1013,7 +1018,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1069,6 +1073,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1087,6 +1092,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1116,7 +1122,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1161,7 +1166,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1207,7 +1211,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1309,7 +1312,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1396,7 +1398,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1417,6 +1418,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1431,7 +1433,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1588,7 +1589,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1632,7 +1632,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1712,7 +1711,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1762,6 +1760,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1790,7 +1789,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/SchoolDistrict.php b/src/SchoolDistrict.php index 5fe3fdf6d..e4c806465 100644 --- a/src/SchoolDistrict.php +++ b/src/SchoolDistrict.php @@ -43,10 +43,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -113,7 +117,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -454,7 +457,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -552,7 +554,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -598,7 +599,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -700,7 +700,6 @@ public function name($name) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -832,7 +831,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/ScreeningEvent.php b/src/ScreeningEvent.php index 54982a05a..88f08c8a3 100644 --- a/src/ScreeningEvent.php +++ b/src/ScreeningEvent.php @@ -48,10 +48,14 @@ public function actor($actor) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +148,6 @@ public function audience($audience) * @return static * * @see https://schema.org/composer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public function composer($composer) { @@ -344,6 +347,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/Sculpture.php b/src/Sculpture.php index 400dce614..b344261ac 100644 --- a/src/Sculpture.php +++ b/src/Sculpture.php @@ -200,10 +200,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -583,6 +587,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -912,7 +917,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -983,6 +987,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1012,7 +1017,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1150,7 +1154,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1887,6 +1891,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1902,9 +1920,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2042,7 +2059,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/SeaBodyOfWater.php b/src/SeaBodyOfWater.php index 7b4b3dd75..047c0ae9b 100644 --- a/src/SeaBodyOfWater.php +++ b/src/SeaBodyOfWater.php @@ -41,10 +41,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -111,7 +115,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -452,7 +455,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -550,7 +552,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -596,7 +597,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -698,7 +698,6 @@ public function name($name) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -830,7 +829,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/SearchAction.php b/src/SearchAction.php index c07688830..a1faad7fd 100644 --- a/src/SearchAction.php +++ b/src/SearchAction.php @@ -36,10 +36,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/SearchRescueOrganization.php b/src/SearchRescueOrganization.php index a449e34e3..bbc18272d 100644 --- a/src/SearchRescueOrganization.php +++ b/src/SearchRescueOrganization.php @@ -28,6 +28,7 @@ class SearchRescueOrganization extends BaseType implements SearchRescueOrganizat * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -37,10 +38,14 @@ public function actionableFeedbackPolicy($actionableFeedbackPolicy) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -206,6 +211,7 @@ public function contactPoints($contactPoints) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -286,6 +292,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -304,6 +311,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -319,7 +327,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -513,6 +520,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -530,7 +538,6 @@ public function funding($funding) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -592,7 +599,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -675,7 +681,6 @@ public function interactionStatistic($interactionStatistic) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -731,6 +736,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -749,6 +755,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -763,7 +770,6 @@ public function knowsLanguage($knowsLanguage) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -808,7 +814,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -839,7 +844,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -899,7 +903,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -965,6 +968,7 @@ public function numberOfEmployees($numberOfEmployees) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -979,7 +983,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1093,7 +1096,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1184,7 +1186,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1216,6 +1217,7 @@ public function telephone($telephone) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1244,7 +1246,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/SearchResultsPage.php b/src/SearchResultsPage.php index c5f74ef9e..ed228b61f 100644 --- a/src/SearchResultsPage.php +++ b/src/SearchResultsPage.php @@ -201,10 +201,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -599,6 +603,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -928,7 +933,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -999,6 +1003,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1028,7 +1033,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1166,7 +1170,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2059,6 +2063,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2074,9 +2092,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2214,7 +2231,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/Season.php b/src/Season.php index b26d4a995..0d94a0913 100644 --- a/src/Season.php +++ b/src/Season.php @@ -200,10 +200,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -583,6 +587,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -912,7 +917,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -983,6 +987,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1012,7 +1017,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1150,7 +1154,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1887,6 +1891,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1902,9 +1920,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2042,7 +2059,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/Seat.php b/src/Seat.php index c0cfcc334..144672c7f 100644 --- a/src/Seat.php +++ b/src/Seat.php @@ -17,10 +17,14 @@ class Seat extends BaseType implements SeatContract, IntangibleContract, ThingCo /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/SeekToAction.php b/src/SeekToAction.php index 8565b684c..df23d8975 100644 --- a/src/SeekToAction.php +++ b/src/SeekToAction.php @@ -35,10 +35,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/SelfStorage.php b/src/SelfStorage.php index 4bca7332e..31eed4242 100644 --- a/src/SelfStorage.php +++ b/src/SelfStorage.php @@ -28,6 +28,7 @@ class SelfStorage extends BaseType implements SelfStorageContract, LocalBusiness * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -59,10 +60,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -143,7 +148,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -324,6 +328,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -426,6 +431,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -444,6 +450,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -459,7 +466,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -653,6 +659,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -856,7 +863,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -952,7 +958,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1049,7 +1054,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1105,6 +1109,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1123,6 +1128,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1152,7 +1158,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1197,7 +1202,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1243,7 +1247,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1345,7 +1348,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1432,7 +1434,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1453,6 +1454,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1467,7 +1469,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1652,7 +1653,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1696,7 +1696,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1776,7 +1775,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1826,6 +1824,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1854,7 +1853,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/SellAction.php b/src/SellAction.php index e11ce2df9..731b98c2e 100644 --- a/src/SellAction.php +++ b/src/SellAction.php @@ -34,10 +34,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -372,7 +376,6 @@ public function priceCurrency($priceCurrency) * @return static * * @see https://schema.org/priceSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function priceSpecification($priceSpecification) { diff --git a/src/SendAction.php b/src/SendAction.php index 7e15af03e..1a18673ba 100644 --- a/src/SendAction.php +++ b/src/SendAction.php @@ -38,10 +38,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/Series.php b/src/Series.php index 24234ec1c..a8088087f 100644 --- a/src/Series.php +++ b/src/Series.php @@ -19,10 +19,14 @@ class Series extends BaseType implements SeriesContract, IntangibleContract, Thi /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/Service.php b/src/Service.php index 554752f50..ca7d7bdbc 100644 --- a/src/Service.php +++ b/src/Service.php @@ -18,10 +18,14 @@ class Service extends BaseType implements ServiceContract, IntangibleContract, T /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -268,7 +272,6 @@ public function image($image) * @return static * * @see https://schema.org/isRelatedTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isRelatedTo($isRelatedTo) { @@ -284,7 +287,6 @@ public function isRelatedTo($isRelatedTo) * @return static * * @see https://schema.org/isSimilarTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isSimilarTo($isSimilarTo) { @@ -299,7 +301,6 @@ public function isSimilarTo($isSimilarTo) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { diff --git a/src/ServiceChannel.php b/src/ServiceChannel.php index f99c9b431..91aedd248 100644 --- a/src/ServiceChannel.php +++ b/src/ServiceChannel.php @@ -18,10 +18,14 @@ class ServiceChannel extends BaseType implements ServiceChannelContract, Intangi /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/ShareAction.php b/src/ShareAction.php index 80c33ae62..fa8da2490 100644 --- a/src/ShareAction.php +++ b/src/ShareAction.php @@ -48,10 +48,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/SheetMusic.php b/src/SheetMusic.php index 6886dcd50..17cbaaf3f 100644 --- a/src/SheetMusic.php +++ b/src/SheetMusic.php @@ -202,10 +202,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -585,6 +589,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -914,7 +919,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -985,6 +989,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1014,7 +1019,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1152,7 +1156,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1889,6 +1893,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1904,9 +1922,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2044,7 +2061,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/ShippingDeliveryTime.php b/src/ShippingDeliveryTime.php index a567720db..33aee9353 100644 --- a/src/ShippingDeliveryTime.php +++ b/src/ShippingDeliveryTime.php @@ -21,10 +21,14 @@ class ShippingDeliveryTime extends BaseType implements ShippingDeliveryTimeContr /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/ShippingRateSettings.php b/src/ShippingRateSettings.php index 27068882e..8c7063d16 100644 --- a/src/ShippingRateSettings.php +++ b/src/ShippingRateSettings.php @@ -24,10 +24,14 @@ class ShippingRateSettings extends BaseType implements ShippingRateSettingsContr /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/ShoeStore.php b/src/ShoeStore.php index e0e8893c0..e57bd5577 100644 --- a/src/ShoeStore.php +++ b/src/ShoeStore.php @@ -29,6 +29,7 @@ class ShoeStore extends BaseType implements ShoeStoreContract, LocalBusinessCont * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/ShoppingCenter.php b/src/ShoppingCenter.php index 73364a17d..01b30f835 100644 --- a/src/ShoppingCenter.php +++ b/src/ShoppingCenter.php @@ -28,6 +28,7 @@ class ShoppingCenter extends BaseType implements ShoppingCenterContract, LocalBu * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -59,10 +60,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -143,7 +148,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -324,6 +328,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -426,6 +431,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -444,6 +450,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -459,7 +466,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -653,6 +659,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -856,7 +863,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -952,7 +958,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1049,7 +1054,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1105,6 +1109,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1123,6 +1128,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1152,7 +1158,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1197,7 +1202,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1243,7 +1247,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1345,7 +1348,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1432,7 +1434,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1453,6 +1454,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1467,7 +1469,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1652,7 +1653,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1696,7 +1696,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1776,7 +1775,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1826,6 +1824,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1854,7 +1853,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/ShortStory.php b/src/ShortStory.php index 0b52eec06..c565544cf 100644 --- a/src/ShortStory.php +++ b/src/ShortStory.php @@ -203,10 +203,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -586,6 +590,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -915,7 +920,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -986,6 +990,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1015,7 +1020,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1153,7 +1157,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1890,6 +1894,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1905,9 +1923,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2045,7 +2062,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/SingleFamilyResidence.php b/src/SingleFamilyResidence.php index 8d7d4a66e..343e1e5fd 100644 --- a/src/SingleFamilyResidence.php +++ b/src/SingleFamilyResidence.php @@ -78,10 +78,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -148,13 +152,30 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { return $this->setProperty('amenityFeature', $amenityFeature); } + /** + * The type of bed or beds included in the accommodation. For the single + * case of just one bed of a certain type, you use bed directly with a text. + * If you want to indicate the quantity of a certain kind of bed, use + * an instance of BedDetails. For more detailed information, use the + * amenityFeature property. + * + * @param \Spatie\SchemaOrg\Contracts\BedDetailsContract|\Spatie\SchemaOrg\Contracts\BedDetailsContract[]|\Spatie\SchemaOrg\Contracts\BedTypeContract|\Spatie\SchemaOrg\Contracts\BedTypeContract[]|string|string[] $bed + * + * @return static + * + * @see https://schema.org/bed + */ + public function bed($bed) + { + return $this->setProperty('bed', $bed); + } + /** * A short textual code (also called "store code") that uniquely identifies * a place of business. The code is typically assigned by the @@ -322,7 +343,6 @@ public function floorLevel($floorLevel) * @return static * * @see https://schema.org/floorSize - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function floorSize($floorSize) { @@ -526,7 +546,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -624,7 +643,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -687,7 +705,6 @@ public function leaseLength($leaseLength) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -866,7 +883,6 @@ public function numberOfPartialBathrooms($numberOfPartialBathrooms) * @return static * * @see https://schema.org/numberOfRooms - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function numberOfRooms($numberOfRooms) { @@ -885,7 +901,6 @@ public function numberOfRooms($numberOfRooms) * @return static * * @see https://schema.org/occupancy - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function occupancy($occupancy) { @@ -900,7 +915,6 @@ public function occupancy($occupancy) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -915,7 +929,6 @@ public function openingHoursSpecification($openingHoursSpecification) * @return static * * @see https://schema.org/permittedUsage - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function permittedUsage($permittedUsage) { @@ -931,7 +944,6 @@ public function permittedUsage($permittedUsage) * @return static * * @see https://schema.org/petsAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function petsAllowed($petsAllowed) { @@ -1063,7 +1075,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/SiteNavigationElement.php b/src/SiteNavigationElement.php index 58233a34a..53fdb886a 100644 --- a/src/SiteNavigationElement.php +++ b/src/SiteNavigationElement.php @@ -201,10 +201,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -584,6 +588,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -930,7 +935,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1001,6 +1005,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1030,7 +1035,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1168,7 +1172,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1905,6 +1909,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1920,9 +1938,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2060,7 +2077,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/SizeGroupEnumeration.php b/src/SizeGroupEnumeration.php index ff99aecac..bac53d629 100644 --- a/src/SizeGroupEnumeration.php +++ b/src/SizeGroupEnumeration.php @@ -21,10 +21,14 @@ class SizeGroupEnumeration extends BaseType implements SizeGroupEnumerationContr /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/SizeSpecification.php b/src/SizeSpecification.php index 8103d760b..525361a07 100644 --- a/src/SizeSpecification.php +++ b/src/SizeSpecification.php @@ -48,10 +48,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -118,7 +122,6 @@ public function disambiguatingDescription($disambiguatingDescription) * @return static * * @see https://schema.org/equal - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function equal($equal) { @@ -134,7 +137,6 @@ public function equal($equal) * @return static * * @see https://schema.org/greater - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function greater($greater) { @@ -150,7 +152,6 @@ public function greater($greater) * @return static * * @see https://schema.org/greaterOrEqual - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function greaterOrEqual($greaterOrEqual) { @@ -218,7 +219,6 @@ public function image($image) * @return static * * @see https://schema.org/lesser - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function lesser($lesser) { @@ -234,7 +234,6 @@ public function lesser($lesser) * @return static * * @see https://schema.org/lesserOrEqual - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function lesserOrEqual($lesserOrEqual) { @@ -280,7 +279,6 @@ public function name($name) * @return static * * @see https://schema.org/nonEqual - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function nonEqual($nonEqual) { @@ -445,7 +443,6 @@ public function url($url) * @return static * * @see https://schema.org/valueReference - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function valueReference($valueReference) { diff --git a/src/SizeSystemEnumeration.php b/src/SizeSystemEnumeration.php index 9ebcf297e..ecfb001ed 100644 --- a/src/SizeSystemEnumeration.php +++ b/src/SizeSystemEnumeration.php @@ -40,10 +40,14 @@ class SizeSystemEnumeration extends BaseType implements SizeSystemEnumerationCon /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/SkiResort.php b/src/SkiResort.php index 84380bff7..fa91874b2 100644 --- a/src/SkiResort.php +++ b/src/SkiResort.php @@ -31,6 +31,7 @@ class SkiResort extends BaseType implements SkiResortContract, LocalBusinessCont * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -62,10 +63,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -146,7 +151,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -385,6 +389,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -487,6 +492,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -505,6 +511,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -520,7 +527,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -714,6 +720,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -917,7 +924,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -1013,7 +1019,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1110,7 +1115,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1166,6 +1170,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1184,6 +1189,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1213,7 +1219,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1258,7 +1263,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1304,7 +1308,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1406,7 +1409,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1469,7 +1471,6 @@ public function numberOfEmployees($numberOfEmployees) * @return static * * @see https://schema.org/numberOfRooms - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function numberOfRooms($numberOfRooms) { @@ -1511,7 +1512,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1532,6 +1532,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1546,7 +1547,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1591,7 +1591,6 @@ public function paymentAccepted($paymentAccepted) * @return static * * @see https://schema.org/petsAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function petsAllowed($petsAllowed) { @@ -1747,7 +1746,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1791,7 +1789,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1842,7 +1839,6 @@ public function sponsor($sponsor) * @return static * * @see https://schema.org/starRating - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function starRating($starRating) { @@ -1889,7 +1885,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1939,6 +1934,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1967,7 +1963,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/SocialEvent.php b/src/SocialEvent.php index 583fed5f5..05eae672d 100644 --- a/src/SocialEvent.php +++ b/src/SocialEvent.php @@ -48,10 +48,14 @@ public function actor($actor) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +148,6 @@ public function audience($audience) * @return static * * @see https://schema.org/composer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public function composer($composer) { @@ -344,6 +347,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/SocialMediaPosting.php b/src/SocialMediaPosting.php index d5b923849..073058acd 100644 --- a/src/SocialMediaPosting.php +++ b/src/SocialMediaPosting.php @@ -202,10 +202,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -428,6 +432,7 @@ public function awards($awards) * * @see https://schema.org/backstory * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function backstory($backstory) { @@ -633,6 +638,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -962,7 +968,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1033,6 +1038,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1062,7 +1068,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1200,7 +1205,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1469,7 +1474,6 @@ public function offers($offers) * @return static * * @see https://schema.org/pageEnd - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pageEnd($pageEnd) { @@ -1484,7 +1488,6 @@ public function pageEnd($pageEnd) * @return static * * @see https://schema.org/pageStart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pageStart($pageStart) { @@ -1500,7 +1503,6 @@ public function pageStart($pageStart) * @return static * * @see https://schema.org/pagination - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pagination($pagination) { @@ -2038,6 +2040,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2053,9 +2069,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2207,7 +2222,6 @@ public function wordCount($wordCount) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/SoftwareApplication.php b/src/SoftwareApplication.php index 3924132e2..cd7b8d817 100644 --- a/src/SoftwareApplication.php +++ b/src/SoftwareApplication.php @@ -200,10 +200,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -641,6 +645,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -1029,7 +1034,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1130,6 +1134,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1159,7 +1164,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1312,7 +1316,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2238,6 +2242,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2253,9 +2271,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2393,7 +2410,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/SoftwareSourceCode.php b/src/SoftwareSourceCode.php index 7828bb890..6401cc629 100644 --- a/src/SoftwareSourceCode.php +++ b/src/SoftwareSourceCode.php @@ -201,10 +201,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -614,6 +618,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -943,7 +948,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1014,6 +1018,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1043,7 +1048,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1181,7 +1185,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1992,6 +1996,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2007,9 +2025,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2147,7 +2164,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/SolveMathAction.php b/src/SolveMathAction.php index 2a0f19a88..b74cdec99 100644 --- a/src/SolveMathAction.php +++ b/src/SolveMathAction.php @@ -34,10 +34,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/SomeProducts.php b/src/SomeProducts.php index ddada2f8d..90ceac9af 100644 --- a/src/SomeProducts.php +++ b/src/SomeProducts.php @@ -10,7 +10,6 @@ * A placeholder for multiple similar products of the same kind. * * @see https://schema.org/SomeProducts - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsClass * */ class SomeProducts extends BaseType implements SomeProductsContract, ProductContract, ThingContract @@ -40,10 +39,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -191,7 +194,6 @@ public function category($category) * @return static * * @see https://schema.org/color - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function color($color) { @@ -264,7 +266,6 @@ public function countryOfOrigin($countryOfOrigin) * @return static * * @see https://schema.org/depth - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function depth($depth) { @@ -312,6 +313,7 @@ public function disambiguatingDescription($disambiguatingDescription) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -391,7 +393,6 @@ public function gtin12($gtin12) * @return static * * @see https://schema.org/gtin13 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function gtin13($gtin13) { @@ -409,7 +410,6 @@ public function gtin13($gtin13) * @return static * * @see https://schema.org/gtin14 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function gtin14($gtin14) { @@ -427,7 +427,6 @@ public function gtin14($gtin14) * @return static * * @see https://schema.org/gtin8 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function gtin8($gtin8) { @@ -592,7 +591,6 @@ public function inProductGroupWithID($inProductGroupWithID) * @return static * * @see https://schema.org/inventoryLevel - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function inventoryLevel($inventoryLevel) { @@ -608,7 +606,6 @@ public function inventoryLevel($inventoryLevel) * @return static * * @see https://schema.org/isAccessoryOrSparePartFor - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isAccessoryOrSparePartFor($isAccessoryOrSparePartFor) { @@ -624,7 +621,6 @@ public function isAccessoryOrSparePartFor($isAccessoryOrSparePartFor) * @return static * * @see https://schema.org/isConsumableFor - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isConsumableFor($isConsumableFor) { @@ -653,7 +649,6 @@ public function isFamilyFriendly($isFamilyFriendly) * @return static * * @see https://schema.org/isRelatedTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isRelatedTo($isRelatedTo) { @@ -669,7 +664,6 @@ public function isRelatedTo($isRelatedTo) * @return static * * @see https://schema.org/isSimilarTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isSimilarTo($isSimilarTo) { @@ -694,7 +688,6 @@ public function isSimilarTo($isSimilarTo) * @return static * * @see https://schema.org/isVariantOf - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isVariantOf($isVariantOf) { @@ -742,7 +735,6 @@ public function keywords($keywords) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -853,7 +845,6 @@ public function model($model) * @return static * * @see https://schema.org/mpn - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function mpn($mpn) { @@ -1023,7 +1014,6 @@ public function productID($productID) * @return static * * @see https://schema.org/productionDate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function productionDate($productionDate) { @@ -1038,7 +1028,6 @@ public function productionDate($productionDate) * @return static * * @see https://schema.org/purchaseDate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function purchaseDate($purchaseDate) { @@ -1054,7 +1043,6 @@ public function purchaseDate($purchaseDate) * @return static * * @see https://schema.org/releaseDate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function releaseDate($releaseDate) { @@ -1134,7 +1122,6 @@ public function size($size) * @return static * * @see https://schema.org/sku - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function sku($sku) { @@ -1192,7 +1179,6 @@ public function url($url) * @return static * * @see https://schema.org/weight - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function weight($weight) { diff --git a/src/SpeakableSpecification.php b/src/SpeakableSpecification.php index bd3c40153..e8ac568f2 100644 --- a/src/SpeakableSpecification.php +++ b/src/SpeakableSpecification.php @@ -21,10 +21,14 @@ class SpeakableSpecification extends BaseType implements SpeakableSpecificationC /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/SpecialAnnouncement.php b/src/SpecialAnnouncement.php index 79d3da14b..2024658a3 100644 --- a/src/SpecialAnnouncement.php +++ b/src/SpecialAnnouncement.php @@ -280,10 +280,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -697,6 +701,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -1076,7 +1081,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1147,6 +1151,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1210,7 +1215,6 @@ public function governmentBenefitsInfo($governmentBenefitsInfo) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1348,7 +1352,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2151,6 +2155,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2166,9 +2184,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2339,7 +2356,6 @@ public function webFeed($webFeed) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/Specialty.php b/src/Specialty.php index b1be8ffd4..75d1f4cb4 100644 --- a/src/Specialty.php +++ b/src/Specialty.php @@ -20,10 +20,14 @@ class Specialty extends BaseType implements SpecialtyContract, EnumerationContra /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/SportingGoodsStore.php b/src/SportingGoodsStore.php index 05327f4c4..ded82bee5 100644 --- a/src/SportingGoodsStore.php +++ b/src/SportingGoodsStore.php @@ -29,6 +29,7 @@ class SportingGoodsStore extends BaseType implements SportingGoodsStoreContract, * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/SportsActivityLocation.php b/src/SportsActivityLocation.php index 28cd08f8c..55f6cf63e 100644 --- a/src/SportsActivityLocation.php +++ b/src/SportsActivityLocation.php @@ -28,6 +28,7 @@ class SportsActivityLocation extends BaseType implements SportsActivityLocationC * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -59,10 +60,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -143,7 +148,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -324,6 +328,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -426,6 +431,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -444,6 +450,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -459,7 +466,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -653,6 +659,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -856,7 +863,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -952,7 +958,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1049,7 +1054,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1105,6 +1109,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1123,6 +1128,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1152,7 +1158,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1197,7 +1202,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1243,7 +1247,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1345,7 +1348,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1432,7 +1434,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1453,6 +1454,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1467,7 +1469,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1652,7 +1653,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1696,7 +1696,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1776,7 +1775,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1826,6 +1824,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1854,7 +1853,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/SportsClub.php b/src/SportsClub.php index 751ddbfb2..d939babdc 100644 --- a/src/SportsClub.php +++ b/src/SportsClub.php @@ -29,6 +29,7 @@ class SportsClub extends BaseType implements SportsClubContract, LocalBusinessCo * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/SportsEvent.php b/src/SportsEvent.php index db7dee8a3..d4e50d24f 100644 --- a/src/SportsEvent.php +++ b/src/SportsEvent.php @@ -48,10 +48,14 @@ public function actor($actor) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -172,7 +176,6 @@ public function competitor($competitor) * @return static * * @see https://schema.org/composer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public function composer($composer) { @@ -372,6 +375,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/SportsOrganization.php b/src/SportsOrganization.php index 35bcd8928..6ac9018ae 100644 --- a/src/SportsOrganization.php +++ b/src/SportsOrganization.php @@ -27,6 +27,7 @@ class SportsOrganization extends BaseType implements SportsOrganizationContract, * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -36,10 +37,14 @@ public function actionableFeedbackPolicy($actionableFeedbackPolicy) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -205,6 +210,7 @@ public function contactPoints($contactPoints) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -285,6 +291,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -303,6 +310,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -318,7 +326,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -512,6 +519,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -529,7 +537,6 @@ public function funding($funding) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -591,7 +598,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -674,7 +680,6 @@ public function interactionStatistic($interactionStatistic) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -730,6 +735,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -748,6 +754,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -762,7 +769,6 @@ public function knowsLanguage($knowsLanguage) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -807,7 +813,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -838,7 +843,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -898,7 +902,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -964,6 +967,7 @@ public function numberOfEmployees($numberOfEmployees) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -978,7 +982,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1092,7 +1095,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1199,7 +1201,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1231,6 +1232,7 @@ public function telephone($telephone) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1259,7 +1261,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/SportsTeam.php b/src/SportsTeam.php index d19e98caf..26c0003be 100644 --- a/src/SportsTeam.php +++ b/src/SportsTeam.php @@ -27,6 +27,7 @@ class SportsTeam extends BaseType implements SportsTeamContract, OrganizationCon * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -36,10 +37,14 @@ public function actionableFeedbackPolicy($actionableFeedbackPolicy) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -234,6 +239,7 @@ public function contactPoints($contactPoints) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -314,6 +320,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -332,6 +339,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -347,7 +355,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -541,6 +548,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -581,7 +589,6 @@ public function gender($gender) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -643,7 +650,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -726,7 +732,6 @@ public function interactionStatistic($interactionStatistic) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -782,6 +787,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -800,6 +806,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -814,7 +821,6 @@ public function knowsLanguage($knowsLanguage) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -859,7 +865,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -890,7 +895,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -950,7 +954,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1016,6 +1019,7 @@ public function numberOfEmployees($numberOfEmployees) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1030,7 +1034,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1144,7 +1147,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1251,7 +1253,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1283,6 +1284,7 @@ public function telephone($telephone) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1311,7 +1313,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/SpreadsheetDigitalDocument.php b/src/SpreadsheetDigitalDocument.php index 9e6946684..9974e77ec 100644 --- a/src/SpreadsheetDigitalDocument.php +++ b/src/SpreadsheetDigitalDocument.php @@ -201,10 +201,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -584,6 +588,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -913,7 +918,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -984,6 +988,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1029,7 +1034,6 @@ public function hasDigitalDocumentPermission($hasDigitalDocumentPermission) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1167,7 +1171,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1904,6 +1908,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1919,9 +1937,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2059,7 +2076,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/StadiumOrArena.php b/src/StadiumOrArena.php index 070728f67..2950e456a 100644 --- a/src/StadiumOrArena.php +++ b/src/StadiumOrArena.php @@ -30,6 +30,7 @@ class StadiumOrArena extends BaseType implements StadiumOrArenaContract, CivicSt * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -61,10 +62,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -145,7 +150,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -326,6 +330,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -428,6 +433,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -446,6 +452,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -461,7 +468,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -655,6 +661,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -858,7 +865,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -954,7 +960,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1051,7 +1056,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1107,6 +1111,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1125,6 +1130,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1154,7 +1160,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1199,7 +1204,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1245,7 +1249,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1347,7 +1350,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1434,7 +1436,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1455,6 +1456,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1469,7 +1471,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1654,7 +1655,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1698,7 +1698,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1778,7 +1777,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1828,6 +1826,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1856,7 +1855,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/State.php b/src/State.php index 145bcfcb1..c55403170 100644 --- a/src/State.php +++ b/src/State.php @@ -40,10 +40,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -110,7 +114,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -451,7 +454,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -549,7 +551,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -595,7 +596,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -697,7 +697,6 @@ public function name($name) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -829,7 +828,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/Statement.php b/src/Statement.php index 5f66cfa72..9d2eb2d03 100644 --- a/src/Statement.php +++ b/src/Statement.php @@ -205,10 +205,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -588,6 +592,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -917,7 +922,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -988,6 +992,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1017,7 +1022,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1155,7 +1159,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1892,6 +1896,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1907,9 +1925,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2047,7 +2064,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/StatisticalPopulation.php b/src/StatisticalPopulation.php index 6ef9a0172..6139f695b 100644 --- a/src/StatisticalPopulation.php +++ b/src/StatisticalPopulation.php @@ -15,14 +15,15 @@ * [[homeLocation]] of East Podunk California would be described by applying the * appropriate [[homeLocation]] and [[populationType]] properties to a * [[StatisticalPopulation]] item that stands for that set of people. - * The properties [[numConstraints]] and [[constrainingProperty]] are used to + * The properties [[numConstraints]] and [[constraintProperty]] are used to * specify which of the populations properties are used to specify the * population. Note that the sense of "population" used here is the general * sense of a statistical * population, and does not imply that the population consists of people. For * example, a [[populationType]] of [[Event]] or [[NewsArticle]] could be used. - * See also [[Observation]], and the [data and - * datasets](/docs/data-and-datasets.html) overview for more details. + * See also [[Observation]], where a [[populationType]] such as [[Person]] or + * [[Event]] can be indicated directly. In most cases it may be better to use + * [[StatisticalVariable]] instead of [[StatisticalPopulation]]. * * @see https://schema.org/StatisticalPopulation * @see https://pending.schema.org @@ -35,10 +36,14 @@ class StatisticalPopulation extends BaseType implements StatisticalPopulationCon /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -65,24 +70,6 @@ public function alternateName($alternateName) return $this->setProperty('alternateName', $alternateName); } - /** - * Indicates a property used as a constraint to define a - * [[StatisticalPopulation]] with respect to the set of entities - * corresponding to an indicated type (via [[populationType]]). - * - * @param int|int[] $constrainingProperty - * - * @return static - * - * @see https://schema.org/constrainingProperty - * @see https://pending.schema.org - * @link https://github.com/schemaorg/schemaorg/issues/2291 - */ - public function constrainingProperty($constrainingProperty) - { - return $this->setProperty('constrainingProperty', $constrainingProperty); - } - /** * A description of the item. * @@ -177,25 +164,6 @@ public function name($name) return $this->setProperty('name', $name); } - /** - * Indicates the number of constraints (not counting [[populationType]]) - * defined for a particular [[StatisticalPopulation]]. This helps - * applications understand if they have access to a sufficiently complete - * description of a [[StatisticalPopulation]]. - * - * @param int|int[] $numConstraints - * - * @return static - * - * @see https://schema.org/numConstraints - * @see https://pending.schema.org - * @link https://github.com/schemaorg/schemaorg/issues/2291 - */ - public function numConstraints($numConstraints) - { - return $this->setProperty('numConstraints', $numConstraints); - } - /** * Indicates a potential Action, which describes an idealized action in * which this thing would play an 'object' role. diff --git a/src/StatisticalVariable.php b/src/StatisticalVariable.php new file mode 100644 index 000000000..7ec552619 --- /dev/null +++ b/src/StatisticalVariable.php @@ -0,0 +1,402 @@ +setProperty('additionalType', $additionalType); + } + + /** + * An alias for the item. + * + * @param string|string[] $alternateName + * + * @return static + * + * @see https://schema.org/alternateName + */ + public function alternateName($alternateName) + { + return $this->setProperty('alternateName', $alternateName); + } + + /** + * Indicates a property used as a constraint. For example, in the definition + * of a [[StatisticalVariable]]. The value is a property, either from within + * Schema.org or from other compatible (e.g. RDF) systems such as + * DataCommons.org or Wikidata.org. + * + * @param \Spatie\SchemaOrg\Contracts\PropertyContract|\Spatie\SchemaOrg\Contracts\PropertyContract[]|string|string[] $constraintProperty + * + * @return static + * + * @see https://schema.org/constraintProperty + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/2291 + */ + public function constraintProperty($constraintProperty) + { + return $this->setProperty('constraintProperty', $constraintProperty); + } + + /** + * A description of the item. + * + * @param string|string[] $description + * + * @return static + * + * @see https://schema.org/description + */ + public function description($description) + { + return $this->setProperty('description', $description); + } + + /** + * A sub property of description. A short description of the item used to + * disambiguate from other, similar items. Information from other properties + * (in particular, name) may be necessary for the description to be useful + * for disambiguation. + * + * @param string|string[] $disambiguatingDescription + * + * @return static + * + * @see https://schema.org/disambiguatingDescription + */ + public function disambiguatingDescription($disambiguatingDescription) + { + return $this->setProperty('disambiguatingDescription', $disambiguatingDescription); + } + + /** + * The identifier property represents any kind of identifier for any kind of + * [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides + * dedicated properties for representing many of these, either as textual + * strings or as URL (URI) links. See [background + * notes](/docs/datamodel.html#identifierBg) for more details. + * + * @param \Spatie\SchemaOrg\Contracts\PropertyValueContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract[]|string|string[] $identifier + * + * @return static + * + * @see https://schema.org/identifier + */ + public function identifier($identifier) + { + return $this->setProperty('identifier', $identifier); + } + + /** + * An image of the item. This can be a [[URL]] or a fully described + * [[ImageObject]]. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|string|string[] $image + * + * @return static + * + * @see https://schema.org/image + */ + public function image($image) + { + return $this->setProperty('image', $image); + } + + /** + * Indicates a page (or other CreativeWork) for which this thing is the main + * entity being described. See [background + * notes](/docs/datamodel.html#mainEntityBackground) for details. + * + * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $mainEntityOfPage + * + * @return static + * + * @see https://schema.org/mainEntityOfPage + */ + public function mainEntityOfPage($mainEntityOfPage) + { + return $this->setProperty('mainEntityOfPage', $mainEntityOfPage); + } + + /** + * The measuredProperty of an [[Observation]], typically via its + * [[StatisticalVariable]]. There are various kinds of applicable + * [[Property]]: a schema.org property, a property from other RDF-compatible + * systems, e.g. W3C RDF Data Cube, Data Commons, Wikidata, or schema.org + * extensions such as [GS1's](https://www.gs1.org/voc/?show=properties). + * + * @param \Spatie\SchemaOrg\Contracts\PropertyContract|\Spatie\SchemaOrg\Contracts\PropertyContract[] $measuredProperty + * + * @return static + * + * @see https://schema.org/measuredProperty + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/2291 + */ + public function measuredProperty($measuredProperty) + { + return $this->setProperty('measuredProperty', $measuredProperty); + } + + /** + * Identifies the denominator variable when an observation represents a + * ratio or percentage. + * + * @param \Spatie\SchemaOrg\Contracts\StatisticalVariableContract|\Spatie\SchemaOrg\Contracts\StatisticalVariableContract[] $measurementDenominator + * + * @return static + * + * @see https://schema.org/measurementDenominator + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/2564 + */ + public function measurementDenominator($measurementDenominator) + { + return $this->setProperty('measurementDenominator', $measurementDenominator); + } + + /** + * A subproperty of [[measurementTechnique]] that can be used for specifying + * specific methods, in particular via [[MeasurementMethodEnum]]. + * + * @param \Spatie\SchemaOrg\Contracts\MeasurementMethodEnumContract|\Spatie\SchemaOrg\Contracts\MeasurementMethodEnumContract[]|string|string[] $measurementMethod + * + * @return static + * + * @see https://schema.org/measurementMethod + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1425 + */ + public function measurementMethod($measurementMethod) + { + return $this->setProperty('measurementMethod', $measurementMethod); + } + + /** + * Provides additional qualification to an observation. For example, a GDP + * observation measures the Nominal value. + * + * @param \Spatie\SchemaOrg\Contracts\EnumerationContract|\Spatie\SchemaOrg\Contracts\EnumerationContract[] $measurementQualifier + * + * @return static + * + * @see https://schema.org/measurementQualifier + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/2564 + */ + public function measurementQualifier($measurementQualifier) + { + return $this->setProperty('measurementQualifier', $measurementQualifier); + } + + /** + * A technique, method or technology used in an [[Observation]], + * [[StatisticalVariable]] or [[Dataset]] (or [[DataDownload]], + * [[DataCatalog]]), corresponding to the method used for measuring the + * corresponding variable(s) (for datasets, described using + * [[variableMeasured]]; for [[Observation]], a [[StatisticalVariable]]). + * Often but not necessarily each [[variableMeasured]] will have an explicit + * representation as (or mapping to) an property such as those defined in + * Schema.org, or other RDF vocabularies and "knowledge graphs". In that + * case the subproperty of [[variableMeasured]] called [[measuredProperty]] + * is applicable. + * + * The [[measurementTechnique]] property helps when extra clarification is + * needed about how a [[measuredProperty]] was measured. This is oriented + * towards scientific and scholarly dataset publication but may have broader + * applicability; it is not intended as a full representation of + * measurement, but can often serve as a high level summary for dataset + * discovery. + * + * For example, if [[variableMeasured]] is: molecule concentration, + * [[measurementTechnique]] could be: "mass spectrometry" or "nmr + * spectroscopy" or "colorimetry" or "immunofluorescence". If the + * [[variableMeasured]] is "depression rating", the [[measurementTechnique]] + * could be "Zung Scale" or "HAM-D" or "Beck Depression Inventory". + * + * If there are several [[variableMeasured]] properties recorded for some + * given data object, use a [[PropertyValue]] for each [[variableMeasured]] + * and attach the corresponding [[measurementTechnique]]. The value can also + * be from an enumeration, organized as a [[MeasurementMetholdEnumeration]]. + * + * @param \Spatie\SchemaOrg\Contracts\MeasurementMethodEnumContract|\Spatie\SchemaOrg\Contracts\MeasurementMethodEnumContract[]|string|string[] $measurementTechnique + * + * @return static + * + * @see https://schema.org/measurementTechnique + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1425 + */ + public function measurementTechnique($measurementTechnique) + { + return $this->setProperty('measurementTechnique', $measurementTechnique); + } + + /** + * The name of the item. + * + * @param string|string[] $name + * + * @return static + * + * @see https://schema.org/name + */ + public function name($name) + { + return $this->setProperty('name', $name); + } + + /** + * Indicates the number of constraints property values defined for a + * particular [[ConstraintNode]] such as [[StatisticalVariable]]. This helps + * applications understand if they have access to a sufficiently complete + * description of a [[StatisticalVariable]] or other construct that is + * defined using properties on template-style nodes. + * + * @param int|int[] $numConstraints + * + * @return static + * + * @see https://schema.org/numConstraints + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/2291 + */ + public function numConstraints($numConstraints) + { + return $this->setProperty('numConstraints', $numConstraints); + } + + /** + * Indicates a potential Action, which describes an idealized action in + * which this thing would play an 'object' role. + * + * @param \Spatie\SchemaOrg\Contracts\ActionContract|\Spatie\SchemaOrg\Contracts\ActionContract[] $potentialAction + * + * @return static + * + * @see https://schema.org/potentialAction + */ + public function potentialAction($potentialAction) + { + return $this->setProperty('potentialAction', $potentialAction); + } + + /** + * URL of a reference Web page that unambiguously indicates the item's + * identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or + * official website. + * + * @param string|string[] $sameAs + * + * @return static + * + * @see https://schema.org/sameAs + */ + public function sameAs($sameAs) + { + return $this->setProperty('sameAs', $sameAs); + } + + /** + * Indicates the kind of statistic represented by a [[StatisticalVariable]], + * e.g. mean, count etc. The value of statType is a property, either from + * within Schema.org (e.g. [[count]], [[median]], [[marginOfError]], + * [[maxValue]], [[minValue]]) or from other compatible (e.g. RDF) systems + * such as DataCommons.org or Wikidata.org. + * + * @param \Spatie\SchemaOrg\Contracts\PropertyContract|\Spatie\SchemaOrg\Contracts\PropertyContract[]|string|string[] $statType + * + * @return static + * + * @see https://schema.org/statType + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/2564 + */ + public function statType($statType) + { + return $this->setProperty('statType', $statType); + } + + /** + * A CreativeWork or Event about this Thing. + * + * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $subjectOf + * + * @return static + * + * @see https://schema.org/subjectOf + * @link https://github.com/schemaorg/schemaorg/issues/1670 + */ + public function subjectOf($subjectOf) + { + return $this->setProperty('subjectOf', $subjectOf); + } + + /** + * URL of the item. + * + * @param string|string[] $url + * + * @return static + * + * @see https://schema.org/url + */ + public function url($url) + { + return $this->setProperty('url', $url); + } +} diff --git a/src/StatusEnumeration.php b/src/StatusEnumeration.php index 325e930b1..550a364e0 100644 --- a/src/StatusEnumeration.php +++ b/src/StatusEnumeration.php @@ -20,10 +20,14 @@ class StatusEnumeration extends BaseType implements StatusEnumerationContract, E /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/SteeringPositionValue.php b/src/SteeringPositionValue.php index be9225305..2dd7c71bc 100644 --- a/src/SteeringPositionValue.php +++ b/src/SteeringPositionValue.php @@ -12,7 +12,6 @@ * A value indicating a steering position. * * @see https://schema.org/SteeringPositionValue - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group * * @method static supersededBy($supersededBy) The value should be instance of pending types Class|Class[]|Enumeration|Enumeration[]|Property|Property[] */ @@ -23,7 +22,6 @@ class SteeringPositionValue extends BaseType implements SteeringPositionValueCon * main direction of driving). * * @see https://schema.org/LeftHandDriving - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public const LeftHandDriving = 'https://schema.org/LeftHandDriving'; @@ -32,7 +30,6 @@ class SteeringPositionValue extends BaseType implements SteeringPositionValueCon * the main direction of driving). * * @see https://schema.org/RightHandDriving - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public const RightHandDriving = 'https://schema.org/RightHandDriving'; @@ -61,10 +58,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -131,7 +132,6 @@ public function disambiguatingDescription($disambiguatingDescription) * @return static * * @see https://schema.org/equal - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function equal($equal) { @@ -147,7 +147,6 @@ public function equal($equal) * @return static * * @see https://schema.org/greater - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function greater($greater) { @@ -163,7 +162,6 @@ public function greater($greater) * @return static * * @see https://schema.org/greaterOrEqual - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function greaterOrEqual($greaterOrEqual) { @@ -212,7 +210,6 @@ public function image($image) * @return static * * @see https://schema.org/lesser - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function lesser($lesser) { @@ -228,7 +225,6 @@ public function lesser($lesser) * @return static * * @see https://schema.org/lesserOrEqual - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function lesserOrEqual($lesserOrEqual) { @@ -274,7 +270,6 @@ public function name($name) * @return static * * @see https://schema.org/nonEqual - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function nonEqual($nonEqual) { @@ -350,7 +345,6 @@ public function url($url) * @return static * * @see https://schema.org/valueReference - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function valueReference($valueReference) { diff --git a/src/Store.php b/src/Store.php index 3dc452db6..18efa917d 100644 --- a/src/Store.php +++ b/src/Store.php @@ -28,6 +28,7 @@ class Store extends BaseType implements StoreContract, LocalBusinessContract, Or * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -59,10 +60,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -143,7 +148,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -324,6 +328,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -426,6 +431,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -444,6 +450,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -459,7 +466,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -653,6 +659,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -856,7 +863,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -952,7 +958,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1049,7 +1054,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1105,6 +1109,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1123,6 +1128,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1152,7 +1158,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1197,7 +1202,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1243,7 +1247,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1345,7 +1348,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1432,7 +1434,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1453,6 +1454,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1467,7 +1469,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1652,7 +1653,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1696,7 +1696,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1776,7 +1775,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1826,6 +1824,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1854,7 +1853,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/StructuredValue.php b/src/StructuredValue.php index ce88081ec..52182960a 100644 --- a/src/StructuredValue.php +++ b/src/StructuredValue.php @@ -18,10 +18,14 @@ class StructuredValue extends BaseType implements StructuredValueContract, Intan /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/StupidType.php b/src/StupidType.php index 269ce6351..74116ad10 100644 --- a/src/StupidType.php +++ b/src/StupidType.php @@ -17,10 +17,14 @@ class StupidType extends BaseType implements StupidTypeContract, ThingContract /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/SubscribeAction.php b/src/SubscribeAction.php index 4f1527dca..a78db44c7 100644 --- a/src/SubscribeAction.php +++ b/src/SubscribeAction.php @@ -43,10 +43,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/Substance.php b/src/Substance.php index 486114bf9..d10b7ab69 100644 --- a/src/Substance.php +++ b/src/Substance.php @@ -35,10 +35,14 @@ public function activeIngredient($activeIngredient) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -122,6 +126,7 @@ public function disambiguatingDescription($disambiguatingDescription) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/SubwayStation.php b/src/SubwayStation.php index 93e1d3d33..db11c521a 100644 --- a/src/SubwayStation.php +++ b/src/SubwayStation.php @@ -40,10 +40,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -110,7 +114,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -451,7 +454,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -549,7 +551,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -595,7 +596,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -724,7 +724,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -856,7 +855,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/Suite.php b/src/Suite.php index ef049142a..e9128aacc 100644 --- a/src/Suite.php +++ b/src/Suite.php @@ -17,7 +17,6 @@ * schema.org for marking up hotels and other forms of accommodations. * * @see https://schema.org/Suite - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology * */ class Suite extends BaseType implements SuiteContract, AccommodationContract, PlaceContract, ThingContract @@ -84,10 +83,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -154,7 +157,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -173,7 +175,6 @@ public function amenityFeature($amenityFeature) * @return static * * @see https://schema.org/bed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function bed($bed) { @@ -347,7 +348,6 @@ public function floorLevel($floorLevel) * @return static * * @see https://schema.org/floorSize - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function floorSize($floorSize) { @@ -551,7 +551,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -649,7 +648,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -712,7 +710,6 @@ public function leaseLength($leaseLength) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -891,7 +888,6 @@ public function numberOfPartialBathrooms($numberOfPartialBathrooms) * @return static * * @see https://schema.org/numberOfRooms - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function numberOfRooms($numberOfRooms) { @@ -910,7 +906,6 @@ public function numberOfRooms($numberOfRooms) * @return static * * @see https://schema.org/occupancy - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function occupancy($occupancy) { @@ -925,7 +920,6 @@ public function occupancy($occupancy) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -940,7 +934,6 @@ public function openingHoursSpecification($openingHoursSpecification) * @return static * * @see https://schema.org/permittedUsage - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function permittedUsage($permittedUsage) { @@ -956,7 +949,6 @@ public function permittedUsage($permittedUsage) * @return static * * @see https://schema.org/petsAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function petsAllowed($petsAllowed) { @@ -1088,7 +1080,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/SuperficialAnatomy.php b/src/SuperficialAnatomy.php index bb23a3272..b6f131f5a 100644 --- a/src/SuperficialAnatomy.php +++ b/src/SuperficialAnatomy.php @@ -35,10 +35,14 @@ class SuperficialAnatomy extends BaseType implements SuperficialAnatomyContract, /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -139,6 +143,7 @@ public function disambiguatingDescription($disambiguatingDescription) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/SurgicalProcedure.php b/src/SurgicalProcedure.php index 433f8ef6d..55a92c21c 100644 --- a/src/SurgicalProcedure.php +++ b/src/SurgicalProcedure.php @@ -20,10 +20,14 @@ class SurgicalProcedure extends BaseType implements SurgicalProcedureContract, M /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -137,6 +141,7 @@ public function followup($followup) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/SuspendAction.php b/src/SuspendAction.php index f2de17c76..8147e9dc9 100644 --- a/src/SuspendAction.php +++ b/src/SuspendAction.php @@ -33,10 +33,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/Syllabus.php b/src/Syllabus.php new file mode 100644 index 000000000..e5b062ad5 --- /dev/null +++ b/src/Syllabus.php @@ -0,0 +1,2108 @@ +setProperty('about', $about); + } + + /** + * An abstract is a short description that summarizes a [[CreativeWork]]. + * + * @param string|string[] $abstract + * + * @return static + * + * @see https://schema.org/abstract + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/276 + */ + public function abstract($abstract) + { + return $this->setProperty('abstract', $abstract); + } + + /** + * The human sensory perceptual system or cognitive faculty through which a + * person may process or perceive information. Values should be drawn from + * the [approved + * vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessMode-vocabulary). + * + * @param string|string[] $accessMode + * + * @return static + * + * @see https://schema.org/accessMode + * @link https://github.com/schemaorg/schemaorg/issues/1100 + */ + public function accessMode($accessMode) + { + return $this->setProperty('accessMode', $accessMode); + } + + /** + * A list of single or combined accessModes that are sufficient to + * understand all the intellectual content of a resource. Values should be + * drawn from the [approved + * vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessModeSufficient-vocabulary). + * + * @param \Spatie\SchemaOrg\Contracts\ItemListContract|\Spatie\SchemaOrg\Contracts\ItemListContract[] $accessModeSufficient + * + * @return static + * + * @see https://schema.org/accessModeSufficient + * @link https://github.com/schemaorg/schemaorg/issues/1100 + */ + public function accessModeSufficient($accessModeSufficient) + { + return $this->setProperty('accessModeSufficient', $accessModeSufficient); + } + + /** + * Indicates that the resource is compatible with the referenced + * accessibility API. Values should be drawn from the [approved + * vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityAPI-vocabulary). + * + * @param string|string[] $accessibilityAPI + * + * @return static + * + * @see https://schema.org/accessibilityAPI + */ + public function accessibilityAPI($accessibilityAPI) + { + return $this->setProperty('accessibilityAPI', $accessibilityAPI); + } + + /** + * Identifies input methods that are sufficient to fully control the + * described resource. Values should be drawn from the [approved + * vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityControl-vocabulary). + * + * @param string|string[] $accessibilityControl + * + * @return static + * + * @see https://schema.org/accessibilityControl + */ + public function accessibilityControl($accessibilityControl) + { + return $this->setProperty('accessibilityControl', $accessibilityControl); + } + + /** + * Content features of the resource, such as accessible media, alternatives + * and supported enhancements for accessibility. Values should be drawn from + * the [approved + * vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityFeature-vocabulary). + * + * @param string|string[] $accessibilityFeature + * + * @return static + * + * @see https://schema.org/accessibilityFeature + */ + public function accessibilityFeature($accessibilityFeature) + { + return $this->setProperty('accessibilityFeature', $accessibilityFeature); + } + + /** + * A characteristic of the described resource that is physiologically + * dangerous to some users. Related to WCAG 2.0 guideline 2.3. Values should + * be drawn from the [approved + * vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityHazard-vocabulary). + * + * @param string|string[] $accessibilityHazard + * + * @return static + * + * @see https://schema.org/accessibilityHazard + */ + public function accessibilityHazard($accessibilityHazard) + { + return $this->setProperty('accessibilityHazard', $accessibilityHazard); + } + + /** + * A human-readable summary of specific accessibility features or + * deficiencies, consistent with the other accessibility metadata but + * expressing subtleties such as "short descriptions are present but long + * descriptions will be needed for non-visual users" or "short descriptions + * are present and no long descriptions are needed." + * + * @param string|string[] $accessibilitySummary + * + * @return static + * + * @see https://schema.org/accessibilitySummary + * @link https://github.com/schemaorg/schemaorg/issues/1100 + */ + public function accessibilitySummary($accessibilitySummary) + { + return $this->setProperty('accessibilitySummary', $accessibilitySummary); + } + + /** + * Specifies the Person that is legally accountable for the CreativeWork. + * + * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $accountablePerson + * + * @return static + * + * @see https://schema.org/accountablePerson + */ + public function accountablePerson($accountablePerson) + { + return $this->setProperty('accountablePerson', $accountablePerson); + } + + /** + * Indicates a page documenting how licenses can be purchased or otherwise + * acquired, for the current item. + * + * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $acquireLicensePage + * + * @return static + * + * @see https://schema.org/acquireLicensePage + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/2454 + */ + public function acquireLicensePage($acquireLicensePage) + { + return $this->setProperty('acquireLicensePage', $acquireLicensePage); + } + + /** + * An additional type for the item, typically used for adding more specific + * types from external vocabularies in microdata syntax. This is a + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) + * + * @param string|string[] $additionalType + * + * @return static + * + * @see https://schema.org/additionalType + */ + public function additionalType($additionalType) + { + return $this->setProperty('additionalType', $additionalType); + } + + /** + * The overall rating, based on a collection of reviews or ratings, of the + * item. + * + * @param \Spatie\SchemaOrg\Contracts\AggregateRatingContract|\Spatie\SchemaOrg\Contracts\AggregateRatingContract[] $aggregateRating + * + * @return static + * + * @see https://schema.org/aggregateRating + */ + public function aggregateRating($aggregateRating) + { + return $this->setProperty('aggregateRating', $aggregateRating); + } + + /** + * An alias for the item. + * + * @param string|string[] $alternateName + * + * @return static + * + * @see https://schema.org/alternateName + */ + public function alternateName($alternateName) + { + return $this->setProperty('alternateName', $alternateName); + } + + /** + * A secondary title of the CreativeWork. + * + * @param string|string[] $alternativeHeadline + * + * @return static + * + * @see https://schema.org/alternativeHeadline + */ + public function alternativeHeadline($alternativeHeadline) + { + return $this->setProperty('alternativeHeadline', $alternativeHeadline); + } + + /** + * Indicates a page or other link involved in archival of a + * [[CreativeWork]]. In the case of [[MediaReview]], the items in a + * [[MediaReviewItem]] may often become inaccessible, but be archived by + * archival, journalistic, activist, or law enforcement organizations. In + * such cases, the referenced page may not directly publish the content. + * + * @param \Spatie\SchemaOrg\Contracts\WebPageContract|\Spatie\SchemaOrg\Contracts\WebPageContract[]|string|string[] $archivedAt + * + * @return static + * + * @see https://schema.org/archivedAt + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/2450 + */ + public function archivedAt($archivedAt) + { + return $this->setProperty('archivedAt', $archivedAt); + } + + /** + * The item being described is intended to assess the competency or learning + * outcome defined by the referenced term. + * + * @param \Spatie\SchemaOrg\Contracts\DefinedTermContract|\Spatie\SchemaOrg\Contracts\DefinedTermContract[]|string|string[] $assesses + * + * @return static + * + * @see https://schema.org/assesses + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/2427 + */ + public function assesses($assesses) + { + return $this->setProperty('assesses', $assesses); + } + + /** + * A media object that encodes this CreativeWork. This property is a synonym + * for encoding. + * + * @param \Spatie\SchemaOrg\Contracts\MediaObjectContract|\Spatie\SchemaOrg\Contracts\MediaObjectContract[] $associatedMedia + * + * @return static + * + * @see https://schema.org/associatedMedia + */ + public function associatedMedia($associatedMedia) + { + return $this->setProperty('associatedMedia', $associatedMedia); + } + + /** + * An intended audience, i.e. a group for whom something was created. + * + * @param \Spatie\SchemaOrg\Contracts\AudienceContract|\Spatie\SchemaOrg\Contracts\AudienceContract[] $audience + * + * @return static + * + * @see https://schema.org/audience + */ + public function audience($audience) + { + return $this->setProperty('audience', $audience); + } + + /** + * An embedded audio object. + * + * @param \Spatie\SchemaOrg\Contracts\AudioObjectContract|\Spatie\SchemaOrg\Contracts\AudioObjectContract[]|\Spatie\SchemaOrg\Contracts\ClipContract|\Spatie\SchemaOrg\Contracts\ClipContract[]|\Spatie\SchemaOrg\Contracts\MusicRecordingContract|\Spatie\SchemaOrg\Contracts\MusicRecordingContract[] $audio + * + * @return static + * + * @see https://schema.org/audio + * @link https://github.com/schemaorg/schemaorg/issues/2420 + */ + public function audio($audio) + { + return $this->setProperty('audio', $audio); + } + + /** + * The author of this content or rating. Please note that author is special + * in that HTML 5 provides a special mechanism for indicating authorship via + * the rel tag. That is equivalent to this and may be used interchangeably. + * + * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $author + * + * @return static + * + * @see https://schema.org/author + */ + public function author($author) + { + return $this->setProperty('author', $author); + } + + /** + * An award won by or for this item. + * + * @param string|string[] $award + * + * @return static + * + * @see https://schema.org/award + */ + public function award($award) + { + return $this->setProperty('award', $award); + } + + /** + * Awards won by or for this item. + * + * @param string|string[] $awards + * + * @return static + * + * @see https://schema.org/awards + */ + public function awards($awards) + { + return $this->setProperty('awards', $awards); + } + + /** + * Fictional person connected with a creative work. + * + * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $character + * + * @return static + * + * @see https://schema.org/character + */ + public function character($character) + { + return $this->setProperty('character', $character); + } + + /** + * A citation or reference to another creative work, such as another + * publication, web page, scholarly article, etc. + * + * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $citation + * + * @return static + * + * @see https://schema.org/citation + */ + public function citation($citation) + { + return $this->setProperty('citation', $citation); + } + + /** + * Comments, typically from users. + * + * @param \Spatie\SchemaOrg\Contracts\CommentContract|\Spatie\SchemaOrg\Contracts\CommentContract[] $comment + * + * @return static + * + * @see https://schema.org/comment + */ + public function comment($comment) + { + return $this->setProperty('comment', $comment); + } + + /** + * The number of comments this CreativeWork (e.g. Article, Question or + * Answer) has received. This is most applicable to works published in Web + * sites with commenting system; additional comments may exist elsewhere. + * + * @param int|int[] $commentCount + * + * @return static + * + * @see https://schema.org/commentCount + */ + public function commentCount($commentCount) + { + return $this->setProperty('commentCount', $commentCount); + } + + /** + * Knowledge, skill, ability or personal attribute that must be demonstrated + * by a person or other entity in order to do something such as earn an + * Educational Occupational Credential or understand a LearningResource. + * + * @param \Spatie\SchemaOrg\Contracts\DefinedTermContract|\Spatie\SchemaOrg\Contracts\DefinedTermContract[]|string|string[] $competencyRequired + * + * @return static + * + * @see https://schema.org/competencyRequired + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1779 + */ + public function competencyRequired($competencyRequired) + { + return $this->setProperty('competencyRequired', $competencyRequired); + } + + /** + * Conditions that affect the availability of, or method(s) of access to, an + * item. Typically used for real world items such as an [[ArchiveComponent]] + * held by an [[ArchiveOrganization]]. This property is not suitable for use + * as a general Web access control mechanism. It is expressed only in + * natural language. + * + * For example "Available by appointment from the Reading Room" or + * "Accessible only from logged-in accounts ". + * + * @param string|string[] $conditionsOfAccess + * + * @return static + * + * @see https://schema.org/conditionsOfAccess + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/2173 + */ + public function conditionsOfAccess($conditionsOfAccess) + { + return $this->setProperty('conditionsOfAccess', $conditionsOfAccess); + } + + /** + * The location depicted or described in the content. For example, the + * location in a photograph or painting. + * + * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $contentLocation + * + * @return static + * + * @see https://schema.org/contentLocation + */ + public function contentLocation($contentLocation) + { + return $this->setProperty('contentLocation', $contentLocation); + } + + /** + * Official rating of a piece of content—for example, 'MPAA PG-13'. + * + * @param \Spatie\SchemaOrg\Contracts\RatingContract|\Spatie\SchemaOrg\Contracts\RatingContract[]|string|string[] $contentRating + * + * @return static + * + * @see https://schema.org/contentRating + */ + public function contentRating($contentRating) + { + return $this->setProperty('contentRating', $contentRating); + } + + /** + * The specific time described by a creative work, for works (e.g. articles, + * video objects etc.) that emphasise a particular moment within an Event. + * + * @param \DateTimeInterface|\DateTimeInterface[] $contentReferenceTime + * + * @return static + * + * @see https://schema.org/contentReferenceTime + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1050 + */ + public function contentReferenceTime($contentReferenceTime) + { + return $this->setProperty('contentReferenceTime', $contentReferenceTime); + } + + /** + * A secondary contributor to the CreativeWork or Event. + * + * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $contributor + * + * @return static + * + * @see https://schema.org/contributor + */ + public function contributor($contributor) + { + return $this->setProperty('contributor', $contributor); + } + + /** + * The party holding the legal copyright to the CreativeWork. + * + * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $copyrightHolder + * + * @return static + * + * @see https://schema.org/copyrightHolder + */ + public function copyrightHolder($copyrightHolder) + { + return $this->setProperty('copyrightHolder', $copyrightHolder); + } + + /** + * Text of a notice appropriate for describing the copyright aspects of this + * Creative Work, ideally indicating the owner of the copyright for the + * Work. + * + * @param string|string[] $copyrightNotice + * + * @return static + * + * @see https://schema.org/copyrightNotice + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/2659 + */ + public function copyrightNotice($copyrightNotice) + { + return $this->setProperty('copyrightNotice', $copyrightNotice); + } + + /** + * The year during which the claimed copyright for the CreativeWork was + * first asserted. + * + * @param float|float[]|int|int[] $copyrightYear + * + * @return static + * + * @see https://schema.org/copyrightYear + */ + public function copyrightYear($copyrightYear) + { + return $this->setProperty('copyrightYear', $copyrightYear); + } + + /** + * Indicates a correction to a [[CreativeWork]], either via a + * [[CorrectionComment]], textually or in another document. + * + * @param \Spatie\SchemaOrg\Contracts\CorrectionCommentContract|\Spatie\SchemaOrg\Contracts\CorrectionCommentContract[]|string|string[] $correction + * + * @return static + * + * @see https://schema.org/correction + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 + */ + public function correction($correction) + { + return $this->setProperty('correction', $correction); + } + + /** + * The country of origin of something, including products as well as + * creative works such as movie and TV content. + * + * In the case of TV and movie, this would be the country of the principle + * offices of the production company or individual responsible for the + * movie. For other kinds of [[CreativeWork]] it is difficult to provide + * fully general guidance, and properties such as [[contentLocation]] and + * [[locationCreated]] may be more applicable. + * + * In the case of products, the country of origin of the product. The exact + * interpretation of this may vary by context and product type, and cannot + * be fully enumerated here. + * + * @param \Spatie\SchemaOrg\Contracts\CountryContract|\Spatie\SchemaOrg\Contracts\CountryContract[] $countryOfOrigin + * + * @return static + * + * @see https://schema.org/countryOfOrigin + */ + public function countryOfOrigin($countryOfOrigin) + { + return $this->setProperty('countryOfOrigin', $countryOfOrigin); + } + + /** + * The status of a creative work in terms of its stage in a lifecycle. + * Example terms include Incomplete, Draft, Published, Obsolete. Some + * organizations define a set of terms for the stages of their publication + * lifecycle. + * + * @param \Spatie\SchemaOrg\Contracts\DefinedTermContract|\Spatie\SchemaOrg\Contracts\DefinedTermContract[]|string|string[] $creativeWorkStatus + * + * @return static + * + * @see https://schema.org/creativeWorkStatus + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/987 + */ + public function creativeWorkStatus($creativeWorkStatus) + { + return $this->setProperty('creativeWorkStatus', $creativeWorkStatus); + } + + /** + * The creator/author of this CreativeWork. This is the same as the Author + * property for CreativeWork. + * + * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $creator + * + * @return static + * + * @see https://schema.org/creator + */ + public function creator($creator) + { + return $this->setProperty('creator', $creator); + } + + /** + * Text that can be used to credit person(s) and/or organization(s) + * associated with a published Creative Work. + * + * @param string|string[] $creditText + * + * @return static + * + * @see https://schema.org/creditText + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/2659 + */ + public function creditText($creditText) + { + return $this->setProperty('creditText', $creditText); + } + + /** + * The date on which the CreativeWork was created or the item was added to a + * DataFeed. + * + * @param \DateTimeInterface|\DateTimeInterface[] $dateCreated + * + * @return static + * + * @see https://schema.org/dateCreated + */ + public function dateCreated($dateCreated) + { + return $this->setProperty('dateCreated', $dateCreated); + } + + /** + * The date on which the CreativeWork was most recently modified or when the + * item's entry was modified within a DataFeed. + * + * @param \DateTimeInterface|\DateTimeInterface[] $dateModified + * + * @return static + * + * @see https://schema.org/dateModified + */ + public function dateModified($dateModified) + { + return $this->setProperty('dateModified', $dateModified); + } + + /** + * Date of first broadcast/publication. + * + * @param \DateTimeInterface|\DateTimeInterface[] $datePublished + * + * @return static + * + * @see https://schema.org/datePublished + */ + public function datePublished($datePublished) + { + return $this->setProperty('datePublished', $datePublished); + } + + /** + * A description of the item. + * + * @param string|string[] $description + * + * @return static + * + * @see https://schema.org/description + */ + public function description($description) + { + return $this->setProperty('description', $description); + } + + /** + * A sub property of description. A short description of the item used to + * disambiguate from other, similar items. Information from other properties + * (in particular, name) may be necessary for the description to be useful + * for disambiguation. + * + * @param string|string[] $disambiguatingDescription + * + * @return static + * + * @see https://schema.org/disambiguatingDescription + */ + public function disambiguatingDescription($disambiguatingDescription) + { + return $this->setProperty('disambiguatingDescription', $disambiguatingDescription); + } + + /** + * A link to the page containing the comments of the CreativeWork. + * + * @param string|string[] $discussionUrl + * + * @return static + * + * @see https://schema.org/discussionUrl + */ + public function discussionUrl($discussionUrl) + { + return $this->setProperty('discussionUrl', $discussionUrl); + } + + /** + * An [EIDR](https://eidr.org/) (Entertainment Identifier Registry) + * [[identifier]] representing a specific edit / edition for a work of film + * or television. + * + * For example, the motion picture known as "Ghostbusters" whose + * [[titleEIDR]] is "10.5240/7EC7-228A-510A-053E-CBB8-J" has several edits, + * e.g. "10.5240/1F2A-E1C5-680A-14C6-E76B-I" and + * "10.5240/8A35-3BEE-6497-5D12-9E4F-3". + * + * Since schema.org types like [[Movie]] and [[TVEpisode]] can be used for + * both works and their multiple expressions, it is possible to use + * [[titleEIDR]] alone (for a general description), or alongside + * [[editEIDR]] for a more edit-specific description. + * + * @param string|string[] $editEIDR + * + * @return static + * + * @see https://schema.org/editEIDR + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/2469 + */ + public function editEIDR($editEIDR) + { + return $this->setProperty('editEIDR', $editEIDR); + } + + /** + * Specifies the Person who edited the CreativeWork. + * + * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $editor + * + * @return static + * + * @see https://schema.org/editor + */ + public function editor($editor) + { + return $this->setProperty('editor', $editor); + } + + /** + * An alignment to an established educational framework. + * + * This property should not be used where the nature of the alignment can be + * described using a simple property, for example to express that a resource + * [[teaches]] or [[assesses]] a competency. + * + * @param \Spatie\SchemaOrg\Contracts\AlignmentObjectContract|\Spatie\SchemaOrg\Contracts\AlignmentObjectContract[] $educationalAlignment + * + * @return static + * + * @see https://schema.org/educationalAlignment + */ + public function educationalAlignment($educationalAlignment) + { + return $this->setProperty('educationalAlignment', $educationalAlignment); + } + + /** + * The level in terms of progression through an educational or training + * context. Examples of educational levels include 'beginner', + * 'intermediate' or 'advanced', and formal sets of level indicators. + * + * @param \Spatie\SchemaOrg\Contracts\DefinedTermContract|\Spatie\SchemaOrg\Contracts\DefinedTermContract[]|string|string[] $educationalLevel + * + * @return static + * + * @see https://schema.org/educationalLevel + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1779 + */ + public function educationalLevel($educationalLevel) + { + return $this->setProperty('educationalLevel', $educationalLevel); + } + + /** + * The purpose of a work in the context of education; for example, + * 'assignment', 'group work'. + * + * @param \Spatie\SchemaOrg\Contracts\DefinedTermContract|\Spatie\SchemaOrg\Contracts\DefinedTermContract[]|string|string[] $educationalUse + * + * @return static + * + * @see https://schema.org/educationalUse + */ + public function educationalUse($educationalUse) + { + return $this->setProperty('educationalUse', $educationalUse); + } + + /** + * A media object that encodes this CreativeWork. This property is a synonym + * for associatedMedia. + * + * @param \Spatie\SchemaOrg\Contracts\MediaObjectContract|\Spatie\SchemaOrg\Contracts\MediaObjectContract[] $encoding + * + * @return static + * + * @see https://schema.org/encoding + */ + public function encoding($encoding) + { + return $this->setProperty('encoding', $encoding); + } + + /** + * Media type typically expressed using a MIME format (see [IANA + * site](http://www.iana.org/assignments/media-types/media-types.xhtml) and + * [MDN + * reference](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types)), + * e.g. application/zip for a SoftwareApplication binary, audio/mpeg for + * .mp3 etc. + * + * In cases where a [[CreativeWork]] has several media type representations, + * [[encoding]] can be used to indicate each [[MediaObject]] alongside + * particular [[encodingFormat]] information. + * + * Unregistered or niche encoding and file formats can be indicated instead + * via the most appropriate URL, e.g. defining Web page or a + * Wikipedia/Wikidata entry. + * + * @param string|string[] $encodingFormat + * + * @return static + * + * @see https://schema.org/encodingFormat + */ + public function encodingFormat($encodingFormat) + { + return $this->setProperty('encodingFormat', $encodingFormat); + } + + /** + * A media object that encodes this CreativeWork. + * + * @param \Spatie\SchemaOrg\Contracts\MediaObjectContract|\Spatie\SchemaOrg\Contracts\MediaObjectContract[] $encodings + * + * @return static + * + * @see https://schema.org/encodings + */ + public function encodings($encodings) + { + return $this->setProperty('encodings', $encodings); + } + + /** + * A creative work that this work is an + * example/instance/realization/derivation of. + * + * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[] $exampleOfWork + * + * @return static + * + * @see https://schema.org/exampleOfWork + */ + public function exampleOfWork($exampleOfWork) + { + return $this->setProperty('exampleOfWork', $exampleOfWork); + } + + /** + * Date the content expires and is no longer useful or available. For + * example a [[VideoObject]] or [[NewsArticle]] whose availability or + * relevance is time-limited, or a [[ClaimReview]] fact check whose + * publisher wants to indicate that it may no longer be relevant (or helpful + * to highlight) after some date. + * + * @param \DateTimeInterface|\DateTimeInterface[] $expires + * + * @return static + * + * @see https://schema.org/expires + */ + public function expires($expires) + { + return $this->setProperty('expires', $expires); + } + + /** + * Media type, typically MIME format (see [IANA + * site](http://www.iana.org/assignments/media-types/media-types.xhtml)) of + * the content, e.g. application/zip of a SoftwareApplication binary. In + * cases where a CreativeWork has several media type representations, + * 'encoding' can be used to indicate each MediaObject alongside particular + * fileFormat information. Unregistered or niche file formats can be + * indicated instead via the most appropriate URL, e.g. defining Web page or + * a Wikipedia entry. + * + * @param string|string[] $fileFormat + * + * @return static + * + * @see https://schema.org/fileFormat + */ + public function fileFormat($fileFormat) + { + return $this->setProperty('fileFormat', $fileFormat); + } + + /** + * A person or organization that supports (sponsors) something through some + * kind of financial contribution. + * + * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $funder + * + * @return static + * + * @see https://schema.org/funder + */ + public function funder($funder) + { + return $this->setProperty('funder', $funder); + } + + /** + * A [[Grant]] that directly or indirectly provide funding or sponsorship + * for this item. See also [[ownershipFundingInfo]]. + * + * @param \Spatie\SchemaOrg\Contracts\GrantContract|\Spatie\SchemaOrg\Contracts\GrantContract[] $funding + * + * @return static + * + * @see https://schema.org/funding + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 + */ + public function funding($funding) + { + return $this->setProperty('funding', $funding); + } + + /** + * Genre of the creative work, broadcast channel or group. + * + * @param string|string[] $genre + * + * @return static + * + * @see https://schema.org/genre + */ + public function genre($genre) + { + return $this->setProperty('genre', $genre); + } + + /** + * Indicates an item or CreativeWork that is part of this item, or + * CreativeWork (in some sense). + * + * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[] $hasPart + * + * @return static + * + * @see https://schema.org/hasPart + */ + public function hasPart($hasPart) + { + return $this->setProperty('hasPart', $hasPart); + } + + /** + * Headline of the article. + * + * @param string|string[] $headline + * + * @return static + * + * @see https://schema.org/headline + */ + public function headline($headline) + { + return $this->setProperty('headline', $headline); + } + + /** + * The identifier property represents any kind of identifier for any kind of + * [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides + * dedicated properties for representing many of these, either as textual + * strings or as URL (URI) links. See [background + * notes](/docs/datamodel.html#identifierBg) for more details. + * + * @param \Spatie\SchemaOrg\Contracts\PropertyValueContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract[]|string|string[] $identifier + * + * @return static + * + * @see https://schema.org/identifier + */ + public function identifier($identifier) + { + return $this->setProperty('identifier', $identifier); + } + + /** + * An image of the item. This can be a [[URL]] or a fully described + * [[ImageObject]]. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|string|string[] $image + * + * @return static + * + * @see https://schema.org/image + */ + public function image($image) + { + return $this->setProperty('image', $image); + } + + /** + * The language of the content or performance or used in an action. Please + * use one of the language codes from the [IETF BCP 47 + * standard](http://tools.ietf.org/html/bcp47). See also + * [[availableLanguage]]. + * + * @param \Spatie\SchemaOrg\Contracts\LanguageContract|\Spatie\SchemaOrg\Contracts\LanguageContract[]|string|string[] $inLanguage + * + * @return static + * + * @see https://schema.org/inLanguage + * @link https://github.com/schemaorg/schemaorg/issues/2382 + */ + public function inLanguage($inLanguage) + { + return $this->setProperty('inLanguage', $inLanguage); + } + + /** + * The number of interactions for the CreativeWork using the WebSite or + * SoftwareApplication. The most specific child type of InteractionCounter + * should be used. + * + * @param \Spatie\SchemaOrg\Contracts\InteractionCounterContract|\Spatie\SchemaOrg\Contracts\InteractionCounterContract[] $interactionStatistic + * + * @return static + * + * @see https://schema.org/interactionStatistic + * @link https://github.com/schemaorg/schemaorg/issues/2421 + */ + public function interactionStatistic($interactionStatistic) + { + return $this->setProperty('interactionStatistic', $interactionStatistic); + } + + /** + * The predominant mode of learning supported by the learning resource. + * Acceptable values are 'active', 'expositive', or 'mixed'. + * + * @param string|string[] $interactivityType + * + * @return static + * + * @see https://schema.org/interactivityType + */ + public function interactivityType($interactivityType) + { + return $this->setProperty('interactivityType', $interactivityType); + } + + /** + * Used to indicate a specific claim contained, implied, translated or + * refined from the content of a [[MediaObject]] or other [[CreativeWork]]. + * The interpreting party can be indicated using [[claimInterpreter]]. + * + * @param \Spatie\SchemaOrg\Contracts\ClaimContract|\Spatie\SchemaOrg\Contracts\ClaimContract[] $interpretedAsClaim + * + * @return static + * + * @see https://schema.org/interpretedAsClaim + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/2450 + */ + public function interpretedAsClaim($interpretedAsClaim) + { + return $this->setProperty('interpretedAsClaim', $interpretedAsClaim); + } + + /** + * A flag to signal that the item, event, or place is accessible for free. + * + * @param bool|bool[] $isAccessibleForFree + * + * @return static + * + * @see https://schema.org/isAccessibleForFree + */ + public function isAccessibleForFree($isAccessibleForFree) + { + return $this->setProperty('isAccessibleForFree', $isAccessibleForFree); + } + + /** + * A resource from which this work is derived or from which it is a + * modification or adaptation. + * + * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn + * + * @return static + * + * @see https://schema.org/isBasedOn + */ + public function isBasedOn($isBasedOn) + { + return $this->setProperty('isBasedOn', $isBasedOn); + } + + /** + * A resource that was used in the creation of this resource. This term can + * be repeated for multiple sources. For example, + * http://example.com/great-multiplication-intro.html. + * + * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOnUrl + * + * @return static + * + * @see https://schema.org/isBasedOnUrl + */ + public function isBasedOnUrl($isBasedOnUrl) + { + return $this->setProperty('isBasedOnUrl', $isBasedOnUrl); + } + + /** + * Indicates whether this content is family friendly. + * + * @param bool|bool[] $isFamilyFriendly + * + * @return static + * + * @see https://schema.org/isFamilyFriendly + */ + public function isFamilyFriendly($isFamilyFriendly) + { + return $this->setProperty('isFamilyFriendly', $isFamilyFriendly); + } + + /** + * Indicates an item or CreativeWork that this item, or CreativeWork (in + * some sense), is part of. + * + * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $isPartOf + * + * @return static + * + * @see https://schema.org/isPartOf + */ + public function isPartOf($isPartOf) + { + return $this->setProperty('isPartOf', $isPartOf); + } + + /** + * Keywords or tags used to describe some item. Multiple textual entries in + * a keywords list are typically delimited by commas, or by repeating the + * property. + * + * @param \Spatie\SchemaOrg\Contracts\DefinedTermContract|\Spatie\SchemaOrg\Contracts\DefinedTermContract[]|string|string[] $keywords + * + * @return static + * + * @see https://schema.org/keywords + */ + public function keywords($keywords) + { + return $this->setProperty('keywords', $keywords); + } + + /** + * The predominant type or kind characterizing the learning resource. For + * example, 'presentation', 'handout'. + * + * @param \Spatie\SchemaOrg\Contracts\DefinedTermContract|\Spatie\SchemaOrg\Contracts\DefinedTermContract[]|string|string[] $learningResourceType + * + * @return static + * + * @see https://schema.org/learningResourceType + */ + public function learningResourceType($learningResourceType) + { + return $this->setProperty('learningResourceType', $learningResourceType); + } + + /** + * A license document that applies to this content, typically indicated by + * URL. + * + * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $license + * + * @return static + * + * @see https://schema.org/license + */ + public function license($license) + { + return $this->setProperty('license', $license); + } + + /** + * The location where the CreativeWork was created, which may not be the + * same as the location depicted in the CreativeWork. + * + * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $locationCreated + * + * @return static + * + * @see https://schema.org/locationCreated + */ + public function locationCreated($locationCreated) + { + return $this->setProperty('locationCreated', $locationCreated); + } + + /** + * Indicates the primary entity described in some page or other + * CreativeWork. + * + * @param \Spatie\SchemaOrg\Contracts\ThingContract|\Spatie\SchemaOrg\Contracts\ThingContract[] $mainEntity + * + * @return static + * + * @see https://schema.org/mainEntity + */ + public function mainEntity($mainEntity) + { + return $this->setProperty('mainEntity', $mainEntity); + } + + /** + * Indicates a page (or other CreativeWork) for which this thing is the main + * entity being described. See [background + * notes](/docs/datamodel.html#mainEntityBackground) for details. + * + * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $mainEntityOfPage + * + * @return static + * + * @see https://schema.org/mainEntityOfPage + */ + public function mainEntityOfPage($mainEntityOfPage) + { + return $this->setProperty('mainEntityOfPage', $mainEntityOfPage); + } + + /** + * A maintainer of a [[Dataset]], software package + * ([[SoftwareApplication]]), or other [[Project]]. A maintainer is a + * [[Person]] or [[Organization]] that manages contributions to, and/or + * publication of, some (typically complex) artifact. It is common for + * distributions of software and data to be based on "upstream" sources. + * When [[maintainer]] is applied to a specific version of something e.g. a + * particular version or packaging of a [[Dataset]], it is always possible + * that the upstream source has a different maintainer. The [[isBasedOn]] + * property can be used to indicate such relationships between datasets to + * make the different maintenance roles clear. Similarly in the case of + * software, a package may have dedicated maintainers working on integration + * into software distributions such as Ubuntu, as well as upstream + * maintainers of the underlying work. + * + * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $maintainer + * + * @return static + * + * @see https://schema.org/maintainer + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/2311 + */ + public function maintainer($maintainer) + { + return $this->setProperty('maintainer', $maintainer); + } + + /** + * A material that something is made from, e.g. leather, wool, cotton, + * paper. + * + * @param \Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $material + * + * @return static + * + * @see https://schema.org/material + */ + public function material($material) + { + return $this->setProperty('material', $material); + } + + /** + * The quantity of the materials being described or an expression of the + * physical space they occupy. + * + * @param \Spatie\SchemaOrg\Contracts\QuantitativeValueContract|\Spatie\SchemaOrg\Contracts\QuantitativeValueContract[]|string|string[] $materialExtent + * + * @return static + * + * @see https://schema.org/materialExtent + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1759 + */ + public function materialExtent($materialExtent) + { + return $this->setProperty('materialExtent', $materialExtent); + } + + /** + * Indicates that the CreativeWork contains a reference to, but is not + * necessarily about a concept. + * + * @param \Spatie\SchemaOrg\Contracts\ThingContract|\Spatie\SchemaOrg\Contracts\ThingContract[] $mentions + * + * @return static + * + * @see https://schema.org/mentions + */ + public function mentions($mentions) + { + return $this->setProperty('mentions', $mentions); + } + + /** + * The name of the item. + * + * @param string|string[] $name + * + * @return static + * + * @see https://schema.org/name + */ + public function name($name) + { + return $this->setProperty('name', $name); + } + + /** + * An offer to provide this item—for example, an offer to sell a + * product, rent the DVD of a movie, perform a service, or give away tickets + * to an event. Use [[businessFunction]] to indicate the kind of transaction + * offered, i.e. sell, lease, etc. This property can also be used to + * describe a [[Demand]]. While this property is listed as expected on a + * number of common types, it can be used in others. In that case, using a + * second type, such as Product or a subtype of Product, can clarify the + * nature of the offer. + * + * @param \Spatie\SchemaOrg\Contracts\DemandContract|\Spatie\SchemaOrg\Contracts\DemandContract[]|\Spatie\SchemaOrg\Contracts\OfferContract|\Spatie\SchemaOrg\Contracts\OfferContract[] $offers + * + * @return static + * + * @see https://schema.org/offers + * @link https://github.com/schemaorg/schemaorg/issues/2289 + */ + public function offers($offers) + { + return $this->setProperty('offers', $offers); + } + + /** + * A pattern that something has, for example 'polka dot', 'striped', + * 'Canadian flag'. Values are typically expressed as text, although links + * to controlled value schemes are also supported. + * + * @param \Spatie\SchemaOrg\Contracts\DefinedTermContract|\Spatie\SchemaOrg\Contracts\DefinedTermContract[]|string|string[] $pattern + * + * @return static + * + * @see https://schema.org/pattern + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1797 + */ + public function pattern($pattern) + { + return $this->setProperty('pattern', $pattern); + } + + /** + * The position of an item in a series or sequence of items. + * + * @param int|int[]|string|string[] $position + * + * @return static + * + * @see https://schema.org/position + */ + public function position($position) + { + return $this->setProperty('position', $position); + } + + /** + * Indicates a potential Action, which describes an idealized action in + * which this thing would play an 'object' role. + * + * @param \Spatie\SchemaOrg\Contracts\ActionContract|\Spatie\SchemaOrg\Contracts\ActionContract[] $potentialAction + * + * @return static + * + * @see https://schema.org/potentialAction + */ + public function potentialAction($potentialAction) + { + return $this->setProperty('potentialAction', $potentialAction); + } + + /** + * The person or organization who produced the work (e.g. music album, + * movie, TV/radio series etc.). + * + * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $producer + * + * @return static + * + * @see https://schema.org/producer + */ + public function producer($producer) + { + return $this->setProperty('producer', $producer); + } + + /** + * The service provider, service operator, or service performer; the goods + * producer. Another party (a seller) may offer those services or goods on + * behalf of the provider. A provider may also serve as the seller. + * + * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $provider + * + * @return static + * + * @see https://schema.org/provider + * @see https://pending.schema.org + */ + public function provider($provider) + { + return $this->setProperty('provider', $provider); + } + + /** + * A publication event associated with the item. + * + * @param \Spatie\SchemaOrg\Contracts\PublicationEventContract|\Spatie\SchemaOrg\Contracts\PublicationEventContract[] $publication + * + * @return static + * + * @see https://schema.org/publication + */ + public function publication($publication) + { + return $this->setProperty('publication', $publication); + } + + /** + * The publisher of the creative work. + * + * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $publisher + * + * @return static + * + * @see https://schema.org/publisher + */ + public function publisher($publisher) + { + return $this->setProperty('publisher', $publisher); + } + + /** + * The publishing division which published the comic. + * + * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[] $publisherImprint + * + * @return static + * + * @see https://schema.org/publisherImprint + * @see https://bib.schema.org + */ + public function publisherImprint($publisherImprint) + { + return $this->setProperty('publisherImprint', $publisherImprint); + } + + /** + * The publishingPrinciples property indicates (typically via [[URL]]) a + * document describing the editorial principles of an [[Organization]] (or + * individual, e.g. a [[Person]] writing a blog) that relate to their + * activities as a publisher, e.g. ethics or diversity policies. When + * applied to a [[CreativeWork]] (e.g. [[NewsArticle]]) the principles are + * those of the party primarily responsible for the creation of the + * [[CreativeWork]]. + * + * While such policies are most typically expressed in natural language, + * sometimes related information (e.g. indicating a [[funder]]) can be + * expressed using schema.org terminology. + * + * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $publishingPrinciples + * + * @return static + * + * @see https://schema.org/publishingPrinciples + */ + public function publishingPrinciples($publishingPrinciples) + { + return $this->setProperty('publishingPrinciples', $publishingPrinciples); + } + + /** + * The Event where the CreativeWork was recorded. The CreativeWork may + * capture all or part of the event. + * + * @param \Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $recordedAt + * + * @return static + * + * @see https://schema.org/recordedAt + */ + public function recordedAt($recordedAt) + { + return $this->setProperty('recordedAt', $recordedAt); + } + + /** + * The place and time the release was issued, expressed as a + * PublicationEvent. + * + * @param \Spatie\SchemaOrg\Contracts\PublicationEventContract|\Spatie\SchemaOrg\Contracts\PublicationEventContract[] $releasedEvent + * + * @return static + * + * @see https://schema.org/releasedEvent + */ + public function releasedEvent($releasedEvent) + { + return $this->setProperty('releasedEvent', $releasedEvent); + } + + /** + * A review of the item. + * + * @param \Spatie\SchemaOrg\Contracts\ReviewContract|\Spatie\SchemaOrg\Contracts\ReviewContract[] $review + * + * @return static + * + * @see https://schema.org/review + */ + public function review($review) + { + return $this->setProperty('review', $review); + } + + /** + * Review of the item. + * + * @param \Spatie\SchemaOrg\Contracts\ReviewContract|\Spatie\SchemaOrg\Contracts\ReviewContract[] $reviews + * + * @return static + * + * @see https://schema.org/reviews + */ + public function reviews($reviews) + { + return $this->setProperty('reviews', $reviews); + } + + /** + * URL of a reference Web page that unambiguously indicates the item's + * identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or + * official website. + * + * @param string|string[] $sameAs + * + * @return static + * + * @see https://schema.org/sameAs + */ + public function sameAs($sameAs) + { + return $this->setProperty('sameAs', $sameAs); + } + + /** + * Indicates (by URL or string) a particular version of a schema used in + * some CreativeWork. This property was created primarily to + * indicate the use of a specific schema.org release, e.g. ```10.0``` as + * a simple string, or more explicitly via URL, + * ```https://schema.org/docs/releases.html#v10.0```. There may be + * situations in which other schemas might usefully be referenced this way, + * e.g. + * ```http://dublincore.org/specifications/dublin-core/dces/1999-07-02/``` + * but this has not been carefully explored in the community. + * + * @param string|string[] $schemaVersion + * + * @return static + * + * @see https://schema.org/schemaVersion + */ + public function schemaVersion($schemaVersion) + { + return $this->setProperty('schemaVersion', $schemaVersion); + } + + /** + * Indicates the date on which the current structured data was generated / + * published. Typically used alongside [[sdPublisher]] + * + * @param \DateTimeInterface|\DateTimeInterface[] $sdDatePublished + * + * @return static + * + * @see https://schema.org/sdDatePublished + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1886 + */ + public function sdDatePublished($sdDatePublished) + { + return $this->setProperty('sdDatePublished', $sdDatePublished); + } + + /** + * A license document that applies to this structured data, typically + * indicated by URL. + * + * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $sdLicense + * + * @return static + * + * @see https://schema.org/sdLicense + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1886 + */ + public function sdLicense($sdLicense) + { + return $this->setProperty('sdLicense', $sdLicense); + } + + /** + * Indicates the party responsible for generating and publishing the current + * structured data markup, typically in cases where the structured data is + * derived automatically from existing published content but published on a + * different site. For example, student projects and open data initiatives + * often re-publish existing content with more explicitly structured + * metadata. The + * [[sdPublisher]] property helps make such practices more explicit. + * + * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $sdPublisher + * + * @return static + * + * @see https://schema.org/sdPublisher + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1886 + */ + public function sdPublisher($sdPublisher) + { + return $this->setProperty('sdPublisher', $sdPublisher); + } + + /** + * A standardized size of a product or creative work, specified either + * through a simple textual string (for example 'XL', '32Wx34L'), a + * QuantitativeValue with a unitCode, or a comprehensive and structured + * [[SizeSpecification]]; in other cases, the [[width]], [[height]], + * [[depth]] and [[weight]] properties may be more applicable. + * + * @param \Spatie\SchemaOrg\Contracts\DefinedTermContract|\Spatie\SchemaOrg\Contracts\DefinedTermContract[]|\Spatie\SchemaOrg\Contracts\QuantitativeValueContract|\Spatie\SchemaOrg\Contracts\QuantitativeValueContract[]|\Spatie\SchemaOrg\Contracts\SizeSpecificationContract|\Spatie\SchemaOrg\Contracts\SizeSpecificationContract[]|string|string[] $size + * + * @return static + * + * @see https://schema.org/size + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1797 + */ + public function size($size) + { + return $this->setProperty('size', $size); + } + + /** + * The Organization on whose behalf the creator was working. + * + * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[] $sourceOrganization + * + * @return static + * + * @see https://schema.org/sourceOrganization + */ + public function sourceOrganization($sourceOrganization) + { + return $this->setProperty('sourceOrganization', $sourceOrganization); + } + + /** + * The "spatial" property can be used in cases when more specific properties + * (e.g. [[locationCreated]], [[spatialCoverage]], [[contentLocation]]) are + * not known to be appropriate. + * + * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $spatial + * + * @return static + * + * @see https://schema.org/spatial + */ + public function spatial($spatial) + { + return $this->setProperty('spatial', $spatial); + } + + /** + * The spatialCoverage of a CreativeWork indicates the place(s) which are + * the focus of the content. It is a subproperty of + * contentLocation intended primarily for more technical and detailed + * materials. For example with a Dataset, it indicates + * areas that the dataset describes: a dataset of New York weather + * would have spatialCoverage which was the place: the state of New York. + * + * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $spatialCoverage + * + * @return static + * + * @see https://schema.org/spatialCoverage + */ + public function spatialCoverage($spatialCoverage) + { + return $this->setProperty('spatialCoverage', $spatialCoverage); + } + + /** + * A person or organization that supports a thing through a pledge, promise, + * or financial contribution. E.g. a sponsor of a Medical Study or a + * corporate sponsor of an event. + * + * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $sponsor + * + * @return static + * + * @see https://schema.org/sponsor + */ + public function sponsor($sponsor) + { + return $this->setProperty('sponsor', $sponsor); + } + + /** + * A CreativeWork or Event about this Thing. + * + * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $subjectOf + * + * @return static + * + * @see https://schema.org/subjectOf + * @link https://github.com/schemaorg/schemaorg/issues/1670 + */ + public function subjectOf($subjectOf) + { + return $this->setProperty('subjectOf', $subjectOf); + } + + /** + * The item being described is intended to help a person learn the + * competency or learning outcome defined by the referenced term. + * + * @param \Spatie\SchemaOrg\Contracts\DefinedTermContract|\Spatie\SchemaOrg\Contracts\DefinedTermContract[]|string|string[] $teaches + * + * @return static + * + * @see https://schema.org/teaches + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/2427 + */ + public function teaches($teaches) + { + return $this->setProperty('teaches', $teaches); + } + + /** + * The "temporal" property can be used in cases where more specific + * properties + * (e.g. [[temporalCoverage]], [[dateCreated]], [[dateModified]], + * [[datePublished]]) are not known to be appropriate. + * + * @param \DateTimeInterface|\DateTimeInterface[]|string|string[] $temporal + * + * @return static + * + * @see https://schema.org/temporal + */ + public function temporal($temporal) + { + return $this->setProperty('temporal', $temporal); + } + + /** + * The temporalCoverage of a CreativeWork indicates the period that the + * content applies to, i.e. that it describes, either as a DateTime or as a + * textual string indicating a time period in [ISO 8601 time interval + * format](https://en.wikipedia.org/wiki/ISO_8601#Time_intervals). In + * the case of a Dataset it will typically indicate the relevant time + * period in a precise notation (e.g. for a 2011 census dataset, the year + * 2011 would be written "2011/2012"). Other forms of content, e.g. + * ScholarlyArticle, Book, TVSeries or TVEpisode, may indicate their + * temporalCoverage in broader terms - textually or via well-known URL. + * Written works such as books may sometimes have precise temporal + * coverage too, e.g. a work set in 1939 - 1945 can be indicated in ISO 8601 + * interval format format via "1939/1945". + * + * Open-ended date ranges can be written with ".." in place of the end date. + * For example, "2015-11/.." indicates a range beginning in November 2015 + * and with no specified final date. This is tentative and might be updated + * in future when ISO 8601 is officially updated. + * + * @param \DateTimeInterface|\DateTimeInterface[]|string|string[] $temporalCoverage + * + * @return static + * + * @see https://schema.org/temporalCoverage + */ + public function temporalCoverage($temporalCoverage) + { + return $this->setProperty('temporalCoverage', $temporalCoverage); + } + + /** + * The textual content of this CreativeWork. + * + * @param string|string[] $text + * + * @return static + * + * @see https://schema.org/text + */ + public function text($text) + { + return $this->setProperty('text', $text); + } + + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + + /** + * A thumbnail image relevant to the Thing. + * + * @param string|string[] $thumbnailUrl + * + * @return static + * + * @see https://schema.org/thumbnailUrl + */ + public function thumbnailUrl($thumbnailUrl) + { + return $this->setProperty('thumbnailUrl', $thumbnailUrl); + } + + /** + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. + * + * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired + * + * @return static + * + * @see https://schema.org/timeRequired + */ + public function timeRequired($timeRequired) + { + return $this->setProperty('timeRequired', $timeRequired); + } + + /** + * The work that this work has been translated from. E.g. 物种起源 is a + * translationOf “On the Origin of Species”. + * + * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[] $translationOfWork + * + * @return static + * + * @see https://schema.org/translationOfWork + * @see https://bib.schema.org + */ + public function translationOfWork($translationOfWork) + { + return $this->setProperty('translationOfWork', $translationOfWork); + } + + /** + * Organization or person who adapts a creative work to different languages, + * regional differences and technical requirements of a target market, or + * that translates during some event. + * + * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $translator + * + * @return static + * + * @see https://schema.org/translator + */ + public function translator($translator) + { + return $this->setProperty('translator', $translator); + } + + /** + * The typical expected age range, e.g. '7-9', '11-'. + * + * @param string|string[] $typicalAgeRange + * + * @return static + * + * @see https://schema.org/typicalAgeRange + */ + public function typicalAgeRange($typicalAgeRange) + { + return $this->setProperty('typicalAgeRange', $typicalAgeRange); + } + + /** + * URL of the item. + * + * @param string|string[] $url + * + * @return static + * + * @see https://schema.org/url + */ + public function url($url) + { + return $this->setProperty('url', $url); + } + + /** + * The schema.org [[usageInfo]] property indicates further information about + * a [[CreativeWork]]. This property is applicable both to works that are + * freely available and to those that require payment or other transactions. + * It can reference additional information, e.g. community expectations on + * preferred linking and citation conventions, as well as purchasing + * details. For something that can be commercially licensed, usageInfo can + * provide detailed, resource-specific information about licensing options. + * + * This property can be used alongside the license property which indicates + * license(s) applicable to some piece of content. The usageInfo property + * can provide information about other licensing options, e.g. acquiring + * commercial usage rights for an image that is also available under + * non-commercial creative commons licenses. + * + * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $usageInfo + * + * @return static + * + * @see https://schema.org/usageInfo + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/2454 + */ + public function usageInfo($usageInfo) + { + return $this->setProperty('usageInfo', $usageInfo); + } + + /** + * The version of the CreativeWork embodied by a specified resource. + * + * @param float|float[]|int|int[]|string|string[] $version + * + * @return static + * + * @see https://schema.org/version + */ + public function version($version) + { + return $this->setProperty('version', $version); + } + + /** + * An embedded video object. + * + * @param \Spatie\SchemaOrg\Contracts\ClipContract|\Spatie\SchemaOrg\Contracts\ClipContract[]|\Spatie\SchemaOrg\Contracts\VideoObjectContract|\Spatie\SchemaOrg\Contracts\VideoObjectContract[] $video + * + * @return static + * + * @see https://schema.org/video + */ + public function video($video) + { + return $this->setProperty('video', $video); + } + + /** + * Example/instance/realization/derivation of the concept of this creative + * work. E.g. the paperback edition, first edition, or e-book. + * + * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[] $workExample + * + * @return static + * + * @see https://schema.org/workExample + */ + public function workExample($workExample) + { + return $this->setProperty('workExample', $workExample); + } + + /** + * A work that is a translation of the content of this work. E.g. 西遊記 + * has an English workTranslation “Journey to the West”, a German + * workTranslation “Monkeys Pilgerfahrt” and a Vietnamese translation + * Tây du ký bình khảo. + * + * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[] $workTranslation + * + * @return static + * + * @see https://schema.org/workTranslation + * @see https://bib.schema.org + */ + public function workTranslation($workTranslation) + { + return $this->setProperty('workTranslation', $workTranslation); + } +} diff --git a/src/Synagogue.php b/src/Synagogue.php index 97516fea9..52497bd28 100644 --- a/src/Synagogue.php +++ b/src/Synagogue.php @@ -41,10 +41,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -111,7 +115,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -452,7 +455,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -550,7 +552,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -596,7 +597,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -725,7 +725,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -857,7 +856,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/TVClip.php b/src/TVClip.php index 309f13919..7ff97479e 100644 --- a/src/TVClip.php +++ b/src/TVClip.php @@ -232,10 +232,14 @@ public function actors($actors) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -629,6 +633,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -1006,7 +1011,6 @@ public function endOffset($endOffset) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1077,6 +1081,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1106,7 +1111,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1244,7 +1248,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2068,6 +2072,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2083,9 +2101,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2223,7 +2240,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/TVEpisode.php b/src/TVEpisode.php index da6b103c8..1f5974b6c 100644 --- a/src/TVEpisode.php +++ b/src/TVEpisode.php @@ -232,10 +232,14 @@ public function actors($actors) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -615,6 +619,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -1004,7 +1009,6 @@ public function episodeNumber($episodeNumber) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1075,6 +1079,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1104,7 +1109,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1242,7 +1246,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2067,6 +2071,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2082,9 +2100,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2263,7 +2280,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/TVSeason.php b/src/TVSeason.php index 861a39200..07c88f2f4 100644 --- a/src/TVSeason.php +++ b/src/TVSeason.php @@ -217,10 +217,14 @@ public function actor($actor) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -600,6 +604,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -989,7 +994,6 @@ public function episodes($episodes) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1060,6 +1064,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1089,7 +1094,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1227,7 +1231,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2051,6 +2055,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2066,9 +2084,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2220,7 +2237,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/TVSeries.php b/src/TVSeries.php index 7242e14d7..892544118 100644 --- a/src/TVSeries.php +++ b/src/TVSeries.php @@ -234,10 +234,14 @@ public function actors($actors) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -631,6 +635,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -1035,7 +1040,6 @@ public function episodes($episodes) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1106,6 +1110,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1135,7 +1140,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1273,7 +1277,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1341,7 +1345,6 @@ public function isPartOf($isPartOf) * @return static * * @see https://schema.org/issn - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function issn($issn) { @@ -2128,6 +2131,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2143,9 +2160,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2297,7 +2313,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/Table.php b/src/Table.php index 90857aa14..e16a520e6 100644 --- a/src/Table.php +++ b/src/Table.php @@ -201,10 +201,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -584,6 +588,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -930,7 +935,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1001,6 +1005,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1030,7 +1035,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1168,7 +1172,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1905,6 +1909,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1920,9 +1938,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2060,7 +2077,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/TakeAction.php b/src/TakeAction.php index 36c41d174..c1f2328bd 100644 --- a/src/TakeAction.php +++ b/src/TakeAction.php @@ -39,10 +39,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/TattooParlor.php b/src/TattooParlor.php index 4b31a5d04..1e647410a 100644 --- a/src/TattooParlor.php +++ b/src/TattooParlor.php @@ -29,6 +29,7 @@ class TattooParlor extends BaseType implements TattooParlorContract, HealthAndBe * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/Taxi.php b/src/Taxi.php index eb87b0c22..066c8938d 100644 --- a/src/Taxi.php +++ b/src/Taxi.php @@ -18,10 +18,14 @@ class Taxi extends BaseType implements TaxiContract, IntangibleContract, Service /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -268,7 +272,6 @@ public function image($image) * @return static * * @see https://schema.org/isRelatedTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isRelatedTo($isRelatedTo) { @@ -284,7 +287,6 @@ public function isRelatedTo($isRelatedTo) * @return static * * @see https://schema.org/isSimilarTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isSimilarTo($isSimilarTo) { @@ -299,7 +301,6 @@ public function isSimilarTo($isSimilarTo) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { diff --git a/src/TaxiReservation.php b/src/TaxiReservation.php index c255e8554..1863942cb 100644 --- a/src/TaxiReservation.php +++ b/src/TaxiReservation.php @@ -22,10 +22,14 @@ class TaxiReservation extends BaseType implements TaxiReservationContract, Intan /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/TaxiService.php b/src/TaxiService.php index 39fe3b76c..85f856716 100644 --- a/src/TaxiService.php +++ b/src/TaxiService.php @@ -19,10 +19,14 @@ class TaxiService extends BaseType implements TaxiServiceContract, IntangibleCon /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -269,7 +273,6 @@ public function image($image) * @return static * * @see https://schema.org/isRelatedTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isRelatedTo($isRelatedTo) { @@ -285,7 +288,6 @@ public function isRelatedTo($isRelatedTo) * @return static * * @see https://schema.org/isSimilarTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isSimilarTo($isSimilarTo) { @@ -300,7 +302,6 @@ public function isSimilarTo($isSimilarTo) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { diff --git a/src/TaxiStand.php b/src/TaxiStand.php index 074d195a5..264717b80 100644 --- a/src/TaxiStand.php +++ b/src/TaxiStand.php @@ -40,10 +40,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -110,7 +114,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -451,7 +454,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -549,7 +551,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -595,7 +596,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -724,7 +724,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -856,7 +855,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/Taxon.php b/src/Taxon.php index e6b2104ec..b318b6938 100644 --- a/src/Taxon.php +++ b/src/Taxon.php @@ -10,6 +10,7 @@ * * @see https://schema.org/Taxon * @see https://pending.schema.org + * @link http://bioschemas.org * */ class Taxon extends BaseType implements TaxonContract, ThingContract @@ -17,10 +18,14 @@ class Taxon extends BaseType implements TaxonContract, ThingContract /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -56,6 +61,7 @@ public function alternateName($alternateName) * * @see https://schema.org/childTaxon * @see https://pending.schema.org + * @link http://www.bioschemas.org/Taxon */ public function childTaxon($childTaxon) { @@ -181,6 +187,7 @@ public function name($name) * * @see https://schema.org/parentTaxon * @see https://pending.schema.org + * @link http://www.bioschemas.org/Taxon */ public function parentTaxon($parentTaxon) { @@ -244,6 +251,7 @@ public function subjectOf($subjectOf) * * @see https://schema.org/taxonRank * @see https://pending.schema.org + * @link http://www.bioschemas.org/Taxon */ public function taxonRank($taxonRank) { diff --git a/src/TechArticle.php b/src/TechArticle.php index 5b9c00159..d79005891 100644 --- a/src/TechArticle.php +++ b/src/TechArticle.php @@ -202,10 +202,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -428,6 +432,7 @@ public function awards($awards) * * @see https://schema.org/backstory * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function backstory($backstory) { @@ -633,6 +638,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -976,7 +982,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1047,6 +1052,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1076,7 +1082,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1214,7 +1219,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1483,7 +1488,6 @@ public function offers($offers) * @return static * * @see https://schema.org/pageEnd - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pageEnd($pageEnd) { @@ -1498,7 +1502,6 @@ public function pageEnd($pageEnd) * @return static * * @see https://schema.org/pageStart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pageStart($pageStart) { @@ -1514,7 +1517,6 @@ public function pageStart($pageStart) * @return static * * @see https://schema.org/pagination - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function pagination($pagination) { @@ -2052,6 +2054,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2067,9 +2083,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2221,7 +2236,6 @@ public function wordCount($wordCount) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/TelevisionChannel.php b/src/TelevisionChannel.php index 394d7a546..6d9006f0e 100644 --- a/src/TelevisionChannel.php +++ b/src/TelevisionChannel.php @@ -19,10 +19,14 @@ class TelevisionChannel extends BaseType implements TelevisionChannelContract, B /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/TelevisionStation.php b/src/TelevisionStation.php index 4f1b6f337..5ab98e6fd 100644 --- a/src/TelevisionStation.php +++ b/src/TelevisionStation.php @@ -28,6 +28,7 @@ class TelevisionStation extends BaseType implements TelevisionStationContract, L * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -59,10 +60,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -143,7 +148,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -324,6 +328,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -426,6 +431,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -444,6 +450,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -459,7 +466,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -653,6 +659,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -856,7 +863,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -952,7 +958,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1049,7 +1054,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1105,6 +1109,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1123,6 +1128,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1152,7 +1158,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1197,7 +1202,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1243,7 +1247,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1345,7 +1348,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1432,7 +1434,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1453,6 +1454,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1467,7 +1469,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1652,7 +1653,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1696,7 +1696,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1776,7 +1775,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1826,6 +1824,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1854,7 +1853,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/TennisComplex.php b/src/TennisComplex.php index 831429938..8c8a894c7 100644 --- a/src/TennisComplex.php +++ b/src/TennisComplex.php @@ -29,6 +29,7 @@ class TennisComplex extends BaseType implements TennisComplexContract, LocalBusi * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/TextDigitalDocument.php b/src/TextDigitalDocument.php index 2eaf91255..7d602482f 100644 --- a/src/TextDigitalDocument.php +++ b/src/TextDigitalDocument.php @@ -201,10 +201,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -584,6 +588,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -913,7 +918,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -984,6 +988,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1029,7 +1034,6 @@ public function hasDigitalDocumentPermission($hasDigitalDocumentPermission) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1167,7 +1171,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1904,6 +1908,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1919,9 +1937,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2059,7 +2076,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/TheaterEvent.php b/src/TheaterEvent.php index 37fb67f37..d2351e2e4 100644 --- a/src/TheaterEvent.php +++ b/src/TheaterEvent.php @@ -48,10 +48,14 @@ public function actor($actor) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +148,6 @@ public function audience($audience) * @return static * * @see https://schema.org/composer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public function composer($composer) { @@ -344,6 +347,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/TheaterGroup.php b/src/TheaterGroup.php index b4c922f0f..46db061d1 100644 --- a/src/TheaterGroup.php +++ b/src/TheaterGroup.php @@ -28,6 +28,7 @@ class TheaterGroup extends BaseType implements TheaterGroupContract, Organizatio * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -37,10 +38,14 @@ public function actionableFeedbackPolicy($actionableFeedbackPolicy) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -206,6 +211,7 @@ public function contactPoints($contactPoints) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -286,6 +292,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -304,6 +311,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -319,7 +327,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -513,6 +520,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -530,7 +538,6 @@ public function funding($funding) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -592,7 +599,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -675,7 +681,6 @@ public function interactionStatistic($interactionStatistic) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -731,6 +736,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -749,6 +755,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -763,7 +770,6 @@ public function knowsLanguage($knowsLanguage) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -808,7 +814,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -839,7 +844,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -899,7 +903,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -965,6 +968,7 @@ public function numberOfEmployees($numberOfEmployees) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -979,7 +983,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1093,7 +1096,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1184,7 +1186,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1216,6 +1217,7 @@ public function telephone($telephone) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1244,7 +1246,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/TherapeuticProcedure.php b/src/TherapeuticProcedure.php index c67f1532b..96bc2e6a3 100644 --- a/src/TherapeuticProcedure.php +++ b/src/TherapeuticProcedure.php @@ -20,10 +20,14 @@ class TherapeuticProcedure extends BaseType implements TherapeuticProcedureContr /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -187,6 +191,7 @@ public function followup($followup) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/Thesis.php b/src/Thesis.php index 71d286846..353b7c35a 100644 --- a/src/Thesis.php +++ b/src/Thesis.php @@ -203,10 +203,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -586,6 +590,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -915,7 +920,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -986,6 +990,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1015,7 +1020,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1168,7 +1172,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1905,6 +1909,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1920,9 +1938,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2060,7 +2077,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/Thing.php b/src/Thing.php index 5e7f4a242..feaeff0a3 100644 --- a/src/Thing.php +++ b/src/Thing.php @@ -15,10 +15,14 @@ class Thing extends BaseType implements ThingContract /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/ThreeDimensionalModel.php b/src/ThreeDimensionalModel.php index 0cbcd5005..9b42ac9cc 100644 --- a/src/ThreeDimensionalModel.php +++ b/src/ThreeDimensionalModel.php @@ -216,10 +216,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -656,6 +660,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -1054,7 +1059,6 @@ public function endTime($endTime) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1125,6 +1129,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1154,7 +1159,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1327,7 +1331,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2186,6 +2190,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2201,9 +2219,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2369,7 +2386,6 @@ public function width($width) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/Ticket.php b/src/Ticket.php index 16cd70080..897980e26 100644 --- a/src/Ticket.php +++ b/src/Ticket.php @@ -17,10 +17,14 @@ class Ticket extends BaseType implements TicketContract, IntangibleContract, Thi /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/TieAction.php b/src/TieAction.php index dc8e8f794..fa8716bb2 100644 --- a/src/TieAction.php +++ b/src/TieAction.php @@ -32,10 +32,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/TipAction.php b/src/TipAction.php index d9ade6a78..e037d35b2 100644 --- a/src/TipAction.php +++ b/src/TipAction.php @@ -33,10 +33,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -356,7 +360,6 @@ public function priceCurrency($priceCurrency) * @return static * * @see https://schema.org/priceSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function priceSpecification($priceSpecification) { diff --git a/src/TireShop.php b/src/TireShop.php index fd13f622f..16a6cf9f9 100644 --- a/src/TireShop.php +++ b/src/TireShop.php @@ -29,6 +29,7 @@ class TireShop extends BaseType implements TireShopContract, LocalBusinessContra * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/TouristAttraction.php b/src/TouristAttraction.php index e2dfc3d4f..5ccd58cf5 100644 --- a/src/TouristAttraction.php +++ b/src/TouristAttraction.php @@ -43,10 +43,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -113,7 +117,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -470,7 +473,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -568,7 +570,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -614,7 +615,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -716,7 +716,6 @@ public function name($name) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -848,7 +847,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/TouristDestination.php b/src/TouristDestination.php index f673bda5b..3c0d183a2 100644 --- a/src/TouristDestination.php +++ b/src/TouristDestination.php @@ -21,6 +21,7 @@ * * @see https://schema.org/TouristDestination * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1810 * */ class TouristDestination extends BaseType implements TouristDestinationContract, PlaceContract, ThingContract @@ -50,10 +51,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -120,7 +125,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -461,7 +465,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -544,6 +547,7 @@ public function image($image) * * @see https://schema.org/includesAttraction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1810 */ public function includesAttraction($includesAttraction) { @@ -574,7 +578,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -620,7 +623,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -722,7 +724,6 @@ public function name($name) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -854,7 +855,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/TouristInformationCenter.php b/src/TouristInformationCenter.php index 8b26f521d..300203f91 100644 --- a/src/TouristInformationCenter.php +++ b/src/TouristInformationCenter.php @@ -28,6 +28,7 @@ class TouristInformationCenter extends BaseType implements TouristInformationCen * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -59,10 +60,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -143,7 +148,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -324,6 +328,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -426,6 +431,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -444,6 +450,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -459,7 +466,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -653,6 +659,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -856,7 +863,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -952,7 +958,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1049,7 +1054,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1105,6 +1109,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1123,6 +1128,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1152,7 +1158,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1197,7 +1202,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1243,7 +1247,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1345,7 +1348,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1432,7 +1434,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1453,6 +1454,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1467,7 +1469,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1652,7 +1653,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1696,7 +1696,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1776,7 +1775,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1826,6 +1824,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1854,7 +1853,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/TouristTrip.php b/src/TouristTrip.php index 93c28ff3e..64643c00b 100644 --- a/src/TouristTrip.php +++ b/src/TouristTrip.php @@ -17,6 +17,7 @@ * * @see https://schema.org/TouristTrip * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1810 * */ class TouristTrip extends BaseType implements TouristTripContract, IntangibleContract, ThingContract, TripContract @@ -24,10 +25,14 @@ class TouristTrip extends BaseType implements TouristTripContract, IntangibleCon /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -157,6 +162,7 @@ public function image($image) * * @see https://schema.org/itinerary * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1810 */ public function itinerary($itinerary) { @@ -225,6 +231,7 @@ public function offers($offers) * * @see https://schema.org/partOfTrip * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1810 */ public function partOfTrip($partOfTrip) { @@ -289,6 +296,7 @@ public function sameAs($sameAs) * * @see https://schema.org/subTrip * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1810 */ public function subTrip($subTrip) { diff --git a/src/ToyStore.php b/src/ToyStore.php index ac8a80c6c..c456776a5 100644 --- a/src/ToyStore.php +++ b/src/ToyStore.php @@ -29,6 +29,7 @@ class ToyStore extends BaseType implements ToyStoreContract, LocalBusinessContra * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/TrackAction.php b/src/TrackAction.php index 384578f3d..ba369f8cb 100644 --- a/src/TrackAction.php +++ b/src/TrackAction.php @@ -39,10 +39,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/TradeAction.php b/src/TradeAction.php index d0b40e25c..81435f7cb 100644 --- a/src/TradeAction.php +++ b/src/TradeAction.php @@ -33,10 +33,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -356,7 +360,6 @@ public function priceCurrency($priceCurrency) * @return static * * @see https://schema.org/priceSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function priceSpecification($priceSpecification) { diff --git a/src/TrainReservation.php b/src/TrainReservation.php index 1f93a4c8a..cd942df1f 100644 --- a/src/TrainReservation.php +++ b/src/TrainReservation.php @@ -22,10 +22,14 @@ class TrainReservation extends BaseType implements TrainReservationContract, Int /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/TrainStation.php b/src/TrainStation.php index 84ca908df..454b4cfd8 100644 --- a/src/TrainStation.php +++ b/src/TrainStation.php @@ -40,10 +40,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -110,7 +114,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -451,7 +454,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -549,7 +551,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -595,7 +596,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -724,7 +724,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -856,7 +855,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/TrainTrip.php b/src/TrainTrip.php index 982ab7978..9d7193f8f 100644 --- a/src/TrainTrip.php +++ b/src/TrainTrip.php @@ -18,10 +18,14 @@ class TrainTrip extends BaseType implements TrainTripContract, IntangibleContrac /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -207,6 +211,7 @@ public function image($image) * * @see https://schema.org/itinerary * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1810 */ public function itinerary($itinerary) { @@ -275,6 +280,7 @@ public function offers($offers) * * @see https://schema.org/partOfTrip * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1810 */ public function partOfTrip($partOfTrip) { @@ -339,6 +345,7 @@ public function sameAs($sameAs) * * @see https://schema.org/subTrip * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1810 */ public function subTrip($subTrip) { diff --git a/src/TransferAction.php b/src/TransferAction.php index 13405bd62..4b06a9068 100644 --- a/src/TransferAction.php +++ b/src/TransferAction.php @@ -32,10 +32,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/TravelAction.php b/src/TravelAction.php index a8a5d1603..f8a43882f 100644 --- a/src/TravelAction.php +++ b/src/TravelAction.php @@ -33,10 +33,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/TravelAgency.php b/src/TravelAgency.php index d0ad88ef3..f29fb99e3 100644 --- a/src/TravelAgency.php +++ b/src/TravelAgency.php @@ -28,6 +28,7 @@ class TravelAgency extends BaseType implements TravelAgencyContract, LocalBusine * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -59,10 +60,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -143,7 +148,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -324,6 +328,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -426,6 +431,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -444,6 +450,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -459,7 +466,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -653,6 +659,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -856,7 +863,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -952,7 +958,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1049,7 +1054,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1105,6 +1109,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1123,6 +1128,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1152,7 +1158,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1197,7 +1202,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1243,7 +1247,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1345,7 +1348,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1432,7 +1434,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1453,6 +1454,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1467,7 +1469,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1652,7 +1653,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1696,7 +1696,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1776,7 +1775,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1826,6 +1824,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1854,7 +1853,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/TreatmentIndication.php b/src/TreatmentIndication.php index c7bc16680..f34a61c68 100644 --- a/src/TreatmentIndication.php +++ b/src/TreatmentIndication.php @@ -19,10 +19,14 @@ class TreatmentIndication extends BaseType implements TreatmentIndicationContrac /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -106,6 +110,7 @@ public function disambiguatingDescription($disambiguatingDescription) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/Trip.php b/src/Trip.php index 1306765e3..d89604943 100644 --- a/src/Trip.php +++ b/src/Trip.php @@ -10,7 +10,6 @@ * A trip or journey. An itinerary of visits to one or more places. * * @see https://schema.org/Trip - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Tourism * */ class Trip extends BaseType implements TripContract, IntangibleContract, ThingContract @@ -18,10 +17,14 @@ class Trip extends BaseType implements TripContract, IntangibleContract, ThingCo /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -151,6 +154,7 @@ public function image($image) * * @see https://schema.org/itinerary * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1810 */ public function itinerary($itinerary) { @@ -219,6 +223,7 @@ public function offers($offers) * * @see https://schema.org/partOfTrip * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1810 */ public function partOfTrip($partOfTrip) { @@ -283,6 +288,7 @@ public function sameAs($sameAs) * * @see https://schema.org/subTrip * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1810 */ public function subTrip($subTrip) { diff --git a/src/TypeAndQuantityNode.php b/src/TypeAndQuantityNode.php index bcf3ced82..5812d2f0d 100644 --- a/src/TypeAndQuantityNode.php +++ b/src/TypeAndQuantityNode.php @@ -12,7 +12,6 @@ * function of goods included in a bundle offer. * * @see https://schema.org/TypeAndQuantityNode - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsClass * */ class TypeAndQuantityNode extends BaseType implements TypeAndQuantityNodeContract, IntangibleContract, StructuredValueContract, ThingContract @@ -20,10 +19,14 @@ class TypeAndQuantityNode extends BaseType implements TypeAndQuantityNodeContrac /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -58,7 +61,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amountOfThisGood - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function amountOfThisGood($amountOfThisGood) { @@ -75,7 +77,6 @@ public function amountOfThisGood($amountOfThisGood) * @return static * * @see https://schema.org/businessFunction - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function businessFunction($businessFunction) { @@ -230,7 +231,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/typeOfGood - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function typeOfGood($typeOfGood) { @@ -247,7 +247,6 @@ public function typeOfGood($typeOfGood) * @return static * * @see https://schema.org/unitCode - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function unitCode($unitCode) { diff --git a/src/UKNonprofitType.php b/src/UKNonprofitType.php index b50f8d803..112e31e4c 100644 --- a/src/UKNonprofitType.php +++ b/src/UKNonprofitType.php @@ -62,10 +62,14 @@ class UKNonprofitType extends BaseType implements UKNonprofitTypeContract, Enume /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/USNonprofitType.php b/src/USNonprofitType.php index b817b2450..3619a8959 100644 --- a/src/USNonprofitType.php +++ b/src/USNonprofitType.php @@ -380,10 +380,14 @@ class USNonprofitType extends BaseType implements USNonprofitTypeContract, Enume /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/UnRegisterAction.php b/src/UnRegisterAction.php index 7ef240719..d6f34440d 100644 --- a/src/UnRegisterAction.php +++ b/src/UnRegisterAction.php @@ -39,10 +39,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/UnitPriceSpecification.php b/src/UnitPriceSpecification.php index 0bb82c624..4e1a5e3e9 100644 --- a/src/UnitPriceSpecification.php +++ b/src/UnitPriceSpecification.php @@ -12,7 +12,6 @@ * The price asked for a given offer by the respective organization or person. * * @see https://schema.org/UnitPriceSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsClass * */ class UnitPriceSpecification extends BaseType implements UnitPriceSpecificationContract, IntangibleContract, PriceSpecificationContract, StructuredValueContract, ThingContract @@ -20,10 +19,14 @@ class UnitPriceSpecification extends BaseType implements UnitPriceSpecificationC /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -80,7 +83,6 @@ public function billingDuration($billingDuration) * @return static * * @see https://schema.org/billingIncrement - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function billingIncrement($billingIncrement) { @@ -147,7 +149,6 @@ public function disambiguatingDescription($disambiguatingDescription) * @return static * * @see https://schema.org/eligibleQuantity - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function eligibleQuantity($eligibleQuantity) { @@ -165,7 +166,6 @@ public function eligibleQuantity($eligibleQuantity) * @return static * * @see https://schema.org/eligibleTransactionVolume - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function eligibleTransactionVolume($eligibleTransactionVolume) { @@ -229,7 +229,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/maxPrice - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function maxPrice($maxPrice) { @@ -244,7 +243,6 @@ public function maxPrice($maxPrice) * @return static * * @see https://schema.org/minPrice - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function minPrice($minPrice) { @@ -371,7 +369,6 @@ public function priceCurrency($priceCurrency) * @return static * * @see https://schema.org/priceType - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function priceType($priceType) { @@ -436,7 +433,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/unitCode - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function unitCode($unitCode) { @@ -481,7 +477,6 @@ public function url($url) * @return static * * @see https://schema.org/validFrom - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function validFrom($validFrom) { @@ -497,7 +492,6 @@ public function validFrom($validFrom) * @return static * * @see https://schema.org/validThrough - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function validThrough($validThrough) { @@ -513,7 +507,6 @@ public function validThrough($validThrough) * @return static * * @see https://schema.org/valueAddedTaxIncluded - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function valueAddedTaxIncluded($valueAddedTaxIncluded) { diff --git a/src/UpdateAction.php b/src/UpdateAction.php index 9d32f95d0..b66fadf81 100644 --- a/src/UpdateAction.php +++ b/src/UpdateAction.php @@ -31,10 +31,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/UseAction.php b/src/UseAction.php index 42de08b03..6640efdfc 100644 --- a/src/UseAction.php +++ b/src/UseAction.php @@ -49,10 +49,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/UserBlocks.php b/src/UserBlocks.php index c490c36ab..e0e81563e 100644 --- a/src/UserBlocks.php +++ b/src/UserBlocks.php @@ -51,10 +51,14 @@ public function actor($actor) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -147,7 +151,6 @@ public function audience($audience) * @return static * * @see https://schema.org/composer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public function composer($composer) { @@ -347,6 +350,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/UserCheckins.php b/src/UserCheckins.php index 439d82cd1..feb8ea823 100644 --- a/src/UserCheckins.php +++ b/src/UserCheckins.php @@ -51,10 +51,14 @@ public function actor($actor) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -147,7 +151,6 @@ public function audience($audience) * @return static * * @see https://schema.org/composer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public function composer($composer) { @@ -347,6 +350,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/UserComments.php b/src/UserComments.php index f1cd7869e..236d0c247 100644 --- a/src/UserComments.php +++ b/src/UserComments.php @@ -13,7 +13,6 @@ * vocabulary, alongside types such as [[Comment]]. * * @see https://schema.org/UserComments - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_rNews * */ class UserComments extends BaseType implements UserCommentsContract, EventContract, ThingContract, UserInteractionContract @@ -52,10 +51,14 @@ public function actor($actor) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -176,7 +179,6 @@ public function commentTime($commentTime) * @return static * * @see https://schema.org/composer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public function composer($composer) { @@ -405,6 +407,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/UserDownloads.php b/src/UserDownloads.php index 74865037d..8dea60e95 100644 --- a/src/UserDownloads.php +++ b/src/UserDownloads.php @@ -51,10 +51,14 @@ public function actor($actor) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -147,7 +151,6 @@ public function audience($audience) * @return static * * @see https://schema.org/composer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public function composer($composer) { @@ -347,6 +350,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/UserInteraction.php b/src/UserInteraction.php index c77801c17..b26d94b9c 100644 --- a/src/UserInteraction.php +++ b/src/UserInteraction.php @@ -50,10 +50,14 @@ public function actor($actor) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -146,7 +150,6 @@ public function audience($audience) * @return static * * @see https://schema.org/composer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public function composer($composer) { @@ -346,6 +349,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/UserLikes.php b/src/UserLikes.php index df3b85f14..87cfd2dcd 100644 --- a/src/UserLikes.php +++ b/src/UserLikes.php @@ -51,10 +51,14 @@ public function actor($actor) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -147,7 +151,6 @@ public function audience($audience) * @return static * * @see https://schema.org/composer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public function composer($composer) { @@ -347,6 +350,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/UserPageVisits.php b/src/UserPageVisits.php index 19c756d68..d077d57f1 100644 --- a/src/UserPageVisits.php +++ b/src/UserPageVisits.php @@ -51,10 +51,14 @@ public function actor($actor) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -147,7 +151,6 @@ public function audience($audience) * @return static * * @see https://schema.org/composer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public function composer($composer) { @@ -347,6 +350,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/UserPlays.php b/src/UserPlays.php index 72806c79a..47909eb68 100644 --- a/src/UserPlays.php +++ b/src/UserPlays.php @@ -51,10 +51,14 @@ public function actor($actor) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -147,7 +151,6 @@ public function audience($audience) * @return static * * @see https://schema.org/composer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public function composer($composer) { @@ -347,6 +350,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/UserPlusOnes.php b/src/UserPlusOnes.php index e8c24de81..bac7abba5 100644 --- a/src/UserPlusOnes.php +++ b/src/UserPlusOnes.php @@ -51,10 +51,14 @@ public function actor($actor) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -147,7 +151,6 @@ public function audience($audience) * @return static * * @see https://schema.org/composer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public function composer($composer) { @@ -347,6 +350,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/UserReview.php b/src/UserReview.php index ef83a1ee1..bcbac9439 100644 --- a/src/UserReview.php +++ b/src/UserReview.php @@ -204,10 +204,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -645,6 +649,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -974,7 +979,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1045,6 +1049,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1074,7 +1079,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1212,7 +1216,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2063,6 +2067,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2078,9 +2096,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2218,7 +2235,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/UserTweets.php b/src/UserTweets.php index 92a93cce4..315d56e65 100644 --- a/src/UserTweets.php +++ b/src/UserTweets.php @@ -51,10 +51,14 @@ public function actor($actor) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -147,7 +151,6 @@ public function audience($audience) * @return static * * @see https://schema.org/composer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public function composer($composer) { @@ -347,6 +350,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/VacationRental.php b/src/VacationRental.php new file mode 100644 index 000000000..79914979d --- /dev/null +++ b/src/VacationRental.php @@ -0,0 +1,1970 @@ +setProperty('actionableFeedbackPolicy', $actionableFeedbackPolicy); + } + + /** + * A property-value pair representing an additional characteristic of the + * entity, e.g. a product feature or another characteristic for which there + * is no matching property in schema.org. + * + * Note: Publishers should be aware that applications designed to use + * specific schema.org properties (e.g. https://schema.org/width, + * https://schema.org/color, https://schema.org/gtin13, ...) will typically + * expect such data to be provided using those properties, rather than using + * the generic property/value mechanism. + * + * @param \Spatie\SchemaOrg\Contracts\PropertyValueContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract[] $additionalProperty + * + * @return static + * + * @see https://schema.org/additionalProperty + */ + public function additionalProperty($additionalProperty) + { + return $this->setProperty('additionalProperty', $additionalProperty); + } + + /** + * An additional type for the item, typically used for adding more specific + * types from external vocabularies in microdata syntax. This is a + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) + * + * @param string|string[] $additionalType + * + * @return static + * + * @see https://schema.org/additionalType + */ + public function additionalType($additionalType) + { + return $this->setProperty('additionalType', $additionalType); + } + + /** + * Physical address of the item. + * + * @param \Spatie\SchemaOrg\Contracts\PostalAddressContract|\Spatie\SchemaOrg\Contracts\PostalAddressContract[]|string|string[] $address + * + * @return static + * + * @see https://schema.org/address + */ + public function address($address) + { + return $this->setProperty('address', $address); + } + + /** + * The overall rating, based on a collection of reviews or ratings, of the + * item. + * + * @param \Spatie\SchemaOrg\Contracts\AggregateRatingContract|\Spatie\SchemaOrg\Contracts\AggregateRatingContract[] $aggregateRating + * + * @return static + * + * @see https://schema.org/aggregateRating + */ + public function aggregateRating($aggregateRating) + { + return $this->setProperty('aggregateRating', $aggregateRating); + } + + /** + * An alias for the item. + * + * @param string|string[] $alternateName + * + * @return static + * + * @see https://schema.org/alternateName + */ + public function alternateName($alternateName) + { + return $this->setProperty('alternateName', $alternateName); + } + + /** + * Alumni of an organization. + * + * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $alumni + * + * @return static + * + * @see https://schema.org/alumni + */ + public function alumni($alumni) + { + return $this->setProperty('alumni', $alumni); + } + + /** + * An amenity feature (e.g. a characteristic or service) of the + * Accommodation. This generic property does not make a statement about + * whether the feature is included in an offer for the main accommodation or + * available at extra costs. + * + * @param \Spatie\SchemaOrg\Contracts\LocationFeatureSpecificationContract|\Spatie\SchemaOrg\Contracts\LocationFeatureSpecificationContract[] $amenityFeature + * + * @return static + * + * @see https://schema.org/amenityFeature + */ + public function amenityFeature($amenityFeature) + { + return $this->setProperty('amenityFeature', $amenityFeature); + } + + /** + * The geographic area where a service or offered item is provided. + * + * @param \Spatie\SchemaOrg\Contracts\AdministrativeAreaContract|\Spatie\SchemaOrg\Contracts\AdministrativeAreaContract[]|\Spatie\SchemaOrg\Contracts\GeoShapeContract|\Spatie\SchemaOrg\Contracts\GeoShapeContract[]|\Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[]|string|string[] $areaServed + * + * @return static + * + * @see https://schema.org/areaServed + */ + public function areaServed($areaServed) + { + return $this->setProperty('areaServed', $areaServed); + } + + /** + * An intended audience, i.e. a group for whom something was created. + * + * @param \Spatie\SchemaOrg\Contracts\AudienceContract|\Spatie\SchemaOrg\Contracts\AudienceContract[] $audience + * + * @return static + * + * @see https://schema.org/audience + */ + public function audience($audience) + { + return $this->setProperty('audience', $audience); + } + + /** + * A language someone may use with or at the item, service or place. Please + * use one of the language codes from the [IETF BCP 47 + * standard](http://tools.ietf.org/html/bcp47). See also [[inLanguage]]. + * + * @param \Spatie\SchemaOrg\Contracts\LanguageContract|\Spatie\SchemaOrg\Contracts\LanguageContract[]|string|string[] $availableLanguage + * + * @return static + * + * @see https://schema.org/availableLanguage + */ + public function availableLanguage($availableLanguage) + { + return $this->setProperty('availableLanguage', $availableLanguage); + } + + /** + * An award won by or for this item. + * + * @param string|string[] $award + * + * @return static + * + * @see https://schema.org/award + */ + public function award($award) + { + return $this->setProperty('award', $award); + } + + /** + * Awards won by or for this item. + * + * @param string|string[] $awards + * + * @return static + * + * @see https://schema.org/awards + */ + public function awards($awards) + { + return $this->setProperty('awards', $awards); + } + + /** + * A short textual code (also called "store code") that uniquely identifies + * a place of business. The code is typically assigned by the + * parentOrganization and used in structured URLs. + * + * For example, in the URL + * http://www.starbucks.co.uk/store-locator/etc/detail/3047 the code "3047" + * is a branchCode for a particular branch. + * + * @param string|string[] $branchCode + * + * @return static + * + * @see https://schema.org/branchCode + */ + public function branchCode($branchCode) + { + return $this->setProperty('branchCode', $branchCode); + } + + /** + * The larger organization that this local business is a branch of, if any. + * Not to be confused with (anatomical) [[branch]]. + * + * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[] $branchOf + * + * @return static + * + * @see https://schema.org/branchOf + */ + public function branchOf($branchOf) + { + return $this->setProperty('branchOf', $branchOf); + } + + /** + * The brand(s) associated with a product or service, or the brand(s) + * maintained by an organization or business person. + * + * @param \Spatie\SchemaOrg\Contracts\BrandContract|\Spatie\SchemaOrg\Contracts\BrandContract[]|\Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[] $brand + * + * @return static + * + * @see https://schema.org/brand + */ + public function brand($brand) + { + return $this->setProperty('brand', $brand); + } + + /** + * The earliest someone may check into a lodging establishment. + * + * @param \DateTimeInterface|\DateTimeInterface[] $checkinTime + * + * @return static + * + * @see https://schema.org/checkinTime + */ + public function checkinTime($checkinTime) + { + return $this->setProperty('checkinTime', $checkinTime); + } + + /** + * The latest someone may check out of a lodging establishment. + * + * @param \DateTimeInterface|\DateTimeInterface[] $checkoutTime + * + * @return static + * + * @see https://schema.org/checkoutTime + */ + public function checkoutTime($checkoutTime) + { + return $this->setProperty('checkoutTime', $checkoutTime); + } + + /** + * A contact point for a person or organization. + * + * @param \Spatie\SchemaOrg\Contracts\ContactPointContract|\Spatie\SchemaOrg\Contracts\ContactPointContract[] $contactPoint + * + * @return static + * + * @see https://schema.org/contactPoint + */ + public function contactPoint($contactPoint) + { + return $this->setProperty('contactPoint', $contactPoint); + } + + /** + * A contact point for a person or organization. + * + * @param \Spatie\SchemaOrg\Contracts\ContactPointContract|\Spatie\SchemaOrg\Contracts\ContactPointContract[] $contactPoints + * + * @return static + * + * @see https://schema.org/contactPoints + */ + public function contactPoints($contactPoints) + { + return $this->setProperty('contactPoints', $contactPoints); + } + + /** + * The basic containment relation between a place and one that contains it. + * + * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $containedIn + * + * @return static + * + * @see https://schema.org/containedIn + */ + public function containedIn($containedIn) + { + return $this->setProperty('containedIn', $containedIn); + } + + /** + * The basic containment relation between a place and one that contains it. + * + * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $containedInPlace + * + * @return static + * + * @see https://schema.org/containedInPlace + */ + public function containedInPlace($containedInPlace) + { + return $this->setProperty('containedInPlace', $containedInPlace); + } + + /** + * The basic containment relation between a place and another that it + * contains. + * + * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $containsPlace + * + * @return static + * + * @see https://schema.org/containsPlace + */ + public function containsPlace($containsPlace) + { + return $this->setProperty('containsPlace', $containsPlace); + } + + /** + * For an [[Organization]] (e.g. [[NewsMediaOrganization]]), a statement + * describing (in news media, the newsroom’s) disclosure and correction + * policy for errors. + * + * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $correctionsPolicy + * + * @return static + * + * @see https://schema.org/correctionsPolicy + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 + */ + public function correctionsPolicy($correctionsPolicy) + { + return $this->setProperty('correctionsPolicy', $correctionsPolicy); + } + + /** + * The currency accepted. + * + * Use standard formats: [ISO 4217 currency + * format](http://en.wikipedia.org/wiki/ISO_4217), e.g. "USD"; [Ticker + * symbol](https://en.wikipedia.org/wiki/List_of_cryptocurrencies) for + * cryptocurrencies, e.g. "BTC"; well known names for [Local Exchange + * Trading + * Systems](https://en.wikipedia.org/wiki/Local_exchange_trading_system) + * (LETS) and other currency types, e.g. "Ithaca HOUR". + * + * @param string|string[] $currenciesAccepted + * + * @return static + * + * @see https://schema.org/currenciesAccepted + */ + public function currenciesAccepted($currenciesAccepted) + { + return $this->setProperty('currenciesAccepted', $currenciesAccepted); + } + + /** + * A relationship between an organization and a department of that + * organization, also described as an organization (allowing different urls, + * logos, opening hours). For example: a store with a pharmacy, or a bakery + * with a cafe. + * + * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[] $department + * + * @return static + * + * @see https://schema.org/department + */ + public function department($department) + { + return $this->setProperty('department', $department); + } + + /** + * A description of the item. + * + * @param string|string[] $description + * + * @return static + * + * @see https://schema.org/description + */ + public function description($description) + { + return $this->setProperty('description', $description); + } + + /** + * A sub property of description. A short description of the item used to + * disambiguate from other, similar items. Information from other properties + * (in particular, name) may be necessary for the description to be useful + * for disambiguation. + * + * @param string|string[] $disambiguatingDescription + * + * @return static + * + * @see https://schema.org/disambiguatingDescription + */ + public function disambiguatingDescription($disambiguatingDescription) + { + return $this->setProperty('disambiguatingDescription', $disambiguatingDescription); + } + + /** + * The date that this organization was dissolved. + * + * @param \DateTimeInterface|\DateTimeInterface[] $dissolutionDate + * + * @return static + * + * @see https://schema.org/dissolutionDate + */ + public function dissolutionDate($dissolutionDate) + { + return $this->setProperty('dissolutionDate', $dissolutionDate); + } + + /** + * Statement on diversity policy by an [[Organization]] e.g. a + * [[NewsMediaOrganization]]. For a [[NewsMediaOrganization]], a statement + * describing the newsroom’s diversity policy on both staffing and + * sources, typically providing staffing data. + * + * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $diversityPolicy + * + * @return static + * + * @see https://schema.org/diversityPolicy + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 + */ + public function diversityPolicy($diversityPolicy) + { + return $this->setProperty('diversityPolicy', $diversityPolicy); + } + + /** + * For an [[Organization]] (often but not necessarily a + * [[NewsMediaOrganization]]), a report on staffing diversity issues. In a + * news context this might be for example ASNE or RTDNA (US) reports, or + * self-reported. + * + * @param \Spatie\SchemaOrg\Contracts\ArticleContract|\Spatie\SchemaOrg\Contracts\ArticleContract[]|string|string[] $diversityStaffingReport + * + * @return static + * + * @see https://schema.org/diversityStaffingReport + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 + */ + public function diversityStaffingReport($diversityStaffingReport) + { + return $this->setProperty('diversityStaffingReport', $diversityStaffingReport); + } + + /** + * The Dun & Bradstreet DUNS number for identifying an organization or + * business person. + * + * @param string|string[] $duns + * + * @return static + * + * @see https://schema.org/duns + */ + public function duns($duns) + { + return $this->setProperty('duns', $duns); + } + + /** + * Email address. + * + * @param string|string[] $email + * + * @return static + * + * @see https://schema.org/email + */ + public function email($email) + { + return $this->setProperty('email', $email); + } + + /** + * Someone working for this organization. + * + * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $employee + * + * @return static + * + * @see https://schema.org/employee + */ + public function employee($employee) + { + return $this->setProperty('employee', $employee); + } + + /** + * People working for this organization. + * + * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $employees + * + * @return static + * + * @see https://schema.org/employees + */ + public function employees($employees) + { + return $this->setProperty('employees', $employees); + } + + /** + * Statement about ethics policy, e.g. of a [[NewsMediaOrganization]] + * regarding journalistic and publishing practices, or of a [[Restaurant]], + * a page describing food source policies. In the case of a + * [[NewsMediaOrganization]], an ethicsPolicy is typically a statement + * describing the personal, organizational, and corporate standards of + * behavior expected by the organization. + * + * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $ethicsPolicy + * + * @return static + * + * @see https://schema.org/ethicsPolicy + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 + */ + public function ethicsPolicy($ethicsPolicy) + { + return $this->setProperty('ethicsPolicy', $ethicsPolicy); + } + + /** + * Upcoming or past event associated with this place, organization, or + * action. + * + * @param \Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $event + * + * @return static + * + * @see https://schema.org/event + */ + public function event($event) + { + return $this->setProperty('event', $event); + } + + /** + * Upcoming or past events associated with this place or organization. + * + * @param \Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $events + * + * @return static + * + * @see https://schema.org/events + */ + public function events($events) + { + return $this->setProperty('events', $events); + } + + /** + * The fax number. + * + * @param string|string[] $faxNumber + * + * @return static + * + * @see https://schema.org/faxNumber + */ + public function faxNumber($faxNumber) + { + return $this->setProperty('faxNumber', $faxNumber); + } + + /** + * A person who founded this organization. + * + * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $founder + * + * @return static + * + * @see https://schema.org/founder + */ + public function founder($founder) + { + return $this->setProperty('founder', $founder); + } + + /** + * A person who founded this organization. + * + * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $founders + * + * @return static + * + * @see https://schema.org/founders + */ + public function founders($founders) + { + return $this->setProperty('founders', $founders); + } + + /** + * The date that this organization was founded. + * + * @param \DateTimeInterface|\DateTimeInterface[] $foundingDate + * + * @return static + * + * @see https://schema.org/foundingDate + */ + public function foundingDate($foundingDate) + { + return $this->setProperty('foundingDate', $foundingDate); + } + + /** + * The place where the Organization was founded. + * + * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $foundingLocation + * + * @return static + * + * @see https://schema.org/foundingLocation + */ + public function foundingLocation($foundingLocation) + { + return $this->setProperty('foundingLocation', $foundingLocation); + } + + /** + * A person or organization that supports (sponsors) something through some + * kind of financial contribution. + * + * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $funder + * + * @return static + * + * @see https://schema.org/funder + */ + public function funder($funder) + { + return $this->setProperty('funder', $funder); + } + + /** + * A [[Grant]] that directly or indirectly provide funding or sponsorship + * for this item. See also [[ownershipFundingInfo]]. + * + * @param \Spatie\SchemaOrg\Contracts\GrantContract|\Spatie\SchemaOrg\Contracts\GrantContract[] $funding + * + * @return static + * + * @see https://schema.org/funding + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 + */ + public function funding($funding) + { + return $this->setProperty('funding', $funding); + } + + /** + * The geo coordinates of the place. + * + * @param \Spatie\SchemaOrg\Contracts\GeoCoordinatesContract|\Spatie\SchemaOrg\Contracts\GeoCoordinatesContract[]|\Spatie\SchemaOrg\Contracts\GeoShapeContract|\Spatie\SchemaOrg\Contracts\GeoShapeContract[] $geo + * + * @return static + * + * @see https://schema.org/geo + */ + public function geo($geo) + { + return $this->setProperty('geo', $geo); + } + + /** + * Represents a relationship between two geometries (or the places they + * represent), relating a containing geometry to a contained geometry. "a + * contains b iff no points of b lie in the exterior of a, and at least one + * point of the interior of b lies in the interior of a". As defined in + * [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM). + * + * @param \Spatie\SchemaOrg\Contracts\GeospatialGeometryContract|\Spatie\SchemaOrg\Contracts\GeospatialGeometryContract[]|\Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $geoContains + * + * @return static + * + * @see https://schema.org/geoContains + */ + public function geoContains($geoContains) + { + return $this->setProperty('geoContains', $geoContains); + } + + /** + * Represents a relationship between two geometries (or the places they + * represent), relating a geometry to another that covers it. As defined in + * [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM). + * + * @param \Spatie\SchemaOrg\Contracts\GeospatialGeometryContract|\Spatie\SchemaOrg\Contracts\GeospatialGeometryContract[]|\Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $geoCoveredBy + * + * @return static + * + * @see https://schema.org/geoCoveredBy + */ + public function geoCoveredBy($geoCoveredBy) + { + return $this->setProperty('geoCoveredBy', $geoCoveredBy); + } + + /** + * Represents a relationship between two geometries (or the places they + * represent), relating a covering geometry to a covered geometry. "Every + * point of b is a point of (the interior or boundary of) a". As defined in + * [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM). + * + * @param \Spatie\SchemaOrg\Contracts\GeospatialGeometryContract|\Spatie\SchemaOrg\Contracts\GeospatialGeometryContract[]|\Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $geoCovers + * + * @return static + * + * @see https://schema.org/geoCovers + */ + public function geoCovers($geoCovers) + { + return $this->setProperty('geoCovers', $geoCovers); + } + + /** + * Represents a relationship between two geometries (or the places they + * represent), relating a geometry to another that crosses it: "a crosses b: + * they have some but not all interior points in common, and the dimension + * of the intersection is less than that of at least one of them". As + * defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM). + * + * @param \Spatie\SchemaOrg\Contracts\GeospatialGeometryContract|\Spatie\SchemaOrg\Contracts\GeospatialGeometryContract[]|\Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $geoCrosses + * + * @return static + * + * @see https://schema.org/geoCrosses + */ + public function geoCrosses($geoCrosses) + { + return $this->setProperty('geoCrosses', $geoCrosses); + } + + /** + * Represents spatial relations in which two geometries (or the places they + * represent) are topologically disjoint: "they have no point in common. + * They form a set of disconnected geometries." (A symmetric relationship, + * as defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).) + * + * @param \Spatie\SchemaOrg\Contracts\GeospatialGeometryContract|\Spatie\SchemaOrg\Contracts\GeospatialGeometryContract[]|\Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $geoDisjoint + * + * @return static + * + * @see https://schema.org/geoDisjoint + */ + public function geoDisjoint($geoDisjoint) + { + return $this->setProperty('geoDisjoint', $geoDisjoint); + } + + /** + * Represents spatial relations in which two geometries (or the places they + * represent) are topologically equal, as defined in + * [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM). "Two geometries are + * topologically equal if their interiors intersect and no part of the + * interior or boundary of one geometry intersects the exterior of the + * other" (a symmetric relationship). + * + * @param \Spatie\SchemaOrg\Contracts\GeospatialGeometryContract|\Spatie\SchemaOrg\Contracts\GeospatialGeometryContract[]|\Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $geoEquals + * + * @return static + * + * @see https://schema.org/geoEquals + */ + public function geoEquals($geoEquals) + { + return $this->setProperty('geoEquals', $geoEquals); + } + + /** + * Represents spatial relations in which two geometries (or the places they + * represent) have at least one point in common. As defined in + * [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM). + * + * @param \Spatie\SchemaOrg\Contracts\GeospatialGeometryContract|\Spatie\SchemaOrg\Contracts\GeospatialGeometryContract[]|\Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $geoIntersects + * + * @return static + * + * @see https://schema.org/geoIntersects + */ + public function geoIntersects($geoIntersects) + { + return $this->setProperty('geoIntersects', $geoIntersects); + } + + /** + * Represents a relationship between two geometries (or the places they + * represent), relating a geometry to another that geospatially overlaps it, + * i.e. they have some but not all points in common. As defined in + * [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM). + * + * @param \Spatie\SchemaOrg\Contracts\GeospatialGeometryContract|\Spatie\SchemaOrg\Contracts\GeospatialGeometryContract[]|\Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $geoOverlaps + * + * @return static + * + * @see https://schema.org/geoOverlaps + */ + public function geoOverlaps($geoOverlaps) + { + return $this->setProperty('geoOverlaps', $geoOverlaps); + } + + /** + * Represents spatial relations in which two geometries (or the places they + * represent) touch: "they have at least one boundary point in common, but + * no interior points." (A symmetric relationship, as defined in + * [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).) + * + * @param \Spatie\SchemaOrg\Contracts\GeospatialGeometryContract|\Spatie\SchemaOrg\Contracts\GeospatialGeometryContract[]|\Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $geoTouches + * + * @return static + * + * @see https://schema.org/geoTouches + */ + public function geoTouches($geoTouches) + { + return $this->setProperty('geoTouches', $geoTouches); + } + + /** + * Represents a relationship between two geometries (or the places they + * represent), relating a geometry to one that contains it, i.e. it is + * inside (i.e. within) its interior. As defined in + * [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM). + * + * @param \Spatie\SchemaOrg\Contracts\GeospatialGeometryContract|\Spatie\SchemaOrg\Contracts\GeospatialGeometryContract[]|\Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $geoWithin + * + * @return static + * + * @see https://schema.org/geoWithin + */ + public function geoWithin($geoWithin) + { + return $this->setProperty('geoWithin', $geoWithin); + } + + /** + * The [Global Location Number](http://www.gs1.org/gln) (GLN, sometimes also + * referred to as International Location Number or ILN) of the respective + * organization, person, or place. The GLN is a 13-digit number used to + * identify parties and physical locations. + * + * @param string|string[] $globalLocationNumber + * + * @return static + * + * @see https://schema.org/globalLocationNumber + */ + public function globalLocationNumber($globalLocationNumber) + { + return $this->setProperty('globalLocationNumber', $globalLocationNumber); + } + + /** + * A credential awarded to the Person or Organization. + * + * @param \Spatie\SchemaOrg\Contracts\EducationalOccupationalCredentialContract|\Spatie\SchemaOrg\Contracts\EducationalOccupationalCredentialContract[] $hasCredential + * + * @return static + * + * @see https://schema.org/hasCredential + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/2289 + */ + public function hasCredential($hasCredential) + { + return $this->setProperty('hasCredential', $hasCredential); + } + + /** + * Indicates whether some facility (e.g. [[FoodEstablishment]], + * [[CovidTestingFacility]]) offers a service that can be used by driving + * through in a car. In the case of [[CovidTestingFacility]] such facilities + * could potentially help with social distancing from other + * potentially-infected users. + * + * @param bool|bool[] $hasDriveThroughService + * + * @return static + * + * @see https://schema.org/hasDriveThroughService + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/2490 + */ + public function hasDriveThroughService($hasDriveThroughService) + { + return $this->setProperty('hasDriveThroughService', $hasDriveThroughService); + } + + /** + * A URL to a map of the place. + * + * @param \Spatie\SchemaOrg\Contracts\MapContract|\Spatie\SchemaOrg\Contracts\MapContract[]|string|string[] $hasMap + * + * @return static + * + * @see https://schema.org/hasMap + */ + public function hasMap($hasMap) + { + return $this->setProperty('hasMap', $hasMap); + } + + /** + * Specifies a MerchantReturnPolicy that may be applicable. + * + * @param \Spatie\SchemaOrg\Contracts\MerchantReturnPolicyContract|\Spatie\SchemaOrg\Contracts\MerchantReturnPolicyContract[] $hasMerchantReturnPolicy + * + * @return static + * + * @see https://schema.org/hasMerchantReturnPolicy + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/2288 + */ + public function hasMerchantReturnPolicy($hasMerchantReturnPolicy) + { + return $this->setProperty('hasMerchantReturnPolicy', $hasMerchantReturnPolicy); + } + + /** + * Indicates an OfferCatalog listing for this Organization, Person, or + * Service. + * + * @param \Spatie\SchemaOrg\Contracts\OfferCatalogContract|\Spatie\SchemaOrg\Contracts\OfferCatalogContract[] $hasOfferCatalog + * + * @return static + * + * @see https://schema.org/hasOfferCatalog + */ + public function hasOfferCatalog($hasOfferCatalog) + { + return $this->setProperty('hasOfferCatalog', $hasOfferCatalog); + } + + /** + * Points-of-Sales operated by the organization or person. + * + * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $hasPOS + * + * @return static + * + * @see https://schema.org/hasPOS + */ + public function hasPOS($hasPOS) + { + return $this->setProperty('hasPOS', $hasPOS); + } + + /** + * Indicates a ProductReturnPolicy that may be applicable. + * + * @param \Spatie\SchemaOrg\Contracts\ProductReturnPolicyContract|\Spatie\SchemaOrg\Contracts\ProductReturnPolicyContract[] $hasProductReturnPolicy + * + * @return static + * + * @see https://schema.org/hasProductReturnPolicy + * @see https://attic.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/2288 + */ + public function hasProductReturnPolicy($hasProductReturnPolicy) + { + return $this->setProperty('hasProductReturnPolicy', $hasProductReturnPolicy); + } + + /** + * The identifier property represents any kind of identifier for any kind of + * [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides + * dedicated properties for representing many of these, either as textual + * strings or as URL (URI) links. See [background + * notes](/docs/datamodel.html#identifierBg) for more details. + * + * @param \Spatie\SchemaOrg\Contracts\PropertyValueContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract[]|string|string[] $identifier + * + * @return static + * + * @see https://schema.org/identifier + */ + public function identifier($identifier) + { + return $this->setProperty('identifier', $identifier); + } + + /** + * An image of the item. This can be a [[URL]] or a fully described + * [[ImageObject]]. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|string|string[] $image + * + * @return static + * + * @see https://schema.org/image + */ + public function image($image) + { + return $this->setProperty('image', $image); + } + + /** + * The number of interactions for the CreativeWork using the WebSite or + * SoftwareApplication. The most specific child type of InteractionCounter + * should be used. + * + * @param \Spatie\SchemaOrg\Contracts\InteractionCounterContract|\Spatie\SchemaOrg\Contracts\InteractionCounterContract[] $interactionStatistic + * + * @return static + * + * @see https://schema.org/interactionStatistic + * @link https://github.com/schemaorg/schemaorg/issues/2421 + */ + public function interactionStatistic($interactionStatistic) + { + return $this->setProperty('interactionStatistic', $interactionStatistic); + } + + /** + * A flag to signal that the item, event, or place is accessible for free. + * + * @param bool|bool[] $isAccessibleForFree + * + * @return static + * + * @see https://schema.org/isAccessibleForFree + */ + public function isAccessibleForFree($isAccessibleForFree) + { + return $this->setProperty('isAccessibleForFree', $isAccessibleForFree); + } + + /** + * The International Standard of Industrial Classification of All Economic + * Activities (ISIC), Revision 4 code for a particular organization, + * business person, or place. + * + * @param string|string[] $isicV4 + * + * @return static + * + * @see https://schema.org/isicV4 + */ + public function isicV4($isicV4) + { + return $this->setProperty('isicV4', $isicV4); + } + + /** + * An organization identifier as defined in ISO 6523(-1). Note that many + * existing organization identifiers such as + * [leiCode](https://schema.org/leiCode), [duns](https://schema.org/duns) + * and [vatID](https://schema.org/vatID) can be expressed as an ISO 6523 + * identifier by setting the ICD part of the ISO 6523 identifier + * accordingly. + * + * @param string|string[] $iso6523Code + * + * @return static + * + * @see https://schema.org/iso6523Code + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/2915 + */ + public function iso6523Code($iso6523Code) + { + return $this->setProperty('iso6523Code', $iso6523Code); + } + + /** + * Keywords or tags used to describe some item. Multiple textual entries in + * a keywords list are typically delimited by commas, or by repeating the + * property. + * + * @param \Spatie\SchemaOrg\Contracts\DefinedTermContract|\Spatie\SchemaOrg\Contracts\DefinedTermContract[]|string|string[] $keywords + * + * @return static + * + * @see https://schema.org/keywords + */ + public function keywords($keywords) + { + return $this->setProperty('keywords', $keywords); + } + + /** + * Of a [[Person]], and less typically of an [[Organization]], to indicate a + * topic that is known about - suggesting possible expertise but not + * implying it. We do not distinguish skill levels here, or relate this to + * educational content, events, objectives or [[JobPosting]] descriptions. + * + * @param \Spatie\SchemaOrg\Contracts\ThingContract|\Spatie\SchemaOrg\Contracts\ThingContract[]|string|string[] $knowsAbout + * + * @return static + * + * @see https://schema.org/knowsAbout + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 + */ + public function knowsAbout($knowsAbout) + { + return $this->setProperty('knowsAbout', $knowsAbout); + } + + /** + * Of a [[Person]], and less typically of an [[Organization]], to indicate a + * known language. We do not distinguish skill levels or + * reading/writing/speaking/signing here. Use language codes from the [IETF + * BCP 47 standard](http://tools.ietf.org/html/bcp47). + * + * @param \Spatie\SchemaOrg\Contracts\LanguageContract|\Spatie\SchemaOrg\Contracts\LanguageContract[]|string|string[] $knowsLanguage + * + * @return static + * + * @see https://schema.org/knowsLanguage + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 + */ + public function knowsLanguage($knowsLanguage) + { + return $this->setProperty('knowsLanguage', $knowsLanguage); + } + + /** + * The latitude of a location. For example ```37.42242``` ([WGS + * 84](https://en.wikipedia.org/wiki/World_Geodetic_System)). + * + * @param float|float[]|int|int[]|string|string[] $latitude + * + * @return static + * + * @see https://schema.org/latitude + */ + public function latitude($latitude) + { + return $this->setProperty('latitude', $latitude); + } + + /** + * The official name of the organization, e.g. the registered company name. + * + * @param string|string[] $legalName + * + * @return static + * + * @see https://schema.org/legalName + */ + public function legalName($legalName) + { + return $this->setProperty('legalName', $legalName); + } + + /** + * An organization identifier that uniquely identifies a legal entity as + * defined in ISO 17442. + * + * @param string|string[] $leiCode + * + * @return static + * + * @see https://schema.org/leiCode + */ + public function leiCode($leiCode) + { + return $this->setProperty('leiCode', $leiCode); + } + + /** + * The location of, for example, where an event is happening, where an + * organization is located, or where an action takes place. + * + * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[]|\Spatie\SchemaOrg\Contracts\PostalAddressContract|\Spatie\SchemaOrg\Contracts\PostalAddressContract[]|\Spatie\SchemaOrg\Contracts\VirtualLocationContract|\Spatie\SchemaOrg\Contracts\VirtualLocationContract[]|string|string[] $location + * + * @return static + * + * @see https://schema.org/location + */ + public function location($location) + { + return $this->setProperty('location', $location); + } + + /** + * An associated logo. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|string|string[] $logo + * + * @return static + * + * @see https://schema.org/logo + */ + public function logo($logo) + { + return $this->setProperty('logo', $logo); + } + + /** + * The longitude of a location. For example ```-122.08585``` ([WGS + * 84](https://en.wikipedia.org/wiki/World_Geodetic_System)). + * + * @param float|float[]|int|int[]|string|string[] $longitude + * + * @return static + * + * @see https://schema.org/longitude + */ + public function longitude($longitude) + { + return $this->setProperty('longitude', $longitude); + } + + /** + * Indicates a page (or other CreativeWork) for which this thing is the main + * entity being described. See [background + * notes](/docs/datamodel.html#mainEntityBackground) for details. + * + * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $mainEntityOfPage + * + * @return static + * + * @see https://schema.org/mainEntityOfPage + */ + public function mainEntityOfPage($mainEntityOfPage) + { + return $this->setProperty('mainEntityOfPage', $mainEntityOfPage); + } + + /** + * A pointer to products or services offered by the organization or person. + * + * @param \Spatie\SchemaOrg\Contracts\OfferContract|\Spatie\SchemaOrg\Contracts\OfferContract[] $makesOffer + * + * @return static + * + * @see https://schema.org/makesOffer + */ + public function makesOffer($makesOffer) + { + return $this->setProperty('makesOffer', $makesOffer); + } + + /** + * A URL to a map of the place. + * + * @param string|string[] $map + * + * @return static + * + * @see https://schema.org/map + */ + public function map($map) + { + return $this->setProperty('map', $map); + } + + /** + * A URL to a map of the place. + * + * @param string|string[] $maps + * + * @return static + * + * @see https://schema.org/maps + */ + public function maps($maps) + { + return $this->setProperty('maps', $maps); + } + + /** + * The total number of individuals that may attend an event or venue. + * + * @param int|int[] $maximumAttendeeCapacity + * + * @return static + * + * @see https://schema.org/maximumAttendeeCapacity + */ + public function maximumAttendeeCapacity($maximumAttendeeCapacity) + { + return $this->setProperty('maximumAttendeeCapacity', $maximumAttendeeCapacity); + } + + /** + * A member of an Organization or a ProgramMembership. Organizations can be + * members of organizations; ProgramMembership is typically for individuals. + * + * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $member + * + * @return static + * + * @see https://schema.org/member + */ + public function member($member) + { + return $this->setProperty('member', $member); + } + + /** + * An Organization (or ProgramMembership) to which this Person or + * Organization belongs. + * + * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\ProgramMembershipContract|\Spatie\SchemaOrg\Contracts\ProgramMembershipContract[] $memberOf + * + * @return static + * + * @see https://schema.org/memberOf + */ + public function memberOf($memberOf) + { + return $this->setProperty('memberOf', $memberOf); + } + + /** + * A member of this organization. + * + * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $members + * + * @return static + * + * @see https://schema.org/members + */ + public function members($members) + { + return $this->setProperty('members', $members); + } + + /** + * The North American Industry Classification System (NAICS) code for a + * particular organization or business person. + * + * @param string|string[] $naics + * + * @return static + * + * @see https://schema.org/naics + */ + public function naics($naics) + { + return $this->setProperty('naics', $naics); + } + + /** + * The name of the item. + * + * @param string|string[] $name + * + * @return static + * + * @see https://schema.org/name + */ + public function name($name) + { + return $this->setProperty('name', $name); + } + + /** + * nonprofitStatus indicates the legal status of a non-profit organization + * in its primary place of business. + * + * @param \Spatie\SchemaOrg\Contracts\NonprofitTypeContract|\Spatie\SchemaOrg\Contracts\NonprofitTypeContract[] $nonprofitStatus + * + * @return static + * + * @see https://schema.org/nonprofitStatus + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/2543 + */ + public function nonprofitStatus($nonprofitStatus) + { + return $this->setProperty('nonprofitStatus', $nonprofitStatus); + } + + /** + * The number of employees in an organization, e.g. business. + * + * @param \Spatie\SchemaOrg\Contracts\QuantitativeValueContract|\Spatie\SchemaOrg\Contracts\QuantitativeValueContract[] $numberOfEmployees + * + * @return static + * + * @see https://schema.org/numberOfEmployees + */ + public function numberOfEmployees($numberOfEmployees) + { + return $this->setProperty('numberOfEmployees', $numberOfEmployees); + } + + /** + * The number of rooms (excluding bathrooms and closets) of the + * accommodation or lodging business. + * Typical unit code(s): ROM for room or C62 for no unit. The type of room + * can be put in the unitText property of the QuantitativeValue. + * + * @param \Spatie\SchemaOrg\Contracts\QuantitativeValueContract|\Spatie\SchemaOrg\Contracts\QuantitativeValueContract[]|float|float[]|int|int[] $numberOfRooms + * + * @return static + * + * @see https://schema.org/numberOfRooms + */ + public function numberOfRooms($numberOfRooms) + { + return $this->setProperty('numberOfRooms', $numberOfRooms); + } + + /** + * The general opening hours for a business. Opening hours can be specified + * as a weekly time range, starting with days, then times per day. Multiple + * days can be listed with commas ',' separating each day. Day or time + * ranges are specified using a hyphen '-'. + * + * * Days are specified using the following two-letter combinations: + * ```Mo```, ```Tu```, ```We```, ```Th```, ```Fr```, ```Sa```, ```Su```. + * * Times are specified using 24:00 format. For example, 3pm is specified + * as ```15:00```, 10am as ```10:00```. + * * Here is an example: ``````. + * * If a business is open 7 days a week, then it can be specified as + * ``````. + * + * @param string|string[] $openingHours + * + * @return static + * + * @see https://schema.org/openingHours + */ + public function openingHours($openingHours) + { + return $this->setProperty('openingHours', $openingHours); + } + + /** + * The opening hours of a certain place. + * + * @param \Spatie\SchemaOrg\Contracts\OpeningHoursSpecificationContract|\Spatie\SchemaOrg\Contracts\OpeningHoursSpecificationContract[] $openingHoursSpecification + * + * @return static + * + * @see https://schema.org/openingHoursSpecification + */ + public function openingHoursSpecification($openingHoursSpecification) + { + return $this->setProperty('openingHoursSpecification', $openingHoursSpecification); + } + + /** + * For an [[Organization]] (often but not necessarily a + * [[NewsMediaOrganization]]), a description of organizational ownership + * structure; funding and grants. In a news/media setting, this is with + * particular reference to editorial independence. Note that the + * [[funder]] is also available and can be used to make basic funder + * information machine-readable. + * + * @param \Spatie\SchemaOrg\Contracts\AboutPageContract|\Spatie\SchemaOrg\Contracts\AboutPageContract[]|\Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $ownershipFundingInfo + * + * @return static + * + * @see https://schema.org/ownershipFundingInfo + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 + */ + public function ownershipFundingInfo($ownershipFundingInfo) + { + return $this->setProperty('ownershipFundingInfo', $ownershipFundingInfo); + } + + /** + * Products owned by the organization or person. + * + * @param \Spatie\SchemaOrg\Contracts\OwnershipInfoContract|\Spatie\SchemaOrg\Contracts\OwnershipInfoContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[] $owns + * + * @return static + * + * @see https://schema.org/owns + */ + public function owns($owns) + { + return $this->setProperty('owns', $owns); + } + + /** + * The larger organization that this organization is a [[subOrganization]] + * of, if any. + * + * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[] $parentOrganization + * + * @return static + * + * @see https://schema.org/parentOrganization + */ + public function parentOrganization($parentOrganization) + { + return $this->setProperty('parentOrganization', $parentOrganization); + } + + /** + * Cash, Credit Card, Cryptocurrency, Local Exchange Tradings System, etc. + * + * @param string|string[] $paymentAccepted + * + * @return static + * + * @see https://schema.org/paymentAccepted + */ + public function paymentAccepted($paymentAccepted) + { + return $this->setProperty('paymentAccepted', $paymentAccepted); + } + + /** + * Indicates whether pets are allowed to enter the accommodation or lodging + * business. More detailed information can be put in a text value. + * + * @param bool|bool[]|string|string[] $petsAllowed + * + * @return static + * + * @see https://schema.org/petsAllowed + */ + public function petsAllowed($petsAllowed) + { + return $this->setProperty('petsAllowed', $petsAllowed); + } + + /** + * A photograph of this place. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|\Spatie\SchemaOrg\Contracts\PhotographContract|\Spatie\SchemaOrg\Contracts\PhotographContract[] $photo + * + * @return static + * + * @see https://schema.org/photo + */ + public function photo($photo) + { + return $this->setProperty('photo', $photo); + } + + /** + * Photographs of this place. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|\Spatie\SchemaOrg\Contracts\PhotographContract|\Spatie\SchemaOrg\Contracts\PhotographContract[] $photos + * + * @return static + * + * @see https://schema.org/photos + */ + public function photos($photos) + { + return $this->setProperty('photos', $photos); + } + + /** + * Indicates a potential Action, which describes an idealized action in + * which this thing would play an 'object' role. + * + * @param \Spatie\SchemaOrg\Contracts\ActionContract|\Spatie\SchemaOrg\Contracts\ActionContract[] $potentialAction + * + * @return static + * + * @see https://schema.org/potentialAction + */ + public function potentialAction($potentialAction) + { + return $this->setProperty('potentialAction', $potentialAction); + } + + /** + * The price range of the business, for example ```$$$```. + * + * @param string|string[] $priceRange + * + * @return static + * + * @see https://schema.org/priceRange + */ + public function priceRange($priceRange) + { + return $this->setProperty('priceRange', $priceRange); + } + + /** + * A flag to signal that the [[Place]] is open to public visitors. If this + * property is omitted there is no assumed default boolean value + * + * @param bool|bool[] $publicAccess + * + * @return static + * + * @see https://schema.org/publicAccess + */ + public function publicAccess($publicAccess) + { + return $this->setProperty('publicAccess', $publicAccess); + } + + /** + * The publishingPrinciples property indicates (typically via [[URL]]) a + * document describing the editorial principles of an [[Organization]] (or + * individual, e.g. a [[Person]] writing a blog) that relate to their + * activities as a publisher, e.g. ethics or diversity policies. When + * applied to a [[CreativeWork]] (e.g. [[NewsArticle]]) the principles are + * those of the party primarily responsible for the creation of the + * [[CreativeWork]]. + * + * While such policies are most typically expressed in natural language, + * sometimes related information (e.g. indicating a [[funder]]) can be + * expressed using schema.org terminology. + * + * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $publishingPrinciples + * + * @return static + * + * @see https://schema.org/publishingPrinciples + */ + public function publishingPrinciples($publishingPrinciples) + { + return $this->setProperty('publishingPrinciples', $publishingPrinciples); + } + + /** + * A review of the item. + * + * @param \Spatie\SchemaOrg\Contracts\ReviewContract|\Spatie\SchemaOrg\Contracts\ReviewContract[] $review + * + * @return static + * + * @see https://schema.org/review + */ + public function review($review) + { + return $this->setProperty('review', $review); + } + + /** + * Review of the item. + * + * @param \Spatie\SchemaOrg\Contracts\ReviewContract|\Spatie\SchemaOrg\Contracts\ReviewContract[] $reviews + * + * @return static + * + * @see https://schema.org/reviews + */ + public function reviews($reviews) + { + return $this->setProperty('reviews', $reviews); + } + + /** + * URL of a reference Web page that unambiguously indicates the item's + * identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or + * official website. + * + * @param string|string[] $sameAs + * + * @return static + * + * @see https://schema.org/sameAs + */ + public function sameAs($sameAs) + { + return $this->setProperty('sameAs', $sameAs); + } + + /** + * A pointer to products or services sought by the organization or person + * (demand). + * + * @param \Spatie\SchemaOrg\Contracts\DemandContract|\Spatie\SchemaOrg\Contracts\DemandContract[] $seeks + * + * @return static + * + * @see https://schema.org/seeks + */ + public function seeks($seeks) + { + return $this->setProperty('seeks', $seeks); + } + + /** + * The geographic area where the service is provided. + * + * @param \Spatie\SchemaOrg\Contracts\AdministrativeAreaContract|\Spatie\SchemaOrg\Contracts\AdministrativeAreaContract[]|\Spatie\SchemaOrg\Contracts\GeoShapeContract|\Spatie\SchemaOrg\Contracts\GeoShapeContract[]|\Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $serviceArea + * + * @return static + * + * @see https://schema.org/serviceArea + */ + public function serviceArea($serviceArea) + { + return $this->setProperty('serviceArea', $serviceArea); + } + + /** + * A slogan or motto associated with the item. + * + * @param string|string[] $slogan + * + * @return static + * + * @see https://schema.org/slogan + */ + public function slogan($slogan) + { + return $this->setProperty('slogan', $slogan); + } + + /** + * Indicates whether it is allowed to smoke in the place, e.g. in the + * restaurant, hotel or hotel room. + * + * @param bool|bool[] $smokingAllowed + * + * @return static + * + * @see https://schema.org/smokingAllowed + */ + public function smokingAllowed($smokingAllowed) + { + return $this->setProperty('smokingAllowed', $smokingAllowed); + } + + /** + * The special opening hours of a certain place. + * + * Use this to explicitly override general opening hours brought in scope by + * [[openingHoursSpecification]] or [[openingHours]]. + * + * @param \Spatie\SchemaOrg\Contracts\OpeningHoursSpecificationContract|\Spatie\SchemaOrg\Contracts\OpeningHoursSpecificationContract[] $specialOpeningHoursSpecification + * + * @return static + * + * @see https://schema.org/specialOpeningHoursSpecification + */ + public function specialOpeningHoursSpecification($specialOpeningHoursSpecification) + { + return $this->setProperty('specialOpeningHoursSpecification', $specialOpeningHoursSpecification); + } + + /** + * A person or organization that supports a thing through a pledge, promise, + * or financial contribution. E.g. a sponsor of a Medical Study or a + * corporate sponsor of an event. + * + * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $sponsor + * + * @return static + * + * @see https://schema.org/sponsor + */ + public function sponsor($sponsor) + { + return $this->setProperty('sponsor', $sponsor); + } + + /** + * An official rating for a lodging business or food establishment, e.g. + * from national associations or standards bodies. Use the author property + * to indicate the rating organization, e.g. as an Organization with name + * such as (e.g. HOTREC, DEHOGA, WHR, or Hotelstars). + * + * @param \Spatie\SchemaOrg\Contracts\RatingContract|\Spatie\SchemaOrg\Contracts\RatingContract[] $starRating + * + * @return static + * + * @see https://schema.org/starRating + */ + public function starRating($starRating) + { + return $this->setProperty('starRating', $starRating); + } + + /** + * A relationship between two organizations where the first includes the + * second, e.g., as a subsidiary. See also: the more specific 'department' + * property. + * + * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[] $subOrganization + * + * @return static + * + * @see https://schema.org/subOrganization + */ + public function subOrganization($subOrganization) + { + return $this->setProperty('subOrganization', $subOrganization); + } + + /** + * A CreativeWork or Event about this Thing. + * + * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $subjectOf + * + * @return static + * + * @see https://schema.org/subjectOf + * @link https://github.com/schemaorg/schemaorg/issues/1670 + */ + public function subjectOf($subjectOf) + { + return $this->setProperty('subjectOf', $subjectOf); + } + + /** + * The Tax / Fiscal ID of the organization or person, e.g. the TIN in the US + * or the CIF/NIF in Spain. + * + * @param string|string[] $taxID + * + * @return static + * + * @see https://schema.org/taxID + */ + public function taxID($taxID) + { + return $this->setProperty('taxID', $taxID); + } + + /** + * The telephone number. + * + * @param string|string[] $telephone + * + * @return static + * + * @see https://schema.org/telephone + */ + public function telephone($telephone) + { + return $this->setProperty('telephone', $telephone); + } + + /** + * A page providing information on how to book a tour of some [[Place]], + * such as an [[Accommodation]] or [[ApartmentComplex]] in a real estate + * setting, as well as other kinds of tours as appropriate. + * + * @param string|string[] $tourBookingPage + * + * @return static + * + * @see https://schema.org/tourBookingPage + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/2373 + */ + public function tourBookingPage($tourBookingPage) + { + return $this->setProperty('tourBookingPage', $tourBookingPage); + } + + /** + * For an [[Organization]] (typically a [[NewsMediaOrganization]]), a + * statement about policy on use of unnamed sources and the decision process + * required. + * + * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $unnamedSourcesPolicy + * + * @return static + * + * @see https://schema.org/unnamedSourcesPolicy + * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 + */ + public function unnamedSourcesPolicy($unnamedSourcesPolicy) + { + return $this->setProperty('unnamedSourcesPolicy', $unnamedSourcesPolicy); + } + + /** + * URL of the item. + * + * @param string|string[] $url + * + * @return static + * + * @see https://schema.org/url + */ + public function url($url) + { + return $this->setProperty('url', $url); + } + + /** + * The Value-added Tax ID of the organization or person. + * + * @param string|string[] $vatID + * + * @return static + * + * @see https://schema.org/vatID + */ + public function vatID($vatID) + { + return $this->setProperty('vatID', $vatID); + } +} diff --git a/src/Vehicle.php b/src/Vehicle.php index 9114e3e20..05d245646 100644 --- a/src/Vehicle.php +++ b/src/Vehicle.php @@ -33,7 +33,6 @@ class Vehicle extends BaseType implements VehicleContract, ProductContract, Thin * * @see https://schema.org/accelerationTime * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function accelerationTime($accelerationTime) { @@ -65,10 +64,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -188,7 +191,6 @@ public function awards($awards) * * @see https://schema.org/bodyType * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function bodyType($bodyType) { @@ -241,7 +243,6 @@ public function callSign($callSign) * @return static * * @see https://schema.org/cargoVolume - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function cargoVolume($cargoVolume) { @@ -271,7 +272,6 @@ public function category($category) * @return static * * @see https://schema.org/color - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function color($color) { @@ -345,7 +345,6 @@ public function countryOfOrigin($countryOfOrigin) * @return static * * @see https://schema.org/dateVehicleFirstRegistered - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function dateVehicleFirstRegistered($dateVehicleFirstRegistered) { @@ -360,7 +359,6 @@ public function dateVehicleFirstRegistered($dateVehicleFirstRegistered) * @return static * * @see https://schema.org/depth - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function depth($depth) { @@ -407,7 +405,6 @@ public function disambiguatingDescription($disambiguatingDescription) * @return static * * @see https://schema.org/driveWheelConfiguration - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function driveWheelConfiguration($driveWheelConfiguration) { @@ -425,7 +422,6 @@ public function driveWheelConfiguration($driveWheelConfiguration) * * @see https://schema.org/emissionsCO2 * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function emissionsCO2($emissionsCO2) { @@ -446,7 +442,6 @@ public function emissionsCO2($emissionsCO2) * * @see https://schema.org/fuelCapacity * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function fuelCapacity($fuelCapacity) { @@ -473,7 +468,6 @@ public function fuelCapacity($fuelCapacity) * @return static * * @see https://schema.org/fuelConsumption - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function fuelConsumption($fuelConsumption) { @@ -500,7 +494,6 @@ public function fuelConsumption($fuelConsumption) * @return static * * @see https://schema.org/fuelEfficiency - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function fuelEfficiency($fuelEfficiency) { @@ -517,7 +510,6 @@ public function fuelEfficiency($fuelEfficiency) * @return static * * @see https://schema.org/fuelType - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function fuelType($fuelType) { @@ -534,6 +526,7 @@ public function fuelType($fuelType) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -613,7 +606,6 @@ public function gtin12($gtin12) * @return static * * @see https://schema.org/gtin13 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function gtin13($gtin13) { @@ -631,7 +623,6 @@ public function gtin13($gtin13) * @return static * * @see https://schema.org/gtin14 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function gtin14($gtin14) { @@ -649,7 +640,6 @@ public function gtin14($gtin14) * @return static * * @see https://schema.org/gtin8 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function gtin8($gtin8) { @@ -815,7 +805,6 @@ public function inProductGroupWithID($inProductGroupWithID) * @return static * * @see https://schema.org/isAccessoryOrSparePartFor - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isAccessoryOrSparePartFor($isAccessoryOrSparePartFor) { @@ -831,7 +820,6 @@ public function isAccessoryOrSparePartFor($isAccessoryOrSparePartFor) * @return static * * @see https://schema.org/isConsumableFor - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isConsumableFor($isConsumableFor) { @@ -860,7 +848,6 @@ public function isFamilyFriendly($isFamilyFriendly) * @return static * * @see https://schema.org/isRelatedTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isRelatedTo($isRelatedTo) { @@ -876,7 +863,6 @@ public function isRelatedTo($isRelatedTo) * @return static * * @see https://schema.org/isSimilarTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isSimilarTo($isSimilarTo) { @@ -901,7 +887,6 @@ public function isSimilarTo($isSimilarTo) * @return static * * @see https://schema.org/isVariantOf - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isVariantOf($isVariantOf) { @@ -949,7 +934,6 @@ public function keywords($keywords) * @return static * * @see https://schema.org/knownVehicleDamages - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function knownVehicleDamages($knownVehicleDamages) { @@ -964,7 +948,6 @@ public function knownVehicleDamages($knownVehicleDamages) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1025,7 +1008,6 @@ public function material($material) * * @see https://schema.org/meetsEmissionStandard * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function meetsEmissionStandard($meetsEmissionStandard) { @@ -1043,7 +1025,6 @@ public function meetsEmissionStandard($meetsEmissionStandard) * @return static * * @see https://schema.org/mileageFromOdometer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function mileageFromOdometer($mileageFromOdometer) { @@ -1110,7 +1091,6 @@ public function model($model) * * @see https://schema.org/modelDate * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function modelDate($modelDate) { @@ -1126,7 +1106,6 @@ public function modelDate($modelDate) * @return static * * @see https://schema.org/mpn - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function mpn($mpn) { @@ -1201,7 +1180,6 @@ public function nsn($nsn) * @return static * * @see https://schema.org/numberOfAirbags - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function numberOfAirbags($numberOfAirbags) { @@ -1218,7 +1196,6 @@ public function numberOfAirbags($numberOfAirbags) * @return static * * @see https://schema.org/numberOfAxles - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function numberOfAxles($numberOfAxles) { @@ -1235,7 +1212,6 @@ public function numberOfAxles($numberOfAxles) * @return static * * @see https://schema.org/numberOfDoors - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function numberOfDoors($numberOfDoors) { @@ -1253,7 +1229,6 @@ public function numberOfDoors($numberOfDoors) * @return static * * @see https://schema.org/numberOfForwardGears - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function numberOfForwardGears($numberOfForwardGears) { @@ -1270,7 +1245,6 @@ public function numberOfForwardGears($numberOfForwardGears) * @return static * * @see https://schema.org/numberOfPreviousOwners - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function numberOfPreviousOwners($numberOfPreviousOwners) { @@ -1338,7 +1312,6 @@ public function pattern($pattern) * * @see https://schema.org/payload * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function payload($payload) { @@ -1408,7 +1381,6 @@ public function productID($productID) * @return static * * @see https://schema.org/productionDate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function productionDate($productionDate) { @@ -1423,7 +1395,6 @@ public function productionDate($productionDate) * @return static * * @see https://schema.org/purchaseDate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function purchaseDate($purchaseDate) { @@ -1439,7 +1410,6 @@ public function purchaseDate($purchaseDate) * @return static * * @see https://schema.org/releaseDate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function releaseDate($releaseDate) { @@ -1503,7 +1473,6 @@ public function sameAs($sameAs) * * @see https://schema.org/seatingCapacity * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function seatingCapacity($seatingCapacity) { @@ -1539,7 +1508,6 @@ public function size($size) * @return static * * @see https://schema.org/sku - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function sku($sku) { @@ -1580,7 +1548,6 @@ public function slogan($slogan) * * @see https://schema.org/speed * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function speed($speed) { @@ -1595,7 +1562,6 @@ public function speed($speed) * @return static * * @see https://schema.org/steeringPosition - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function steeringPosition($steeringPosition) { @@ -1652,7 +1618,6 @@ public function subjectOf($subjectOf) * * @see https://schema.org/tongueWeight * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function tongueWeight($tongueWeight) { @@ -1676,7 +1641,6 @@ public function tongueWeight($tongueWeight) * * @see https://schema.org/trailerWeight * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function trailerWeight($trailerWeight) { @@ -1706,7 +1670,6 @@ public function url($url) * @return static * * @see https://schema.org/vehicleConfiguration - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function vehicleConfiguration($vehicleConfiguration) { @@ -1721,7 +1684,6 @@ public function vehicleConfiguration($vehicleConfiguration) * @return static * * @see https://schema.org/vehicleEngine - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function vehicleEngine($vehicleEngine) { @@ -1737,7 +1699,6 @@ public function vehicleEngine($vehicleEngine) * @return static * * @see https://schema.org/vehicleIdentificationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function vehicleIdentificationNumber($vehicleIdentificationNumber) { @@ -1752,7 +1713,6 @@ public function vehicleIdentificationNumber($vehicleIdentificationNumber) * @return static * * @see https://schema.org/vehicleInteriorColor - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function vehicleInteriorColor($vehicleInteriorColor) { @@ -1770,7 +1730,6 @@ public function vehicleInteriorColor($vehicleInteriorColor) * @return static * * @see https://schema.org/vehicleInteriorType - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function vehicleInteriorType($vehicleInteriorType) { @@ -1786,7 +1745,6 @@ public function vehicleInteriorType($vehicleInteriorType) * @return static * * @see https://schema.org/vehicleModelDate - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function vehicleModelDate($vehicleModelDate) { @@ -1804,7 +1762,6 @@ public function vehicleModelDate($vehicleModelDate) * @return static * * @see https://schema.org/vehicleSeatingCapacity - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function vehicleSeatingCapacity($vehicleSeatingCapacity) { @@ -1823,7 +1780,6 @@ public function vehicleSeatingCapacity($vehicleSeatingCapacity) * * @see https://schema.org/vehicleSpecialUsage * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function vehicleSpecialUsage($vehicleSpecialUsage) { @@ -1840,7 +1796,6 @@ public function vehicleSpecialUsage($vehicleSpecialUsage) * @return static * * @see https://schema.org/vehicleTransmission - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function vehicleTransmission($vehicleTransmission) { @@ -1855,7 +1810,6 @@ public function vehicleTransmission($vehicleTransmission) * @return static * * @see https://schema.org/weight - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function weight($weight) { @@ -1881,7 +1835,6 @@ public function weight($weight) * * @see https://schema.org/weightTotal * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function weightTotal($weightTotal) { @@ -1900,7 +1853,6 @@ public function weightTotal($weightTotal) * * @see https://schema.org/wheelbase * @see https://auto.schema.org - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#Automotive_Ontology_Working_Group */ public function wheelbase($wheelbase) { diff --git a/src/Vein.php b/src/Vein.php index 3b4283f00..1aaef4138 100644 --- a/src/Vein.php +++ b/src/Vein.php @@ -20,10 +20,14 @@ class Vein extends BaseType implements VeinContract, AnatomicalStructureContract /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -185,6 +189,7 @@ public function drainsTo($drainsTo) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/Vessel.php b/src/Vessel.php index b251f5972..c6f94fddb 100644 --- a/src/Vessel.php +++ b/src/Vessel.php @@ -20,10 +20,14 @@ class Vessel extends BaseType implements VesselContract, AnatomicalStructureCont /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -170,6 +174,7 @@ public function disambiguatingDescription($disambiguatingDescription) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/VeterinaryCare.php b/src/VeterinaryCare.php index 5fff529f1..44da5273d 100644 --- a/src/VeterinaryCare.php +++ b/src/VeterinaryCare.php @@ -28,6 +28,7 @@ class VeterinaryCare extends BaseType implements VeterinaryCareContract, Medical * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -37,10 +38,14 @@ public function actionableFeedbackPolicy($actionableFeedbackPolicy) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -206,6 +211,7 @@ public function contactPoints($contactPoints) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -286,6 +292,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -304,6 +311,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -319,7 +327,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -513,6 +520,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -530,7 +538,6 @@ public function funding($funding) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -592,7 +599,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -708,7 +714,6 @@ public function isAcceptingNewPatients($isAcceptingNewPatients) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -764,6 +769,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -782,6 +788,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -796,7 +803,6 @@ public function knowsLanguage($knowsLanguage) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -841,7 +847,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -872,7 +877,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -947,7 +951,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1013,6 +1016,7 @@ public function numberOfEmployees($numberOfEmployees) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1027,7 +1031,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1141,7 +1144,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1232,7 +1234,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1264,6 +1265,7 @@ public function telephone($telephone) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1292,7 +1294,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/VideoGallery.php b/src/VideoGallery.php index d9060a862..9f70cd1dc 100644 --- a/src/VideoGallery.php +++ b/src/VideoGallery.php @@ -203,10 +203,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -601,6 +605,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -930,7 +935,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1001,6 +1005,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1030,7 +1035,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1168,7 +1172,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2061,6 +2065,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2076,9 +2094,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2216,7 +2233,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/VideoGame.php b/src/VideoGame.php index c43ad9612..0fd34414f 100644 --- a/src/VideoGame.php +++ b/src/VideoGame.php @@ -234,10 +234,14 @@ public function actors($actors) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -704,6 +708,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -1123,7 +1128,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1224,6 +1228,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1339,7 +1344,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1492,7 +1496,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2477,6 +2481,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2492,9 +2510,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2646,7 +2663,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/VideoGameClip.php b/src/VideoGameClip.php index c740f8140..26b5dbd4c 100644 --- a/src/VideoGameClip.php +++ b/src/VideoGameClip.php @@ -232,10 +232,14 @@ public function actors($actors) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -629,6 +633,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -1006,7 +1011,6 @@ public function endOffset($endOffset) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1077,6 +1081,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1106,7 +1111,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1244,7 +1248,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2054,6 +2058,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2069,9 +2087,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2209,7 +2226,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/VideoGameSeries.php b/src/VideoGameSeries.php index 843d6b427..e82ec635a 100644 --- a/src/VideoGameSeries.php +++ b/src/VideoGameSeries.php @@ -234,10 +234,14 @@ public function actors($actors) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -660,6 +664,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -1064,7 +1069,6 @@ public function episodes($episodes) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1135,6 +1139,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1208,7 +1213,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1346,7 +1350,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1414,7 +1418,6 @@ public function isPartOf($isPartOf) * @return static * * @see https://schema.org/issn - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function issn($issn) { @@ -2246,6 +2249,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2261,9 +2278,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2415,7 +2431,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/VideoObject.php b/src/VideoObject.php index ddf3bff74..437b96258 100644 --- a/src/VideoObject.php +++ b/src/VideoObject.php @@ -11,7 +11,6 @@ * A video file. * * @see https://schema.org/VideoObject - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_rNews * */ class VideoObject extends BaseType implements VideoObjectContract, CreativeWorkContract, MediaObjectContract, ThingContract @@ -233,10 +232,14 @@ public function actors($actors) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -689,6 +692,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -1135,7 +1139,6 @@ public function endTime($endTime) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1206,6 +1209,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1235,7 +1239,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1408,7 +1411,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2292,9 +2295,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2503,7 +2505,6 @@ public function width($width) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/VideoObjectSnapshot.php b/src/VideoObjectSnapshot.php index 85ea4b7cc..79216aa7a 100644 --- a/src/VideoObjectSnapshot.php +++ b/src/VideoObjectSnapshot.php @@ -240,10 +240,14 @@ public function actors($actors) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -696,6 +700,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -1142,7 +1147,6 @@ public function endTime($endTime) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1213,6 +1217,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1242,7 +1247,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1415,7 +1419,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2299,9 +2303,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2510,7 +2513,6 @@ public function width($width) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/ViewAction.php b/src/ViewAction.php index 2d127f7bf..59c3784b9 100644 --- a/src/ViewAction.php +++ b/src/ViewAction.php @@ -49,10 +49,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/VirtualLocation.php b/src/VirtualLocation.php index ea6e98fb9..dae9156c8 100644 --- a/src/VirtualLocation.php +++ b/src/VirtualLocation.php @@ -22,10 +22,14 @@ class VirtualLocation extends BaseType implements VirtualLocationContract, Intan /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/VisualArtsEvent.php b/src/VisualArtsEvent.php index 807968b3d..bbbdc7364 100644 --- a/src/VisualArtsEvent.php +++ b/src/VisualArtsEvent.php @@ -48,10 +48,14 @@ public function actor($actor) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +148,6 @@ public function audience($audience) * @return static * * @see https://schema.org/composer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#MBZ */ public function composer($composer) { @@ -344,6 +347,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/VisualArtwork.php b/src/VisualArtwork.php index 03ee37bf0..08e1937b8 100644 --- a/src/VisualArtwork.php +++ b/src/VisualArtwork.php @@ -10,7 +10,6 @@ * A work of art that is primarily visual in character. * * @see https://schema.org/VisualArtwork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_VisualArtworkClass * */ class VisualArtwork extends BaseType implements VisualArtworkContract, CreativeWorkContract, ThingContract @@ -201,10 +200,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -679,6 +682,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -813,7 +817,6 @@ public function datePublished($datePublished) * @return static * * @see https://schema.org/depth - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function depth($depth) { @@ -1023,7 +1026,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1094,6 +1096,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1123,7 +1126,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1291,7 +1293,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2074,6 +2076,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2089,9 +2105,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2243,7 +2258,6 @@ public function width($width) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/VitalSign.php b/src/VitalSign.php index 72419d84c..5e962b4b7 100644 --- a/src/VitalSign.php +++ b/src/VitalSign.php @@ -22,10 +22,14 @@ class VitalSign extends BaseType implements VitalSignContract, MedicalConditionC /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -192,6 +196,7 @@ public function expectedPrognosis($expectedPrognosis) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { diff --git a/src/Volcano.php b/src/Volcano.php index 9ba273ee7..4e9f7b581 100644 --- a/src/Volcano.php +++ b/src/Volcano.php @@ -40,10 +40,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -110,7 +114,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -451,7 +454,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -549,7 +551,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -595,7 +596,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -697,7 +697,6 @@ public function name($name) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -829,7 +828,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/VoteAction.php b/src/VoteAction.php index a225da52e..4084048c3 100644 --- a/src/VoteAction.php +++ b/src/VoteAction.php @@ -48,10 +48,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/WPAdBlock.php b/src/WPAdBlock.php index 29fc51a74..afb56af3e 100644 --- a/src/WPAdBlock.php +++ b/src/WPAdBlock.php @@ -201,10 +201,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -584,6 +588,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -930,7 +935,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1001,6 +1005,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1030,7 +1035,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1168,7 +1172,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1905,6 +1909,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1920,9 +1938,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2060,7 +2077,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/WPFooter.php b/src/WPFooter.php index f032cf4a7..1718f3e65 100644 --- a/src/WPFooter.php +++ b/src/WPFooter.php @@ -201,10 +201,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -584,6 +588,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -930,7 +935,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1001,6 +1005,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1030,7 +1035,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1168,7 +1172,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1905,6 +1909,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1920,9 +1938,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2060,7 +2077,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/WPHeader.php b/src/WPHeader.php index 95aa47cc2..b4e53e63b 100644 --- a/src/WPHeader.php +++ b/src/WPHeader.php @@ -201,10 +201,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -584,6 +588,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -930,7 +935,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1001,6 +1005,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1030,7 +1035,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1168,7 +1172,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1905,6 +1909,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1920,9 +1938,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2060,7 +2077,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/WPSideBar.php b/src/WPSideBar.php index ef9bf0578..075a682a5 100644 --- a/src/WPSideBar.php +++ b/src/WPSideBar.php @@ -201,10 +201,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -584,6 +588,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -930,7 +935,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1001,6 +1005,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1030,7 +1035,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1168,7 +1172,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1905,6 +1909,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1920,9 +1938,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2060,7 +2077,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/WantAction.php b/src/WantAction.php index 9cb9941a0..da2398601 100644 --- a/src/WantAction.php +++ b/src/WantAction.php @@ -33,10 +33,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/WarrantyPromise.php b/src/WarrantyPromise.php index c7ed3e691..2d6b11cda 100644 --- a/src/WarrantyPromise.php +++ b/src/WarrantyPromise.php @@ -13,7 +13,6 @@ * of a product. * * @see https://schema.org/WarrantyPromise - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsClass * */ class WarrantyPromise extends BaseType implements WarrantyPromiseContract, IntangibleContract, StructuredValueContract, ThingContract @@ -21,10 +20,14 @@ class WarrantyPromise extends BaseType implements WarrantyPromiseContract, Intan /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -91,7 +94,6 @@ public function disambiguatingDescription($disambiguatingDescription) * @return static * * @see https://schema.org/durationOfWarranty - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function durationOfWarranty($durationOfWarranty) { @@ -229,7 +231,6 @@ public function url($url) * @return static * * @see https://schema.org/warrantyScope - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function warrantyScope($warrantyScope) { diff --git a/src/WarrantyScope.php b/src/WarrantyScope.php index 6cf402fd4..21ef5c81a 100644 --- a/src/WarrantyScope.php +++ b/src/WarrantyScope.php @@ -18,7 +18,6 @@ * * http://purl.org/goodrelations/v1#PartsAndLabor-PickUp * * @see https://schema.org/WarrantyScope - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsClass * * @method static supersededBy($supersededBy) The value should be instance of pending types Class|Class[]|Enumeration|Enumeration[]|Property|Property[] */ @@ -27,10 +26,14 @@ class WarrantyScope extends BaseType implements WarrantyScopeContract, Enumerati /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/WatchAction.php b/src/WatchAction.php index 2c58a259c..afbb81e8c 100644 --- a/src/WatchAction.php +++ b/src/WatchAction.php @@ -49,10 +49,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/Waterfall.php b/src/Waterfall.php index 7d46c1998..3820cd413 100644 --- a/src/Waterfall.php +++ b/src/Waterfall.php @@ -41,10 +41,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -111,7 +115,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -452,7 +455,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -550,7 +552,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -596,7 +597,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -698,7 +698,6 @@ public function name($name) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -830,7 +829,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { diff --git a/src/WearAction.php b/src/WearAction.php index a9ce45e46..f19951ab2 100644 --- a/src/WearAction.php +++ b/src/WearAction.php @@ -50,10 +50,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/WearableMeasurementTypeEnumeration.php b/src/WearableMeasurementTypeEnumeration.php index a9350af53..8039e7301 100644 --- a/src/WearableMeasurementTypeEnumeration.php +++ b/src/WearableMeasurementTypeEnumeration.php @@ -130,10 +130,14 @@ class WearableMeasurementTypeEnumeration extends BaseType implements WearableMea /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/WearableSizeGroupEnumeration.php b/src/WearableSizeGroupEnumeration.php index d7fa74e4c..6894339f6 100644 --- a/src/WearableSizeGroupEnumeration.php +++ b/src/WearableSizeGroupEnumeration.php @@ -176,10 +176,14 @@ class WearableSizeGroupEnumeration extends BaseType implements WearableSizeGroup /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/WearableSizeSystemEnumeration.php b/src/WearableSizeSystemEnumeration.php index 9a4a782fd..01a15246d 100644 --- a/src/WearableSizeSystemEnumeration.php +++ b/src/WearableSizeSystemEnumeration.php @@ -148,10 +148,14 @@ class WearableSizeSystemEnumeration extends BaseType implements WearableSizeSyst /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/WebAPI.php b/src/WebAPI.php index 9223b7718..7f823cf25 100644 --- a/src/WebAPI.php +++ b/src/WebAPI.php @@ -21,10 +21,14 @@ class WebAPI extends BaseType implements WebAPIContract, IntangibleContract, Ser /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -287,7 +291,6 @@ public function image($image) * @return static * * @see https://schema.org/isRelatedTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isRelatedTo($isRelatedTo) { @@ -303,7 +306,6 @@ public function isRelatedTo($isRelatedTo) * @return static * * @see https://schema.org/isSimilarTo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isSimilarTo($isSimilarTo) { @@ -318,7 +320,6 @@ public function isSimilarTo($isSimilarTo) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { diff --git a/src/WebApplication.php b/src/WebApplication.php index 607ada494..272743246 100644 --- a/src/WebApplication.php +++ b/src/WebApplication.php @@ -201,10 +201,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -657,6 +661,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -1045,7 +1050,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1146,6 +1150,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1175,7 +1180,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1328,7 +1332,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2254,6 +2258,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2269,9 +2287,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2409,7 +2426,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/WebContent.php b/src/WebContent.php index 0fcd6b98b..de913e7d0 100644 --- a/src/WebContent.php +++ b/src/WebContent.php @@ -209,10 +209,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -592,6 +596,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -921,7 +926,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -992,6 +996,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1021,7 +1026,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1159,7 +1163,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1896,6 +1900,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1911,9 +1929,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2051,7 +2068,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/WebPage.php b/src/WebPage.php index 0226f4a20..cd8354399 100644 --- a/src/WebPage.php +++ b/src/WebPage.php @@ -204,10 +204,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -602,6 +606,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -931,7 +936,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1002,6 +1006,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1031,7 +1036,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1169,7 +1173,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -2062,6 +2066,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -2077,9 +2095,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2217,7 +2234,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/WebPageElement.php b/src/WebPageElement.php index 4279b4269..d03ff5429 100644 --- a/src/WebPageElement.php +++ b/src/WebPageElement.php @@ -200,10 +200,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -583,6 +587,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -929,7 +934,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -1000,6 +1004,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1029,7 +1034,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1167,7 +1171,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1904,6 +1908,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1919,9 +1937,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2059,7 +2076,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/WebSite.php b/src/WebSite.php index 611128aa5..cee83b419 100644 --- a/src/WebSite.php +++ b/src/WebSite.php @@ -201,10 +201,14 @@ public function acquireLicensePage($acquireLicensePage) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -584,6 +588,7 @@ public function copyrightYear($copyrightYear) * * @see https://schema.org/correction * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1950 */ public function correction($correction) { @@ -913,7 +918,6 @@ public function encodings($encodings) * @return static * * @see https://schema.org/exampleOfWork - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function exampleOfWork($exampleOfWork) { @@ -984,6 +988,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -1013,7 +1018,6 @@ public function genre($genre) * @return static * * @see https://schema.org/hasPart - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function hasPart($hasPart) { @@ -1151,7 +1155,7 @@ public function isAccessibleForFree($isAccessibleForFree) /** * A resource from which this work is derived or from which it is a - * modification or adaption. + * modification or adaptation. * * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|string|string[] $isBasedOn * @@ -1219,7 +1223,6 @@ public function isPartOf($isPartOf) * @return static * * @see https://schema.org/issn - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function issn($issn) { @@ -1905,6 +1908,20 @@ public function text($text) return $this->setProperty('text', $text); } + /** + * Thumbnail image for an image or video. + * + * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[] $thumbnail + * + * @return static + * + * @see https://schema.org/thumbnail + */ + public function thumbnail($thumbnail) + { + return $this->setProperty('thumbnail', $thumbnail); + } + /** * A thumbnail image relevant to the Thing. * @@ -1920,9 +1937,8 @@ public function thumbnailUrl($thumbnailUrl) } /** - * Approximate or typical time it takes to work with or through this - * learning resource for the typical intended target audience, e.g. 'PT30M', - * 'PT1H25M'. + * Approximate or typical time it usually takes to work with or through the + * content of this work for the typical or target audience. * * @param \Spatie\SchemaOrg\Contracts\DurationContract|\Spatie\SchemaOrg\Contracts\DurationContract[] $timeRequired * @@ -2060,7 +2076,6 @@ public function video($video) * @return static * * @see https://schema.org/workExample - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex */ public function workExample($workExample) { diff --git a/src/WholesaleStore.php b/src/WholesaleStore.php index 3de6e2c42..260cac51c 100644 --- a/src/WholesaleStore.php +++ b/src/WholesaleStore.php @@ -29,6 +29,7 @@ class WholesaleStore extends BaseType implements WholesaleStoreContract, LocalBu * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -60,10 +61,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -144,7 +149,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -325,6 +329,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -427,6 +432,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -445,6 +451,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -460,7 +467,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -654,6 +660,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -857,7 +864,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -953,7 +959,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1050,7 +1055,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1106,6 +1110,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1124,6 +1129,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1153,7 +1159,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1198,7 +1203,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1244,7 +1248,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1346,7 +1349,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1433,7 +1435,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1454,6 +1455,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1468,7 +1470,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1653,7 +1654,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1697,7 +1697,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1777,7 +1776,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1827,6 +1825,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1855,7 +1854,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/WinAction.php b/src/WinAction.php index 9913b4ffa..863c831e1 100644 --- a/src/WinAction.php +++ b/src/WinAction.php @@ -32,10 +32,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/Winery.php b/src/Winery.php index b4e077a9d..0a5c862c5 100644 --- a/src/Winery.php +++ b/src/Winery.php @@ -45,6 +45,7 @@ public function acceptsReservations($acceptsReservations) * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -76,10 +77,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -160,7 +165,6 @@ public function alumni($alumni) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -341,6 +345,7 @@ public function containsPlace($containsPlace) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -443,6 +448,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -461,6 +467,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -476,7 +483,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -670,6 +676,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -873,7 +880,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -984,7 +990,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -1081,7 +1086,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -1137,6 +1141,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -1155,6 +1160,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -1184,7 +1190,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -1229,7 +1234,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -1275,7 +1279,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -1392,7 +1395,6 @@ public function menu($menu) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -1479,7 +1481,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -1500,6 +1501,7 @@ public function openingHoursSpecification($openingHoursSpecification) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -1514,7 +1516,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1699,7 +1700,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1757,7 +1757,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) { @@ -1808,7 +1807,6 @@ public function sponsor($sponsor) * @return static * * @see https://schema.org/starRating - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function starRating($starRating) { @@ -1855,7 +1853,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1905,6 +1902,7 @@ public function tourBookingPage($tourBookingPage) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1933,7 +1931,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/WorkBasedProgram.php b/src/WorkBasedProgram.php index 469b39c7c..d47dad881 100644 --- a/src/WorkBasedProgram.php +++ b/src/WorkBasedProgram.php @@ -24,10 +24,14 @@ class WorkBasedProgram extends BaseType implements WorkBasedProgramContract, Edu /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -96,7 +100,6 @@ public function applicationStartDate($applicationStartDate) * @return static * * @see https://schema.org/dayOfWeek - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function dayOfWeek($dayOfWeek) { diff --git a/src/WorkersUnion.php b/src/WorkersUnion.php index 73c8a2710..792c42650 100644 --- a/src/WorkersUnion.php +++ b/src/WorkersUnion.php @@ -29,6 +29,7 @@ class WorkersUnion extends BaseType implements WorkersUnionContract, Organizatio * * @see https://schema.org/actionableFeedbackPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function actionableFeedbackPolicy($actionableFeedbackPolicy) { @@ -38,10 +39,14 @@ public function actionableFeedbackPolicy($actionableFeedbackPolicy) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -207,6 +212,7 @@ public function contactPoints($contactPoints) * * @see https://schema.org/correctionsPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function correctionsPolicy($correctionsPolicy) { @@ -287,6 +293,7 @@ public function dissolutionDate($dissolutionDate) * * @see https://schema.org/diversityPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityPolicy($diversityPolicy) { @@ -305,6 +312,7 @@ public function diversityPolicy($diversityPolicy) * * @see https://schema.org/diversityStaffingReport * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function diversityStaffingReport($diversityStaffingReport) { @@ -320,7 +328,6 @@ public function diversityStaffingReport($diversityStaffingReport) * @return static * * @see https://schema.org/duns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function duns($duns) { @@ -514,6 +521,7 @@ public function funder($funder) * * @see https://schema.org/funding * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/383 */ public function funding($funding) { @@ -531,7 +539,6 @@ public function funding($funding) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -593,7 +600,6 @@ public function hasOfferCatalog($hasOfferCatalog) * @return static * * @see https://schema.org/hasPOS - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function hasPOS($hasPOS) { @@ -676,7 +682,6 @@ public function interactionStatistic($interactionStatistic) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -732,6 +737,7 @@ public function keywords($keywords) * * @see https://schema.org/knowsAbout * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsAbout($knowsAbout) { @@ -750,6 +756,7 @@ public function knowsAbout($knowsAbout) * * @see https://schema.org/knowsLanguage * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1688 */ public function knowsLanguage($knowsLanguage) { @@ -764,7 +771,6 @@ public function knowsLanguage($knowsLanguage) * @return static * * @see https://schema.org/legalName - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function legalName($legalName) { @@ -809,7 +815,6 @@ public function location($location) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -840,7 +845,6 @@ public function mainEntityOfPage($mainEntityOfPage) * @return static * * @see https://schema.org/makesOffer - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function makesOffer($makesOffer) { @@ -900,7 +904,6 @@ public function members($members) * @return static * * @see https://schema.org/naics - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function naics($naics) { @@ -966,6 +969,7 @@ public function numberOfEmployees($numberOfEmployees) * * @see https://schema.org/ownershipFundingInfo * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function ownershipFundingInfo($ownershipFundingInfo) { @@ -980,7 +984,6 @@ public function ownershipFundingInfo($ownershipFundingInfo) * @return static * * @see https://schema.org/owns - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function owns($owns) { @@ -1094,7 +1097,6 @@ public function sameAs($sameAs) * @return static * * @see https://schema.org/seeks - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function seeks($seeks) { @@ -1185,7 +1187,6 @@ public function subjectOf($subjectOf) * @return static * * @see https://schema.org/taxID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function taxID($taxID) { @@ -1217,6 +1218,7 @@ public function telephone($telephone) * * @see https://schema.org/unnamedSourcesPolicy * @see https://pending.schema.org + * @link https://github.com/schemaorg/schemaorg/issues/1525 */ public function unnamedSourcesPolicy($unnamedSourcesPolicy) { @@ -1245,7 +1247,6 @@ public function url($url) * @return static * * @see https://schema.org/vatID - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function vatID($vatID) { diff --git a/src/WriteAction.php b/src/WriteAction.php index fcc7d8a0c..0a01e6835 100644 --- a/src/WriteAction.php +++ b/src/WriteAction.php @@ -32,10 +32,14 @@ public function actionStatus($actionStatus) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * diff --git a/src/Zoo.php b/src/Zoo.php index e3df5411f..55fa3adb4 100644 --- a/src/Zoo.php +++ b/src/Zoo.php @@ -40,10 +40,14 @@ public function additionalProperty($additionalProperty) /** * An additional type for the item, typically used for adding more specific * types from external vocabularies in microdata syntax. This is a - * relationship between something and a class that the thing is in. In RDFa - * syntax, it is better to use the native RDFa syntax - the 'typeof' - * attribute - for multiple types. Schema.org tools may have only weaker - * understanding of extra types, in particular those defined externally. + * relationship between something and a class that the thing is in. + * Typically the value is a URI-identified RDF class, and in this case + * corresponds to the + * use of rdf:type in RDF. Text values can be used sparingly, for cases + * where useful information can be added without their being an appropriate + * schema to reference. In the case of text values, the class label should + * follow the schema.org [style + * guide](https://schema.org/docs/styleguide.html) * * @param string|string[] $additionalType * @@ -110,7 +114,6 @@ public function alternateName($alternateName) * @return static * * @see https://schema.org/amenityFeature - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function amenityFeature($amenityFeature) { @@ -451,7 +454,6 @@ public function geoWithin($geoWithin) * @return static * * @see https://schema.org/globalLocationNumber - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function globalLocationNumber($globalLocationNumber) { @@ -549,7 +551,6 @@ public function isAccessibleForFree($isAccessibleForFree) * @return static * * @see https://schema.org/isicV4 - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function isicV4($isicV4) { @@ -595,7 +596,6 @@ public function latitude($latitude) * @return static * * @see https://schema.org/logo - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function logo($logo) { @@ -724,7 +724,6 @@ public function openingHours($openingHours) * @return static * * @see https://schema.org/openingHoursSpecification - * @link http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_GoodRelationsTerms */ public function openingHoursSpecification($openingHoursSpecification) { @@ -856,7 +855,6 @@ public function slogan($slogan) * @return static * * @see https://schema.org/smokingAllowed - * @link https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#STI_Accommodation_Ontology */ public function smokingAllowed($smokingAllowed) {