From 4ff4a3a394f99f331940af30a5420198c865e4c4 Mon Sep 17 00:00:00 2001 From: "reinoudbaker@hotmail.com" Date: Fri, 18 Feb 2022 17:50:56 +0100 Subject: [PATCH] set constant=True for pydantic types (resolves ambiguity in model validation) change datatype for Number to Union of int and float --- pydantic_schemaorg/AMRadioChannel.py | 2 +- pydantic_schemaorg/APIReference.py | 2 +- pydantic_schemaorg/Abdomen.py | 2 +- pydantic_schemaorg/AboutPage.py | 2 +- pydantic_schemaorg/AcceptAction.py | 2 +- pydantic_schemaorg/Accommodation.py | 16 ++++---- pydantic_schemaorg/AccountingService.py | 2 +- pydantic_schemaorg/AchieveAction.py | 2 +- pydantic_schemaorg/Action.py | 8 ++-- .../ActionAccessSpecification.py | 14 +++---- pydantic_schemaorg/ActionStatusType.py | 2 +- pydantic_schemaorg/ActivateAction.py | 2 +- pydantic_schemaorg/ActivationFee.py | 2 +- pydantic_schemaorg/ActiveActionStatus.py | 2 +- pydantic_schemaorg/ActiveNotRecruiting.py | 2 +- pydantic_schemaorg/AddAction.py | 2 +- pydantic_schemaorg/AdministrativeArea.py | 2 +- pydantic_schemaorg/AdultEntertainment.py | 2 +- .../AdvertiserContentArticle.py | 2 +- pydantic_schemaorg/AerobicActivity.py | 2 +- pydantic_schemaorg/AggregateOffer.py | 10 ++--- pydantic_schemaorg/AggregateRating.py | 2 +- pydantic_schemaorg/AgreeAction.py | 2 +- pydantic_schemaorg/Airline.py | 2 +- pydantic_schemaorg/Airport.py | 2 +- pydantic_schemaorg/AlbumRelease.py | 2 +- pydantic_schemaorg/AlignmentObject.py | 2 +- .../AllWheelDriveConfiguration.py | 2 +- pydantic_schemaorg/AllergiesHealthAspect.py | 2 +- pydantic_schemaorg/AllocateAction.py | 2 +- pydantic_schemaorg/AmpStory.py | 2 +- pydantic_schemaorg/AmusementPark.py | 2 +- pydantic_schemaorg/AnaerobicActivity.py | 2 +- pydantic_schemaorg/AnalysisNewsArticle.py | 2 +- pydantic_schemaorg/AnatomicalStructure.py | 2 +- pydantic_schemaorg/AnatomicalSystem.py | 2 +- pydantic_schemaorg/Anesthesia.py | 2 +- pydantic_schemaorg/AnimalShelter.py | 2 +- pydantic_schemaorg/Answer.py | 2 +- pydantic_schemaorg/Apartment.py | 4 +- pydantic_schemaorg/ApartmentComplex.py | 8 ++-- pydantic_schemaorg/Appearance.py | 2 +- pydantic_schemaorg/AppendAction.py | 2 +- pydantic_schemaorg/ApplyAction.py | 2 +- pydantic_schemaorg/ApprovedIndication.py | 2 +- pydantic_schemaorg/Aquarium.py | 2 +- pydantic_schemaorg/ArchiveComponent.py | 2 +- pydantic_schemaorg/ArchiveOrganization.py | 2 +- pydantic_schemaorg/ArriveAction.py | 2 +- pydantic_schemaorg/ArtGallery.py | 2 +- pydantic_schemaorg/Artery.py | 2 +- pydantic_schemaorg/Article.py | 2 +- pydantic_schemaorg/AskAction.py | 2 +- pydantic_schemaorg/AskPublicNewsArticle.py | 2 +- pydantic_schemaorg/AssessAction.py | 2 +- pydantic_schemaorg/AssignAction.py | 2 +- pydantic_schemaorg/Atlas.py | 2 +- pydantic_schemaorg/Attorney.py | 2 +- pydantic_schemaorg/Audience.py | 2 +- pydantic_schemaorg/AudioObject.py | 2 +- pydantic_schemaorg/AudioObjectSnapshot.py | 2 +- pydantic_schemaorg/Audiobook.py | 2 +- pydantic_schemaorg/AudiobookFormat.py | 2 +- pydantic_schemaorg/AuthoritativeLegalValue.py | 2 +- pydantic_schemaorg/AuthorizeAction.py | 8 ++-- pydantic_schemaorg/AutoBodyShop.py | 2 +- pydantic_schemaorg/AutoDealer.py | 2 +- pydantic_schemaorg/AutoPartsStore.py | 6 +-- pydantic_schemaorg/AutoRental.py | 2 +- pydantic_schemaorg/AutoRepair.py | 2 +- pydantic_schemaorg/AutoWash.py | 2 +- pydantic_schemaorg/AutomatedTeller.py | 2 +- pydantic_schemaorg/AutomotiveBusiness.py | 2 +- pydantic_schemaorg/Ayurvedic.py | 2 +- pydantic_schemaorg/BackOrder.py | 2 +- pydantic_schemaorg/BackgroundNewsArticle.py | 2 +- pydantic_schemaorg/Bacteria.py | 2 +- pydantic_schemaorg/Bakery.py | 2 +- pydantic_schemaorg/Balance.py | 2 +- pydantic_schemaorg/BankAccount.py | 2 +- pydantic_schemaorg/BankOrCreditUnion.py | 2 +- pydantic_schemaorg/BarOrPub.py | 2 +- pydantic_schemaorg/Barcode.py | 2 +- pydantic_schemaorg/BasicIncome.py | 2 +- pydantic_schemaorg/Beach.py | 2 +- pydantic_schemaorg/BeautySalon.py | 2 +- pydantic_schemaorg/BedAndBreakfast.py | 2 +- pydantic_schemaorg/BedDetails.py | 4 +- pydantic_schemaorg/BedType.py | 2 +- pydantic_schemaorg/BefriendAction.py | 2 +- pydantic_schemaorg/BenefitsHealthAspect.py | 2 +- pydantic_schemaorg/BikeStore.py | 2 +- pydantic_schemaorg/BioChemEntity.py | 4 +- pydantic_schemaorg/Blog.py | 2 +- pydantic_schemaorg/BlogPosting.py | 2 +- pydantic_schemaorg/BloodTest.py | 2 +- pydantic_schemaorg/BoardingPolicyType.py | 2 +- pydantic_schemaorg/BoatReservation.py | 2 +- pydantic_schemaorg/BoatTerminal.py | 2 +- pydantic_schemaorg/BoatTrip.py | 2 +- pydantic_schemaorg/BodyMeasurementArm.py | 2 +- pydantic_schemaorg/BodyMeasurementBust.py | 2 +- pydantic_schemaorg/BodyMeasurementChest.py | 2 +- pydantic_schemaorg/BodyMeasurementFoot.py | 2 +- pydantic_schemaorg/BodyMeasurementHand.py | 2 +- pydantic_schemaorg/BodyMeasurementHead.py | 2 +- pydantic_schemaorg/BodyMeasurementHeight.py | 2 +- pydantic_schemaorg/BodyMeasurementHips.py | 2 +- .../BodyMeasurementInsideLeg.py | 2 +- pydantic_schemaorg/BodyMeasurementNeck.py | 2 +- .../BodyMeasurementTypeEnumeration.py | 2 +- .../BodyMeasurementUnderbust.py | 2 +- pydantic_schemaorg/BodyMeasurementWaist.py | 2 +- pydantic_schemaorg/BodyMeasurementWeight.py | 2 +- pydantic_schemaorg/BodyOfWater.py | 2 +- pydantic_schemaorg/Bone.py | 2 +- pydantic_schemaorg/Book.py | 2 +- pydantic_schemaorg/BookFormatType.py | 2 +- pydantic_schemaorg/BookSeries.py | 2 +- pydantic_schemaorg/BookStore.py | 2 +- pydantic_schemaorg/BookmarkAction.py | 2 +- pydantic_schemaorg/Boolean.py | 2 +- pydantic_schemaorg/BorrowAction.py | 6 +-- pydantic_schemaorg/BowlingAlley.py | 2 +- pydantic_schemaorg/BrainStructure.py | 2 +- pydantic_schemaorg/Brand.py | 2 +- pydantic_schemaorg/BreadcrumbList.py | 2 +- pydantic_schemaorg/Brewery.py | 2 +- pydantic_schemaorg/Bridge.py | 2 +- pydantic_schemaorg/BroadcastChannel.py | 2 +- pydantic_schemaorg/BroadcastEvent.py | 2 +- .../BroadcastFrequencySpecification.py | 4 +- pydantic_schemaorg/BroadcastRelease.py | 2 +- pydantic_schemaorg/BroadcastService.py | 2 +- pydantic_schemaorg/BrokerageAccount.py | 2 +- pydantic_schemaorg/BuddhistTemple.py | 2 +- pydantic_schemaorg/BusOrCoach.py | 2 +- pydantic_schemaorg/BusReservation.py | 2 +- pydantic_schemaorg/BusStation.py | 2 +- pydantic_schemaorg/BusStop.py | 2 +- pydantic_schemaorg/BusTrip.py | 2 +- pydantic_schemaorg/BusinessAudience.py | 2 +- pydantic_schemaorg/BusinessEntityType.py | 2 +- pydantic_schemaorg/BusinessEvent.py | 2 +- pydantic_schemaorg/BusinessFunction.py | 2 +- pydantic_schemaorg/BusinessSupport.py | 2 +- pydantic_schemaorg/BuyAction.py | 8 ++-- pydantic_schemaorg/CDCPMDRecord.py | 28 ++++++------- pydantic_schemaorg/CDFormat.py | 2 +- pydantic_schemaorg/CT.py | 2 +- pydantic_schemaorg/CableOrSatelliteService.py | 2 +- pydantic_schemaorg/CafeOrCoffeeShop.py | 2 +- pydantic_schemaorg/Campground.py | 2 +- pydantic_schemaorg/CampingPitch.py | 2 +- pydantic_schemaorg/Canal.py | 2 +- pydantic_schemaorg/CancelAction.py | 2 +- pydantic_schemaorg/Car.py | 2 +- pydantic_schemaorg/CarUsageType.py | 2 +- pydantic_schemaorg/Cardiovascular.py | 2 +- pydantic_schemaorg/CardiovascularExam.py | 2 +- pydantic_schemaorg/CaseSeries.py | 2 +- pydantic_schemaorg/Casino.py | 2 +- pydantic_schemaorg/CassetteFormat.py | 2 +- pydantic_schemaorg/CategoryCode.py | 2 +- pydantic_schemaorg/CategoryCodeSet.py | 2 +- pydantic_schemaorg/CatholicChurch.py | 2 +- pydantic_schemaorg/CausesHealthAspect.py | 2 +- pydantic_schemaorg/Cemetery.py | 2 +- pydantic_schemaorg/Chapter.py | 2 +- .../CharitableIncorporatedOrganization.py | 2 +- pydantic_schemaorg/CheckAction.py | 2 +- pydantic_schemaorg/CheckInAction.py | 2 +- pydantic_schemaorg/CheckOutAction.py | 2 +- pydantic_schemaorg/CheckoutPage.py | 2 +- pydantic_schemaorg/ChemicalSubstance.py | 2 +- pydantic_schemaorg/ChildCare.py | 2 +- pydantic_schemaorg/ChildrensEvent.py | 2 +- pydantic_schemaorg/Chiropractic.py | 2 +- pydantic_schemaorg/ChooseAction.py | 2 +- pydantic_schemaorg/Church.py | 2 +- pydantic_schemaorg/City.py | 2 +- pydantic_schemaorg/CityHall.py | 2 +- pydantic_schemaorg/CivicStructure.py | 2 +- pydantic_schemaorg/Claim.py | 6 +-- pydantic_schemaorg/ClaimReview.py | 2 +- pydantic_schemaorg/Class.py | 6 +-- pydantic_schemaorg/CleaningFee.py | 2 +- pydantic_schemaorg/Clinician.py | 2 +- pydantic_schemaorg/Clip.py | 8 ++-- pydantic_schemaorg/ClothingStore.py | 2 +- pydantic_schemaorg/CoOp.py | 2 +- pydantic_schemaorg/Code.py | 2 +- pydantic_schemaorg/CohortStudy.py | 2 +- pydantic_schemaorg/Collection.py | 2 +- pydantic_schemaorg/CollectionPage.py | 2 +- pydantic_schemaorg/CollegeOrUniversity.py | 2 +- pydantic_schemaorg/ComedyClub.py | 2 +- pydantic_schemaorg/ComedyEvent.py | 2 +- pydantic_schemaorg/ComicCoverArt.py | 2 +- pydantic_schemaorg/ComicIssue.py | 2 +- pydantic_schemaorg/ComicSeries.py | 2 +- pydantic_schemaorg/ComicStory.py | 2 +- pydantic_schemaorg/Comment.py | 2 +- pydantic_schemaorg/CommentAction.py | 2 +- pydantic_schemaorg/CommentPermission.py | 2 +- pydantic_schemaorg/CommunicateAction.py | 8 ++-- pydantic_schemaorg/CommunityHealth.py | 2 +- pydantic_schemaorg/CompilationAlbum.py | 2 +- pydantic_schemaorg/CompleteDataFeed.py | 2 +- pydantic_schemaorg/Completed.py | 2 +- pydantic_schemaorg/CompletedActionStatus.py | 2 +- .../CompoundPriceSpecification.py | 2 +- pydantic_schemaorg/ComputerLanguage.py | 2 +- pydantic_schemaorg/ComputerStore.py | 2 +- pydantic_schemaorg/ConfirmAction.py | 2 +- pydantic_schemaorg/Consortium.py | 2 +- pydantic_schemaorg/ConsumeAction.py | 2 +- pydantic_schemaorg/ContactPage.py | 2 +- pydantic_schemaorg/ContactPoint.py | 8 ++-- pydantic_schemaorg/ContactPointOption.py | 2 +- .../ContagiousnessHealthAspect.py | 2 +- pydantic_schemaorg/Continent.py | 2 +- pydantic_schemaorg/ControlAction.py | 2 +- pydantic_schemaorg/ConvenienceStore.py | 2 +- pydantic_schemaorg/Conversation.py | 2 +- pydantic_schemaorg/CookAction.py | 6 +-- pydantic_schemaorg/Corporation.py | 2 +- pydantic_schemaorg/CorrectionComment.py | 2 +- pydantic_schemaorg/Country.py | 2 +- pydantic_schemaorg/Course.py | 2 +- pydantic_schemaorg/CourseInstance.py | 2 +- pydantic_schemaorg/Courthouse.py | 2 +- pydantic_schemaorg/CoverArt.py | 2 +- pydantic_schemaorg/CovidTestingFacility.py | 2 +- pydantic_schemaorg/CreateAction.py | 2 +- pydantic_schemaorg/CreativeWork.py | 40 +++++++++---------- pydantic_schemaorg/CreativeWorkSeason.py | 2 +- pydantic_schemaorg/CreativeWorkSeries.py | 2 +- pydantic_schemaorg/CreditCard.py | 6 +-- pydantic_schemaorg/Crematorium.py | 2 +- pydantic_schemaorg/CriticReview.py | 2 +- pydantic_schemaorg/CrossSectional.py | 2 +- pydantic_schemaorg/CssSelectorType.py | 2 +- .../CurrencyConversionService.py | 2 +- pydantic_schemaorg/DDxElement.py | 2 +- pydantic_schemaorg/DJMixAlbum.py | 2 +- pydantic_schemaorg/DVDFormat.py | 2 +- pydantic_schemaorg/DamagedCondition.py | 2 +- pydantic_schemaorg/DanceEvent.py | 2 +- pydantic_schemaorg/DanceGroup.py | 2 +- pydantic_schemaorg/DataCatalog.py | 2 +- pydantic_schemaorg/DataDownload.py | 2 +- pydantic_schemaorg/DataFeed.py | 2 +- pydantic_schemaorg/DataFeedItem.py | 2 +- pydantic_schemaorg/DataType.py | 2 +- pydantic_schemaorg/Dataset.py | 2 +- pydantic_schemaorg/Date.py | 2 +- pydantic_schemaorg/DateTime.py | 2 +- pydantic_schemaorg/DatedMoneySpecification.py | 4 +- pydantic_schemaorg/DayOfWeek.py | 2 +- pydantic_schemaorg/DaySpa.py | 2 +- pydantic_schemaorg/DeactivateAction.py | 2 +- pydantic_schemaorg/DecontextualizedContent.py | 2 +- pydantic_schemaorg/DefenceEstablishment.py | 2 +- pydantic_schemaorg/DefinedRegion.py | 2 +- pydantic_schemaorg/DefinedTerm.py | 2 +- pydantic_schemaorg/DefinedTermSet.py | 2 +- pydantic_schemaorg/DefinitiveLegalValue.py | 2 +- pydantic_schemaorg/DeleteAction.py | 2 +- .../DeliveryChargeSpecification.py | 10 ++--- pydantic_schemaorg/DeliveryEvent.py | 2 +- pydantic_schemaorg/DeliveryMethod.py | 2 +- pydantic_schemaorg/DeliveryTimeSettings.py | 2 +- pydantic_schemaorg/Demand.py | 30 +++++++------- pydantic_schemaorg/DemoAlbum.py | 2 +- pydantic_schemaorg/Dentist.py | 2 +- pydantic_schemaorg/Dentistry.py | 2 +- pydantic_schemaorg/DepartAction.py | 2 +- pydantic_schemaorg/DepartmentStore.py | 2 +- pydantic_schemaorg/DepositAccount.py | 6 +-- pydantic_schemaorg/Dermatologic.py | 2 +- pydantic_schemaorg/Dermatology.py | 2 +- pydantic_schemaorg/DiabeticDiet.py | 2 +- pydantic_schemaorg/Diagnostic.py | 2 +- pydantic_schemaorg/DiagnosticLab.py | 2 +- pydantic_schemaorg/DiagnosticProcedure.py | 2 +- pydantic_schemaorg/Diet.py | 6 +-- pydantic_schemaorg/DietNutrition.py | 2 +- pydantic_schemaorg/DietarySupplement.py | 2 +- pydantic_schemaorg/DigitalAudioTapeFormat.py | 2 +- pydantic_schemaorg/DigitalDocument.py | 2 +- .../DigitalDocumentPermission.py | 8 ++-- .../DigitalDocumentPermissionType.py | 2 +- pydantic_schemaorg/DigitalFormat.py | 2 +- pydantic_schemaorg/DisabilitySupport.py | 2 +- pydantic_schemaorg/DisagreeAction.py | 2 +- pydantic_schemaorg/Discontinued.py | 2 +- pydantic_schemaorg/DiscoverAction.py | 2 +- pydantic_schemaorg/DiscussionForumPosting.py | 2 +- pydantic_schemaorg/DislikeAction.py | 2 +- pydantic_schemaorg/Distance.py | 2 +- pydantic_schemaorg/DistanceFee.py | 2 +- pydantic_schemaorg/Distillery.py | 2 +- pydantic_schemaorg/DonateAction.py | 8 ++-- pydantic_schemaorg/DoseSchedule.py | 4 +- pydantic_schemaorg/DoubleBlindedTrial.py | 2 +- pydantic_schemaorg/DownloadAction.py | 2 +- pydantic_schemaorg/Downpayment.py | 2 +- pydantic_schemaorg/DrawAction.py | 2 +- pydantic_schemaorg/Drawing.py | 2 +- pydantic_schemaorg/DrinkAction.py | 2 +- .../DriveWheelConfigurationValue.py | 2 +- .../DrivingSchoolVehicleUsage.py | 2 +- pydantic_schemaorg/Drug.py | 2 +- pydantic_schemaorg/DrugClass.py | 2 +- pydantic_schemaorg/DrugCost.py | 4 +- pydantic_schemaorg/DrugCostCategory.py | 2 +- pydantic_schemaorg/DrugLegalStatus.py | 2 +- pydantic_schemaorg/DrugPregnancyCategory.py | 2 +- pydantic_schemaorg/DrugPrescriptionStatus.py | 2 +- pydantic_schemaorg/DrugStrength.py | 4 +- pydantic_schemaorg/DryCleaningOrLaundry.py | 2 +- pydantic_schemaorg/Duration.py | 2 +- pydantic_schemaorg/EBook.py | 2 +- pydantic_schemaorg/EPRelease.py | 2 +- .../EUEnergyEfficiencyCategoryA.py | 2 +- .../EUEnergyEfficiencyCategoryA1Plus.py | 2 +- .../EUEnergyEfficiencyCategoryA2Plus.py | 2 +- .../EUEnergyEfficiencyCategoryA3Plus.py | 2 +- .../EUEnergyEfficiencyCategoryB.py | 2 +- .../EUEnergyEfficiencyCategoryC.py | 2 +- .../EUEnergyEfficiencyCategoryD.py | 2 +- .../EUEnergyEfficiencyCategoryE.py | 2 +- .../EUEnergyEfficiencyCategoryF.py | 2 +- .../EUEnergyEfficiencyCategoryG.py | 2 +- .../EUEnergyEfficiencyEnumeration.py | 2 +- pydantic_schemaorg/Ear.py | 2 +- pydantic_schemaorg/EatAction.py | 2 +- pydantic_schemaorg/EditedOrCroppedContent.py | 2 +- pydantic_schemaorg/EducationEvent.py | 2 +- pydantic_schemaorg/EducationalAudience.py | 2 +- .../EducationalOccupationalCredential.py | 2 +- .../EducationalOccupationalProgram.py | 16 ++++---- pydantic_schemaorg/EducationalOrganization.py | 2 +- .../EffectivenessHealthAspect.py | 2 +- pydantic_schemaorg/Electrician.py | 2 +- pydantic_schemaorg/ElectronicsStore.py | 2 +- pydantic_schemaorg/ElementarySchool.py | 2 +- pydantic_schemaorg/EmailMessage.py | 2 +- pydantic_schemaorg/Embassy.py | 2 +- pydantic_schemaorg/Emergency.py | 2 +- pydantic_schemaorg/EmergencyService.py | 2 +- pydantic_schemaorg/EmployeeRole.py | 4 +- pydantic_schemaorg/EmployerAggregateRating.py | 2 +- pydantic_schemaorg/EmployerReview.py | 2 +- pydantic_schemaorg/EmploymentAgency.py | 2 +- pydantic_schemaorg/Endocrine.py | 2 +- pydantic_schemaorg/EndorseAction.py | 6 +-- pydantic_schemaorg/EndorsementRating.py | 2 +- pydantic_schemaorg/Energy.py | 2 +- .../EnergyConsumptionDetails.py | 2 +- .../EnergyEfficiencyEnumeration.py | 2 +- pydantic_schemaorg/EnergyStarCertified.py | 2 +- .../EnergyStarEnergyEfficiencyEnumeration.py | 2 +- pydantic_schemaorg/EngineSpecification.py | 2 +- pydantic_schemaorg/EnrollingByInvitation.py | 2 +- pydantic_schemaorg/EntertainmentBusiness.py | 2 +- pydantic_schemaorg/EntryPoint.py | 2 +- pydantic_schemaorg/Enumeration.py | 4 +- pydantic_schemaorg/Episode.py | 4 +- pydantic_schemaorg/Event.py | 28 ++++++------- .../EventAttendanceModeEnumeration.py | 2 +- pydantic_schemaorg/EventCancelled.py | 2 +- pydantic_schemaorg/EventMovedOnline.py | 2 +- pydantic_schemaorg/EventPostponed.py | 2 +- pydantic_schemaorg/EventRescheduled.py | 2 +- pydantic_schemaorg/EventReservation.py | 2 +- pydantic_schemaorg/EventScheduled.py | 2 +- pydantic_schemaorg/EventSeries.py | 2 +- pydantic_schemaorg/EventStatusType.py | 2 +- pydantic_schemaorg/EventVenue.py | 2 +- pydantic_schemaorg/EvidenceLevelA.py | 2 +- pydantic_schemaorg/EvidenceLevelB.py | 2 +- pydantic_schemaorg/EvidenceLevelC.py | 2 +- .../ExchangeRateSpecification.py | 4 +- pydantic_schemaorg/ExchangeRefund.py | 2 +- pydantic_schemaorg/ExerciseAction.py | 2 +- pydantic_schemaorg/ExerciseGym.py | 2 +- pydantic_schemaorg/ExercisePlan.py | 6 +-- pydantic_schemaorg/ExhibitionEvent.py | 2 +- pydantic_schemaorg/Eye.py | 2 +- pydantic_schemaorg/FAQPage.py | 2 +- pydantic_schemaorg/FDAcategoryA.py | 2 +- pydantic_schemaorg/FDAcategoryB.py | 2 +- pydantic_schemaorg/FDAcategoryC.py | 2 +- pydantic_schemaorg/FDAcategoryD.py | 2 +- pydantic_schemaorg/FDAcategoryX.py | 2 +- pydantic_schemaorg/FDAnotEvaluated.py | 2 +- pydantic_schemaorg/FMRadioChannel.py | 2 +- pydantic_schemaorg/FailedActionStatus.py | 2 +- pydantic_schemaorg/False_.py | 2 +- pydantic_schemaorg/FastFoodRestaurant.py | 2 +- pydantic_schemaorg/Female.py | 2 +- pydantic_schemaorg/Festival.py | 2 +- pydantic_schemaorg/FilmAction.py | 2 +- pydantic_schemaorg/FinancialProduct.py | 6 +-- pydantic_schemaorg/FinancialService.py | 2 +- pydantic_schemaorg/FindAction.py | 2 +- pydantic_schemaorg/FireStation.py | 2 +- pydantic_schemaorg/Flexibility.py | 2 +- pydantic_schemaorg/Flight.py | 6 +-- pydantic_schemaorg/FlightReservation.py | 2 +- pydantic_schemaorg/Float.py | 2 +- pydantic_schemaorg/FloorPlan.py | 14 +++---- pydantic_schemaorg/Florist.py | 2 +- pydantic_schemaorg/FollowAction.py | 6 +-- pydantic_schemaorg/FoodEstablishment.py | 4 +- .../FoodEstablishmentReservation.py | 2 +- pydantic_schemaorg/FoodEvent.py | 2 +- pydantic_schemaorg/FoodService.py | 2 +- .../FourWheelDriveConfiguration.py | 2 +- pydantic_schemaorg/FreeReturn.py | 2 +- pydantic_schemaorg/Friday.py | 2 +- .../FrontWheelDriveConfiguration.py | 2 +- pydantic_schemaorg/FullRefund.py | 2 +- pydantic_schemaorg/FundingAgency.py | 2 +- pydantic_schemaorg/FundingScheme.py | 2 +- pydantic_schemaorg/Fungus.py | 2 +- pydantic_schemaorg/FurnitureStore.py | 2 +- pydantic_schemaorg/Game.py | 2 +- pydantic_schemaorg/GamePlayMode.py | 2 +- pydantic_schemaorg/GameServer.py | 2 +- pydantic_schemaorg/GameServerStatus.py | 2 +- pydantic_schemaorg/GardenStore.py | 2 +- pydantic_schemaorg/GasStation.py | 2 +- pydantic_schemaorg/Gastroenterologic.py | 2 +- pydantic_schemaorg/GatedResidenceCommunity.py | 2 +- pydantic_schemaorg/GenderType.py | 2 +- pydantic_schemaorg/Gene.py | 8 ++-- pydantic_schemaorg/GeneralContractor.py | 2 +- pydantic_schemaorg/Genetic.py | 2 +- pydantic_schemaorg/Genitourinary.py | 2 +- pydantic_schemaorg/GeoCircle.py | 4 +- pydantic_schemaorg/GeoCoordinates.py | 8 ++-- pydantic_schemaorg/GeoShape.py | 4 +- pydantic_schemaorg/GeospatialGeometry.py | 22 +++++----- pydantic_schemaorg/Geriatric.py | 2 +- .../GettingAccessHealthAspect.py | 2 +- pydantic_schemaorg/GiveAction.py | 8 ++-- pydantic_schemaorg/GlutenFreeDiet.py | 2 +- pydantic_schemaorg/GolfCourse.py | 2 +- pydantic_schemaorg/GovernmentBenefitsType.py | 2 +- pydantic_schemaorg/GovernmentBuilding.py | 2 +- pydantic_schemaorg/GovernmentOffice.py | 2 +- pydantic_schemaorg/GovernmentOrganization.py | 2 +- pydantic_schemaorg/GovernmentPermit.py | 2 +- pydantic_schemaorg/GovernmentService.py | 2 +- pydantic_schemaorg/Grant.py | 6 +-- pydantic_schemaorg/GraphicNovel.py | 2 +- pydantic_schemaorg/GroceryStore.py | 2 +- pydantic_schemaorg/GroupBoardingPolicy.py | 2 +- pydantic_schemaorg/Guide.py | 2 +- pydantic_schemaorg/Gynecologic.py | 2 +- pydantic_schemaorg/HVACBusiness.py | 2 +- pydantic_schemaorg/Hackathon.py | 2 +- pydantic_schemaorg/HairSalon.py | 2 +- pydantic_schemaorg/HalalDiet.py | 2 +- pydantic_schemaorg/Hardcover.py | 2 +- pydantic_schemaorg/HardwareStore.py | 2 +- pydantic_schemaorg/Head.py | 2 +- pydantic_schemaorg/HealthAndBeautyBusiness.py | 2 +- pydantic_schemaorg/HealthAspectEnumeration.py | 2 +- pydantic_schemaorg/HealthCare.py | 2 +- pydantic_schemaorg/HealthClub.py | 2 +- pydantic_schemaorg/HealthInsurancePlan.py | 2 +- .../HealthPlanCostSharingSpecification.py | 4 +- pydantic_schemaorg/HealthPlanFormulary.py | 2 +- pydantic_schemaorg/HealthPlanNetwork.py | 2 +- pydantic_schemaorg/HealthTopicContent.py | 2 +- .../HearingImpairedSupported.py | 2 +- pydantic_schemaorg/Hematologic.py | 2 +- pydantic_schemaorg/HighSchool.py | 2 +- pydantic_schemaorg/HinduDiet.py | 2 +- pydantic_schemaorg/HinduTemple.py | 2 +- pydantic_schemaorg/HobbyShop.py | 2 +- .../HomeAndConstructionBusiness.py | 2 +- pydantic_schemaorg/HomeGoodsStore.py | 2 +- pydantic_schemaorg/Homeopathic.py | 2 +- pydantic_schemaorg/Hospital.py | 6 +-- pydantic_schemaorg/Hostel.py | 2 +- pydantic_schemaorg/Hotel.py | 2 +- pydantic_schemaorg/HotelRoom.py | 2 +- pydantic_schemaorg/House.py | 4 +- pydantic_schemaorg/HousePainter.py | 2 +- pydantic_schemaorg/HowItWorksHealthAspect.py | 2 +- pydantic_schemaorg/HowOrWhereHealthAspect.py | 2 +- pydantic_schemaorg/HowTo.py | 6 +-- pydantic_schemaorg/HowToDirection.py | 2 +- pydantic_schemaorg/HowToItem.py | 4 +- pydantic_schemaorg/HowToSection.py | 6 +-- pydantic_schemaorg/HowToStep.py | 6 +-- pydantic_schemaorg/HowToSupply.py | 2 +- pydantic_schemaorg/HowToTip.py | 2 +- pydantic_schemaorg/HowToTool.py | 2 +- pydantic_schemaorg/HyperToc.py | 2 +- pydantic_schemaorg/HyperTocEntry.py | 2 +- pydantic_schemaorg/IceCreamShop.py | 2 +- pydantic_schemaorg/IgnoreAction.py | 2 +- pydantic_schemaorg/ImageGallery.py | 2 +- pydantic_schemaorg/ImageObject.py | 2 +- pydantic_schemaorg/ImageObjectSnapshot.py | 2 +- pydantic_schemaorg/ImagingTest.py | 2 +- pydantic_schemaorg/InForce.py | 2 +- pydantic_schemaorg/InStock.py | 2 +- pydantic_schemaorg/InStoreOnly.py | 2 +- pydantic_schemaorg/IndividualProduct.py | 2 +- pydantic_schemaorg/Infectious.py | 2 +- pydantic_schemaorg/InfectiousAgentClass.py | 2 +- pydantic_schemaorg/InfectiousDisease.py | 2 +- pydantic_schemaorg/InformAction.py | 2 +- pydantic_schemaorg/IngredientsHealthAspect.py | 2 +- pydantic_schemaorg/InsertAction.py | 2 +- pydantic_schemaorg/InstallAction.py | 2 +- pydantic_schemaorg/Installment.py | 2 +- pydantic_schemaorg/InsuranceAgency.py | 2 +- pydantic_schemaorg/Intangible.py | 2 +- pydantic_schemaorg/Integer.py | 2 +- pydantic_schemaorg/InteractAction.py | 2 +- pydantic_schemaorg/InteractionCounter.py | 2 +- pydantic_schemaorg/InternationalTrial.py | 2 +- pydantic_schemaorg/InternetCafe.py | 2 +- pydantic_schemaorg/InvestmentFund.py | 2 +- pydantic_schemaorg/InvestmentOrDeposit.py | 4 +- pydantic_schemaorg/InviteAction.py | 2 +- pydantic_schemaorg/Invoice.py | 10 ++--- pydantic_schemaorg/InvoicePrice.py | 2 +- pydantic_schemaorg/ItemAvailability.py | 2 +- pydantic_schemaorg/ItemList.py | 2 +- pydantic_schemaorg/ItemListOrderAscending.py | 2 +- pydantic_schemaorg/ItemListOrderDescending.py | 2 +- pydantic_schemaorg/ItemListOrderType.py | 2 +- pydantic_schemaorg/ItemListUnordered.py | 2 +- pydantic_schemaorg/ItemPage.py | 2 +- pydantic_schemaorg/JewelryStore.py | 2 +- pydantic_schemaorg/JobPosting.py | 8 ++-- pydantic_schemaorg/JoinAction.py | 2 +- pydantic_schemaorg/Joint.py | 2 +- pydantic_schemaorg/KosherDiet.py | 2 +- pydantic_schemaorg/LaboratoryScience.py | 2 +- pydantic_schemaorg/LakeBodyOfWater.py | 2 +- pydantic_schemaorg/Landform.py | 2 +- .../LandmarksOrHistoricalBuildings.py | 2 +- pydantic_schemaorg/Language.py | 2 +- pydantic_schemaorg/LaserDiscFormat.py | 2 +- pydantic_schemaorg/LearningResource.py | 2 +- pydantic_schemaorg/LeaveAction.py | 2 +- pydantic_schemaorg/LeftHandDriving.py | 2 +- pydantic_schemaorg/LegalForceStatus.py | 2 +- pydantic_schemaorg/LegalService.py | 2 +- pydantic_schemaorg/LegalValueLevel.py | 2 +- pydantic_schemaorg/Legislation.py | 8 ++-- pydantic_schemaorg/LegislationObject.py | 2 +- pydantic_schemaorg/LegislativeBuilding.py | 2 +- pydantic_schemaorg/LeisureTimeActivity.py | 2 +- pydantic_schemaorg/LendAction.py | 2 +- pydantic_schemaorg/Library.py | 2 +- pydantic_schemaorg/LibrarySystem.py | 2 +- pydantic_schemaorg/LifestyleModification.py | 2 +- pydantic_schemaorg/Ligament.py | 2 +- pydantic_schemaorg/LikeAction.py | 2 +- pydantic_schemaorg/LimitedAvailability.py | 2 +- .../LimitedByGuaranteeCharity.py | 2 +- pydantic_schemaorg/LinkRole.py | 2 +- pydantic_schemaorg/LiquorStore.py | 2 +- pydantic_schemaorg/ListItem.py | 2 +- pydantic_schemaorg/ListPrice.py | 2 +- pydantic_schemaorg/ListenAction.py | 2 +- pydantic_schemaorg/LiteraryEvent.py | 2 +- pydantic_schemaorg/LiveAlbum.py | 2 +- pydantic_schemaorg/LiveBlogPosting.py | 2 +- pydantic_schemaorg/LivingWithHealthAspect.py | 2 +- pydantic_schemaorg/LoanOrCredit.py | 4 +- pydantic_schemaorg/LocalBusiness.py | 6 +-- .../LocationFeatureSpecification.py | 2 +- pydantic_schemaorg/LockerDelivery.py | 2 +- pydantic_schemaorg/Locksmith.py | 2 +- pydantic_schemaorg/LodgingBusiness.py | 8 ++-- pydantic_schemaorg/LodgingReservation.py | 2 +- pydantic_schemaorg/Longitudinal.py | 2 +- pydantic_schemaorg/LoseAction.py | 2 +- pydantic_schemaorg/LowCalorieDiet.py | 2 +- pydantic_schemaorg/LowFatDiet.py | 2 +- pydantic_schemaorg/LowLactoseDiet.py | 2 +- pydantic_schemaorg/LowSaltDiet.py | 2 +- pydantic_schemaorg/Lung.py | 2 +- pydantic_schemaorg/LymphaticVessel.py | 2 +- pydantic_schemaorg/MRI.py | 2 +- pydantic_schemaorg/MSRP.py | 2 +- pydantic_schemaorg/Male.py | 2 +- pydantic_schemaorg/Manuscript.py | 2 +- pydantic_schemaorg/Map.py | 2 +- pydantic_schemaorg/MapCategoryType.py | 2 +- pydantic_schemaorg/MarryAction.py | 2 +- pydantic_schemaorg/Mass.py | 2 +- pydantic_schemaorg/MathSolver.py | 2 +- pydantic_schemaorg/MaximumDoseSchedule.py | 2 +- pydantic_schemaorg/MayTreatHealthAspect.py | 2 +- .../MeasurementTypeEnumeration.py | 2 +- pydantic_schemaorg/MediaGallery.py | 2 +- .../MediaManipulationRatingEnumeration.py | 2 +- pydantic_schemaorg/MediaObject.py | 8 ++-- pydantic_schemaorg/MediaReview.py | 6 +-- pydantic_schemaorg/MediaReviewItem.py | 2 +- pydantic_schemaorg/MediaSubscription.py | 2 +- pydantic_schemaorg/MedicalAudience.py | 2 +- pydantic_schemaorg/MedicalAudienceType.py | 2 +- pydantic_schemaorg/MedicalBusiness.py | 2 +- pydantic_schemaorg/MedicalCause.py | 2 +- pydantic_schemaorg/MedicalClinic.py | 6 +-- pydantic_schemaorg/MedicalCode.py | 2 +- pydantic_schemaorg/MedicalCondition.py | 10 ++--- pydantic_schemaorg/MedicalConditionStage.py | 4 +- pydantic_schemaorg/MedicalContraindication.py | 2 +- pydantic_schemaorg/MedicalDevice.py | 2 +- pydantic_schemaorg/MedicalDevicePurpose.py | 2 +- pydantic_schemaorg/MedicalEntity.py | 2 +- pydantic_schemaorg/MedicalEnumeration.py | 2 +- pydantic_schemaorg/MedicalEvidenceLevel.py | 2 +- pydantic_schemaorg/MedicalGuideline.py | 2 +- .../MedicalGuidelineContraindication.py | 2 +- .../MedicalGuidelineRecommendation.py | 2 +- pydantic_schemaorg/MedicalImagingTechnique.py | 2 +- pydantic_schemaorg/MedicalIndication.py | 2 +- pydantic_schemaorg/MedicalIntangible.py | 2 +- .../MedicalObservationalStudy.py | 2 +- .../MedicalObservationalStudyDesign.py | 2 +- pydantic_schemaorg/MedicalOrganization.py | 2 +- pydantic_schemaorg/MedicalProcedure.py | 6 +-- pydantic_schemaorg/MedicalProcedureType.py | 2 +- pydantic_schemaorg/MedicalResearcher.py | 2 +- pydantic_schemaorg/MedicalRiskCalculator.py | 2 +- pydantic_schemaorg/MedicalRiskEstimator.py | 2 +- pydantic_schemaorg/MedicalRiskFactor.py | 2 +- pydantic_schemaorg/MedicalRiskScore.py | 2 +- pydantic_schemaorg/MedicalScholarlyArticle.py | 2 +- pydantic_schemaorg/MedicalSign.py | 2 +- pydantic_schemaorg/MedicalSignOrSymptom.py | 2 +- pydantic_schemaorg/MedicalSpecialty.py | 2 +- pydantic_schemaorg/MedicalStudy.py | 10 ++--- pydantic_schemaorg/MedicalStudyStatus.py | 2 +- pydantic_schemaorg/MedicalSymptom.py | 2 +- pydantic_schemaorg/MedicalTest.py | 2 +- pydantic_schemaorg/MedicalTestPanel.py | 2 +- pydantic_schemaorg/MedicalTherapy.py | 2 +- pydantic_schemaorg/MedicalTrial.py | 2 +- pydantic_schemaorg/MedicalTrialDesign.py | 2 +- pydantic_schemaorg/MedicalWebPage.py | 6 +-- pydantic_schemaorg/MedicineSystem.py | 2 +- pydantic_schemaorg/MeetingRoom.py | 2 +- pydantic_schemaorg/MensClothingStore.py | 2 +- pydantic_schemaorg/Menu.py | 2 +- pydantic_schemaorg/MenuItem.py | 8 ++-- pydantic_schemaorg/MenuSection.py | 2 +- .../MerchantReturnEnumeration.py | 2 +- .../MerchantReturnFiniteReturnWindow.py | 2 +- .../MerchantReturnNotPermitted.py | 2 +- pydantic_schemaorg/MerchantReturnPolicy.py | 4 +- .../MerchantReturnPolicySeasonalOverride.py | 2 +- .../MerchantReturnUnlimitedWindow.py | 2 +- .../MerchantReturnUnspecified.py | 2 +- pydantic_schemaorg/Message.py | 14 +++---- pydantic_schemaorg/MiddleSchool.py | 2 +- pydantic_schemaorg/Midwifery.py | 2 +- pydantic_schemaorg/MinimumAdvertisedPrice.py | 2 +- .../MisconceptionsHealthAspect.py | 2 +- .../MixedEventAttendanceMode.py | 2 +- pydantic_schemaorg/MixtapeAlbum.py | 2 +- pydantic_schemaorg/MobileApplication.py | 2 +- pydantic_schemaorg/MobilePhoneStore.py | 2 +- pydantic_schemaorg/MolecularEntity.py | 2 +- pydantic_schemaorg/Monday.py | 2 +- pydantic_schemaorg/MonetaryAmount.py | 10 ++--- .../MonetaryAmountDistribution.py | 2 +- pydantic_schemaorg/MonetaryGrant.py | 8 ++-- pydantic_schemaorg/MoneyTransfer.py | 4 +- pydantic_schemaorg/MortgageLoan.py | 2 +- pydantic_schemaorg/Mosque.py | 2 +- pydantic_schemaorg/Motel.py | 2 +- pydantic_schemaorg/Motorcycle.py | 2 +- pydantic_schemaorg/MotorcycleDealer.py | 2 +- pydantic_schemaorg/MotorcycleRepair.py | 2 +- pydantic_schemaorg/MotorizedBicycle.py | 2 +- pydantic_schemaorg/Mountain.py | 2 +- pydantic_schemaorg/MoveAction.py | 2 +- pydantic_schemaorg/Movie.py | 4 +- pydantic_schemaorg/MovieClip.py | 2 +- pydantic_schemaorg/MovieRentalStore.py | 2 +- pydantic_schemaorg/MovieSeries.py | 4 +- pydantic_schemaorg/MovieTheater.py | 4 +- pydantic_schemaorg/MovingCompany.py | 2 +- pydantic_schemaorg/MultiCenterTrial.py | 2 +- pydantic_schemaorg/MultiPlayer.py | 2 +- pydantic_schemaorg/MulticellularParasite.py | 2 +- pydantic_schemaorg/Muscle.py | 2 +- pydantic_schemaorg/Musculoskeletal.py | 2 +- pydantic_schemaorg/MusculoskeletalExam.py | 2 +- pydantic_schemaorg/Museum.py | 2 +- pydantic_schemaorg/MusicAlbum.py | 6 +-- .../MusicAlbumProductionType.py | 2 +- pydantic_schemaorg/MusicAlbumReleaseType.py | 2 +- pydantic_schemaorg/MusicComposition.py | 6 +-- pydantic_schemaorg/MusicEvent.py | 2 +- pydantic_schemaorg/MusicGroup.py | 2 +- pydantic_schemaorg/MusicPlaylist.py | 2 +- pydantic_schemaorg/MusicRecording.py | 6 +-- pydantic_schemaorg/MusicRelease.py | 6 +-- pydantic_schemaorg/MusicReleaseFormatType.py | 2 +- pydantic_schemaorg/MusicStore.py | 2 +- pydantic_schemaorg/MusicVenue.py | 2 +- pydantic_schemaorg/MusicVideoObject.py | 2 +- pydantic_schemaorg/NGO.py | 2 +- pydantic_schemaorg/NLNonprofitType.py | 2 +- pydantic_schemaorg/NailSalon.py | 2 +- pydantic_schemaorg/Neck.py | 2 +- pydantic_schemaorg/Nerve.py | 2 +- pydantic_schemaorg/Neuro.py | 2 +- pydantic_schemaorg/Neurologic.py | 2 +- pydantic_schemaorg/NewCondition.py | 2 +- pydantic_schemaorg/NewsArticle.py | 2 +- pydantic_schemaorg/NewsMediaOrganization.py | 4 +- pydantic_schemaorg/Newspaper.py | 2 +- pydantic_schemaorg/NightClub.py | 2 +- pydantic_schemaorg/NoninvasiveProcedure.py | 2 +- pydantic_schemaorg/Nonprofit501a.py | 2 +- pydantic_schemaorg/Nonprofit501c1.py | 2 +- pydantic_schemaorg/Nonprofit501c10.py | 2 +- pydantic_schemaorg/Nonprofit501c11.py | 2 +- pydantic_schemaorg/Nonprofit501c12.py | 2 +- pydantic_schemaorg/Nonprofit501c13.py | 2 +- pydantic_schemaorg/Nonprofit501c14.py | 2 +- pydantic_schemaorg/Nonprofit501c15.py | 2 +- pydantic_schemaorg/Nonprofit501c16.py | 2 +- pydantic_schemaorg/Nonprofit501c17.py | 2 +- pydantic_schemaorg/Nonprofit501c18.py | 2 +- pydantic_schemaorg/Nonprofit501c19.py | 2 +- pydantic_schemaorg/Nonprofit501c2.py | 2 +- pydantic_schemaorg/Nonprofit501c20.py | 2 +- pydantic_schemaorg/Nonprofit501c21.py | 2 +- pydantic_schemaorg/Nonprofit501c22.py | 2 +- pydantic_schemaorg/Nonprofit501c23.py | 2 +- pydantic_schemaorg/Nonprofit501c24.py | 2 +- pydantic_schemaorg/Nonprofit501c25.py | 2 +- pydantic_schemaorg/Nonprofit501c26.py | 2 +- pydantic_schemaorg/Nonprofit501c27.py | 2 +- pydantic_schemaorg/Nonprofit501c28.py | 2 +- pydantic_schemaorg/Nonprofit501c3.py | 2 +- pydantic_schemaorg/Nonprofit501c4.py | 2 +- pydantic_schemaorg/Nonprofit501c5.py | 2 +- pydantic_schemaorg/Nonprofit501c6.py | 2 +- pydantic_schemaorg/Nonprofit501c7.py | 2 +- pydantic_schemaorg/Nonprofit501c8.py | 2 +- pydantic_schemaorg/Nonprofit501c9.py | 2 +- pydantic_schemaorg/Nonprofit501d.py | 2 +- pydantic_schemaorg/Nonprofit501e.py | 2 +- pydantic_schemaorg/Nonprofit501f.py | 2 +- pydantic_schemaorg/Nonprofit501k.py | 2 +- pydantic_schemaorg/Nonprofit501n.py | 2 +- pydantic_schemaorg/Nonprofit501q.py | 2 +- pydantic_schemaorg/Nonprofit527.py | 2 +- pydantic_schemaorg/NonprofitANBI.py | 2 +- pydantic_schemaorg/NonprofitSBBI.py | 2 +- pydantic_schemaorg/NonprofitType.py | 2 +- pydantic_schemaorg/Nose.py | 2 +- pydantic_schemaorg/NotInForce.py | 2 +- pydantic_schemaorg/NotYetRecruiting.py | 2 +- pydantic_schemaorg/Notary.py | 2 +- pydantic_schemaorg/NoteDigitalDocument.py | 2 +- pydantic_schemaorg/Number.py | 2 +- pydantic_schemaorg/Nursing.py | 2 +- pydantic_schemaorg/NutritionInformation.py | 2 +- pydantic_schemaorg/OTC.py | 2 +- pydantic_schemaorg/Observation.py | 2 +- pydantic_schemaorg/Observational.py | 2 +- pydantic_schemaorg/Obstetric.py | 2 +- pydantic_schemaorg/Occupation.py | 6 +-- pydantic_schemaorg/OccupationalActivity.py | 2 +- .../OccupationalExperienceRequirements.py | 4 +- pydantic_schemaorg/OccupationalTherapy.py | 2 +- pydantic_schemaorg/OceanBodyOfWater.py | 2 +- pydantic_schemaorg/Offer.py | 34 ++++++++-------- pydantic_schemaorg/OfferCatalog.py | 2 +- pydantic_schemaorg/OfferForLease.py | 2 +- pydantic_schemaorg/OfferForPurchase.py | 2 +- pydantic_schemaorg/OfferItemCondition.py | 2 +- pydantic_schemaorg/OfferShippingDetails.py | 2 +- pydantic_schemaorg/OfficeEquipmentStore.py | 2 +- pydantic_schemaorg/OfficialLegalValue.py | 2 +- .../OfflineEventAttendanceMode.py | 2 +- pydantic_schemaorg/OfflinePermanently.py | 2 +- pydantic_schemaorg/OfflineTemporarily.py | 2 +- pydantic_schemaorg/OnDemandEvent.py | 2 +- pydantic_schemaorg/OnSitePickup.py | 2 +- pydantic_schemaorg/Oncologic.py | 2 +- pydantic_schemaorg/OneTimePayments.py | 2 +- pydantic_schemaorg/Online.py | 2 +- .../OnlineEventAttendanceMode.py | 2 +- pydantic_schemaorg/OnlineFull.py | 2 +- pydantic_schemaorg/OnlineOnly.py | 2 +- pydantic_schemaorg/OpenTrial.py | 2 +- .../OpeningHoursSpecification.py | 2 +- pydantic_schemaorg/OpinionNewsArticle.py | 2 +- pydantic_schemaorg/Optician.py | 2 +- pydantic_schemaorg/Optometric.py | 2 +- pydantic_schemaorg/Order.py | 18 ++++----- pydantic_schemaorg/OrderAction.py | 2 +- pydantic_schemaorg/OrderCancelled.py | 2 +- pydantic_schemaorg/OrderDelivered.py | 2 +- pydantic_schemaorg/OrderInTransit.py | 2 +- pydantic_schemaorg/OrderItem.py | 6 +-- pydantic_schemaorg/OrderPaymentDue.py | 2 +- pydantic_schemaorg/OrderPickupAvailable.py | 2 +- pydantic_schemaorg/OrderProblem.py | 2 +- pydantic_schemaorg/OrderProcessing.py | 2 +- pydantic_schemaorg/OrderReturned.py | 2 +- pydantic_schemaorg/OrderStatus.py | 2 +- pydantic_schemaorg/Organization.py | 24 +++++------ pydantic_schemaorg/OrganizationRole.py | 4 +- pydantic_schemaorg/OrganizeAction.py | 2 +- pydantic_schemaorg/OriginalMediaContent.py | 2 +- pydantic_schemaorg/OriginalShippingFees.py | 2 +- pydantic_schemaorg/Osteopathic.py | 2 +- pydantic_schemaorg/Otolaryngologic.py | 2 +- pydantic_schemaorg/OutOfStock.py | 2 +- pydantic_schemaorg/OutletStore.py | 2 +- pydantic_schemaorg/OverviewHealthAspect.py | 2 +- pydantic_schemaorg/OwnershipInfo.py | 6 +-- pydantic_schemaorg/PET.py | 2 +- pydantic_schemaorg/PaidLeave.py | 2 +- pydantic_schemaorg/PaintAction.py | 2 +- pydantic_schemaorg/Painting.py | 2 +- pydantic_schemaorg/PalliativeProcedure.py | 2 +- pydantic_schemaorg/Paperback.py | 2 +- pydantic_schemaorg/ParcelDelivery.py | 4 +- pydantic_schemaorg/ParcelService.py | 2 +- pydantic_schemaorg/ParentAudience.py | 6 +-- pydantic_schemaorg/ParentalSupport.py | 2 +- pydantic_schemaorg/Park.py | 2 +- pydantic_schemaorg/ParkingFacility.py | 2 +- pydantic_schemaorg/ParkingMap.py | 2 +- pydantic_schemaorg/PartiallyInForce.py | 2 +- pydantic_schemaorg/Pathology.py | 2 +- pydantic_schemaorg/PathologyTest.py | 2 +- pydantic_schemaorg/Patient.py | 2 +- .../PatientExperienceHealthAspect.py | 2 +- pydantic_schemaorg/PawnShop.py | 2 +- pydantic_schemaorg/PayAction.py | 8 ++-- .../PaymentAutomaticallyApplied.py | 2 +- pydantic_schemaorg/PaymentCard.py | 6 +-- .../PaymentChargeSpecification.py | 2 +- pydantic_schemaorg/PaymentComplete.py | 2 +- pydantic_schemaorg/PaymentDeclined.py | 2 +- pydantic_schemaorg/PaymentDue.py | 2 +- pydantic_schemaorg/PaymentMethod.py | 2 +- pydantic_schemaorg/PaymentPastDue.py | 2 +- pydantic_schemaorg/PaymentService.py | 2 +- pydantic_schemaorg/PaymentStatusType.py | 2 +- pydantic_schemaorg/Pediatric.py | 2 +- pydantic_schemaorg/PeopleAudience.py | 6 +-- pydantic_schemaorg/PercutaneousProcedure.py | 2 +- pydantic_schemaorg/PerformAction.py | 2 +- pydantic_schemaorg/PerformanceRole.py | 2 +- pydantic_schemaorg/PerformingArtsTheater.py | 2 +- pydantic_schemaorg/PerformingGroup.py | 2 +- pydantic_schemaorg/Periodical.py | 2 +- pydantic_schemaorg/Permit.py | 2 +- pydantic_schemaorg/Person.py | 14 +++---- pydantic_schemaorg/PetStore.py | 2 +- pydantic_schemaorg/Pharmacy.py | 2 +- pydantic_schemaorg/PharmacySpecialty.py | 2 +- pydantic_schemaorg/Photograph.py | 2 +- pydantic_schemaorg/PhotographAction.py | 2 +- pydantic_schemaorg/PhysicalActivity.py | 6 +-- .../PhysicalActivityCategory.py | 2 +- pydantic_schemaorg/PhysicalExam.py | 2 +- pydantic_schemaorg/PhysicalTherapy.py | 2 +- pydantic_schemaorg/Physician.py | 6 +-- pydantic_schemaorg/Physiotherapy.py | 2 +- pydantic_schemaorg/Place.py | 26 ++++++------ pydantic_schemaorg/PlaceOfWorship.py | 2 +- pydantic_schemaorg/PlaceboControlledTrial.py | 2 +- pydantic_schemaorg/PlanAction.py | 2 +- pydantic_schemaorg/PlasticSurgery.py | 2 +- pydantic_schemaorg/Play.py | 2 +- pydantic_schemaorg/PlayAction.py | 2 +- pydantic_schemaorg/Playground.py | 2 +- pydantic_schemaorg/Plumber.py | 2 +- pydantic_schemaorg/PodcastEpisode.py | 2 +- pydantic_schemaorg/PodcastSeason.py | 2 +- pydantic_schemaorg/PodcastSeries.py | 2 +- pydantic_schemaorg/Podiatric.py | 2 +- pydantic_schemaorg/PoliceStation.py | 2 +- pydantic_schemaorg/Pond.py | 2 +- pydantic_schemaorg/PostOffice.py | 2 +- pydantic_schemaorg/PostalAddress.py | 2 +- .../PostalCodeRangeSpecification.py | 2 +- pydantic_schemaorg/Poster.py | 2 +- pydantic_schemaorg/PotentialActionStatus.py | 2 +- pydantic_schemaorg/PreOrder.py | 2 +- pydantic_schemaorg/PreOrderAction.py | 2 +- pydantic_schemaorg/PreSale.py | 2 +- pydantic_schemaorg/PregnancyHealthAspect.py | 2 +- pydantic_schemaorg/PrependAction.py | 2 +- pydantic_schemaorg/Preschool.py | 2 +- pydantic_schemaorg/PrescriptionOnly.py | 2 +- .../PresentationDigitalDocument.py | 2 +- pydantic_schemaorg/PreventionHealthAspect.py | 2 +- pydantic_schemaorg/PreventionIndication.py | 2 +- .../PriceComponentTypeEnumeration.py | 2 +- pydantic_schemaorg/PriceSpecification.py | 8 ++-- pydantic_schemaorg/PriceTypeEnumeration.py | 2 +- pydantic_schemaorg/PrimaryCare.py | 2 +- pydantic_schemaorg/Prion.py | 2 +- pydantic_schemaorg/Product.py | 14 +++---- pydantic_schemaorg/ProductCollection.py | 2 +- pydantic_schemaorg/ProductGroup.py | 2 +- pydantic_schemaorg/ProductModel.py | 4 +- pydantic_schemaorg/ProfessionalService.py | 2 +- pydantic_schemaorg/ProfilePage.py | 2 +- pydantic_schemaorg/PrognosisHealthAspect.py | 2 +- pydantic_schemaorg/ProgramMembership.py | 10 ++--- pydantic_schemaorg/Project.py | 2 +- pydantic_schemaorg/PronounceableText.py | 2 +- pydantic_schemaorg/Property.py | 4 +- pydantic_schemaorg/PropertyValue.py | 14 +++---- .../PropertyValueSpecification.py | 12 +++--- pydantic_schemaorg/Protein.py | 2 +- pydantic_schemaorg/Protozoa.py | 2 +- pydantic_schemaorg/Psychiatric.py | 2 +- pydantic_schemaorg/PsychologicalTreatment.py | 2 +- pydantic_schemaorg/PublicHealth.py | 2 +- pydantic_schemaorg/PublicHolidays.py | 2 +- pydantic_schemaorg/PublicSwimmingPool.py | 2 +- pydantic_schemaorg/PublicToilet.py | 2 +- pydantic_schemaorg/PublicationEvent.py | 6 +-- pydantic_schemaorg/PublicationIssue.py | 2 +- pydantic_schemaorg/PublicationVolume.py | 2 +- pydantic_schemaorg/Pulmonary.py | 2 +- pydantic_schemaorg/QAPage.py | 2 +- pydantic_schemaorg/QualitativeValue.py | 10 ++--- pydantic_schemaorg/QuantitativeValue.py | 14 +++---- .../QuantitativeValueDistribution.py | 12 +++--- pydantic_schemaorg/Quantity.py | 2 +- pydantic_schemaorg/Question.py | 8 ++-- pydantic_schemaorg/Quiz.py | 2 +- pydantic_schemaorg/Quotation.py | 6 +-- pydantic_schemaorg/QuoteAction.py | 2 +- pydantic_schemaorg/RVPark.py | 2 +- pydantic_schemaorg/RadiationTherapy.py | 2 +- pydantic_schemaorg/RadioBroadcastService.py | 2 +- pydantic_schemaorg/RadioChannel.py | 2 +- pydantic_schemaorg/RadioClip.py | 2 +- pydantic_schemaorg/RadioEpisode.py | 2 +- pydantic_schemaorg/RadioSeason.py | 2 +- pydantic_schemaorg/RadioSeries.py | 4 +- pydantic_schemaorg/RadioStation.py | 2 +- pydantic_schemaorg/Radiography.py | 6 +-- pydantic_schemaorg/RandomizedTrial.py | 2 +- pydantic_schemaorg/Rating.py | 12 +++--- pydantic_schemaorg/ReactAction.py | 2 +- pydantic_schemaorg/ReadAction.py | 2 +- pydantic_schemaorg/ReadPermission.py | 2 +- pydantic_schemaorg/RealEstateAgent.py | 2 +- pydantic_schemaorg/RealEstateListing.py | 6 +-- .../RearWheelDriveConfiguration.py | 2 +- pydantic_schemaorg/ReceiveAction.py | 6 +-- pydantic_schemaorg/Recipe.py | 2 +- pydantic_schemaorg/Recommendation.py | 2 +- pydantic_schemaorg/RecommendedDoseSchedule.py | 2 +- pydantic_schemaorg/Recruiting.py | 2 +- pydantic_schemaorg/RecyclingCenter.py | 2 +- pydantic_schemaorg/RefundTypeEnumeration.py | 2 +- pydantic_schemaorg/RefurbishedCondition.py | 2 +- pydantic_schemaorg/RegisterAction.py | 2 +- pydantic_schemaorg/Registry.py | 2 +- pydantic_schemaorg/ReimbursementCap.py | 2 +- pydantic_schemaorg/RejectAction.py | 2 +- .../RelatedTopicsHealthAspect.py | 2 +- pydantic_schemaorg/RemixAlbum.py | 2 +- pydantic_schemaorg/Renal.py | 2 +- pydantic_schemaorg/RentAction.py | 6 +-- pydantic_schemaorg/RentalCarReservation.py | 2 +- pydantic_schemaorg/RentalVehicleUsage.py | 2 +- pydantic_schemaorg/RepaymentSpecification.py | 8 ++-- pydantic_schemaorg/ReplaceAction.py | 2 +- pydantic_schemaorg/ReplyAction.py | 2 +- pydantic_schemaorg/Report.py | 2 +- pydantic_schemaorg/ReportageNewsArticle.py | 2 +- pydantic_schemaorg/ReportedDoseSchedule.py | 2 +- pydantic_schemaorg/ResearchOrganization.py | 2 +- pydantic_schemaorg/ResearchProject.py | 2 +- pydantic_schemaorg/Researcher.py | 2 +- pydantic_schemaorg/Reservation.py | 14 +++---- pydantic_schemaorg/ReservationCancelled.py | 2 +- pydantic_schemaorg/ReservationConfirmed.py | 2 +- pydantic_schemaorg/ReservationHold.py | 2 +- pydantic_schemaorg/ReservationPackage.py | 2 +- pydantic_schemaorg/ReservationPending.py | 2 +- pydantic_schemaorg/ReservationStatusType.py | 2 +- pydantic_schemaorg/ReserveAction.py | 2 +- pydantic_schemaorg/Reservoir.py | 2 +- pydantic_schemaorg/Residence.py | 2 +- pydantic_schemaorg/Resort.py | 2 +- pydantic_schemaorg/RespiratoryTherapy.py | 6 +-- pydantic_schemaorg/Restaurant.py | 2 +- pydantic_schemaorg/RestockingFees.py | 2 +- pydantic_schemaorg/RestrictedDiet.py | 2 +- pydantic_schemaorg/ResultsAvailable.py | 2 +- pydantic_schemaorg/ResultsNotAvailable.py | 2 +- pydantic_schemaorg/ResumeAction.py | 2 +- pydantic_schemaorg/Retail.py | 2 +- pydantic_schemaorg/ReturnAction.py | 8 ++-- pydantic_schemaorg/ReturnAtKiosk.py | 2 +- pydantic_schemaorg/ReturnByMail.py | 2 +- .../ReturnFeesCustomerResponsibility.py | 2 +- pydantic_schemaorg/ReturnFeesEnumeration.py | 2 +- pydantic_schemaorg/ReturnInStore.py | 2 +- .../ReturnLabelCustomerResponsibility.py | 2 +- .../ReturnLabelDownloadAndPrint.py | 2 +- pydantic_schemaorg/ReturnLabelInBox.py | 2 +- .../ReturnLabelSourceEnumeration.py | 2 +- pydantic_schemaorg/ReturnMethodEnumeration.py | 2 +- pydantic_schemaorg/ReturnShippingFees.py | 2 +- pydantic_schemaorg/Review.py | 8 ++-- pydantic_schemaorg/ReviewAction.py | 2 +- pydantic_schemaorg/ReviewNewsArticle.py | 2 +- pydantic_schemaorg/Rheumatologic.py | 2 +- pydantic_schemaorg/RightHandDriving.py | 2 +- .../RisksOrComplicationsHealthAspect.py | 2 +- pydantic_schemaorg/RiverBodyOfWater.py | 2 +- pydantic_schemaorg/Role.py | 2 +- pydantic_schemaorg/RoofingContractor.py | 2 +- pydantic_schemaorg/Room.py | 2 +- pydantic_schemaorg/RsvpAction.py | 4 +- pydantic_schemaorg/RsvpResponseMaybe.py | 2 +- pydantic_schemaorg/RsvpResponseNo.py | 2 +- pydantic_schemaorg/RsvpResponseType.py | 2 +- pydantic_schemaorg/RsvpResponseYes.py | 2 +- pydantic_schemaorg/SRP.py | 2 +- pydantic_schemaorg/SafetyHealthAspect.py | 2 +- pydantic_schemaorg/SaleEvent.py | 2 +- pydantic_schemaorg/SalePrice.py | 2 +- pydantic_schemaorg/SatireOrParodyContent.py | 2 +- pydantic_schemaorg/SatiricalArticle.py | 2 +- pydantic_schemaorg/Saturday.py | 2 +- pydantic_schemaorg/Schedule.py | 2 +- pydantic_schemaorg/ScheduleAction.py | 2 +- pydantic_schemaorg/ScholarlyArticle.py | 2 +- pydantic_schemaorg/School.py | 2 +- pydantic_schemaorg/SchoolDistrict.py | 2 +- pydantic_schemaorg/ScreeningEvent.py | 2 +- pydantic_schemaorg/ScreeningHealthAspect.py | 2 +- pydantic_schemaorg/Sculpture.py | 2 +- pydantic_schemaorg/SeaBodyOfWater.py | 2 +- pydantic_schemaorg/SearchAction.py | 2 +- pydantic_schemaorg/SearchResultsPage.py | 2 +- pydantic_schemaorg/Season.py | 2 +- pydantic_schemaorg/Seat.py | 2 +- pydantic_schemaorg/SeatingMap.py | 2 +- pydantic_schemaorg/SeeDoctorHealthAspect.py | 2 +- pydantic_schemaorg/SeekToAction.py | 4 +- pydantic_schemaorg/SelfCareHealthAspect.py | 2 +- pydantic_schemaorg/SelfStorage.py | 2 +- pydantic_schemaorg/SellAction.py | 6 +-- pydantic_schemaorg/SendAction.py | 8 ++-- pydantic_schemaorg/Series.py | 2 +- pydantic_schemaorg/Service.py | 20 +++++----- pydantic_schemaorg/ServiceChannel.py | 2 +- pydantic_schemaorg/ShareAction.py | 2 +- pydantic_schemaorg/SheetMusic.py | 2 +- pydantic_schemaorg/ShippingDeliveryTime.py | 2 +- pydantic_schemaorg/ShippingRateSettings.py | 4 +- pydantic_schemaorg/ShoeStore.py | 2 +- pydantic_schemaorg/ShoppingCenter.py | 2 +- pydantic_schemaorg/ShortStory.py | 2 +- pydantic_schemaorg/SideEffectsHealthAspect.py | 2 +- pydantic_schemaorg/SingleBlindedTrial.py | 2 +- pydantic_schemaorg/SingleCenterTrial.py | 2 +- pydantic_schemaorg/SingleFamilyResidence.py | 4 +- pydantic_schemaorg/SinglePlayer.py | 2 +- pydantic_schemaorg/SingleRelease.py | 2 +- pydantic_schemaorg/SiteNavigationElement.py | 2 +- pydantic_schemaorg/SizeGroupEnumeration.py | 2 +- pydantic_schemaorg/SizeSpecification.py | 2 +- pydantic_schemaorg/SizeSystemEnumeration.py | 2 +- pydantic_schemaorg/SizeSystemImperial.py | 2 +- pydantic_schemaorg/SizeSystemMetric.py | 2 +- pydantic_schemaorg/SkiResort.py | 2 +- pydantic_schemaorg/Skin.py | 2 +- pydantic_schemaorg/SocialEvent.py | 2 +- pydantic_schemaorg/SocialMediaPosting.py | 2 +- pydantic_schemaorg/SoftwareApplication.py | 2 +- pydantic_schemaorg/SoftwareSourceCode.py | 2 +- pydantic_schemaorg/SoldOut.py | 2 +- pydantic_schemaorg/SolveMathAction.py | 2 +- pydantic_schemaorg/SomeProducts.py | 2 +- pydantic_schemaorg/SoundtrackAlbum.py | 2 +- pydantic_schemaorg/SpeakableSpecification.py | 2 +- pydantic_schemaorg/SpecialAnnouncement.py | 10 ++--- pydantic_schemaorg/Specialty.py | 2 +- pydantic_schemaorg/SpeechPathology.py | 2 +- pydantic_schemaorg/SpokenWordAlbum.py | 2 +- pydantic_schemaorg/SportingGoodsStore.py | 2 +- pydantic_schemaorg/SportsActivityLocation.py | 2 +- pydantic_schemaorg/SportsClub.py | 2 +- pydantic_schemaorg/SportsEvent.py | 8 ++-- pydantic_schemaorg/SportsOrganization.py | 2 +- pydantic_schemaorg/SportsTeam.py | 2 +- .../SpreadsheetDigitalDocument.py | 2 +- pydantic_schemaorg/StadiumOrArena.py | 2 +- pydantic_schemaorg/StagedContent.py | 2 +- pydantic_schemaorg/StagesHealthAspect.py | 2 +- pydantic_schemaorg/State.py | 2 +- pydantic_schemaorg/Statement.py | 2 +- pydantic_schemaorg/StatisticalPopulation.py | 2 +- pydantic_schemaorg/StatusEnumeration.py | 2 +- pydantic_schemaorg/SteeringPositionValue.py | 2 +- pydantic_schemaorg/Store.py | 2 +- pydantic_schemaorg/StoreCreditRefund.py | 2 +- pydantic_schemaorg/StrengthTraining.py | 2 +- pydantic_schemaorg/StructuredValue.py | 2 +- pydantic_schemaorg/StudioAlbum.py | 2 +- pydantic_schemaorg/SubscribeAction.py | 2 +- pydantic_schemaorg/Subscription.py | 2 +- pydantic_schemaorg/Substance.py | 2 +- pydantic_schemaorg/SubwayStation.py | 2 +- pydantic_schemaorg/Suite.py | 4 +- pydantic_schemaorg/Sunday.py | 2 +- pydantic_schemaorg/SuperficialAnatomy.py | 2 +- pydantic_schemaorg/Surgical.py | 2 +- pydantic_schemaorg/SurgicalProcedure.py | 2 +- pydantic_schemaorg/SuspendAction.py | 2 +- pydantic_schemaorg/Suspended.py | 2 +- pydantic_schemaorg/SymptomsHealthAspect.py | 2 +- pydantic_schemaorg/Synagogue.py | 2 +- pydantic_schemaorg/TVClip.py | 2 +- pydantic_schemaorg/TVEpisode.py | 2 +- pydantic_schemaorg/TVSeason.py | 2 +- pydantic_schemaorg/TVSeries.py | 4 +- pydantic_schemaorg/Table.py | 2 +- pydantic_schemaorg/TakeAction.py | 2 +- pydantic_schemaorg/TattooParlor.py | 2 +- pydantic_schemaorg/Taxi.py | 2 +- pydantic_schemaorg/TaxiReservation.py | 2 +- pydantic_schemaorg/TaxiService.py | 2 +- pydantic_schemaorg/TaxiStand.py | 2 +- pydantic_schemaorg/TaxiVehicleUsage.py | 2 +- pydantic_schemaorg/Taxon.py | 2 +- pydantic_schemaorg/TechArticle.py | 2 +- pydantic_schemaorg/TelevisionChannel.py | 2 +- pydantic_schemaorg/TelevisionStation.py | 2 +- pydantic_schemaorg/TennisComplex.py | 2 +- pydantic_schemaorg/Terminated.py | 2 +- pydantic_schemaorg/Text.py | 2 +- pydantic_schemaorg/TextDigitalDocument.py | 2 +- pydantic_schemaorg/TheaterEvent.py | 2 +- pydantic_schemaorg/TheaterGroup.py | 2 +- pydantic_schemaorg/Therapeutic.py | 2 +- pydantic_schemaorg/TherapeuticProcedure.py | 2 +- pydantic_schemaorg/Thesis.py | 2 +- pydantic_schemaorg/Thing.py | 2 +- pydantic_schemaorg/Throat.py | 2 +- pydantic_schemaorg/Thursday.py | 2 +- pydantic_schemaorg/Ticket.py | 8 ++-- pydantic_schemaorg/TieAction.py | 2 +- pydantic_schemaorg/Time.py | 2 +- pydantic_schemaorg/TipAction.py | 8 ++-- pydantic_schemaorg/TireShop.py | 2 +- pydantic_schemaorg/TollFree.py | 2 +- pydantic_schemaorg/TouristAttraction.py | 2 +- pydantic_schemaorg/TouristDestination.py | 2 +- .../TouristInformationCenter.py | 2 +- pydantic_schemaorg/TouristTrip.py | 2 +- pydantic_schemaorg/Toxicologic.py | 2 +- pydantic_schemaorg/ToyStore.py | 2 +- pydantic_schemaorg/TrackAction.py | 2 +- pydantic_schemaorg/TradeAction.py | 4 +- pydantic_schemaorg/TraditionalChinese.py | 2 +- pydantic_schemaorg/TrainReservation.py | 2 +- pydantic_schemaorg/TrainStation.py | 2 +- pydantic_schemaorg/TrainTrip.py | 2 +- pydantic_schemaorg/TransferAction.py | 2 +- pydantic_schemaorg/TransformedContent.py | 2 +- pydantic_schemaorg/TransitMap.py | 2 +- pydantic_schemaorg/TravelAction.py | 2 +- pydantic_schemaorg/TravelAgency.py | 2 +- pydantic_schemaorg/TreatmentIndication.py | 2 +- pydantic_schemaorg/TreatmentsHealthAspect.py | 2 +- pydantic_schemaorg/Trip.py | 10 ++--- pydantic_schemaorg/TripleBlindedTrial.py | 2 +- pydantic_schemaorg/True_.py | 2 +- pydantic_schemaorg/Tuesday.py | 2 +- pydantic_schemaorg/TypeAndQuantityNode.py | 4 +- pydantic_schemaorg/TypesHealthAspect.py | 2 +- pydantic_schemaorg/UKNonprofitType.py | 2 +- pydantic_schemaorg/UKTrust.py | 2 +- pydantic_schemaorg/URL.py | 2 +- pydantic_schemaorg/USNonprofitType.py | 2 +- pydantic_schemaorg/Ultrasound.py | 2 +- pydantic_schemaorg/UnRegisterAction.py | 2 +- pydantic_schemaorg/UnemploymentSupport.py | 2 +- .../UnincorporatedAssociationCharity.py | 2 +- pydantic_schemaorg/UnitPriceSpecification.py | 10 ++--- pydantic_schemaorg/UnofficialLegalValue.py | 2 +- pydantic_schemaorg/UpdateAction.py | 2 +- pydantic_schemaorg/Urologic.py | 2 +- .../UsageOrScheduleHealthAspect.py | 2 +- pydantic_schemaorg/UseAction.py | 2 +- pydantic_schemaorg/UsedCondition.py | 2 +- pydantic_schemaorg/UserBlocks.py | 2 +- pydantic_schemaorg/UserCheckins.py | 2 +- pydantic_schemaorg/UserComments.py | 6 +-- pydantic_schemaorg/UserDownloads.py | 2 +- pydantic_schemaorg/UserInteraction.py | 2 +- pydantic_schemaorg/UserLikes.py | 2 +- pydantic_schemaorg/UserPageVisits.py | 2 +- pydantic_schemaorg/UserPlays.py | 2 +- pydantic_schemaorg/UserPlusOnes.py | 2 +- pydantic_schemaorg/UserReview.py | 2 +- pydantic_schemaorg/UserTweets.py | 2 +- pydantic_schemaorg/VeganDiet.py | 2 +- pydantic_schemaorg/VegetarianDiet.py | 2 +- pydantic_schemaorg/Vehicle.py | 18 ++++----- pydantic_schemaorg/Vein.py | 2 +- pydantic_schemaorg/VenueMap.py | 2 +- pydantic_schemaorg/Vessel.py | 2 +- pydantic_schemaorg/VeterinaryCare.py | 2 +- pydantic_schemaorg/VideoGallery.py | 2 +- pydantic_schemaorg/VideoGame.py | 8 ++-- pydantic_schemaorg/VideoGameClip.py | 2 +- pydantic_schemaorg/VideoGameSeries.py | 4 +- pydantic_schemaorg/VideoObject.py | 4 +- pydantic_schemaorg/VideoObjectSnapshot.py | 2 +- pydantic_schemaorg/ViewAction.py | 2 +- pydantic_schemaorg/VinylFormat.py | 2 +- pydantic_schemaorg/VirtualLocation.py | 2 +- pydantic_schemaorg/Virus.py | 2 +- pydantic_schemaorg/VisualArtsEvent.py | 2 +- pydantic_schemaorg/VisualArtwork.py | 4 +- pydantic_schemaorg/VitalSign.py | 2 +- pydantic_schemaorg/Volcano.py | 2 +- pydantic_schemaorg/VoteAction.py | 2 +- pydantic_schemaorg/WPAdBlock.py | 2 +- pydantic_schemaorg/WPFooter.py | 2 +- pydantic_schemaorg/WPHeader.py | 2 +- pydantic_schemaorg/WPSideBar.py | 2 +- pydantic_schemaorg/WantAction.py | 2 +- pydantic_schemaorg/WarrantyPromise.py | 2 +- pydantic_schemaorg/WarrantyScope.py | 2 +- pydantic_schemaorg/WatchAction.py | 2 +- pydantic_schemaorg/Waterfall.py | 2 +- pydantic_schemaorg/WearAction.py | 2 +- pydantic_schemaorg/WearableMeasurementBack.py | 2 +- .../WearableMeasurementChestOrBust.py | 2 +- .../WearableMeasurementCollar.py | 2 +- pydantic_schemaorg/WearableMeasurementCup.py | 2 +- .../WearableMeasurementHeight.py | 2 +- pydantic_schemaorg/WearableMeasurementHips.py | 2 +- .../WearableMeasurementInseam.py | 2 +- .../WearableMeasurementLength.py | 2 +- .../WearableMeasurementOutsideLeg.py | 2 +- .../WearableMeasurementSleeve.py | 2 +- .../WearableMeasurementTypeEnumeration.py | 2 +- .../WearableMeasurementWaist.py | 2 +- .../WearableMeasurementWidth.py | 2 +- pydantic_schemaorg/WearableSizeGroupBig.py | 2 +- pydantic_schemaorg/WearableSizeGroupBoys.py | 2 +- .../WearableSizeGroupEnumeration.py | 2 +- .../WearableSizeGroupExtraShort.py | 2 +- .../WearableSizeGroupExtraTall.py | 2 +- pydantic_schemaorg/WearableSizeGroupGirls.py | 2 +- pydantic_schemaorg/WearableSizeGroupHusky.py | 2 +- .../WearableSizeGroupInfants.py | 2 +- .../WearableSizeGroupJuniors.py | 2 +- .../WearableSizeGroupMaternity.py | 2 +- pydantic_schemaorg/WearableSizeGroupMens.py | 2 +- pydantic_schemaorg/WearableSizeGroupMisses.py | 2 +- pydantic_schemaorg/WearableSizeGroupPetite.py | 2 +- pydantic_schemaorg/WearableSizeGroupPlus.py | 2 +- .../WearableSizeGroupRegular.py | 2 +- pydantic_schemaorg/WearableSizeGroupShort.py | 2 +- pydantic_schemaorg/WearableSizeGroupTall.py | 2 +- pydantic_schemaorg/WearableSizeGroupWomens.py | 2 +- pydantic_schemaorg/WearableSizeSystemAU.py | 2 +- pydantic_schemaorg/WearableSizeSystemBR.py | 2 +- pydantic_schemaorg/WearableSizeSystemCN.py | 2 +- .../WearableSizeSystemContinental.py | 2 +- pydantic_schemaorg/WearableSizeSystemDE.py | 2 +- .../WearableSizeSystemEN13402.py | 2 +- .../WearableSizeSystemEnumeration.py | 2 +- .../WearableSizeSystemEurope.py | 2 +- pydantic_schemaorg/WearableSizeSystemFR.py | 2 +- pydantic_schemaorg/WearableSizeSystemGS1.py | 2 +- pydantic_schemaorg/WearableSizeSystemIT.py | 2 +- pydantic_schemaorg/WearableSizeSystemJP.py | 2 +- pydantic_schemaorg/WearableSizeSystemMX.py | 2 +- pydantic_schemaorg/WearableSizeSystemUK.py | 2 +- pydantic_schemaorg/WearableSizeSystemUS.py | 2 +- pydantic_schemaorg/WebAPI.py | 2 +- pydantic_schemaorg/WebApplication.py | 2 +- pydantic_schemaorg/WebContent.py | 2 +- pydantic_schemaorg/WebPage.py | 6 +-- pydantic_schemaorg/WebPageElement.py | 2 +- pydantic_schemaorg/WebSite.py | 2 +- pydantic_schemaorg/Wednesday.py | 2 +- pydantic_schemaorg/WesternConventional.py | 2 +- pydantic_schemaorg/Wholesale.py | 2 +- pydantic_schemaorg/WholesaleStore.py | 2 +- pydantic_schemaorg/WinAction.py | 2 +- pydantic_schemaorg/Winery.py | 2 +- pydantic_schemaorg/Withdrawn.py | 2 +- pydantic_schemaorg/WorkBasedProgram.py | 2 +- pydantic_schemaorg/WorkersUnion.py | 2 +- pydantic_schemaorg/WriteAction.py | 2 +- pydantic_schemaorg/WritePermission.py | 2 +- pydantic_schemaorg/XPathType.py | 2 +- pydantic_schemaorg/XRay.py | 2 +- pydantic_schemaorg/ZoneBoardingPolicy.py | 2 +- pydantic_schemaorg/Zoo.py | 2 +- pydantic_schemaorg/_3DModel.py | 2 +- pydantic_schemaorg/__init__.py | 2 +- pydantic_schemaorg/__types__.py | 2 +- src/constants.py | 3 +- src/templates/model.py.tpl | 2 +- 1333 files changed, 1808 insertions(+), 1809 deletions(-) diff --git a/pydantic_schemaorg/AMRadioChannel.py b/pydantic_schemaorg/AMRadioChannel.py index f13e3e45..588f4f90 100644 --- a/pydantic_schemaorg/AMRadioChannel.py +++ b/pydantic_schemaorg/AMRadioChannel.py @@ -11,5 +11,5 @@ class AMRadioChannel(RadioChannel): See: https://schema.org/AMRadioChannel Model depth: 5 """ - type_: str = Field(default="AMRadioChannel", alias='@type') + type_: str = Field(default="AMRadioChannel", alias='@type', constant=True) diff --git a/pydantic_schemaorg/APIReference.py b/pydantic_schemaorg/APIReference.py index 0b28c5b7..c5fcb0ee 100644 --- a/pydantic_schemaorg/APIReference.py +++ b/pydantic_schemaorg/APIReference.py @@ -14,7 +14,7 @@ class APIReference(TechArticle): See: https://schema.org/APIReference Model depth: 5 """ - type_: str = Field(default="APIReference", alias='@type') + type_: str = Field(default="APIReference", alias='@type', constant=True) assemblyVersion: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="Associated product/technology version. e.g., .NET Framework 4.5.", diff --git a/pydantic_schemaorg/Abdomen.py b/pydantic_schemaorg/Abdomen.py index 6bd78800..7121bcbc 100644 --- a/pydantic_schemaorg/Abdomen.py +++ b/pydantic_schemaorg/Abdomen.py @@ -11,5 +11,5 @@ class Abdomen(PhysicalExam): See: https://schema.org/Abdomen Model depth: 5 """ - type_: str = Field(default="Abdomen", alias='@type') + type_: str = Field(default="Abdomen", alias='@type', constant=True) diff --git a/pydantic_schemaorg/AboutPage.py b/pydantic_schemaorg/AboutPage.py index 93706610..afa256e8 100644 --- a/pydantic_schemaorg/AboutPage.py +++ b/pydantic_schemaorg/AboutPage.py @@ -11,5 +11,5 @@ class AboutPage(WebPage): See: https://schema.org/AboutPage Model depth: 4 """ - type_: str = Field(default="AboutPage", alias='@type') + type_: str = Field(default="AboutPage", alias='@type', constant=True) diff --git a/pydantic_schemaorg/AcceptAction.py b/pydantic_schemaorg/AcceptAction.py index 122cb967..79ceb924 100644 --- a/pydantic_schemaorg/AcceptAction.py +++ b/pydantic_schemaorg/AcceptAction.py @@ -12,5 +12,5 @@ class AcceptAction(AllocateAction): See: https://schema.org/AcceptAction Model depth: 5 """ - type_: str = Field(default="AcceptAction", alias='@type') + type_: str = Field(default="AcceptAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Accommodation.py b/pydantic_schemaorg/Accommodation.py index c6bd1aaf..595da510 100644 --- a/pydantic_schemaorg/Accommodation.py +++ b/pydantic_schemaorg/Accommodation.py @@ -20,8 +20,8 @@ class Accommodation(Place): See: https://schema.org/Accommodation Model depth: 3 """ - type_: str = Field(default="Accommodation", alias='@type') - numberOfBedrooms: Optional[Union[List[Union[Decimal, 'Number', 'QuantitativeValue', str]], Decimal, 'Number', 'QuantitativeValue', str]] = Field( + type_: str = Field(default="Accommodation", alias='@type', constant=True) + numberOfBedrooms: Optional[Union[List[Union[int, float, 'Number', 'QuantitativeValue', str]], int, float, 'Number', 'QuantitativeValue', str]] = Field( default=None, description="The total integer number of bedrooms in a some [[Accommodation]], [[ApartmentComplex]]" "or [[FloorPlan]].", @@ -37,17 +37,17 @@ class Accommodation(Place): default=None, description="Indications regarding the permitted usage of the accommodation.", ) - numberOfPartialBathrooms: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( + numberOfPartialBathrooms: Optional[Union[List[Union[int, float, 'Number', str]], int, float, 'Number', str]] = Field( default=None, description="Number of partial bathrooms - The total number of half and ¼ bathrooms in an [[Accommodation]]." "This corresponds to the [BathroomsPartial field in RESO](https://ddwiki.reso.org/display/DDW17/BathroomsPartial+Field).", ) - yearBuilt: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( + yearBuilt: Optional[Union[List[Union[int, float, 'Number', str]], int, float, 'Number', str]] = Field( default=None, description="The year an [[Accommodation]] was constructed. This corresponds to the [YearBuilt" "field in RESO](https://ddwiki.reso.org/display/DDW17/YearBuilt+Field).", ) - leaseLength: Optional[Union[List[Union['QuantitativeValue', 'Duration', str]], 'QuantitativeValue', 'Duration', str]] = Field( + leaseLength: Optional[Union[List[Union['Duration', 'QuantitativeValue', str]], 'Duration', 'QuantitativeValue', str]] = Field( default=None, description="Length of the lease for some [[Accommodation]], either particular to some [[Offer]]" "or in some cases intrinsic to the property.", @@ -58,7 +58,7 @@ class Accommodation(Place): "property does not make a statement about whether the feature is included in an offer for" "the main accommodation or available at extra costs.", ) - numberOfRooms: Optional[Union[List[Union[Decimal, 'Number', 'QuantitativeValue', str]], Decimal, 'Number', 'QuantitativeValue', str]] = Field( + numberOfRooms: Optional[Union[List[Union[int, float, 'Number', 'QuantitativeValue', str]], int, float, 'Number', 'QuantitativeValue', str]] = Field( default=None, description="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" @@ -69,7 +69,7 @@ class Accommodation(Place): description="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.", ) - petsAllowed: Optional[Union[List[Union[StrictBool, 'Boolean', str, 'Text']], StrictBool, 'Boolean', str, 'Text']] = Field( + petsAllowed: Optional[Union[List[Union[str, 'Text', StrictBool, 'Boolean']], str, 'Text', StrictBool, 'Boolean']] = Field( default=None, description="Indicates whether pets are allowed to enter the accommodation or lodging business." "More detailed information can be put in a text value.", @@ -96,7 +96,7 @@ class Accommodation(Place): default=None, description="A floorplan of some [[Accommodation]].", ) - numberOfFullBathrooms: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( + numberOfFullBathrooms: Optional[Union[List[Union[int, float, 'Number', str]], int, float, 'Number', str]] = Field( default=None, description="Number of full bathrooms - The total number of full and ¾ bathrooms in an [[Accommodation]]." "This corresponds to the [BathroomsFull field in RESO](https://ddwiki.reso.org/display/DDW17/BathroomsFull+Field).", diff --git a/pydantic_schemaorg/AccountingService.py b/pydantic_schemaorg/AccountingService.py index 62a322a9..78c03566 100644 --- a/pydantic_schemaorg/AccountingService.py +++ b/pydantic_schemaorg/AccountingService.py @@ -12,5 +12,5 @@ class AccountingService(FinancialService): See: https://schema.org/AccountingService Model depth: 5 """ - type_: str = Field(default="AccountingService", alias='@type') + type_: str = Field(default="AccountingService", alias='@type', constant=True) diff --git a/pydantic_schemaorg/AchieveAction.py b/pydantic_schemaorg/AchieveAction.py index 590951ea..59d50176 100644 --- a/pydantic_schemaorg/AchieveAction.py +++ b/pydantic_schemaorg/AchieveAction.py @@ -12,5 +12,5 @@ class AchieveAction(Action): See: https://schema.org/AchieveAction Model depth: 3 """ - type_: str = Field(default="AchieveAction", alias='@type') + type_: str = Field(default="AchieveAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Action.py b/pydantic_schemaorg/Action.py index 3a05b793..40c2fa1e 100644 --- a/pydantic_schemaorg/Action.py +++ b/pydantic_schemaorg/Action.py @@ -20,7 +20,7 @@ class Action(Thing): See: https://schema.org/Action Model depth: 2 """ - type_: str = Field(default="Action", alias='@type') + type_: str = Field(default="Action", alias='@type', constant=True) result: Optional[Union[List[Union['Thing', str]], 'Thing', str]] = Field( default=None, description="The result produced in the action. e.g. John wrote *a book*.", @@ -31,7 +31,7 @@ class Action(Thing): "Also known as the semantic roles patient, affected or undergoer (which change their" "state) or theme (which doesn't). e.g. John read *a book*.", ) - participant: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + participant: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="Other co-agents that participated in the action indirectly. e.g. John wrote a book with" "*Steve*.", @@ -54,7 +54,7 @@ class Action(Thing): "Event uses startDate/endDate instead of startTime/endTime, even when describing" "dates with times. This situation may be clarified in future revisions.", ) - agent: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + agent: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="The direct performer or driver of the action (animate or inanimate). e.g. *John* wrote" "a book.", @@ -84,8 +84,8 @@ class Action(Thing): if TYPE_CHECKING: from pydantic_schemaorg.Thing import Thing - from pydantic_schemaorg.Person import Person from pydantic_schemaorg.Organization import Organization + from pydantic_schemaorg.Person import Person from pydantic_schemaorg.Text import Text from pydantic_schemaorg.VirtualLocation import VirtualLocation from pydantic_schemaorg.PostalAddress import PostalAddress diff --git a/pydantic_schemaorg/ActionAccessSpecification.py b/pydantic_schemaorg/ActionAccessSpecification.py index a2c0470d..70e5d887 100644 --- a/pydantic_schemaorg/ActionAccessSpecification.py +++ b/pydantic_schemaorg/ActionAccessSpecification.py @@ -17,17 +17,17 @@ class ActionAccessSpecification(Intangible): See: https://schema.org/ActionAccessSpecification Model depth: 3 """ - type_: str = Field(default="ActionAccessSpecification", alias='@type') + type_: str = Field(default="ActionAccessSpecification", alias='@type', constant=True) category: Optional[Union[List[Union[AnyUrl, 'URL', str, 'Text', 'PhysicalActivityCategory', 'Thing']], AnyUrl, 'URL', str, 'Text', 'PhysicalActivityCategory', 'Thing']] = Field( default=None, description="A category for the item. Greater signs or slashes can be used to informally indicate a" "category hierarchy.", ) - availabilityStarts: Optional[Union[List[Union[ISO8601Date, 'DateTime', time, 'Time', ISO8601Date, 'Date', str]], ISO8601Date, 'DateTime', time, 'Time', ISO8601Date, 'Date', str]] = Field( + availabilityStarts: Optional[Union[List[Union[ISO8601Date, 'DateTime', ISO8601Date, 'Date', time, 'Time', str]], ISO8601Date, 'DateTime', ISO8601Date, 'Date', time, 'Time', str]] = Field( default=None, description="The beginning of the availability of the product or service included in the offer.", ) - eligibleRegion: Optional[Union[List[Union[str, 'Text', 'GeoShape', 'Place']], str, 'Text', 'GeoShape', 'Place']] = Field( + eligibleRegion: Optional[Union[List[Union[str, 'Text', 'Place', 'GeoShape']], str, 'Text', 'Place', 'GeoShape']] = Field( default=None, description="The ISO 3166-1 (ISO 3166-1 alpha-2) or ISO 3166-2 code, the place, or the GeoShape for" "the geo-political region(s) for which the offer or delivery charge specification is" @@ -43,11 +43,11 @@ class ActionAccessSpecification(Intangible): description="An Offer which must be accepted before the user can perform the Action. For example, the" "user may need to buy a movie before being able to watch it.", ) - availabilityEnds: Optional[Union[List[Union[ISO8601Date, 'DateTime', time, 'Time', ISO8601Date, 'Date', str]], ISO8601Date, 'DateTime', time, 'Time', ISO8601Date, 'Date', str]] = Field( + availabilityEnds: Optional[Union[List[Union[ISO8601Date, 'DateTime', ISO8601Date, 'Date', time, 'Time', str]], ISO8601Date, 'DateTime', ISO8601Date, 'Date', time, 'Time', str]] = Field( default=None, description="The end of the availability of the product or service included in the offer.", ) - ineligibleRegion: Optional[Union[List[Union[str, 'Text', 'GeoShape', 'Place']], str, 'Text', 'GeoShape', 'Place']] = Field( + ineligibleRegion: Optional[Union[List[Union[str, 'Text', 'Place', 'GeoShape']], str, 'Text', 'Place', 'GeoShape']] = Field( default=None, description="The ISO 3166-1 (ISO 3166-1 alpha-2) or ISO 3166-2 code, the place, or the GeoShape for" "the geo-political region(s) for which the offer or delivery charge specification is" @@ -61,10 +61,10 @@ class ActionAccessSpecification(Intangible): from pydantic_schemaorg.PhysicalActivityCategory import PhysicalActivityCategory from pydantic_schemaorg.Thing import Thing from pydantic_schemaorg.DateTime import DateTime - from pydantic_schemaorg.Time import Time from pydantic_schemaorg.Date import Date - from pydantic_schemaorg.GeoShape import GeoShape + from pydantic_schemaorg.Time import Time from pydantic_schemaorg.Place import Place + from pydantic_schemaorg.GeoShape import GeoShape from pydantic_schemaorg.Boolean import Boolean from pydantic_schemaorg.MediaSubscription import MediaSubscription from pydantic_schemaorg.Offer import Offer diff --git a/pydantic_schemaorg/ActionStatusType.py b/pydantic_schemaorg/ActionStatusType.py index 233ea473..469a0b13 100644 --- a/pydantic_schemaorg/ActionStatusType.py +++ b/pydantic_schemaorg/ActionStatusType.py @@ -11,5 +11,5 @@ class ActionStatusType(StatusEnumeration): See: https://schema.org/ActionStatusType Model depth: 5 """ - type_: str = Field(default="ActionStatusType", alias='@type') + type_: str = Field(default="ActionStatusType", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ActivateAction.py b/pydantic_schemaorg/ActivateAction.py index fdd99690..db66472c 100644 --- a/pydantic_schemaorg/ActivateAction.py +++ b/pydantic_schemaorg/ActivateAction.py @@ -12,5 +12,5 @@ class ActivateAction(ControlAction): See: https://schema.org/ActivateAction Model depth: 4 """ - type_: str = Field(default="ActivateAction", alias='@type') + type_: str = Field(default="ActivateAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ActivationFee.py b/pydantic_schemaorg/ActivationFee.py index be38963f..5e8fa01f 100644 --- a/pydantic_schemaorg/ActivationFee.py +++ b/pydantic_schemaorg/ActivationFee.py @@ -12,5 +12,5 @@ class ActivationFee(PriceComponentTypeEnumeration): See: https://schema.org/ActivationFee Model depth: 5 """ - type_: str = Field(default="ActivationFee", alias='@type') + type_: str = Field(default="ActivationFee", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ActiveActionStatus.py b/pydantic_schemaorg/ActiveActionStatus.py index fee928fe..883a0c6c 100644 --- a/pydantic_schemaorg/ActiveActionStatus.py +++ b/pydantic_schemaorg/ActiveActionStatus.py @@ -11,5 +11,5 @@ class ActiveActionStatus(ActionStatusType): See: https://schema.org/ActiveActionStatus Model depth: 6 """ - type_: str = Field(default="ActiveActionStatus", alias='@type') + type_: str = Field(default="ActiveActionStatus", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ActiveNotRecruiting.py b/pydantic_schemaorg/ActiveNotRecruiting.py index 276f0e96..14baf2bb 100644 --- a/pydantic_schemaorg/ActiveNotRecruiting.py +++ b/pydantic_schemaorg/ActiveNotRecruiting.py @@ -11,5 +11,5 @@ class ActiveNotRecruiting(MedicalStudyStatus): See: https://schema.org/ActiveNotRecruiting Model depth: 6 """ - type_: str = Field(default="ActiveNotRecruiting", alias='@type') + type_: str = Field(default="ActiveNotRecruiting", alias='@type', constant=True) diff --git a/pydantic_schemaorg/AddAction.py b/pydantic_schemaorg/AddAction.py index 9e401da2..83fafead 100644 --- a/pydantic_schemaorg/AddAction.py +++ b/pydantic_schemaorg/AddAction.py @@ -11,5 +11,5 @@ class AddAction(UpdateAction): See: https://schema.org/AddAction Model depth: 4 """ - type_: str = Field(default="AddAction", alias='@type') + type_: str = Field(default="AddAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/AdministrativeArea.py b/pydantic_schemaorg/AdministrativeArea.py index c5336914..4da0a404 100644 --- a/pydantic_schemaorg/AdministrativeArea.py +++ b/pydantic_schemaorg/AdministrativeArea.py @@ -11,5 +11,5 @@ class AdministrativeArea(Place): See: https://schema.org/AdministrativeArea Model depth: 3 """ - type_: str = Field(default="AdministrativeArea", alias='@type') + type_: str = Field(default="AdministrativeArea", alias='@type', constant=True) diff --git a/pydantic_schemaorg/AdultEntertainment.py b/pydantic_schemaorg/AdultEntertainment.py index 4d8d9e51..819f768e 100644 --- a/pydantic_schemaorg/AdultEntertainment.py +++ b/pydantic_schemaorg/AdultEntertainment.py @@ -11,5 +11,5 @@ class AdultEntertainment(EntertainmentBusiness): See: https://schema.org/AdultEntertainment Model depth: 5 """ - type_: str = Field(default="AdultEntertainment", alias='@type') + type_: str = Field(default="AdultEntertainment", alias='@type', constant=True) diff --git a/pydantic_schemaorg/AdvertiserContentArticle.py b/pydantic_schemaorg/AdvertiserContentArticle.py index 15463012..5296fa4a 100644 --- a/pydantic_schemaorg/AdvertiserContentArticle.py +++ b/pydantic_schemaorg/AdvertiserContentArticle.py @@ -13,5 +13,5 @@ class AdvertiserContentArticle(Article): See: https://schema.org/AdvertiserContentArticle Model depth: 4 """ - type_: str = Field(default="AdvertiserContentArticle", alias='@type') + type_: str = Field(default="AdvertiserContentArticle", alias='@type', constant=True) diff --git a/pydantic_schemaorg/AerobicActivity.py b/pydantic_schemaorg/AerobicActivity.py index d995a6df..4fb33b72 100644 --- a/pydantic_schemaorg/AerobicActivity.py +++ b/pydantic_schemaorg/AerobicActivity.py @@ -13,5 +13,5 @@ class AerobicActivity(PhysicalActivityCategory): See: https://schema.org/AerobicActivity Model depth: 5 """ - type_: str = Field(default="AerobicActivity", alias='@type') + type_: str = Field(default="AerobicActivity", alias='@type', constant=True) diff --git a/pydantic_schemaorg/AggregateOffer.py b/pydantic_schemaorg/AggregateOffer.py index 61d30297..064834c5 100644 --- a/pydantic_schemaorg/AggregateOffer.py +++ b/pydantic_schemaorg/AggregateOffer.py @@ -19,8 +19,8 @@ class AggregateOffer(Offer): See: https://schema.org/AggregateOffer Model depth: 4 """ - type_: str = Field(default="AggregateOffer", alias='@type') - offers: Optional[Union[List[Union['Offer', 'Demand', str]], 'Offer', 'Demand', str]] = Field( + type_: str = Field(default="AggregateOffer", alias='@type', constant=True) + offers: Optional[Union[List[Union['Demand', 'Offer', str]], 'Demand', 'Offer', str]] = Field( default=None, description="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]]" @@ -29,14 +29,14 @@ class AggregateOffer(Offer): "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.", ) - lowPrice: Optional[Union[List[Union[Decimal, 'Number', str, 'Text']], Decimal, 'Number', str, 'Text']] = Field( + lowPrice: Optional[Union[List[Union[int, float, 'Number', str, 'Text']], int, float, 'Number', str, 'Text']] = Field( default=None, description="The lowest price of all offers available. Usage guidelines: * Use values from 0123456789" "(Unicode 'DIGIT ZERO' (U+0030) to 'DIGIT NINE' (U+0039)) rather than superficially" "similiar Unicode symbols. * Use '.' (Unicode 'FULL STOP' (U+002E)) rather than ',' to" "indicate a decimal point. Avoid using these symbols as a readability separator.", ) - highPrice: Optional[Union[List[Union[Decimal, 'Number', str, 'Text']], Decimal, 'Number', str, 'Text']] = Field( + highPrice: Optional[Union[List[Union[int, float, 'Number', str, 'Text']], int, float, 'Number', str, 'Text']] = Field( default=None, description="The highest price of all offers available. Usage guidelines: * Use values from 0123456789" "(Unicode 'DIGIT ZERO' (U+0030) to 'DIGIT NINE' (U+0039)) rather than superficially" @@ -50,8 +50,8 @@ class AggregateOffer(Offer): if TYPE_CHECKING: - from pydantic_schemaorg.Offer import Offer from pydantic_schemaorg.Demand import Demand + from pydantic_schemaorg.Offer import Offer from pydantic_schemaorg.Number import Number from pydantic_schemaorg.Text import Text from pydantic_schemaorg.Integer import Integer diff --git a/pydantic_schemaorg/AggregateRating.py b/pydantic_schemaorg/AggregateRating.py index 3e400786..56605785 100644 --- a/pydantic_schemaorg/AggregateRating.py +++ b/pydantic_schemaorg/AggregateRating.py @@ -14,7 +14,7 @@ class AggregateRating(Rating): See: https://schema.org/AggregateRating Model depth: 4 """ - type_: str = Field(default="AggregateRating", alias='@type') + type_: str = Field(default="AggregateRating", alias='@type', constant=True) reviewCount: Optional[Union[List[Union[int, 'Integer', str]], int, 'Integer', str]] = Field( default=None, description="The count of total number of reviews.", diff --git a/pydantic_schemaorg/AgreeAction.py b/pydantic_schemaorg/AgreeAction.py index 3885dfa6..496d8abc 100644 --- a/pydantic_schemaorg/AgreeAction.py +++ b/pydantic_schemaorg/AgreeAction.py @@ -12,5 +12,5 @@ class AgreeAction(ReactAction): See: https://schema.org/AgreeAction Model depth: 5 """ - type_: str = Field(default="AgreeAction", alias='@type') + type_: str = Field(default="AgreeAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Airline.py b/pydantic_schemaorg/Airline.py index 9eb47da2..2929a153 100644 --- a/pydantic_schemaorg/Airline.py +++ b/pydantic_schemaorg/Airline.py @@ -14,7 +14,7 @@ class Airline(Organization): See: https://schema.org/Airline Model depth: 3 """ - type_: str = Field(default="Airline", alias='@type') + type_: str = Field(default="Airline", alias='@type', constant=True) boardingPolicy: Optional[Union[List[Union['BoardingPolicyType', str]], 'BoardingPolicyType', str]] = Field( default=None, description="The type of boarding policy used by the airline (e.g. zone-based or group-based).", diff --git a/pydantic_schemaorg/Airport.py b/pydantic_schemaorg/Airport.py index 18f9e519..6063547e 100644 --- a/pydantic_schemaorg/Airport.py +++ b/pydantic_schemaorg/Airport.py @@ -14,7 +14,7 @@ class Airport(CivicStructure): See: https://schema.org/Airport Model depth: 4 """ - type_: str = Field(default="Airport", alias='@type') + type_: str = Field(default="Airport", alias='@type', constant=True) iataCode: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="IATA identifier for an airline or airport.", diff --git a/pydantic_schemaorg/AlbumRelease.py b/pydantic_schemaorg/AlbumRelease.py index 9f0bda75..2aa8ad3d 100644 --- a/pydantic_schemaorg/AlbumRelease.py +++ b/pydantic_schemaorg/AlbumRelease.py @@ -11,5 +11,5 @@ class AlbumRelease(MusicAlbumReleaseType): See: https://schema.org/AlbumRelease Model depth: 5 """ - type_: str = Field(default="AlbumRelease", alias='@type') + type_: str = Field(default="AlbumRelease", alias='@type', constant=True) diff --git a/pydantic_schemaorg/AlignmentObject.py b/pydantic_schemaorg/AlignmentObject.py index 0e58cb97..fa9f474b 100644 --- a/pydantic_schemaorg/AlignmentObject.py +++ b/pydantic_schemaorg/AlignmentObject.py @@ -18,7 +18,7 @@ class AlignmentObject(Intangible): See: https://schema.org/AlignmentObject Model depth: 3 """ - type_: str = Field(default="AlignmentObject", alias='@type') + type_: str = Field(default="AlignmentObject", alias='@type', constant=True) alignmentType: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="A category of alignment between the learning resource and the framework node. Recommended" diff --git a/pydantic_schemaorg/AllWheelDriveConfiguration.py b/pydantic_schemaorg/AllWheelDriveConfiguration.py index b94e7070..849d9eb0 100644 --- a/pydantic_schemaorg/AllWheelDriveConfiguration.py +++ b/pydantic_schemaorg/AllWheelDriveConfiguration.py @@ -11,5 +11,5 @@ class AllWheelDriveConfiguration(DriveWheelConfigurationValue): See: https://schema.org/AllWheelDriveConfiguration Model depth: 6 """ - type_: str = Field(default="AllWheelDriveConfiguration", alias='@type') + type_: str = Field(default="AllWheelDriveConfiguration", alias='@type', constant=True) diff --git a/pydantic_schemaorg/AllergiesHealthAspect.py b/pydantic_schemaorg/AllergiesHealthAspect.py index fcafc961..b2b26902 100644 --- a/pydantic_schemaorg/AllergiesHealthAspect.py +++ b/pydantic_schemaorg/AllergiesHealthAspect.py @@ -11,5 +11,5 @@ class AllergiesHealthAspect(HealthAspectEnumeration): See: https://schema.org/AllergiesHealthAspect Model depth: 5 """ - type_: str = Field(default="AllergiesHealthAspect", alias='@type') + type_: str = Field(default="AllergiesHealthAspect", alias='@type', constant=True) diff --git a/pydantic_schemaorg/AllocateAction.py b/pydantic_schemaorg/AllocateAction.py index b84df43e..a4761b7f 100644 --- a/pydantic_schemaorg/AllocateAction.py +++ b/pydantic_schemaorg/AllocateAction.py @@ -11,5 +11,5 @@ class AllocateAction(OrganizeAction): See: https://schema.org/AllocateAction Model depth: 4 """ - type_: str = Field(default="AllocateAction", alias='@type') + type_: str = Field(default="AllocateAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/AmpStory.py b/pydantic_schemaorg/AmpStory.py index 8039bd0b..09934cdb 100644 --- a/pydantic_schemaorg/AmpStory.py +++ b/pydantic_schemaorg/AmpStory.py @@ -12,5 +12,5 @@ class AmpStory(CreativeWork): See: https://schema.org/AmpStory Model depth: 3 """ - type_: str = Field(default="AmpStory", alias='@type') + type_: str = Field(default="AmpStory", alias='@type', constant=True) diff --git a/pydantic_schemaorg/AmusementPark.py b/pydantic_schemaorg/AmusementPark.py index b147883d..443125f7 100644 --- a/pydantic_schemaorg/AmusementPark.py +++ b/pydantic_schemaorg/AmusementPark.py @@ -11,5 +11,5 @@ class AmusementPark(EntertainmentBusiness): See: https://schema.org/AmusementPark Model depth: 5 """ - type_: str = Field(default="AmusementPark", alias='@type') + type_: str = Field(default="AmusementPark", alias='@type', constant=True) diff --git a/pydantic_schemaorg/AnaerobicActivity.py b/pydantic_schemaorg/AnaerobicActivity.py index 0cd996eb..c2463ad9 100644 --- a/pydantic_schemaorg/AnaerobicActivity.py +++ b/pydantic_schemaorg/AnaerobicActivity.py @@ -12,5 +12,5 @@ class AnaerobicActivity(PhysicalActivityCategory): See: https://schema.org/AnaerobicActivity Model depth: 5 """ - type_: str = Field(default="AnaerobicActivity", alias='@type') + type_: str = Field(default="AnaerobicActivity", alias='@type', constant=True) diff --git a/pydantic_schemaorg/AnalysisNewsArticle.py b/pydantic_schemaorg/AnalysisNewsArticle.py index abe0185b..a8e52393 100644 --- a/pydantic_schemaorg/AnalysisNewsArticle.py +++ b/pydantic_schemaorg/AnalysisNewsArticle.py @@ -13,5 +13,5 @@ class AnalysisNewsArticle(NewsArticle): See: https://schema.org/AnalysisNewsArticle Model depth: 5 """ - type_: str = Field(default="AnalysisNewsArticle", alias='@type') + type_: str = Field(default="AnalysisNewsArticle", alias='@type', constant=True) diff --git a/pydantic_schemaorg/AnatomicalStructure.py b/pydantic_schemaorg/AnatomicalStructure.py index 1597383b..6972f1d7 100644 --- a/pydantic_schemaorg/AnatomicalStructure.py +++ b/pydantic_schemaorg/AnatomicalStructure.py @@ -15,7 +15,7 @@ class AnatomicalStructure(MedicalEntity): See: https://schema.org/AnatomicalStructure Model depth: 3 """ - type_: str = Field(default="AnatomicalStructure", alias='@type') + type_: str = Field(default="AnatomicalStructure", alias='@type', constant=True) diagram: Optional[Union[List[Union['ImageObject', str]], 'ImageObject', str]] = Field( default=None, description="An image containing a diagram that illustrates the structure and/or its component substructures" diff --git a/pydantic_schemaorg/AnatomicalSystem.py b/pydantic_schemaorg/AnatomicalSystem.py index 1889d5da..baf31af3 100644 --- a/pydantic_schemaorg/AnatomicalSystem.py +++ b/pydantic_schemaorg/AnatomicalSystem.py @@ -18,7 +18,7 @@ class AnatomicalSystem(MedicalEntity): See: https://schema.org/AnatomicalSystem Model depth: 3 """ - type_: str = Field(default="AnatomicalSystem", alias='@type') + type_: str = Field(default="AnatomicalSystem", alias='@type', constant=True) comprisedOf: Optional[Union[List[Union['AnatomicalStructure', 'AnatomicalSystem', str]], 'AnatomicalStructure', 'AnatomicalSystem', str]] = Field( default=None, description="Specifying something physically contained by something else. Typically used here" diff --git a/pydantic_schemaorg/Anesthesia.py b/pydantic_schemaorg/Anesthesia.py index 38ef56bd..5b79e2e1 100644 --- a/pydantic_schemaorg/Anesthesia.py +++ b/pydantic_schemaorg/Anesthesia.py @@ -12,5 +12,5 @@ class Anesthesia(MedicalSpecialty): See: https://schema.org/Anesthesia Model depth: 6 """ - type_: str = Field(default="Anesthesia", alias='@type') + type_: str = Field(default="Anesthesia", alias='@type', constant=True) diff --git a/pydantic_schemaorg/AnimalShelter.py b/pydantic_schemaorg/AnimalShelter.py index 2deb6f03..3086c70d 100644 --- a/pydantic_schemaorg/AnimalShelter.py +++ b/pydantic_schemaorg/AnimalShelter.py @@ -11,5 +11,5 @@ class AnimalShelter(LocalBusiness): See: https://schema.org/AnimalShelter Model depth: 4 """ - type_: str = Field(default="AnimalShelter", alias='@type') + type_: str = Field(default="AnimalShelter", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Answer.py b/pydantic_schemaorg/Answer.py index 85d506ba..6f760cb0 100644 --- a/pydantic_schemaorg/Answer.py +++ b/pydantic_schemaorg/Answer.py @@ -14,7 +14,7 @@ class Answer(Comment): See: https://schema.org/Answer Model depth: 4 """ - type_: str = Field(default="Answer", alias='@type') + type_: str = Field(default="Answer", alias='@type', constant=True) answerExplanation: Optional[Union[List[Union['Comment', 'WebContent', str]], 'Comment', 'WebContent', str]] = Field( default=None, description="A step-by-step or full explanation about Answer. Can outline how this Answer was achieved" diff --git a/pydantic_schemaorg/Apartment.py b/pydantic_schemaorg/Apartment.py index 3ae744b9..115969d5 100644 --- a/pydantic_schemaorg/Apartment.py +++ b/pydantic_schemaorg/Apartment.py @@ -17,8 +17,8 @@ class Apartment(Accommodation): See: https://schema.org/Apartment Model depth: 4 """ - type_: str = Field(default="Apartment", alias='@type') - numberOfRooms: Optional[Union[List[Union[Decimal, 'Number', 'QuantitativeValue', str]], Decimal, 'Number', 'QuantitativeValue', str]] = Field( + type_: str = Field(default="Apartment", alias='@type', constant=True) + numberOfRooms: Optional[Union[List[Union[int, float, 'Number', 'QuantitativeValue', str]], int, float, 'Number', 'QuantitativeValue', str]] = Field( default=None, description="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" diff --git a/pydantic_schemaorg/ApartmentComplex.py b/pydantic_schemaorg/ApartmentComplex.py index aa6f74c3..0fecf08c 100644 --- a/pydantic_schemaorg/ApartmentComplex.py +++ b/pydantic_schemaorg/ApartmentComplex.py @@ -16,8 +16,8 @@ class ApartmentComplex(Residence): See: https://schema.org/ApartmentComplex Model depth: 4 """ - type_: str = Field(default="ApartmentComplex", alias='@type') - numberOfBedrooms: Optional[Union[List[Union[Decimal, 'Number', 'QuantitativeValue', str]], Decimal, 'Number', 'QuantitativeValue', str]] = Field( + type_: str = Field(default="ApartmentComplex", alias='@type', constant=True) + numberOfBedrooms: Optional[Union[List[Union[int, float, 'Number', 'QuantitativeValue', str]], int, float, 'Number', 'QuantitativeValue', str]] = Field( default=None, description="The total integer number of bedrooms in a some [[Accommodation]], [[ApartmentComplex]]" "or [[FloorPlan]].", @@ -33,7 +33,7 @@ class ApartmentComplex(Residence): "an [[ApartmentComplex]], or the number of accommodation units for a specific [[FloorPlan]]" "(within its specific [[ApartmentComplex]]). See also [[numberOfAvailableAccommodationUnits]].", ) - petsAllowed: Optional[Union[List[Union[StrictBool, 'Boolean', str, 'Text']], StrictBool, 'Boolean', str, 'Text']] = Field( + petsAllowed: Optional[Union[List[Union[str, 'Text', StrictBool, 'Boolean']], str, 'Text', StrictBool, 'Boolean']] = Field( default=None, description="Indicates whether pets are allowed to enter the accommodation or lodging business." "More detailed information can be put in a text value.", @@ -50,5 +50,5 @@ class ApartmentComplex(Residence): from pydantic_schemaorg.Number import Number from pydantic_schemaorg.QuantitativeValue import QuantitativeValue from pydantic_schemaorg.URL import URL - from pydantic_schemaorg.Boolean import Boolean from pydantic_schemaorg.Text import Text + from pydantic_schemaorg.Boolean import Boolean diff --git a/pydantic_schemaorg/Appearance.py b/pydantic_schemaorg/Appearance.py index 91dd66a6..543223e3 100644 --- a/pydantic_schemaorg/Appearance.py +++ b/pydantic_schemaorg/Appearance.py @@ -11,5 +11,5 @@ class Appearance(PhysicalExam): See: https://schema.org/Appearance Model depth: 5 """ - type_: str = Field(default="Appearance", alias='@type') + type_: str = Field(default="Appearance", alias='@type', constant=True) diff --git a/pydantic_schemaorg/AppendAction.py b/pydantic_schemaorg/AppendAction.py index bb942c6c..e251cfef 100644 --- a/pydantic_schemaorg/AppendAction.py +++ b/pydantic_schemaorg/AppendAction.py @@ -11,5 +11,5 @@ class AppendAction(InsertAction): See: https://schema.org/AppendAction Model depth: 6 """ - type_: str = Field(default="AppendAction", alias='@type') + type_: str = Field(default="AppendAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ApplyAction.py b/pydantic_schemaorg/ApplyAction.py index 2f26ff7b..5ac6a6ea 100644 --- a/pydantic_schemaorg/ApplyAction.py +++ b/pydantic_schemaorg/ApplyAction.py @@ -13,5 +13,5 @@ class ApplyAction(OrganizeAction): See: https://schema.org/ApplyAction Model depth: 4 """ - type_: str = Field(default="ApplyAction", alias='@type') + type_: str = Field(default="ApplyAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ApprovedIndication.py b/pydantic_schemaorg/ApprovedIndication.py index 6bba071e..3926dd19 100644 --- a/pydantic_schemaorg/ApprovedIndication.py +++ b/pydantic_schemaorg/ApprovedIndication.py @@ -13,5 +13,5 @@ class ApprovedIndication(MedicalIndication): See: https://schema.org/ApprovedIndication Model depth: 4 """ - type_: str = Field(default="ApprovedIndication", alias='@type') + type_: str = Field(default="ApprovedIndication", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Aquarium.py b/pydantic_schemaorg/Aquarium.py index 9b2da30b..dbd150b7 100644 --- a/pydantic_schemaorg/Aquarium.py +++ b/pydantic_schemaorg/Aquarium.py @@ -11,5 +11,5 @@ class Aquarium(CivicStructure): See: https://schema.org/Aquarium Model depth: 4 """ - type_: str = Field(default="Aquarium", alias='@type') + type_: str = Field(default="Aquarium", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ArchiveComponent.py b/pydantic_schemaorg/ArchiveComponent.py index 78f21161..40b11a37 100644 --- a/pydantic_schemaorg/ArchiveComponent.py +++ b/pydantic_schemaorg/ArchiveComponent.py @@ -15,7 +15,7 @@ class ArchiveComponent(CreativeWork): See: https://schema.org/ArchiveComponent Model depth: 3 """ - type_: str = Field(default="ArchiveComponent", alias='@type') + type_: str = Field(default="ArchiveComponent", alias='@type', constant=True) itemLocation: Optional[Union[List[Union[str, 'Text', 'PostalAddress', 'Place']], str, 'Text', 'PostalAddress', 'Place']] = Field( default=None, description="Current location of the item.", diff --git a/pydantic_schemaorg/ArchiveOrganization.py b/pydantic_schemaorg/ArchiveOrganization.py index 50af2101..a5e77cab 100644 --- a/pydantic_schemaorg/ArchiveOrganization.py +++ b/pydantic_schemaorg/ArchiveOrganization.py @@ -15,7 +15,7 @@ class ArchiveOrganization(LocalBusiness): See: https://schema.org/ArchiveOrganization Model depth: 4 """ - type_: str = Field(default="ArchiveOrganization", alias='@type') + type_: str = Field(default="ArchiveOrganization", alias='@type', constant=True) archiveHeld: Optional[Union[List[Union['ArchiveComponent', str]], 'ArchiveComponent', str]] = Field( default=None, description="Collection, [fonds](https://en.wikipedia.org/wiki/Fonds), or item held, kept" diff --git a/pydantic_schemaorg/ArriveAction.py b/pydantic_schemaorg/ArriveAction.py index 00ccf982..577b26e5 100644 --- a/pydantic_schemaorg/ArriveAction.py +++ b/pydantic_schemaorg/ArriveAction.py @@ -12,5 +12,5 @@ class ArriveAction(MoveAction): See: https://schema.org/ArriveAction Model depth: 4 """ - type_: str = Field(default="ArriveAction", alias='@type') + type_: str = Field(default="ArriveAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ArtGallery.py b/pydantic_schemaorg/ArtGallery.py index e4402c22..98bbbcd2 100644 --- a/pydantic_schemaorg/ArtGallery.py +++ b/pydantic_schemaorg/ArtGallery.py @@ -11,5 +11,5 @@ class ArtGallery(EntertainmentBusiness): See: https://schema.org/ArtGallery Model depth: 5 """ - type_: str = Field(default="ArtGallery", alias='@type') + type_: str = Field(default="ArtGallery", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Artery.py b/pydantic_schemaorg/Artery.py index b4c59f05..af132253 100644 --- a/pydantic_schemaorg/Artery.py +++ b/pydantic_schemaorg/Artery.py @@ -14,7 +14,7 @@ class Artery(Vessel): See: https://schema.org/Artery Model depth: 5 """ - type_: str = Field(default="Artery", alias='@type') + type_: str = Field(default="Artery", alias='@type', constant=True) supplyTo: Optional[Union[List[Union['AnatomicalStructure', str]], 'AnatomicalStructure', str]] = Field( default=None, description="The area to which the artery supplies blood.", diff --git a/pydantic_schemaorg/Article.py b/pydantic_schemaorg/Article.py index 014140a0..b98c2729 100644 --- a/pydantic_schemaorg/Article.py +++ b/pydantic_schemaorg/Article.py @@ -17,7 +17,7 @@ class Article(CreativeWork): See: https://schema.org/Article Model depth: 3 """ - type_: str = Field(default="Article", alias='@type') + type_: str = Field(default="Article", alias='@type', constant=True) backstory: Optional[Union[List[Union[str, 'Text', 'CreativeWork']], str, 'Text', 'CreativeWork']] = Field( default=None, description="For an [[Article]], typically a [[NewsArticle]], the backstory property provides" diff --git a/pydantic_schemaorg/AskAction.py b/pydantic_schemaorg/AskAction.py index 6727b554..2fdf368a 100644 --- a/pydantic_schemaorg/AskAction.py +++ b/pydantic_schemaorg/AskAction.py @@ -15,7 +15,7 @@ class AskAction(CommunicateAction): See: https://schema.org/AskAction Model depth: 5 """ - type_: str = Field(default="AskAction", alias='@type') + type_: str = Field(default="AskAction", alias='@type', constant=True) question: Optional[Union[List[Union['Question', str]], 'Question', str]] = Field( default=None, description="A sub property of object. A question.", diff --git a/pydantic_schemaorg/AskPublicNewsArticle.py b/pydantic_schemaorg/AskPublicNewsArticle.py index 86e225c1..cfb4321c 100644 --- a/pydantic_schemaorg/AskPublicNewsArticle.py +++ b/pydantic_schemaorg/AskPublicNewsArticle.py @@ -13,5 +13,5 @@ class AskPublicNewsArticle(NewsArticle): See: https://schema.org/AskPublicNewsArticle Model depth: 5 """ - type_: str = Field(default="AskPublicNewsArticle", alias='@type') + type_: str = Field(default="AskPublicNewsArticle", alias='@type', constant=True) diff --git a/pydantic_schemaorg/AssessAction.py b/pydantic_schemaorg/AssessAction.py index e94b37ab..0741f767 100644 --- a/pydantic_schemaorg/AssessAction.py +++ b/pydantic_schemaorg/AssessAction.py @@ -11,5 +11,5 @@ class AssessAction(Action): See: https://schema.org/AssessAction Model depth: 3 """ - type_: str = Field(default="AssessAction", alias='@type') + type_: str = Field(default="AssessAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/AssignAction.py b/pydantic_schemaorg/AssignAction.py index 80c61013..d433289a 100644 --- a/pydantic_schemaorg/AssignAction.py +++ b/pydantic_schemaorg/AssignAction.py @@ -11,5 +11,5 @@ class AssignAction(AllocateAction): See: https://schema.org/AssignAction Model depth: 5 """ - type_: str = Field(default="AssignAction", alias='@type') + type_: str = Field(default="AssignAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Atlas.py b/pydantic_schemaorg/Atlas.py index 05d1e7a2..37818661 100644 --- a/pydantic_schemaorg/Atlas.py +++ b/pydantic_schemaorg/Atlas.py @@ -12,5 +12,5 @@ class Atlas(CreativeWork): See: https://schema.org/Atlas Model depth: 3 """ - type_: str = Field(default="Atlas", alias='@type') + type_: str = Field(default="Atlas", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Attorney.py b/pydantic_schemaorg/Attorney.py index dfff6fd2..75934877 100644 --- a/pydantic_schemaorg/Attorney.py +++ b/pydantic_schemaorg/Attorney.py @@ -12,5 +12,5 @@ class Attorney(LegalService): See: https://schema.org/Attorney Model depth: 5 """ - type_: str = Field(default="Attorney", alias='@type') + type_: str = Field(default="Attorney", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Audience.py b/pydantic_schemaorg/Audience.py index f62d41f2..197508f6 100644 --- a/pydantic_schemaorg/Audience.py +++ b/pydantic_schemaorg/Audience.py @@ -14,7 +14,7 @@ class Audience(Intangible): See: https://schema.org/Audience Model depth: 3 """ - type_: str = Field(default="Audience", alias='@type') + type_: str = Field(default="Audience", alias='@type', constant=True) audienceType: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="The target group associated with a given audience (e.g. veterans, car owners, musicians," diff --git a/pydantic_schemaorg/AudioObject.py b/pydantic_schemaorg/AudioObject.py index 1c3f91a9..7b958712 100644 --- a/pydantic_schemaorg/AudioObject.py +++ b/pydantic_schemaorg/AudioObject.py @@ -14,7 +14,7 @@ class AudioObject(MediaObject): See: https://schema.org/AudioObject Model depth: 4 """ - type_: str = Field(default="AudioObject", alias='@type') + type_: str = Field(default="AudioObject", alias='@type', constant=True) embeddedTextCaption: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="Represents textual captioning from a [[MediaObject]], e.g. text of a 'meme'.", diff --git a/pydantic_schemaorg/AudioObjectSnapshot.py b/pydantic_schemaorg/AudioObjectSnapshot.py index f34c14de..56c2856a 100644 --- a/pydantic_schemaorg/AudioObjectSnapshot.py +++ b/pydantic_schemaorg/AudioObjectSnapshot.py @@ -15,5 +15,5 @@ class AudioObjectSnapshot(AudioObject): See: https://schema.org/AudioObjectSnapshot Model depth: 5 """ - type_: str = Field(default="AudioObjectSnapshot", alias='@type') + type_: str = Field(default="AudioObjectSnapshot", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Audiobook.py b/pydantic_schemaorg/Audiobook.py index 6cc0d718..3fc19659 100644 --- a/pydantic_schemaorg/Audiobook.py +++ b/pydantic_schemaorg/Audiobook.py @@ -15,7 +15,7 @@ class Audiobook(AudioObject, Book): See: https://schema.org/Audiobook Model depth: 4 """ - type_: str = Field(default="Audiobook", alias='@type') + type_: str = Field(default="Audiobook", alias='@type', constant=True) duration: Optional[Union[List[Union['Duration', str]], 'Duration', str]] = Field( default=None, description="The duration of the item (movie, audio recording, event, etc.) in [ISO 8601 date format](http://en.wikipedia.org/wiki/ISO_8601).", diff --git a/pydantic_schemaorg/AudiobookFormat.py b/pydantic_schemaorg/AudiobookFormat.py index 5c2865f6..c4382c85 100644 --- a/pydantic_schemaorg/AudiobookFormat.py +++ b/pydantic_schemaorg/AudiobookFormat.py @@ -13,5 +13,5 @@ class AudiobookFormat(BookFormatType): See: https://schema.org/AudiobookFormat Model depth: 5 """ - type_: str = Field(default="AudiobookFormat", alias='@type') + type_: str = Field(default="AudiobookFormat", alias='@type', constant=True) diff --git a/pydantic_schemaorg/AuthoritativeLegalValue.py b/pydantic_schemaorg/AuthoritativeLegalValue.py index 60c969fb..92993c17 100644 --- a/pydantic_schemaorg/AuthoritativeLegalValue.py +++ b/pydantic_schemaorg/AuthoritativeLegalValue.py @@ -14,5 +14,5 @@ class AuthoritativeLegalValue(LegalValueLevel): See: https://schema.org/AuthoritativeLegalValue Model depth: 5 """ - type_: str = Field(default="AuthoritativeLegalValue", alias='@type') + type_: str = Field(default="AuthoritativeLegalValue", alias='@type', constant=True) diff --git a/pydantic_schemaorg/AuthorizeAction.py b/pydantic_schemaorg/AuthorizeAction.py index eef8007e..1f5d9f64 100644 --- a/pydantic_schemaorg/AuthorizeAction.py +++ b/pydantic_schemaorg/AuthorizeAction.py @@ -14,15 +14,15 @@ class AuthorizeAction(AllocateAction): See: https://schema.org/AuthorizeAction Model depth: 5 """ - type_: str = Field(default="AuthorizeAction", alias='@type') - recipient: Optional[Union[List[Union['Person', 'Audience', 'Organization', 'ContactPoint', str]], 'Person', 'Audience', 'Organization', 'ContactPoint', str]] = Field( + type_: str = Field(default="AuthorizeAction", alias='@type', constant=True) + recipient: Optional[Union[List[Union['ContactPoint', 'Audience', 'Organization', 'Person', str]], 'ContactPoint', 'Audience', 'Organization', 'Person', str]] = Field( default=None, description="A sub property of participant. The participant who is at the receiving end of the action.", ) if TYPE_CHECKING: - from pydantic_schemaorg.Person import Person + from pydantic_schemaorg.ContactPoint import ContactPoint from pydantic_schemaorg.Audience import Audience from pydantic_schemaorg.Organization import Organization - from pydantic_schemaorg.ContactPoint import ContactPoint + from pydantic_schemaorg.Person import Person diff --git a/pydantic_schemaorg/AutoBodyShop.py b/pydantic_schemaorg/AutoBodyShop.py index fa1852c6..ee21bc74 100644 --- a/pydantic_schemaorg/AutoBodyShop.py +++ b/pydantic_schemaorg/AutoBodyShop.py @@ -11,5 +11,5 @@ class AutoBodyShop(AutomotiveBusiness): See: https://schema.org/AutoBodyShop Model depth: 5 """ - type_: str = Field(default="AutoBodyShop", alias='@type') + type_: str = Field(default="AutoBodyShop", alias='@type', constant=True) diff --git a/pydantic_schemaorg/AutoDealer.py b/pydantic_schemaorg/AutoDealer.py index c3d3473c..c7b9398b 100644 --- a/pydantic_schemaorg/AutoDealer.py +++ b/pydantic_schemaorg/AutoDealer.py @@ -11,5 +11,5 @@ class AutoDealer(AutomotiveBusiness): See: https://schema.org/AutoDealer Model depth: 5 """ - type_: str = Field(default="AutoDealer", alias='@type') + type_: str = Field(default="AutoDealer", alias='@type', constant=True) diff --git a/pydantic_schemaorg/AutoPartsStore.py b/pydantic_schemaorg/AutoPartsStore.py index a4d198d3..434c959c 100644 --- a/pydantic_schemaorg/AutoPartsStore.py +++ b/pydantic_schemaorg/AutoPartsStore.py @@ -2,15 +2,15 @@ from pydantic import Field -from pydantic_schemaorg.Store import Store from pydantic_schemaorg.AutomotiveBusiness import AutomotiveBusiness +from pydantic_schemaorg.Store import Store -class AutoPartsStore(Store, AutomotiveBusiness): +class AutoPartsStore(AutomotiveBusiness, Store): """An auto parts store. See: https://schema.org/AutoPartsStore Model depth: 5 """ - type_: str = Field(default="AutoPartsStore", alias='@type') + type_: str = Field(default="AutoPartsStore", alias='@type', constant=True) diff --git a/pydantic_schemaorg/AutoRental.py b/pydantic_schemaorg/AutoRental.py index 99026847..bf2e3355 100644 --- a/pydantic_schemaorg/AutoRental.py +++ b/pydantic_schemaorg/AutoRental.py @@ -11,5 +11,5 @@ class AutoRental(AutomotiveBusiness): See: https://schema.org/AutoRental Model depth: 5 """ - type_: str = Field(default="AutoRental", alias='@type') + type_: str = Field(default="AutoRental", alias='@type', constant=True) diff --git a/pydantic_schemaorg/AutoRepair.py b/pydantic_schemaorg/AutoRepair.py index 9b2e18b4..a1ae8e86 100644 --- a/pydantic_schemaorg/AutoRepair.py +++ b/pydantic_schemaorg/AutoRepair.py @@ -11,5 +11,5 @@ class AutoRepair(AutomotiveBusiness): See: https://schema.org/AutoRepair Model depth: 5 """ - type_: str = Field(default="AutoRepair", alias='@type') + type_: str = Field(default="AutoRepair", alias='@type', constant=True) diff --git a/pydantic_schemaorg/AutoWash.py b/pydantic_schemaorg/AutoWash.py index a845cfe8..7c954208 100644 --- a/pydantic_schemaorg/AutoWash.py +++ b/pydantic_schemaorg/AutoWash.py @@ -11,5 +11,5 @@ class AutoWash(AutomotiveBusiness): See: https://schema.org/AutoWash Model depth: 5 """ - type_: str = Field(default="AutoWash", alias='@type') + type_: str = Field(default="AutoWash", alias='@type', constant=True) diff --git a/pydantic_schemaorg/AutomatedTeller.py b/pydantic_schemaorg/AutomatedTeller.py index c0304efe..17a2728e 100644 --- a/pydantic_schemaorg/AutomatedTeller.py +++ b/pydantic_schemaorg/AutomatedTeller.py @@ -11,5 +11,5 @@ class AutomatedTeller(FinancialService): See: https://schema.org/AutomatedTeller Model depth: 5 """ - type_: str = Field(default="AutomatedTeller", alias='@type') + type_: str = Field(default="AutomatedTeller", alias='@type', constant=True) diff --git a/pydantic_schemaorg/AutomotiveBusiness.py b/pydantic_schemaorg/AutomotiveBusiness.py index b4a0d9dc..17ee245f 100644 --- a/pydantic_schemaorg/AutomotiveBusiness.py +++ b/pydantic_schemaorg/AutomotiveBusiness.py @@ -11,5 +11,5 @@ class AutomotiveBusiness(LocalBusiness): See: https://schema.org/AutomotiveBusiness Model depth: 4 """ - type_: str = Field(default="AutomotiveBusiness", alias='@type') + type_: str = Field(default="AutomotiveBusiness", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Ayurvedic.py b/pydantic_schemaorg/Ayurvedic.py index aadcb30a..590957d6 100644 --- a/pydantic_schemaorg/Ayurvedic.py +++ b/pydantic_schemaorg/Ayurvedic.py @@ -12,5 +12,5 @@ class Ayurvedic(MedicineSystem): See: https://schema.org/Ayurvedic Model depth: 6 """ - type_: str = Field(default="Ayurvedic", alias='@type') + type_: str = Field(default="Ayurvedic", alias='@type', constant=True) diff --git a/pydantic_schemaorg/BackOrder.py b/pydantic_schemaorg/BackOrder.py index 873cef4b..c2a9f540 100644 --- a/pydantic_schemaorg/BackOrder.py +++ b/pydantic_schemaorg/BackOrder.py @@ -11,5 +11,5 @@ class BackOrder(ItemAvailability): See: https://schema.org/BackOrder Model depth: 5 """ - type_: str = Field(default="BackOrder", alias='@type') + type_: str = Field(default="BackOrder", alias='@type', constant=True) diff --git a/pydantic_schemaorg/BackgroundNewsArticle.py b/pydantic_schemaorg/BackgroundNewsArticle.py index 32bf0d6e..8bf977a6 100644 --- a/pydantic_schemaorg/BackgroundNewsArticle.py +++ b/pydantic_schemaorg/BackgroundNewsArticle.py @@ -17,5 +17,5 @@ class BackgroundNewsArticle(NewsArticle): See: https://schema.org/BackgroundNewsArticle Model depth: 5 """ - type_: str = Field(default="BackgroundNewsArticle", alias='@type') + type_: str = Field(default="BackgroundNewsArticle", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Bacteria.py b/pydantic_schemaorg/Bacteria.py index 8bb6b8a4..7a416b57 100644 --- a/pydantic_schemaorg/Bacteria.py +++ b/pydantic_schemaorg/Bacteria.py @@ -11,5 +11,5 @@ class Bacteria(InfectiousAgentClass): See: https://schema.org/Bacteria Model depth: 6 """ - type_: str = Field(default="Bacteria", alias='@type') + type_: str = Field(default="Bacteria", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Bakery.py b/pydantic_schemaorg/Bakery.py index 9b9bd9dc..f7722173 100644 --- a/pydantic_schemaorg/Bakery.py +++ b/pydantic_schemaorg/Bakery.py @@ -11,5 +11,5 @@ class Bakery(FoodEstablishment): See: https://schema.org/Bakery Model depth: 5 """ - type_: str = Field(default="Bakery", alias='@type') + type_: str = Field(default="Bakery", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Balance.py b/pydantic_schemaorg/Balance.py index 49b71d5c..b8331224 100644 --- a/pydantic_schemaorg/Balance.py +++ b/pydantic_schemaorg/Balance.py @@ -11,5 +11,5 @@ class Balance(PhysicalActivityCategory): See: https://schema.org/Balance Model depth: 5 """ - type_: str = Field(default="Balance", alias='@type') + type_: str = Field(default="Balance", alias='@type', constant=True) diff --git a/pydantic_schemaorg/BankAccount.py b/pydantic_schemaorg/BankAccount.py index 109eab78..fec994b7 100644 --- a/pydantic_schemaorg/BankAccount.py +++ b/pydantic_schemaorg/BankAccount.py @@ -16,7 +16,7 @@ class BankAccount(FinancialProduct): See: https://schema.org/BankAccount Model depth: 5 """ - type_: str = Field(default="BankAccount", alias='@type') + type_: str = Field(default="BankAccount", alias='@type', constant=True) accountMinimumInflow: Optional[Union[List[Union['MonetaryAmount', str]], 'MonetaryAmount', str]] = Field( default=None, description="A minimum amount that has to be paid in every month.", diff --git a/pydantic_schemaorg/BankOrCreditUnion.py b/pydantic_schemaorg/BankOrCreditUnion.py index 50bf43a1..a40fb8a3 100644 --- a/pydantic_schemaorg/BankOrCreditUnion.py +++ b/pydantic_schemaorg/BankOrCreditUnion.py @@ -11,5 +11,5 @@ class BankOrCreditUnion(FinancialService): See: https://schema.org/BankOrCreditUnion Model depth: 5 """ - type_: str = Field(default="BankOrCreditUnion", alias='@type') + type_: str = Field(default="BankOrCreditUnion", alias='@type', constant=True) diff --git a/pydantic_schemaorg/BarOrPub.py b/pydantic_schemaorg/BarOrPub.py index d6f73ea1..454fc854 100644 --- a/pydantic_schemaorg/BarOrPub.py +++ b/pydantic_schemaorg/BarOrPub.py @@ -11,5 +11,5 @@ class BarOrPub(FoodEstablishment): See: https://schema.org/BarOrPub Model depth: 5 """ - type_: str = Field(default="BarOrPub", alias='@type') + type_: str = Field(default="BarOrPub", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Barcode.py b/pydantic_schemaorg/Barcode.py index 882933a0..92a9e36e 100644 --- a/pydantic_schemaorg/Barcode.py +++ b/pydantic_schemaorg/Barcode.py @@ -11,5 +11,5 @@ class Barcode(ImageObject): See: https://schema.org/Barcode Model depth: 5 """ - type_: str = Field(default="Barcode", alias='@type') + type_: str = Field(default="Barcode", alias='@type', constant=True) diff --git a/pydantic_schemaorg/BasicIncome.py b/pydantic_schemaorg/BasicIncome.py index b31d2dff..71172aa8 100644 --- a/pydantic_schemaorg/BasicIncome.py +++ b/pydantic_schemaorg/BasicIncome.py @@ -11,5 +11,5 @@ class BasicIncome(GovernmentBenefitsType): See: https://schema.org/BasicIncome Model depth: 5 """ - type_: str = Field(default="BasicIncome", alias='@type') + type_: str = Field(default="BasicIncome", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Beach.py b/pydantic_schemaorg/Beach.py index 5434c3a4..b94a9ccb 100644 --- a/pydantic_schemaorg/Beach.py +++ b/pydantic_schemaorg/Beach.py @@ -11,5 +11,5 @@ class Beach(CivicStructure): See: https://schema.org/Beach Model depth: 4 """ - type_: str = Field(default="Beach", alias='@type') + type_: str = Field(default="Beach", alias='@type', constant=True) diff --git a/pydantic_schemaorg/BeautySalon.py b/pydantic_schemaorg/BeautySalon.py index f714d122..c162f4e3 100644 --- a/pydantic_schemaorg/BeautySalon.py +++ b/pydantic_schemaorg/BeautySalon.py @@ -11,5 +11,5 @@ class BeautySalon(HealthAndBeautyBusiness): See: https://schema.org/BeautySalon Model depth: 5 """ - type_: str = Field(default="BeautySalon", alias='@type') + type_: str = Field(default="BeautySalon", alias='@type', constant=True) diff --git a/pydantic_schemaorg/BedAndBreakfast.py b/pydantic_schemaorg/BedAndBreakfast.py index ea09bb8c..1540d525 100644 --- a/pydantic_schemaorg/BedAndBreakfast.py +++ b/pydantic_schemaorg/BedAndBreakfast.py @@ -12,5 +12,5 @@ class BedAndBreakfast(LodgingBusiness): See: https://schema.org/BedAndBreakfast Model depth: 5 """ - type_: str = Field(default="BedAndBreakfast", alias='@type') + type_: str = Field(default="BedAndBreakfast", alias='@type', constant=True) diff --git a/pydantic_schemaorg/BedDetails.py b/pydantic_schemaorg/BedDetails.py index 33409976..a100d437 100644 --- a/pydantic_schemaorg/BedDetails.py +++ b/pydantic_schemaorg/BedDetails.py @@ -17,8 +17,8 @@ class BedDetails(Intangible): See: https://schema.org/BedDetails Model depth: 3 """ - type_: str = Field(default="BedDetails", alias='@type') - numberOfBeds: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( + type_: str = Field(default="BedDetails", alias='@type', constant=True) + numberOfBeds: Optional[Union[List[Union[int, float, 'Number', str]], int, float, 'Number', str]] = Field( default=None, description="The quantity of the given bed type available in the HotelRoom, Suite, House, or Apartment.", ) diff --git a/pydantic_schemaorg/BedType.py b/pydantic_schemaorg/BedType.py index dc158047..fb716733 100644 --- a/pydantic_schemaorg/BedType.py +++ b/pydantic_schemaorg/BedType.py @@ -11,5 +11,5 @@ class BedType(QualitativeValue): See: https://schema.org/BedType Model depth: 5 """ - type_: str = Field(default="BedType", alias='@type') + type_: str = Field(default="BedType", alias='@type', constant=True) diff --git a/pydantic_schemaorg/BefriendAction.py b/pydantic_schemaorg/BefriendAction.py index e9e53a0f..3dff163d 100644 --- a/pydantic_schemaorg/BefriendAction.py +++ b/pydantic_schemaorg/BefriendAction.py @@ -13,5 +13,5 @@ class BefriendAction(InteractAction): See: https://schema.org/BefriendAction Model depth: 4 """ - type_: str = Field(default="BefriendAction", alias='@type') + type_: str = Field(default="BefriendAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/BenefitsHealthAspect.py b/pydantic_schemaorg/BenefitsHealthAspect.py index fcefe872..8baf7215 100644 --- a/pydantic_schemaorg/BenefitsHealthAspect.py +++ b/pydantic_schemaorg/BenefitsHealthAspect.py @@ -11,5 +11,5 @@ class BenefitsHealthAspect(HealthAspectEnumeration): See: https://schema.org/BenefitsHealthAspect Model depth: 5 """ - type_: str = Field(default="BenefitsHealthAspect", alias='@type') + type_: str = Field(default="BenefitsHealthAspect", alias='@type', constant=True) diff --git a/pydantic_schemaorg/BikeStore.py b/pydantic_schemaorg/BikeStore.py index 09d9614a..b0432c6d 100644 --- a/pydantic_schemaorg/BikeStore.py +++ b/pydantic_schemaorg/BikeStore.py @@ -11,5 +11,5 @@ class BikeStore(Store): See: https://schema.org/BikeStore Model depth: 5 """ - type_: str = Field(default="BikeStore", alias='@type') + type_: str = Field(default="BikeStore", alias='@type', constant=True) diff --git a/pydantic_schemaorg/BioChemEntity.py b/pydantic_schemaorg/BioChemEntity.py index 11303d14..6df14add 100644 --- a/pydantic_schemaorg/BioChemEntity.py +++ b/pydantic_schemaorg/BioChemEntity.py @@ -16,7 +16,7 @@ class BioChemEntity(Thing): See: https://schema.org/BioChemEntity Model depth: 2 """ - type_: str = Field(default="BioChemEntity", alias='@type') + type_: str = Field(default="BioChemEntity", alias='@type', constant=True) bioChemSimilarity: Optional[Union[List[Union['BioChemEntity', str]], 'BioChemEntity', str]] = Field( default=None, description="A similar BioChemEntity, e.g., obtained by fingerprint similarity algorithms.", @@ -44,7 +44,7 @@ class BioChemEntity(Thing): description="Disease associated to this BioChemEntity. Such disease can be a MedicalCondition or" "a URL. If you want to add an evidence supporting the association, please use PropertyValue.", ) - taxonomicRange: Optional[Union[List[Union[AnyUrl, 'URL', str, 'Text', 'DefinedTerm', 'Taxon']], AnyUrl, 'URL', str, 'Text', 'DefinedTerm', 'Taxon']] = Field( + taxonomicRange: Optional[Union[List[Union[AnyUrl, 'URL', str, 'Text', 'Taxon', 'DefinedTerm']], AnyUrl, 'URL', str, 'Text', 'Taxon', 'DefinedTerm']] = Field( default=None, description="The taxonomic grouping of the organism that expresses, encodes, or in someway related" "to the BioChemEntity.", diff --git a/pydantic_schemaorg/Blog.py b/pydantic_schemaorg/Blog.py index 71509a68..e44134b4 100644 --- a/pydantic_schemaorg/Blog.py +++ b/pydantic_schemaorg/Blog.py @@ -16,7 +16,7 @@ class Blog(CreativeWork): See: https://schema.org/Blog Model depth: 3 """ - type_: str = Field(default="Blog", alias='@type') + type_: str = Field(default="Blog", alias='@type', constant=True) blogPosts: Optional[Union[List[Union['BlogPosting', str]], 'BlogPosting', str]] = Field( default=None, description="Indicates a post that is part of a [[Blog]]. Note that historically, what we term a \"Blog\"" diff --git a/pydantic_schemaorg/BlogPosting.py b/pydantic_schemaorg/BlogPosting.py index ee5cb46f..cf3a5bca 100644 --- a/pydantic_schemaorg/BlogPosting.py +++ b/pydantic_schemaorg/BlogPosting.py @@ -11,5 +11,5 @@ class BlogPosting(SocialMediaPosting): See: https://schema.org/BlogPosting Model depth: 5 """ - type_: str = Field(default="BlogPosting", alias='@type') + type_: str = Field(default="BlogPosting", alias='@type', constant=True) diff --git a/pydantic_schemaorg/BloodTest.py b/pydantic_schemaorg/BloodTest.py index 7c28c532..5bd36723 100644 --- a/pydantic_schemaorg/BloodTest.py +++ b/pydantic_schemaorg/BloodTest.py @@ -11,5 +11,5 @@ class BloodTest(MedicalTest): See: https://schema.org/BloodTest Model depth: 4 """ - type_: str = Field(default="BloodTest", alias='@type') + type_: str = Field(default="BloodTest", alias='@type', constant=True) diff --git a/pydantic_schemaorg/BoardingPolicyType.py b/pydantic_schemaorg/BoardingPolicyType.py index 90332fee..0ab6e139 100644 --- a/pydantic_schemaorg/BoardingPolicyType.py +++ b/pydantic_schemaorg/BoardingPolicyType.py @@ -11,5 +11,5 @@ class BoardingPolicyType(Enumeration): See: https://schema.org/BoardingPolicyType Model depth: 4 """ - type_: str = Field(default="BoardingPolicyType", alias='@type') + type_: str = Field(default="BoardingPolicyType", alias='@type', constant=True) diff --git a/pydantic_schemaorg/BoatReservation.py b/pydantic_schemaorg/BoatReservation.py index d3b9203a..c3915de7 100644 --- a/pydantic_schemaorg/BoatReservation.py +++ b/pydantic_schemaorg/BoatReservation.py @@ -13,5 +13,5 @@ class BoatReservation(Reservation): See: https://schema.org/BoatReservation Model depth: 4 """ - type_: str = Field(default="BoatReservation", alias='@type') + type_: str = Field(default="BoatReservation", alias='@type', constant=True) diff --git a/pydantic_schemaorg/BoatTerminal.py b/pydantic_schemaorg/BoatTerminal.py index 93f0692a..9935d91b 100644 --- a/pydantic_schemaorg/BoatTerminal.py +++ b/pydantic_schemaorg/BoatTerminal.py @@ -11,5 +11,5 @@ class BoatTerminal(CivicStructure): See: https://schema.org/BoatTerminal Model depth: 4 """ - type_: str = Field(default="BoatTerminal", alias='@type') + type_: str = Field(default="BoatTerminal", alias='@type', constant=True) diff --git a/pydantic_schemaorg/BoatTrip.py b/pydantic_schemaorg/BoatTrip.py index c4d7d21a..3c047e50 100644 --- a/pydantic_schemaorg/BoatTrip.py +++ b/pydantic_schemaorg/BoatTrip.py @@ -14,7 +14,7 @@ class BoatTrip(Trip): See: https://schema.org/BoatTrip Model depth: 4 """ - type_: str = Field(default="BoatTrip", alias='@type') + type_: str = Field(default="BoatTrip", alias='@type', constant=True) arrivalBoatTerminal: Optional[Union[List[Union['BoatTerminal', str]], 'BoatTerminal', str]] = Field( default=None, description="The terminal or port from which the boat arrives.", diff --git a/pydantic_schemaorg/BodyMeasurementArm.py b/pydantic_schemaorg/BodyMeasurementArm.py index 55c9ab7f..f116d0fe 100644 --- a/pydantic_schemaorg/BodyMeasurementArm.py +++ b/pydantic_schemaorg/BodyMeasurementArm.py @@ -12,5 +12,5 @@ class BodyMeasurementArm(BodyMeasurementTypeEnumeration): See: https://schema.org/BodyMeasurementArm Model depth: 6 """ - type_: str = Field(default="BodyMeasurementArm", alias='@type') + type_: str = Field(default="BodyMeasurementArm", alias='@type', constant=True) diff --git a/pydantic_schemaorg/BodyMeasurementBust.py b/pydantic_schemaorg/BodyMeasurementBust.py index 46b311a3..b79c09b6 100644 --- a/pydantic_schemaorg/BodyMeasurementBust.py +++ b/pydantic_schemaorg/BodyMeasurementBust.py @@ -11,5 +11,5 @@ class BodyMeasurementBust(BodyMeasurementTypeEnumeration): See: https://schema.org/BodyMeasurementBust Model depth: 6 """ - type_: str = Field(default="BodyMeasurementBust", alias='@type') + type_: str = Field(default="BodyMeasurementBust", alias='@type', constant=True) diff --git a/pydantic_schemaorg/BodyMeasurementChest.py b/pydantic_schemaorg/BodyMeasurementChest.py index 0d77cab7..6eaa2a05 100644 --- a/pydantic_schemaorg/BodyMeasurementChest.py +++ b/pydantic_schemaorg/BodyMeasurementChest.py @@ -11,5 +11,5 @@ class BodyMeasurementChest(BodyMeasurementTypeEnumeration): See: https://schema.org/BodyMeasurementChest Model depth: 6 """ - type_: str = Field(default="BodyMeasurementChest", alias='@type') + type_: str = Field(default="BodyMeasurementChest", alias='@type', constant=True) diff --git a/pydantic_schemaorg/BodyMeasurementFoot.py b/pydantic_schemaorg/BodyMeasurementFoot.py index 3738cce3..fc0de814 100644 --- a/pydantic_schemaorg/BodyMeasurementFoot.py +++ b/pydantic_schemaorg/BodyMeasurementFoot.py @@ -12,5 +12,5 @@ class BodyMeasurementFoot(BodyMeasurementTypeEnumeration): See: https://schema.org/BodyMeasurementFoot Model depth: 6 """ - type_: str = Field(default="BodyMeasurementFoot", alias='@type') + type_: str = Field(default="BodyMeasurementFoot", alias='@type', constant=True) diff --git a/pydantic_schemaorg/BodyMeasurementHand.py b/pydantic_schemaorg/BodyMeasurementHand.py index e16ebbb1..a1c4232e 100644 --- a/pydantic_schemaorg/BodyMeasurementHand.py +++ b/pydantic_schemaorg/BodyMeasurementHand.py @@ -12,5 +12,5 @@ class BodyMeasurementHand(BodyMeasurementTypeEnumeration): See: https://schema.org/BodyMeasurementHand Model depth: 6 """ - type_: str = Field(default="BodyMeasurementHand", alias='@type') + type_: str = Field(default="BodyMeasurementHand", alias='@type', constant=True) diff --git a/pydantic_schemaorg/BodyMeasurementHead.py b/pydantic_schemaorg/BodyMeasurementHead.py index 3ac86450..2813df7b 100644 --- a/pydantic_schemaorg/BodyMeasurementHead.py +++ b/pydantic_schemaorg/BodyMeasurementHead.py @@ -11,5 +11,5 @@ class BodyMeasurementHead(BodyMeasurementTypeEnumeration): See: https://schema.org/BodyMeasurementHead Model depth: 6 """ - type_: str = Field(default="BodyMeasurementHead", alias='@type') + type_: str = Field(default="BodyMeasurementHead", alias='@type', constant=True) diff --git a/pydantic_schemaorg/BodyMeasurementHeight.py b/pydantic_schemaorg/BodyMeasurementHeight.py index 9dfe3c53..eff1f3f9 100644 --- a/pydantic_schemaorg/BodyMeasurementHeight.py +++ b/pydantic_schemaorg/BodyMeasurementHeight.py @@ -12,5 +12,5 @@ class BodyMeasurementHeight(BodyMeasurementTypeEnumeration): See: https://schema.org/BodyMeasurementHeight Model depth: 6 """ - type_: str = Field(default="BodyMeasurementHeight", alias='@type') + type_: str = Field(default="BodyMeasurementHeight", alias='@type', constant=True) diff --git a/pydantic_schemaorg/BodyMeasurementHips.py b/pydantic_schemaorg/BodyMeasurementHips.py index 7cb091d5..b1ddd551 100644 --- a/pydantic_schemaorg/BodyMeasurementHips.py +++ b/pydantic_schemaorg/BodyMeasurementHips.py @@ -11,5 +11,5 @@ class BodyMeasurementHips(BodyMeasurementTypeEnumeration): See: https://schema.org/BodyMeasurementHips Model depth: 6 """ - type_: str = Field(default="BodyMeasurementHips", alias='@type') + type_: str = Field(default="BodyMeasurementHips", alias='@type', constant=True) diff --git a/pydantic_schemaorg/BodyMeasurementInsideLeg.py b/pydantic_schemaorg/BodyMeasurementInsideLeg.py index 41aa1eaf..83fb06b3 100644 --- a/pydantic_schemaorg/BodyMeasurementInsideLeg.py +++ b/pydantic_schemaorg/BodyMeasurementInsideLeg.py @@ -11,5 +11,5 @@ class BodyMeasurementInsideLeg(BodyMeasurementTypeEnumeration): See: https://schema.org/BodyMeasurementInsideLeg Model depth: 6 """ - type_: str = Field(default="BodyMeasurementInsideLeg", alias='@type') + type_: str = Field(default="BodyMeasurementInsideLeg", alias='@type', constant=True) diff --git a/pydantic_schemaorg/BodyMeasurementNeck.py b/pydantic_schemaorg/BodyMeasurementNeck.py index cc0f9338..459eabcd 100644 --- a/pydantic_schemaorg/BodyMeasurementNeck.py +++ b/pydantic_schemaorg/BodyMeasurementNeck.py @@ -11,5 +11,5 @@ class BodyMeasurementNeck(BodyMeasurementTypeEnumeration): See: https://schema.org/BodyMeasurementNeck Model depth: 6 """ - type_: str = Field(default="BodyMeasurementNeck", alias='@type') + type_: str = Field(default="BodyMeasurementNeck", alias='@type', constant=True) diff --git a/pydantic_schemaorg/BodyMeasurementTypeEnumeration.py b/pydantic_schemaorg/BodyMeasurementTypeEnumeration.py index 800d44b1..971872d7 100644 --- a/pydantic_schemaorg/BodyMeasurementTypeEnumeration.py +++ b/pydantic_schemaorg/BodyMeasurementTypeEnumeration.py @@ -12,5 +12,5 @@ class BodyMeasurementTypeEnumeration(MeasurementTypeEnumeration): See: https://schema.org/BodyMeasurementTypeEnumeration Model depth: 5 """ - type_: str = Field(default="BodyMeasurementTypeEnumeration", alias='@type') + type_: str = Field(default="BodyMeasurementTypeEnumeration", alias='@type', constant=True) diff --git a/pydantic_schemaorg/BodyMeasurementUnderbust.py b/pydantic_schemaorg/BodyMeasurementUnderbust.py index e5cc96d8..bb22e881 100644 --- a/pydantic_schemaorg/BodyMeasurementUnderbust.py +++ b/pydantic_schemaorg/BodyMeasurementUnderbust.py @@ -11,5 +11,5 @@ class BodyMeasurementUnderbust(BodyMeasurementTypeEnumeration): See: https://schema.org/BodyMeasurementUnderbust Model depth: 6 """ - type_: str = Field(default="BodyMeasurementUnderbust", alias='@type') + type_: str = Field(default="BodyMeasurementUnderbust", alias='@type', constant=True) diff --git a/pydantic_schemaorg/BodyMeasurementWaist.py b/pydantic_schemaorg/BodyMeasurementWaist.py index f3127331..f36b2835 100644 --- a/pydantic_schemaorg/BodyMeasurementWaist.py +++ b/pydantic_schemaorg/BodyMeasurementWaist.py @@ -12,5 +12,5 @@ class BodyMeasurementWaist(BodyMeasurementTypeEnumeration): See: https://schema.org/BodyMeasurementWaist Model depth: 6 """ - type_: str = Field(default="BodyMeasurementWaist", alias='@type') + type_: str = Field(default="BodyMeasurementWaist", alias='@type', constant=True) diff --git a/pydantic_schemaorg/BodyMeasurementWeight.py b/pydantic_schemaorg/BodyMeasurementWeight.py index 9f253766..9c5f28a5 100644 --- a/pydantic_schemaorg/BodyMeasurementWeight.py +++ b/pydantic_schemaorg/BodyMeasurementWeight.py @@ -11,5 +11,5 @@ class BodyMeasurementWeight(BodyMeasurementTypeEnumeration): See: https://schema.org/BodyMeasurementWeight Model depth: 6 """ - type_: str = Field(default="BodyMeasurementWeight", alias='@type') + type_: str = Field(default="BodyMeasurementWeight", alias='@type', constant=True) diff --git a/pydantic_schemaorg/BodyOfWater.py b/pydantic_schemaorg/BodyOfWater.py index fc748b18..aaf95839 100644 --- a/pydantic_schemaorg/BodyOfWater.py +++ b/pydantic_schemaorg/BodyOfWater.py @@ -11,5 +11,5 @@ class BodyOfWater(Landform): See: https://schema.org/BodyOfWater Model depth: 4 """ - type_: str = Field(default="BodyOfWater", alias='@type') + type_: str = Field(default="BodyOfWater", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Bone.py b/pydantic_schemaorg/Bone.py index c1bcbd62..39e27222 100644 --- a/pydantic_schemaorg/Bone.py +++ b/pydantic_schemaorg/Bone.py @@ -11,5 +11,5 @@ class Bone(AnatomicalStructure): See: https://schema.org/Bone Model depth: 4 """ - type_: str = Field(default="Bone", alias='@type') + type_: str = Field(default="Bone", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Book.py b/pydantic_schemaorg/Book.py index 1669c7a3..2c8e8e47 100644 --- a/pydantic_schemaorg/Book.py +++ b/pydantic_schemaorg/Book.py @@ -15,7 +15,7 @@ class Book(CreativeWork): See: https://schema.org/Book Model depth: 3 """ - type_: str = Field(default="Book", alias='@type') + type_: str = Field(default="Book", alias='@type', constant=True) illustrator: Optional[Union[List[Union['Person', str]], 'Person', str]] = Field( default=None, description="The illustrator of the book.", diff --git a/pydantic_schemaorg/BookFormatType.py b/pydantic_schemaorg/BookFormatType.py index a539d965..b82a8aa8 100644 --- a/pydantic_schemaorg/BookFormatType.py +++ b/pydantic_schemaorg/BookFormatType.py @@ -11,5 +11,5 @@ class BookFormatType(Enumeration): See: https://schema.org/BookFormatType Model depth: 4 """ - type_: str = Field(default="BookFormatType", alias='@type') + type_: str = Field(default="BookFormatType", alias='@type', constant=True) diff --git a/pydantic_schemaorg/BookSeries.py b/pydantic_schemaorg/BookSeries.py index 3f8fabdb..54fa56c7 100644 --- a/pydantic_schemaorg/BookSeries.py +++ b/pydantic_schemaorg/BookSeries.py @@ -11,5 +11,5 @@ class BookSeries(CreativeWorkSeries): See: https://schema.org/BookSeries Model depth: 4 """ - type_: str = Field(default="BookSeries", alias='@type') + type_: str = Field(default="BookSeries", alias='@type', constant=True) diff --git a/pydantic_schemaorg/BookStore.py b/pydantic_schemaorg/BookStore.py index 6f4e0472..6814de17 100644 --- a/pydantic_schemaorg/BookStore.py +++ b/pydantic_schemaorg/BookStore.py @@ -11,5 +11,5 @@ class BookStore(Store): See: https://schema.org/BookStore Model depth: 5 """ - type_: str = Field(default="BookStore", alias='@type') + type_: str = Field(default="BookStore", alias='@type', constant=True) diff --git a/pydantic_schemaorg/BookmarkAction.py b/pydantic_schemaorg/BookmarkAction.py index 9f8fc4f2..a536c259 100644 --- a/pydantic_schemaorg/BookmarkAction.py +++ b/pydantic_schemaorg/BookmarkAction.py @@ -11,5 +11,5 @@ class BookmarkAction(OrganizeAction): See: https://schema.org/BookmarkAction Model depth: 4 """ - type_: str = Field(default="BookmarkAction", alias='@type') + type_: str = Field(default="BookmarkAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Boolean.py b/pydantic_schemaorg/Boolean.py index acc0d962..47ec5910 100644 --- a/pydantic_schemaorg/Boolean.py +++ b/pydantic_schemaorg/Boolean.py @@ -11,5 +11,5 @@ class Boolean(DataType): See: https://schema.org/Boolean Model depth: 5 """ - type_: str = Field(default="Boolean", alias='@type') + type_: str = Field(default="Boolean", alias='@type', constant=True) diff --git a/pydantic_schemaorg/BorrowAction.py b/pydantic_schemaorg/BorrowAction.py index c72e665a..b71d81ea 100644 --- a/pydantic_schemaorg/BorrowAction.py +++ b/pydantic_schemaorg/BorrowAction.py @@ -15,13 +15,13 @@ class BorrowAction(TransferAction): See: https://schema.org/BorrowAction Model depth: 4 """ - type_: str = Field(default="BorrowAction", alias='@type') - lender: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + type_: str = Field(default="BorrowAction", alias='@type', constant=True) + lender: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="A sub property of participant. The person that lends the object being borrowed.", ) if TYPE_CHECKING: - from pydantic_schemaorg.Person import Person from pydantic_schemaorg.Organization import Organization + from pydantic_schemaorg.Person import Person diff --git a/pydantic_schemaorg/BowlingAlley.py b/pydantic_schemaorg/BowlingAlley.py index 5df54d88..b5ece185 100644 --- a/pydantic_schemaorg/BowlingAlley.py +++ b/pydantic_schemaorg/BowlingAlley.py @@ -11,5 +11,5 @@ class BowlingAlley(SportsActivityLocation): See: https://schema.org/BowlingAlley Model depth: 5 """ - type_: str = Field(default="BowlingAlley", alias='@type') + type_: str = Field(default="BowlingAlley", alias='@type', constant=True) diff --git a/pydantic_schemaorg/BrainStructure.py b/pydantic_schemaorg/BrainStructure.py index f1457c36..9097073c 100644 --- a/pydantic_schemaorg/BrainStructure.py +++ b/pydantic_schemaorg/BrainStructure.py @@ -12,5 +12,5 @@ class BrainStructure(AnatomicalStructure): See: https://schema.org/BrainStructure Model depth: 4 """ - type_: str = Field(default="BrainStructure", alias='@type') + type_: str = Field(default="BrainStructure", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Brand.py b/pydantic_schemaorg/Brand.py index 997a3be1..4b584375 100644 --- a/pydantic_schemaorg/Brand.py +++ b/pydantic_schemaorg/Brand.py @@ -16,7 +16,7 @@ class Brand(Intangible): See: https://schema.org/Brand Model depth: 3 """ - type_: str = Field(default="Brand", alias='@type') + type_: str = Field(default="Brand", alias='@type', constant=True) aggregateRating: Optional[Union[List[Union['AggregateRating', str]], 'AggregateRating', str]] = Field( default=None, description="The overall rating, based on a collection of reviews or ratings, of the item.", diff --git a/pydantic_schemaorg/BreadcrumbList.py b/pydantic_schemaorg/BreadcrumbList.py index 67704798..08587ef1 100644 --- a/pydantic_schemaorg/BreadcrumbList.py +++ b/pydantic_schemaorg/BreadcrumbList.py @@ -18,5 +18,5 @@ class BreadcrumbList(ItemList): See: https://schema.org/BreadcrumbList Model depth: 4 """ - type_: str = Field(default="BreadcrumbList", alias='@type') + type_: str = Field(default="BreadcrumbList", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Brewery.py b/pydantic_schemaorg/Brewery.py index 4b288937..ab90673a 100644 --- a/pydantic_schemaorg/Brewery.py +++ b/pydantic_schemaorg/Brewery.py @@ -11,5 +11,5 @@ class Brewery(FoodEstablishment): See: https://schema.org/Brewery Model depth: 5 """ - type_: str = Field(default="Brewery", alias='@type') + type_: str = Field(default="Brewery", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Bridge.py b/pydantic_schemaorg/Bridge.py index ab296c7a..8ae3874b 100644 --- a/pydantic_schemaorg/Bridge.py +++ b/pydantic_schemaorg/Bridge.py @@ -11,5 +11,5 @@ class Bridge(CivicStructure): See: https://schema.org/Bridge Model depth: 4 """ - type_: str = Field(default="Bridge", alias='@type') + type_: str = Field(default="Bridge", alias='@type', constant=True) diff --git a/pydantic_schemaorg/BroadcastChannel.py b/pydantic_schemaorg/BroadcastChannel.py index 22f93038..d05136de 100644 --- a/pydantic_schemaorg/BroadcastChannel.py +++ b/pydantic_schemaorg/BroadcastChannel.py @@ -15,7 +15,7 @@ class BroadcastChannel(Intangible): See: https://schema.org/BroadcastChannel Model depth: 3 """ - type_: str = Field(default="BroadcastChannel", alias='@type') + type_: str = Field(default="BroadcastChannel", alias='@type', constant=True) broadcastChannelId: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="The unique address by which the BroadcastService can be identified in a provider lineup." diff --git a/pydantic_schemaorg/BroadcastEvent.py b/pydantic_schemaorg/BroadcastEvent.py index 490c3d37..afcb0994 100644 --- a/pydantic_schemaorg/BroadcastEvent.py +++ b/pydantic_schemaorg/BroadcastEvent.py @@ -15,7 +15,7 @@ class BroadcastEvent(PublicationEvent): See: https://schema.org/BroadcastEvent Model depth: 4 """ - type_: str = Field(default="BroadcastEvent", alias='@type') + type_: str = Field(default="BroadcastEvent", alias='@type', constant=True) isLiveBroadcast: Optional[Union[List[Union[StrictBool, 'Boolean', str]], StrictBool, 'Boolean', str]] = Field( default=None, description="True if the broadcast is of a live event.", diff --git a/pydantic_schemaorg/BroadcastFrequencySpecification.py b/pydantic_schemaorg/BroadcastFrequencySpecification.py index 4d2c464c..3d849300 100644 --- a/pydantic_schemaorg/BroadcastFrequencySpecification.py +++ b/pydantic_schemaorg/BroadcastFrequencySpecification.py @@ -15,12 +15,12 @@ class BroadcastFrequencySpecification(Intangible): See: https://schema.org/BroadcastFrequencySpecification Model depth: 3 """ - type_: str = Field(default="BroadcastFrequencySpecification", alias='@type') + type_: str = Field(default="BroadcastFrequencySpecification", alias='@type', constant=True) broadcastSignalModulation: Optional[Union[List[Union[str, 'Text', 'QualitativeValue']], str, 'Text', 'QualitativeValue']] = Field( default=None, description="The modulation (e.g. FM, AM, etc) used by a particular broadcast service.", ) - broadcastFrequencyValue: Optional[Union[List[Union[Decimal, 'Number', 'QuantitativeValue', str]], Decimal, 'Number', 'QuantitativeValue', str]] = Field( + broadcastFrequencyValue: Optional[Union[List[Union[int, float, 'Number', 'QuantitativeValue', str]], int, float, 'Number', 'QuantitativeValue', str]] = Field( default=None, description="The frequency in MHz for a particular broadcast.", ) diff --git a/pydantic_schemaorg/BroadcastRelease.py b/pydantic_schemaorg/BroadcastRelease.py index 55a4e144..5408a926 100644 --- a/pydantic_schemaorg/BroadcastRelease.py +++ b/pydantic_schemaorg/BroadcastRelease.py @@ -11,5 +11,5 @@ class BroadcastRelease(MusicAlbumReleaseType): See: https://schema.org/BroadcastRelease Model depth: 5 """ - type_: str = Field(default="BroadcastRelease", alias='@type') + type_: str = Field(default="BroadcastRelease", alias='@type', constant=True) diff --git a/pydantic_schemaorg/BroadcastService.py b/pydantic_schemaorg/BroadcastService.py index a56a961a..50fed3ad 100644 --- a/pydantic_schemaorg/BroadcastService.py +++ b/pydantic_schemaorg/BroadcastService.py @@ -14,7 +14,7 @@ class BroadcastService(Service): See: https://schema.org/BroadcastService Model depth: 4 """ - type_: str = Field(default="BroadcastService", alias='@type') + type_: str = Field(default="BroadcastService", alias='@type', constant=True) broadcastFrequency: Optional[Union[List[Union[str, 'Text', 'BroadcastFrequencySpecification']], str, 'Text', 'BroadcastFrequencySpecification']] = Field( default=None, description="The frequency used for over-the-air broadcasts. Numeric values or simple ranges e.g." diff --git a/pydantic_schemaorg/BrokerageAccount.py b/pydantic_schemaorg/BrokerageAccount.py index f22f2027..efda5bff 100644 --- a/pydantic_schemaorg/BrokerageAccount.py +++ b/pydantic_schemaorg/BrokerageAccount.py @@ -12,5 +12,5 @@ class BrokerageAccount(InvestmentOrDeposit): See: https://schema.org/BrokerageAccount Model depth: 6 """ - type_: str = Field(default="BrokerageAccount", alias='@type') + type_: str = Field(default="BrokerageAccount", alias='@type', constant=True) diff --git a/pydantic_schemaorg/BuddhistTemple.py b/pydantic_schemaorg/BuddhistTemple.py index 870ae6b8..0649a688 100644 --- a/pydantic_schemaorg/BuddhistTemple.py +++ b/pydantic_schemaorg/BuddhistTemple.py @@ -11,5 +11,5 @@ class BuddhistTemple(PlaceOfWorship): See: https://schema.org/BuddhistTemple Model depth: 5 """ - type_: str = Field(default="BuddhistTemple", alias='@type') + type_: str = Field(default="BuddhistTemple", alias='@type', constant=True) diff --git a/pydantic_schemaorg/BusOrCoach.py b/pydantic_schemaorg/BusOrCoach.py index ca850fe6..61400aed 100644 --- a/pydantic_schemaorg/BusOrCoach.py +++ b/pydantic_schemaorg/BusOrCoach.py @@ -15,7 +15,7 @@ class BusOrCoach(Vehicle): See: https://schema.org/BusOrCoach Model depth: 4 """ - type_: str = Field(default="BusOrCoach", alias='@type') + type_: str = Field(default="BusOrCoach", alias='@type', constant=True) acrissCode: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="The ACRISS Car Classification Code is a code used by many car rental companies, for classifying" diff --git a/pydantic_schemaorg/BusReservation.py b/pydantic_schemaorg/BusReservation.py index 50be5690..52bc39a5 100644 --- a/pydantic_schemaorg/BusReservation.py +++ b/pydantic_schemaorg/BusReservation.py @@ -13,5 +13,5 @@ class BusReservation(Reservation): See: https://schema.org/BusReservation Model depth: 4 """ - type_: str = Field(default="BusReservation", alias='@type') + type_: str = Field(default="BusReservation", alias='@type', constant=True) diff --git a/pydantic_schemaorg/BusStation.py b/pydantic_schemaorg/BusStation.py index a1ac9855..b00f6655 100644 --- a/pydantic_schemaorg/BusStation.py +++ b/pydantic_schemaorg/BusStation.py @@ -11,5 +11,5 @@ class BusStation(CivicStructure): See: https://schema.org/BusStation Model depth: 4 """ - type_: str = Field(default="BusStation", alias='@type') + type_: str = Field(default="BusStation", alias='@type', constant=True) diff --git a/pydantic_schemaorg/BusStop.py b/pydantic_schemaorg/BusStop.py index 8de0465f..6d2fc7aa 100644 --- a/pydantic_schemaorg/BusStop.py +++ b/pydantic_schemaorg/BusStop.py @@ -11,5 +11,5 @@ class BusStop(CivicStructure): See: https://schema.org/BusStop Model depth: 4 """ - type_: str = Field(default="BusStop", alias='@type') + type_: str = Field(default="BusStop", alias='@type', constant=True) diff --git a/pydantic_schemaorg/BusTrip.py b/pydantic_schemaorg/BusTrip.py index 62dbaa23..d76088f4 100644 --- a/pydantic_schemaorg/BusTrip.py +++ b/pydantic_schemaorg/BusTrip.py @@ -14,7 +14,7 @@ class BusTrip(Trip): See: https://schema.org/BusTrip Model depth: 4 """ - type_: str = Field(default="BusTrip", alias='@type') + type_: str = Field(default="BusTrip", alias='@type', constant=True) departureBusStop: Optional[Union[List[Union['BusStation', 'BusStop', str]], 'BusStation', 'BusStop', str]] = Field( default=None, description="The stop or station from which the bus departs.", diff --git a/pydantic_schemaorg/BusinessAudience.py b/pydantic_schemaorg/BusinessAudience.py index 0143cb72..18b3488c 100644 --- a/pydantic_schemaorg/BusinessAudience.py +++ b/pydantic_schemaorg/BusinessAudience.py @@ -15,7 +15,7 @@ class BusinessAudience(Audience): See: https://schema.org/BusinessAudience Model depth: 4 """ - type_: str = Field(default="BusinessAudience", alias='@type') + type_: str = Field(default="BusinessAudience", alias='@type', constant=True) yearsInOperation: Optional[Union[List[Union['QuantitativeValue', str]], 'QuantitativeValue', str]] = Field( default=None, description="The age of the business.", diff --git a/pydantic_schemaorg/BusinessEntityType.py b/pydantic_schemaorg/BusinessEntityType.py index 8a45edc1..fb777045 100644 --- a/pydantic_schemaorg/BusinessEntityType.py +++ b/pydantic_schemaorg/BusinessEntityType.py @@ -15,5 +15,5 @@ class BusinessEntityType(Enumeration): See: https://schema.org/BusinessEntityType Model depth: 4 """ - type_: str = Field(default="BusinessEntityType", alias='@type') + type_: str = Field(default="BusinessEntityType", alias='@type', constant=True) diff --git a/pydantic_schemaorg/BusinessEvent.py b/pydantic_schemaorg/BusinessEvent.py index 0295c9d5..25fff070 100644 --- a/pydantic_schemaorg/BusinessEvent.py +++ b/pydantic_schemaorg/BusinessEvent.py @@ -11,5 +11,5 @@ class BusinessEvent(Event): See: https://schema.org/BusinessEvent Model depth: 3 """ - type_: str = Field(default="BusinessEvent", alias='@type') + type_: str = Field(default="BusinessEvent", alias='@type', constant=True) diff --git a/pydantic_schemaorg/BusinessFunction.py b/pydantic_schemaorg/BusinessFunction.py index b8dc1756..900ad636 100644 --- a/pydantic_schemaorg/BusinessFunction.py +++ b/pydantic_schemaorg/BusinessFunction.py @@ -19,5 +19,5 @@ class BusinessFunction(Enumeration): See: https://schema.org/BusinessFunction Model depth: 4 """ - type_: str = Field(default="BusinessFunction", alias='@type') + type_: str = Field(default="BusinessFunction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/BusinessSupport.py b/pydantic_schemaorg/BusinessSupport.py index 84daa8e8..50217106 100644 --- a/pydantic_schemaorg/BusinessSupport.py +++ b/pydantic_schemaorg/BusinessSupport.py @@ -11,5 +11,5 @@ class BusinessSupport(GovernmentBenefitsType): See: https://schema.org/BusinessSupport Model depth: 5 """ - type_: str = Field(default="BusinessSupport", alias='@type') + type_: str = Field(default="BusinessSupport", alias='@type', constant=True) diff --git a/pydantic_schemaorg/BuyAction.py b/pydantic_schemaorg/BuyAction.py index a56eba64..82d8da2a 100644 --- a/pydantic_schemaorg/BuyAction.py +++ b/pydantic_schemaorg/BuyAction.py @@ -15,12 +15,12 @@ class BuyAction(TradeAction): See: https://schema.org/BuyAction Model depth: 4 """ - type_: str = Field(default="BuyAction", alias='@type') - vendor: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + type_: str = Field(default="BuyAction", alias='@type', constant=True) + vendor: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="'vendor' is an earlier term for 'seller'.", ) - seller: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + seller: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="An entity which offers (sells / leases / lends / loans) the services / goods. A seller may" "also be a provider.", @@ -32,6 +32,6 @@ class BuyAction(TradeAction): if TYPE_CHECKING: - from pydantic_schemaorg.Person import Person from pydantic_schemaorg.Organization import Organization + from pydantic_schemaorg.Person import Person from pydantic_schemaorg.WarrantyPromise import WarrantyPromise diff --git a/pydantic_schemaorg/CDCPMDRecord.py b/pydantic_schemaorg/CDCPMDRecord.py index 5874e7df..75cbac63 100644 --- a/pydantic_schemaorg/CDCPMDRecord.py +++ b/pydantic_schemaorg/CDCPMDRecord.py @@ -19,22 +19,22 @@ class CDCPMDRecord(StructuredValue): See: https://schema.org/CDCPMDRecord Model depth: 4 """ - type_: str = Field(default="CDCPMDRecord", alias='@type') - cvdNumVentUse: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( + type_: str = Field(default="CDCPMDRecord", alias='@type', constant=True) + cvdNumVentUse: Optional[Union[List[Union[int, float, 'Number', str]], int, float, 'Number', str]] = Field( default=None, description="numventuse - MECHANICAL VENTILATORS IN USE: Total number of ventilators in use.", ) - cvdNumTotBeds: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( + cvdNumTotBeds: Optional[Union[List[Union[int, float, 'Number', str]], int, float, 'Number', str]] = Field( default=None, description="numtotbeds - ALL HOSPITAL BEDS: Total number of all Inpatient and outpatient beds, including" "all staffed,ICU, licensed, and overflow (surge) beds used for inpatients or outpatients.", ) - cvdNumC19Died: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( + cvdNumC19Died: Optional[Union[List[Union[int, float, 'Number', str]], int, float, 'Number', str]] = Field( default=None, description="numc19died - DEATHS: Patients with suspected or confirmed COVID-19 who died in the hospital," "ED, or any overflow location.", ) - cvdNumC19HOPats: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( + cvdNumC19HOPats: Optional[Union[List[Union[int, float, 'Number', str]], int, float, 'Number', str]] = Field( default=None, description="numc19hopats - HOSPITAL ONSET: Patients hospitalized in an NHSN inpatient care location" "with onset of suspected or confirmed COVID-19 14 or more days after hospitalization.", @@ -45,12 +45,12 @@ class CDCPMDRecord(StructuredValue): "to identify the facility. To provide other details, [[healthcareReportingData]]" "can be used on a [[Hospital]] entry.", ) - cvdNumC19OverflowPats: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( + cvdNumC19OverflowPats: Optional[Union[List[Union[int, float, 'Number', str]], int, float, 'Number', str]] = Field( default=None, description="numc19overflowpats - ED/OVERFLOW: Patients with suspected or confirmed COVID-19" "who are in the ED or any overflow location awaiting an inpatient bed.", ) - cvdNumBeds: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( + cvdNumBeds: Optional[Union[List[Union[int, float, 'Number', str]], int, float, 'Number', str]] = Field( default=None, description="numbeds - HOSPITAL INPATIENT BEDS: Inpatient beds, including all staffed, licensed," "and overflow (surge) beds used for inpatients.", @@ -59,31 +59,31 @@ class CDCPMDRecord(StructuredValue): default=None, description="Publication date of an online listing.", ) - cvdNumICUBedsOcc: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( + cvdNumICUBedsOcc: Optional[Union[List[Union[int, float, 'Number', str]], int, float, 'Number', str]] = Field( default=None, description="numicubedsocc - ICU BED OCCUPANCY: Total number of staffed inpatient ICU beds that are" "occupied.", ) - cvdNumVent: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( + cvdNumVent: Optional[Union[List[Union[int, float, 'Number', str]], int, float, 'Number', str]] = Field( default=None, description="numvent - MECHANICAL VENTILATORS: Total number of ventilators available.", ) - cvdNumC19HospPats: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( + cvdNumC19HospPats: Optional[Union[List[Union[int, float, 'Number', str]], int, float, 'Number', str]] = Field( default=None, description="numc19hosppats - HOSPITALIZED: Patients currently hospitalized in an inpatient care" "location who have suspected or confirmed COVID-19.", ) - cvdNumICUBeds: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( + cvdNumICUBeds: Optional[Union[List[Union[int, float, 'Number', str]], int, float, 'Number', str]] = Field( default=None, description="numicubeds - ICU BEDS: Total number of staffed inpatient intensive care unit (ICU) beds.", ) - cvdNumC19OFMechVentPats: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( + cvdNumC19OFMechVentPats: Optional[Union[List[Union[int, float, 'Number', str]], int, float, 'Number', str]] = Field( default=None, description="numc19ofmechventpats - ED/OVERFLOW and VENTILATED: Patients with suspected or confirmed" "COVID-19 who are in the ED or any overflow location awaiting an inpatient bed and on a mechanical" "ventilator.", ) - cvdNumC19MechVentPats: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( + cvdNumC19MechVentPats: Optional[Union[List[Union[int, float, 'Number', str]], int, float, 'Number', str]] = Field( default=None, description="numc19mechventpats - HOSPITALIZED and VENTILATED: Patients hospitalized in an NHSN" "inpatient care location who have suspected or confirmed COVID-19 and are on a mechanical" @@ -99,7 +99,7 @@ class CDCPMDRecord(StructuredValue): default=None, description="collectiondate - Date for which patient counts are reported.", ) - cvdNumBedsOcc: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( + cvdNumBedsOcc: Optional[Union[List[Union[int, float, 'Number', str]], int, float, 'Number', str]] = Field( default=None, description="numbedsocc - HOSPITAL INPATIENT BED OCCUPANCY: Total number of staffed inpatient beds" "that are occupied.", diff --git a/pydantic_schemaorg/CDFormat.py b/pydantic_schemaorg/CDFormat.py index f9c3f518..5ae50758 100644 --- a/pydantic_schemaorg/CDFormat.py +++ b/pydantic_schemaorg/CDFormat.py @@ -11,5 +11,5 @@ class CDFormat(MusicReleaseFormatType): See: https://schema.org/CDFormat Model depth: 5 """ - type_: str = Field(default="CDFormat", alias='@type') + type_: str = Field(default="CDFormat", alias='@type', constant=True) diff --git a/pydantic_schemaorg/CT.py b/pydantic_schemaorg/CT.py index 5046d021..dcbc7e3c 100644 --- a/pydantic_schemaorg/CT.py +++ b/pydantic_schemaorg/CT.py @@ -11,5 +11,5 @@ class CT(MedicalImagingTechnique): See: https://schema.org/CT Model depth: 6 """ - type_: str = Field(default="CT", alias='@type') + type_: str = Field(default="CT", alias='@type', constant=True) diff --git a/pydantic_schemaorg/CableOrSatelliteService.py b/pydantic_schemaorg/CableOrSatelliteService.py index 59a9d311..bcd34142 100644 --- a/pydantic_schemaorg/CableOrSatelliteService.py +++ b/pydantic_schemaorg/CableOrSatelliteService.py @@ -12,5 +12,5 @@ class CableOrSatelliteService(Service): See: https://schema.org/CableOrSatelliteService Model depth: 4 """ - type_: str = Field(default="CableOrSatelliteService", alias='@type') + type_: str = Field(default="CableOrSatelliteService", alias='@type', constant=True) diff --git a/pydantic_schemaorg/CafeOrCoffeeShop.py b/pydantic_schemaorg/CafeOrCoffeeShop.py index c7b70f0d..00f12746 100644 --- a/pydantic_schemaorg/CafeOrCoffeeShop.py +++ b/pydantic_schemaorg/CafeOrCoffeeShop.py @@ -11,5 +11,5 @@ class CafeOrCoffeeShop(FoodEstablishment): See: https://schema.org/CafeOrCoffeeShop Model depth: 5 """ - type_: str = Field(default="CafeOrCoffeeShop", alias='@type') + type_: str = Field(default="CafeOrCoffeeShop", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Campground.py b/pydantic_schemaorg/Campground.py index e6ba69d9..718ffbd8 100644 --- a/pydantic_schemaorg/Campground.py +++ b/pydantic_schemaorg/Campground.py @@ -21,5 +21,5 @@ class Campground(LodgingBusiness, CivicStructure): See: https://schema.org/Campground Model depth: 4 """ - type_: str = Field(default="Campground", alias='@type') + type_: str = Field(default="Campground", alias='@type', constant=True) diff --git a/pydantic_schemaorg/CampingPitch.py b/pydantic_schemaorg/CampingPitch.py index b36de199..35ef3ba7 100644 --- a/pydantic_schemaorg/CampingPitch.py +++ b/pydantic_schemaorg/CampingPitch.py @@ -20,5 +20,5 @@ class CampingPitch(Accommodation): See: https://schema.org/CampingPitch Model depth: 4 """ - type_: str = Field(default="CampingPitch", alias='@type') + type_: str = Field(default="CampingPitch", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Canal.py b/pydantic_schemaorg/Canal.py index ba1ae86f..a2d963e5 100644 --- a/pydantic_schemaorg/Canal.py +++ b/pydantic_schemaorg/Canal.py @@ -11,5 +11,5 @@ class Canal(BodyOfWater): See: https://schema.org/Canal Model depth: 5 """ - type_: str = Field(default="Canal", alias='@type') + type_: str = Field(default="Canal", alias='@type', constant=True) diff --git a/pydantic_schemaorg/CancelAction.py b/pydantic_schemaorg/CancelAction.py index c90b8819..69460187 100644 --- a/pydantic_schemaorg/CancelAction.py +++ b/pydantic_schemaorg/CancelAction.py @@ -12,5 +12,5 @@ class CancelAction(PlanAction): See: https://schema.org/CancelAction Model depth: 5 """ - type_: str = Field(default="CancelAction", alias='@type') + type_: str = Field(default="CancelAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Car.py b/pydantic_schemaorg/Car.py index f38787d0..7450a0d4 100644 --- a/pydantic_schemaorg/Car.py +++ b/pydantic_schemaorg/Car.py @@ -14,7 +14,7 @@ class Car(Vehicle): See: https://schema.org/Car Model depth: 4 """ - type_: str = Field(default="Car", alias='@type') + type_: str = Field(default="Car", alias='@type', constant=True) acrissCode: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="The ACRISS Car Classification Code is a code used by many car rental companies, for classifying" diff --git a/pydantic_schemaorg/CarUsageType.py b/pydantic_schemaorg/CarUsageType.py index 604255fd..9bb1f0fc 100644 --- a/pydantic_schemaorg/CarUsageType.py +++ b/pydantic_schemaorg/CarUsageType.py @@ -12,5 +12,5 @@ class CarUsageType(Enumeration): See: https://schema.org/CarUsageType Model depth: 4 """ - type_: str = Field(default="CarUsageType", alias='@type') + type_: str = Field(default="CarUsageType", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Cardiovascular.py b/pydantic_schemaorg/Cardiovascular.py index d22ddc6f..84572bfa 100644 --- a/pydantic_schemaorg/Cardiovascular.py +++ b/pydantic_schemaorg/Cardiovascular.py @@ -12,5 +12,5 @@ class Cardiovascular(MedicalSpecialty): See: https://schema.org/Cardiovascular Model depth: 6 """ - type_: str = Field(default="Cardiovascular", alias='@type') + type_: str = Field(default="Cardiovascular", alias='@type', constant=True) diff --git a/pydantic_schemaorg/CardiovascularExam.py b/pydantic_schemaorg/CardiovascularExam.py index b30412bb..8731a0bc 100644 --- a/pydantic_schemaorg/CardiovascularExam.py +++ b/pydantic_schemaorg/CardiovascularExam.py @@ -11,5 +11,5 @@ class CardiovascularExam(PhysicalExam): See: https://schema.org/CardiovascularExam Model depth: 5 """ - type_: str = Field(default="CardiovascularExam", alias='@type') + type_: str = Field(default="CardiovascularExam", alias='@type', constant=True) diff --git a/pydantic_schemaorg/CaseSeries.py b/pydantic_schemaorg/CaseSeries.py index 4918465f..f7ca174a 100644 --- a/pydantic_schemaorg/CaseSeries.py +++ b/pydantic_schemaorg/CaseSeries.py @@ -17,5 +17,5 @@ class CaseSeries(MedicalObservationalStudyDesign): See: https://schema.org/CaseSeries Model depth: 6 """ - type_: str = Field(default="CaseSeries", alias='@type') + type_: str = Field(default="CaseSeries", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Casino.py b/pydantic_schemaorg/Casino.py index 6a4a05a5..b0d0bbd7 100644 --- a/pydantic_schemaorg/Casino.py +++ b/pydantic_schemaorg/Casino.py @@ -11,5 +11,5 @@ class Casino(EntertainmentBusiness): See: https://schema.org/Casino Model depth: 5 """ - type_: str = Field(default="Casino", alias='@type') + type_: str = Field(default="Casino", alias='@type', constant=True) diff --git a/pydantic_schemaorg/CassetteFormat.py b/pydantic_schemaorg/CassetteFormat.py index 29d5b8ef..1deed86a 100644 --- a/pydantic_schemaorg/CassetteFormat.py +++ b/pydantic_schemaorg/CassetteFormat.py @@ -11,5 +11,5 @@ class CassetteFormat(MusicReleaseFormatType): See: https://schema.org/CassetteFormat Model depth: 5 """ - type_: str = Field(default="CassetteFormat", alias='@type') + type_: str = Field(default="CassetteFormat", alias='@type', constant=True) diff --git a/pydantic_schemaorg/CategoryCode.py b/pydantic_schemaorg/CategoryCode.py index f9f8adcc..c411770c 100644 --- a/pydantic_schemaorg/CategoryCode.py +++ b/pydantic_schemaorg/CategoryCode.py @@ -15,7 +15,7 @@ class CategoryCode(DefinedTerm): See: https://schema.org/CategoryCode Model depth: 4 """ - type_: str = Field(default="CategoryCode", alias='@type') + type_: str = Field(default="CategoryCode", alias='@type', constant=True) codeValue: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="A short textual code that uniquely identifies the value.", diff --git a/pydantic_schemaorg/CategoryCodeSet.py b/pydantic_schemaorg/CategoryCodeSet.py index c179f349..4ec6e9fd 100644 --- a/pydantic_schemaorg/CategoryCodeSet.py +++ b/pydantic_schemaorg/CategoryCodeSet.py @@ -14,7 +14,7 @@ class CategoryCodeSet(DefinedTermSet): See: https://schema.org/CategoryCodeSet Model depth: 4 """ - type_: str = Field(default="CategoryCodeSet", alias='@type') + type_: str = Field(default="CategoryCodeSet", alias='@type', constant=True) hasCategoryCode: Optional[Union[List[Union['CategoryCode', str]], 'CategoryCode', str]] = Field( default=None, description="A Category code contained in this code set.", diff --git a/pydantic_schemaorg/CatholicChurch.py b/pydantic_schemaorg/CatholicChurch.py index 0322ac60..dd9f86fd 100644 --- a/pydantic_schemaorg/CatholicChurch.py +++ b/pydantic_schemaorg/CatholicChurch.py @@ -11,5 +11,5 @@ class CatholicChurch(Church): See: https://schema.org/CatholicChurch Model depth: 6 """ - type_: str = Field(default="CatholicChurch", alias='@type') + type_: str = Field(default="CatholicChurch", alias='@type', constant=True) diff --git a/pydantic_schemaorg/CausesHealthAspect.py b/pydantic_schemaorg/CausesHealthAspect.py index 717d01a8..cbbe8147 100644 --- a/pydantic_schemaorg/CausesHealthAspect.py +++ b/pydantic_schemaorg/CausesHealthAspect.py @@ -11,5 +11,5 @@ class CausesHealthAspect(HealthAspectEnumeration): See: https://schema.org/CausesHealthAspect Model depth: 5 """ - type_: str = Field(default="CausesHealthAspect", alias='@type') + type_: str = Field(default="CausesHealthAspect", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Cemetery.py b/pydantic_schemaorg/Cemetery.py index 9665ec23..322a506f 100644 --- a/pydantic_schemaorg/Cemetery.py +++ b/pydantic_schemaorg/Cemetery.py @@ -11,5 +11,5 @@ class Cemetery(CivicStructure): See: https://schema.org/Cemetery Model depth: 4 """ - type_: str = Field(default="Cemetery", alias='@type') + type_: str = Field(default="Cemetery", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Chapter.py b/pydantic_schemaorg/Chapter.py index 6e6bcd0c..3e582559 100644 --- a/pydantic_schemaorg/Chapter.py +++ b/pydantic_schemaorg/Chapter.py @@ -15,7 +15,7 @@ class Chapter(CreativeWork): See: https://schema.org/Chapter Model depth: 3 """ - type_: str = Field(default="Chapter", alias='@type') + type_: str = Field(default="Chapter", alias='@type', constant=True) pageStart: Optional[Union[List[Union[int, 'Integer', str, 'Text']], int, 'Integer', str, 'Text']] = Field( default=None, description="The page on which the work starts; for example \"135\" or \"xiii\".", diff --git a/pydantic_schemaorg/CharitableIncorporatedOrganization.py b/pydantic_schemaorg/CharitableIncorporatedOrganization.py index fd5f2fd8..3b4fa887 100644 --- a/pydantic_schemaorg/CharitableIncorporatedOrganization.py +++ b/pydantic_schemaorg/CharitableIncorporatedOrganization.py @@ -12,5 +12,5 @@ class CharitableIncorporatedOrganization(UKNonprofitType): See: https://schema.org/CharitableIncorporatedOrganization Model depth: 6 """ - type_: str = Field(default="CharitableIncorporatedOrganization", alias='@type') + type_: str = Field(default="CharitableIncorporatedOrganization", alias='@type', constant=True) diff --git a/pydantic_schemaorg/CheckAction.py b/pydantic_schemaorg/CheckAction.py index 844bf990..2aa0d321 100644 --- a/pydantic_schemaorg/CheckAction.py +++ b/pydantic_schemaorg/CheckAction.py @@ -12,5 +12,5 @@ class CheckAction(FindAction): See: https://schema.org/CheckAction Model depth: 4 """ - type_: str = Field(default="CheckAction", alias='@type') + type_: str = Field(default="CheckAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/CheckInAction.py b/pydantic_schemaorg/CheckInAction.py index 60a818fc..4dc95532 100644 --- a/pydantic_schemaorg/CheckInAction.py +++ b/pydantic_schemaorg/CheckInAction.py @@ -18,5 +18,5 @@ class CheckInAction(CommunicateAction): See: https://schema.org/CheckInAction Model depth: 5 """ - type_: str = Field(default="CheckInAction", alias='@type') + type_: str = Field(default="CheckInAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/CheckOutAction.py b/pydantic_schemaorg/CheckOutAction.py index 42322e6e..5018f312 100644 --- a/pydantic_schemaorg/CheckOutAction.py +++ b/pydantic_schemaorg/CheckOutAction.py @@ -17,5 +17,5 @@ class CheckOutAction(CommunicateAction): See: https://schema.org/CheckOutAction Model depth: 5 """ - type_: str = Field(default="CheckOutAction", alias='@type') + type_: str = Field(default="CheckOutAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/CheckoutPage.py b/pydantic_schemaorg/CheckoutPage.py index 87e0c762..e9a3261a 100644 --- a/pydantic_schemaorg/CheckoutPage.py +++ b/pydantic_schemaorg/CheckoutPage.py @@ -11,5 +11,5 @@ class CheckoutPage(WebPage): See: https://schema.org/CheckoutPage Model depth: 4 """ - type_: str = Field(default="CheckoutPage", alias='@type') + type_: str = Field(default="CheckoutPage", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ChemicalSubstance.py b/pydantic_schemaorg/ChemicalSubstance.py index 9900de49..e0c12e6a 100644 --- a/pydantic_schemaorg/ChemicalSubstance.py +++ b/pydantic_schemaorg/ChemicalSubstance.py @@ -15,7 +15,7 @@ class ChemicalSubstance(BioChemEntity): See: https://schema.org/ChemicalSubstance Model depth: 3 """ - type_: str = Field(default="ChemicalSubstance", alias='@type') + type_: str = Field(default="ChemicalSubstance", alias='@type', constant=True) chemicalComposition: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="The chemical composition describes the identity and relative ratio of the chemical" diff --git a/pydantic_schemaorg/ChildCare.py b/pydantic_schemaorg/ChildCare.py index fc4b23d3..0aaccbcb 100644 --- a/pydantic_schemaorg/ChildCare.py +++ b/pydantic_schemaorg/ChildCare.py @@ -11,5 +11,5 @@ class ChildCare(LocalBusiness): See: https://schema.org/ChildCare Model depth: 4 """ - type_: str = Field(default="ChildCare", alias='@type') + type_: str = Field(default="ChildCare", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ChildrensEvent.py b/pydantic_schemaorg/ChildrensEvent.py index 1cb0d110..91a785dc 100644 --- a/pydantic_schemaorg/ChildrensEvent.py +++ b/pydantic_schemaorg/ChildrensEvent.py @@ -11,5 +11,5 @@ class ChildrensEvent(Event): See: https://schema.org/ChildrensEvent Model depth: 3 """ - type_: str = Field(default="ChildrensEvent", alias='@type') + type_: str = Field(default="ChildrensEvent", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Chiropractic.py b/pydantic_schemaorg/Chiropractic.py index 573d8771..f5e663af 100644 --- a/pydantic_schemaorg/Chiropractic.py +++ b/pydantic_schemaorg/Chiropractic.py @@ -12,5 +12,5 @@ class Chiropractic(MedicineSystem): See: https://schema.org/Chiropractic Model depth: 6 """ - type_: str = Field(default="Chiropractic", alias='@type') + type_: str = Field(default="Chiropractic", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ChooseAction.py b/pydantic_schemaorg/ChooseAction.py index f6489836..c9c6c8ca 100644 --- a/pydantic_schemaorg/ChooseAction.py +++ b/pydantic_schemaorg/ChooseAction.py @@ -14,7 +14,7 @@ class ChooseAction(AssessAction): See: https://schema.org/ChooseAction Model depth: 4 """ - type_: str = Field(default="ChooseAction", alias='@type') + type_: str = Field(default="ChooseAction", alias='@type', constant=True) option: Optional[Union[List[Union[str, 'Text', 'Thing']], str, 'Text', 'Thing']] = Field( default=None, description="A sub property of object. The options subject to this action.", diff --git a/pydantic_schemaorg/Church.py b/pydantic_schemaorg/Church.py index f057b9fa..97c70d62 100644 --- a/pydantic_schemaorg/Church.py +++ b/pydantic_schemaorg/Church.py @@ -11,5 +11,5 @@ class Church(PlaceOfWorship): See: https://schema.org/Church Model depth: 5 """ - type_: str = Field(default="Church", alias='@type') + type_: str = Field(default="Church", alias='@type', constant=True) diff --git a/pydantic_schemaorg/City.py b/pydantic_schemaorg/City.py index 31e03c42..65644a56 100644 --- a/pydantic_schemaorg/City.py +++ b/pydantic_schemaorg/City.py @@ -11,5 +11,5 @@ class City(AdministrativeArea): See: https://schema.org/City Model depth: 4 """ - type_: str = Field(default="City", alias='@type') + type_: str = Field(default="City", alias='@type', constant=True) diff --git a/pydantic_schemaorg/CityHall.py b/pydantic_schemaorg/CityHall.py index 931dbdbf..dad9277c 100644 --- a/pydantic_schemaorg/CityHall.py +++ b/pydantic_schemaorg/CityHall.py @@ -11,5 +11,5 @@ class CityHall(GovernmentBuilding): See: https://schema.org/CityHall Model depth: 5 """ - type_: str = Field(default="CityHall", alias='@type') + type_: str = Field(default="CityHall", alias='@type', constant=True) diff --git a/pydantic_schemaorg/CivicStructure.py b/pydantic_schemaorg/CivicStructure.py index 02c52b25..6e1b58b2 100644 --- a/pydantic_schemaorg/CivicStructure.py +++ b/pydantic_schemaorg/CivicStructure.py @@ -14,7 +14,7 @@ class CivicStructure(Place): See: https://schema.org/CivicStructure Model depth: 3 """ - type_: str = Field(default="CivicStructure", alias='@type') + type_: str = Field(default="CivicStructure", alias='@type', constant=True) openingHours: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="The general opening hours for a business. Opening hours can be specified as a weekly time" diff --git a/pydantic_schemaorg/Claim.py b/pydantic_schemaorg/Claim.py index b4752529..80289716 100644 --- a/pydantic_schemaorg/Claim.py +++ b/pydantic_schemaorg/Claim.py @@ -23,12 +23,12 @@ class Claim(CreativeWork): See: https://schema.org/Claim Model depth: 3 """ - type_: str = Field(default="Claim", alias='@type') + type_: str = Field(default="Claim", alias='@type', constant=True) firstAppearance: Optional[Union[List[Union['CreativeWork', str]], 'CreativeWork', str]] = Field( default=None, description="Indicates the first known occurence of a [[Claim]] in some [[CreativeWork]].", ) - claimInterpreter: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + claimInterpreter: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="For a [[Claim]] interpreted from [[MediaObject]] content sed to indicate a claim contained," "implied or refined from the content of a [[MediaObject]].", @@ -41,5 +41,5 @@ class Claim(CreativeWork): if TYPE_CHECKING: from pydantic_schemaorg.CreativeWork import CreativeWork - from pydantic_schemaorg.Person import Person from pydantic_schemaorg.Organization import Organization + from pydantic_schemaorg.Person import Person diff --git a/pydantic_schemaorg/ClaimReview.py b/pydantic_schemaorg/ClaimReview.py index 0b936642..48499906 100644 --- a/pydantic_schemaorg/ClaimReview.py +++ b/pydantic_schemaorg/ClaimReview.py @@ -15,7 +15,7 @@ class ClaimReview(Review): See: https://schema.org/ClaimReview Model depth: 4 """ - type_: str = Field(default="ClaimReview", alias='@type') + type_: str = Field(default="ClaimReview", alias='@type', constant=True) claimReviewed: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="A short summary of the specific claims reviewed in a ClaimReview.", diff --git a/pydantic_schemaorg/Class.py b/pydantic_schemaorg/Class.py index 5a090795..6a54450b 100644 --- a/pydantic_schemaorg/Class.py +++ b/pydantic_schemaorg/Class.py @@ -14,13 +14,13 @@ class Class(Intangible): See: https://schema.org/Class Model depth: 3 """ - type_: str = Field(default="Class", alias='@type') - supersededBy: Optional[Union[List[Union['Class', 'Property', 'Enumeration', str]], 'Class', 'Property', 'Enumeration', str]] = Field( + type_: str = Field(default="Class", alias='@type', constant=True) + supersededBy: Optional[Union[List[Union['Class', 'Enumeration', 'Property', str]], 'Class', 'Enumeration', 'Property', str]] = Field( default=None, description="Relates a term (i.e. a property, class or enumeration) to one that supersedes it.", ) if TYPE_CHECKING: - from pydantic_schemaorg.Property import Property from pydantic_schemaorg.Enumeration import Enumeration + from pydantic_schemaorg.Property import Property diff --git a/pydantic_schemaorg/CleaningFee.py b/pydantic_schemaorg/CleaningFee.py index 29947c1a..ab8521e4 100644 --- a/pydantic_schemaorg/CleaningFee.py +++ b/pydantic_schemaorg/CleaningFee.py @@ -12,5 +12,5 @@ class CleaningFee(PriceComponentTypeEnumeration): See: https://schema.org/CleaningFee Model depth: 5 """ - type_: str = Field(default="CleaningFee", alias='@type') + type_: str = Field(default="CleaningFee", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Clinician.py b/pydantic_schemaorg/Clinician.py index e4e80425..56df7983 100644 --- a/pydantic_schemaorg/Clinician.py +++ b/pydantic_schemaorg/Clinician.py @@ -12,5 +12,5 @@ class Clinician(MedicalAudienceType): See: https://schema.org/Clinician Model depth: 6 """ - type_: str = Field(default="Clinician", alias='@type') + type_: str = Field(default="Clinician", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Clip.py b/pydantic_schemaorg/Clip.py index 842b9ded..cacaa972 100644 --- a/pydantic_schemaorg/Clip.py +++ b/pydantic_schemaorg/Clip.py @@ -15,7 +15,7 @@ class Clip(CreativeWork): See: https://schema.org/Clip Model depth: 3 """ - type_: str = Field(default="Clip", alias='@type') + type_: str = Field(default="Clip", alias='@type', constant=True) partOfSeason: Optional[Union[List[Union['CreativeWorkSeason', str]], 'CreativeWorkSeason', str]] = Field( default=None, description="The season to which this episode belongs.", @@ -30,7 +30,7 @@ class Clip(CreativeWork): description="A director of e.g. tv, radio, movie, video gaming etc. content, or of an event. Directors" "can be associated with individual items or with a series, episode, clip.", ) - startOffset: Optional[Union[List[Union[Decimal, 'Number', 'HyperTocEntry', str]], Decimal, 'Number', 'HyperTocEntry', str]] = Field( + startOffset: Optional[Union[List[Union[int, float, 'Number', 'HyperTocEntry', str]], int, float, 'Number', 'HyperTocEntry', str]] = Field( default=None, description="The start time of the clip expressed as the number of seconds from the beginning of the" "work.", @@ -52,7 +52,7 @@ class Clip(CreativeWork): default=None, description="The episode to which this clip belongs.", ) - endOffset: Optional[Union[List[Union[Decimal, 'Number', 'HyperTocEntry', str]], Decimal, 'Number', 'HyperTocEntry', str]] = Field( + endOffset: Optional[Union[List[Union[int, float, 'Number', 'HyperTocEntry', str]], int, float, 'Number', 'HyperTocEntry', str]] = Field( default=None, description="The end time of the clip expressed as the number of seconds from the beginning of the work.", ) @@ -61,7 +61,7 @@ class Clip(CreativeWork): description="A director of e.g. tv, radio, movie, video games etc. content. Directors can be associated" "with individual items or with a series, episode, clip.", ) - musicBy: Optional[Union[List[Union['Person', 'MusicGroup', str]], 'Person', 'MusicGroup', str]] = Field( + musicBy: Optional[Union[List[Union['MusicGroup', 'Person', str]], 'MusicGroup', 'Person', str]] = Field( default=None, description="The composer of the soundtrack.", ) diff --git a/pydantic_schemaorg/ClothingStore.py b/pydantic_schemaorg/ClothingStore.py index a74a7924..ec71fa3c 100644 --- a/pydantic_schemaorg/ClothingStore.py +++ b/pydantic_schemaorg/ClothingStore.py @@ -11,5 +11,5 @@ class ClothingStore(Store): See: https://schema.org/ClothingStore Model depth: 5 """ - type_: str = Field(default="ClothingStore", alias='@type') + type_: str = Field(default="ClothingStore", alias='@type', constant=True) diff --git a/pydantic_schemaorg/CoOp.py b/pydantic_schemaorg/CoOp.py index 347a584a..38d9a920 100644 --- a/pydantic_schemaorg/CoOp.py +++ b/pydantic_schemaorg/CoOp.py @@ -11,5 +11,5 @@ class CoOp(GamePlayMode): See: https://schema.org/CoOp Model depth: 5 """ - type_: str = Field(default="CoOp", alias='@type') + type_: str = Field(default="CoOp", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Code.py b/pydantic_schemaorg/Code.py index 476c6630..bdf6a7d0 100644 --- a/pydantic_schemaorg/Code.py +++ b/pydantic_schemaorg/Code.py @@ -12,5 +12,5 @@ class Code(CreativeWork): See: https://schema.org/Code Model depth: 3 """ - type_: str = Field(default="Code", alias='@type') + type_: str = Field(default="Code", alias='@type', constant=True) diff --git a/pydantic_schemaorg/CohortStudy.py b/pydantic_schemaorg/CohortStudy.py index 80e037a6..3729cdf8 100644 --- a/pydantic_schemaorg/CohortStudy.py +++ b/pydantic_schemaorg/CohortStudy.py @@ -18,5 +18,5 @@ class CohortStudy(MedicalObservationalStudyDesign): See: https://schema.org/CohortStudy Model depth: 6 """ - type_: str = Field(default="CohortStudy", alias='@type') + type_: str = Field(default="CohortStudy", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Collection.py b/pydantic_schemaorg/Collection.py index 1a006452..06e41d7d 100644 --- a/pydantic_schemaorg/Collection.py +++ b/pydantic_schemaorg/Collection.py @@ -14,7 +14,7 @@ class Collection(CreativeWork): See: https://schema.org/Collection Model depth: 3 """ - type_: str = Field(default="Collection", alias='@type') + type_: str = Field(default="Collection", alias='@type', constant=True) collectionSize: Optional[Union[List[Union[int, 'Integer', str]], int, 'Integer', str]] = Field( default=None, description="The number of items in the [[Collection]].", diff --git a/pydantic_schemaorg/CollectionPage.py b/pydantic_schemaorg/CollectionPage.py index d78fbeb6..ec53d4ba 100644 --- a/pydantic_schemaorg/CollectionPage.py +++ b/pydantic_schemaorg/CollectionPage.py @@ -11,5 +11,5 @@ class CollectionPage(WebPage): See: https://schema.org/CollectionPage Model depth: 4 """ - type_: str = Field(default="CollectionPage", alias='@type') + type_: str = Field(default="CollectionPage", alias='@type', constant=True) diff --git a/pydantic_schemaorg/CollegeOrUniversity.py b/pydantic_schemaorg/CollegeOrUniversity.py index 90027e42..8343ed42 100644 --- a/pydantic_schemaorg/CollegeOrUniversity.py +++ b/pydantic_schemaorg/CollegeOrUniversity.py @@ -11,5 +11,5 @@ class CollegeOrUniversity(EducationalOrganization): See: https://schema.org/CollegeOrUniversity Model depth: 4 """ - type_: str = Field(default="CollegeOrUniversity", alias='@type') + type_: str = Field(default="CollegeOrUniversity", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ComedyClub.py b/pydantic_schemaorg/ComedyClub.py index 908a6737..857c8eaa 100644 --- a/pydantic_schemaorg/ComedyClub.py +++ b/pydantic_schemaorg/ComedyClub.py @@ -11,5 +11,5 @@ class ComedyClub(EntertainmentBusiness): See: https://schema.org/ComedyClub Model depth: 5 """ - type_: str = Field(default="ComedyClub", alias='@type') + type_: str = Field(default="ComedyClub", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ComedyEvent.py b/pydantic_schemaorg/ComedyEvent.py index 2e36fda8..aaa38756 100644 --- a/pydantic_schemaorg/ComedyEvent.py +++ b/pydantic_schemaorg/ComedyEvent.py @@ -11,5 +11,5 @@ class ComedyEvent(Event): See: https://schema.org/ComedyEvent Model depth: 3 """ - type_: str = Field(default="ComedyEvent", alias='@type') + type_: str = Field(default="ComedyEvent", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ComicCoverArt.py b/pydantic_schemaorg/ComicCoverArt.py index d5e2d830..69fe82c0 100644 --- a/pydantic_schemaorg/ComicCoverArt.py +++ b/pydantic_schemaorg/ComicCoverArt.py @@ -12,5 +12,5 @@ class ComicCoverArt(CoverArt, ComicStory): See: https://schema.org/ComicCoverArt Model depth: 4 """ - type_: str = Field(default="ComicCoverArt", alias='@type') + type_: str = Field(default="ComicCoverArt", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ComicIssue.py b/pydantic_schemaorg/ComicIssue.py index 82bcb5a3..a2c66cad 100644 --- a/pydantic_schemaorg/ComicIssue.py +++ b/pydantic_schemaorg/ComicIssue.py @@ -18,7 +18,7 @@ class ComicIssue(PublicationIssue): See: https://schema.org/ComicIssue Model depth: 4 """ - type_: str = Field(default="ComicIssue", alias='@type') + type_: str = Field(default="ComicIssue", alias='@type', constant=True) colorist: Optional[Union[List[Union['Person', str]], 'Person', str]] = Field( default=None, description="The individual who adds color to inked drawings.", diff --git a/pydantic_schemaorg/ComicSeries.py b/pydantic_schemaorg/ComicSeries.py index fdaa70e4..ad329706 100644 --- a/pydantic_schemaorg/ComicSeries.py +++ b/pydantic_schemaorg/ComicSeries.py @@ -12,5 +12,5 @@ class ComicSeries(Periodical): See: https://schema.org/ComicSeries Model depth: 5 """ - type_: str = Field(default="ComicSeries", alias='@type') + type_: str = Field(default="ComicSeries", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ComicStory.py b/pydantic_schemaorg/ComicStory.py index 4e78b867..7d71b407 100644 --- a/pydantic_schemaorg/ComicStory.py +++ b/pydantic_schemaorg/ComicStory.py @@ -16,7 +16,7 @@ class ComicStory(CreativeWork): See: https://schema.org/ComicStory Model depth: 3 """ - type_: str = Field(default="ComicStory", alias='@type') + type_: str = Field(default="ComicStory", alias='@type', constant=True) colorist: Optional[Union[List[Union['Person', str]], 'Person', str]] = Field( default=None, description="The individual who adds color to inked drawings.", diff --git a/pydantic_schemaorg/Comment.py b/pydantic_schemaorg/Comment.py index 7a4cdbbc..1b937e72 100644 --- a/pydantic_schemaorg/Comment.py +++ b/pydantic_schemaorg/Comment.py @@ -15,7 +15,7 @@ class Comment(CreativeWork): See: https://schema.org/Comment Model depth: 3 """ - type_: str = Field(default="Comment", alias='@type') + type_: str = Field(default="Comment", alias='@type', constant=True) downvoteCount: Optional[Union[List[Union[int, 'Integer', str]], int, 'Integer', str]] = Field( default=None, description="The number of downvotes this question, answer or comment has received from the community.", diff --git a/pydantic_schemaorg/CommentAction.py b/pydantic_schemaorg/CommentAction.py index e3acd112..668486d8 100644 --- a/pydantic_schemaorg/CommentAction.py +++ b/pydantic_schemaorg/CommentAction.py @@ -14,7 +14,7 @@ class CommentAction(CommunicateAction): See: https://schema.org/CommentAction Model depth: 5 """ - type_: str = Field(default="CommentAction", alias='@type') + type_: str = Field(default="CommentAction", alias='@type', constant=True) resultComment: Optional[Union[List[Union['Comment', str]], 'Comment', str]] = Field( default=None, description="A sub property of result. The Comment created or sent as a result of this action.", diff --git a/pydantic_schemaorg/CommentPermission.py b/pydantic_schemaorg/CommentPermission.py index fa961d2c..609dfc47 100644 --- a/pydantic_schemaorg/CommentPermission.py +++ b/pydantic_schemaorg/CommentPermission.py @@ -11,5 +11,5 @@ class CommentPermission(DigitalDocumentPermissionType): See: https://schema.org/CommentPermission Model depth: 5 """ - type_: str = Field(default="CommentPermission", alias='@type') + type_: str = Field(default="CommentPermission", alias='@type', constant=True) diff --git a/pydantic_schemaorg/CommunicateAction.py b/pydantic_schemaorg/CommunicateAction.py index 6f3f81c9..3b661dac 100644 --- a/pydantic_schemaorg/CommunicateAction.py +++ b/pydantic_schemaorg/CommunicateAction.py @@ -15,7 +15,7 @@ class CommunicateAction(InteractAction): See: https://schema.org/CommunicateAction Model depth: 4 """ - type_: str = Field(default="CommunicateAction", alias='@type') + type_: str = Field(default="CommunicateAction", alias='@type', constant=True) about: Optional[Union[List[Union['Thing', str]], 'Thing', str]] = Field( default=None, description="The subject matter of the content.", @@ -24,7 +24,7 @@ class CommunicateAction(InteractAction): default=None, description="A sub property of instrument. The language used on this action.", ) - recipient: Optional[Union[List[Union['Person', 'Audience', 'Organization', 'ContactPoint', str]], 'Person', 'Audience', 'Organization', 'ContactPoint', str]] = Field( + recipient: Optional[Union[List[Union['ContactPoint', 'Audience', 'Organization', 'Person', str]], 'ContactPoint', 'Audience', 'Organization', 'Person', str]] = Field( default=None, description="A sub property of participant. The participant who is at the receiving end of the action.", ) @@ -39,8 +39,8 @@ class CommunicateAction(InteractAction): if TYPE_CHECKING: from pydantic_schemaorg.Thing import Thing from pydantic_schemaorg.Language import Language - from pydantic_schemaorg.Person import Person + from pydantic_schemaorg.ContactPoint import ContactPoint from pydantic_schemaorg.Audience import Audience from pydantic_schemaorg.Organization import Organization - from pydantic_schemaorg.ContactPoint import ContactPoint + from pydantic_schemaorg.Person import Person from pydantic_schemaorg.Text import Text diff --git a/pydantic_schemaorg/CommunityHealth.py b/pydantic_schemaorg/CommunityHealth.py index 0da76cb0..c800de2a 100644 --- a/pydantic_schemaorg/CommunityHealth.py +++ b/pydantic_schemaorg/CommunityHealth.py @@ -13,5 +13,5 @@ class CommunityHealth(MedicalSpecialty, MedicalBusiness): See: https://schema.org/CommunityHealth Model depth: 5 """ - type_: str = Field(default="CommunityHealth", alias='@type') + type_: str = Field(default="CommunityHealth", alias='@type', constant=True) diff --git a/pydantic_schemaorg/CompilationAlbum.py b/pydantic_schemaorg/CompilationAlbum.py index e7e87c84..c429018d 100644 --- a/pydantic_schemaorg/CompilationAlbum.py +++ b/pydantic_schemaorg/CompilationAlbum.py @@ -11,5 +11,5 @@ class CompilationAlbum(MusicAlbumProductionType): See: https://schema.org/CompilationAlbum Model depth: 5 """ - type_: str = Field(default="CompilationAlbum", alias='@type') + type_: str = Field(default="CompilationAlbum", alias='@type', constant=True) diff --git a/pydantic_schemaorg/CompleteDataFeed.py b/pydantic_schemaorg/CompleteDataFeed.py index 6b50a63d..2a89cabf 100644 --- a/pydantic_schemaorg/CompleteDataFeed.py +++ b/pydantic_schemaorg/CompleteDataFeed.py @@ -18,5 +18,5 @@ class CompleteDataFeed(DataFeed): See: https://schema.org/CompleteDataFeed Model depth: 5 """ - type_: str = Field(default="CompleteDataFeed", alias='@type') + type_: str = Field(default="CompleteDataFeed", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Completed.py b/pydantic_schemaorg/Completed.py index 8666a122..15aa205c 100644 --- a/pydantic_schemaorg/Completed.py +++ b/pydantic_schemaorg/Completed.py @@ -11,5 +11,5 @@ class Completed(MedicalStudyStatus): See: https://schema.org/Completed Model depth: 6 """ - type_: str = Field(default="Completed", alias='@type') + type_: str = Field(default="Completed", alias='@type', constant=True) diff --git a/pydantic_schemaorg/CompletedActionStatus.py b/pydantic_schemaorg/CompletedActionStatus.py index 24e31d6b..c9b04230 100644 --- a/pydantic_schemaorg/CompletedActionStatus.py +++ b/pydantic_schemaorg/CompletedActionStatus.py @@ -11,5 +11,5 @@ class CompletedActionStatus(ActionStatusType): See: https://schema.org/CompletedActionStatus Model depth: 6 """ - type_: str = Field(default="CompletedActionStatus", alias='@type') + type_: str = Field(default="CompletedActionStatus", alias='@type', constant=True) diff --git a/pydantic_schemaorg/CompoundPriceSpecification.py b/pydantic_schemaorg/CompoundPriceSpecification.py index db4de011..3a487992 100644 --- a/pydantic_schemaorg/CompoundPriceSpecification.py +++ b/pydantic_schemaorg/CompoundPriceSpecification.py @@ -17,7 +17,7 @@ class CompoundPriceSpecification(PriceSpecification): See: https://schema.org/CompoundPriceSpecification Model depth: 5 """ - type_: str = Field(default="CompoundPriceSpecification", alias='@type') + type_: str = Field(default="CompoundPriceSpecification", alias='@type', constant=True) priceType: Optional[Union[List[Union[str, 'Text', 'PriceTypeEnumeration']], str, 'Text', 'PriceTypeEnumeration']] = Field( default=None, description="Defines the type of a price specified for an offered product, for example a list price," diff --git a/pydantic_schemaorg/ComputerLanguage.py b/pydantic_schemaorg/ComputerLanguage.py index 970bdc21..4eb315da 100644 --- a/pydantic_schemaorg/ComputerLanguage.py +++ b/pydantic_schemaorg/ComputerLanguage.py @@ -13,5 +13,5 @@ class ComputerLanguage(Intangible): See: https://schema.org/ComputerLanguage Model depth: 3 """ - type_: str = Field(default="ComputerLanguage", alias='@type') + type_: str = Field(default="ComputerLanguage", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ComputerStore.py b/pydantic_schemaorg/ComputerStore.py index 82ac7c7e..97fc0455 100644 --- a/pydantic_schemaorg/ComputerStore.py +++ b/pydantic_schemaorg/ComputerStore.py @@ -11,5 +11,5 @@ class ComputerStore(Store): See: https://schema.org/ComputerStore Model depth: 5 """ - type_: str = Field(default="ComputerStore", alias='@type') + type_: str = Field(default="ComputerStore", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ConfirmAction.py b/pydantic_schemaorg/ConfirmAction.py index 1693652e..c8230b0f 100644 --- a/pydantic_schemaorg/ConfirmAction.py +++ b/pydantic_schemaorg/ConfirmAction.py @@ -12,5 +12,5 @@ class ConfirmAction(InformAction): See: https://schema.org/ConfirmAction Model depth: 6 """ - type_: str = Field(default="ConfirmAction", alias='@type') + type_: str = Field(default="ConfirmAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Consortium.py b/pydantic_schemaorg/Consortium.py index af77170d..abb4d3a7 100644 --- a/pydantic_schemaorg/Consortium.py +++ b/pydantic_schemaorg/Consortium.py @@ -11,5 +11,5 @@ class Consortium(Organization): See: https://schema.org/Consortium Model depth: 3 """ - type_: str = Field(default="Consortium", alias='@type') + type_: str = Field(default="Consortium", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ConsumeAction.py b/pydantic_schemaorg/ConsumeAction.py index 8d743ad3..8291558b 100644 --- a/pydantic_schemaorg/ConsumeAction.py +++ b/pydantic_schemaorg/ConsumeAction.py @@ -14,7 +14,7 @@ class ConsumeAction(Action): See: https://schema.org/ConsumeAction Model depth: 3 """ - type_: str = Field(default="ConsumeAction", alias='@type') + type_: str = Field(default="ConsumeAction", alias='@type', constant=True) actionAccessibilityRequirement: Optional[Union[List[Union['ActionAccessSpecification', str]], 'ActionAccessSpecification', str]] = Field( default=None, description="A set of requirements that a must be fulfilled in order to perform an Action. If more than" diff --git a/pydantic_schemaorg/ContactPage.py b/pydantic_schemaorg/ContactPage.py index 5601cd52..144e8c08 100644 --- a/pydantic_schemaorg/ContactPage.py +++ b/pydantic_schemaorg/ContactPage.py @@ -11,5 +11,5 @@ class ContactPage(WebPage): See: https://schema.org/ContactPage Model depth: 4 """ - type_: str = Field(default="ContactPage", alias='@type') + type_: str = Field(default="ContactPage", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ContactPoint.py b/pydantic_schemaorg/ContactPoint.py index b5e0240b..e65b41ec 100644 --- a/pydantic_schemaorg/ContactPoint.py +++ b/pydantic_schemaorg/ContactPoint.py @@ -14,8 +14,8 @@ class ContactPoint(StructuredValue): See: https://schema.org/ContactPoint Model depth: 4 """ - type_: str = Field(default="ContactPoint", alias='@type') - areaServed: Optional[Union[List[Union[str, 'Text', 'GeoShape', 'AdministrativeArea', 'Place']], str, 'Text', 'GeoShape', 'AdministrativeArea', 'Place']] = Field( + type_: str = Field(default="ContactPoint", alias='@type', constant=True) + areaServed: Optional[Union[List[Union[str, 'Text', 'AdministrativeArea', 'Place', 'GeoShape']], str, 'Text', 'AdministrativeArea', 'Place', 'GeoShape']] = Field( default=None, description="The geographic area where a service or offered item is provided.", ) @@ -31,7 +31,7 @@ class ContactPoint(StructuredValue): "codes from the [IETF BCP 47 standard](http://tools.ietf.org/html/bcp47). See also" "[[inLanguage]]", ) - serviceArea: Optional[Union[List[Union['GeoShape', 'AdministrativeArea', 'Place', str]], 'GeoShape', 'AdministrativeArea', 'Place', str]] = Field( + serviceArea: Optional[Union[List[Union['AdministrativeArea', 'Place', 'GeoShape', str]], 'AdministrativeArea', 'Place', 'GeoShape', str]] = Field( default=None, description="The geographic area where the service is provided.", ) @@ -66,9 +66,9 @@ class ContactPoint(StructuredValue): if TYPE_CHECKING: from pydantic_schemaorg.Text import Text - from pydantic_schemaorg.GeoShape import GeoShape from pydantic_schemaorg.AdministrativeArea import AdministrativeArea from pydantic_schemaorg.Place import Place + from pydantic_schemaorg.GeoShape import GeoShape from pydantic_schemaorg.Language import Language from pydantic_schemaorg.OpeningHoursSpecification import OpeningHoursSpecification from pydantic_schemaorg.ContactPointOption import ContactPointOption diff --git a/pydantic_schemaorg/ContactPointOption.py b/pydantic_schemaorg/ContactPointOption.py index 11759842..d8fa1815 100644 --- a/pydantic_schemaorg/ContactPointOption.py +++ b/pydantic_schemaorg/ContactPointOption.py @@ -11,5 +11,5 @@ class ContactPointOption(Enumeration): See: https://schema.org/ContactPointOption Model depth: 4 """ - type_: str = Field(default="ContactPointOption", alias='@type') + type_: str = Field(default="ContactPointOption", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ContagiousnessHealthAspect.py b/pydantic_schemaorg/ContagiousnessHealthAspect.py index eba02bff..48e5b2c7 100644 --- a/pydantic_schemaorg/ContagiousnessHealthAspect.py +++ b/pydantic_schemaorg/ContagiousnessHealthAspect.py @@ -11,5 +11,5 @@ class ContagiousnessHealthAspect(HealthAspectEnumeration): See: https://schema.org/ContagiousnessHealthAspect Model depth: 5 """ - type_: str = Field(default="ContagiousnessHealthAspect", alias='@type') + type_: str = Field(default="ContagiousnessHealthAspect", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Continent.py b/pydantic_schemaorg/Continent.py index e3f8cbeb..3f16ccae 100644 --- a/pydantic_schemaorg/Continent.py +++ b/pydantic_schemaorg/Continent.py @@ -11,5 +11,5 @@ class Continent(Landform): See: https://schema.org/Continent Model depth: 4 """ - type_: str = Field(default="Continent", alias='@type') + type_: str = Field(default="Continent", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ControlAction.py b/pydantic_schemaorg/ControlAction.py index c56873ce..4662e8fe 100644 --- a/pydantic_schemaorg/ControlAction.py +++ b/pydantic_schemaorg/ControlAction.py @@ -11,5 +11,5 @@ class ControlAction(Action): See: https://schema.org/ControlAction Model depth: 3 """ - type_: str = Field(default="ControlAction", alias='@type') + type_: str = Field(default="ControlAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ConvenienceStore.py b/pydantic_schemaorg/ConvenienceStore.py index 163c76ae..a79f0ecd 100644 --- a/pydantic_schemaorg/ConvenienceStore.py +++ b/pydantic_schemaorg/ConvenienceStore.py @@ -11,5 +11,5 @@ class ConvenienceStore(Store): See: https://schema.org/ConvenienceStore Model depth: 5 """ - type_: str = Field(default="ConvenienceStore", alias='@type') + type_: str = Field(default="ConvenienceStore", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Conversation.py b/pydantic_schemaorg/Conversation.py index 9cf662a1..241abada 100644 --- a/pydantic_schemaorg/Conversation.py +++ b/pydantic_schemaorg/Conversation.py @@ -12,5 +12,5 @@ class Conversation(CreativeWork): See: https://schema.org/Conversation Model depth: 3 """ - type_: str = Field(default="Conversation", alias='@type') + type_: str = Field(default="Conversation", alias='@type', constant=True) diff --git a/pydantic_schemaorg/CookAction.py b/pydantic_schemaorg/CookAction.py index ca89b06b..a22a1e31 100644 --- a/pydantic_schemaorg/CookAction.py +++ b/pydantic_schemaorg/CookAction.py @@ -14,12 +14,12 @@ class CookAction(CreateAction): See: https://schema.org/CookAction Model depth: 4 """ - type_: str = Field(default="CookAction", alias='@type') + type_: str = Field(default="CookAction", alias='@type', constant=True) recipe: Optional[Union[List[Union['Recipe', str]], 'Recipe', str]] = Field( default=None, description="A sub property of instrument. The recipe/instructions used to perform the action.", ) - foodEstablishment: Optional[Union[List[Union['FoodEstablishment', 'Place', str]], 'FoodEstablishment', 'Place', str]] = Field( + foodEstablishment: Optional[Union[List[Union['Place', 'FoodEstablishment', str]], 'Place', 'FoodEstablishment', str]] = Field( default=None, description="A sub property of location. The specific food establishment where the action occurred.", ) @@ -31,6 +31,6 @@ class CookAction(CreateAction): if TYPE_CHECKING: from pydantic_schemaorg.Recipe import Recipe - from pydantic_schemaorg.FoodEstablishment import FoodEstablishment from pydantic_schemaorg.Place import Place + from pydantic_schemaorg.FoodEstablishment import FoodEstablishment from pydantic_schemaorg.FoodEvent import FoodEvent diff --git a/pydantic_schemaorg/Corporation.py b/pydantic_schemaorg/Corporation.py index fa372b11..f15144be 100644 --- a/pydantic_schemaorg/Corporation.py +++ b/pydantic_schemaorg/Corporation.py @@ -14,7 +14,7 @@ class Corporation(Organization): See: https://schema.org/Corporation Model depth: 3 """ - type_: str = Field(default="Corporation", alias='@type') + type_: str = Field(default="Corporation", alias='@type', constant=True) tickerSymbol: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="The exchange traded instrument associated with a Corporation object. The tickerSymbol" diff --git a/pydantic_schemaorg/CorrectionComment.py b/pydantic_schemaorg/CorrectionComment.py index 2f16e6ab..950bd064 100644 --- a/pydantic_schemaorg/CorrectionComment.py +++ b/pydantic_schemaorg/CorrectionComment.py @@ -11,5 +11,5 @@ class CorrectionComment(Comment): See: https://schema.org/CorrectionComment Model depth: 4 """ - type_: str = Field(default="CorrectionComment", alias='@type') + type_: str = Field(default="CorrectionComment", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Country.py b/pydantic_schemaorg/Country.py index ec002710..ef966cf6 100644 --- a/pydantic_schemaorg/Country.py +++ b/pydantic_schemaorg/Country.py @@ -11,5 +11,5 @@ class Country(AdministrativeArea): See: https://schema.org/Country Model depth: 4 """ - type_: str = Field(default="Country", alias='@type') + type_: str = Field(default="Country", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Course.py b/pydantic_schemaorg/Course.py index 93494dcc..a8e42632 100644 --- a/pydantic_schemaorg/Course.py +++ b/pydantic_schemaorg/Course.py @@ -20,7 +20,7 @@ class Course(LearningResource, CreativeWork): See: https://schema.org/Course Model depth: 3 """ - type_: str = Field(default="Course", alias='@type') + type_: str = Field(default="Course", alias='@type', constant=True) numberOfCredits: Optional[Union[List[Union[int, 'Integer', 'StructuredValue', str]], int, 'Integer', 'StructuredValue', str]] = Field( default=None, description="The number of credits or units awarded by a Course or required to complete an EducationalOccupationalProgram.", diff --git a/pydantic_schemaorg/CourseInstance.py b/pydantic_schemaorg/CourseInstance.py index ebb979b2..6a8e5489 100644 --- a/pydantic_schemaorg/CourseInstance.py +++ b/pydantic_schemaorg/CourseInstance.py @@ -17,7 +17,7 @@ class CourseInstance(Event): See: https://schema.org/CourseInstance Model depth: 3 """ - type_: str = Field(default="CourseInstance", alias='@type') + type_: str = Field(default="CourseInstance", alias='@type', constant=True) courseWorkload: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="The amount of work expected of students taking the course, often provided as a figure" diff --git a/pydantic_schemaorg/Courthouse.py b/pydantic_schemaorg/Courthouse.py index 16575537..3d3c23f0 100644 --- a/pydantic_schemaorg/Courthouse.py +++ b/pydantic_schemaorg/Courthouse.py @@ -11,5 +11,5 @@ class Courthouse(GovernmentBuilding): See: https://schema.org/Courthouse Model depth: 5 """ - type_: str = Field(default="Courthouse", alias='@type') + type_: str = Field(default="Courthouse", alias='@type', constant=True) diff --git a/pydantic_schemaorg/CoverArt.py b/pydantic_schemaorg/CoverArt.py index 381d3267..6a8cabf1 100644 --- a/pydantic_schemaorg/CoverArt.py +++ b/pydantic_schemaorg/CoverArt.py @@ -11,5 +11,5 @@ class CoverArt(VisualArtwork): See: https://schema.org/CoverArt Model depth: 4 """ - type_: str = Field(default="CoverArt", alias='@type') + type_: str = Field(default="CoverArt", alias='@type', constant=True) diff --git a/pydantic_schemaorg/CovidTestingFacility.py b/pydantic_schemaorg/CovidTestingFacility.py index e567b734..b4556d4e 100644 --- a/pydantic_schemaorg/CovidTestingFacility.py +++ b/pydantic_schemaorg/CovidTestingFacility.py @@ -16,5 +16,5 @@ class CovidTestingFacility(MedicalClinic): See: https://schema.org/CovidTestingFacility Model depth: 5 """ - type_: str = Field(default="CovidTestingFacility", alias='@type') + type_: str = Field(default="CovidTestingFacility", alias='@type', constant=True) diff --git a/pydantic_schemaorg/CreateAction.py b/pydantic_schemaorg/CreateAction.py index 5caae6c7..a5874253 100644 --- a/pydantic_schemaorg/CreateAction.py +++ b/pydantic_schemaorg/CreateAction.py @@ -12,5 +12,5 @@ class CreateAction(Action): See: https://schema.org/CreateAction Model depth: 3 """ - type_: str = Field(default="CreateAction", alias='@type') + type_: str = Field(default="CreateAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/CreativeWork.py b/pydantic_schemaorg/CreativeWork.py index 6d5bbfd7..1a5efcd0 100644 --- a/pydantic_schemaorg/CreativeWork.py +++ b/pydantic_schemaorg/CreativeWork.py @@ -18,7 +18,7 @@ class CreativeWork(Thing): See: https://schema.org/CreativeWork Model depth: 2 """ - type_: str = Field(default="CreativeWork", alias='@type') + type_: str = Field(default="CreativeWork", alias='@type', constant=True) pattern: Optional[Union[List[Union[str, 'Text', 'DefinedTerm']], str, 'Text', 'DefinedTerm']] = Field( default=None, description="A pattern that something has, for example 'polka dot', 'striped', 'Canadian flag'." @@ -42,7 +42,7 @@ class CreativeWork(Thing): default=None, description="Fictional person connected with a creative work.", ) - offers: Optional[Union[List[Union['Offer', 'Demand', str]], 'Offer', 'Demand', str]] = Field( + offers: Optional[Union[List[Union['Demand', 'Offer', str]], 'Demand', 'Offer', str]] = Field( default=None, description="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]]" @@ -56,7 +56,7 @@ class CreativeWork(Thing): description="The location where the CreativeWork was created, which may not be the same as the location" "depicted in the CreativeWork.", ) - isBasedOnUrl: Optional[Union[List[Union[AnyUrl, 'URL', 'Product', 'CreativeWork', str]], AnyUrl, 'URL', 'Product', 'CreativeWork', str]] = Field( + isBasedOnUrl: Optional[Union[List[Union[AnyUrl, 'URL', 'CreativeWork', 'Product', str]], AnyUrl, 'URL', 'CreativeWork', 'Product', str]] = Field( default=None, description="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.", @@ -76,7 +76,7 @@ class CreativeWork(Thing): description="The specific time described by a creative work, for works (e.g. articles, video objects" "etc.) that emphasise a particular moment within an Event.", ) - maintainer: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + maintainer: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="A maintainer of a [[Dataset]], software package ([[SoftwareApplication]]), or other" "[[Project]]. A maintainer is a [[Person]] or [[Organization]] that manages contributions" @@ -93,13 +93,13 @@ class CreativeWork(Thing): default=None, description="The typical expected age range, e.g. '7-9', '11-'.", ) - author: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + author: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="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.", ) - funder: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + funder: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="A person or organization that supports (sponsors) something through some kind of financial" "contribution.", @@ -197,7 +197,7 @@ class CreativeWork(Thing): default=None, description="The Organization on whose behalf the creator was working.", ) - translator: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + translator: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="Organization or person who adapts a creative work to different languages, regional" "differences and technical requirements of a target market, or that translates during" @@ -212,7 +212,7 @@ class CreativeWork(Thing): description="The work that this work has been translated from. e.g. 物种起源 is a translationOf “On the" "Origin of Species”", ) - isBasedOn: Optional[Union[List[Union[AnyUrl, 'URL', 'Product', 'CreativeWork', str]], AnyUrl, 'URL', 'Product', 'CreativeWork', str]] = Field( + isBasedOn: Optional[Union[List[Union[AnyUrl, 'URL', 'CreativeWork', 'Product', str]], AnyUrl, 'URL', 'CreativeWork', 'Product', str]] = Field( default=None, description="A resource from which this work is derived or from which it is a modification or adaption.", ) @@ -245,7 +245,7 @@ class CreativeWork(Thing): "their multiple expressions, it is possible to use [[titleEIDR]] alone (for a general" "description), or alongside [[editEIDR]] for a more edit-specific description.", ) - sdPublisher: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + sdPublisher: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="Indicates the party responsible for generating and publishing the current structured" "data markup, typically in cases where the structured data is derived automatically" @@ -298,7 +298,7 @@ class CreativeWork(Thing): "Incomplete, Draft, Published, Obsolete. Some organizations define a set of terms for" "the stages of their publication lifecycle.", ) - publisher: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + publisher: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="The publisher of the creative work.", ) @@ -350,7 +350,7 @@ class CreativeWork(Thing): description="Example/instance/realization/derivation of the concept of this creative work. eg." "The paperback edition, first edition, or eBook.", ) - size: Optional[Union[List[Union[str, 'Text', 'QuantitativeValue', 'SizeSpecification', 'DefinedTerm']], str, 'Text', 'QuantitativeValue', 'SizeSpecification', 'DefinedTerm']] = Field( + size: Optional[Union[List[Union[str, 'Text', 'SizeSpecification', 'QuantitativeValue', 'DefinedTerm']], str, 'Text', 'SizeSpecification', 'QuantitativeValue', 'DefinedTerm']] = Field( default=None, description="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," @@ -362,7 +362,7 @@ class CreativeWork(Thing): description="A characteristic of the described resource that is physiologically dangerous to some" "users. Related to WCAG 2.0 guideline 2.3 ([WebSchemas wiki lists possible values](http://www.w3.org/wiki/WebSchemas/Accessibility)).", ) - copyrightYear: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( + copyrightYear: Optional[Union[List[Union[int, float, 'Number', str]], int, float, 'Number', str]] = Field( default=None, description="The year during which the claimed copyright for the CreativeWork was first asserted.", ) @@ -370,7 +370,7 @@ class CreativeWork(Thing): default=None, description="A media object that encodes this CreativeWork.", ) - creator: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + creator: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="The creator/author of this CreativeWork. This is the same as the Author property for" "CreativeWork.", @@ -449,7 +449,7 @@ class CreativeWork(Thing): default=None, description="An intended audience, i.e. a group for whom something was created.", ) - sponsor: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + sponsor: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="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.", @@ -532,7 +532,7 @@ class CreativeWork(Thing): description="Indicates that the resource is compatible with the referenced accessibility API ([WebSchemas" "wiki lists possible values](http://www.w3.org/wiki/WebSchemas/Accessibility)).", ) - version: Optional[Union[List[Union[Decimal, 'Number', str, 'Text']], Decimal, 'Number', str, 'Text']] = Field( + version: Optional[Union[List[Union[int, float, 'Number', str, 'Text']], int, float, 'Number', str, 'Text']] = Field( default=None, description="The version of the CreativeWork embodied by a specified resource.", ) @@ -545,7 +545,7 @@ class CreativeWork(Thing): default=None, description="A link to the page containing the comments of the CreativeWork.", ) - provider: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + provider: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="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." @@ -560,7 +560,7 @@ class CreativeWork(Thing): "file formats can be indicated instead via the most appropriate URL, e.g. defining Web" "page or a Wikipedia entry.", ) - producer: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + producer: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="The person or organization who produced the work (e.g. music album, movie, tv/radio" "series etc.).", @@ -596,11 +596,11 @@ class CreativeWork(Thing): description="The location depicted or described in the content. For example, the location in a photograph" "or painting.", ) - copyrightHolder: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + copyrightHolder: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="The party holding the legal copyright to the CreativeWork.", ) - contributor: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + contributor: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="A secondary contributor to the CreativeWork or Event.", ) @@ -626,8 +626,8 @@ class CreativeWork(Thing): from pydantic_schemaorg.DefinedTerm import DefinedTerm from pydantic_schemaorg.Thing import Thing from pydantic_schemaorg.Person import Person - from pydantic_schemaorg.Offer import Offer from pydantic_schemaorg.Demand import Demand + from pydantic_schemaorg.Offer import Offer from pydantic_schemaorg.Place import Place from pydantic_schemaorg.URL import URL from pydantic_schemaorg.Product import Product diff --git a/pydantic_schemaorg/CreativeWorkSeason.py b/pydantic_schemaorg/CreativeWorkSeason.py index 70778755..44b57789 100644 --- a/pydantic_schemaorg/CreativeWorkSeason.py +++ b/pydantic_schemaorg/CreativeWorkSeason.py @@ -15,7 +15,7 @@ class CreativeWorkSeason(CreativeWork): See: https://schema.org/CreativeWorkSeason Model depth: 3 """ - type_: str = Field(default="CreativeWorkSeason", alias='@type') + type_: str = Field(default="CreativeWorkSeason", alias='@type', constant=True) trailer: Optional[Union[List[Union['VideoObject', str]], 'VideoObject', str]] = Field( default=None, description="The trailer of a movie or tv/radio series, season, episode, etc.", diff --git a/pydantic_schemaorg/CreativeWorkSeries.py b/pydantic_schemaorg/CreativeWorkSeries.py index 6d32abdd..df77cd90 100644 --- a/pydantic_schemaorg/CreativeWorkSeries.py +++ b/pydantic_schemaorg/CreativeWorkSeries.py @@ -28,7 +28,7 @@ class CreativeWorkSeries(Series, CreativeWork): See: https://schema.org/CreativeWorkSeries Model depth: 3 """ - type_: str = Field(default="CreativeWorkSeries", alias='@type') + type_: str = Field(default="CreativeWorkSeries", alias='@type', constant=True) endDate: Optional[Union[List[Union[ISO8601Date, 'DateTime', ISO8601Date, 'Date', str]], ISO8601Date, 'DateTime', ISO8601Date, 'Date', str]] = Field( default=None, description="The end date and time of the item (in [ISO 8601 date format](http://en.wikipedia.org/wiki/ISO_8601)).", diff --git a/pydantic_schemaorg/CreditCard.py b/pydantic_schemaorg/CreditCard.py index cedebe57..dd29c9d8 100644 --- a/pydantic_schemaorg/CreditCard.py +++ b/pydantic_schemaorg/CreditCard.py @@ -2,11 +2,11 @@ from pydantic import Field -from pydantic_schemaorg.PaymentCard import PaymentCard from pydantic_schemaorg.LoanOrCredit import LoanOrCredit +from pydantic_schemaorg.PaymentCard import PaymentCard -class CreditCard(PaymentCard, LoanOrCredit): +class CreditCard(LoanOrCredit, PaymentCard): """A card payment method of a particular brand or name. Used to mark up a particular payment" "method and/or the financial product/service that supplies the card account. Commonly" "used values: * http://purl.org/goodrelations/v1#AmericanExpress * http://purl.org/goodrelations/v1#DinersClub" @@ -16,5 +16,5 @@ class CreditCard(PaymentCard, LoanOrCredit): See: https://schema.org/CreditCard Model depth: 6 """ - type_: str = Field(default="CreditCard", alias='@type') + type_: str = Field(default="CreditCard", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Crematorium.py b/pydantic_schemaorg/Crematorium.py index 06453b5c..7b0a6ce2 100644 --- a/pydantic_schemaorg/Crematorium.py +++ b/pydantic_schemaorg/Crematorium.py @@ -11,5 +11,5 @@ class Crematorium(CivicStructure): See: https://schema.org/Crematorium Model depth: 4 """ - type_: str = Field(default="Crematorium", alias='@type') + type_: str = Field(default="Crematorium", alias='@type', constant=True) diff --git a/pydantic_schemaorg/CriticReview.py b/pydantic_schemaorg/CriticReview.py index 8dca96df..0b0ad4aa 100644 --- a/pydantic_schemaorg/CriticReview.py +++ b/pydantic_schemaorg/CriticReview.py @@ -17,5 +17,5 @@ class CriticReview(Review): See: https://schema.org/CriticReview Model depth: 4 """ - type_: str = Field(default="CriticReview", alias='@type') + type_: str = Field(default="CriticReview", alias='@type', constant=True) diff --git a/pydantic_schemaorg/CrossSectional.py b/pydantic_schemaorg/CrossSectional.py index f8d035ad..f518688e 100644 --- a/pydantic_schemaorg/CrossSectional.py +++ b/pydantic_schemaorg/CrossSectional.py @@ -12,5 +12,5 @@ class CrossSectional(MedicalObservationalStudyDesign): See: https://schema.org/CrossSectional Model depth: 6 """ - type_: str = Field(default="CrossSectional", alias='@type') + type_: str = Field(default="CrossSectional", alias='@type', constant=True) diff --git a/pydantic_schemaorg/CssSelectorType.py b/pydantic_schemaorg/CssSelectorType.py index 09813c3b..7f74b9bf 100644 --- a/pydantic_schemaorg/CssSelectorType.py +++ b/pydantic_schemaorg/CssSelectorType.py @@ -11,5 +11,5 @@ class CssSelectorType(Text): See: https://schema.org/CssSelectorType Model depth: 6 """ - type_: str = Field(default="CssSelectorType", alias='@type') + type_: str = Field(default="CssSelectorType", alias='@type', constant=True) diff --git a/pydantic_schemaorg/CurrencyConversionService.py b/pydantic_schemaorg/CurrencyConversionService.py index eeb4fa67..97c4d59a 100644 --- a/pydantic_schemaorg/CurrencyConversionService.py +++ b/pydantic_schemaorg/CurrencyConversionService.py @@ -11,5 +11,5 @@ class CurrencyConversionService(FinancialProduct): See: https://schema.org/CurrencyConversionService Model depth: 5 """ - type_: str = Field(default="CurrencyConversionService", alias='@type') + type_: str = Field(default="CurrencyConversionService", alias='@type', constant=True) diff --git a/pydantic_schemaorg/DDxElement.py b/pydantic_schemaorg/DDxElement.py index 3d44464a..8fa2032c 100644 --- a/pydantic_schemaorg/DDxElement.py +++ b/pydantic_schemaorg/DDxElement.py @@ -15,7 +15,7 @@ class DDxElement(MedicalIntangible): See: https://schema.org/DDxElement Model depth: 4 """ - type_: str = Field(default="DDxElement", alias='@type') + type_: str = Field(default="DDxElement", alias='@type', constant=True) diagnosis: Optional[Union[List[Union['MedicalCondition', str]], 'MedicalCondition', str]] = Field( default=None, description="One or more alternative conditions considered in the differential diagnosis process" diff --git a/pydantic_schemaorg/DJMixAlbum.py b/pydantic_schemaorg/DJMixAlbum.py index d1458be9..d4bbd5a0 100644 --- a/pydantic_schemaorg/DJMixAlbum.py +++ b/pydantic_schemaorg/DJMixAlbum.py @@ -11,5 +11,5 @@ class DJMixAlbum(MusicAlbumProductionType): See: https://schema.org/DJMixAlbum Model depth: 5 """ - type_: str = Field(default="DJMixAlbum", alias='@type') + type_: str = Field(default="DJMixAlbum", alias='@type', constant=True) diff --git a/pydantic_schemaorg/DVDFormat.py b/pydantic_schemaorg/DVDFormat.py index 51a244f2..c77ad6b6 100644 --- a/pydantic_schemaorg/DVDFormat.py +++ b/pydantic_schemaorg/DVDFormat.py @@ -11,5 +11,5 @@ class DVDFormat(MusicReleaseFormatType): See: https://schema.org/DVDFormat Model depth: 5 """ - type_: str = Field(default="DVDFormat", alias='@type') + type_: str = Field(default="DVDFormat", alias='@type', constant=True) diff --git a/pydantic_schemaorg/DamagedCondition.py b/pydantic_schemaorg/DamagedCondition.py index db98d381..4dcac7ae 100644 --- a/pydantic_schemaorg/DamagedCondition.py +++ b/pydantic_schemaorg/DamagedCondition.py @@ -11,5 +11,5 @@ class DamagedCondition(OfferItemCondition): See: https://schema.org/DamagedCondition Model depth: 5 """ - type_: str = Field(default="DamagedCondition", alias='@type') + type_: str = Field(default="DamagedCondition", alias='@type', constant=True) diff --git a/pydantic_schemaorg/DanceEvent.py b/pydantic_schemaorg/DanceEvent.py index c98be1dd..5f24260e 100644 --- a/pydantic_schemaorg/DanceEvent.py +++ b/pydantic_schemaorg/DanceEvent.py @@ -11,5 +11,5 @@ class DanceEvent(Event): See: https://schema.org/DanceEvent Model depth: 3 """ - type_: str = Field(default="DanceEvent", alias='@type') + type_: str = Field(default="DanceEvent", alias='@type', constant=True) diff --git a/pydantic_schemaorg/DanceGroup.py b/pydantic_schemaorg/DanceGroup.py index ae3043fe..83920fc3 100644 --- a/pydantic_schemaorg/DanceGroup.py +++ b/pydantic_schemaorg/DanceGroup.py @@ -11,5 +11,5 @@ class DanceGroup(PerformingGroup): See: https://schema.org/DanceGroup Model depth: 4 """ - type_: str = Field(default="DanceGroup", alias='@type') + type_: str = Field(default="DanceGroup", alias='@type', constant=True) diff --git a/pydantic_schemaorg/DataCatalog.py b/pydantic_schemaorg/DataCatalog.py index bb8903f0..7cffe4e3 100644 --- a/pydantic_schemaorg/DataCatalog.py +++ b/pydantic_schemaorg/DataCatalog.py @@ -15,7 +15,7 @@ class DataCatalog(CreativeWork): See: https://schema.org/DataCatalog Model depth: 3 """ - type_: str = Field(default="DataCatalog", alias='@type') + type_: str = Field(default="DataCatalog", alias='@type', constant=True) measurementTechnique: Optional[Union[List[Union[AnyUrl, 'URL', str, 'Text']], AnyUrl, 'URL', str, 'Text']] = Field( default=None, description="A technique or technology used in a [[Dataset]] (or [[DataDownload]], [[DataCatalog]])," diff --git a/pydantic_schemaorg/DataDownload.py b/pydantic_schemaorg/DataDownload.py index ed1db3f1..979680b8 100644 --- a/pydantic_schemaorg/DataDownload.py +++ b/pydantic_schemaorg/DataDownload.py @@ -15,7 +15,7 @@ class DataDownload(MediaObject): See: https://schema.org/DataDownload Model depth: 4 """ - type_: str = Field(default="DataDownload", alias='@type') + type_: str = Field(default="DataDownload", alias='@type', constant=True) measurementTechnique: Optional[Union[List[Union[AnyUrl, 'URL', str, 'Text']], AnyUrl, 'URL', str, 'Text']] = Field( default=None, description="A technique or technology used in a [[Dataset]] (or [[DataDownload]], [[DataCatalog]])," diff --git a/pydantic_schemaorg/DataFeed.py b/pydantic_schemaorg/DataFeed.py index bd3fce4a..39be19c1 100644 --- a/pydantic_schemaorg/DataFeed.py +++ b/pydantic_schemaorg/DataFeed.py @@ -14,7 +14,7 @@ class DataFeed(Dataset): See: https://schema.org/DataFeed Model depth: 4 """ - type_: str = Field(default="DataFeed", alias='@type') + type_: str = Field(default="DataFeed", alias='@type', constant=True) dataFeedElement: Optional[Union[List[Union[str, 'Text', 'Thing', 'DataFeedItem']], str, 'Text', 'Thing', 'DataFeedItem']] = Field( default=None, description="An item within in a data feed. Data feeds may have many elements.", diff --git a/pydantic_schemaorg/DataFeedItem.py b/pydantic_schemaorg/DataFeedItem.py index 35b3b026..074da88c 100644 --- a/pydantic_schemaorg/DataFeedItem.py +++ b/pydantic_schemaorg/DataFeedItem.py @@ -15,7 +15,7 @@ class DataFeedItem(Intangible): See: https://schema.org/DataFeedItem Model depth: 3 """ - type_: str = Field(default="DataFeedItem", alias='@type') + type_: str = Field(default="DataFeedItem", alias='@type', constant=True) dateDeleted: Optional[Union[List[Union[ISO8601Date, 'DateTime', ISO8601Date, 'Date', str]], ISO8601Date, 'DateTime', ISO8601Date, 'Date', str]] = Field( default=None, description="The datetime the item was removed from the DataFeed.", diff --git a/pydantic_schemaorg/DataType.py b/pydantic_schemaorg/DataType.py index 15aebf5b..b4da99b6 100644 --- a/pydantic_schemaorg/DataType.py +++ b/pydantic_schemaorg/DataType.py @@ -11,5 +11,5 @@ class DataType(Class): See: https://schema.org/DataType Model depth: 4 """ - type_: str = Field(default="DataType", alias='@type') + type_: str = Field(default="DataType", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Dataset.py b/pydantic_schemaorg/Dataset.py index 0069c451..a42f1df8 100644 --- a/pydantic_schemaorg/Dataset.py +++ b/pydantic_schemaorg/Dataset.py @@ -16,7 +16,7 @@ class Dataset(CreativeWork): See: https://schema.org/Dataset Model depth: 3 """ - type_: str = Field(default="Dataset", alias='@type') + type_: str = Field(default="Dataset", alias='@type', constant=True) includedDataCatalog: Optional[Union[List[Union['DataCatalog', str]], 'DataCatalog', str]] = Field( default=None, description="A data catalog which contains this dataset (this property was previously 'catalog'," diff --git a/pydantic_schemaorg/Date.py b/pydantic_schemaorg/Date.py index 9ebc572d..600dc852 100644 --- a/pydantic_schemaorg/Date.py +++ b/pydantic_schemaorg/Date.py @@ -11,5 +11,5 @@ class Date(DataType): See: https://schema.org/Date Model depth: 5 """ - type_: str = Field(default="Date", alias='@type') + type_: str = Field(default="Date", alias='@type', constant=True) diff --git a/pydantic_schemaorg/DateTime.py b/pydantic_schemaorg/DateTime.py index 00260807..1974f8b1 100644 --- a/pydantic_schemaorg/DateTime.py +++ b/pydantic_schemaorg/DateTime.py @@ -12,5 +12,5 @@ class DateTime(DataType): See: https://schema.org/DateTime Model depth: 5 """ - type_: str = Field(default="DateTime", alias='@type') + type_: str = Field(default="DateTime", alias='@type', constant=True) diff --git a/pydantic_schemaorg/DatedMoneySpecification.py b/pydantic_schemaorg/DatedMoneySpecification.py index 15faa989..6b9aa385 100644 --- a/pydantic_schemaorg/DatedMoneySpecification.py +++ b/pydantic_schemaorg/DatedMoneySpecification.py @@ -19,8 +19,8 @@ class DatedMoneySpecification(StructuredValue): See: https://schema.org/DatedMoneySpecification Model depth: 4 """ - type_: str = Field(default="DatedMoneySpecification", alias='@type') - amount: Optional[Union[List[Union[Decimal, 'Number', 'MonetaryAmount', str]], Decimal, 'Number', 'MonetaryAmount', str]] = Field( + type_: str = Field(default="DatedMoneySpecification", alias='@type', constant=True) + amount: Optional[Union[List[Union[int, float, 'Number', 'MonetaryAmount', str]], int, float, 'Number', 'MonetaryAmount', str]] = Field( default=None, description="The amount of money.", ) diff --git a/pydantic_schemaorg/DayOfWeek.py b/pydantic_schemaorg/DayOfWeek.py index 8f8b0029..0abe8d7b 100644 --- a/pydantic_schemaorg/DayOfWeek.py +++ b/pydantic_schemaorg/DayOfWeek.py @@ -15,5 +15,5 @@ class DayOfWeek(Enumeration): See: https://schema.org/DayOfWeek Model depth: 4 """ - type_: str = Field(default="DayOfWeek", alias='@type') + type_: str = Field(default="DayOfWeek", alias='@type', constant=True) diff --git a/pydantic_schemaorg/DaySpa.py b/pydantic_schemaorg/DaySpa.py index ee8c5454..f4f3733b 100644 --- a/pydantic_schemaorg/DaySpa.py +++ b/pydantic_schemaorg/DaySpa.py @@ -11,5 +11,5 @@ class DaySpa(HealthAndBeautyBusiness): See: https://schema.org/DaySpa Model depth: 5 """ - type_: str = Field(default="DaySpa", alias='@type') + type_: str = Field(default="DaySpa", alias='@type', constant=True) diff --git a/pydantic_schemaorg/DeactivateAction.py b/pydantic_schemaorg/DeactivateAction.py index bc3907e1..123af0f2 100644 --- a/pydantic_schemaorg/DeactivateAction.py +++ b/pydantic_schemaorg/DeactivateAction.py @@ -12,5 +12,5 @@ class DeactivateAction(ControlAction): See: https://schema.org/DeactivateAction Model depth: 4 """ - type_: str = Field(default="DeactivateAction", alias='@type') + type_: str = Field(default="DeactivateAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/DecontextualizedContent.py b/pydantic_schemaorg/DecontextualizedContent.py index a30d9c74..e9cd0473 100644 --- a/pydantic_schemaorg/DecontextualizedContent.py +++ b/pydantic_schemaorg/DecontextualizedContent.py @@ -26,5 +26,5 @@ class DecontextualizedContent(MediaManipulationRatingEnumeration): See: https://schema.org/DecontextualizedContent Model depth: 5 """ - type_: str = Field(default="DecontextualizedContent", alias='@type') + type_: str = Field(default="DecontextualizedContent", alias='@type', constant=True) diff --git a/pydantic_schemaorg/DefenceEstablishment.py b/pydantic_schemaorg/DefenceEstablishment.py index 974257e7..3525199f 100644 --- a/pydantic_schemaorg/DefenceEstablishment.py +++ b/pydantic_schemaorg/DefenceEstablishment.py @@ -11,5 +11,5 @@ class DefenceEstablishment(GovernmentBuilding): See: https://schema.org/DefenceEstablishment Model depth: 5 """ - type_: str = Field(default="DefenceEstablishment", alias='@type') + type_: str = Field(default="DefenceEstablishment", alias='@type', constant=True) diff --git a/pydantic_schemaorg/DefinedRegion.py b/pydantic_schemaorg/DefinedRegion.py index 09a78df0..43c82945 100644 --- a/pydantic_schemaorg/DefinedRegion.py +++ b/pydantic_schemaorg/DefinedRegion.py @@ -20,7 +20,7 @@ class DefinedRegion(StructuredValue): See: https://schema.org/DefinedRegion Model depth: 4 """ - type_: str = Field(default="DefinedRegion", alias='@type') + type_: str = Field(default="DefinedRegion", alias='@type', constant=True) postalCode: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="The postal code. For example, 94043.", diff --git a/pydantic_schemaorg/DefinedTerm.py b/pydantic_schemaorg/DefinedTerm.py index e26b4ba8..faaf01ff 100644 --- a/pydantic_schemaorg/DefinedTerm.py +++ b/pydantic_schemaorg/DefinedTerm.py @@ -19,7 +19,7 @@ class DefinedTerm(Intangible): See: https://schema.org/DefinedTerm Model depth: 3 """ - type_: str = Field(default="DefinedTerm", alias='@type') + type_: str = Field(default="DefinedTerm", alias='@type', constant=True) termCode: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="A code that identifies this [[DefinedTerm]] within a [[DefinedTermSet]]", diff --git a/pydantic_schemaorg/DefinedTermSet.py b/pydantic_schemaorg/DefinedTermSet.py index 0426f0b9..3b460feb 100644 --- a/pydantic_schemaorg/DefinedTermSet.py +++ b/pydantic_schemaorg/DefinedTermSet.py @@ -15,7 +15,7 @@ class DefinedTermSet(CreativeWork): See: https://schema.org/DefinedTermSet Model depth: 3 """ - type_: str = Field(default="DefinedTermSet", alias='@type') + type_: str = Field(default="DefinedTermSet", alias='@type', constant=True) hasDefinedTerm: Optional[Union[List[Union['DefinedTerm', str]], 'DefinedTerm', str]] = Field( default=None, description="A Defined Term contained in this term set.", diff --git a/pydantic_schemaorg/DefinitiveLegalValue.py b/pydantic_schemaorg/DefinitiveLegalValue.py index 5affa1cd..2fbb14ba 100644 --- a/pydantic_schemaorg/DefinitiveLegalValue.py +++ b/pydantic_schemaorg/DefinitiveLegalValue.py @@ -13,5 +13,5 @@ class DefinitiveLegalValue(LegalValueLevel): See: https://schema.org/DefinitiveLegalValue Model depth: 5 """ - type_: str = Field(default="DefinitiveLegalValue", alias='@type') + type_: str = Field(default="DefinitiveLegalValue", alias='@type', constant=True) diff --git a/pydantic_schemaorg/DeleteAction.py b/pydantic_schemaorg/DeleteAction.py index 0868a797..7a90cfe2 100644 --- a/pydantic_schemaorg/DeleteAction.py +++ b/pydantic_schemaorg/DeleteAction.py @@ -11,5 +11,5 @@ class DeleteAction(UpdateAction): See: https://schema.org/DeleteAction Model depth: 4 """ - type_: str = Field(default="DeleteAction", alias='@type') + type_: str = Field(default="DeleteAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/DeliveryChargeSpecification.py b/pydantic_schemaorg/DeliveryChargeSpecification.py index 39bde354..65cbb4a9 100644 --- a/pydantic_schemaorg/DeliveryChargeSpecification.py +++ b/pydantic_schemaorg/DeliveryChargeSpecification.py @@ -14,12 +14,12 @@ class DeliveryChargeSpecification(PriceSpecification): See: https://schema.org/DeliveryChargeSpecification Model depth: 5 """ - type_: str = Field(default="DeliveryChargeSpecification", alias='@type') - areaServed: Optional[Union[List[Union[str, 'Text', 'GeoShape', 'AdministrativeArea', 'Place']], str, 'Text', 'GeoShape', 'AdministrativeArea', 'Place']] = Field( + type_: str = Field(default="DeliveryChargeSpecification", alias='@type', constant=True) + areaServed: Optional[Union[List[Union[str, 'Text', 'AdministrativeArea', 'Place', 'GeoShape']], str, 'Text', 'AdministrativeArea', 'Place', 'GeoShape']] = Field( default=None, description="The geographic area where a service or offered item is provided.", ) - eligibleRegion: Optional[Union[List[Union[str, 'Text', 'GeoShape', 'Place']], str, 'Text', 'GeoShape', 'Place']] = Field( + eligibleRegion: Optional[Union[List[Union[str, 'Text', 'Place', 'GeoShape']], str, 'Text', 'Place', 'GeoShape']] = Field( default=None, description="The ISO 3166-1 (ISO 3166-1 alpha-2) or ISO 3166-2 code, the place, or the GeoShape for" "the geo-political region(s) for which the offer or delivery charge specification is" @@ -30,7 +30,7 @@ class DeliveryChargeSpecification(PriceSpecification): description="The delivery method(s) to which the delivery charge or payment charge specification" "applies.", ) - ineligibleRegion: Optional[Union[List[Union[str, 'Text', 'GeoShape', 'Place']], str, 'Text', 'GeoShape', 'Place']] = Field( + ineligibleRegion: Optional[Union[List[Union[str, 'Text', 'Place', 'GeoShape']], str, 'Text', 'Place', 'GeoShape']] = Field( default=None, description="The ISO 3166-1 (ISO 3166-1 alpha-2) or ISO 3166-2 code, the place, or the GeoShape for" "the geo-political region(s) for which the offer or delivery charge specification is" @@ -40,7 +40,7 @@ class DeliveryChargeSpecification(PriceSpecification): if TYPE_CHECKING: from pydantic_schemaorg.Text import Text - from pydantic_schemaorg.GeoShape import GeoShape from pydantic_schemaorg.AdministrativeArea import AdministrativeArea from pydantic_schemaorg.Place import Place + from pydantic_schemaorg.GeoShape import GeoShape from pydantic_schemaorg.DeliveryMethod import DeliveryMethod diff --git a/pydantic_schemaorg/DeliveryEvent.py b/pydantic_schemaorg/DeliveryEvent.py index e79b5485..0057f6c6 100644 --- a/pydantic_schemaorg/DeliveryEvent.py +++ b/pydantic_schemaorg/DeliveryEvent.py @@ -15,7 +15,7 @@ class DeliveryEvent(Event): See: https://schema.org/DeliveryEvent Model depth: 3 """ - type_: str = Field(default="DeliveryEvent", alias='@type') + type_: str = Field(default="DeliveryEvent", alias='@type', constant=True) accessCode: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="Password, PIN, or access code needed for delivery (e.g. from a locker).", diff --git a/pydantic_schemaorg/DeliveryMethod.py b/pydantic_schemaorg/DeliveryMethod.py index 11db6218..126632f0 100644 --- a/pydantic_schemaorg/DeliveryMethod.py +++ b/pydantic_schemaorg/DeliveryMethod.py @@ -18,5 +18,5 @@ class DeliveryMethod(Enumeration): See: https://schema.org/DeliveryMethod Model depth: 4 """ - type_: str = Field(default="DeliveryMethod", alias='@type') + type_: str = Field(default="DeliveryMethod", alias='@type', constant=True) diff --git a/pydantic_schemaorg/DeliveryTimeSettings.py b/pydantic_schemaorg/DeliveryTimeSettings.py index 54b0e9ea..8b4f2e6f 100644 --- a/pydantic_schemaorg/DeliveryTimeSettings.py +++ b/pydantic_schemaorg/DeliveryTimeSettings.py @@ -18,7 +18,7 @@ class DeliveryTimeSettings(StructuredValue): See: https://schema.org/DeliveryTimeSettings Model depth: 4 """ - type_: str = Field(default="DeliveryTimeSettings", alias='@type') + type_: str = Field(default="DeliveryTimeSettings", alias='@type', constant=True) shippingDestination: Optional[Union[List[Union['DefinedRegion', str]], 'DefinedRegion', str]] = Field( default=None, description="indicates (possibly multiple) shipping destinations. These can be defined in several" diff --git a/pydantic_schemaorg/Demand.py b/pydantic_schemaorg/Demand.py index 68821398..6cc61e4c 100644 --- a/pydantic_schemaorg/Demand.py +++ b/pydantic_schemaorg/Demand.py @@ -18,13 +18,13 @@ class Demand(Intangible): See: https://schema.org/Demand Model depth: 3 """ - type_: str = Field(default="Demand", alias='@type') + type_: str = Field(default="Demand", alias='@type', constant=True) includesObject: Optional[Union[List[Union['TypeAndQuantityNode', str]], 'TypeAndQuantityNode', str]] = Field( default=None, description="This links to a node or nodes indicating the exact quantity of the products included in" "an [[Offer]] or [[ProductCollection]].", ) - areaServed: Optional[Union[List[Union[str, 'Text', 'GeoShape', 'AdministrativeArea', 'Place']], str, 'Text', 'GeoShape', 'AdministrativeArea', 'Place']] = Field( + areaServed: Optional[Union[List[Union[str, 'Text', 'AdministrativeArea', 'Place', 'GeoShape']], str, 'Text', 'AdministrativeArea', 'Place', 'GeoShape']] = Field( default=None, description="The geographic area where a service or offered item is provided.", ) @@ -66,7 +66,7 @@ class Demand(Intangible): "above a certain order volume, or to limit the acceptance of credit cards to purchases" "to a certain minimal amount.", ) - acceptedPaymentMethod: Optional[Union[List[Union['PaymentMethod', 'LoanOrCredit', str]], 'PaymentMethod', 'LoanOrCredit', str]] = Field( + acceptedPaymentMethod: Optional[Union[List[Union['LoanOrCredit', 'PaymentMethod', str]], 'LoanOrCredit', 'PaymentMethod', str]] = Field( default=None, description="The payment method(s) accepted by seller for this offer.", ) @@ -79,17 +79,17 @@ class Demand(Intangible): default=None, description="The duration for which the given offer is valid.", ) - availabilityStarts: Optional[Union[List[Union[ISO8601Date, 'DateTime', time, 'Time', ISO8601Date, 'Date', str]], ISO8601Date, 'DateTime', time, 'Time', ISO8601Date, 'Date', str]] = Field( + availabilityStarts: Optional[Union[List[Union[ISO8601Date, 'DateTime', ISO8601Date, 'Date', time, 'Time', str]], ISO8601Date, 'DateTime', ISO8601Date, 'Date', time, 'Time', str]] = Field( default=None, description="The beginning of the availability of the product or service included in the offer.", ) - eligibleRegion: Optional[Union[List[Union[str, 'Text', 'GeoShape', 'Place']], str, 'Text', 'GeoShape', 'Place']] = Field( + eligibleRegion: Optional[Union[List[Union[str, 'Text', 'Place', 'GeoShape']], str, 'Text', 'Place', 'GeoShape']] = Field( default=None, description="The ISO 3166-1 (ISO 3166-1 alpha-2) or ISO 3166-2 code, the place, or the GeoShape for" "the geo-political region(s) for which the offer or delivery charge specification is" "valid. See also [[ineligibleRegion]].", ) - seller: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + seller: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="An entity which offers (sells / leases / lends / loans) the services / goods. A seller may" "also be a provider.", @@ -122,7 +122,7 @@ class Demand(Intangible): default=None, description="The date when the item becomes valid.", ) - itemOffered: Optional[Union[List[Union['Product', 'Event', 'MenuItem', 'AggregateOffer', 'Service', 'Trip', 'CreativeWork', str]], 'Product', 'Event', 'MenuItem', 'AggregateOffer', 'Service', 'Trip', 'CreativeWork', str]] = Field( + itemOffered: Optional[Union[List[Union['Trip', 'Product', 'AggregateOffer', 'Event', 'MenuItem', 'Service', 'CreativeWork', str]], 'Trip', 'Product', 'AggregateOffer', 'Event', 'MenuItem', 'Service', 'CreativeWork', str]] = Field( default=None, description="An item being offered (or demanded). The transactional nature of the offer or demand" "is documented using [[businessFunction]], e.g. sell, lease etc. While several common" @@ -134,7 +134,7 @@ class Demand(Intangible): description="The GTIN-14 code of the product, or the product to which the offer refers. See [GS1 GTIN" "Summary](http://www.gs1.org/barcodes/technical/idkeys/gtin) for more details.", ) - availabilityEnds: Optional[Union[List[Union[ISO8601Date, 'DateTime', time, 'Time', ISO8601Date, 'Date', str]], ISO8601Date, 'DateTime', time, 'Time', ISO8601Date, 'Date', str]] = Field( + availabilityEnds: Optional[Union[List[Union[ISO8601Date, 'DateTime', ISO8601Date, 'Date', time, 'Time', str]], ISO8601Date, 'DateTime', ISO8601Date, 'Date', time, 'Time', str]] = Field( default=None, description="The end of the availability of the product or service included in the offer.", ) @@ -181,7 +181,7 @@ class Demand(Intangible): description="One or more detailed price specifications, indicating the unit price and delivery or" "payment charges.", ) - ineligibleRegion: Optional[Union[List[Union[str, 'Text', 'GeoShape', 'Place']], str, 'Text', 'GeoShape', 'Place']] = Field( + ineligibleRegion: Optional[Union[List[Union[str, 'Text', 'Place', 'GeoShape']], str, 'Text', 'Place', 'GeoShape']] = Field( default=None, description="The ISO 3166-1 (ISO 3166-1 alpha-2) or ISO 3166-2 code, the place, or the GeoShape for" "the geo-political region(s) for which the offer or delivery charge specification is" @@ -198,28 +198,28 @@ class Demand(Intangible): if TYPE_CHECKING: from pydantic_schemaorg.TypeAndQuantityNode import TypeAndQuantityNode from pydantic_schemaorg.Text import Text - from pydantic_schemaorg.GeoShape import GeoShape from pydantic_schemaorg.AdministrativeArea import AdministrativeArea from pydantic_schemaorg.Place import Place + from pydantic_schemaorg.GeoShape import GeoShape from pydantic_schemaorg.DeliveryMethod import DeliveryMethod from pydantic_schemaorg.BusinessEntityType import BusinessEntityType from pydantic_schemaorg.ItemAvailability import ItemAvailability from pydantic_schemaorg.PriceSpecification import PriceSpecification - from pydantic_schemaorg.PaymentMethod import PaymentMethod from pydantic_schemaorg.LoanOrCredit import LoanOrCredit + from pydantic_schemaorg.PaymentMethod import PaymentMethod from pydantic_schemaorg.BusinessFunction import BusinessFunction from pydantic_schemaorg.QuantitativeValue import QuantitativeValue from pydantic_schemaorg.DateTime import DateTime - from pydantic_schemaorg.Time import Time from pydantic_schemaorg.Date import Date - from pydantic_schemaorg.Person import Person + from pydantic_schemaorg.Time import Time from pydantic_schemaorg.Organization import Organization + from pydantic_schemaorg.Person import Person from pydantic_schemaorg.WarrantyPromise import WarrantyPromise + from pydantic_schemaorg.Trip import Trip from pydantic_schemaorg.Product import Product + from pydantic_schemaorg.AggregateOffer import AggregateOffer from pydantic_schemaorg.Event import Event from pydantic_schemaorg.MenuItem import MenuItem - from pydantic_schemaorg.AggregateOffer import AggregateOffer from pydantic_schemaorg.Service import Service - from pydantic_schemaorg.Trip import Trip from pydantic_schemaorg.CreativeWork import CreativeWork from pydantic_schemaorg.OfferItemCondition import OfferItemCondition diff --git a/pydantic_schemaorg/DemoAlbum.py b/pydantic_schemaorg/DemoAlbum.py index 39fbe520..0109b50c 100644 --- a/pydantic_schemaorg/DemoAlbum.py +++ b/pydantic_schemaorg/DemoAlbum.py @@ -11,5 +11,5 @@ class DemoAlbum(MusicAlbumProductionType): See: https://schema.org/DemoAlbum Model depth: 5 """ - type_: str = Field(default="DemoAlbum", alias='@type') + type_: str = Field(default="DemoAlbum", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Dentist.py b/pydantic_schemaorg/Dentist.py index d07fe849..d3602060 100644 --- a/pydantic_schemaorg/Dentist.py +++ b/pydantic_schemaorg/Dentist.py @@ -13,5 +13,5 @@ class Dentist(MedicalBusiness, LocalBusiness, MedicalOrganization): See: https://schema.org/Dentist Model depth: 4 """ - type_: str = Field(default="Dentist", alias='@type') + type_: str = Field(default="Dentist", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Dentistry.py b/pydantic_schemaorg/Dentistry.py index 548fee2f..e4a68961 100644 --- a/pydantic_schemaorg/Dentistry.py +++ b/pydantic_schemaorg/Dentistry.py @@ -11,5 +11,5 @@ class Dentistry(MedicalSpecialty): See: https://schema.org/Dentistry Model depth: 6 """ - type_: str = Field(default="Dentistry", alias='@type') + type_: str = Field(default="Dentistry", alias='@type', constant=True) diff --git a/pydantic_schemaorg/DepartAction.py b/pydantic_schemaorg/DepartAction.py index 71a9cc70..17226c7e 100644 --- a/pydantic_schemaorg/DepartAction.py +++ b/pydantic_schemaorg/DepartAction.py @@ -12,5 +12,5 @@ class DepartAction(MoveAction): See: https://schema.org/DepartAction Model depth: 4 """ - type_: str = Field(default="DepartAction", alias='@type') + type_: str = Field(default="DepartAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/DepartmentStore.py b/pydantic_schemaorg/DepartmentStore.py index aab29fcb..7e89eef9 100644 --- a/pydantic_schemaorg/DepartmentStore.py +++ b/pydantic_schemaorg/DepartmentStore.py @@ -11,5 +11,5 @@ class DepartmentStore(Store): See: https://schema.org/DepartmentStore Model depth: 5 """ - type_: str = Field(default="DepartmentStore", alias='@type') + type_: str = Field(default="DepartmentStore", alias='@type', constant=True) diff --git a/pydantic_schemaorg/DepositAccount.py b/pydantic_schemaorg/DepositAccount.py index b8f7a5a6..ca776f01 100644 --- a/pydantic_schemaorg/DepositAccount.py +++ b/pydantic_schemaorg/DepositAccount.py @@ -2,16 +2,16 @@ from pydantic import Field -from pydantic_schemaorg.InvestmentOrDeposit import InvestmentOrDeposit from pydantic_schemaorg.BankAccount import BankAccount +from pydantic_schemaorg.InvestmentOrDeposit import InvestmentOrDeposit -class DepositAccount(InvestmentOrDeposit, BankAccount): +class DepositAccount(BankAccount, InvestmentOrDeposit): """A type of Bank Account with a main purpose of depositing funds to gain interest or other" "benefits. See: https://schema.org/DepositAccount Model depth: 6 """ - type_: str = Field(default="DepositAccount", alias='@type') + type_: str = Field(default="DepositAccount", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Dermatologic.py b/pydantic_schemaorg/Dermatologic.py index 0707b8a3..010d6ccf 100644 --- a/pydantic_schemaorg/Dermatologic.py +++ b/pydantic_schemaorg/Dermatologic.py @@ -11,5 +11,5 @@ class Dermatologic(MedicalSpecialty): See: https://schema.org/Dermatologic Model depth: 6 """ - type_: str = Field(default="Dermatologic", alias='@type') + type_: str = Field(default="Dermatologic", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Dermatology.py b/pydantic_schemaorg/Dermatology.py index d7148fac..1053d62a 100644 --- a/pydantic_schemaorg/Dermatology.py +++ b/pydantic_schemaorg/Dermatology.py @@ -13,5 +13,5 @@ class Dermatology(MedicalSpecialty, MedicalBusiness): See: https://schema.org/Dermatology Model depth: 5 """ - type_: str = Field(default="Dermatology", alias='@type') + type_: str = Field(default="Dermatology", alias='@type', constant=True) diff --git a/pydantic_schemaorg/DiabeticDiet.py b/pydantic_schemaorg/DiabeticDiet.py index 0397ace5..94bc1103 100644 --- a/pydantic_schemaorg/DiabeticDiet.py +++ b/pydantic_schemaorg/DiabeticDiet.py @@ -11,5 +11,5 @@ class DiabeticDiet(RestrictedDiet): See: https://schema.org/DiabeticDiet Model depth: 5 """ - type_: str = Field(default="DiabeticDiet", alias='@type') + type_: str = Field(default="DiabeticDiet", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Diagnostic.py b/pydantic_schemaorg/Diagnostic.py index 17cc9788..fd2f201f 100644 --- a/pydantic_schemaorg/Diagnostic.py +++ b/pydantic_schemaorg/Diagnostic.py @@ -11,5 +11,5 @@ class Diagnostic(MedicalDevicePurpose): See: https://schema.org/Diagnostic Model depth: 6 """ - type_: str = Field(default="Diagnostic", alias='@type') + type_: str = Field(default="Diagnostic", alias='@type', constant=True) diff --git a/pydantic_schemaorg/DiagnosticLab.py b/pydantic_schemaorg/DiagnosticLab.py index 91bf0e35..5f330d8c 100644 --- a/pydantic_schemaorg/DiagnosticLab.py +++ b/pydantic_schemaorg/DiagnosticLab.py @@ -14,7 +14,7 @@ class DiagnosticLab(MedicalOrganization): See: https://schema.org/DiagnosticLab Model depth: 4 """ - type_: str = Field(default="DiagnosticLab", alias='@type') + type_: str = Field(default="DiagnosticLab", alias='@type', constant=True) availableTest: Optional[Union[List[Union['MedicalTest', str]], 'MedicalTest', str]] = Field( default=None, description="A diagnostic test or procedure offered by this lab.", diff --git a/pydantic_schemaorg/DiagnosticProcedure.py b/pydantic_schemaorg/DiagnosticProcedure.py index 7042bfc8..41e59bfc 100644 --- a/pydantic_schemaorg/DiagnosticProcedure.py +++ b/pydantic_schemaorg/DiagnosticProcedure.py @@ -12,5 +12,5 @@ class DiagnosticProcedure(MedicalProcedure): See: https://schema.org/DiagnosticProcedure Model depth: 4 """ - type_: str = Field(default="DiagnosticProcedure", alias='@type') + type_: str = Field(default="DiagnosticProcedure", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Diet.py b/pydantic_schemaorg/Diet.py index 844edb6c..3fea330c 100644 --- a/pydantic_schemaorg/Diet.py +++ b/pydantic_schemaorg/Diet.py @@ -16,12 +16,12 @@ class Diet(LifestyleModification, CreativeWork): See: https://schema.org/Diet Model depth: 3 """ - type_: str = Field(default="Diet", alias='@type') + type_: str = Field(default="Diet", alias='@type', constant=True) risks: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="Specific physiologic risks associated to the diet plan.", ) - endorsers: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + endorsers: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="People or organizations that endorse the plan.", ) @@ -43,5 +43,5 @@ class Diet(LifestyleModification, CreativeWork): if TYPE_CHECKING: from pydantic_schemaorg.Text import Text - from pydantic_schemaorg.Person import Person from pydantic_schemaorg.Organization import Organization + from pydantic_schemaorg.Person import Person diff --git a/pydantic_schemaorg/DietNutrition.py b/pydantic_schemaorg/DietNutrition.py index 0ed68c35..2addec6d 100644 --- a/pydantic_schemaorg/DietNutrition.py +++ b/pydantic_schemaorg/DietNutrition.py @@ -12,5 +12,5 @@ class DietNutrition(MedicalSpecialty, MedicalBusiness): See: https://schema.org/DietNutrition Model depth: 5 """ - type_: str = Field(default="DietNutrition", alias='@type') + type_: str = Field(default="DietNutrition", alias='@type', constant=True) diff --git a/pydantic_schemaorg/DietarySupplement.py b/pydantic_schemaorg/DietarySupplement.py index ccae3452..287d56a6 100644 --- a/pydantic_schemaorg/DietarySupplement.py +++ b/pydantic_schemaorg/DietarySupplement.py @@ -17,7 +17,7 @@ class DietarySupplement(Substance): See: https://schema.org/DietarySupplement Model depth: 4 """ - type_: str = Field(default="DietarySupplement", alias='@type') + type_: str = Field(default="DietarySupplement", alias='@type', constant=True) safetyConsideration: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="Any potential safety concern associated with the supplement. May include interactions" diff --git a/pydantic_schemaorg/DigitalAudioTapeFormat.py b/pydantic_schemaorg/DigitalAudioTapeFormat.py index 5d810244..07bcfd93 100644 --- a/pydantic_schemaorg/DigitalAudioTapeFormat.py +++ b/pydantic_schemaorg/DigitalAudioTapeFormat.py @@ -11,5 +11,5 @@ class DigitalAudioTapeFormat(MusicReleaseFormatType): See: https://schema.org/DigitalAudioTapeFormat Model depth: 5 """ - type_: str = Field(default="DigitalAudioTapeFormat", alias='@type') + type_: str = Field(default="DigitalAudioTapeFormat", alias='@type', constant=True) diff --git a/pydantic_schemaorg/DigitalDocument.py b/pydantic_schemaorg/DigitalDocument.py index 915e869b..082efa2d 100644 --- a/pydantic_schemaorg/DigitalDocument.py +++ b/pydantic_schemaorg/DigitalDocument.py @@ -14,7 +14,7 @@ class DigitalDocument(CreativeWork): See: https://schema.org/DigitalDocument Model depth: 3 """ - type_: str = Field(default="DigitalDocument", alias='@type') + type_: str = Field(default="DigitalDocument", alias='@type', constant=True) hasDigitalDocumentPermission: Optional[Union[List[Union['DigitalDocumentPermission', str]], 'DigitalDocumentPermission', str]] = Field( default=None, description="A permission related to the access to this document (e.g. permission to read or write" diff --git a/pydantic_schemaorg/DigitalDocumentPermission.py b/pydantic_schemaorg/DigitalDocumentPermission.py index c061c1dc..14c9cdea 100644 --- a/pydantic_schemaorg/DigitalDocumentPermission.py +++ b/pydantic_schemaorg/DigitalDocumentPermission.py @@ -14,12 +14,12 @@ class DigitalDocumentPermission(Intangible): See: https://schema.org/DigitalDocumentPermission Model depth: 3 """ - type_: str = Field(default="DigitalDocumentPermission", alias='@type') + type_: str = Field(default="DigitalDocumentPermission", alias='@type', constant=True) permissionType: Optional[Union[List[Union['DigitalDocumentPermissionType', str]], 'DigitalDocumentPermissionType', str]] = Field( default=None, description="The type of permission granted the person, organization, or audience.", ) - grantee: Optional[Union[List[Union['Person', 'Audience', 'Organization', 'ContactPoint', str]], 'Person', 'Audience', 'Organization', 'ContactPoint', str]] = Field( + grantee: Optional[Union[List[Union['ContactPoint', 'Audience', 'Organization', 'Person', str]], 'ContactPoint', 'Audience', 'Organization', 'Person', str]] = Field( default=None, description="The person, organization, contact point, or audience that has been granted this permission.", ) @@ -27,7 +27,7 @@ class DigitalDocumentPermission(Intangible): if TYPE_CHECKING: from pydantic_schemaorg.DigitalDocumentPermissionType import DigitalDocumentPermissionType - from pydantic_schemaorg.Person import Person + from pydantic_schemaorg.ContactPoint import ContactPoint from pydantic_schemaorg.Audience import Audience from pydantic_schemaorg.Organization import Organization - from pydantic_schemaorg.ContactPoint import ContactPoint + from pydantic_schemaorg.Person import Person diff --git a/pydantic_schemaorg/DigitalDocumentPermissionType.py b/pydantic_schemaorg/DigitalDocumentPermissionType.py index 85124918..7d032d00 100644 --- a/pydantic_schemaorg/DigitalDocumentPermissionType.py +++ b/pydantic_schemaorg/DigitalDocumentPermissionType.py @@ -11,5 +11,5 @@ class DigitalDocumentPermissionType(Enumeration): See: https://schema.org/DigitalDocumentPermissionType Model depth: 4 """ - type_: str = Field(default="DigitalDocumentPermissionType", alias='@type') + type_: str = Field(default="DigitalDocumentPermissionType", alias='@type', constant=True) diff --git a/pydantic_schemaorg/DigitalFormat.py b/pydantic_schemaorg/DigitalFormat.py index e263f794..c329b7af 100644 --- a/pydantic_schemaorg/DigitalFormat.py +++ b/pydantic_schemaorg/DigitalFormat.py @@ -11,5 +11,5 @@ class DigitalFormat(MusicReleaseFormatType): See: https://schema.org/DigitalFormat Model depth: 5 """ - type_: str = Field(default="DigitalFormat", alias='@type') + type_: str = Field(default="DigitalFormat", alias='@type', constant=True) diff --git a/pydantic_schemaorg/DisabilitySupport.py b/pydantic_schemaorg/DisabilitySupport.py index 780ebcee..fae4eadb 100644 --- a/pydantic_schemaorg/DisabilitySupport.py +++ b/pydantic_schemaorg/DisabilitySupport.py @@ -11,5 +11,5 @@ class DisabilitySupport(GovernmentBenefitsType): See: https://schema.org/DisabilitySupport Model depth: 5 """ - type_: str = Field(default="DisabilitySupport", alias='@type') + type_: str = Field(default="DisabilitySupport", alias='@type', constant=True) diff --git a/pydantic_schemaorg/DisagreeAction.py b/pydantic_schemaorg/DisagreeAction.py index 1b739d94..410130d8 100644 --- a/pydantic_schemaorg/DisagreeAction.py +++ b/pydantic_schemaorg/DisagreeAction.py @@ -12,5 +12,5 @@ class DisagreeAction(ReactAction): See: https://schema.org/DisagreeAction Model depth: 5 """ - type_: str = Field(default="DisagreeAction", alias='@type') + type_: str = Field(default="DisagreeAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Discontinued.py b/pydantic_schemaorg/Discontinued.py index 9806627f..15f12ed3 100644 --- a/pydantic_schemaorg/Discontinued.py +++ b/pydantic_schemaorg/Discontinued.py @@ -11,5 +11,5 @@ class Discontinued(ItemAvailability): See: https://schema.org/Discontinued Model depth: 5 """ - type_: str = Field(default="Discontinued", alias='@type') + type_: str = Field(default="Discontinued", alias='@type', constant=True) diff --git a/pydantic_schemaorg/DiscoverAction.py b/pydantic_schemaorg/DiscoverAction.py index 75575b34..b9e74d22 100644 --- a/pydantic_schemaorg/DiscoverAction.py +++ b/pydantic_schemaorg/DiscoverAction.py @@ -11,5 +11,5 @@ class DiscoverAction(FindAction): See: https://schema.org/DiscoverAction Model depth: 4 """ - type_: str = Field(default="DiscoverAction", alias='@type') + type_: str = Field(default="DiscoverAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/DiscussionForumPosting.py b/pydantic_schemaorg/DiscussionForumPosting.py index 900f3c5a..b1344d01 100644 --- a/pydantic_schemaorg/DiscussionForumPosting.py +++ b/pydantic_schemaorg/DiscussionForumPosting.py @@ -11,5 +11,5 @@ class DiscussionForumPosting(SocialMediaPosting): See: https://schema.org/DiscussionForumPosting Model depth: 5 """ - type_: str = Field(default="DiscussionForumPosting", alias='@type') + type_: str = Field(default="DiscussionForumPosting", alias='@type', constant=True) diff --git a/pydantic_schemaorg/DislikeAction.py b/pydantic_schemaorg/DislikeAction.py index f393780c..91285692 100644 --- a/pydantic_schemaorg/DislikeAction.py +++ b/pydantic_schemaorg/DislikeAction.py @@ -12,5 +12,5 @@ class DislikeAction(ReactAction): See: https://schema.org/DislikeAction Model depth: 5 """ - type_: str = Field(default="DislikeAction", alias='@type') + type_: str = Field(default="DislikeAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Distance.py b/pydantic_schemaorg/Distance.py index 164a8563..77bd82f2 100644 --- a/pydantic_schemaorg/Distance.py +++ b/pydantic_schemaorg/Distance.py @@ -12,5 +12,5 @@ class Distance(Quantity): See: https://schema.org/Distance Model depth: 4 """ - type_: str = Field(default="Distance", alias='@type') + type_: str = Field(default="Distance", alias='@type', constant=True) diff --git a/pydantic_schemaorg/DistanceFee.py b/pydantic_schemaorg/DistanceFee.py index 06182ad5..3ea79287 100644 --- a/pydantic_schemaorg/DistanceFee.py +++ b/pydantic_schemaorg/DistanceFee.py @@ -12,5 +12,5 @@ class DistanceFee(PriceComponentTypeEnumeration): See: https://schema.org/DistanceFee Model depth: 5 """ - type_: str = Field(default="DistanceFee", alias='@type') + type_: str = Field(default="DistanceFee", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Distillery.py b/pydantic_schemaorg/Distillery.py index aff92ad7..f418a7df 100644 --- a/pydantic_schemaorg/Distillery.py +++ b/pydantic_schemaorg/Distillery.py @@ -11,5 +11,5 @@ class Distillery(FoodEstablishment): See: https://schema.org/Distillery Model depth: 5 """ - type_: str = Field(default="Distillery", alias='@type') + type_: str = Field(default="Distillery", alias='@type', constant=True) diff --git a/pydantic_schemaorg/DonateAction.py b/pydantic_schemaorg/DonateAction.py index 2c8444a7..9e777a76 100644 --- a/pydantic_schemaorg/DonateAction.py +++ b/pydantic_schemaorg/DonateAction.py @@ -15,15 +15,15 @@ class DonateAction(TradeAction): See: https://schema.org/DonateAction Model depth: 4 """ - type_: str = Field(default="DonateAction", alias='@type') - recipient: Optional[Union[List[Union['Person', 'Audience', 'Organization', 'ContactPoint', str]], 'Person', 'Audience', 'Organization', 'ContactPoint', str]] = Field( + type_: str = Field(default="DonateAction", alias='@type', constant=True) + recipient: Optional[Union[List[Union['ContactPoint', 'Audience', 'Organization', 'Person', str]], 'ContactPoint', 'Audience', 'Organization', 'Person', str]] = Field( default=None, description="A sub property of participant. The participant who is at the receiving end of the action.", ) if TYPE_CHECKING: - from pydantic_schemaorg.Person import Person + from pydantic_schemaorg.ContactPoint import ContactPoint from pydantic_schemaorg.Audience import Audience from pydantic_schemaorg.Organization import Organization - from pydantic_schemaorg.ContactPoint import ContactPoint + from pydantic_schemaorg.Person import Person diff --git a/pydantic_schemaorg/DoseSchedule.py b/pydantic_schemaorg/DoseSchedule.py index 479ae67f..2b32344f 100644 --- a/pydantic_schemaorg/DoseSchedule.py +++ b/pydantic_schemaorg/DoseSchedule.py @@ -15,13 +15,13 @@ class DoseSchedule(MedicalIntangible): See: https://schema.org/DoseSchedule Model depth: 4 """ - type_: str = Field(default="DoseSchedule", alias='@type') + type_: str = Field(default="DoseSchedule", alias='@type', constant=True) targetPopulation: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="Characteristics of the population for which this is intended, or which typically uses" "it, e.g. 'adults'.", ) - doseValue: Optional[Union[List[Union[Decimal, 'Number', 'QualitativeValue', str]], Decimal, 'Number', 'QualitativeValue', str]] = Field( + doseValue: Optional[Union[List[Union[int, float, 'Number', 'QualitativeValue', str]], int, float, 'Number', 'QualitativeValue', str]] = Field( default=None, description="The value of the dose, e.g. 500.", ) diff --git a/pydantic_schemaorg/DoubleBlindedTrial.py b/pydantic_schemaorg/DoubleBlindedTrial.py index f5c345c9..3bec9af8 100644 --- a/pydantic_schemaorg/DoubleBlindedTrial.py +++ b/pydantic_schemaorg/DoubleBlindedTrial.py @@ -12,5 +12,5 @@ class DoubleBlindedTrial(MedicalTrialDesign): See: https://schema.org/DoubleBlindedTrial Model depth: 6 """ - type_: str = Field(default="DoubleBlindedTrial", alias='@type') + type_: str = Field(default="DoubleBlindedTrial", alias='@type', constant=True) diff --git a/pydantic_schemaorg/DownloadAction.py b/pydantic_schemaorg/DownloadAction.py index 9ec5498f..658c77a9 100644 --- a/pydantic_schemaorg/DownloadAction.py +++ b/pydantic_schemaorg/DownloadAction.py @@ -11,5 +11,5 @@ class DownloadAction(TransferAction): See: https://schema.org/DownloadAction Model depth: 4 """ - type_: str = Field(default="DownloadAction", alias='@type') + type_: str = Field(default="DownloadAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Downpayment.py b/pydantic_schemaorg/Downpayment.py index a237a697..04135524 100644 --- a/pydantic_schemaorg/Downpayment.py +++ b/pydantic_schemaorg/Downpayment.py @@ -12,5 +12,5 @@ class Downpayment(PriceComponentTypeEnumeration): See: https://schema.org/Downpayment Model depth: 5 """ - type_: str = Field(default="Downpayment", alias='@type') + type_: str = Field(default="Downpayment", alias='@type', constant=True) diff --git a/pydantic_schemaorg/DrawAction.py b/pydantic_schemaorg/DrawAction.py index f5b3d64a..af6da08d 100644 --- a/pydantic_schemaorg/DrawAction.py +++ b/pydantic_schemaorg/DrawAction.py @@ -12,5 +12,5 @@ class DrawAction(CreateAction): See: https://schema.org/DrawAction Model depth: 4 """ - type_: str = Field(default="DrawAction", alias='@type') + type_: str = Field(default="DrawAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Drawing.py b/pydantic_schemaorg/Drawing.py index b33b6da6..8fcf4b3a 100644 --- a/pydantic_schemaorg/Drawing.py +++ b/pydantic_schemaorg/Drawing.py @@ -11,5 +11,5 @@ class Drawing(CreativeWork): See: https://schema.org/Drawing Model depth: 3 """ - type_: str = Field(default="Drawing", alias='@type') + type_: str = Field(default="Drawing", alias='@type', constant=True) diff --git a/pydantic_schemaorg/DrinkAction.py b/pydantic_schemaorg/DrinkAction.py index 3f163dea..37fea215 100644 --- a/pydantic_schemaorg/DrinkAction.py +++ b/pydantic_schemaorg/DrinkAction.py @@ -11,5 +11,5 @@ class DrinkAction(ConsumeAction): See: https://schema.org/DrinkAction Model depth: 4 """ - type_: str = Field(default="DrinkAction", alias='@type') + type_: str = Field(default="DrinkAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/DriveWheelConfigurationValue.py b/pydantic_schemaorg/DriveWheelConfigurationValue.py index fdc17339..c8d4ea64 100644 --- a/pydantic_schemaorg/DriveWheelConfigurationValue.py +++ b/pydantic_schemaorg/DriveWheelConfigurationValue.py @@ -11,5 +11,5 @@ class DriveWheelConfigurationValue(QualitativeValue): See: https://schema.org/DriveWheelConfigurationValue Model depth: 5 """ - type_: str = Field(default="DriveWheelConfigurationValue", alias='@type') + type_: str = Field(default="DriveWheelConfigurationValue", alias='@type', constant=True) diff --git a/pydantic_schemaorg/DrivingSchoolVehicleUsage.py b/pydantic_schemaorg/DrivingSchoolVehicleUsage.py index 4bf2a5ca..037e28dd 100644 --- a/pydantic_schemaorg/DrivingSchoolVehicleUsage.py +++ b/pydantic_schemaorg/DrivingSchoolVehicleUsage.py @@ -11,5 +11,5 @@ class DrivingSchoolVehicleUsage(CarUsageType): See: https://schema.org/DrivingSchoolVehicleUsage Model depth: 5 """ - type_: str = Field(default="DrivingSchoolVehicleUsage", alias='@type') + type_: str = Field(default="DrivingSchoolVehicleUsage", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Drug.py b/pydantic_schemaorg/Drug.py index 06493253..b084c039 100644 --- a/pydantic_schemaorg/Drug.py +++ b/pydantic_schemaorg/Drug.py @@ -17,7 +17,7 @@ class Drug(Substance): See: https://schema.org/Drug Model depth: 4 """ - type_: str = Field(default="Drug", alias='@type') + type_: str = Field(default="Drug", alias='@type', constant=True) prescribingInfo: Optional[Union[List[Union[AnyUrl, 'URL', str]], AnyUrl, 'URL', str]] = Field( default=None, description="Link to prescribing information for the drug.", diff --git a/pydantic_schemaorg/DrugClass.py b/pydantic_schemaorg/DrugClass.py index acc60642..9ade5e24 100644 --- a/pydantic_schemaorg/DrugClass.py +++ b/pydantic_schemaorg/DrugClass.py @@ -15,7 +15,7 @@ class DrugClass(MedicalEntity): See: https://schema.org/DrugClass Model depth: 3 """ - type_: str = Field(default="DrugClass", alias='@type') + type_: str = Field(default="DrugClass", alias='@type', constant=True) drug: Optional[Union[List[Union['Drug', str]], 'Drug', str]] = Field( default=None, description="Specifying a drug or medicine used in a medication procedure.", diff --git a/pydantic_schemaorg/DrugCost.py b/pydantic_schemaorg/DrugCost.py index 95361359..e157043b 100644 --- a/pydantic_schemaorg/DrugCost.py +++ b/pydantic_schemaorg/DrugCost.py @@ -20,7 +20,7 @@ class DrugCost(MedicalEntity): See: https://schema.org/DrugCost Model depth: 3 """ - type_: str = Field(default="DrugCost", alias='@type') + type_: str = Field(default="DrugCost", alias='@type', constant=True) costCategory: Optional[Union[List[Union['DrugCostCategory', str]], 'DrugCostCategory', str]] = Field( default=None, description="The category of cost, such as wholesale, retail, reimbursement cap, etc.", @@ -37,7 +37,7 @@ class DrugCost(MedicalEntity): default=None, description="The currency (in 3-letter of the drug cost. See: http://en.wikipedia.org/wiki/ISO_4217.", ) - costPerUnit: Optional[Union[List[Union[Decimal, 'Number', str, 'Text', 'QualitativeValue']], Decimal, 'Number', str, 'Text', 'QualitativeValue']] = Field( + costPerUnit: Optional[Union[List[Union[int, float, 'Number', str, 'Text', 'QualitativeValue']], int, float, 'Number', str, 'Text', 'QualitativeValue']] = Field( default=None, description="The cost per unit of the drug.", ) diff --git a/pydantic_schemaorg/DrugCostCategory.py b/pydantic_schemaorg/DrugCostCategory.py index c367e3ad..20c66270 100644 --- a/pydantic_schemaorg/DrugCostCategory.py +++ b/pydantic_schemaorg/DrugCostCategory.py @@ -11,5 +11,5 @@ class DrugCostCategory(MedicalEnumeration): See: https://schema.org/DrugCostCategory Model depth: 5 """ - type_: str = Field(default="DrugCostCategory", alias='@type') + type_: str = Field(default="DrugCostCategory", alias='@type', constant=True) diff --git a/pydantic_schemaorg/DrugLegalStatus.py b/pydantic_schemaorg/DrugLegalStatus.py index 2dd25b64..7bd12544 100644 --- a/pydantic_schemaorg/DrugLegalStatus.py +++ b/pydantic_schemaorg/DrugLegalStatus.py @@ -14,7 +14,7 @@ class DrugLegalStatus(MedicalIntangible): See: https://schema.org/DrugLegalStatus Model depth: 4 """ - type_: str = Field(default="DrugLegalStatus", alias='@type') + type_: str = Field(default="DrugLegalStatus", alias='@type', constant=True) applicableLocation: Optional[Union[List[Union['AdministrativeArea', str]], 'AdministrativeArea', str]] = Field( default=None, description="The location in which the status applies.", diff --git a/pydantic_schemaorg/DrugPregnancyCategory.py b/pydantic_schemaorg/DrugPregnancyCategory.py index eec2829b..e154351b 100644 --- a/pydantic_schemaorg/DrugPregnancyCategory.py +++ b/pydantic_schemaorg/DrugPregnancyCategory.py @@ -12,5 +12,5 @@ class DrugPregnancyCategory(MedicalEnumeration): See: https://schema.org/DrugPregnancyCategory Model depth: 5 """ - type_: str = Field(default="DrugPregnancyCategory", alias='@type') + type_: str = Field(default="DrugPregnancyCategory", alias='@type', constant=True) diff --git a/pydantic_schemaorg/DrugPrescriptionStatus.py b/pydantic_schemaorg/DrugPrescriptionStatus.py index 28273a0e..eb150929 100644 --- a/pydantic_schemaorg/DrugPrescriptionStatus.py +++ b/pydantic_schemaorg/DrugPrescriptionStatus.py @@ -11,5 +11,5 @@ class DrugPrescriptionStatus(MedicalEnumeration): See: https://schema.org/DrugPrescriptionStatus Model depth: 5 """ - type_: str = Field(default="DrugPrescriptionStatus", alias='@type') + type_: str = Field(default="DrugPrescriptionStatus", alias='@type', constant=True) diff --git a/pydantic_schemaorg/DrugStrength.py b/pydantic_schemaorg/DrugStrength.py index 45f3a672..e87070f8 100644 --- a/pydantic_schemaorg/DrugStrength.py +++ b/pydantic_schemaorg/DrugStrength.py @@ -15,7 +15,7 @@ class DrugStrength(MedicalIntangible): See: https://schema.org/DrugStrength Model depth: 4 """ - type_: str = Field(default="DrugStrength", alias='@type') + type_: str = Field(default="DrugStrength", alias='@type', constant=True) activeIngredient: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="An active ingredient, typically chemical compounds and/or biologic substances.", @@ -28,7 +28,7 @@ class DrugStrength(MedicalIntangible): default=None, description="The units of an active ingredient's strength, e.g. mg.", ) - strengthValue: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( + strengthValue: Optional[Union[List[Union[int, float, 'Number', str]], int, float, 'Number', str]] = Field( default=None, description="The value of an active ingredient's strength, e.g. 325.", ) diff --git a/pydantic_schemaorg/DryCleaningOrLaundry.py b/pydantic_schemaorg/DryCleaningOrLaundry.py index 032ed1dc..6298e3f5 100644 --- a/pydantic_schemaorg/DryCleaningOrLaundry.py +++ b/pydantic_schemaorg/DryCleaningOrLaundry.py @@ -11,5 +11,5 @@ class DryCleaningOrLaundry(LocalBusiness): See: https://schema.org/DryCleaningOrLaundry Model depth: 4 """ - type_: str = Field(default="DryCleaningOrLaundry", alias='@type') + type_: str = Field(default="DryCleaningOrLaundry", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Duration.py b/pydantic_schemaorg/Duration.py index 73ab4015..254fa9d5 100644 --- a/pydantic_schemaorg/Duration.py +++ b/pydantic_schemaorg/Duration.py @@ -11,5 +11,5 @@ class Duration(Quantity): See: https://schema.org/Duration Model depth: 4 """ - type_: str = Field(default="Duration", alias='@type') + type_: str = Field(default="Duration", alias='@type', constant=True) diff --git a/pydantic_schemaorg/EBook.py b/pydantic_schemaorg/EBook.py index a327de75..d75b5528 100644 --- a/pydantic_schemaorg/EBook.py +++ b/pydantic_schemaorg/EBook.py @@ -11,5 +11,5 @@ class EBook(BookFormatType): See: https://schema.org/EBook Model depth: 5 """ - type_: str = Field(default="EBook", alias='@type') + type_: str = Field(default="EBook", alias='@type', constant=True) diff --git a/pydantic_schemaorg/EPRelease.py b/pydantic_schemaorg/EPRelease.py index a31f0287..6311cbdf 100644 --- a/pydantic_schemaorg/EPRelease.py +++ b/pydantic_schemaorg/EPRelease.py @@ -11,5 +11,5 @@ class EPRelease(MusicAlbumReleaseType): See: https://schema.org/EPRelease Model depth: 5 """ - type_: str = Field(default="EPRelease", alias='@type') + type_: str = Field(default="EPRelease", alias='@type', constant=True) diff --git a/pydantic_schemaorg/EUEnergyEfficiencyCategoryA.py b/pydantic_schemaorg/EUEnergyEfficiencyCategoryA.py index 2b642796..ca9719b8 100644 --- a/pydantic_schemaorg/EUEnergyEfficiencyCategoryA.py +++ b/pydantic_schemaorg/EUEnergyEfficiencyCategoryA.py @@ -11,5 +11,5 @@ class EUEnergyEfficiencyCategoryA(EUEnergyEfficiencyEnumeration): See: https://schema.org/EUEnergyEfficiencyCategoryA Model depth: 6 """ - type_: str = Field(default="EUEnergyEfficiencyCategoryA", alias='@type') + type_: str = Field(default="EUEnergyEfficiencyCategoryA", alias='@type', constant=True) diff --git a/pydantic_schemaorg/EUEnergyEfficiencyCategoryA1Plus.py b/pydantic_schemaorg/EUEnergyEfficiencyCategoryA1Plus.py index 02b78c18..6ccfd78f 100644 --- a/pydantic_schemaorg/EUEnergyEfficiencyCategoryA1Plus.py +++ b/pydantic_schemaorg/EUEnergyEfficiencyCategoryA1Plus.py @@ -11,5 +11,5 @@ class EUEnergyEfficiencyCategoryA1Plus(EUEnergyEfficiencyEnumeration): See: https://schema.org/EUEnergyEfficiencyCategoryA1Plus Model depth: 6 """ - type_: str = Field(default="EUEnergyEfficiencyCategoryA1Plus", alias='@type') + type_: str = Field(default="EUEnergyEfficiencyCategoryA1Plus", alias='@type', constant=True) diff --git a/pydantic_schemaorg/EUEnergyEfficiencyCategoryA2Plus.py b/pydantic_schemaorg/EUEnergyEfficiencyCategoryA2Plus.py index 46673a13..bfeeefe0 100644 --- a/pydantic_schemaorg/EUEnergyEfficiencyCategoryA2Plus.py +++ b/pydantic_schemaorg/EUEnergyEfficiencyCategoryA2Plus.py @@ -11,5 +11,5 @@ class EUEnergyEfficiencyCategoryA2Plus(EUEnergyEfficiencyEnumeration): See: https://schema.org/EUEnergyEfficiencyCategoryA2Plus Model depth: 6 """ - type_: str = Field(default="EUEnergyEfficiencyCategoryA2Plus", alias='@type') + type_: str = Field(default="EUEnergyEfficiencyCategoryA2Plus", alias='@type', constant=True) diff --git a/pydantic_schemaorg/EUEnergyEfficiencyCategoryA3Plus.py b/pydantic_schemaorg/EUEnergyEfficiencyCategoryA3Plus.py index d3f62633..38f650b9 100644 --- a/pydantic_schemaorg/EUEnergyEfficiencyCategoryA3Plus.py +++ b/pydantic_schemaorg/EUEnergyEfficiencyCategoryA3Plus.py @@ -11,5 +11,5 @@ class EUEnergyEfficiencyCategoryA3Plus(EUEnergyEfficiencyEnumeration): See: https://schema.org/EUEnergyEfficiencyCategoryA3Plus Model depth: 6 """ - type_: str = Field(default="EUEnergyEfficiencyCategoryA3Plus", alias='@type') + type_: str = Field(default="EUEnergyEfficiencyCategoryA3Plus", alias='@type', constant=True) diff --git a/pydantic_schemaorg/EUEnergyEfficiencyCategoryB.py b/pydantic_schemaorg/EUEnergyEfficiencyCategoryB.py index 3a1482c3..e1824974 100644 --- a/pydantic_schemaorg/EUEnergyEfficiencyCategoryB.py +++ b/pydantic_schemaorg/EUEnergyEfficiencyCategoryB.py @@ -11,5 +11,5 @@ class EUEnergyEfficiencyCategoryB(EUEnergyEfficiencyEnumeration): See: https://schema.org/EUEnergyEfficiencyCategoryB Model depth: 6 """ - type_: str = Field(default="EUEnergyEfficiencyCategoryB", alias='@type') + type_: str = Field(default="EUEnergyEfficiencyCategoryB", alias='@type', constant=True) diff --git a/pydantic_schemaorg/EUEnergyEfficiencyCategoryC.py b/pydantic_schemaorg/EUEnergyEfficiencyCategoryC.py index 4b564ad9..01156b97 100644 --- a/pydantic_schemaorg/EUEnergyEfficiencyCategoryC.py +++ b/pydantic_schemaorg/EUEnergyEfficiencyCategoryC.py @@ -11,5 +11,5 @@ class EUEnergyEfficiencyCategoryC(EUEnergyEfficiencyEnumeration): See: https://schema.org/EUEnergyEfficiencyCategoryC Model depth: 6 """ - type_: str = Field(default="EUEnergyEfficiencyCategoryC", alias='@type') + type_: str = Field(default="EUEnergyEfficiencyCategoryC", alias='@type', constant=True) diff --git a/pydantic_schemaorg/EUEnergyEfficiencyCategoryD.py b/pydantic_schemaorg/EUEnergyEfficiencyCategoryD.py index f71bded3..9cc2bc82 100644 --- a/pydantic_schemaorg/EUEnergyEfficiencyCategoryD.py +++ b/pydantic_schemaorg/EUEnergyEfficiencyCategoryD.py @@ -11,5 +11,5 @@ class EUEnergyEfficiencyCategoryD(EUEnergyEfficiencyEnumeration): See: https://schema.org/EUEnergyEfficiencyCategoryD Model depth: 6 """ - type_: str = Field(default="EUEnergyEfficiencyCategoryD", alias='@type') + type_: str = Field(default="EUEnergyEfficiencyCategoryD", alias='@type', constant=True) diff --git a/pydantic_schemaorg/EUEnergyEfficiencyCategoryE.py b/pydantic_schemaorg/EUEnergyEfficiencyCategoryE.py index 2299d2e7..8062ca62 100644 --- a/pydantic_schemaorg/EUEnergyEfficiencyCategoryE.py +++ b/pydantic_schemaorg/EUEnergyEfficiencyCategoryE.py @@ -11,5 +11,5 @@ class EUEnergyEfficiencyCategoryE(EUEnergyEfficiencyEnumeration): See: https://schema.org/EUEnergyEfficiencyCategoryE Model depth: 6 """ - type_: str = Field(default="EUEnergyEfficiencyCategoryE", alias='@type') + type_: str = Field(default="EUEnergyEfficiencyCategoryE", alias='@type', constant=True) diff --git a/pydantic_schemaorg/EUEnergyEfficiencyCategoryF.py b/pydantic_schemaorg/EUEnergyEfficiencyCategoryF.py index cd24f297..533b6705 100644 --- a/pydantic_schemaorg/EUEnergyEfficiencyCategoryF.py +++ b/pydantic_schemaorg/EUEnergyEfficiencyCategoryF.py @@ -11,5 +11,5 @@ class EUEnergyEfficiencyCategoryF(EUEnergyEfficiencyEnumeration): See: https://schema.org/EUEnergyEfficiencyCategoryF Model depth: 6 """ - type_: str = Field(default="EUEnergyEfficiencyCategoryF", alias='@type') + type_: str = Field(default="EUEnergyEfficiencyCategoryF", alias='@type', constant=True) diff --git a/pydantic_schemaorg/EUEnergyEfficiencyCategoryG.py b/pydantic_schemaorg/EUEnergyEfficiencyCategoryG.py index 26144907..7e917a6c 100644 --- a/pydantic_schemaorg/EUEnergyEfficiencyCategoryG.py +++ b/pydantic_schemaorg/EUEnergyEfficiencyCategoryG.py @@ -11,5 +11,5 @@ class EUEnergyEfficiencyCategoryG(EUEnergyEfficiencyEnumeration): See: https://schema.org/EUEnergyEfficiencyCategoryG Model depth: 6 """ - type_: str = Field(default="EUEnergyEfficiencyCategoryG", alias='@type') + type_: str = Field(default="EUEnergyEfficiencyCategoryG", alias='@type', constant=True) diff --git a/pydantic_schemaorg/EUEnergyEfficiencyEnumeration.py b/pydantic_schemaorg/EUEnergyEfficiencyEnumeration.py index 8418610f..7d71eff9 100644 --- a/pydantic_schemaorg/EUEnergyEfficiencyEnumeration.py +++ b/pydantic_schemaorg/EUEnergyEfficiencyEnumeration.py @@ -12,5 +12,5 @@ class EUEnergyEfficiencyEnumeration(EnergyEfficiencyEnumeration): See: https://schema.org/EUEnergyEfficiencyEnumeration Model depth: 5 """ - type_: str = Field(default="EUEnergyEfficiencyEnumeration", alias='@type') + type_: str = Field(default="EUEnergyEfficiencyEnumeration", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Ear.py b/pydantic_schemaorg/Ear.py index a22d11b9..09b8339f 100644 --- a/pydantic_schemaorg/Ear.py +++ b/pydantic_schemaorg/Ear.py @@ -11,5 +11,5 @@ class Ear(PhysicalExam): See: https://schema.org/Ear Model depth: 5 """ - type_: str = Field(default="Ear", alias='@type') + type_: str = Field(default="Ear", alias='@type', constant=True) diff --git a/pydantic_schemaorg/EatAction.py b/pydantic_schemaorg/EatAction.py index e61491de..2389f785 100644 --- a/pydantic_schemaorg/EatAction.py +++ b/pydantic_schemaorg/EatAction.py @@ -11,5 +11,5 @@ class EatAction(ConsumeAction): See: https://schema.org/EatAction Model depth: 4 """ - type_: str = Field(default="EatAction", alias='@type') + type_: str = Field(default="EatAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/EditedOrCroppedContent.py b/pydantic_schemaorg/EditedOrCroppedContent.py index 1ac2cc6d..c09aba93 100644 --- a/pydantic_schemaorg/EditedOrCroppedContent.py +++ b/pydantic_schemaorg/EditedOrCroppedContent.py @@ -21,5 +21,5 @@ class EditedOrCroppedContent(MediaManipulationRatingEnumeration): See: https://schema.org/EditedOrCroppedContent Model depth: 5 """ - type_: str = Field(default="EditedOrCroppedContent", alias='@type') + type_: str = Field(default="EditedOrCroppedContent", alias='@type', constant=True) diff --git a/pydantic_schemaorg/EducationEvent.py b/pydantic_schemaorg/EducationEvent.py index 3ae3fa1b..6b9fb8ed 100644 --- a/pydantic_schemaorg/EducationEvent.py +++ b/pydantic_schemaorg/EducationEvent.py @@ -15,7 +15,7 @@ class EducationEvent(Event): See: https://schema.org/EducationEvent Model depth: 3 """ - type_: str = Field(default="EducationEvent", alias='@type') + type_: str = Field(default="EducationEvent", alias='@type', constant=True) teaches: Optional[Union[List[Union[str, 'Text', 'DefinedTerm']], str, 'Text', 'DefinedTerm']] = Field( default=None, description="The item being described is intended to help a person learn the competency or learning" diff --git a/pydantic_schemaorg/EducationalAudience.py b/pydantic_schemaorg/EducationalAudience.py index 133b2b76..918bddee 100644 --- a/pydantic_schemaorg/EducationalAudience.py +++ b/pydantic_schemaorg/EducationalAudience.py @@ -14,7 +14,7 @@ class EducationalAudience(Audience): See: https://schema.org/EducationalAudience Model depth: 4 """ - type_: str = Field(default="EducationalAudience", alias='@type') + type_: str = Field(default="EducationalAudience", alias='@type', constant=True) educationalRole: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="An educationalRole of an EducationalAudience.", diff --git a/pydantic_schemaorg/EducationalOccupationalCredential.py b/pydantic_schemaorg/EducationalOccupationalCredential.py index 531a3cfe..d7d58774 100644 --- a/pydantic_schemaorg/EducationalOccupationalCredential.py +++ b/pydantic_schemaorg/EducationalOccupationalCredential.py @@ -17,7 +17,7 @@ class EducationalOccupationalCredential(CreativeWork): See: https://schema.org/EducationalOccupationalCredential Model depth: 3 """ - type_: str = Field(default="EducationalOccupationalCredential", alias='@type') + type_: str = Field(default="EducationalOccupationalCredential", alias='@type', constant=True) validFor: Optional[Union[List[Union['Duration', str]], 'Duration', str]] = Field( default=None, description="The duration of validity of a permit or similar thing.", diff --git a/pydantic_schemaorg/EducationalOccupationalProgram.py b/pydantic_schemaorg/EducationalOccupationalProgram.py index ef7ecdc3..9221e6ff 100644 --- a/pydantic_schemaorg/EducationalOccupationalProgram.py +++ b/pydantic_schemaorg/EducationalOccupationalProgram.py @@ -21,12 +21,12 @@ class EducationalOccupationalProgram(Intangible): See: https://schema.org/EducationalOccupationalProgram Model depth: 3 """ - type_: str = Field(default="EducationalOccupationalProgram", alias='@type') + type_: str = Field(default="EducationalOccupationalProgram", alias='@type', constant=True) timeToComplete: Optional[Union[List[Union['Duration', str]], 'Duration', str]] = Field( default=None, description="The expected length of time to complete the program if attending full-time.", ) - offers: Optional[Union[List[Union['Offer', 'Demand', str]], 'Offer', 'Demand', str]] = Field( + offers: Optional[Union[List[Union['Demand', 'Offer', str]], 'Demand', 'Offer', str]] = Field( default=None, description="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]]" @@ -45,7 +45,7 @@ class EducationalOccupationalProgram(Intangible): description="The date at which the program begins collecting applications for the next enrollment" "cycle.", ) - programPrerequisites: Optional[Union[List[Union[str, 'Text', 'Course', 'EducationalOccupationalCredential', 'AlignmentObject']], str, 'Text', 'Course', 'EducationalOccupationalCredential', 'AlignmentObject']] = Field( + programPrerequisites: Optional[Union[List[Union[str, 'Text', 'EducationalOccupationalCredential', 'Course', 'AlignmentObject']], str, 'Text', 'EducationalOccupationalCredential', 'Course', 'AlignmentObject']] = Field( default=None, description="Prerequisites for enrolling in the program.", ) @@ -101,7 +101,7 @@ class EducationalOccupationalProgram(Intangible): default=None, description="The time of day the program normally runs. For example, \"evenings\".", ) - termsPerYear: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( + termsPerYear: Optional[Union[List[Union[int, float, 'Number', str]], int, float, 'Number', str]] = Field( default=None, description="The number of times terms of study are offered per year. Semesters and quarters are common" "units for term. For example, if the student can only take 2 semesters for the program in" @@ -125,7 +125,7 @@ class EducationalOccupationalProgram(Intangible): description="A financial aid type or program which students may use to pay for tuition or fees associated" "with the program.", ) - provider: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + provider: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="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." @@ -151,14 +151,14 @@ class EducationalOccupationalProgram(Intangible): if TYPE_CHECKING: from pydantic_schemaorg.Duration import Duration - from pydantic_schemaorg.Offer import Offer from pydantic_schemaorg.Demand import Demand + from pydantic_schemaorg.Offer import Offer from pydantic_schemaorg.Integer import Integer from pydantic_schemaorg.StructuredValue import StructuredValue from pydantic_schemaorg.Date import Date from pydantic_schemaorg.Text import Text - from pydantic_schemaorg.Course import Course from pydantic_schemaorg.EducationalOccupationalCredential import EducationalOccupationalCredential + from pydantic_schemaorg.Course import Course from pydantic_schemaorg.AlignmentObject import AlignmentObject from pydantic_schemaorg.URL import URL from pydantic_schemaorg.DefinedTerm import DefinedTerm @@ -166,6 +166,6 @@ class EducationalOccupationalProgram(Intangible): from pydantic_schemaorg.MonetaryAmountDistribution import MonetaryAmountDistribution from pydantic_schemaorg.Number import Number from pydantic_schemaorg.DayOfWeek import DayOfWeek - from pydantic_schemaorg.Person import Person from pydantic_schemaorg.Organization import Organization + from pydantic_schemaorg.Person import Person from pydantic_schemaorg.CategoryCode import CategoryCode diff --git a/pydantic_schemaorg/EducationalOrganization.py b/pydantic_schemaorg/EducationalOrganization.py index 406739de..35844474 100644 --- a/pydantic_schemaorg/EducationalOrganization.py +++ b/pydantic_schemaorg/EducationalOrganization.py @@ -15,7 +15,7 @@ class EducationalOrganization(CivicStructure, Organization): See: https://schema.org/EducationalOrganization Model depth: 3 """ - type_: str = Field(default="EducationalOrganization", alias='@type') + type_: str = Field(default="EducationalOrganization", alias='@type', constant=True) alumni: Optional[Union[List[Union['Person', str]], 'Person', str]] = Field( default=None, description="Alumni of an organization.", diff --git a/pydantic_schemaorg/EffectivenessHealthAspect.py b/pydantic_schemaorg/EffectivenessHealthAspect.py index 27dfc98d..96e032e2 100644 --- a/pydantic_schemaorg/EffectivenessHealthAspect.py +++ b/pydantic_schemaorg/EffectivenessHealthAspect.py @@ -11,5 +11,5 @@ class EffectivenessHealthAspect(HealthAspectEnumeration): See: https://schema.org/EffectivenessHealthAspect Model depth: 5 """ - type_: str = Field(default="EffectivenessHealthAspect", alias='@type') + type_: str = Field(default="EffectivenessHealthAspect", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Electrician.py b/pydantic_schemaorg/Electrician.py index ac1c9d5e..bd0d3afa 100644 --- a/pydantic_schemaorg/Electrician.py +++ b/pydantic_schemaorg/Electrician.py @@ -11,5 +11,5 @@ class Electrician(HomeAndConstructionBusiness): See: https://schema.org/Electrician Model depth: 5 """ - type_: str = Field(default="Electrician", alias='@type') + type_: str = Field(default="Electrician", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ElectronicsStore.py b/pydantic_schemaorg/ElectronicsStore.py index 64a1953d..a0d6cdcf 100644 --- a/pydantic_schemaorg/ElectronicsStore.py +++ b/pydantic_schemaorg/ElectronicsStore.py @@ -11,5 +11,5 @@ class ElectronicsStore(Store): See: https://schema.org/ElectronicsStore Model depth: 5 """ - type_: str = Field(default="ElectronicsStore", alias='@type') + type_: str = Field(default="ElectronicsStore", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ElementarySchool.py b/pydantic_schemaorg/ElementarySchool.py index f4af68ba..876030ea 100644 --- a/pydantic_schemaorg/ElementarySchool.py +++ b/pydantic_schemaorg/ElementarySchool.py @@ -11,5 +11,5 @@ class ElementarySchool(EducationalOrganization): See: https://schema.org/ElementarySchool Model depth: 4 """ - type_: str = Field(default="ElementarySchool", alias='@type') + type_: str = Field(default="ElementarySchool", alias='@type', constant=True) diff --git a/pydantic_schemaorg/EmailMessage.py b/pydantic_schemaorg/EmailMessage.py index ece4aabc..799aed05 100644 --- a/pydantic_schemaorg/EmailMessage.py +++ b/pydantic_schemaorg/EmailMessage.py @@ -11,5 +11,5 @@ class EmailMessage(Message): See: https://schema.org/EmailMessage Model depth: 4 """ - type_: str = Field(default="EmailMessage", alias='@type') + type_: str = Field(default="EmailMessage", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Embassy.py b/pydantic_schemaorg/Embassy.py index e5b53889..4c4edb2d 100644 --- a/pydantic_schemaorg/Embassy.py +++ b/pydantic_schemaorg/Embassy.py @@ -11,5 +11,5 @@ class Embassy(GovernmentBuilding): See: https://schema.org/Embassy Model depth: 5 """ - type_: str = Field(default="Embassy", alias='@type') + type_: str = Field(default="Embassy", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Emergency.py b/pydantic_schemaorg/Emergency.py index 492fb547..8e4aae86 100644 --- a/pydantic_schemaorg/Emergency.py +++ b/pydantic_schemaorg/Emergency.py @@ -13,5 +13,5 @@ class Emergency(MedicalSpecialty, MedicalBusiness): See: https://schema.org/Emergency Model depth: 5 """ - type_: str = Field(default="Emergency", alias='@type') + type_: str = Field(default="Emergency", alias='@type', constant=True) diff --git a/pydantic_schemaorg/EmergencyService.py b/pydantic_schemaorg/EmergencyService.py index 8f0a899f..11b76476 100644 --- a/pydantic_schemaorg/EmergencyService.py +++ b/pydantic_schemaorg/EmergencyService.py @@ -11,5 +11,5 @@ class EmergencyService(LocalBusiness): See: https://schema.org/EmergencyService Model depth: 4 """ - type_: str = Field(default="EmergencyService", alias='@type') + type_: str = Field(default="EmergencyService", alias='@type', constant=True) diff --git a/pydantic_schemaorg/EmployeeRole.py b/pydantic_schemaorg/EmployeeRole.py index 3a314b6d..bbc4afa4 100644 --- a/pydantic_schemaorg/EmployeeRole.py +++ b/pydantic_schemaorg/EmployeeRole.py @@ -15,13 +15,13 @@ class EmployeeRole(OrganizationRole): See: https://schema.org/EmployeeRole Model depth: 5 """ - type_: str = Field(default="EmployeeRole", alias='@type') + type_: str = Field(default="EmployeeRole", alias='@type', constant=True) salaryCurrency: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="The currency (coded using [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217) )" "used for the main salary information in this job posting or for this employee.", ) - baseSalary: Optional[Union[List[Union[Decimal, 'Number', 'MonetaryAmount', 'PriceSpecification', str]], Decimal, 'Number', 'MonetaryAmount', 'PriceSpecification', str]] = Field( + baseSalary: Optional[Union[List[Union[int, float, 'Number', 'MonetaryAmount', 'PriceSpecification', str]], int, float, 'Number', 'MonetaryAmount', 'PriceSpecification', str]] = Field( default=None, description="The base salary of the job or of an employee in an EmployeeRole.", ) diff --git a/pydantic_schemaorg/EmployerAggregateRating.py b/pydantic_schemaorg/EmployerAggregateRating.py index 0809d0dc..50f6c53e 100644 --- a/pydantic_schemaorg/EmployerAggregateRating.py +++ b/pydantic_schemaorg/EmployerAggregateRating.py @@ -11,5 +11,5 @@ class EmployerAggregateRating(AggregateRating): See: https://schema.org/EmployerAggregateRating Model depth: 5 """ - type_: str = Field(default="EmployerAggregateRating", alias='@type') + type_: str = Field(default="EmployerAggregateRating", alias='@type', constant=True) diff --git a/pydantic_schemaorg/EmployerReview.py b/pydantic_schemaorg/EmployerReview.py index 5fa34351..c326d497 100644 --- a/pydantic_schemaorg/EmployerReview.py +++ b/pydantic_schemaorg/EmployerReview.py @@ -12,5 +12,5 @@ class EmployerReview(Review): See: https://schema.org/EmployerReview Model depth: 4 """ - type_: str = Field(default="EmployerReview", alias='@type') + type_: str = Field(default="EmployerReview", alias='@type', constant=True) diff --git a/pydantic_schemaorg/EmploymentAgency.py b/pydantic_schemaorg/EmploymentAgency.py index 2246ec89..0c37782e 100644 --- a/pydantic_schemaorg/EmploymentAgency.py +++ b/pydantic_schemaorg/EmploymentAgency.py @@ -11,5 +11,5 @@ class EmploymentAgency(LocalBusiness): See: https://schema.org/EmploymentAgency Model depth: 4 """ - type_: str = Field(default="EmploymentAgency", alias='@type') + type_: str = Field(default="EmploymentAgency", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Endocrine.py b/pydantic_schemaorg/Endocrine.py index 41116407..52bdd239 100644 --- a/pydantic_schemaorg/Endocrine.py +++ b/pydantic_schemaorg/Endocrine.py @@ -12,5 +12,5 @@ class Endocrine(MedicalSpecialty): See: https://schema.org/Endocrine Model depth: 6 """ - type_: str = Field(default="Endocrine", alias='@type') + type_: str = Field(default="Endocrine", alias='@type', constant=True) diff --git a/pydantic_schemaorg/EndorseAction.py b/pydantic_schemaorg/EndorseAction.py index 21c87312..7ac60e5e 100644 --- a/pydantic_schemaorg/EndorseAction.py +++ b/pydantic_schemaorg/EndorseAction.py @@ -14,13 +14,13 @@ class EndorseAction(ReactAction): See: https://schema.org/EndorseAction Model depth: 5 """ - type_: str = Field(default="EndorseAction", alias='@type') - endorsee: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + type_: str = Field(default="EndorseAction", alias='@type', constant=True) + endorsee: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="A sub property of participant. The person/organization being supported.", ) if TYPE_CHECKING: - from pydantic_schemaorg.Person import Person from pydantic_schemaorg.Organization import Organization + from pydantic_schemaorg.Person import Person diff --git a/pydantic_schemaorg/EndorsementRating.py b/pydantic_schemaorg/EndorsementRating.py index 12d8917f..d363df5b 100644 --- a/pydantic_schemaorg/EndorsementRating.py +++ b/pydantic_schemaorg/EndorsementRating.py @@ -19,5 +19,5 @@ class EndorsementRating(Rating): See: https://schema.org/EndorsementRating Model depth: 4 """ - type_: str = Field(default="EndorsementRating", alias='@type') + type_: str = Field(default="EndorsementRating", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Energy.py b/pydantic_schemaorg/Energy.py index 6b0adaee..f7d6b9eb 100644 --- a/pydantic_schemaorg/Energy.py +++ b/pydantic_schemaorg/Energy.py @@ -12,5 +12,5 @@ class Energy(Quantity): See: https://schema.org/Energy Model depth: 4 """ - type_: str = Field(default="Energy", alias='@type') + type_: str = Field(default="Energy", alias='@type', constant=True) diff --git a/pydantic_schemaorg/EnergyConsumptionDetails.py b/pydantic_schemaorg/EnergyConsumptionDetails.py index 068da658..688f8a3c 100644 --- a/pydantic_schemaorg/EnergyConsumptionDetails.py +++ b/pydantic_schemaorg/EnergyConsumptionDetails.py @@ -18,7 +18,7 @@ class EnergyConsumptionDetails(Intangible): See: https://schema.org/EnergyConsumptionDetails Model depth: 3 """ - type_: str = Field(default="EnergyConsumptionDetails", alias='@type') + type_: str = Field(default="EnergyConsumptionDetails", alias='@type', constant=True) energyEfficiencyScaleMax: Optional[Union[List[Union['EUEnergyEfficiencyEnumeration', str]], 'EUEnergyEfficiencyEnumeration', str]] = Field( default=None, description="Specifies the most energy efficient class on the regulated EU energy consumption scale" diff --git a/pydantic_schemaorg/EnergyEfficiencyEnumeration.py b/pydantic_schemaorg/EnergyEfficiencyEnumeration.py index cc931948..1184b0ce 100644 --- a/pydantic_schemaorg/EnergyEfficiencyEnumeration.py +++ b/pydantic_schemaorg/EnergyEfficiencyEnumeration.py @@ -12,5 +12,5 @@ class EnergyEfficiencyEnumeration(Enumeration): See: https://schema.org/EnergyEfficiencyEnumeration Model depth: 4 """ - type_: str = Field(default="EnergyEfficiencyEnumeration", alias='@type') + type_: str = Field(default="EnergyEfficiencyEnumeration", alias='@type', constant=True) diff --git a/pydantic_schemaorg/EnergyStarCertified.py b/pydantic_schemaorg/EnergyStarCertified.py index 472733f0..b64aa0a8 100644 --- a/pydantic_schemaorg/EnergyStarCertified.py +++ b/pydantic_schemaorg/EnergyStarCertified.py @@ -11,5 +11,5 @@ class EnergyStarCertified(EnergyStarEnergyEfficiencyEnumeration): See: https://schema.org/EnergyStarCertified Model depth: 6 """ - type_: str = Field(default="EnergyStarCertified", alias='@type') + type_: str = Field(default="EnergyStarCertified", alias='@type', constant=True) diff --git a/pydantic_schemaorg/EnergyStarEnergyEfficiencyEnumeration.py b/pydantic_schemaorg/EnergyStarEnergyEfficiencyEnumeration.py index 34b8e2c6..54e4d3a9 100644 --- a/pydantic_schemaorg/EnergyStarEnergyEfficiencyEnumeration.py +++ b/pydantic_schemaorg/EnergyStarEnergyEfficiencyEnumeration.py @@ -11,5 +11,5 @@ class EnergyStarEnergyEfficiencyEnumeration(EnergyEfficiencyEnumeration): See: https://schema.org/EnergyStarEnergyEfficiencyEnumeration Model depth: 5 """ - type_: str = Field(default="EnergyStarEnergyEfficiencyEnumeration", alias='@type') + type_: str = Field(default="EnergyStarEnergyEfficiencyEnumeration", alias='@type', constant=True) diff --git a/pydantic_schemaorg/EngineSpecification.py b/pydantic_schemaorg/EngineSpecification.py index 858e67d0..93cbeb78 100644 --- a/pydantic_schemaorg/EngineSpecification.py +++ b/pydantic_schemaorg/EngineSpecification.py @@ -16,7 +16,7 @@ class EngineSpecification(StructuredValue): See: https://schema.org/EngineSpecification Model depth: 4 """ - type_: str = Field(default="EngineSpecification", alias='@type') + type_: str = Field(default="EngineSpecification", alias='@type', constant=True) torque: Optional[Union[List[Union['QuantitativeValue', str]], 'QuantitativeValue', str]] = Field( default=None, description="The torque (turning force) of the vehicle's engine. Typical unit code(s): NU for newton" diff --git a/pydantic_schemaorg/EnrollingByInvitation.py b/pydantic_schemaorg/EnrollingByInvitation.py index a9967012..a474fca9 100644 --- a/pydantic_schemaorg/EnrollingByInvitation.py +++ b/pydantic_schemaorg/EnrollingByInvitation.py @@ -11,5 +11,5 @@ class EnrollingByInvitation(MedicalStudyStatus): See: https://schema.org/EnrollingByInvitation Model depth: 6 """ - type_: str = Field(default="EnrollingByInvitation", alias='@type') + type_: str = Field(default="EnrollingByInvitation", alias='@type', constant=True) diff --git a/pydantic_schemaorg/EntertainmentBusiness.py b/pydantic_schemaorg/EntertainmentBusiness.py index afb528f9..42e23459 100644 --- a/pydantic_schemaorg/EntertainmentBusiness.py +++ b/pydantic_schemaorg/EntertainmentBusiness.py @@ -11,5 +11,5 @@ class EntertainmentBusiness(LocalBusiness): See: https://schema.org/EntertainmentBusiness Model depth: 4 """ - type_: str = Field(default="EntertainmentBusiness", alias='@type') + type_: str = Field(default="EntertainmentBusiness", alias='@type', constant=True) diff --git a/pydantic_schemaorg/EntryPoint.py b/pydantic_schemaorg/EntryPoint.py index cec61979..725ce916 100644 --- a/pydantic_schemaorg/EntryPoint.py +++ b/pydantic_schemaorg/EntryPoint.py @@ -15,7 +15,7 @@ class EntryPoint(Intangible): See: https://schema.org/EntryPoint Model depth: 3 """ - type_: str = Field(default="EntryPoint", alias='@type') + type_: str = Field(default="EntryPoint", alias='@type', constant=True) contentType: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="The supported content type(s) for an EntryPoint response.", diff --git a/pydantic_schemaorg/Enumeration.py b/pydantic_schemaorg/Enumeration.py index c857ad50..87ba0aa5 100644 --- a/pydantic_schemaorg/Enumeration.py +++ b/pydantic_schemaorg/Enumeration.py @@ -14,8 +14,8 @@ class Enumeration(Intangible): See: https://schema.org/Enumeration Model depth: 3 """ - type_: str = Field(default="Enumeration", alias='@type') - supersededBy: Optional[Union[List[Union['Class', 'Property', 'Enumeration', str]], 'Class', 'Property', 'Enumeration', str]] = Field( + type_: str = Field(default="Enumeration", alias='@type', constant=True) + supersededBy: Optional[Union[List[Union['Class', 'Enumeration', 'Property', str]], 'Class', 'Enumeration', 'Property', str]] = Field( default=None, description="Relates a term (i.e. a property, class or enumeration) to one that supersedes it.", ) diff --git a/pydantic_schemaorg/Episode.py b/pydantic_schemaorg/Episode.py index b2659028..cc38d299 100644 --- a/pydantic_schemaorg/Episode.py +++ b/pydantic_schemaorg/Episode.py @@ -14,7 +14,7 @@ class Episode(CreativeWork): See: https://schema.org/Episode Model depth: 3 """ - type_: str = Field(default="Episode", alias='@type') + type_: str = Field(default="Episode", alias='@type', constant=True) partOfSeason: Optional[Union[List[Union['CreativeWorkSeason', str]], 'CreativeWorkSeason', str]] = Field( default=None, description="The season to which this episode belongs.", @@ -60,7 +60,7 @@ class Episode(CreativeWork): description="A director of e.g. tv, radio, movie, video games etc. content. Directors can be associated" "with individual items or with a series, episode, clip.", ) - musicBy: Optional[Union[List[Union['Person', 'MusicGroup', str]], 'Person', 'MusicGroup', str]] = Field( + musicBy: Optional[Union[List[Union['MusicGroup', 'Person', str]], 'MusicGroup', 'Person', str]] = Field( default=None, description="The composer of the soundtrack.", ) diff --git a/pydantic_schemaorg/Event.py b/pydantic_schemaorg/Event.py index e6948271..68dfae70 100644 --- a/pydantic_schemaorg/Event.py +++ b/pydantic_schemaorg/Event.py @@ -19,7 +19,7 @@ class Event(Thing): See: https://schema.org/Event Model depth: 2 """ - type_: str = Field(default="Event", alias='@type') + type_: str = Field(default="Event", alias='@type', constant=True) subEvent: Optional[Union[List[Union['Event', str]], 'Event', str]] = Field( default=None, description="An Event that is part of this event. For example, a conference event includes many presentations," @@ -29,7 +29,7 @@ class Event(Thing): default=None, description="The subject matter of the content.", ) - offers: Optional[Union[List[Union['Offer', 'Demand', str]], 'Offer', 'Demand', str]] = Field( + offers: Optional[Union[List[Union['Demand', 'Offer', str]], 'Demand', 'Offer', str]] = Field( default=None, description="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]]" @@ -46,7 +46,7 @@ class Event(Thing): default=None, description="The typical expected age range, e.g. '7-9', '11-'.", ) - funder: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + funder: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="A person or organization that supports (sponsors) something through some kind of financial" "contribution.", @@ -59,11 +59,11 @@ class Event(Thing): default=None, description="The overall rating, based on a collection of reviews or ratings, of the item.", ) - attendees: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + attendees: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="A person attending the event.", ) - composer: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + composer: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="The person or organization who wrote a composition, or who is the composer of a work performed" "at some event.", @@ -72,7 +72,7 @@ class Event(Thing): default=None, description="The duration of the item (movie, audio recording, event, etc.) in [ISO 8601 date format](http://en.wikipedia.org/wiki/ISO_8601).", ) - translator: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + translator: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="Organization or person who adapts a creative work to different languages, regional" "differences and technical requirements of a target market, or that translates during" @@ -109,7 +109,7 @@ class Event(Thing): default=None, description="The number of attendee places for an event that remain unallocated.", ) - attendee: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + attendee: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="A person or organization attending the event.", ) @@ -121,12 +121,12 @@ class Event(Thing): default=None, description="An intended audience, i.e. a group for whom something was created.", ) - sponsor: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + sponsor: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="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.", ) - organizer: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + organizer: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="An organizer of an Event.", ) @@ -158,7 +158,7 @@ class Event(Thing): default=None, description="The CreativeWork that captured all or part of this Event.", ) - performers: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + performers: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="The main performer or performers of the event—for example, a presenter, musician," "or actor.", @@ -178,7 +178,7 @@ class Event(Thing): "codes from the [IETF BCP 47 standard](http://tools.ietf.org/html/bcp47). See also" "[[availableLanguage]].", ) - performer: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + performer: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="A performer at the event—for example, a presenter, musician, musical group" "or actor.", @@ -204,7 +204,7 @@ class Event(Thing): "any ambiguity for clients using the data. The property might have repeated values to" "specify different schedules, e.g. for different months or seasons.", ) - contributor: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + contributor: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="A secondary contributor to the CreativeWork or Event.", ) @@ -216,13 +216,13 @@ class Event(Thing): if TYPE_CHECKING: from pydantic_schemaorg.Thing import Thing - from pydantic_schemaorg.Offer import Offer from pydantic_schemaorg.Demand import Demand + from pydantic_schemaorg.Offer import Offer from pydantic_schemaorg.DateTime import DateTime from pydantic_schemaorg.Time import Time from pydantic_schemaorg.Text import Text - from pydantic_schemaorg.Person import Person from pydantic_schemaorg.Organization import Organization + from pydantic_schemaorg.Person import Person from pydantic_schemaorg.Integer import Integer from pydantic_schemaorg.AggregateRating import AggregateRating from pydantic_schemaorg.Duration import Duration diff --git a/pydantic_schemaorg/EventAttendanceModeEnumeration.py b/pydantic_schemaorg/EventAttendanceModeEnumeration.py index d5cbdfde..88712664 100644 --- a/pydantic_schemaorg/EventAttendanceModeEnumeration.py +++ b/pydantic_schemaorg/EventAttendanceModeEnumeration.py @@ -12,5 +12,5 @@ class EventAttendanceModeEnumeration(Enumeration): See: https://schema.org/EventAttendanceModeEnumeration Model depth: 4 """ - type_: str = Field(default="EventAttendanceModeEnumeration", alias='@type') + type_: str = Field(default="EventAttendanceModeEnumeration", alias='@type', constant=True) diff --git a/pydantic_schemaorg/EventCancelled.py b/pydantic_schemaorg/EventCancelled.py index c7f2d6fc..c06000d9 100644 --- a/pydantic_schemaorg/EventCancelled.py +++ b/pydantic_schemaorg/EventCancelled.py @@ -13,5 +13,5 @@ class EventCancelled(EventStatusType): See: https://schema.org/EventCancelled Model depth: 6 """ - type_: str = Field(default="EventCancelled", alias='@type') + type_: str = Field(default="EventCancelled", alias='@type', constant=True) diff --git a/pydantic_schemaorg/EventMovedOnline.py b/pydantic_schemaorg/EventMovedOnline.py index 650051e8..8d01dd04 100644 --- a/pydantic_schemaorg/EventMovedOnline.py +++ b/pydantic_schemaorg/EventMovedOnline.py @@ -12,5 +12,5 @@ class EventMovedOnline(EventStatusType): See: https://schema.org/EventMovedOnline Model depth: 6 """ - type_: str = Field(default="EventMovedOnline", alias='@type') + type_: str = Field(default="EventMovedOnline", alias='@type', constant=True) diff --git a/pydantic_schemaorg/EventPostponed.py b/pydantic_schemaorg/EventPostponed.py index c657424b..65d1b15f 100644 --- a/pydantic_schemaorg/EventPostponed.py +++ b/pydantic_schemaorg/EventPostponed.py @@ -12,5 +12,5 @@ class EventPostponed(EventStatusType): See: https://schema.org/EventPostponed Model depth: 6 """ - type_: str = Field(default="EventPostponed", alias='@type') + type_: str = Field(default="EventPostponed", alias='@type', constant=True) diff --git a/pydantic_schemaorg/EventRescheduled.py b/pydantic_schemaorg/EventRescheduled.py index 7389987b..9542b29a 100644 --- a/pydantic_schemaorg/EventRescheduled.py +++ b/pydantic_schemaorg/EventRescheduled.py @@ -13,5 +13,5 @@ class EventRescheduled(EventStatusType): See: https://schema.org/EventRescheduled Model depth: 6 """ - type_: str = Field(default="EventRescheduled", alias='@type') + type_: str = Field(default="EventRescheduled", alias='@type', constant=True) diff --git a/pydantic_schemaorg/EventReservation.py b/pydantic_schemaorg/EventReservation.py index 0b8ce549..e9350ad3 100644 --- a/pydantic_schemaorg/EventReservation.py +++ b/pydantic_schemaorg/EventReservation.py @@ -13,5 +13,5 @@ class EventReservation(Reservation): See: https://schema.org/EventReservation Model depth: 4 """ - type_: str = Field(default="EventReservation", alias='@type') + type_: str = Field(default="EventReservation", alias='@type', constant=True) diff --git a/pydantic_schemaorg/EventScheduled.py b/pydantic_schemaorg/EventScheduled.py index b8549dde..c23f671b 100644 --- a/pydantic_schemaorg/EventScheduled.py +++ b/pydantic_schemaorg/EventScheduled.py @@ -12,5 +12,5 @@ class EventScheduled(EventStatusType): See: https://schema.org/EventScheduled Model depth: 6 """ - type_: str = Field(default="EventScheduled", alias='@type') + type_: str = Field(default="EventScheduled", alias='@type', constant=True) diff --git a/pydantic_schemaorg/EventSeries.py b/pydantic_schemaorg/EventSeries.py index f2329721..fe077e5a 100644 --- a/pydantic_schemaorg/EventSeries.py +++ b/pydantic_schemaorg/EventSeries.py @@ -24,5 +24,5 @@ class EventSeries(Series, Event): See: https://schema.org/EventSeries Model depth: 3 """ - type_: str = Field(default="EventSeries", alias='@type') + type_: str = Field(default="EventSeries", alias='@type', constant=True) diff --git a/pydantic_schemaorg/EventStatusType.py b/pydantic_schemaorg/EventStatusType.py index 5c7a4c0b..4ce28c37 100644 --- a/pydantic_schemaorg/EventStatusType.py +++ b/pydantic_schemaorg/EventStatusType.py @@ -12,5 +12,5 @@ class EventStatusType(StatusEnumeration): See: https://schema.org/EventStatusType Model depth: 5 """ - type_: str = Field(default="EventStatusType", alias='@type') + type_: str = Field(default="EventStatusType", alias='@type', constant=True) diff --git a/pydantic_schemaorg/EventVenue.py b/pydantic_schemaorg/EventVenue.py index dec67c6f..ce758db9 100644 --- a/pydantic_schemaorg/EventVenue.py +++ b/pydantic_schemaorg/EventVenue.py @@ -11,5 +11,5 @@ class EventVenue(CivicStructure): See: https://schema.org/EventVenue Model depth: 4 """ - type_: str = Field(default="EventVenue", alias='@type') + type_: str = Field(default="EventVenue", alias='@type', constant=True) diff --git a/pydantic_schemaorg/EvidenceLevelA.py b/pydantic_schemaorg/EvidenceLevelA.py index 7ab3138b..245578ae 100644 --- a/pydantic_schemaorg/EvidenceLevelA.py +++ b/pydantic_schemaorg/EvidenceLevelA.py @@ -11,5 +11,5 @@ class EvidenceLevelA(MedicalEvidenceLevel): See: https://schema.org/EvidenceLevelA Model depth: 6 """ - type_: str = Field(default="EvidenceLevelA", alias='@type') + type_: str = Field(default="EvidenceLevelA", alias='@type', constant=True) diff --git a/pydantic_schemaorg/EvidenceLevelB.py b/pydantic_schemaorg/EvidenceLevelB.py index 1a6c82ed..a05ea724 100644 --- a/pydantic_schemaorg/EvidenceLevelB.py +++ b/pydantic_schemaorg/EvidenceLevelB.py @@ -11,5 +11,5 @@ class EvidenceLevelB(MedicalEvidenceLevel): See: https://schema.org/EvidenceLevelB Model depth: 6 """ - type_: str = Field(default="EvidenceLevelB", alias='@type') + type_: str = Field(default="EvidenceLevelB", alias='@type', constant=True) diff --git a/pydantic_schemaorg/EvidenceLevelC.py b/pydantic_schemaorg/EvidenceLevelC.py index db0d0678..d35302f0 100644 --- a/pydantic_schemaorg/EvidenceLevelC.py +++ b/pydantic_schemaorg/EvidenceLevelC.py @@ -11,5 +11,5 @@ class EvidenceLevelC(MedicalEvidenceLevel): See: https://schema.org/EvidenceLevelC Model depth: 6 """ - type_: str = Field(default="EvidenceLevelC", alias='@type') + type_: str = Field(default="EvidenceLevelC", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ExchangeRateSpecification.py b/pydantic_schemaorg/ExchangeRateSpecification.py index 2b352877..8577bdb3 100644 --- a/pydantic_schemaorg/ExchangeRateSpecification.py +++ b/pydantic_schemaorg/ExchangeRateSpecification.py @@ -15,8 +15,8 @@ class ExchangeRateSpecification(StructuredValue): See: https://schema.org/ExchangeRateSpecification Model depth: 4 """ - type_: str = Field(default="ExchangeRateSpecification", alias='@type') - exchangeRateSpread: Optional[Union[List[Union[Decimal, 'Number', 'MonetaryAmount', str]], Decimal, 'Number', 'MonetaryAmount', str]] = Field( + type_: str = Field(default="ExchangeRateSpecification", alias='@type', constant=True) + exchangeRateSpread: Optional[Union[List[Union[int, float, 'Number', 'MonetaryAmount', str]], int, float, 'Number', 'MonetaryAmount', str]] = Field( default=None, description="The difference between the price at which a broker or other intermediary buys and sells" "foreign currency.", diff --git a/pydantic_schemaorg/ExchangeRefund.py b/pydantic_schemaorg/ExchangeRefund.py index d5937e6d..b3c2a6e8 100644 --- a/pydantic_schemaorg/ExchangeRefund.py +++ b/pydantic_schemaorg/ExchangeRefund.py @@ -11,5 +11,5 @@ class ExchangeRefund(RefundTypeEnumeration): See: https://schema.org/ExchangeRefund Model depth: 5 """ - type_: str = Field(default="ExchangeRefund", alias='@type') + type_: str = Field(default="ExchangeRefund", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ExerciseAction.py b/pydantic_schemaorg/ExerciseAction.py index 226413ff..e328f186 100644 --- a/pydantic_schemaorg/ExerciseAction.py +++ b/pydantic_schemaorg/ExerciseAction.py @@ -15,7 +15,7 @@ class ExerciseAction(PlayAction): See: https://schema.org/ExerciseAction Model depth: 4 """ - type_: str = Field(default="ExerciseAction", alias='@type') + type_: str = Field(default="ExerciseAction", alias='@type', constant=True) exercisePlan: Optional[Union[List[Union['ExercisePlan', str]], 'ExercisePlan', str]] = Field( default=None, description="A sub property of instrument. The exercise plan used on this action.", diff --git a/pydantic_schemaorg/ExerciseGym.py b/pydantic_schemaorg/ExerciseGym.py index cbbb2f7a..982992aa 100644 --- a/pydantic_schemaorg/ExerciseGym.py +++ b/pydantic_schemaorg/ExerciseGym.py @@ -11,5 +11,5 @@ class ExerciseGym(SportsActivityLocation): See: https://schema.org/ExerciseGym Model depth: 5 """ - type_: str = Field(default="ExerciseGym", alias='@type') + type_: str = Field(default="ExerciseGym", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ExercisePlan.py b/pydantic_schemaorg/ExercisePlan.py index b4f68d5a..deeaeba6 100644 --- a/pydantic_schemaorg/ExercisePlan.py +++ b/pydantic_schemaorg/ExercisePlan.py @@ -17,8 +17,8 @@ class ExercisePlan(PhysicalActivity, CreativeWork): See: https://schema.org/ExercisePlan Model depth: 3 """ - type_: str = Field(default="ExercisePlan", alias='@type') - repetitions: Optional[Union[List[Union[Decimal, 'Number', 'QuantitativeValue', str]], Decimal, 'Number', 'QuantitativeValue', str]] = Field( + type_: str = Field(default="ExercisePlan", alias='@type', constant=True) + repetitions: Optional[Union[List[Union[int, float, 'Number', 'QuantitativeValue', str]], int, float, 'Number', 'QuantitativeValue', str]] = Field( default=None, description="Number of times one should repeat the activity.", ) @@ -47,7 +47,7 @@ class ExercisePlan(PhysicalActivity, CreativeWork): description="Type(s) of exercise or activity, such as strength training, flexibility training," "aerobics, cardiac rehabilitation, etc.", ) - activityDuration: Optional[Union[List[Union['QuantitativeValue', 'Duration', str]], 'QuantitativeValue', 'Duration', str]] = Field( + activityDuration: Optional[Union[List[Union['Duration', 'QuantitativeValue', str]], 'Duration', 'QuantitativeValue', str]] = Field( default=None, description="Length of time to engage in the activity.", ) diff --git a/pydantic_schemaorg/ExhibitionEvent.py b/pydantic_schemaorg/ExhibitionEvent.py index ac6abfda..ca9758cd 100644 --- a/pydantic_schemaorg/ExhibitionEvent.py +++ b/pydantic_schemaorg/ExhibitionEvent.py @@ -11,5 +11,5 @@ class ExhibitionEvent(Event): See: https://schema.org/ExhibitionEvent Model depth: 3 """ - type_: str = Field(default="ExhibitionEvent", alias='@type') + type_: str = Field(default="ExhibitionEvent", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Eye.py b/pydantic_schemaorg/Eye.py index 7dfa3e33..e60e8558 100644 --- a/pydantic_schemaorg/Eye.py +++ b/pydantic_schemaorg/Eye.py @@ -11,5 +11,5 @@ class Eye(PhysicalExam): See: https://schema.org/Eye Model depth: 5 """ - type_: str = Field(default="Eye", alias='@type') + type_: str = Field(default="Eye", alias='@type', constant=True) diff --git a/pydantic_schemaorg/FAQPage.py b/pydantic_schemaorg/FAQPage.py index 412f547d..82055786 100644 --- a/pydantic_schemaorg/FAQPage.py +++ b/pydantic_schemaorg/FAQPage.py @@ -12,5 +12,5 @@ class FAQPage(WebPage): See: https://schema.org/FAQPage Model depth: 4 """ - type_: str = Field(default="FAQPage", alias='@type') + type_: str = Field(default="FAQPage", alias='@type', constant=True) diff --git a/pydantic_schemaorg/FDAcategoryA.py b/pydantic_schemaorg/FDAcategoryA.py index 252782c0..e7b60390 100644 --- a/pydantic_schemaorg/FDAcategoryA.py +++ b/pydantic_schemaorg/FDAcategoryA.py @@ -13,5 +13,5 @@ class FDAcategoryA(DrugPregnancyCategory): See: https://schema.org/FDAcategoryA Model depth: 6 """ - type_: str = Field(default="FDAcategoryA", alias='@type') + type_: str = Field(default="FDAcategoryA", alias='@type', constant=True) diff --git a/pydantic_schemaorg/FDAcategoryB.py b/pydantic_schemaorg/FDAcategoryB.py index 0bfba08c..b98a56ea 100644 --- a/pydantic_schemaorg/FDAcategoryB.py +++ b/pydantic_schemaorg/FDAcategoryB.py @@ -13,5 +13,5 @@ class FDAcategoryB(DrugPregnancyCategory): See: https://schema.org/FDAcategoryB Model depth: 6 """ - type_: str = Field(default="FDAcategoryB", alias='@type') + type_: str = Field(default="FDAcategoryB", alias='@type', constant=True) diff --git a/pydantic_schemaorg/FDAcategoryC.py b/pydantic_schemaorg/FDAcategoryC.py index f122aa5a..70f2c3b3 100644 --- a/pydantic_schemaorg/FDAcategoryC.py +++ b/pydantic_schemaorg/FDAcategoryC.py @@ -14,5 +14,5 @@ class FDAcategoryC(DrugPregnancyCategory): See: https://schema.org/FDAcategoryC Model depth: 6 """ - type_: str = Field(default="FDAcategoryC", alias='@type') + type_: str = Field(default="FDAcategoryC", alias='@type', constant=True) diff --git a/pydantic_schemaorg/FDAcategoryD.py b/pydantic_schemaorg/FDAcategoryD.py index 31cfba15..68dea7d2 100644 --- a/pydantic_schemaorg/FDAcategoryD.py +++ b/pydantic_schemaorg/FDAcategoryD.py @@ -14,5 +14,5 @@ class FDAcategoryD(DrugPregnancyCategory): See: https://schema.org/FDAcategoryD Model depth: 6 """ - type_: str = Field(default="FDAcategoryD", alias='@type') + type_: str = Field(default="FDAcategoryD", alias='@type', constant=True) diff --git a/pydantic_schemaorg/FDAcategoryX.py b/pydantic_schemaorg/FDAcategoryX.py index fbdfe7ca..4cf43122 100644 --- a/pydantic_schemaorg/FDAcategoryX.py +++ b/pydantic_schemaorg/FDAcategoryX.py @@ -14,5 +14,5 @@ class FDAcategoryX(DrugPregnancyCategory): See: https://schema.org/FDAcategoryX Model depth: 6 """ - type_: str = Field(default="FDAcategoryX", alias='@type') + type_: str = Field(default="FDAcategoryX", alias='@type', constant=True) diff --git a/pydantic_schemaorg/FDAnotEvaluated.py b/pydantic_schemaorg/FDAnotEvaluated.py index b8761b2d..a9572e6b 100644 --- a/pydantic_schemaorg/FDAnotEvaluated.py +++ b/pydantic_schemaorg/FDAnotEvaluated.py @@ -12,5 +12,5 @@ class FDAnotEvaluated(DrugPregnancyCategory): See: https://schema.org/FDAnotEvaluated Model depth: 6 """ - type_: str = Field(default="FDAnotEvaluated", alias='@type') + type_: str = Field(default="FDAnotEvaluated", alias='@type', constant=True) diff --git a/pydantic_schemaorg/FMRadioChannel.py b/pydantic_schemaorg/FMRadioChannel.py index 8441ffc2..5f1d475d 100644 --- a/pydantic_schemaorg/FMRadioChannel.py +++ b/pydantic_schemaorg/FMRadioChannel.py @@ -11,5 +11,5 @@ class FMRadioChannel(RadioChannel): See: https://schema.org/FMRadioChannel Model depth: 5 """ - type_: str = Field(default="FMRadioChannel", alias='@type') + type_: str = Field(default="FMRadioChannel", alias='@type', constant=True) diff --git a/pydantic_schemaorg/FailedActionStatus.py b/pydantic_schemaorg/FailedActionStatus.py index 14b26276..f27ce20b 100644 --- a/pydantic_schemaorg/FailedActionStatus.py +++ b/pydantic_schemaorg/FailedActionStatus.py @@ -12,5 +12,5 @@ class FailedActionStatus(ActionStatusType): See: https://schema.org/FailedActionStatus Model depth: 6 """ - type_: str = Field(default="FailedActionStatus", alias='@type') + type_: str = Field(default="FailedActionStatus", alias='@type', constant=True) diff --git a/pydantic_schemaorg/False_.py b/pydantic_schemaorg/False_.py index 626e5b63..4531eedc 100644 --- a/pydantic_schemaorg/False_.py +++ b/pydantic_schemaorg/False_.py @@ -11,5 +11,5 @@ class False_(Boolean): See: https://schema.org/False Model depth: 6 """ - type_: str = Field(default="False", alias='@type') + type_: str = Field(default="False", alias='@type', constant=True) diff --git a/pydantic_schemaorg/FastFoodRestaurant.py b/pydantic_schemaorg/FastFoodRestaurant.py index b7191a88..91796aaf 100644 --- a/pydantic_schemaorg/FastFoodRestaurant.py +++ b/pydantic_schemaorg/FastFoodRestaurant.py @@ -11,5 +11,5 @@ class FastFoodRestaurant(FoodEstablishment): See: https://schema.org/FastFoodRestaurant Model depth: 5 """ - type_: str = Field(default="FastFoodRestaurant", alias='@type') + type_: str = Field(default="FastFoodRestaurant", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Female.py b/pydantic_schemaorg/Female.py index 0ef25d99..80389b18 100644 --- a/pydantic_schemaorg/Female.py +++ b/pydantic_schemaorg/Female.py @@ -11,5 +11,5 @@ class Female(GenderType): See: https://schema.org/Female Model depth: 5 """ - type_: str = Field(default="Female", alias='@type') + type_: str = Field(default="Female", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Festival.py b/pydantic_schemaorg/Festival.py index 1cc7e384..4953b077 100644 --- a/pydantic_schemaorg/Festival.py +++ b/pydantic_schemaorg/Festival.py @@ -11,5 +11,5 @@ class Festival(Event): See: https://schema.org/Festival Model depth: 3 """ - type_: str = Field(default="Festival", alias='@type') + type_: str = Field(default="Festival", alias='@type', constant=True) diff --git a/pydantic_schemaorg/FilmAction.py b/pydantic_schemaorg/FilmAction.py index 1335c799..f1e0aea5 100644 --- a/pydantic_schemaorg/FilmAction.py +++ b/pydantic_schemaorg/FilmAction.py @@ -11,5 +11,5 @@ class FilmAction(CreateAction): See: https://schema.org/FilmAction Model depth: 4 """ - type_: str = Field(default="FilmAction", alias='@type') + type_: str = Field(default="FilmAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/FinancialProduct.py b/pydantic_schemaorg/FinancialProduct.py index 8482bb7a..d9533d9d 100644 --- a/pydantic_schemaorg/FinancialProduct.py +++ b/pydantic_schemaorg/FinancialProduct.py @@ -18,8 +18,8 @@ class FinancialProduct(Service): See: https://schema.org/FinancialProduct Model depth: 4 """ - type_: str = Field(default="FinancialProduct", alias='@type') - annualPercentageRate: Optional[Union[List[Union[Decimal, 'Number', 'QuantitativeValue', str]], Decimal, 'Number', 'QuantitativeValue', str]] = Field( + type_: str = Field(default="FinancialProduct", alias='@type', constant=True) + annualPercentageRate: Optional[Union[List[Union[int, float, 'Number', 'QuantitativeValue', str]], int, float, 'Number', 'QuantitativeValue', str]] = Field( default=None, description="The annual rate that is charged for borrowing (or made by investing), expressed as a single" "percentage number that represents the actual yearly cost of funds over the term of a loan." @@ -30,7 +30,7 @@ class FinancialProduct(Service): description="Description of fees, commissions, and other terms applied either to a class of financial" "product, or by a financial service organization.", ) - interestRate: Optional[Union[List[Union[Decimal, 'Number', 'QuantitativeValue', str]], Decimal, 'Number', 'QuantitativeValue', str]] = Field( + interestRate: Optional[Union[List[Union[int, float, 'Number', 'QuantitativeValue', str]], int, float, 'Number', 'QuantitativeValue', str]] = Field( default=None, description="The interest rate, charged or paid, applicable to the financial product. Note: This" "is different from the calculated annualPercentageRate.", diff --git a/pydantic_schemaorg/FinancialService.py b/pydantic_schemaorg/FinancialService.py index 14b76310..36344de5 100644 --- a/pydantic_schemaorg/FinancialService.py +++ b/pydantic_schemaorg/FinancialService.py @@ -15,7 +15,7 @@ class FinancialService(LocalBusiness): See: https://schema.org/FinancialService Model depth: 4 """ - type_: str = Field(default="FinancialService", alias='@type') + type_: str = Field(default="FinancialService", alias='@type', constant=True) feesAndCommissionsSpecification: Optional[Union[List[Union[AnyUrl, 'URL', str, 'Text']], AnyUrl, 'URL', str, 'Text']] = Field( default=None, description="Description of fees, commissions, and other terms applied either to a class of financial" diff --git a/pydantic_schemaorg/FindAction.py b/pydantic_schemaorg/FindAction.py index e49deda4..8ea4bbb7 100644 --- a/pydantic_schemaorg/FindAction.py +++ b/pydantic_schemaorg/FindAction.py @@ -12,5 +12,5 @@ class FindAction(Action): See: https://schema.org/FindAction Model depth: 3 """ - type_: str = Field(default="FindAction", alias='@type') + type_: str = Field(default="FindAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/FireStation.py b/pydantic_schemaorg/FireStation.py index 5ecc7b65..fc1f2424 100644 --- a/pydantic_schemaorg/FireStation.py +++ b/pydantic_schemaorg/FireStation.py @@ -12,5 +12,5 @@ class FireStation(EmergencyService, CivicStructure): See: https://schema.org/FireStation Model depth: 4 """ - type_: str = Field(default="FireStation", alias='@type') + type_: str = Field(default="FireStation", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Flexibility.py b/pydantic_schemaorg/Flexibility.py index 11a9cc41..4ddb7910 100644 --- a/pydantic_schemaorg/Flexibility.py +++ b/pydantic_schemaorg/Flexibility.py @@ -11,5 +11,5 @@ class Flexibility(PhysicalActivityCategory): See: https://schema.org/Flexibility Model depth: 5 """ - type_: str = Field(default="Flexibility", alias='@type') + type_: str = Field(default="Flexibility", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Flight.py b/pydantic_schemaorg/Flight.py index 42bd352d..9a6c3dda 100644 --- a/pydantic_schemaorg/Flight.py +++ b/pydantic_schemaorg/Flight.py @@ -15,7 +15,7 @@ class Flight(Trip): See: https://schema.org/Flight Model depth: 4 """ - type_: str = Field(default="Flight", alias='@type') + type_: str = Field(default="Flight", alias='@type', constant=True) boardingPolicy: Optional[Union[List[Union['BoardingPolicyType', str]], 'BoardingPolicyType', str]] = Field( default=None, description="The type of boarding policy used by the airline (e.g. zone-based or group-based).", @@ -33,7 +33,7 @@ class Flight(Trip): description="The unique identifier for a flight including the airline IATA code. For example, if describing" "United flight 110, where the IATA code for United is 'UA', the flightNumber is 'UA110'.", ) - seller: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + seller: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="An entity which offers (sells / leases / lends / loans) the services / goods. A seller may" "also be a provider.", @@ -84,8 +84,8 @@ class Flight(Trip): from pydantic_schemaorg.BoardingPolicyType import BoardingPolicyType from pydantic_schemaorg.Text import Text from pydantic_schemaorg.Distance import Distance - from pydantic_schemaorg.Person import Person from pydantic_schemaorg.Organization import Organization + from pydantic_schemaorg.Person import Person from pydantic_schemaorg.Duration import Duration from pydantic_schemaorg.Vehicle import Vehicle from pydantic_schemaorg.DateTime import DateTime diff --git a/pydantic_schemaorg/FlightReservation.py b/pydantic_schemaorg/FlightReservation.py index 42688457..9ac28dad 100644 --- a/pydantic_schemaorg/FlightReservation.py +++ b/pydantic_schemaorg/FlightReservation.py @@ -16,7 +16,7 @@ class FlightReservation(Reservation): See: https://schema.org/FlightReservation Model depth: 4 """ - type_: str = Field(default="FlightReservation", alias='@type') + type_: str = Field(default="FlightReservation", alias='@type', constant=True) passengerSequenceNumber: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="The passenger's sequence number as assigned by the airline.", diff --git a/pydantic_schemaorg/Float.py b/pydantic_schemaorg/Float.py index 8852a6da..89d5cec9 100644 --- a/pydantic_schemaorg/Float.py +++ b/pydantic_schemaorg/Float.py @@ -11,5 +11,5 @@ class Float(Number): See: https://schema.org/Float Model depth: 6 """ - type_: str = Field(default="Float", alias='@type') + type_: str = Field(default="Float", alias='@type', constant=True) diff --git a/pydantic_schemaorg/FloorPlan.py b/pydantic_schemaorg/FloorPlan.py index 9ac02c1a..5e3a7b00 100644 --- a/pydantic_schemaorg/FloorPlan.py +++ b/pydantic_schemaorg/FloorPlan.py @@ -22,8 +22,8 @@ class FloorPlan(Intangible): See: https://schema.org/FloorPlan Model depth: 3 """ - type_: str = Field(default="FloorPlan", alias='@type') - numberOfBedrooms: Optional[Union[List[Union[Decimal, 'Number', 'QuantitativeValue', str]], Decimal, 'Number', 'QuantitativeValue', str]] = Field( + type_: str = Field(default="FloorPlan", alias='@type', constant=True) + numberOfBedrooms: Optional[Union[List[Union[int, float, 'Number', 'QuantitativeValue', str]], int, float, 'Number', 'QuantitativeValue', str]] = Field( default=None, description="The total integer number of bedrooms in a some [[Accommodation]], [[ApartmentComplex]]" "or [[FloorPlan]].", @@ -35,7 +35,7 @@ class FloorPlan(Intangible): "\"The simple sum of the number of bathrooms. For example for a property with two Full Bathrooms" "and one Half Bathroom, the Bathrooms Total Integer will be 3.\". See also [[numberOfRooms]].", ) - numberOfPartialBathrooms: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( + numberOfPartialBathrooms: Optional[Union[List[Union[int, float, 'Number', str]], int, float, 'Number', str]] = Field( default=None, description="Number of partial bathrooms - The total number of half and ¼ bathrooms in an [[Accommodation]]." "This corresponds to the [BathroomsPartial field in RESO](https://ddwiki.reso.org/display/DDW17/BathroomsPartial+Field).", @@ -50,7 +50,7 @@ class FloorPlan(Intangible): "property does not make a statement about whether the feature is included in an offer for" "the main accommodation or available at extra costs.", ) - numberOfRooms: Optional[Union[List[Union[Decimal, 'Number', 'QuantitativeValue', str]], Decimal, 'Number', 'QuantitativeValue', str]] = Field( + numberOfRooms: Optional[Union[List[Union[int, float, 'Number', 'QuantitativeValue', str]], int, float, 'Number', 'QuantitativeValue', str]] = Field( default=None, description="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" @@ -62,7 +62,7 @@ class FloorPlan(Intangible): "an [[ApartmentComplex]], or the number of accommodation units for a specific [[FloorPlan]]" "(within its specific [[ApartmentComplex]]). See also [[numberOfAvailableAccommodationUnits]].", ) - petsAllowed: Optional[Union[List[Union[StrictBool, 'Boolean', str, 'Text']], StrictBool, 'Boolean', str, 'Text']] = Field( + petsAllowed: Optional[Union[List[Union[str, 'Text', StrictBool, 'Boolean']], str, 'Text', StrictBool, 'Boolean']] = Field( default=None, description="Indicates whether pets are allowed to enter the accommodation or lodging business." "More detailed information can be put in a text value.", @@ -76,7 +76,7 @@ class FloorPlan(Intangible): default=None, description="Indicates some accommodation that this floor plan describes.", ) - numberOfFullBathrooms: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( + numberOfFullBathrooms: Optional[Union[List[Union[int, float, 'Number', str]], int, float, 'Number', str]] = Field( default=None, description="Number of full bathrooms - The total number of full and ¾ bathrooms in an [[Accommodation]]." "This corresponds to the [BathroomsFull field in RESO](https://ddwiki.reso.org/display/DDW17/BathroomsFull+Field).", @@ -96,6 +96,6 @@ class FloorPlan(Intangible): from pydantic_schemaorg.URL import URL from pydantic_schemaorg.ImageObject import ImageObject from pydantic_schemaorg.LocationFeatureSpecification import LocationFeatureSpecification - from pydantic_schemaorg.Boolean import Boolean from pydantic_schemaorg.Text import Text + from pydantic_schemaorg.Boolean import Boolean from pydantic_schemaorg.Accommodation import Accommodation diff --git a/pydantic_schemaorg/Florist.py b/pydantic_schemaorg/Florist.py index ac03152a..32ab45f7 100644 --- a/pydantic_schemaorg/Florist.py +++ b/pydantic_schemaorg/Florist.py @@ -11,5 +11,5 @@ class Florist(Store): See: https://schema.org/Florist Model depth: 5 """ - type_: str = Field(default="Florist", alias='@type') + type_: str = Field(default="Florist", alias='@type', constant=True) diff --git a/pydantic_schemaorg/FollowAction.py b/pydantic_schemaorg/FollowAction.py index 8e2c8f66..100f79d3 100644 --- a/pydantic_schemaorg/FollowAction.py +++ b/pydantic_schemaorg/FollowAction.py @@ -24,13 +24,13 @@ class FollowAction(InteractAction): See: https://schema.org/FollowAction Model depth: 4 """ - type_: str = Field(default="FollowAction", alias='@type') - followee: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + type_: str = Field(default="FollowAction", alias='@type', constant=True) + followee: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="A sub property of object. The person or organization being followed.", ) if TYPE_CHECKING: - from pydantic_schemaorg.Person import Person from pydantic_schemaorg.Organization import Organization + from pydantic_schemaorg.Person import Person diff --git a/pydantic_schemaorg/FoodEstablishment.py b/pydantic_schemaorg/FoodEstablishment.py index b2580195..cbb32b39 100644 --- a/pydantic_schemaorg/FoodEstablishment.py +++ b/pydantic_schemaorg/FoodEstablishment.py @@ -15,7 +15,7 @@ class FoodEstablishment(LocalBusiness): See: https://schema.org/FoodEstablishment Model depth: 4 """ - type_: str = Field(default="FoodEstablishment", alias='@type') + type_: str = Field(default="FoodEstablishment", alias='@type', constant=True) menu: Optional[Union[List[Union[AnyUrl, 'URL', str, 'Text', 'Menu']], AnyUrl, 'URL', str, 'Text', 'Menu']] = Field( default=None, description="Either the actual menu as a structured representation, as text, or a URL of the menu.", @@ -26,7 +26,7 @@ class FoodEstablishment(LocalBusiness): "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).", ) - acceptsReservations: Optional[Union[List[Union[AnyUrl, 'URL', StrictBool, 'Boolean', str, 'Text']], AnyUrl, 'URL', StrictBool, 'Boolean', str, 'Text']] = Field( + acceptsReservations: Optional[Union[List[Union[AnyUrl, 'URL', str, 'Text', StrictBool, 'Boolean']], AnyUrl, 'URL', str, 'Text', StrictBool, 'Boolean']] = Field( default=None, description="Indicates whether a FoodEstablishment accepts reservations. Values can be Boolean," "an URL at which reservations can be made or (for backwards compatibility) the strings" diff --git a/pydantic_schemaorg/FoodEstablishmentReservation.py b/pydantic_schemaorg/FoodEstablishmentReservation.py index 7743d0e9..7ff74d06 100644 --- a/pydantic_schemaorg/FoodEstablishmentReservation.py +++ b/pydantic_schemaorg/FoodEstablishmentReservation.py @@ -18,7 +18,7 @@ class FoodEstablishmentReservation(Reservation): See: https://schema.org/FoodEstablishmentReservation Model depth: 4 """ - type_: str = Field(default="FoodEstablishmentReservation", alias='@type') + type_: str = Field(default="FoodEstablishmentReservation", alias='@type', constant=True) partySize: Optional[Union[List[Union[int, 'Integer', 'QuantitativeValue', str]], int, 'Integer', 'QuantitativeValue', str]] = Field( default=None, description="Number of people the reservation should accommodate.", diff --git a/pydantic_schemaorg/FoodEvent.py b/pydantic_schemaorg/FoodEvent.py index 15f3f711..74723278 100644 --- a/pydantic_schemaorg/FoodEvent.py +++ b/pydantic_schemaorg/FoodEvent.py @@ -11,5 +11,5 @@ class FoodEvent(Event): See: https://schema.org/FoodEvent Model depth: 3 """ - type_: str = Field(default="FoodEvent", alias='@type') + type_: str = Field(default="FoodEvent", alias='@type', constant=True) diff --git a/pydantic_schemaorg/FoodService.py b/pydantic_schemaorg/FoodService.py index 4cd18976..dc6a546a 100644 --- a/pydantic_schemaorg/FoodService.py +++ b/pydantic_schemaorg/FoodService.py @@ -11,5 +11,5 @@ class FoodService(Service): See: https://schema.org/FoodService Model depth: 4 """ - type_: str = Field(default="FoodService", alias='@type') + type_: str = Field(default="FoodService", alias='@type', constant=True) diff --git a/pydantic_schemaorg/FourWheelDriveConfiguration.py b/pydantic_schemaorg/FourWheelDriveConfiguration.py index bd09aa75..38ff7b2b 100644 --- a/pydantic_schemaorg/FourWheelDriveConfiguration.py +++ b/pydantic_schemaorg/FourWheelDriveConfiguration.py @@ -12,5 +12,5 @@ class FourWheelDriveConfiguration(DriveWheelConfigurationValue): See: https://schema.org/FourWheelDriveConfiguration Model depth: 6 """ - type_: str = Field(default="FourWheelDriveConfiguration", alias='@type') + type_: str = Field(default="FourWheelDriveConfiguration", alias='@type', constant=True) diff --git a/pydantic_schemaorg/FreeReturn.py b/pydantic_schemaorg/FreeReturn.py index 61f49fa4..581f27cb 100644 --- a/pydantic_schemaorg/FreeReturn.py +++ b/pydantic_schemaorg/FreeReturn.py @@ -11,5 +11,5 @@ class FreeReturn(ReturnFeesEnumeration): See: https://schema.org/FreeReturn Model depth: 5 """ - type_: str = Field(default="FreeReturn", alias='@type') + type_: str = Field(default="FreeReturn", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Friday.py b/pydantic_schemaorg/Friday.py index 4d5bc390..6319c6c7 100644 --- a/pydantic_schemaorg/Friday.py +++ b/pydantic_schemaorg/Friday.py @@ -11,5 +11,5 @@ class Friday(DayOfWeek): See: https://schema.org/Friday Model depth: 5 """ - type_: str = Field(default="Friday", alias='@type') + type_: str = Field(default="Friday", alias='@type', constant=True) diff --git a/pydantic_schemaorg/FrontWheelDriveConfiguration.py b/pydantic_schemaorg/FrontWheelDriveConfiguration.py index a3e214b8..f5cc73a8 100644 --- a/pydantic_schemaorg/FrontWheelDriveConfiguration.py +++ b/pydantic_schemaorg/FrontWheelDriveConfiguration.py @@ -11,5 +11,5 @@ class FrontWheelDriveConfiguration(DriveWheelConfigurationValue): See: https://schema.org/FrontWheelDriveConfiguration Model depth: 6 """ - type_: str = Field(default="FrontWheelDriveConfiguration", alias='@type') + type_: str = Field(default="FrontWheelDriveConfiguration", alias='@type', constant=True) diff --git a/pydantic_schemaorg/FullRefund.py b/pydantic_schemaorg/FullRefund.py index c26e5324..98230f7e 100644 --- a/pydantic_schemaorg/FullRefund.py +++ b/pydantic_schemaorg/FullRefund.py @@ -11,5 +11,5 @@ class FullRefund(RefundTypeEnumeration): See: https://schema.org/FullRefund Model depth: 5 """ - type_: str = Field(default="FullRefund", alias='@type') + type_: str = Field(default="FullRefund", alias='@type', constant=True) diff --git a/pydantic_schemaorg/FundingAgency.py b/pydantic_schemaorg/FundingAgency.py index 6203897f..478b4fdd 100644 --- a/pydantic_schemaorg/FundingAgency.py +++ b/pydantic_schemaorg/FundingAgency.py @@ -15,5 +15,5 @@ class FundingAgency(Project): See: https://schema.org/FundingAgency Model depth: 4 """ - type_: str = Field(default="FundingAgency", alias='@type') + type_: str = Field(default="FundingAgency", alias='@type', constant=True) diff --git a/pydantic_schemaorg/FundingScheme.py b/pydantic_schemaorg/FundingScheme.py index c3b18da8..f647d4d7 100644 --- a/pydantic_schemaorg/FundingScheme.py +++ b/pydantic_schemaorg/FundingScheme.py @@ -18,5 +18,5 @@ class FundingScheme(Organization): See: https://schema.org/FundingScheme Model depth: 3 """ - type_: str = Field(default="FundingScheme", alias='@type') + type_: str = Field(default="FundingScheme", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Fungus.py b/pydantic_schemaorg/Fungus.py index 273c6f4b..3d44bcf2 100644 --- a/pydantic_schemaorg/Fungus.py +++ b/pydantic_schemaorg/Fungus.py @@ -11,5 +11,5 @@ class Fungus(InfectiousAgentClass): See: https://schema.org/Fungus Model depth: 6 """ - type_: str = Field(default="Fungus", alias='@type') + type_: str = Field(default="Fungus", alias='@type', constant=True) diff --git a/pydantic_schemaorg/FurnitureStore.py b/pydantic_schemaorg/FurnitureStore.py index e1c34d98..9c487504 100644 --- a/pydantic_schemaorg/FurnitureStore.py +++ b/pydantic_schemaorg/FurnitureStore.py @@ -11,5 +11,5 @@ class FurnitureStore(Store): See: https://schema.org/FurnitureStore Model depth: 5 """ - type_: str = Field(default="FurnitureStore", alias='@type') + type_: str = Field(default="FurnitureStore", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Game.py b/pydantic_schemaorg/Game.py index 51a2ee00..bed60ab6 100644 --- a/pydantic_schemaorg/Game.py +++ b/pydantic_schemaorg/Game.py @@ -17,7 +17,7 @@ class Game(CreativeWork): See: https://schema.org/Game Model depth: 3 """ - type_: str = Field(default="Game", alias='@type') + type_: str = Field(default="Game", alias='@type', constant=True) gameLocation: Optional[Union[List[Union[AnyUrl, 'URL', 'PostalAddress', 'Place', str]], AnyUrl, 'URL', 'PostalAddress', 'Place', str]] = Field( default=None, description="Real or fictional location of the game (or part of game).", diff --git a/pydantic_schemaorg/GamePlayMode.py b/pydantic_schemaorg/GamePlayMode.py index da817197..ac92b58a 100644 --- a/pydantic_schemaorg/GamePlayMode.py +++ b/pydantic_schemaorg/GamePlayMode.py @@ -11,5 +11,5 @@ class GamePlayMode(Enumeration): See: https://schema.org/GamePlayMode Model depth: 4 """ - type_: str = Field(default="GamePlayMode", alias='@type') + type_: str = Field(default="GamePlayMode", alias='@type', constant=True) diff --git a/pydantic_schemaorg/GameServer.py b/pydantic_schemaorg/GameServer.py index 30d8d752..28002b7e 100644 --- a/pydantic_schemaorg/GameServer.py +++ b/pydantic_schemaorg/GameServer.py @@ -14,7 +14,7 @@ class GameServer(Intangible): See: https://schema.org/GameServer Model depth: 3 """ - type_: str = Field(default="GameServer", alias='@type') + type_: str = Field(default="GameServer", alias='@type', constant=True) serverStatus: Optional[Union[List[Union['GameServerStatus', str]], 'GameServerStatus', str]] = Field( default=None, description="Status of a game server.", diff --git a/pydantic_schemaorg/GameServerStatus.py b/pydantic_schemaorg/GameServerStatus.py index 95f5dd4f..37141b41 100644 --- a/pydantic_schemaorg/GameServerStatus.py +++ b/pydantic_schemaorg/GameServerStatus.py @@ -11,5 +11,5 @@ class GameServerStatus(StatusEnumeration): See: https://schema.org/GameServerStatus Model depth: 5 """ - type_: str = Field(default="GameServerStatus", alias='@type') + type_: str = Field(default="GameServerStatus", alias='@type', constant=True) diff --git a/pydantic_schemaorg/GardenStore.py b/pydantic_schemaorg/GardenStore.py index 8b1f45a9..c4180ddf 100644 --- a/pydantic_schemaorg/GardenStore.py +++ b/pydantic_schemaorg/GardenStore.py @@ -11,5 +11,5 @@ class GardenStore(Store): See: https://schema.org/GardenStore Model depth: 5 """ - type_: str = Field(default="GardenStore", alias='@type') + type_: str = Field(default="GardenStore", alias='@type', constant=True) diff --git a/pydantic_schemaorg/GasStation.py b/pydantic_schemaorg/GasStation.py index 08f3b9e7..d446ac60 100644 --- a/pydantic_schemaorg/GasStation.py +++ b/pydantic_schemaorg/GasStation.py @@ -11,5 +11,5 @@ class GasStation(AutomotiveBusiness): See: https://schema.org/GasStation Model depth: 5 """ - type_: str = Field(default="GasStation", alias='@type') + type_: str = Field(default="GasStation", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Gastroenterologic.py b/pydantic_schemaorg/Gastroenterologic.py index d8e10242..f0bb904d 100644 --- a/pydantic_schemaorg/Gastroenterologic.py +++ b/pydantic_schemaorg/Gastroenterologic.py @@ -12,5 +12,5 @@ class Gastroenterologic(MedicalSpecialty): See: https://schema.org/Gastroenterologic Model depth: 6 """ - type_: str = Field(default="Gastroenterologic", alias='@type') + type_: str = Field(default="Gastroenterologic", alias='@type', constant=True) diff --git a/pydantic_schemaorg/GatedResidenceCommunity.py b/pydantic_schemaorg/GatedResidenceCommunity.py index e7577984..62cf45b3 100644 --- a/pydantic_schemaorg/GatedResidenceCommunity.py +++ b/pydantic_schemaorg/GatedResidenceCommunity.py @@ -11,5 +11,5 @@ class GatedResidenceCommunity(Residence): See: https://schema.org/GatedResidenceCommunity Model depth: 4 """ - type_: str = Field(default="GatedResidenceCommunity", alias='@type') + type_: str = Field(default="GatedResidenceCommunity", alias='@type', constant=True) diff --git a/pydantic_schemaorg/GenderType.py b/pydantic_schemaorg/GenderType.py index 6dad4e3e..7f99a4ee 100644 --- a/pydantic_schemaorg/GenderType.py +++ b/pydantic_schemaorg/GenderType.py @@ -11,5 +11,5 @@ class GenderType(Enumeration): See: https://schema.org/GenderType Model depth: 4 """ - type_: str = Field(default="GenderType", alias='@type') + type_: str = Field(default="GenderType", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Gene.py b/pydantic_schemaorg/Gene.py index c5edd3fd..c59a7fdb 100644 --- a/pydantic_schemaorg/Gene.py +++ b/pydantic_schemaorg/Gene.py @@ -17,7 +17,7 @@ class Gene(BioChemEntity): See: https://schema.org/Gene Model depth: 3 """ - type_: str = Field(default="Gene", alias='@type') + type_: str = Field(default="Gene", alias='@type', constant=True) hasBioPolymerSequence: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="A symbolic representation of a BioChemEnity. For example, a nucleotide sequence of" @@ -31,7 +31,7 @@ class Gene(BioChemEntity): default=None, description="Another gene which is a variation of this one.", ) - expressedIn: Optional[Union[List[Union['AnatomicalStructure', 'BioChemEntity', 'AnatomicalSystem', 'DefinedTerm', str]], 'AnatomicalStructure', 'BioChemEntity', 'AnatomicalSystem', 'DefinedTerm', str]] = Field( + expressedIn: Optional[Union[List[Union['BioChemEntity', 'DefinedTerm', 'AnatomicalSystem', 'AnatomicalStructure', str]], 'BioChemEntity', 'DefinedTerm', 'AnatomicalSystem', 'AnatomicalStructure', str]] = Field( default=None, description="Tissue, organ, biological sample, etc in which activity of this gene has been observed" "experimentally. For example brain, digestive system.", @@ -41,6 +41,6 @@ class Gene(BioChemEntity): if TYPE_CHECKING: from pydantic_schemaorg.Text import Text from pydantic_schemaorg.BioChemEntity import BioChemEntity - from pydantic_schemaorg.AnatomicalStructure import AnatomicalStructure - from pydantic_schemaorg.AnatomicalSystem import AnatomicalSystem from pydantic_schemaorg.DefinedTerm import DefinedTerm + from pydantic_schemaorg.AnatomicalSystem import AnatomicalSystem + from pydantic_schemaorg.AnatomicalStructure import AnatomicalStructure diff --git a/pydantic_schemaorg/GeneralContractor.py b/pydantic_schemaorg/GeneralContractor.py index e51b28fd..53a2f1d5 100644 --- a/pydantic_schemaorg/GeneralContractor.py +++ b/pydantic_schemaorg/GeneralContractor.py @@ -11,5 +11,5 @@ class GeneralContractor(HomeAndConstructionBusiness): See: https://schema.org/GeneralContractor Model depth: 5 """ - type_: str = Field(default="GeneralContractor", alias='@type') + type_: str = Field(default="GeneralContractor", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Genetic.py b/pydantic_schemaorg/Genetic.py index dc23819d..8b72cf01 100644 --- a/pydantic_schemaorg/Genetic.py +++ b/pydantic_schemaorg/Genetic.py @@ -12,5 +12,5 @@ class Genetic(MedicalSpecialty): See: https://schema.org/Genetic Model depth: 6 """ - type_: str = Field(default="Genetic", alias='@type') + type_: str = Field(default="Genetic", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Genitourinary.py b/pydantic_schemaorg/Genitourinary.py index 1d9156a8..990fff0a 100644 --- a/pydantic_schemaorg/Genitourinary.py +++ b/pydantic_schemaorg/Genitourinary.py @@ -11,5 +11,5 @@ class Genitourinary(PhysicalExam): See: https://schema.org/Genitourinary Model depth: 5 """ - type_: str = Field(default="Genitourinary", alias='@type') + type_: str = Field(default="Genitourinary", alias='@type', constant=True) diff --git a/pydantic_schemaorg/GeoCircle.py b/pydantic_schemaorg/GeoCircle.py index 60a3f57c..e4ea248f 100644 --- a/pydantic_schemaorg/GeoCircle.py +++ b/pydantic_schemaorg/GeoCircle.py @@ -18,12 +18,12 @@ class GeoCircle(GeoShape): See: https://schema.org/GeoCircle Model depth: 5 """ - type_: str = Field(default="GeoCircle", alias='@type') + type_: str = Field(default="GeoCircle", alias='@type', constant=True) geoMidpoint: Optional[Union[List[Union['GeoCoordinates', str]], 'GeoCoordinates', str]] = Field( default=None, description="Indicates the GeoCoordinates at the centre of a GeoShape e.g. GeoCircle.", ) - geoRadius: Optional[Union[List[Union[Decimal, 'Number', str, 'Text', 'Distance']], Decimal, 'Number', str, 'Text', 'Distance']] = Field( + geoRadius: Optional[Union[List[Union[int, float, 'Number', str, 'Text', 'Distance']], int, float, 'Number', str, 'Text', 'Distance']] = Field( default=None, description="Indicates the approximate radius of a GeoCircle (metres unless indicated otherwise" "via Distance notation).", diff --git a/pydantic_schemaorg/GeoCoordinates.py b/pydantic_schemaorg/GeoCoordinates.py index a186d3c5..f0bebd3c 100644 --- a/pydantic_schemaorg/GeoCoordinates.py +++ b/pydantic_schemaorg/GeoCoordinates.py @@ -15,20 +15,20 @@ class GeoCoordinates(StructuredValue): See: https://schema.org/GeoCoordinates Model depth: 4 """ - type_: str = Field(default="GeoCoordinates", alias='@type') + type_: str = Field(default="GeoCoordinates", alias='@type', constant=True) postalCode: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="The postal code. For example, 94043.", ) - longitude: Optional[Union[List[Union[Decimal, 'Number', str, 'Text']], Decimal, 'Number', str, 'Text']] = Field( + longitude: Optional[Union[List[Union[int, float, 'Number', str, 'Text']], int, float, 'Number', str, 'Text']] = Field( default=None, description="The longitude of a location. For example ```-122.08585``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).", ) - latitude: Optional[Union[List[Union[Decimal, 'Number', str, 'Text']], Decimal, 'Number', str, 'Text']] = Field( + latitude: Optional[Union[List[Union[int, float, 'Number', str, 'Text']], int, float, 'Number', str, 'Text']] = Field( default=None, description="The latitude of a location. For example ```37.42242``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).", ) - elevation: Optional[Union[List[Union[Decimal, 'Number', str, 'Text']], Decimal, 'Number', str, 'Text']] = Field( + elevation: Optional[Union[List[Union[int, float, 'Number', str, 'Text']], int, float, 'Number', str, 'Text']] = Field( default=None, description="The elevation of a location ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System))." "Values may be of the form 'NUMBER UNIT_OF_MEASUREMENT' (e.g., '1,000 m', '3,200 ft')" diff --git a/pydantic_schemaorg/GeoShape.py b/pydantic_schemaorg/GeoShape.py index 7e4150eb..8c2f7be7 100644 --- a/pydantic_schemaorg/GeoShape.py +++ b/pydantic_schemaorg/GeoShape.py @@ -18,7 +18,7 @@ class GeoShape(StructuredValue): See: https://schema.org/GeoShape Model depth: 4 """ - type_: str = Field(default="GeoShape", alias='@type') + type_: str = Field(default="GeoShape", alias='@type', constant=True) polygon: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="A polygon is the area enclosed by a point-to-point path for which the starting and ending" @@ -39,7 +39,7 @@ class GeoShape(StructuredValue): description="A circle is the circular region of a specified radius centered at a specified latitude" "and longitude. A circle is expressed as a pair followed by a radius in meters.", ) - elevation: Optional[Union[List[Union[Decimal, 'Number', str, 'Text']], Decimal, 'Number', str, 'Text']] = Field( + elevation: Optional[Union[List[Union[int, float, 'Number', str, 'Text']], int, float, 'Number', str, 'Text']] = Field( default=None, description="The elevation of a location ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System))." "Values may be of the form 'NUMBER UNIT_OF_MEASUREMENT' (e.g., '1,000 m', '3,200 ft')" diff --git a/pydantic_schemaorg/GeospatialGeometry.py b/pydantic_schemaorg/GeospatialGeometry.py index 74c428f6..ea398145 100644 --- a/pydantic_schemaorg/GeospatialGeometry.py +++ b/pydantic_schemaorg/GeospatialGeometry.py @@ -15,8 +15,8 @@ class GeospatialGeometry(Intangible): See: https://schema.org/GeospatialGeometry Model depth: 3 """ - type_: str = Field(default="GeospatialGeometry", alias='@type') - geoEquals: Optional[Union[List[Union['GeospatialGeometry', 'Place', str]], 'GeospatialGeometry', 'Place', str]] = Field( + type_: str = Field(default="GeospatialGeometry", alias='@type', constant=True) + geoEquals: Optional[Union[List[Union['Place', 'GeospatialGeometry', str]], 'Place', 'GeospatialGeometry', str]] = Field( default=None, description="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)." @@ -24,55 +24,55 @@ class GeospatialGeometry(Intangible): "the interior or boundary of one geometry intersects the exterior of the other\" (a symmetric" "relationship)", ) - geoDisjoint: Optional[Union[List[Union['GeospatialGeometry', 'Place', str]], 'GeospatialGeometry', 'Place', str]] = Field( + geoDisjoint: Optional[Union[List[Union['Place', 'GeospatialGeometry', str]], 'Place', 'GeospatialGeometry', str]] = Field( default=None, description="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))", ) - geoTouches: Optional[Union[List[Union['GeospatialGeometry', 'Place', str]], 'GeospatialGeometry', 'Place', str]] = Field( + geoTouches: Optional[Union[List[Union['Place', 'GeospatialGeometry', str]], 'Place', 'GeospatialGeometry', str]] = Field( default=None, description="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) )", ) - geoCovers: Optional[Union[List[Union['GeospatialGeometry', 'Place', str]], 'GeospatialGeometry', 'Place', str]] = Field( + geoCovers: Optional[Union[List[Union['Place', 'GeospatialGeometry', str]], 'Place', 'GeospatialGeometry', str]] = Field( default=None, description="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).", ) - geoContains: Optional[Union[List[Union['GeospatialGeometry', 'Place', str]], 'GeospatialGeometry', 'Place', str]] = Field( + geoContains: Optional[Union[List[Union['Place', 'GeospatialGeometry', str]], 'Place', 'GeospatialGeometry', str]] = Field( default=None, description="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).", ) - geoCoveredBy: Optional[Union[List[Union['GeospatialGeometry', 'Place', str]], 'GeospatialGeometry', 'Place', str]] = Field( + geoCoveredBy: Optional[Union[List[Union['Place', 'GeospatialGeometry', str]], 'Place', 'GeospatialGeometry', str]] = Field( default=None, description="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).", ) - geoCrosses: Optional[Union[List[Union['GeospatialGeometry', 'Place', str]], 'GeospatialGeometry', 'Place', str]] = Field( + geoCrosses: Optional[Union[List[Union['Place', 'GeospatialGeometry', str]], 'Place', 'GeospatialGeometry', str]] = Field( default=None, description="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).", ) - geoWithin: Optional[Union[List[Union['GeospatialGeometry', 'Place', str]], 'GeospatialGeometry', 'Place', str]] = Field( + geoWithin: Optional[Union[List[Union['Place', 'GeospatialGeometry', str]], 'Place', 'GeospatialGeometry', str]] = Field( default=None, description="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).", ) - geoIntersects: Optional[Union[List[Union['GeospatialGeometry', 'Place', str]], 'GeospatialGeometry', 'Place', str]] = Field( + geoIntersects: Optional[Union[List[Union['Place', 'GeospatialGeometry', str]], 'Place', 'GeospatialGeometry', str]] = Field( default=None, description="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).", ) - geoOverlaps: Optional[Union[List[Union['GeospatialGeometry', 'Place', str]], 'GeospatialGeometry', 'Place', str]] = Field( + geoOverlaps: Optional[Union[List[Union['Place', 'GeospatialGeometry', str]], 'Place', 'GeospatialGeometry', str]] = Field( default=None, description="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" diff --git a/pydantic_schemaorg/Geriatric.py b/pydantic_schemaorg/Geriatric.py index 200daef6..fc760fbb 100644 --- a/pydantic_schemaorg/Geriatric.py +++ b/pydantic_schemaorg/Geriatric.py @@ -13,5 +13,5 @@ class Geriatric(MedicalSpecialty, MedicalBusiness): See: https://schema.org/Geriatric Model depth: 5 """ - type_: str = Field(default="Geriatric", alias='@type') + type_: str = Field(default="Geriatric", alias='@type', constant=True) diff --git a/pydantic_schemaorg/GettingAccessHealthAspect.py b/pydantic_schemaorg/GettingAccessHealthAspect.py index 53a60d17..855620eb 100644 --- a/pydantic_schemaorg/GettingAccessHealthAspect.py +++ b/pydantic_schemaorg/GettingAccessHealthAspect.py @@ -12,5 +12,5 @@ class GettingAccessHealthAspect(HealthAspectEnumeration): See: https://schema.org/GettingAccessHealthAspect Model depth: 5 """ - type_: str = Field(default="GettingAccessHealthAspect", alias='@type') + type_: str = Field(default="GettingAccessHealthAspect", alias='@type', constant=True) diff --git a/pydantic_schemaorg/GiveAction.py b/pydantic_schemaorg/GiveAction.py index 94b6026b..6594b3b1 100644 --- a/pydantic_schemaorg/GiveAction.py +++ b/pydantic_schemaorg/GiveAction.py @@ -17,15 +17,15 @@ class GiveAction(TransferAction): See: https://schema.org/GiveAction Model depth: 4 """ - type_: str = Field(default="GiveAction", alias='@type') - recipient: Optional[Union[List[Union['Person', 'Audience', 'Organization', 'ContactPoint', str]], 'Person', 'Audience', 'Organization', 'ContactPoint', str]] = Field( + type_: str = Field(default="GiveAction", alias='@type', constant=True) + recipient: Optional[Union[List[Union['ContactPoint', 'Audience', 'Organization', 'Person', str]], 'ContactPoint', 'Audience', 'Organization', 'Person', str]] = Field( default=None, description="A sub property of participant. The participant who is at the receiving end of the action.", ) if TYPE_CHECKING: - from pydantic_schemaorg.Person import Person + from pydantic_schemaorg.ContactPoint import ContactPoint from pydantic_schemaorg.Audience import Audience from pydantic_schemaorg.Organization import Organization - from pydantic_schemaorg.ContactPoint import ContactPoint + from pydantic_schemaorg.Person import Person diff --git a/pydantic_schemaorg/GlutenFreeDiet.py b/pydantic_schemaorg/GlutenFreeDiet.py index e1008348..86d5332e 100644 --- a/pydantic_schemaorg/GlutenFreeDiet.py +++ b/pydantic_schemaorg/GlutenFreeDiet.py @@ -11,5 +11,5 @@ class GlutenFreeDiet(RestrictedDiet): See: https://schema.org/GlutenFreeDiet Model depth: 5 """ - type_: str = Field(default="GlutenFreeDiet", alias='@type') + type_: str = Field(default="GlutenFreeDiet", alias='@type', constant=True) diff --git a/pydantic_schemaorg/GolfCourse.py b/pydantic_schemaorg/GolfCourse.py index 8260afea..42fa6f58 100644 --- a/pydantic_schemaorg/GolfCourse.py +++ b/pydantic_schemaorg/GolfCourse.py @@ -11,5 +11,5 @@ class GolfCourse(SportsActivityLocation): See: https://schema.org/GolfCourse Model depth: 5 """ - type_: str = Field(default="GolfCourse", alias='@type') + type_: str = Field(default="GolfCourse", alias='@type', constant=True) diff --git a/pydantic_schemaorg/GovernmentBenefitsType.py b/pydantic_schemaorg/GovernmentBenefitsType.py index 5fa11ce8..8336152d 100644 --- a/pydantic_schemaorg/GovernmentBenefitsType.py +++ b/pydantic_schemaorg/GovernmentBenefitsType.py @@ -12,5 +12,5 @@ class GovernmentBenefitsType(Enumeration): See: https://schema.org/GovernmentBenefitsType Model depth: 4 """ - type_: str = Field(default="GovernmentBenefitsType", alias='@type') + type_: str = Field(default="GovernmentBenefitsType", alias='@type', constant=True) diff --git a/pydantic_schemaorg/GovernmentBuilding.py b/pydantic_schemaorg/GovernmentBuilding.py index 3d9f043b..3bbdad57 100644 --- a/pydantic_schemaorg/GovernmentBuilding.py +++ b/pydantic_schemaorg/GovernmentBuilding.py @@ -11,5 +11,5 @@ class GovernmentBuilding(CivicStructure): See: https://schema.org/GovernmentBuilding Model depth: 4 """ - type_: str = Field(default="GovernmentBuilding", alias='@type') + type_: str = Field(default="GovernmentBuilding", alias='@type', constant=True) diff --git a/pydantic_schemaorg/GovernmentOffice.py b/pydantic_schemaorg/GovernmentOffice.py index 14549cb6..08831879 100644 --- a/pydantic_schemaorg/GovernmentOffice.py +++ b/pydantic_schemaorg/GovernmentOffice.py @@ -11,5 +11,5 @@ class GovernmentOffice(LocalBusiness): See: https://schema.org/GovernmentOffice Model depth: 4 """ - type_: str = Field(default="GovernmentOffice", alias='@type') + type_: str = Field(default="GovernmentOffice", alias='@type', constant=True) diff --git a/pydantic_schemaorg/GovernmentOrganization.py b/pydantic_schemaorg/GovernmentOrganization.py index 45483326..a1a280ac 100644 --- a/pydantic_schemaorg/GovernmentOrganization.py +++ b/pydantic_schemaorg/GovernmentOrganization.py @@ -11,5 +11,5 @@ class GovernmentOrganization(Organization): See: https://schema.org/GovernmentOrganization Model depth: 3 """ - type_: str = Field(default="GovernmentOrganization", alias='@type') + type_: str = Field(default="GovernmentOrganization", alias='@type', constant=True) diff --git a/pydantic_schemaorg/GovernmentPermit.py b/pydantic_schemaorg/GovernmentPermit.py index a3fb6036..6a726583 100644 --- a/pydantic_schemaorg/GovernmentPermit.py +++ b/pydantic_schemaorg/GovernmentPermit.py @@ -11,5 +11,5 @@ class GovernmentPermit(Permit): See: https://schema.org/GovernmentPermit Model depth: 4 """ - type_: str = Field(default="GovernmentPermit", alias='@type') + type_: str = Field(default="GovernmentPermit", alias='@type', constant=True) diff --git a/pydantic_schemaorg/GovernmentService.py b/pydantic_schemaorg/GovernmentService.py index 67bb4e7f..36694af1 100644 --- a/pydantic_schemaorg/GovernmentService.py +++ b/pydantic_schemaorg/GovernmentService.py @@ -15,7 +15,7 @@ class GovernmentService(Service): See: https://schema.org/GovernmentService Model depth: 4 """ - type_: str = Field(default="GovernmentService", alias='@type') + type_: str = Field(default="GovernmentService", alias='@type', constant=True) jurisdiction: Optional[Union[List[Union[str, 'Text', 'AdministrativeArea']], str, 'Text', 'AdministrativeArea']] = Field( default=None, description="Indicates a legal jurisdiction, e.g. of some legislation, or where some government" diff --git a/pydantic_schemaorg/Grant.py b/pydantic_schemaorg/Grant.py index 469b92b7..a6964c82 100644 --- a/pydantic_schemaorg/Grant.py +++ b/pydantic_schemaorg/Grant.py @@ -23,12 +23,12 @@ class Grant(Intangible): See: https://schema.org/Grant Model depth: 3 """ - type_: str = Field(default="Grant", alias='@type') + type_: str = Field(default="Grant", alias='@type', constant=True) fundedItem: Optional[Union[List[Union['Thing', str]], 'Thing', str]] = Field( default=None, description="Indicates an item funded or sponsored through a [[Grant]].", ) - sponsor: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + sponsor: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="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.", @@ -37,5 +37,5 @@ class Grant(Intangible): if TYPE_CHECKING: from pydantic_schemaorg.Thing import Thing - from pydantic_schemaorg.Person import Person from pydantic_schemaorg.Organization import Organization + from pydantic_schemaorg.Person import Person diff --git a/pydantic_schemaorg/GraphicNovel.py b/pydantic_schemaorg/GraphicNovel.py index 580e2a03..7986239c 100644 --- a/pydantic_schemaorg/GraphicNovel.py +++ b/pydantic_schemaorg/GraphicNovel.py @@ -11,5 +11,5 @@ class GraphicNovel(BookFormatType): See: https://schema.org/GraphicNovel Model depth: 5 """ - type_: str = Field(default="GraphicNovel", alias='@type') + type_: str = Field(default="GraphicNovel", alias='@type', constant=True) diff --git a/pydantic_schemaorg/GroceryStore.py b/pydantic_schemaorg/GroceryStore.py index b37a332d..30e58832 100644 --- a/pydantic_schemaorg/GroceryStore.py +++ b/pydantic_schemaorg/GroceryStore.py @@ -11,5 +11,5 @@ class GroceryStore(Store): See: https://schema.org/GroceryStore Model depth: 5 """ - type_: str = Field(default="GroceryStore", alias='@type') + type_: str = Field(default="GroceryStore", alias='@type', constant=True) diff --git a/pydantic_schemaorg/GroupBoardingPolicy.py b/pydantic_schemaorg/GroupBoardingPolicy.py index aa9efddf..5d3fbf8c 100644 --- a/pydantic_schemaorg/GroupBoardingPolicy.py +++ b/pydantic_schemaorg/GroupBoardingPolicy.py @@ -11,5 +11,5 @@ class GroupBoardingPolicy(BoardingPolicyType): See: https://schema.org/GroupBoardingPolicy Model depth: 5 """ - type_: str = Field(default="GroupBoardingPolicy", alias='@type') + type_: str = Field(default="GroupBoardingPolicy", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Guide.py b/pydantic_schemaorg/Guide.py index 9cc3897e..00cc20e4 100644 --- a/pydantic_schemaorg/Guide.py +++ b/pydantic_schemaorg/Guide.py @@ -18,7 +18,7 @@ class Guide(CreativeWork): See: https://schema.org/Guide Model depth: 3 """ - type_: str = Field(default="Guide", alias='@type') + type_: str = Field(default="Guide", alias='@type', constant=True) reviewAspect: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="This Review or Rating is relevant to this part or facet of the itemReviewed.", diff --git a/pydantic_schemaorg/Gynecologic.py b/pydantic_schemaorg/Gynecologic.py index abba0d32..71c937a9 100644 --- a/pydantic_schemaorg/Gynecologic.py +++ b/pydantic_schemaorg/Gynecologic.py @@ -13,5 +13,5 @@ class Gynecologic(MedicalSpecialty, MedicalBusiness): See: https://schema.org/Gynecologic Model depth: 5 """ - type_: str = Field(default="Gynecologic", alias='@type') + type_: str = Field(default="Gynecologic", alias='@type', constant=True) diff --git a/pydantic_schemaorg/HVACBusiness.py b/pydantic_schemaorg/HVACBusiness.py index f74c9148..c4aacfb2 100644 --- a/pydantic_schemaorg/HVACBusiness.py +++ b/pydantic_schemaorg/HVACBusiness.py @@ -11,5 +11,5 @@ class HVACBusiness(HomeAndConstructionBusiness): See: https://schema.org/HVACBusiness Model depth: 5 """ - type_: str = Field(default="HVACBusiness", alias='@type') + type_: str = Field(default="HVACBusiness", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Hackathon.py b/pydantic_schemaorg/Hackathon.py index 9dc894ad..eab9e0f4 100644 --- a/pydantic_schemaorg/Hackathon.py +++ b/pydantic_schemaorg/Hackathon.py @@ -11,5 +11,5 @@ class Hackathon(Event): See: https://schema.org/Hackathon Model depth: 3 """ - type_: str = Field(default="Hackathon", alias='@type') + type_: str = Field(default="Hackathon", alias='@type', constant=True) diff --git a/pydantic_schemaorg/HairSalon.py b/pydantic_schemaorg/HairSalon.py index 7bfdfee2..c0aa4a73 100644 --- a/pydantic_schemaorg/HairSalon.py +++ b/pydantic_schemaorg/HairSalon.py @@ -11,5 +11,5 @@ class HairSalon(HealthAndBeautyBusiness): See: https://schema.org/HairSalon Model depth: 5 """ - type_: str = Field(default="HairSalon", alias='@type') + type_: str = Field(default="HairSalon", alias='@type', constant=True) diff --git a/pydantic_schemaorg/HalalDiet.py b/pydantic_schemaorg/HalalDiet.py index c27dacb7..3c191cf2 100644 --- a/pydantic_schemaorg/HalalDiet.py +++ b/pydantic_schemaorg/HalalDiet.py @@ -11,5 +11,5 @@ class HalalDiet(RestrictedDiet): See: https://schema.org/HalalDiet Model depth: 5 """ - type_: str = Field(default="HalalDiet", alias='@type') + type_: str = Field(default="HalalDiet", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Hardcover.py b/pydantic_schemaorg/Hardcover.py index 266ec32e..d5a33cd9 100644 --- a/pydantic_schemaorg/Hardcover.py +++ b/pydantic_schemaorg/Hardcover.py @@ -11,5 +11,5 @@ class Hardcover(BookFormatType): See: https://schema.org/Hardcover Model depth: 5 """ - type_: str = Field(default="Hardcover", alias='@type') + type_: str = Field(default="Hardcover", alias='@type', constant=True) diff --git a/pydantic_schemaorg/HardwareStore.py b/pydantic_schemaorg/HardwareStore.py index ecfcca38..29455a27 100644 --- a/pydantic_schemaorg/HardwareStore.py +++ b/pydantic_schemaorg/HardwareStore.py @@ -11,5 +11,5 @@ class HardwareStore(Store): See: https://schema.org/HardwareStore Model depth: 5 """ - type_: str = Field(default="HardwareStore", alias='@type') + type_: str = Field(default="HardwareStore", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Head.py b/pydantic_schemaorg/Head.py index 936031cd..4667a1a4 100644 --- a/pydantic_schemaorg/Head.py +++ b/pydantic_schemaorg/Head.py @@ -11,5 +11,5 @@ class Head(PhysicalExam): See: https://schema.org/Head Model depth: 5 """ - type_: str = Field(default="Head", alias='@type') + type_: str = Field(default="Head", alias='@type', constant=True) diff --git a/pydantic_schemaorg/HealthAndBeautyBusiness.py b/pydantic_schemaorg/HealthAndBeautyBusiness.py index a4ea3567..66b6c03a 100644 --- a/pydantic_schemaorg/HealthAndBeautyBusiness.py +++ b/pydantic_schemaorg/HealthAndBeautyBusiness.py @@ -11,5 +11,5 @@ class HealthAndBeautyBusiness(LocalBusiness): See: https://schema.org/HealthAndBeautyBusiness Model depth: 4 """ - type_: str = Field(default="HealthAndBeautyBusiness", alias='@type') + type_: str = Field(default="HealthAndBeautyBusiness", alias='@type', constant=True) diff --git a/pydantic_schemaorg/HealthAspectEnumeration.py b/pydantic_schemaorg/HealthAspectEnumeration.py index 8073b88d..77189ed5 100644 --- a/pydantic_schemaorg/HealthAspectEnumeration.py +++ b/pydantic_schemaorg/HealthAspectEnumeration.py @@ -12,5 +12,5 @@ class HealthAspectEnumeration(Enumeration): See: https://schema.org/HealthAspectEnumeration Model depth: 4 """ - type_: str = Field(default="HealthAspectEnumeration", alias='@type') + type_: str = Field(default="HealthAspectEnumeration", alias='@type', constant=True) diff --git a/pydantic_schemaorg/HealthCare.py b/pydantic_schemaorg/HealthCare.py index c75d1d24..62734360 100644 --- a/pydantic_schemaorg/HealthCare.py +++ b/pydantic_schemaorg/HealthCare.py @@ -11,5 +11,5 @@ class HealthCare(GovernmentBenefitsType): See: https://schema.org/HealthCare Model depth: 5 """ - type_: str = Field(default="HealthCare", alias='@type') + type_: str = Field(default="HealthCare", alias='@type', constant=True) diff --git a/pydantic_schemaorg/HealthClub.py b/pydantic_schemaorg/HealthClub.py index c611ea3e..1e5ceb8b 100644 --- a/pydantic_schemaorg/HealthClub.py +++ b/pydantic_schemaorg/HealthClub.py @@ -12,5 +12,5 @@ class HealthClub(SportsActivityLocation, HealthAndBeautyBusiness): See: https://schema.org/HealthClub Model depth: 5 """ - type_: str = Field(default="HealthClub", alias='@type') + type_: str = Field(default="HealthClub", alias='@type', constant=True) diff --git a/pydantic_schemaorg/HealthInsurancePlan.py b/pydantic_schemaorg/HealthInsurancePlan.py index 23e57e6a..ebf8345d 100644 --- a/pydantic_schemaorg/HealthInsurancePlan.py +++ b/pydantic_schemaorg/HealthInsurancePlan.py @@ -15,7 +15,7 @@ class HealthInsurancePlan(Intangible): See: https://schema.org/HealthInsurancePlan Model depth: 3 """ - type_: str = Field(default="HealthInsurancePlan", alias='@type') + type_: str = Field(default="HealthInsurancePlan", alias='@type', constant=True) contactPoint: Optional[Union[List[Union['ContactPoint', str]], 'ContactPoint', str]] = Field( default=None, description="A contact point for a person or organization.", diff --git a/pydantic_schemaorg/HealthPlanCostSharingSpecification.py b/pydantic_schemaorg/HealthPlanCostSharingSpecification.py index 28ca5ced..55cd73fc 100644 --- a/pydantic_schemaorg/HealthPlanCostSharingSpecification.py +++ b/pydantic_schemaorg/HealthPlanCostSharingSpecification.py @@ -15,7 +15,7 @@ class HealthPlanCostSharingSpecification(Intangible): See: https://schema.org/HealthPlanCostSharingSpecification Model depth: 3 """ - type_: str = Field(default="HealthPlanCostSharingSpecification", alias='@type') + type_: str = Field(default="HealthPlanCostSharingSpecification", alias='@type', constant=True) healthPlanCoinsuranceOption: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="Whether the coinsurance applies before or after deductible, etc. TODO: Is this a closed" @@ -33,7 +33,7 @@ class HealthPlanCostSharingSpecification(Intangible): default=None, description="Whether the copay is before or after deductible, etc. TODO: Is this a closed set?", ) - healthPlanCoinsuranceRate: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( + healthPlanCoinsuranceRate: Optional[Union[List[Union[int, float, 'Number', str]], int, float, 'Number', str]] = Field( default=None, description="Whether The rate of coinsurance expressed as a number between 0.0 and 1.0.", ) diff --git a/pydantic_schemaorg/HealthPlanFormulary.py b/pydantic_schemaorg/HealthPlanFormulary.py index f8de2aab..517bcb35 100644 --- a/pydantic_schemaorg/HealthPlanFormulary.py +++ b/pydantic_schemaorg/HealthPlanFormulary.py @@ -16,7 +16,7 @@ class HealthPlanFormulary(Intangible): See: https://schema.org/HealthPlanFormulary Model depth: 3 """ - type_: str = Field(default="HealthPlanFormulary", alias='@type') + type_: str = Field(default="HealthPlanFormulary", alias='@type', constant=True) offersPrescriptionByMail: Optional[Union[List[Union[StrictBool, 'Boolean', str]], StrictBool, 'Boolean', str]] = Field( default=None, description="Whether prescriptions can be delivered by mail.", diff --git a/pydantic_schemaorg/HealthPlanNetwork.py b/pydantic_schemaorg/HealthPlanNetwork.py index 2d7b8ac2..8f3d1f3c 100644 --- a/pydantic_schemaorg/HealthPlanNetwork.py +++ b/pydantic_schemaorg/HealthPlanNetwork.py @@ -15,7 +15,7 @@ class HealthPlanNetwork(Intangible): See: https://schema.org/HealthPlanNetwork Model depth: 3 """ - type_: str = Field(default="HealthPlanNetwork", alias='@type') + type_: str = Field(default="HealthPlanNetwork", alias='@type', constant=True) healthPlanNetworkTier: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="The tier(s) for this network.", diff --git a/pydantic_schemaorg/HealthTopicContent.py b/pydantic_schemaorg/HealthTopicContent.py index afe342a0..8b661f3b 100644 --- a/pydantic_schemaorg/HealthTopicContent.py +++ b/pydantic_schemaorg/HealthTopicContent.py @@ -19,7 +19,7 @@ class HealthTopicContent(WebContent): See: https://schema.org/HealthTopicContent Model depth: 4 """ - type_: str = Field(default="HealthTopicContent", alias='@type') + type_: str = Field(default="HealthTopicContent", alias='@type', constant=True) hasHealthAspect: Optional[Union[List[Union['HealthAspectEnumeration', str]], 'HealthAspectEnumeration', str]] = Field( default=None, description="Indicates the aspect or aspects specifically addressed in some [[HealthTopicContent]]." diff --git a/pydantic_schemaorg/HearingImpairedSupported.py b/pydantic_schemaorg/HearingImpairedSupported.py index 4eea9738..3fabedce 100644 --- a/pydantic_schemaorg/HearingImpairedSupported.py +++ b/pydantic_schemaorg/HearingImpairedSupported.py @@ -11,5 +11,5 @@ class HearingImpairedSupported(ContactPointOption): See: https://schema.org/HearingImpairedSupported Model depth: 5 """ - type_: str = Field(default="HearingImpairedSupported", alias='@type') + type_: str = Field(default="HearingImpairedSupported", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Hematologic.py b/pydantic_schemaorg/Hematologic.py index 384ab24d..ccedbea7 100644 --- a/pydantic_schemaorg/Hematologic.py +++ b/pydantic_schemaorg/Hematologic.py @@ -12,5 +12,5 @@ class Hematologic(MedicalSpecialty): See: https://schema.org/Hematologic Model depth: 6 """ - type_: str = Field(default="Hematologic", alias='@type') + type_: str = Field(default="Hematologic", alias='@type', constant=True) diff --git a/pydantic_schemaorg/HighSchool.py b/pydantic_schemaorg/HighSchool.py index f7886265..ae46c44a 100644 --- a/pydantic_schemaorg/HighSchool.py +++ b/pydantic_schemaorg/HighSchool.py @@ -11,5 +11,5 @@ class HighSchool(EducationalOrganization): See: https://schema.org/HighSchool Model depth: 4 """ - type_: str = Field(default="HighSchool", alias='@type') + type_: str = Field(default="HighSchool", alias='@type', constant=True) diff --git a/pydantic_schemaorg/HinduDiet.py b/pydantic_schemaorg/HinduDiet.py index 65d2ac44..d78bcc4d 100644 --- a/pydantic_schemaorg/HinduDiet.py +++ b/pydantic_schemaorg/HinduDiet.py @@ -11,5 +11,5 @@ class HinduDiet(RestrictedDiet): See: https://schema.org/HinduDiet Model depth: 5 """ - type_: str = Field(default="HinduDiet", alias='@type') + type_: str = Field(default="HinduDiet", alias='@type', constant=True) diff --git a/pydantic_schemaorg/HinduTemple.py b/pydantic_schemaorg/HinduTemple.py index efc7a52c..95050cdd 100644 --- a/pydantic_schemaorg/HinduTemple.py +++ b/pydantic_schemaorg/HinduTemple.py @@ -11,5 +11,5 @@ class HinduTemple(PlaceOfWorship): See: https://schema.org/HinduTemple Model depth: 5 """ - type_: str = Field(default="HinduTemple", alias='@type') + type_: str = Field(default="HinduTemple", alias='@type', constant=True) diff --git a/pydantic_schemaorg/HobbyShop.py b/pydantic_schemaorg/HobbyShop.py index 09ffeaf7..de2f7316 100644 --- a/pydantic_schemaorg/HobbyShop.py +++ b/pydantic_schemaorg/HobbyShop.py @@ -11,5 +11,5 @@ class HobbyShop(Store): See: https://schema.org/HobbyShop Model depth: 5 """ - type_: str = Field(default="HobbyShop", alias='@type') + type_: str = Field(default="HobbyShop", alias='@type', constant=True) diff --git a/pydantic_schemaorg/HomeAndConstructionBusiness.py b/pydantic_schemaorg/HomeAndConstructionBusiness.py index 0111c5ec..57d8eed1 100644 --- a/pydantic_schemaorg/HomeAndConstructionBusiness.py +++ b/pydantic_schemaorg/HomeAndConstructionBusiness.py @@ -13,5 +13,5 @@ class HomeAndConstructionBusiness(LocalBusiness): See: https://schema.org/HomeAndConstructionBusiness Model depth: 4 """ - type_: str = Field(default="HomeAndConstructionBusiness", alias='@type') + type_: str = Field(default="HomeAndConstructionBusiness", alias='@type', constant=True) diff --git a/pydantic_schemaorg/HomeGoodsStore.py b/pydantic_schemaorg/HomeGoodsStore.py index 79dafbc8..cefa04b9 100644 --- a/pydantic_schemaorg/HomeGoodsStore.py +++ b/pydantic_schemaorg/HomeGoodsStore.py @@ -11,5 +11,5 @@ class HomeGoodsStore(Store): See: https://schema.org/HomeGoodsStore Model depth: 5 """ - type_: str = Field(default="HomeGoodsStore", alias='@type') + type_: str = Field(default="HomeGoodsStore", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Homeopathic.py b/pydantic_schemaorg/Homeopathic.py index 50debe20..88afaa1f 100644 --- a/pydantic_schemaorg/Homeopathic.py +++ b/pydantic_schemaorg/Homeopathic.py @@ -12,5 +12,5 @@ class Homeopathic(MedicineSystem): See: https://schema.org/Homeopathic Model depth: 6 """ - type_: str = Field(default="Homeopathic", alias='@type') + type_: str = Field(default="Homeopathic", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Hospital.py b/pydantic_schemaorg/Hospital.py index 0523d1a8..259312a9 100644 --- a/pydantic_schemaorg/Hospital.py +++ b/pydantic_schemaorg/Hospital.py @@ -16,7 +16,7 @@ class Hospital(MedicalOrganization, EmergencyService, CivicStructure): See: https://schema.org/Hospital Model depth: 4 """ - type_: str = Field(default="Hospital", alias='@type') + type_: str = Field(default="Hospital", alias='@type', constant=True) medicalSpecialty: Optional[Union[List[Union['MedicalSpecialty', str]], 'MedicalSpecialty', str]] = Field( default=None, description="A medical specialty of the provider.", @@ -26,7 +26,7 @@ class Hospital(MedicalOrganization, EmergencyService, CivicStructure): description="Indicates data describing a hospital, e.g. a CDC [[CDCPMDRecord]] or as some kind of" "[[Dataset]].", ) - availableService: Optional[Union[List[Union['MedicalTest', 'MedicalTherapy', 'MedicalProcedure', str]], 'MedicalTest', 'MedicalTherapy', 'MedicalProcedure', str]] = Field( + availableService: Optional[Union[List[Union['MedicalTherapy', 'MedicalTest', 'MedicalProcedure', str]], 'MedicalTherapy', 'MedicalTest', 'MedicalProcedure', str]] = Field( default=None, description="A medical service available from this provider.", ) @@ -36,6 +36,6 @@ class Hospital(MedicalOrganization, EmergencyService, CivicStructure): from pydantic_schemaorg.MedicalSpecialty import MedicalSpecialty from pydantic_schemaorg.CDCPMDRecord import CDCPMDRecord from pydantic_schemaorg.Dataset import Dataset - from pydantic_schemaorg.MedicalTest import MedicalTest from pydantic_schemaorg.MedicalTherapy import MedicalTherapy + from pydantic_schemaorg.MedicalTest import MedicalTest from pydantic_schemaorg.MedicalProcedure import MedicalProcedure diff --git a/pydantic_schemaorg/Hostel.py b/pydantic_schemaorg/Hostel.py index 2d5c5b2c..398848f9 100644 --- a/pydantic_schemaorg/Hostel.py +++ b/pydantic_schemaorg/Hostel.py @@ -13,5 +13,5 @@ class Hostel(LodgingBusiness): See: https://schema.org/Hostel Model depth: 5 """ - type_: str = Field(default="Hostel", alias='@type') + type_: str = Field(default="Hostel", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Hotel.py b/pydantic_schemaorg/Hotel.py index 48330a77..83324453 100644 --- a/pydantic_schemaorg/Hotel.py +++ b/pydantic_schemaorg/Hotel.py @@ -14,5 +14,5 @@ class Hotel(LodgingBusiness): See: https://schema.org/Hotel Model depth: 5 """ - type_: str = Field(default="Hotel", alias='@type') + type_: str = Field(default="Hotel", alias='@type', constant=True) diff --git a/pydantic_schemaorg/HotelRoom.py b/pydantic_schemaorg/HotelRoom.py index 10cbd73c..e6e7d52c 100644 --- a/pydantic_schemaorg/HotelRoom.py +++ b/pydantic_schemaorg/HotelRoom.py @@ -15,7 +15,7 @@ class HotelRoom(Room): See: https://schema.org/HotelRoom Model depth: 5 """ - type_: str = Field(default="HotelRoom", alias='@type') + type_: str = Field(default="HotelRoom", alias='@type', constant=True) bed: Optional[Union[List[Union[str, 'Text', 'BedDetails', 'BedType']], str, 'Text', 'BedDetails', 'BedType']] = Field( default=None, description="The type of bed or beds included in the accommodation. For the single case of just one bed" diff --git a/pydantic_schemaorg/House.py b/pydantic_schemaorg/House.py index 964cf5e9..c7c7c029 100644 --- a/pydantic_schemaorg/House.py +++ b/pydantic_schemaorg/House.py @@ -16,8 +16,8 @@ class House(Accommodation): See: https://schema.org/House Model depth: 4 """ - type_: str = Field(default="House", alias='@type') - numberOfRooms: Optional[Union[List[Union[Decimal, 'Number', 'QuantitativeValue', str]], Decimal, 'Number', 'QuantitativeValue', str]] = Field( + type_: str = Field(default="House", alias='@type', constant=True) + numberOfRooms: Optional[Union[List[Union[int, float, 'Number', 'QuantitativeValue', str]], int, float, 'Number', 'QuantitativeValue', str]] = Field( default=None, description="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" diff --git a/pydantic_schemaorg/HousePainter.py b/pydantic_schemaorg/HousePainter.py index 107789b5..bddf31ac 100644 --- a/pydantic_schemaorg/HousePainter.py +++ b/pydantic_schemaorg/HousePainter.py @@ -11,5 +11,5 @@ class HousePainter(HomeAndConstructionBusiness): See: https://schema.org/HousePainter Model depth: 5 """ - type_: str = Field(default="HousePainter", alias='@type') + type_: str = Field(default="HousePainter", alias='@type', constant=True) diff --git a/pydantic_schemaorg/HowItWorksHealthAspect.py b/pydantic_schemaorg/HowItWorksHealthAspect.py index 7922bdf5..2ef9c9ac 100644 --- a/pydantic_schemaorg/HowItWorksHealthAspect.py +++ b/pydantic_schemaorg/HowItWorksHealthAspect.py @@ -12,5 +12,5 @@ class HowItWorksHealthAspect(HealthAspectEnumeration): See: https://schema.org/HowItWorksHealthAspect Model depth: 5 """ - type_: str = Field(default="HowItWorksHealthAspect", alias='@type') + type_: str = Field(default="HowItWorksHealthAspect", alias='@type', constant=True) diff --git a/pydantic_schemaorg/HowOrWhereHealthAspect.py b/pydantic_schemaorg/HowOrWhereHealthAspect.py index db2b157c..7c9c1533 100644 --- a/pydantic_schemaorg/HowOrWhereHealthAspect.py +++ b/pydantic_schemaorg/HowOrWhereHealthAspect.py @@ -12,5 +12,5 @@ class HowOrWhereHealthAspect(HealthAspectEnumeration): See: https://schema.org/HowOrWhereHealthAspect Model depth: 5 """ - type_: str = Field(default="HowOrWhereHealthAspect", alias='@type') + type_: str = Field(default="HowOrWhereHealthAspect", alias='@type', constant=True) diff --git a/pydantic_schemaorg/HowTo.py b/pydantic_schemaorg/HowTo.py index f4f45888..37f07d68 100644 --- a/pydantic_schemaorg/HowTo.py +++ b/pydantic_schemaorg/HowTo.py @@ -14,7 +14,7 @@ class HowTo(CreativeWork): See: https://schema.org/HowTo Model depth: 3 """ - type_: str = Field(default="HowTo", alias='@type') + type_: str = Field(default="HowTo", alias='@type', constant=True) yield_: Optional[Union[List[Union[str, 'Text', 'QuantitativeValue']], str, 'Text', 'QuantitativeValue']] = Field( default=None,alias="yield", description="The quantity that results by performing instructions. For example, a paper airplane," @@ -29,7 +29,7 @@ class HowTo(CreativeWork): description="The length of time it takes to prepare the items to be used in instructions or a direction," "in [ISO 8601 duration format](http://en.wikipedia.org/wiki/ISO_8601).", ) - step: Optional[Union[List[Union[str, 'Text', 'HowToSection', 'HowToStep', 'CreativeWork']], str, 'Text', 'HowToSection', 'HowToStep', 'CreativeWork']] = Field( + step: Optional[Union[List[Union[str, 'Text', 'HowToSection', 'CreativeWork', 'HowToStep']], str, 'Text', 'HowToSection', 'CreativeWork', 'HowToStep']] = Field( default=None, description="A single step item (as HowToStep, text, document, video, etc.) or a HowToSection.", ) @@ -65,8 +65,8 @@ class HowTo(CreativeWork): from pydantic_schemaorg.MonetaryAmount import MonetaryAmount from pydantic_schemaorg.Duration import Duration from pydantic_schemaorg.HowToSection import HowToSection - from pydantic_schemaorg.HowToStep import HowToStep from pydantic_schemaorg.CreativeWork import CreativeWork + from pydantic_schemaorg.HowToStep import HowToStep from pydantic_schemaorg.HowToTool import HowToTool from pydantic_schemaorg.ItemList import ItemList from pydantic_schemaorg.HowToSupply import HowToSupply diff --git a/pydantic_schemaorg/HowToDirection.py b/pydantic_schemaorg/HowToDirection.py index 42cc33fe..49d1f7cf 100644 --- a/pydantic_schemaorg/HowToDirection.py +++ b/pydantic_schemaorg/HowToDirection.py @@ -16,7 +16,7 @@ class HowToDirection(ListItem, CreativeWork): See: https://schema.org/HowToDirection Model depth: 3 """ - type_: str = Field(default="HowToDirection", alias='@type') + type_: str = Field(default="HowToDirection", alias='@type', constant=True) duringMedia: Optional[Union[List[Union[AnyUrl, 'URL', 'MediaObject', str]], AnyUrl, 'URL', 'MediaObject', str]] = Field( default=None, description="A media object representing the circumstances while performing this direction.", diff --git a/pydantic_schemaorg/HowToItem.py b/pydantic_schemaorg/HowToItem.py index 4b54b99b..03a00442 100644 --- a/pydantic_schemaorg/HowToItem.py +++ b/pydantic_schemaorg/HowToItem.py @@ -16,8 +16,8 @@ class HowToItem(ListItem): See: https://schema.org/HowToItem Model depth: 4 """ - type_: str = Field(default="HowToItem", alias='@type') - requiredQuantity: Optional[Union[List[Union[Decimal, 'Number', str, 'Text', 'QuantitativeValue']], Decimal, 'Number', str, 'Text', 'QuantitativeValue']] = Field( + type_: str = Field(default="HowToItem", alias='@type', constant=True) + requiredQuantity: Optional[Union[List[Union[int, float, 'Number', str, 'Text', 'QuantitativeValue']], int, float, 'Number', str, 'Text', 'QuantitativeValue']] = Field( default=None, description="The required quantity of the item(s).", ) diff --git a/pydantic_schemaorg/HowToSection.py b/pydantic_schemaorg/HowToSection.py index a3eb8b0c..e4f6c0ab 100644 --- a/pydantic_schemaorg/HowToSection.py +++ b/pydantic_schemaorg/HowToSection.py @@ -5,19 +5,19 @@ from pydantic import Field -from pydantic_schemaorg.ListItem import ListItem from pydantic_schemaorg.ItemList import ItemList +from pydantic_schemaorg.ListItem import ListItem from pydantic_schemaorg.CreativeWork import CreativeWork -class HowToSection(ListItem, ItemList, CreativeWork): +class HowToSection(ItemList, ListItem, CreativeWork): """A sub-grouping of steps in the instructions for how to achieve a result (e.g. steps for" "making a pie crust within a pie recipe). See: https://schema.org/HowToSection Model depth: 3 """ - type_: str = Field(default="HowToSection", alias='@type') + type_: str = Field(default="HowToSection", alias='@type', constant=True) steps: Optional[Union[List[Union[str, 'Text', 'CreativeWork', 'ItemList']], str, 'Text', 'CreativeWork', 'ItemList']] = Field( default=None, description="A single step item (as HowToStep, text, document, video, etc.) or a HowToSection (originally" diff --git a/pydantic_schemaorg/HowToStep.py b/pydantic_schemaorg/HowToStep.py index dab2a0b7..5bb4083c 100644 --- a/pydantic_schemaorg/HowToStep.py +++ b/pydantic_schemaorg/HowToStep.py @@ -2,17 +2,17 @@ from pydantic import Field -from pydantic_schemaorg.ListItem import ListItem from pydantic_schemaorg.ItemList import ItemList +from pydantic_schemaorg.ListItem import ListItem from pydantic_schemaorg.CreativeWork import CreativeWork -class HowToStep(ListItem, ItemList, CreativeWork): +class HowToStep(ItemList, ListItem, CreativeWork): """A step in the instructions for how to achieve a result. It is an ordered list with HowToDirection" "and/or HowToTip items. See: https://schema.org/HowToStep Model depth: 3 """ - type_: str = Field(default="HowToStep", alias='@type') + type_: str = Field(default="HowToStep", alias='@type', constant=True) diff --git a/pydantic_schemaorg/HowToSupply.py b/pydantic_schemaorg/HowToSupply.py index fecfce6f..eb855cec 100644 --- a/pydantic_schemaorg/HowToSupply.py +++ b/pydantic_schemaorg/HowToSupply.py @@ -14,7 +14,7 @@ class HowToSupply(HowToItem): See: https://schema.org/HowToSupply Model depth: 5 """ - type_: str = Field(default="HowToSupply", alias='@type') + type_: str = Field(default="HowToSupply", alias='@type', constant=True) estimatedCost: Optional[Union[List[Union[str, 'Text', 'MonetaryAmount']], str, 'Text', 'MonetaryAmount']] = Field( default=None, description="The estimated cost of the supply or supplies consumed when performing instructions.", diff --git a/pydantic_schemaorg/HowToTip.py b/pydantic_schemaorg/HowToTip.py index c19f606f..3fbda0d0 100644 --- a/pydantic_schemaorg/HowToTip.py +++ b/pydantic_schemaorg/HowToTip.py @@ -15,5 +15,5 @@ class HowToTip(ListItem, CreativeWork): See: https://schema.org/HowToTip Model depth: 3 """ - type_: str = Field(default="HowToTip", alias='@type') + type_: str = Field(default="HowToTip", alias='@type', constant=True) diff --git a/pydantic_schemaorg/HowToTool.py b/pydantic_schemaorg/HowToTool.py index 93809ae3..51742d4a 100644 --- a/pydantic_schemaorg/HowToTool.py +++ b/pydantic_schemaorg/HowToTool.py @@ -11,5 +11,5 @@ class HowToTool(HowToItem): See: https://schema.org/HowToTool Model depth: 5 """ - type_: str = Field(default="HowToTool", alias='@type') + type_: str = Field(default="HowToTool", alias='@type', constant=True) diff --git a/pydantic_schemaorg/HyperToc.py b/pydantic_schemaorg/HyperToc.py index 15c3d29f..7c6468b4 100644 --- a/pydantic_schemaorg/HyperToc.py +++ b/pydantic_schemaorg/HyperToc.py @@ -18,7 +18,7 @@ class HyperToc(CreativeWork): See: https://schema.org/HyperToc Model depth: 3 """ - type_: str = Field(default="HyperToc", alias='@type') + type_: str = Field(default="HyperToc", alias='@type', constant=True) associatedMedia: Optional[Union[List[Union['MediaObject', str]], 'MediaObject', str]] = Field( default=None, description="A media object that encodes this CreativeWork. This property is a synonym for encoding.", diff --git a/pydantic_schemaorg/HyperTocEntry.py b/pydantic_schemaorg/HyperTocEntry.py index 0f17e31b..dbf1e98b 100644 --- a/pydantic_schemaorg/HyperTocEntry.py +++ b/pydantic_schemaorg/HyperTocEntry.py @@ -20,7 +20,7 @@ class HyperTocEntry(CreativeWork): See: https://schema.org/HyperTocEntry Model depth: 3 """ - type_: str = Field(default="HyperTocEntry", alias='@type') + type_: str = Field(default="HyperTocEntry", alias='@type', constant=True) utterances: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="Text of an utterances (spoken words, lyrics etc.) that occurs at a certain section of" diff --git a/pydantic_schemaorg/IceCreamShop.py b/pydantic_schemaorg/IceCreamShop.py index f44a8b7c..072172ce 100644 --- a/pydantic_schemaorg/IceCreamShop.py +++ b/pydantic_schemaorg/IceCreamShop.py @@ -11,5 +11,5 @@ class IceCreamShop(FoodEstablishment): See: https://schema.org/IceCreamShop Model depth: 5 """ - type_: str = Field(default="IceCreamShop", alias='@type') + type_: str = Field(default="IceCreamShop", alias='@type', constant=True) diff --git a/pydantic_schemaorg/IgnoreAction.py b/pydantic_schemaorg/IgnoreAction.py index 0f9af28c..f7c87b9c 100644 --- a/pydantic_schemaorg/IgnoreAction.py +++ b/pydantic_schemaorg/IgnoreAction.py @@ -11,5 +11,5 @@ class IgnoreAction(AssessAction): See: https://schema.org/IgnoreAction Model depth: 4 """ - type_: str = Field(default="IgnoreAction", alias='@type') + type_: str = Field(default="IgnoreAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ImageGallery.py b/pydantic_schemaorg/ImageGallery.py index cf9bbf8c..6c4ec751 100644 --- a/pydantic_schemaorg/ImageGallery.py +++ b/pydantic_schemaorg/ImageGallery.py @@ -11,5 +11,5 @@ class ImageGallery(MediaGallery): See: https://schema.org/ImageGallery Model depth: 6 """ - type_: str = Field(default="ImageGallery", alias='@type') + type_: str = Field(default="ImageGallery", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ImageObject.py b/pydantic_schemaorg/ImageObject.py index 9c8b5a5a..786ac58c 100644 --- a/pydantic_schemaorg/ImageObject.py +++ b/pydantic_schemaorg/ImageObject.py @@ -15,7 +15,7 @@ class ImageObject(MediaObject): See: https://schema.org/ImageObject Model depth: 4 """ - type_: str = Field(default="ImageObject", alias='@type') + type_: str = Field(default="ImageObject", alias='@type', constant=True) thumbnail: Optional[Union[List[Union['ImageObject', str]], 'ImageObject', str]] = Field( default=None, description="Thumbnail image for an image or video.", diff --git a/pydantic_schemaorg/ImageObjectSnapshot.py b/pydantic_schemaorg/ImageObjectSnapshot.py index b8debcc0..b781ba86 100644 --- a/pydantic_schemaorg/ImageObjectSnapshot.py +++ b/pydantic_schemaorg/ImageObjectSnapshot.py @@ -15,5 +15,5 @@ class ImageObjectSnapshot(ImageObject): See: https://schema.org/ImageObjectSnapshot Model depth: 5 """ - type_: str = Field(default="ImageObjectSnapshot", alias='@type') + type_: str = Field(default="ImageObjectSnapshot", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ImagingTest.py b/pydantic_schemaorg/ImagingTest.py index 7fb3264d..06c5f5d2 100644 --- a/pydantic_schemaorg/ImagingTest.py +++ b/pydantic_schemaorg/ImagingTest.py @@ -14,7 +14,7 @@ class ImagingTest(MedicalTest): See: https://schema.org/ImagingTest Model depth: 4 """ - type_: str = Field(default="ImagingTest", alias='@type') + type_: str = Field(default="ImagingTest", alias='@type', constant=True) imagingTechnique: Optional[Union[List[Union['MedicalImagingTechnique', str]], 'MedicalImagingTechnique', str]] = Field( default=None, description="Imaging technique used.", diff --git a/pydantic_schemaorg/InForce.py b/pydantic_schemaorg/InForce.py index adf71c87..e7c1985e 100644 --- a/pydantic_schemaorg/InForce.py +++ b/pydantic_schemaorg/InForce.py @@ -11,5 +11,5 @@ class InForce(LegalForceStatus): See: https://schema.org/InForce Model depth: 6 """ - type_: str = Field(default="InForce", alias='@type') + type_: str = Field(default="InForce", alias='@type', constant=True) diff --git a/pydantic_schemaorg/InStock.py b/pydantic_schemaorg/InStock.py index 2474df98..a59b990d 100644 --- a/pydantic_schemaorg/InStock.py +++ b/pydantic_schemaorg/InStock.py @@ -11,5 +11,5 @@ class InStock(ItemAvailability): See: https://schema.org/InStock Model depth: 5 """ - type_: str = Field(default="InStock", alias='@type') + type_: str = Field(default="InStock", alias='@type', constant=True) diff --git a/pydantic_schemaorg/InStoreOnly.py b/pydantic_schemaorg/InStoreOnly.py index 68363d27..5cf412eb 100644 --- a/pydantic_schemaorg/InStoreOnly.py +++ b/pydantic_schemaorg/InStoreOnly.py @@ -11,5 +11,5 @@ class InStoreOnly(ItemAvailability): See: https://schema.org/InStoreOnly Model depth: 5 """ - type_: str = Field(default="InStoreOnly", alias='@type') + type_: str = Field(default="InStoreOnly", alias='@type', constant=True) diff --git a/pydantic_schemaorg/IndividualProduct.py b/pydantic_schemaorg/IndividualProduct.py index b76fd8e5..f70c82a9 100644 --- a/pydantic_schemaorg/IndividualProduct.py +++ b/pydantic_schemaorg/IndividualProduct.py @@ -14,7 +14,7 @@ class IndividualProduct(Product): See: https://schema.org/IndividualProduct Model depth: 3 """ - type_: str = Field(default="IndividualProduct", alias='@type') + type_: str = Field(default="IndividualProduct", alias='@type', constant=True) serialNumber: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="The serial number or any alphanumeric identifier of a particular product. When attached" diff --git a/pydantic_schemaorg/Infectious.py b/pydantic_schemaorg/Infectious.py index 3a8a7edd..b734892d 100644 --- a/pydantic_schemaorg/Infectious.py +++ b/pydantic_schemaorg/Infectious.py @@ -12,5 +12,5 @@ class Infectious(MedicalSpecialty): See: https://schema.org/Infectious Model depth: 6 """ - type_: str = Field(default="Infectious", alias='@type') + type_: str = Field(default="Infectious", alias='@type', constant=True) diff --git a/pydantic_schemaorg/InfectiousAgentClass.py b/pydantic_schemaorg/InfectiousAgentClass.py index 4fbb3a9f..d778c55c 100644 --- a/pydantic_schemaorg/InfectiousAgentClass.py +++ b/pydantic_schemaorg/InfectiousAgentClass.py @@ -11,5 +11,5 @@ class InfectiousAgentClass(MedicalEnumeration): See: https://schema.org/InfectiousAgentClass Model depth: 5 """ - type_: str = Field(default="InfectiousAgentClass", alias='@type') + type_: str = Field(default="InfectiousAgentClass", alias='@type', constant=True) diff --git a/pydantic_schemaorg/InfectiousDisease.py b/pydantic_schemaorg/InfectiousDisease.py index 07bac5b6..88799e69 100644 --- a/pydantic_schemaorg/InfectiousDisease.py +++ b/pydantic_schemaorg/InfectiousDisease.py @@ -17,7 +17,7 @@ class InfectiousDisease(MedicalCondition): See: https://schema.org/InfectiousDisease Model depth: 4 """ - type_: str = Field(default="InfectiousDisease", alias='@type') + type_: str = Field(default="InfectiousDisease", alias='@type', constant=True) transmissionMethod: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="How the disease spreads, either as a route or vector, for example 'direct contact', 'Aedes" diff --git a/pydantic_schemaorg/InformAction.py b/pydantic_schemaorg/InformAction.py index 6a274c26..01664281 100644 --- a/pydantic_schemaorg/InformAction.py +++ b/pydantic_schemaorg/InformAction.py @@ -15,7 +15,7 @@ class InformAction(CommunicateAction): See: https://schema.org/InformAction Model depth: 5 """ - type_: str = Field(default="InformAction", alias='@type') + type_: str = Field(default="InformAction", alias='@type', constant=True) event: Optional[Union[List[Union['Event', str]], 'Event', str]] = Field( default=None, description="Upcoming or past event associated with this place, organization, or action.", diff --git a/pydantic_schemaorg/IngredientsHealthAspect.py b/pydantic_schemaorg/IngredientsHealthAspect.py index a1b6e5b1..25515533 100644 --- a/pydantic_schemaorg/IngredientsHealthAspect.py +++ b/pydantic_schemaorg/IngredientsHealthAspect.py @@ -11,5 +11,5 @@ class IngredientsHealthAspect(HealthAspectEnumeration): See: https://schema.org/IngredientsHealthAspect Model depth: 5 """ - type_: str = Field(default="IngredientsHealthAspect", alias='@type') + type_: str = Field(default="IngredientsHealthAspect", alias='@type', constant=True) diff --git a/pydantic_schemaorg/InsertAction.py b/pydantic_schemaorg/InsertAction.py index 26680a32..eaec05a6 100644 --- a/pydantic_schemaorg/InsertAction.py +++ b/pydantic_schemaorg/InsertAction.py @@ -14,7 +14,7 @@ class InsertAction(AddAction): See: https://schema.org/InsertAction Model depth: 5 """ - type_: str = Field(default="InsertAction", alias='@type') + type_: str = Field(default="InsertAction", alias='@type', constant=True) toLocation: Optional[Union[List[Union['Place', str]], 'Place', str]] = Field( default=None, description="A sub property of location. The final location of the object or the agent after the action.", diff --git a/pydantic_schemaorg/InstallAction.py b/pydantic_schemaorg/InstallAction.py index 0918a751..89cb2a38 100644 --- a/pydantic_schemaorg/InstallAction.py +++ b/pydantic_schemaorg/InstallAction.py @@ -11,5 +11,5 @@ class InstallAction(ConsumeAction): See: https://schema.org/InstallAction Model depth: 4 """ - type_: str = Field(default="InstallAction", alias='@type') + type_: str = Field(default="InstallAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Installment.py b/pydantic_schemaorg/Installment.py index c3be056c..3050b54a 100644 --- a/pydantic_schemaorg/Installment.py +++ b/pydantic_schemaorg/Installment.py @@ -11,5 +11,5 @@ class Installment(PriceComponentTypeEnumeration): See: https://schema.org/Installment Model depth: 5 """ - type_: str = Field(default="Installment", alias='@type') + type_: str = Field(default="Installment", alias='@type', constant=True) diff --git a/pydantic_schemaorg/InsuranceAgency.py b/pydantic_schemaorg/InsuranceAgency.py index a60bb4e4..fbb9bc71 100644 --- a/pydantic_schemaorg/InsuranceAgency.py +++ b/pydantic_schemaorg/InsuranceAgency.py @@ -11,5 +11,5 @@ class InsuranceAgency(FinancialService): See: https://schema.org/InsuranceAgency Model depth: 5 """ - type_: str = Field(default="InsuranceAgency", alias='@type') + type_: str = Field(default="InsuranceAgency", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Intangible.py b/pydantic_schemaorg/Intangible.py index e28e4a21..f07e9c30 100644 --- a/pydantic_schemaorg/Intangible.py +++ b/pydantic_schemaorg/Intangible.py @@ -12,5 +12,5 @@ class Intangible(Thing): See: https://schema.org/Intangible Model depth: 2 """ - type_: str = Field(default="Intangible", alias='@type') + type_: str = Field(default="Intangible", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Integer.py b/pydantic_schemaorg/Integer.py index 5853bd46..93abc778 100644 --- a/pydantic_schemaorg/Integer.py +++ b/pydantic_schemaorg/Integer.py @@ -11,5 +11,5 @@ class Integer(Number): See: https://schema.org/Integer Model depth: 6 """ - type_: str = Field(default="Integer", alias='@type') + type_: str = Field(default="Integer", alias='@type', constant=True) diff --git a/pydantic_schemaorg/InteractAction.py b/pydantic_schemaorg/InteractAction.py index c7b2493c..847f736d 100644 --- a/pydantic_schemaorg/InteractAction.py +++ b/pydantic_schemaorg/InteractAction.py @@ -11,5 +11,5 @@ class InteractAction(Action): See: https://schema.org/InteractAction Model depth: 3 """ - type_: str = Field(default="InteractAction", alias='@type') + type_: str = Field(default="InteractAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/InteractionCounter.py b/pydantic_schemaorg/InteractionCounter.py index 091b751d..1465afe5 100644 --- a/pydantic_schemaorg/InteractionCounter.py +++ b/pydantic_schemaorg/InteractionCounter.py @@ -17,7 +17,7 @@ class InteractionCounter(StructuredValue): See: https://schema.org/InteractionCounter Model depth: 4 """ - type_: str = Field(default="InteractionCounter", alias='@type') + type_: str = Field(default="InteractionCounter", alias='@type', constant=True) userInteractionCount: Optional[Union[List[Union[int, 'Integer', str]], int, 'Integer', str]] = Field( default=None, description="The number of interactions for the CreativeWork using the WebSite or SoftwareApplication.", diff --git a/pydantic_schemaorg/InternationalTrial.py b/pydantic_schemaorg/InternationalTrial.py index ecd4999e..3ad9b601 100644 --- a/pydantic_schemaorg/InternationalTrial.py +++ b/pydantic_schemaorg/InternationalTrial.py @@ -11,5 +11,5 @@ class InternationalTrial(MedicalTrialDesign): See: https://schema.org/InternationalTrial Model depth: 6 """ - type_: str = Field(default="InternationalTrial", alias='@type') + type_: str = Field(default="InternationalTrial", alias='@type', constant=True) diff --git a/pydantic_schemaorg/InternetCafe.py b/pydantic_schemaorg/InternetCafe.py index 72b31e7e..c866b423 100644 --- a/pydantic_schemaorg/InternetCafe.py +++ b/pydantic_schemaorg/InternetCafe.py @@ -11,5 +11,5 @@ class InternetCafe(LocalBusiness): See: https://schema.org/InternetCafe Model depth: 4 """ - type_: str = Field(default="InternetCafe", alias='@type') + type_: str = Field(default="InternetCafe", alias='@type', constant=True) diff --git a/pydantic_schemaorg/InvestmentFund.py b/pydantic_schemaorg/InvestmentFund.py index 82cce822..86772f3a 100644 --- a/pydantic_schemaorg/InvestmentFund.py +++ b/pydantic_schemaorg/InvestmentFund.py @@ -12,5 +12,5 @@ class InvestmentFund(InvestmentOrDeposit): See: https://schema.org/InvestmentFund Model depth: 6 """ - type_: str = Field(default="InvestmentFund", alias='@type') + type_: str = Field(default="InvestmentFund", alias='@type', constant=True) diff --git a/pydantic_schemaorg/InvestmentOrDeposit.py b/pydantic_schemaorg/InvestmentOrDeposit.py index b3d1246a..fbf65ca1 100644 --- a/pydantic_schemaorg/InvestmentOrDeposit.py +++ b/pydantic_schemaorg/InvestmentOrDeposit.py @@ -16,8 +16,8 @@ class InvestmentOrDeposit(FinancialProduct): See: https://schema.org/InvestmentOrDeposit Model depth: 5 """ - type_: str = Field(default="InvestmentOrDeposit", alias='@type') - amount: Optional[Union[List[Union[Decimal, 'Number', 'MonetaryAmount', str]], Decimal, 'Number', 'MonetaryAmount', str]] = Field( + type_: str = Field(default="InvestmentOrDeposit", alias='@type', constant=True) + amount: Optional[Union[List[Union[int, float, 'Number', 'MonetaryAmount', str]], int, float, 'Number', 'MonetaryAmount', str]] = Field( default=None, description="The amount of money.", ) diff --git a/pydantic_schemaorg/InviteAction.py b/pydantic_schemaorg/InviteAction.py index cc6dd1c3..4fef874b 100644 --- a/pydantic_schemaorg/InviteAction.py +++ b/pydantic_schemaorg/InviteAction.py @@ -14,7 +14,7 @@ class InviteAction(CommunicateAction): See: https://schema.org/InviteAction Model depth: 5 """ - type_: str = Field(default="InviteAction", alias='@type') + type_: str = Field(default="InviteAction", alias='@type', constant=True) event: Optional[Union[List[Union['Event', str]], 'Event', str]] = Field( default=None, description="Upcoming or past event associated with this place, organization, or action.", diff --git a/pydantic_schemaorg/Invoice.py b/pydantic_schemaorg/Invoice.py index f2df20a9..d0424c1d 100644 --- a/pydantic_schemaorg/Invoice.py +++ b/pydantic_schemaorg/Invoice.py @@ -16,7 +16,7 @@ class Invoice(Intangible): See: https://schema.org/Invoice Model depth: 3 """ - type_: str = Field(default="Invoice", alias='@type') + type_: str = Field(default="Invoice", alias='@type', constant=True) paymentDue: Optional[Union[List[Union[ISO8601Date, 'DateTime', str]], ISO8601Date, 'DateTime', str]] = Field( default=None, description="The date that payment is due.", @@ -42,7 +42,7 @@ class Invoice(Intangible): default=None, description="The status of payment; whether the invoice has been paid or not.", ) - customer: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + customer: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="Party placing the order or paying the invoice.", ) @@ -71,7 +71,7 @@ class Invoice(Intangible): default=None, description="The minimum payment required at this time.", ) - provider: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + provider: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="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." @@ -81,7 +81,7 @@ class Invoice(Intangible): default=None, description="The name of the credit card or other method of payment for the order.", ) - broker: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + broker: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="An entity that arranges for an exchange between a buyer and a seller. In most cases a broker" "never acquires or releases ownership of a product or service involved in an exchange." @@ -98,8 +98,8 @@ class Invoice(Intangible): from pydantic_schemaorg.PhysicalActivityCategory import PhysicalActivityCategory from pydantic_schemaorg.Thing import Thing from pydantic_schemaorg.PaymentStatusType import PaymentStatusType - from pydantic_schemaorg.Person import Person from pydantic_schemaorg.Organization import Organization + from pydantic_schemaorg.Person import Person from pydantic_schemaorg.MonetaryAmount import MonetaryAmount from pydantic_schemaorg.PriceSpecification import PriceSpecification from pydantic_schemaorg.Date import Date diff --git a/pydantic_schemaorg/InvoicePrice.py b/pydantic_schemaorg/InvoicePrice.py index d1217c03..e2439ec3 100644 --- a/pydantic_schemaorg/InvoicePrice.py +++ b/pydantic_schemaorg/InvoicePrice.py @@ -11,5 +11,5 @@ class InvoicePrice(PriceTypeEnumeration): See: https://schema.org/InvoicePrice Model depth: 5 """ - type_: str = Field(default="InvoicePrice", alias='@type') + type_: str = Field(default="InvoicePrice", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ItemAvailability.py b/pydantic_schemaorg/ItemAvailability.py index f7c3a221..ca988b38 100644 --- a/pydantic_schemaorg/ItemAvailability.py +++ b/pydantic_schemaorg/ItemAvailability.py @@ -11,5 +11,5 @@ class ItemAvailability(Enumeration): See: https://schema.org/ItemAvailability Model depth: 4 """ - type_: str = Field(default="ItemAvailability", alias='@type') + type_: str = Field(default="ItemAvailability", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ItemList.py b/pydantic_schemaorg/ItemList.py index c408aab6..0bb723a4 100644 --- a/pydantic_schemaorg/ItemList.py +++ b/pydantic_schemaorg/ItemList.py @@ -15,7 +15,7 @@ class ItemList(Intangible): See: https://schema.org/ItemList Model depth: 3 """ - type_: str = Field(default="ItemList", alias='@type') + type_: str = Field(default="ItemList", alias='@type', constant=True) itemListElement: Optional[Union[List[Union[str, 'Text', 'Thing', 'ListItem']], str, 'Text', 'Thing', 'ListItem']] = Field( default=None, description="For itemListElement values, you can use simple strings (e.g. \"Peter\", \"Paul\"," diff --git a/pydantic_schemaorg/ItemListOrderAscending.py b/pydantic_schemaorg/ItemListOrderAscending.py index b328b50d..d4397837 100644 --- a/pydantic_schemaorg/ItemListOrderAscending.py +++ b/pydantic_schemaorg/ItemListOrderAscending.py @@ -11,5 +11,5 @@ class ItemListOrderAscending(ItemListOrderType): See: https://schema.org/ItemListOrderAscending Model depth: 5 """ - type_: str = Field(default="ItemListOrderAscending", alias='@type') + type_: str = Field(default="ItemListOrderAscending", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ItemListOrderDescending.py b/pydantic_schemaorg/ItemListOrderDescending.py index 4d247f19..80af994f 100644 --- a/pydantic_schemaorg/ItemListOrderDescending.py +++ b/pydantic_schemaorg/ItemListOrderDescending.py @@ -11,5 +11,5 @@ class ItemListOrderDescending(ItemListOrderType): See: https://schema.org/ItemListOrderDescending Model depth: 5 """ - type_: str = Field(default="ItemListOrderDescending", alias='@type') + type_: str = Field(default="ItemListOrderDescending", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ItemListOrderType.py b/pydantic_schemaorg/ItemListOrderType.py index aa26fa50..50761c94 100644 --- a/pydantic_schemaorg/ItemListOrderType.py +++ b/pydantic_schemaorg/ItemListOrderType.py @@ -11,5 +11,5 @@ class ItemListOrderType(Enumeration): See: https://schema.org/ItemListOrderType Model depth: 4 """ - type_: str = Field(default="ItemListOrderType", alias='@type') + type_: str = Field(default="ItemListOrderType", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ItemListUnordered.py b/pydantic_schemaorg/ItemListUnordered.py index 5cbd62f2..1cfca6cb 100644 --- a/pydantic_schemaorg/ItemListUnordered.py +++ b/pydantic_schemaorg/ItemListUnordered.py @@ -11,5 +11,5 @@ class ItemListUnordered(ItemListOrderType): See: https://schema.org/ItemListUnordered Model depth: 5 """ - type_: str = Field(default="ItemListUnordered", alias='@type') + type_: str = Field(default="ItemListUnordered", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ItemPage.py b/pydantic_schemaorg/ItemPage.py index 58d3d96a..e02738c2 100644 --- a/pydantic_schemaorg/ItemPage.py +++ b/pydantic_schemaorg/ItemPage.py @@ -11,5 +11,5 @@ class ItemPage(WebPage): See: https://schema.org/ItemPage Model depth: 4 """ - type_: str = Field(default="ItemPage", alias='@type') + type_: str = Field(default="ItemPage", alias='@type', constant=True) diff --git a/pydantic_schemaorg/JewelryStore.py b/pydantic_schemaorg/JewelryStore.py index 2508eb6d..baf989b8 100644 --- a/pydantic_schemaorg/JewelryStore.py +++ b/pydantic_schemaorg/JewelryStore.py @@ -11,5 +11,5 @@ class JewelryStore(Store): See: https://schema.org/JewelryStore Model depth: 5 """ - type_: str = Field(default="JewelryStore", alias='@type') + type_: str = Field(default="JewelryStore", alias='@type', constant=True) diff --git a/pydantic_schemaorg/JobPosting.py b/pydantic_schemaorg/JobPosting.py index 1e13e2e5..69319de9 100644 --- a/pydantic_schemaorg/JobPosting.py +++ b/pydantic_schemaorg/JobPosting.py @@ -17,7 +17,7 @@ class JobPosting(Intangible): See: https://schema.org/JobPosting Model depth: 3 """ - type_: str = Field(default="JobPosting", alias='@type') + type_: str = Field(default="JobPosting", alias='@type', constant=True) experienceRequirements: Optional[Union[List[Union[str, 'Text', 'OccupationalExperienceRequirements']], str, 'Text', 'OccupationalExperienceRequirements']] = Field( default=None, description="Description of skills and experience needed for the position or Occupation.", @@ -41,7 +41,7 @@ class JobPosting(Intangible): description="A statement of knowledge, skill, ability, task or any other assertion expressing a competency" "that is desired or required to fulfill this role or to work in this occupation.", ) - estimatedSalary: Optional[Union[List[Union[Decimal, 'Number', 'MonetaryAmount', 'MonetaryAmountDistribution', str]], Decimal, 'Number', 'MonetaryAmount', 'MonetaryAmountDistribution', str]] = Field( + estimatedSalary: Optional[Union[List[Union[int, float, 'Number', 'MonetaryAmountDistribution', 'MonetaryAmount', str]], int, float, 'Number', 'MonetaryAmountDistribution', 'MonetaryAmount', str]] = Field( default=None, description="An estimated salary for a job posting or occupation, based on a variety of variables including," "but not limited to industry, job title, and location. Estimated salaries are often computed" @@ -139,7 +139,7 @@ class JobPosting(Intangible): description="Indicates the department, unit and/or facility where the employee reports and/or in" "which the job is to be performed.", ) - baseSalary: Optional[Union[List[Union[Decimal, 'Number', 'MonetaryAmount', 'PriceSpecification', str]], Decimal, 'Number', 'MonetaryAmount', 'PriceSpecification', str]] = Field( + baseSalary: Optional[Union[List[Union[int, float, 'Number', 'MonetaryAmount', 'PriceSpecification', str]], int, float, 'Number', 'MonetaryAmount', 'PriceSpecification', str]] = Field( default=None, description="The base salary of the job or of an employee in an EmployeeRole.", ) @@ -207,8 +207,8 @@ class JobPosting(Intangible): from pydantic_schemaorg.Boolean import Boolean from pydantic_schemaorg.DefinedTerm import DefinedTerm from pydantic_schemaorg.Number import Number - from pydantic_schemaorg.MonetaryAmount import MonetaryAmount from pydantic_schemaorg.MonetaryAmountDistribution import MonetaryAmountDistribution + from pydantic_schemaorg.MonetaryAmount import MonetaryAmount from pydantic_schemaorg.URL import URL from pydantic_schemaorg.Place import Place from pydantic_schemaorg.Integer import Integer diff --git a/pydantic_schemaorg/JoinAction.py b/pydantic_schemaorg/JoinAction.py index 4ddfe97a..02598eeb 100644 --- a/pydantic_schemaorg/JoinAction.py +++ b/pydantic_schemaorg/JoinAction.py @@ -18,7 +18,7 @@ class JoinAction(InteractAction): See: https://schema.org/JoinAction Model depth: 4 """ - type_: str = Field(default="JoinAction", alias='@type') + type_: str = Field(default="JoinAction", alias='@type', constant=True) event: Optional[Union[List[Union['Event', str]], 'Event', str]] = Field( default=None, description="Upcoming or past event associated with this place, organization, or action.", diff --git a/pydantic_schemaorg/Joint.py b/pydantic_schemaorg/Joint.py index 6e7490e2..5833a9aa 100644 --- a/pydantic_schemaorg/Joint.py +++ b/pydantic_schemaorg/Joint.py @@ -14,7 +14,7 @@ class Joint(AnatomicalStructure): See: https://schema.org/Joint Model depth: 4 """ - type_: str = Field(default="Joint", alias='@type') + type_: str = Field(default="Joint", alias='@type', constant=True) functionalClass: Optional[Union[List[Union[str, 'Text', 'MedicalEntity']], str, 'Text', 'MedicalEntity']] = Field( default=None, description="The degree of mobility the joint allows.", diff --git a/pydantic_schemaorg/KosherDiet.py b/pydantic_schemaorg/KosherDiet.py index 453f9329..0fceefb5 100644 --- a/pydantic_schemaorg/KosherDiet.py +++ b/pydantic_schemaorg/KosherDiet.py @@ -11,5 +11,5 @@ class KosherDiet(RestrictedDiet): See: https://schema.org/KosherDiet Model depth: 5 """ - type_: str = Field(default="KosherDiet", alias='@type') + type_: str = Field(default="KosherDiet", alias='@type', constant=True) diff --git a/pydantic_schemaorg/LaboratoryScience.py b/pydantic_schemaorg/LaboratoryScience.py index 8f617a00..6dac9832 100644 --- a/pydantic_schemaorg/LaboratoryScience.py +++ b/pydantic_schemaorg/LaboratoryScience.py @@ -12,5 +12,5 @@ class LaboratoryScience(MedicalSpecialty): See: https://schema.org/LaboratoryScience Model depth: 6 """ - type_: str = Field(default="LaboratoryScience", alias='@type') + type_: str = Field(default="LaboratoryScience", alias='@type', constant=True) diff --git a/pydantic_schemaorg/LakeBodyOfWater.py b/pydantic_schemaorg/LakeBodyOfWater.py index 0a6c90c1..1821b5d7 100644 --- a/pydantic_schemaorg/LakeBodyOfWater.py +++ b/pydantic_schemaorg/LakeBodyOfWater.py @@ -11,5 +11,5 @@ class LakeBodyOfWater(BodyOfWater): See: https://schema.org/LakeBodyOfWater Model depth: 5 """ - type_: str = Field(default="LakeBodyOfWater", alias='@type') + type_: str = Field(default="LakeBodyOfWater", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Landform.py b/pydantic_schemaorg/Landform.py index a574ebec..0044e40b 100644 --- a/pydantic_schemaorg/Landform.py +++ b/pydantic_schemaorg/Landform.py @@ -14,5 +14,5 @@ class Landform(Place): See: https://schema.org/Landform Model depth: 3 """ - type_: str = Field(default="Landform", alias='@type') + type_: str = Field(default="Landform", alias='@type', constant=True) diff --git a/pydantic_schemaorg/LandmarksOrHistoricalBuildings.py b/pydantic_schemaorg/LandmarksOrHistoricalBuildings.py index 7ebfc63c..2c4ad2ea 100644 --- a/pydantic_schemaorg/LandmarksOrHistoricalBuildings.py +++ b/pydantic_schemaorg/LandmarksOrHistoricalBuildings.py @@ -11,5 +11,5 @@ class LandmarksOrHistoricalBuildings(Place): See: https://schema.org/LandmarksOrHistoricalBuildings Model depth: 3 """ - type_: str = Field(default="LandmarksOrHistoricalBuildings", alias='@type') + type_: str = Field(default="LandmarksOrHistoricalBuildings", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Language.py b/pydantic_schemaorg/Language.py index c17918af..55a90248 100644 --- a/pydantic_schemaorg/Language.py +++ b/pydantic_schemaorg/Language.py @@ -15,5 +15,5 @@ class Language(Intangible): See: https://schema.org/Language Model depth: 3 """ - type_: str = Field(default="Language", alias='@type') + type_: str = Field(default="Language", alias='@type', constant=True) diff --git a/pydantic_schemaorg/LaserDiscFormat.py b/pydantic_schemaorg/LaserDiscFormat.py index 1f452890..1f6b7290 100644 --- a/pydantic_schemaorg/LaserDiscFormat.py +++ b/pydantic_schemaorg/LaserDiscFormat.py @@ -11,5 +11,5 @@ class LaserDiscFormat(MusicReleaseFormatType): See: https://schema.org/LaserDiscFormat Model depth: 5 """ - type_: str = Field(default="LaserDiscFormat", alias='@type') + type_: str = Field(default="LaserDiscFormat", alias='@type', constant=True) diff --git a/pydantic_schemaorg/LearningResource.py b/pydantic_schemaorg/LearningResource.py index d421a507..a324b21b 100644 --- a/pydantic_schemaorg/LearningResource.py +++ b/pydantic_schemaorg/LearningResource.py @@ -21,7 +21,7 @@ class LearningResource(CreativeWork): See: https://schema.org/LearningResource Model depth: 3 """ - type_: str = Field(default="LearningResource", alias='@type') + type_: str = Field(default="LearningResource", alias='@type', constant=True) educationalAlignment: Optional[Union[List[Union['AlignmentObject', str]], 'AlignmentObject', str]] = Field( default=None, description="An alignment to an established educational framework. This property should not be used" diff --git a/pydantic_schemaorg/LeaveAction.py b/pydantic_schemaorg/LeaveAction.py index d504dc5b..a4876cb5 100644 --- a/pydantic_schemaorg/LeaveAction.py +++ b/pydantic_schemaorg/LeaveAction.py @@ -16,7 +16,7 @@ class LeaveAction(InteractAction): See: https://schema.org/LeaveAction Model depth: 4 """ - type_: str = Field(default="LeaveAction", alias='@type') + type_: str = Field(default="LeaveAction", alias='@type', constant=True) event: Optional[Union[List[Union['Event', str]], 'Event', str]] = Field( default=None, description="Upcoming or past event associated with this place, organization, or action.", diff --git a/pydantic_schemaorg/LeftHandDriving.py b/pydantic_schemaorg/LeftHandDriving.py index dc91f776..d4121690 100644 --- a/pydantic_schemaorg/LeftHandDriving.py +++ b/pydantic_schemaorg/LeftHandDriving.py @@ -12,5 +12,5 @@ class LeftHandDriving(SteeringPositionValue): See: https://schema.org/LeftHandDriving Model depth: 6 """ - type_: str = Field(default="LeftHandDriving", alias='@type') + type_: str = Field(default="LeftHandDriving", alias='@type', constant=True) diff --git a/pydantic_schemaorg/LegalForceStatus.py b/pydantic_schemaorg/LegalForceStatus.py index d3e3dba3..1f8a5693 100644 --- a/pydantic_schemaorg/LegalForceStatus.py +++ b/pydantic_schemaorg/LegalForceStatus.py @@ -11,5 +11,5 @@ class LegalForceStatus(StatusEnumeration): See: https://schema.org/LegalForceStatus Model depth: 5 """ - type_: str = Field(default="LegalForceStatus", alias='@type') + type_: str = Field(default="LegalForceStatus", alias='@type', constant=True) diff --git a/pydantic_schemaorg/LegalService.py b/pydantic_schemaorg/LegalService.py index 974adad3..f0eb9297 100644 --- a/pydantic_schemaorg/LegalService.py +++ b/pydantic_schemaorg/LegalService.py @@ -13,5 +13,5 @@ class LegalService(LocalBusiness): See: https://schema.org/LegalService Model depth: 4 """ - type_: str = Field(default="LegalService", alias='@type') + type_: str = Field(default="LegalService", alias='@type', constant=True) diff --git a/pydantic_schemaorg/LegalValueLevel.py b/pydantic_schemaorg/LegalValueLevel.py index 80c24f89..7ac2447f 100644 --- a/pydantic_schemaorg/LegalValueLevel.py +++ b/pydantic_schemaorg/LegalValueLevel.py @@ -11,5 +11,5 @@ class LegalValueLevel(Enumeration): See: https://schema.org/LegalValueLevel Model depth: 4 """ - type_: str = Field(default="LegalValueLevel", alias='@type') + type_: str = Field(default="LegalValueLevel", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Legislation.py b/pydantic_schemaorg/Legislation.py index ad969953..d83b5eb4 100644 --- a/pydantic_schemaorg/Legislation.py +++ b/pydantic_schemaorg/Legislation.py @@ -17,8 +17,8 @@ class Legislation(CreativeWork): See: https://schema.org/Legislation Model depth: 3 """ - type_: str = Field(default="Legislation", alias='@type') - legislationPassedBy: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + type_: str = Field(default="Legislation", alias='@type', constant=True) + legislationPassedBy: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="The person or organization that originally passed or made the law : typically parliament" "(for primary legislation) or government (for secondary legislation). This indicates" @@ -69,7 +69,7 @@ class Legislation(CreativeWork): description="Indicates a legal jurisdiction, e.g. of some legislation, or where some government" "service is based.", ) - legislationResponsible: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + legislationResponsible: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="An individual or organization that has some kind of responsibility for the legislation." "Typically the ministry who is/was in charge of elaborating the legislation, or the adressee" @@ -103,8 +103,8 @@ class Legislation(CreativeWork): if TYPE_CHECKING: - from pydantic_schemaorg.Person import Person from pydantic_schemaorg.Organization import Organization + from pydantic_schemaorg.Person import Person from pydantic_schemaorg.Date import Date from pydantic_schemaorg.LegalForceStatus import LegalForceStatus from pydantic_schemaorg.URL import URL diff --git a/pydantic_schemaorg/LegislationObject.py b/pydantic_schemaorg/LegislationObject.py index 13779d0a..4f5526e2 100644 --- a/pydantic_schemaorg/LegislationObject.py +++ b/pydantic_schemaorg/LegislationObject.py @@ -17,7 +17,7 @@ class LegislationObject(MediaObject, Legislation): See: https://schema.org/LegislationObject Model depth: 4 """ - type_: str = Field(default="LegislationObject", alias='@type') + type_: str = Field(default="LegislationObject", alias='@type', constant=True) legislationLegalValue: Optional[Union[List[Union['LegalValueLevel', str]], 'LegalValueLevel', str]] = Field( default=None, description="The legal value of this legislation file. The same legislation can be written in multiple" diff --git a/pydantic_schemaorg/LegislativeBuilding.py b/pydantic_schemaorg/LegislativeBuilding.py index eb7b6514..6523c175 100644 --- a/pydantic_schemaorg/LegislativeBuilding.py +++ b/pydantic_schemaorg/LegislativeBuilding.py @@ -11,5 +11,5 @@ class LegislativeBuilding(GovernmentBuilding): See: https://schema.org/LegislativeBuilding Model depth: 5 """ - type_: str = Field(default="LegislativeBuilding", alias='@type') + type_: str = Field(default="LegislativeBuilding", alias='@type', constant=True) diff --git a/pydantic_schemaorg/LeisureTimeActivity.py b/pydantic_schemaorg/LeisureTimeActivity.py index 1378c7ff..e6d19c59 100644 --- a/pydantic_schemaorg/LeisureTimeActivity.py +++ b/pydantic_schemaorg/LeisureTimeActivity.py @@ -12,5 +12,5 @@ class LeisureTimeActivity(PhysicalActivityCategory): See: https://schema.org/LeisureTimeActivity Model depth: 5 """ - type_: str = Field(default="LeisureTimeActivity", alias='@type') + type_: str = Field(default="LeisureTimeActivity", alias='@type', constant=True) diff --git a/pydantic_schemaorg/LendAction.py b/pydantic_schemaorg/LendAction.py index 319167c7..8f90f4c4 100644 --- a/pydantic_schemaorg/LendAction.py +++ b/pydantic_schemaorg/LendAction.py @@ -15,7 +15,7 @@ class LendAction(TransferAction): See: https://schema.org/LendAction Model depth: 4 """ - type_: str = Field(default="LendAction", alias='@type') + type_: str = Field(default="LendAction", alias='@type', constant=True) borrower: Optional[Union[List[Union['Person', str]], 'Person', str]] = Field( default=None, description="A sub property of participant. The person that borrows the object being lent.", diff --git a/pydantic_schemaorg/Library.py b/pydantic_schemaorg/Library.py index 57d85869..d28dbc84 100644 --- a/pydantic_schemaorg/Library.py +++ b/pydantic_schemaorg/Library.py @@ -11,5 +11,5 @@ class Library(LocalBusiness): See: https://schema.org/Library Model depth: 4 """ - type_: str = Field(default="Library", alias='@type') + type_: str = Field(default="Library", alias='@type', constant=True) diff --git a/pydantic_schemaorg/LibrarySystem.py b/pydantic_schemaorg/LibrarySystem.py index b87de93d..2157ae90 100644 --- a/pydantic_schemaorg/LibrarySystem.py +++ b/pydantic_schemaorg/LibrarySystem.py @@ -11,5 +11,5 @@ class LibrarySystem(Organization): See: https://schema.org/LibrarySystem Model depth: 3 """ - type_: str = Field(default="LibrarySystem", alias='@type') + type_: str = Field(default="LibrarySystem", alias='@type', constant=True) diff --git a/pydantic_schemaorg/LifestyleModification.py b/pydantic_schemaorg/LifestyleModification.py index 9d409c4d..02aec82b 100644 --- a/pydantic_schemaorg/LifestyleModification.py +++ b/pydantic_schemaorg/LifestyleModification.py @@ -12,5 +12,5 @@ class LifestyleModification(MedicalEntity): See: https://schema.org/LifestyleModification Model depth: 3 """ - type_: str = Field(default="LifestyleModification", alias='@type') + type_: str = Field(default="LifestyleModification", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Ligament.py b/pydantic_schemaorg/Ligament.py index f2464157..9bf5516c 100644 --- a/pydantic_schemaorg/Ligament.py +++ b/pydantic_schemaorg/Ligament.py @@ -12,5 +12,5 @@ class Ligament(AnatomicalStructure): See: https://schema.org/Ligament Model depth: 4 """ - type_: str = Field(default="Ligament", alias='@type') + type_: str = Field(default="Ligament", alias='@type', constant=True) diff --git a/pydantic_schemaorg/LikeAction.py b/pydantic_schemaorg/LikeAction.py index e9cb797b..90c46892 100644 --- a/pydantic_schemaorg/LikeAction.py +++ b/pydantic_schemaorg/LikeAction.py @@ -12,5 +12,5 @@ class LikeAction(ReactAction): See: https://schema.org/LikeAction Model depth: 5 """ - type_: str = Field(default="LikeAction", alias='@type') + type_: str = Field(default="LikeAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/LimitedAvailability.py b/pydantic_schemaorg/LimitedAvailability.py index ef03a4f4..ede0d00d 100644 --- a/pydantic_schemaorg/LimitedAvailability.py +++ b/pydantic_schemaorg/LimitedAvailability.py @@ -11,5 +11,5 @@ class LimitedAvailability(ItemAvailability): See: https://schema.org/LimitedAvailability Model depth: 5 """ - type_: str = Field(default="LimitedAvailability", alias='@type') + type_: str = Field(default="LimitedAvailability", alias='@type', constant=True) diff --git a/pydantic_schemaorg/LimitedByGuaranteeCharity.py b/pydantic_schemaorg/LimitedByGuaranteeCharity.py index c95ec56a..bba5f28f 100644 --- a/pydantic_schemaorg/LimitedByGuaranteeCharity.py +++ b/pydantic_schemaorg/LimitedByGuaranteeCharity.py @@ -12,5 +12,5 @@ class LimitedByGuaranteeCharity(UKNonprofitType): See: https://schema.org/LimitedByGuaranteeCharity Model depth: 6 """ - type_: str = Field(default="LimitedByGuaranteeCharity", alias='@type') + type_: str = Field(default="LimitedByGuaranteeCharity", alias='@type', constant=True) diff --git a/pydantic_schemaorg/LinkRole.py b/pydantic_schemaorg/LinkRole.py index 788184c1..c5648394 100644 --- a/pydantic_schemaorg/LinkRole.py +++ b/pydantic_schemaorg/LinkRole.py @@ -17,7 +17,7 @@ class LinkRole(Role): See: https://schema.org/LinkRole Model depth: 4 """ - type_: str = Field(default="LinkRole", alias='@type') + type_: str = Field(default="LinkRole", alias='@type', constant=True) linkRelationship: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="Indicates the relationship type of a Web link.", diff --git a/pydantic_schemaorg/LiquorStore.py b/pydantic_schemaorg/LiquorStore.py index 93e8227d..2837633a 100644 --- a/pydantic_schemaorg/LiquorStore.py +++ b/pydantic_schemaorg/LiquorStore.py @@ -11,5 +11,5 @@ class LiquorStore(Store): See: https://schema.org/LiquorStore Model depth: 5 """ - type_: str = Field(default="LiquorStore", alias='@type') + type_: str = Field(default="LiquorStore", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ListItem.py b/pydantic_schemaorg/ListItem.py index ab1f998b..25759627 100644 --- a/pydantic_schemaorg/ListItem.py +++ b/pydantic_schemaorg/ListItem.py @@ -14,7 +14,7 @@ class ListItem(Intangible): See: https://schema.org/ListItem Model depth: 3 """ - type_: str = Field(default="ListItem", alias='@type') + type_: str = Field(default="ListItem", alias='@type', constant=True) position: Optional[Union[List[Union[int, 'Integer', str, 'Text']], int, 'Integer', str, 'Text']] = Field( default=None, description="The position of an item in a series or sequence of items.", diff --git a/pydantic_schemaorg/ListPrice.py b/pydantic_schemaorg/ListPrice.py index 2e55f76e..025304d3 100644 --- a/pydantic_schemaorg/ListPrice.py +++ b/pydantic_schemaorg/ListPrice.py @@ -12,5 +12,5 @@ class ListPrice(PriceTypeEnumeration): See: https://schema.org/ListPrice Model depth: 5 """ - type_: str = Field(default="ListPrice", alias='@type') + type_: str = Field(default="ListPrice", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ListenAction.py b/pydantic_schemaorg/ListenAction.py index 7552287f..3d52b8a1 100644 --- a/pydantic_schemaorg/ListenAction.py +++ b/pydantic_schemaorg/ListenAction.py @@ -11,5 +11,5 @@ class ListenAction(ConsumeAction): See: https://schema.org/ListenAction Model depth: 4 """ - type_: str = Field(default="ListenAction", alias='@type') + type_: str = Field(default="ListenAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/LiteraryEvent.py b/pydantic_schemaorg/LiteraryEvent.py index 3a375657..2d47bbd6 100644 --- a/pydantic_schemaorg/LiteraryEvent.py +++ b/pydantic_schemaorg/LiteraryEvent.py @@ -11,5 +11,5 @@ class LiteraryEvent(Event): See: https://schema.org/LiteraryEvent Model depth: 3 """ - type_: str = Field(default="LiteraryEvent", alias='@type') + type_: str = Field(default="LiteraryEvent", alias='@type', constant=True) diff --git a/pydantic_schemaorg/LiveAlbum.py b/pydantic_schemaorg/LiveAlbum.py index b5edef0c..7c27a161 100644 --- a/pydantic_schemaorg/LiveAlbum.py +++ b/pydantic_schemaorg/LiveAlbum.py @@ -11,5 +11,5 @@ class LiveAlbum(MusicAlbumProductionType): See: https://schema.org/LiveAlbum Model depth: 5 """ - type_: str = Field(default="LiveAlbum", alias='@type') + type_: str = Field(default="LiveAlbum", alias='@type', constant=True) diff --git a/pydantic_schemaorg/LiveBlogPosting.py b/pydantic_schemaorg/LiveBlogPosting.py index c949c9c5..847b62de 100644 --- a/pydantic_schemaorg/LiveBlogPosting.py +++ b/pydantic_schemaorg/LiveBlogPosting.py @@ -16,7 +16,7 @@ class LiveBlogPosting(BlogPosting): See: https://schema.org/LiveBlogPosting Model depth: 6 """ - type_: str = Field(default="LiveBlogPosting", alias='@type') + type_: str = Field(default="LiveBlogPosting", alias='@type', constant=True) coverageEndTime: Optional[Union[List[Union[ISO8601Date, 'DateTime', str]], ISO8601Date, 'DateTime', str]] = Field( default=None, description="The time when the live blog will stop covering the Event. Note that coverage may continue" diff --git a/pydantic_schemaorg/LivingWithHealthAspect.py b/pydantic_schemaorg/LivingWithHealthAspect.py index a5681962..b13603e4 100644 --- a/pydantic_schemaorg/LivingWithHealthAspect.py +++ b/pydantic_schemaorg/LivingWithHealthAspect.py @@ -11,5 +11,5 @@ class LivingWithHealthAspect(HealthAspectEnumeration): See: https://schema.org/LivingWithHealthAspect Model depth: 5 """ - type_: str = Field(default="LivingWithHealthAspect", alias='@type') + type_: str = Field(default="LivingWithHealthAspect", alias='@type', constant=True) diff --git a/pydantic_schemaorg/LoanOrCredit.py b/pydantic_schemaorg/LoanOrCredit.py index 7bbaccdb..9bfe6422 100644 --- a/pydantic_schemaorg/LoanOrCredit.py +++ b/pydantic_schemaorg/LoanOrCredit.py @@ -17,7 +17,7 @@ class LoanOrCredit(FinancialProduct): See: https://schema.org/LoanOrCredit Model depth: 5 """ - type_: str = Field(default="LoanOrCredit", alias='@type') + type_: str = Field(default="LoanOrCredit", alias='@type', constant=True) loanRepaymentForm: Optional[Union[List[Union['RepaymentSpecification', str]], 'RepaymentSpecification', str]] = Field( default=None, description="A form of paying back money previously borrowed from a lender. Repayment usually takes" @@ -37,7 +37,7 @@ class LoanOrCredit(FinancialProduct): default=None, description="The type of a loan or credit.", ) - amount: Optional[Union[List[Union[Decimal, 'Number', 'MonetaryAmount', str]], Decimal, 'Number', 'MonetaryAmount', str]] = Field( + amount: Optional[Union[List[Union[int, float, 'Number', 'MonetaryAmount', str]], int, float, 'Number', 'MonetaryAmount', str]] = Field( default=None, description="The amount of money.", ) diff --git a/pydantic_schemaorg/LocalBusiness.py b/pydantic_schemaorg/LocalBusiness.py index 3cc0ce61..b9342900 100644 --- a/pydantic_schemaorg/LocalBusiness.py +++ b/pydantic_schemaorg/LocalBusiness.py @@ -5,11 +5,11 @@ from pydantic import Field -from pydantic_schemaorg.Place import Place from pydantic_schemaorg.Organization import Organization +from pydantic_schemaorg.Place import Place -class LocalBusiness(Place, Organization): +class LocalBusiness(Organization, Place): """A particular physical business or branch of an organization. Examples of LocalBusiness" "include a restaurant, a particular branch of a restaurant chain, a branch of a bank, a" "medical practice, a club, a bowling alley, etc. @@ -17,7 +17,7 @@ class LocalBusiness(Place, Organization): See: https://schema.org/LocalBusiness Model depth: 3 """ - type_: str = Field(default="LocalBusiness", alias='@type') + type_: str = Field(default="LocalBusiness", alias='@type', constant=True) priceRange: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="The price range of the business, for example ```$$$```.", diff --git a/pydantic_schemaorg/LocationFeatureSpecification.py b/pydantic_schemaorg/LocationFeatureSpecification.py index 8b1af6c5..9fadaf8c 100644 --- a/pydantic_schemaorg/LocationFeatureSpecification.py +++ b/pydantic_schemaorg/LocationFeatureSpecification.py @@ -16,7 +16,7 @@ class LocationFeatureSpecification(PropertyValue): See: https://schema.org/LocationFeatureSpecification Model depth: 5 """ - type_: str = Field(default="LocationFeatureSpecification", alias='@type') + type_: str = Field(default="LocationFeatureSpecification", alias='@type', constant=True) validFrom: Optional[Union[List[Union[ISO8601Date, 'DateTime', ISO8601Date, 'Date', str]], ISO8601Date, 'DateTime', ISO8601Date, 'Date', str]] = Field( default=None, description="The date when the item becomes valid.", diff --git a/pydantic_schemaorg/LockerDelivery.py b/pydantic_schemaorg/LockerDelivery.py index 03fa303e..0e93f87d 100644 --- a/pydantic_schemaorg/LockerDelivery.py +++ b/pydantic_schemaorg/LockerDelivery.py @@ -11,5 +11,5 @@ class LockerDelivery(DeliveryMethod): See: https://schema.org/LockerDelivery Model depth: 5 """ - type_: str = Field(default="LockerDelivery", alias='@type') + type_: str = Field(default="LockerDelivery", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Locksmith.py b/pydantic_schemaorg/Locksmith.py index 3e5ba3e8..3cca5d37 100644 --- a/pydantic_schemaorg/Locksmith.py +++ b/pydantic_schemaorg/Locksmith.py @@ -11,5 +11,5 @@ class Locksmith(HomeAndConstructionBusiness): See: https://schema.org/Locksmith Model depth: 5 """ - type_: str = Field(default="Locksmith", alias='@type') + type_: str = Field(default="Locksmith", alias='@type', constant=True) diff --git a/pydantic_schemaorg/LodgingBusiness.py b/pydantic_schemaorg/LodgingBusiness.py index 4d67a7f9..83a5d648 100644 --- a/pydantic_schemaorg/LodgingBusiness.py +++ b/pydantic_schemaorg/LodgingBusiness.py @@ -18,14 +18,14 @@ class LodgingBusiness(LocalBusiness): See: https://schema.org/LodgingBusiness Model depth: 4 """ - type_: str = Field(default="LodgingBusiness", alias='@type') + type_: str = Field(default="LodgingBusiness", alias='@type', constant=True) amenityFeature: Optional[Union[List[Union['LocationFeatureSpecification', str]], 'LocationFeatureSpecification', str]] = Field( default=None, description="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.", ) - numberOfRooms: Optional[Union[List[Union[Decimal, 'Number', 'QuantitativeValue', str]], Decimal, 'Number', 'QuantitativeValue', str]] = Field( + numberOfRooms: Optional[Union[List[Union[int, float, 'Number', 'QuantitativeValue', str]], int, float, 'Number', 'QuantitativeValue', str]] = Field( default=None, description="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" @@ -41,7 +41,7 @@ class LodgingBusiness(LocalBusiness): default=None, description="The earliest someone may check into a lodging establishment.", ) - petsAllowed: Optional[Union[List[Union[StrictBool, 'Boolean', str, 'Text']], StrictBool, 'Boolean', str, 'Text']] = Field( + petsAllowed: Optional[Union[List[Union[str, 'Text', StrictBool, 'Boolean']], str, 'Text', StrictBool, 'Boolean']] = Field( default=None, description="Indicates whether pets are allowed to enter the accommodation or lodging business." "More detailed information can be put in a text value.", @@ -69,7 +69,7 @@ class LodgingBusiness(LocalBusiness): from pydantic_schemaorg.Rating import Rating from pydantic_schemaorg.DateTime import DateTime from pydantic_schemaorg.Time import Time - from pydantic_schemaorg.Boolean import Boolean from pydantic_schemaorg.Text import Text + from pydantic_schemaorg.Boolean import Boolean from pydantic_schemaorg.Audience import Audience from pydantic_schemaorg.Language import Language diff --git a/pydantic_schemaorg/LodgingReservation.py b/pydantic_schemaorg/LodgingReservation.py index a3e004cb..ef969769 100644 --- a/pydantic_schemaorg/LodgingReservation.py +++ b/pydantic_schemaorg/LodgingReservation.py @@ -18,7 +18,7 @@ class LodgingReservation(Reservation): See: https://schema.org/LodgingReservation Model depth: 4 """ - type_: str = Field(default="LodgingReservation", alias='@type') + type_: str = Field(default="LodgingReservation", alias='@type', constant=True) lodgingUnitDescription: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="A full description of the lodging unit.", diff --git a/pydantic_schemaorg/Longitudinal.py b/pydantic_schemaorg/Longitudinal.py index 0f238531..e088b416 100644 --- a/pydantic_schemaorg/Longitudinal.py +++ b/pydantic_schemaorg/Longitudinal.py @@ -14,5 +14,5 @@ class Longitudinal(MedicalObservationalStudyDesign): See: https://schema.org/Longitudinal Model depth: 6 """ - type_: str = Field(default="Longitudinal", alias='@type') + type_: str = Field(default="Longitudinal", alias='@type', constant=True) diff --git a/pydantic_schemaorg/LoseAction.py b/pydantic_schemaorg/LoseAction.py index 5b0c59a7..d8dfc49c 100644 --- a/pydantic_schemaorg/LoseAction.py +++ b/pydantic_schemaorg/LoseAction.py @@ -14,7 +14,7 @@ class LoseAction(AchieveAction): See: https://schema.org/LoseAction Model depth: 4 """ - type_: str = Field(default="LoseAction", alias='@type') + type_: str = Field(default="LoseAction", alias='@type', constant=True) winner: Optional[Union[List[Union['Person', str]], 'Person', str]] = Field( default=None, description="A sub property of participant. The winner of the action.", diff --git a/pydantic_schemaorg/LowCalorieDiet.py b/pydantic_schemaorg/LowCalorieDiet.py index a740439c..dcd525a4 100644 --- a/pydantic_schemaorg/LowCalorieDiet.py +++ b/pydantic_schemaorg/LowCalorieDiet.py @@ -11,5 +11,5 @@ class LowCalorieDiet(RestrictedDiet): See: https://schema.org/LowCalorieDiet Model depth: 5 """ - type_: str = Field(default="LowCalorieDiet", alias='@type') + type_: str = Field(default="LowCalorieDiet", alias='@type', constant=True) diff --git a/pydantic_schemaorg/LowFatDiet.py b/pydantic_schemaorg/LowFatDiet.py index ce26f7b6..fbe78354 100644 --- a/pydantic_schemaorg/LowFatDiet.py +++ b/pydantic_schemaorg/LowFatDiet.py @@ -11,5 +11,5 @@ class LowFatDiet(RestrictedDiet): See: https://schema.org/LowFatDiet Model depth: 5 """ - type_: str = Field(default="LowFatDiet", alias='@type') + type_: str = Field(default="LowFatDiet", alias='@type', constant=True) diff --git a/pydantic_schemaorg/LowLactoseDiet.py b/pydantic_schemaorg/LowLactoseDiet.py index c033b2b0..bd5a32fe 100644 --- a/pydantic_schemaorg/LowLactoseDiet.py +++ b/pydantic_schemaorg/LowLactoseDiet.py @@ -11,5 +11,5 @@ class LowLactoseDiet(RestrictedDiet): See: https://schema.org/LowLactoseDiet Model depth: 5 """ - type_: str = Field(default="LowLactoseDiet", alias='@type') + type_: str = Field(default="LowLactoseDiet", alias='@type', constant=True) diff --git a/pydantic_schemaorg/LowSaltDiet.py b/pydantic_schemaorg/LowSaltDiet.py index a52ed11a..587f9130 100644 --- a/pydantic_schemaorg/LowSaltDiet.py +++ b/pydantic_schemaorg/LowSaltDiet.py @@ -11,5 +11,5 @@ class LowSaltDiet(RestrictedDiet): See: https://schema.org/LowSaltDiet Model depth: 5 """ - type_: str = Field(default="LowSaltDiet", alias='@type') + type_: str = Field(default="LowSaltDiet", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Lung.py b/pydantic_schemaorg/Lung.py index 71433e3b..8ff85961 100644 --- a/pydantic_schemaorg/Lung.py +++ b/pydantic_schemaorg/Lung.py @@ -11,5 +11,5 @@ class Lung(PhysicalExam): See: https://schema.org/Lung Model depth: 5 """ - type_: str = Field(default="Lung", alias='@type') + type_: str = Field(default="Lung", alias='@type', constant=True) diff --git a/pydantic_schemaorg/LymphaticVessel.py b/pydantic_schemaorg/LymphaticVessel.py index f9ab62a6..0a638182 100644 --- a/pydantic_schemaorg/LymphaticVessel.py +++ b/pydantic_schemaorg/LymphaticVessel.py @@ -15,7 +15,7 @@ class LymphaticVessel(Vessel): See: https://schema.org/LymphaticVessel Model depth: 5 """ - type_: str = Field(default="LymphaticVessel", alias='@type') + type_: str = Field(default="LymphaticVessel", alias='@type', constant=True) originatesFrom: Optional[Union[List[Union['Vessel', str]], 'Vessel', str]] = Field( default=None, description="The vasculature the lymphatic structure originates, or afferents, from.", diff --git a/pydantic_schemaorg/MRI.py b/pydantic_schemaorg/MRI.py index 22ff270c..c0771856 100644 --- a/pydantic_schemaorg/MRI.py +++ b/pydantic_schemaorg/MRI.py @@ -11,5 +11,5 @@ class MRI(MedicalImagingTechnique): See: https://schema.org/MRI Model depth: 6 """ - type_: str = Field(default="MRI", alias='@type') + type_: str = Field(default="MRI", alias='@type', constant=True) diff --git a/pydantic_schemaorg/MSRP.py b/pydantic_schemaorg/MSRP.py index b5de8527..0bc413c6 100644 --- a/pydantic_schemaorg/MSRP.py +++ b/pydantic_schemaorg/MSRP.py @@ -11,5 +11,5 @@ class MSRP(PriceTypeEnumeration): See: https://schema.org/MSRP Model depth: 5 """ - type_: str = Field(default="MSRP", alias='@type') + type_: str = Field(default="MSRP", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Male.py b/pydantic_schemaorg/Male.py index 6032c347..6a142aed 100644 --- a/pydantic_schemaorg/Male.py +++ b/pydantic_schemaorg/Male.py @@ -11,5 +11,5 @@ class Male(GenderType): See: https://schema.org/Male Model depth: 5 """ - type_: str = Field(default="Male", alias='@type') + type_: str = Field(default="Male", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Manuscript.py b/pydantic_schemaorg/Manuscript.py index c90d9e57..268079f6 100644 --- a/pydantic_schemaorg/Manuscript.py +++ b/pydantic_schemaorg/Manuscript.py @@ -11,5 +11,5 @@ class Manuscript(CreativeWork): See: https://schema.org/Manuscript Model depth: 3 """ - type_: str = Field(default="Manuscript", alias='@type') + type_: str = Field(default="Manuscript", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Map.py b/pydantic_schemaorg/Map.py index 09727ba7..d4b5a274 100644 --- a/pydantic_schemaorg/Map.py +++ b/pydantic_schemaorg/Map.py @@ -14,7 +14,7 @@ class Map(CreativeWork): See: https://schema.org/Map Model depth: 3 """ - type_: str = Field(default="Map", alias='@type') + type_: str = Field(default="Map", alias='@type', constant=True) mapType: Optional[Union[List[Union['MapCategoryType', str]], 'MapCategoryType', str]] = Field( default=None, description="Indicates the kind of Map, from the MapCategoryType Enumeration.", diff --git a/pydantic_schemaorg/MapCategoryType.py b/pydantic_schemaorg/MapCategoryType.py index 1ec9a859..9310c8b3 100644 --- a/pydantic_schemaorg/MapCategoryType.py +++ b/pydantic_schemaorg/MapCategoryType.py @@ -11,5 +11,5 @@ class MapCategoryType(Enumeration): See: https://schema.org/MapCategoryType Model depth: 4 """ - type_: str = Field(default="MapCategoryType", alias='@type') + type_: str = Field(default="MapCategoryType", alias='@type', constant=True) diff --git a/pydantic_schemaorg/MarryAction.py b/pydantic_schemaorg/MarryAction.py index fd1597a0..8cfee9f3 100644 --- a/pydantic_schemaorg/MarryAction.py +++ b/pydantic_schemaorg/MarryAction.py @@ -11,5 +11,5 @@ class MarryAction(InteractAction): See: https://schema.org/MarryAction Model depth: 4 """ - type_: str = Field(default="MarryAction", alias='@type') + type_: str = Field(default="MarryAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Mass.py b/pydantic_schemaorg/Mass.py index fd5cda9a..b35f36c3 100644 --- a/pydantic_schemaorg/Mass.py +++ b/pydantic_schemaorg/Mass.py @@ -12,5 +12,5 @@ class Mass(Quantity): See: https://schema.org/Mass Model depth: 4 """ - type_: str = Field(default="Mass", alias='@type') + type_: str = Field(default="Mass", alias='@type', constant=True) diff --git a/pydantic_schemaorg/MathSolver.py b/pydantic_schemaorg/MathSolver.py index 1ae7410b..125aef50 100644 --- a/pydantic_schemaorg/MathSolver.py +++ b/pydantic_schemaorg/MathSolver.py @@ -14,7 +14,7 @@ class MathSolver(CreativeWork): See: https://schema.org/MathSolver Model depth: 3 """ - type_: str = Field(default="MathSolver", alias='@type') + type_: str = Field(default="MathSolver", alias='@type', constant=True) mathExpression: Optional[Union[List[Union[str, 'Text', 'SolveMathAction']], str, 'Text', 'SolveMathAction']] = Field( default=None, description="A mathematical expression (e.g. 'x^2-3x=0') that may be solved for a specific variable," diff --git a/pydantic_schemaorg/MaximumDoseSchedule.py b/pydantic_schemaorg/MaximumDoseSchedule.py index 9d5c8f79..958ca883 100644 --- a/pydantic_schemaorg/MaximumDoseSchedule.py +++ b/pydantic_schemaorg/MaximumDoseSchedule.py @@ -13,5 +13,5 @@ class MaximumDoseSchedule(DoseSchedule): See: https://schema.org/MaximumDoseSchedule Model depth: 5 """ - type_: str = Field(default="MaximumDoseSchedule", alias='@type') + type_: str = Field(default="MaximumDoseSchedule", alias='@type', constant=True) diff --git a/pydantic_schemaorg/MayTreatHealthAspect.py b/pydantic_schemaorg/MayTreatHealthAspect.py index b3271c78..fe09fc99 100644 --- a/pydantic_schemaorg/MayTreatHealthAspect.py +++ b/pydantic_schemaorg/MayTreatHealthAspect.py @@ -11,5 +11,5 @@ class MayTreatHealthAspect(HealthAspectEnumeration): See: https://schema.org/MayTreatHealthAspect Model depth: 5 """ - type_: str = Field(default="MayTreatHealthAspect", alias='@type') + type_: str = Field(default="MayTreatHealthAspect", alias='@type', constant=True) diff --git a/pydantic_schemaorg/MeasurementTypeEnumeration.py b/pydantic_schemaorg/MeasurementTypeEnumeration.py index 579a5522..76d61638 100644 --- a/pydantic_schemaorg/MeasurementTypeEnumeration.py +++ b/pydantic_schemaorg/MeasurementTypeEnumeration.py @@ -12,5 +12,5 @@ class MeasurementTypeEnumeration(Enumeration): See: https://schema.org/MeasurementTypeEnumeration Model depth: 4 """ - type_: str = Field(default="MeasurementTypeEnumeration", alias='@type') + type_: str = Field(default="MeasurementTypeEnumeration", alias='@type', constant=True) diff --git a/pydantic_schemaorg/MediaGallery.py b/pydantic_schemaorg/MediaGallery.py index b92c67ce..57e84438 100644 --- a/pydantic_schemaorg/MediaGallery.py +++ b/pydantic_schemaorg/MediaGallery.py @@ -12,5 +12,5 @@ class MediaGallery(CollectionPage): See: https://schema.org/MediaGallery Model depth: 5 """ - type_: str = Field(default="MediaGallery", alias='@type') + type_: str = Field(default="MediaGallery", alias='@type', constant=True) diff --git a/pydantic_schemaorg/MediaManipulationRatingEnumeration.py b/pydantic_schemaorg/MediaManipulationRatingEnumeration.py index aea48c0c..71cb9a2f 100644 --- a/pydantic_schemaorg/MediaManipulationRatingEnumeration.py +++ b/pydantic_schemaorg/MediaManipulationRatingEnumeration.py @@ -16,5 +16,5 @@ class MediaManipulationRatingEnumeration(Enumeration): See: https://schema.org/MediaManipulationRatingEnumeration Model depth: 4 """ - type_: str = Field(default="MediaManipulationRatingEnumeration", alias='@type') + type_: str = Field(default="MediaManipulationRatingEnumeration", alias='@type', constant=True) diff --git a/pydantic_schemaorg/MediaObject.py b/pydantic_schemaorg/MediaObject.py index 7c1e1a85..f8db6af1 100644 --- a/pydantic_schemaorg/MediaObject.py +++ b/pydantic_schemaorg/MediaObject.py @@ -20,7 +20,7 @@ class MediaObject(CreativeWork): See: https://schema.org/MediaObject Model depth: 3 """ - type_: str = Field(default="MediaObject", alias='@type') + type_: str = Field(default="MediaObject", alias='@type', constant=True) bitrate: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="The bitrate of the media object.", @@ -52,7 +52,7 @@ class MediaObject(CreativeWork): default=None, description="Date when this media object was uploaded to this site.", ) - height: Optional[Union[List[Union['QuantitativeValue', 'Distance', str]], 'QuantitativeValue', 'Distance', str]] = Field( + height: Optional[Union[List[Union['Distance', 'QuantitativeValue', str]], 'Distance', 'QuantitativeValue', str]] = Field( default=None, description="The height of the item.", ) @@ -121,7 +121,7 @@ class MediaObject(CreativeWork): default=None, description="Player type required—for example, Flash or Silverlight.", ) - ineligibleRegion: Optional[Union[List[Union[str, 'Text', 'GeoShape', 'Place']], str, 'Text', 'GeoShape', 'Place']] = Field( + ineligibleRegion: Optional[Union[List[Union[str, 'Text', 'Place', 'GeoShape']], str, 'Text', 'Place', 'GeoShape']] = Field( default=None, description="The ISO 3166-1 (ISO 3166-1 alpha-2) or ISO 3166-2 code, the place, or the GeoShape for" "the geo-political region(s) for which the offer or delivery charge specification is" @@ -138,8 +138,8 @@ class MediaObject(CreativeWork): from pydantic_schemaorg.Boolean import Boolean from pydantic_schemaorg.MediaSubscription import MediaSubscription from pydantic_schemaorg.Date import Date - from pydantic_schemaorg.QuantitativeValue import QuantitativeValue from pydantic_schemaorg.Distance import Distance + from pydantic_schemaorg.QuantitativeValue import QuantitativeValue from pydantic_schemaorg.DateTime import DateTime from pydantic_schemaorg.Time import Time from pydantic_schemaorg.CreativeWork import CreativeWork diff --git a/pydantic_schemaorg/MediaReview.py b/pydantic_schemaorg/MediaReview.py index 993ff9b6..619e2d00 100644 --- a/pydantic_schemaorg/MediaReview.py +++ b/pydantic_schemaorg/MediaReview.py @@ -23,8 +23,8 @@ class MediaReview(Review): See: https://schema.org/MediaReview Model depth: 4 """ - type_: str = Field(default="MediaReview", alias='@type') - originalMediaLink: Optional[Union[List[Union[AnyUrl, 'URL', 'WebPage', 'MediaObject', str]], AnyUrl, 'URL', 'WebPage', 'MediaObject', str]] = Field( + type_: str = Field(default="MediaReview", alias='@type', constant=True) + originalMediaLink: Optional[Union[List[Union[AnyUrl, 'URL', 'MediaObject', 'WebPage', str]], AnyUrl, 'URL', 'MediaObject', 'WebPage', str]] = Field( default=None, description="Link to the page containing an original version of the content, or directly to an online" "copy of the original [[MediaObject]] content, e.g. video file.", @@ -43,7 +43,7 @@ class MediaReview(Review): if TYPE_CHECKING: from pydantic_schemaorg.URL import URL - from pydantic_schemaorg.WebPage import WebPage from pydantic_schemaorg.MediaObject import MediaObject + from pydantic_schemaorg.WebPage import WebPage from pydantic_schemaorg.MediaManipulationRatingEnumeration import MediaManipulationRatingEnumeration from pydantic_schemaorg.Text import Text diff --git a/pydantic_schemaorg/MediaReviewItem.py b/pydantic_schemaorg/MediaReviewItem.py index d6c4f442..88468942 100644 --- a/pydantic_schemaorg/MediaReviewItem.py +++ b/pydantic_schemaorg/MediaReviewItem.py @@ -16,7 +16,7 @@ class MediaReviewItem(CreativeWork): See: https://schema.org/MediaReviewItem Model depth: 3 """ - type_: str = Field(default="MediaReviewItem", alias='@type') + type_: str = Field(default="MediaReviewItem", alias='@type', constant=True) mediaItemAppearance: Optional[Union[List[Union['MediaObject', str]], 'MediaObject', str]] = Field( default=None, description="In the context of a [[MediaReview]], indicates specific media item(s) that are grouped" diff --git a/pydantic_schemaorg/MediaSubscription.py b/pydantic_schemaorg/MediaSubscription.py index 345b1203..2c0ca691 100644 --- a/pydantic_schemaorg/MediaSubscription.py +++ b/pydantic_schemaorg/MediaSubscription.py @@ -14,7 +14,7 @@ class MediaSubscription(Intangible): See: https://schema.org/MediaSubscription Model depth: 3 """ - type_: str = Field(default="MediaSubscription", alias='@type') + type_: str = Field(default="MediaSubscription", alias='@type', constant=True) expectsAcceptanceOf: Optional[Union[List[Union['Offer', str]], 'Offer', str]] = Field( default=None, description="An Offer which must be accepted before the user can perform the Action. For example, the" diff --git a/pydantic_schemaorg/MedicalAudience.py b/pydantic_schemaorg/MedicalAudience.py index 33090822..5d2b57ac 100644 --- a/pydantic_schemaorg/MedicalAudience.py +++ b/pydantic_schemaorg/MedicalAudience.py @@ -12,5 +12,5 @@ class MedicalAudience(PeopleAudience, Audience): See: https://schema.org/MedicalAudience Model depth: 4 """ - type_: str = Field(default="MedicalAudience", alias='@type') + type_: str = Field(default="MedicalAudience", alias='@type', constant=True) diff --git a/pydantic_schemaorg/MedicalAudienceType.py b/pydantic_schemaorg/MedicalAudienceType.py index 13ad67fa..2ca0e033 100644 --- a/pydantic_schemaorg/MedicalAudienceType.py +++ b/pydantic_schemaorg/MedicalAudienceType.py @@ -11,5 +11,5 @@ class MedicalAudienceType(MedicalEnumeration): See: https://schema.org/MedicalAudienceType Model depth: 5 """ - type_: str = Field(default="MedicalAudienceType", alias='@type') + type_: str = Field(default="MedicalAudienceType", alias='@type', constant=True) diff --git a/pydantic_schemaorg/MedicalBusiness.py b/pydantic_schemaorg/MedicalBusiness.py index 6b501237..827ee0f6 100644 --- a/pydantic_schemaorg/MedicalBusiness.py +++ b/pydantic_schemaorg/MedicalBusiness.py @@ -12,5 +12,5 @@ class MedicalBusiness(LocalBusiness): See: https://schema.org/MedicalBusiness Model depth: 4 """ - type_: str = Field(default="MedicalBusiness", alias='@type') + type_: str = Field(default="MedicalBusiness", alias='@type', constant=True) diff --git a/pydantic_schemaorg/MedicalCause.py b/pydantic_schemaorg/MedicalCause.py index fdc631e1..0d4051fd 100644 --- a/pydantic_schemaorg/MedicalCause.py +++ b/pydantic_schemaorg/MedicalCause.py @@ -26,7 +26,7 @@ class MedicalCause(MedicalEntity): See: https://schema.org/MedicalCause Model depth: 3 """ - type_: str = Field(default="MedicalCause", alias='@type') + type_: str = Field(default="MedicalCause", alias='@type', constant=True) causeOf: Optional[Union[List[Union['MedicalEntity', str]], 'MedicalEntity', str]] = Field( default=None, description="The condition, complication, symptom, sign, etc. caused.", diff --git a/pydantic_schemaorg/MedicalClinic.py b/pydantic_schemaorg/MedicalClinic.py index cb43b0d7..25cc0f65 100644 --- a/pydantic_schemaorg/MedicalClinic.py +++ b/pydantic_schemaorg/MedicalClinic.py @@ -17,12 +17,12 @@ class MedicalClinic(MedicalBusiness, MedicalOrganization): See: https://schema.org/MedicalClinic Model depth: 4 """ - type_: str = Field(default="MedicalClinic", alias='@type') + type_: str = Field(default="MedicalClinic", alias='@type', constant=True) medicalSpecialty: Optional[Union[List[Union['MedicalSpecialty', str]], 'MedicalSpecialty', str]] = Field( default=None, description="A medical specialty of the provider.", ) - availableService: Optional[Union[List[Union['MedicalTest', 'MedicalTherapy', 'MedicalProcedure', str]], 'MedicalTest', 'MedicalTherapy', 'MedicalProcedure', str]] = Field( + availableService: Optional[Union[List[Union['MedicalTherapy', 'MedicalTest', 'MedicalProcedure', str]], 'MedicalTherapy', 'MedicalTest', 'MedicalProcedure', str]] = Field( default=None, description="A medical service available from this provider.", ) @@ -30,6 +30,6 @@ class MedicalClinic(MedicalBusiness, MedicalOrganization): if TYPE_CHECKING: from pydantic_schemaorg.MedicalSpecialty import MedicalSpecialty - from pydantic_schemaorg.MedicalTest import MedicalTest from pydantic_schemaorg.MedicalTherapy import MedicalTherapy + from pydantic_schemaorg.MedicalTest import MedicalTest from pydantic_schemaorg.MedicalProcedure import MedicalProcedure diff --git a/pydantic_schemaorg/MedicalCode.py b/pydantic_schemaorg/MedicalCode.py index b0339c41..66b7ef60 100644 --- a/pydantic_schemaorg/MedicalCode.py +++ b/pydantic_schemaorg/MedicalCode.py @@ -15,7 +15,7 @@ class MedicalCode(CategoryCode, MedicalIntangible): See: https://schema.org/MedicalCode Model depth: 4 """ - type_: str = Field(default="MedicalCode", alias='@type') + type_: str = Field(default="MedicalCode", alias='@type', constant=True) codeValue: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="A short textual code that uniquely identifies the value.", diff --git a/pydantic_schemaorg/MedicalCondition.py b/pydantic_schemaorg/MedicalCondition.py index 5e45fe85..29625665 100644 --- a/pydantic_schemaorg/MedicalCondition.py +++ b/pydantic_schemaorg/MedicalCondition.py @@ -16,7 +16,7 @@ class MedicalCondition(MedicalEntity): See: https://schema.org/MedicalCondition Model depth: 3 """ - type_: str = Field(default="MedicalCondition", alias='@type') + type_: str = Field(default="MedicalCondition", alias='@type', constant=True) epidemiology: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="The characteristics of associated patients, such as age, gender, race etc.", @@ -60,7 +60,7 @@ class MedicalCondition(MedicalEntity): default=None, description="A possible treatment to address this condition, sign or symptom.", ) - status: Optional[Union[List[Union[str, 'Text', 'EventStatusType', 'MedicalStudyStatus']], str, 'Text', 'EventStatusType', 'MedicalStudyStatus']] = Field( + status: Optional[Union[List[Union[str, 'Text', 'MedicalStudyStatus', 'EventStatusType']], str, 'Text', 'MedicalStudyStatus', 'EventStatusType']] = Field( default=None, description="The status of the study (enumerated).", ) @@ -84,7 +84,7 @@ class MedicalCondition(MedicalEntity): "may include worsening of the signs or symptoms of the disease, extension of the condition" "to other organ systems, etc.", ) - associatedAnatomy: Optional[Union[List[Union['SuperficialAnatomy', 'AnatomicalStructure', 'AnatomicalSystem', str]], 'SuperficialAnatomy', 'AnatomicalStructure', 'AnatomicalSystem', str]] = Field( + associatedAnatomy: Optional[Union[List[Union['AnatomicalStructure', 'AnatomicalSystem', 'SuperficialAnatomy', str]], 'AnatomicalStructure', 'AnatomicalSystem', 'SuperficialAnatomy', str]] = Field( default=None, description="The anatomy of the underlying organ system or structures associated with this entity.", ) @@ -103,10 +103,10 @@ class MedicalCondition(MedicalEntity): from pydantic_schemaorg.MedicalConditionStage import MedicalConditionStage from pydantic_schemaorg.DDxElement import DDxElement from pydantic_schemaorg.MedicalTherapy import MedicalTherapy - from pydantic_schemaorg.EventStatusType import EventStatusType from pydantic_schemaorg.MedicalStudyStatus import MedicalStudyStatus + from pydantic_schemaorg.EventStatusType import EventStatusType from pydantic_schemaorg.Drug import Drug - from pydantic_schemaorg.SuperficialAnatomy import SuperficialAnatomy from pydantic_schemaorg.AnatomicalStructure import AnatomicalStructure from pydantic_schemaorg.AnatomicalSystem import AnatomicalSystem + from pydantic_schemaorg.SuperficialAnatomy import SuperficialAnatomy from pydantic_schemaorg.MedicalSignOrSymptom import MedicalSignOrSymptom diff --git a/pydantic_schemaorg/MedicalConditionStage.py b/pydantic_schemaorg/MedicalConditionStage.py index 93e23606..dc0cbce4 100644 --- a/pydantic_schemaorg/MedicalConditionStage.py +++ b/pydantic_schemaorg/MedicalConditionStage.py @@ -15,8 +15,8 @@ class MedicalConditionStage(MedicalIntangible): See: https://schema.org/MedicalConditionStage Model depth: 4 """ - type_: str = Field(default="MedicalConditionStage", alias='@type') - stageAsNumber: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( + type_: str = Field(default="MedicalConditionStage", alias='@type', constant=True) + stageAsNumber: Optional[Union[List[Union[int, float, 'Number', str]], int, float, 'Number', str]] = Field( default=None, description="The stage represented as a number, e.g. 3.", ) diff --git a/pydantic_schemaorg/MedicalContraindication.py b/pydantic_schemaorg/MedicalContraindication.py index 8eb1efd2..5a973035 100644 --- a/pydantic_schemaorg/MedicalContraindication.py +++ b/pydantic_schemaorg/MedicalContraindication.py @@ -14,5 +14,5 @@ class MedicalContraindication(MedicalEntity): See: https://schema.org/MedicalContraindication Model depth: 3 """ - type_: str = Field(default="MedicalContraindication", alias='@type') + type_: str = Field(default="MedicalContraindication", alias='@type', constant=True) diff --git a/pydantic_schemaorg/MedicalDevice.py b/pydantic_schemaorg/MedicalDevice.py index d07972e4..67327d35 100644 --- a/pydantic_schemaorg/MedicalDevice.py +++ b/pydantic_schemaorg/MedicalDevice.py @@ -14,7 +14,7 @@ class MedicalDevice(MedicalEntity): See: https://schema.org/MedicalDevice Model depth: 3 """ - type_: str = Field(default="MedicalDevice", alias='@type') + type_: str = Field(default="MedicalDevice", alias='@type', constant=True) postOp: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="A description of the postoperative procedures, care, and/or followups for this device.", diff --git a/pydantic_schemaorg/MedicalDevicePurpose.py b/pydantic_schemaorg/MedicalDevicePurpose.py index 258f646b..07dfc5f3 100644 --- a/pydantic_schemaorg/MedicalDevicePurpose.py +++ b/pydantic_schemaorg/MedicalDevicePurpose.py @@ -11,5 +11,5 @@ class MedicalDevicePurpose(MedicalEnumeration): See: https://schema.org/MedicalDevicePurpose Model depth: 5 """ - type_: str = Field(default="MedicalDevicePurpose", alias='@type') + type_: str = Field(default="MedicalDevicePurpose", alias='@type', constant=True) diff --git a/pydantic_schemaorg/MedicalEntity.py b/pydantic_schemaorg/MedicalEntity.py index 15e590cf..e869361b 100644 --- a/pydantic_schemaorg/MedicalEntity.py +++ b/pydantic_schemaorg/MedicalEntity.py @@ -14,7 +14,7 @@ class MedicalEntity(Thing): See: https://schema.org/MedicalEntity Model depth: 2 """ - type_: str = Field(default="MedicalEntity", alias='@type') + type_: str = Field(default="MedicalEntity", alias='@type', constant=True) medicineSystem: Optional[Union[List[Union['MedicineSystem', str]], 'MedicineSystem', str]] = Field( default=None, description="The system of medicine that includes this MedicalEntity, for example 'evidence-based'," diff --git a/pydantic_schemaorg/MedicalEnumeration.py b/pydantic_schemaorg/MedicalEnumeration.py index a5847636..99dae7e7 100644 --- a/pydantic_schemaorg/MedicalEnumeration.py +++ b/pydantic_schemaorg/MedicalEnumeration.py @@ -13,5 +13,5 @@ class MedicalEnumeration(Enumeration): See: https://schema.org/MedicalEnumeration Model depth: 4 """ - type_: str = Field(default="MedicalEnumeration", alias='@type') + type_: str = Field(default="MedicalEnumeration", alias='@type', constant=True) diff --git a/pydantic_schemaorg/MedicalEvidenceLevel.py b/pydantic_schemaorg/MedicalEvidenceLevel.py index e52c7149..9084a999 100644 --- a/pydantic_schemaorg/MedicalEvidenceLevel.py +++ b/pydantic_schemaorg/MedicalEvidenceLevel.py @@ -11,5 +11,5 @@ class MedicalEvidenceLevel(MedicalEnumeration): See: https://schema.org/MedicalEvidenceLevel Model depth: 5 """ - type_: str = Field(default="MedicalEvidenceLevel", alias='@type') + type_: str = Field(default="MedicalEvidenceLevel", alias='@type', constant=True) diff --git a/pydantic_schemaorg/MedicalGuideline.py b/pydantic_schemaorg/MedicalGuideline.py index 7084de8d..54f3e6cb 100644 --- a/pydantic_schemaorg/MedicalGuideline.py +++ b/pydantic_schemaorg/MedicalGuideline.py @@ -20,7 +20,7 @@ class MedicalGuideline(MedicalEntity): See: https://schema.org/MedicalGuideline Model depth: 3 """ - type_: str = Field(default="MedicalGuideline", alias='@type') + type_: str = Field(default="MedicalGuideline", alias='@type', constant=True) evidenceOrigin: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="Source of the data used to formulate the guidance, e.g. RCT, consensus opinion, etc.", diff --git a/pydantic_schemaorg/MedicalGuidelineContraindication.py b/pydantic_schemaorg/MedicalGuidelineContraindication.py index b065099a..25555399 100644 --- a/pydantic_schemaorg/MedicalGuidelineContraindication.py +++ b/pydantic_schemaorg/MedicalGuidelineContraindication.py @@ -12,5 +12,5 @@ class MedicalGuidelineContraindication(MedicalGuideline): See: https://schema.org/MedicalGuidelineContraindication Model depth: 4 """ - type_: str = Field(default="MedicalGuidelineContraindication", alias='@type') + type_: str = Field(default="MedicalGuidelineContraindication", alias='@type', constant=True) diff --git a/pydantic_schemaorg/MedicalGuidelineRecommendation.py b/pydantic_schemaorg/MedicalGuidelineRecommendation.py index c51e8560..2a29589e 100644 --- a/pydantic_schemaorg/MedicalGuidelineRecommendation.py +++ b/pydantic_schemaorg/MedicalGuidelineRecommendation.py @@ -15,7 +15,7 @@ class MedicalGuidelineRecommendation(MedicalGuideline): See: https://schema.org/MedicalGuidelineRecommendation Model depth: 4 """ - type_: str = Field(default="MedicalGuidelineRecommendation", alias='@type') + type_: str = Field(default="MedicalGuidelineRecommendation", alias='@type', constant=True) recommendationStrength: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="Strength of the guideline's recommendation (e.g. 'class I').", diff --git a/pydantic_schemaorg/MedicalImagingTechnique.py b/pydantic_schemaorg/MedicalImagingTechnique.py index e24b65af..85e900a0 100644 --- a/pydantic_schemaorg/MedicalImagingTechnique.py +++ b/pydantic_schemaorg/MedicalImagingTechnique.py @@ -11,5 +11,5 @@ class MedicalImagingTechnique(MedicalEnumeration): See: https://schema.org/MedicalImagingTechnique Model depth: 5 """ - type_: str = Field(default="MedicalImagingTechnique", alias='@type') + type_: str = Field(default="MedicalImagingTechnique", alias='@type', constant=True) diff --git a/pydantic_schemaorg/MedicalIndication.py b/pydantic_schemaorg/MedicalIndication.py index 5e6de56c..b75de828 100644 --- a/pydantic_schemaorg/MedicalIndication.py +++ b/pydantic_schemaorg/MedicalIndication.py @@ -12,5 +12,5 @@ class MedicalIndication(MedicalEntity): See: https://schema.org/MedicalIndication Model depth: 3 """ - type_: str = Field(default="MedicalIndication", alias='@type') + type_: str = Field(default="MedicalIndication", alias='@type', constant=True) diff --git a/pydantic_schemaorg/MedicalIntangible.py b/pydantic_schemaorg/MedicalIntangible.py index 7a967850..ddda23a3 100644 --- a/pydantic_schemaorg/MedicalIntangible.py +++ b/pydantic_schemaorg/MedicalIntangible.py @@ -12,5 +12,5 @@ class MedicalIntangible(MedicalEntity): See: https://schema.org/MedicalIntangible Model depth: 3 """ - type_: str = Field(default="MedicalIntangible", alias='@type') + type_: str = Field(default="MedicalIntangible", alias='@type', constant=True) diff --git a/pydantic_schemaorg/MedicalObservationalStudy.py b/pydantic_schemaorg/MedicalObservationalStudy.py index 447d4aed..39f32a43 100644 --- a/pydantic_schemaorg/MedicalObservationalStudy.py +++ b/pydantic_schemaorg/MedicalObservationalStudy.py @@ -20,7 +20,7 @@ class MedicalObservationalStudy(MedicalStudy): See: https://schema.org/MedicalObservationalStudy Model depth: 4 """ - type_: str = Field(default="MedicalObservationalStudy", alias='@type') + type_: str = Field(default="MedicalObservationalStudy", alias='@type', constant=True) studyDesign: Optional[Union[List[Union['MedicalObservationalStudyDesign', str]], 'MedicalObservationalStudyDesign', str]] = Field( default=None, description="Specifics about the observational study design (enumerated).", diff --git a/pydantic_schemaorg/MedicalObservationalStudyDesign.py b/pydantic_schemaorg/MedicalObservationalStudyDesign.py index 6648b7d0..2c46550b 100644 --- a/pydantic_schemaorg/MedicalObservationalStudyDesign.py +++ b/pydantic_schemaorg/MedicalObservationalStudyDesign.py @@ -11,5 +11,5 @@ class MedicalObservationalStudyDesign(MedicalEnumeration): See: https://schema.org/MedicalObservationalStudyDesign Model depth: 5 """ - type_: str = Field(default="MedicalObservationalStudyDesign", alias='@type') + type_: str = Field(default="MedicalObservationalStudyDesign", alias='@type', constant=True) diff --git a/pydantic_schemaorg/MedicalOrganization.py b/pydantic_schemaorg/MedicalOrganization.py index a20041e5..ea1e5e80 100644 --- a/pydantic_schemaorg/MedicalOrganization.py +++ b/pydantic_schemaorg/MedicalOrganization.py @@ -15,7 +15,7 @@ class MedicalOrganization(Organization): See: https://schema.org/MedicalOrganization Model depth: 3 """ - type_: str = Field(default="MedicalOrganization", alias='@type') + type_: str = Field(default="MedicalOrganization", alias='@type', constant=True) medicalSpecialty: Optional[Union[List[Union['MedicalSpecialty', str]], 'MedicalSpecialty', str]] = Field( default=None, description="A medical specialty of the provider.", diff --git a/pydantic_schemaorg/MedicalProcedure.py b/pydantic_schemaorg/MedicalProcedure.py index f9464f54..7a369f83 100644 --- a/pydantic_schemaorg/MedicalProcedure.py +++ b/pydantic_schemaorg/MedicalProcedure.py @@ -15,7 +15,7 @@ class MedicalProcedure(MedicalEntity): See: https://schema.org/MedicalProcedure Model depth: 3 """ - type_: str = Field(default="MedicalProcedure", alias='@type') + type_: str = Field(default="MedicalProcedure", alias='@type', constant=True) procedureType: Optional[Union[List[Union['MedicalProcedureType', str]], 'MedicalProcedureType', str]] = Field( default=None, description="The type of procedure, for example Surgical, Noninvasive, or Percutaneous.", @@ -28,7 +28,7 @@ class MedicalProcedure(MedicalEntity): default=None, description="Typical preparation that a patient must undergo before having the procedure performed.", ) - status: Optional[Union[List[Union[str, 'Text', 'EventStatusType', 'MedicalStudyStatus']], str, 'Text', 'EventStatusType', 'MedicalStudyStatus']] = Field( + status: Optional[Union[List[Union[str, 'Text', 'MedicalStudyStatus', 'EventStatusType']], str, 'Text', 'MedicalStudyStatus', 'EventStatusType']] = Field( default=None, description="The status of the study (enumerated).", ) @@ -46,5 +46,5 @@ class MedicalProcedure(MedicalEntity): from pydantic_schemaorg.MedicalProcedureType import MedicalProcedureType from pydantic_schemaorg.Text import Text from pydantic_schemaorg.MedicalEntity import MedicalEntity - from pydantic_schemaorg.EventStatusType import EventStatusType from pydantic_schemaorg.MedicalStudyStatus import MedicalStudyStatus + from pydantic_schemaorg.EventStatusType import EventStatusType diff --git a/pydantic_schemaorg/MedicalProcedureType.py b/pydantic_schemaorg/MedicalProcedureType.py index ed4aa5f8..6aefe16d 100644 --- a/pydantic_schemaorg/MedicalProcedureType.py +++ b/pydantic_schemaorg/MedicalProcedureType.py @@ -11,5 +11,5 @@ class MedicalProcedureType(MedicalEnumeration): See: https://schema.org/MedicalProcedureType Model depth: 5 """ - type_: str = Field(default="MedicalProcedureType", alias='@type') + type_: str = Field(default="MedicalProcedureType", alias='@type', constant=True) diff --git a/pydantic_schemaorg/MedicalResearcher.py b/pydantic_schemaorg/MedicalResearcher.py index 552d6683..9105c893 100644 --- a/pydantic_schemaorg/MedicalResearcher.py +++ b/pydantic_schemaorg/MedicalResearcher.py @@ -11,5 +11,5 @@ class MedicalResearcher(MedicalAudienceType): See: https://schema.org/MedicalResearcher Model depth: 6 """ - type_: str = Field(default="MedicalResearcher", alias='@type') + type_: str = Field(default="MedicalResearcher", alias='@type', constant=True) diff --git a/pydantic_schemaorg/MedicalRiskCalculator.py b/pydantic_schemaorg/MedicalRiskCalculator.py index 36152690..f03e2ffb 100644 --- a/pydantic_schemaorg/MedicalRiskCalculator.py +++ b/pydantic_schemaorg/MedicalRiskCalculator.py @@ -12,5 +12,5 @@ class MedicalRiskCalculator(MedicalRiskEstimator): See: https://schema.org/MedicalRiskCalculator Model depth: 4 """ - type_: str = Field(default="MedicalRiskCalculator", alias='@type') + type_: str = Field(default="MedicalRiskCalculator", alias='@type', constant=True) diff --git a/pydantic_schemaorg/MedicalRiskEstimator.py b/pydantic_schemaorg/MedicalRiskEstimator.py index fe7ad8a7..ca9e298f 100644 --- a/pydantic_schemaorg/MedicalRiskEstimator.py +++ b/pydantic_schemaorg/MedicalRiskEstimator.py @@ -15,7 +15,7 @@ class MedicalRiskEstimator(MedicalEntity): See: https://schema.org/MedicalRiskEstimator Model depth: 3 """ - type_: str = Field(default="MedicalRiskEstimator", alias='@type') + type_: str = Field(default="MedicalRiskEstimator", alias='@type', constant=True) estimatesRiskOf: Optional[Union[List[Union['MedicalEntity', str]], 'MedicalEntity', str]] = Field( default=None, description="The condition, complication, or symptom whose risk is being estimated.", diff --git a/pydantic_schemaorg/MedicalRiskFactor.py b/pydantic_schemaorg/MedicalRiskFactor.py index 44bac9e6..dc731b0b 100644 --- a/pydantic_schemaorg/MedicalRiskFactor.py +++ b/pydantic_schemaorg/MedicalRiskFactor.py @@ -15,7 +15,7 @@ class MedicalRiskFactor(MedicalEntity): See: https://schema.org/MedicalRiskFactor Model depth: 3 """ - type_: str = Field(default="MedicalRiskFactor", alias='@type') + type_: str = Field(default="MedicalRiskFactor", alias='@type', constant=True) increasesRiskOf: Optional[Union[List[Union['MedicalEntity', str]], 'MedicalEntity', str]] = Field( default=None, description="The condition, complication, etc. influenced by this factor.", diff --git a/pydantic_schemaorg/MedicalRiskScore.py b/pydantic_schemaorg/MedicalRiskScore.py index f102c7d8..ef0391ce 100644 --- a/pydantic_schemaorg/MedicalRiskScore.py +++ b/pydantic_schemaorg/MedicalRiskScore.py @@ -15,7 +15,7 @@ class MedicalRiskScore(MedicalRiskEstimator): See: https://schema.org/MedicalRiskScore Model depth: 4 """ - type_: str = Field(default="MedicalRiskScore", alias='@type') + type_: str = Field(default="MedicalRiskScore", alias='@type', constant=True) algorithm: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="The algorithm or rules to follow to compute the score.", diff --git a/pydantic_schemaorg/MedicalScholarlyArticle.py b/pydantic_schemaorg/MedicalScholarlyArticle.py index 4d96b252..9537edf6 100644 --- a/pydantic_schemaorg/MedicalScholarlyArticle.py +++ b/pydantic_schemaorg/MedicalScholarlyArticle.py @@ -14,7 +14,7 @@ class MedicalScholarlyArticle(ScholarlyArticle): See: https://schema.org/MedicalScholarlyArticle Model depth: 5 """ - type_: str = Field(default="MedicalScholarlyArticle", alias='@type') + type_: str = Field(default="MedicalScholarlyArticle", alias='@type', constant=True) publicationType: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="The type of the medical article, taken from the US NLM MeSH publication type catalog." diff --git a/pydantic_schemaorg/MedicalSign.py b/pydantic_schemaorg/MedicalSign.py index 8149f0f5..b98cfa1b 100644 --- a/pydantic_schemaorg/MedicalSign.py +++ b/pydantic_schemaorg/MedicalSign.py @@ -15,7 +15,7 @@ class MedicalSign(MedicalSignOrSymptom): See: https://schema.org/MedicalSign Model depth: 5 """ - type_: str = Field(default="MedicalSign", alias='@type') + type_: str = Field(default="MedicalSign", alias='@type', constant=True) identifyingExam: Optional[Union[List[Union['PhysicalExam', str]], 'PhysicalExam', str]] = Field( default=None, description="A physical examination that can identify this sign.", diff --git a/pydantic_schemaorg/MedicalSignOrSymptom.py b/pydantic_schemaorg/MedicalSignOrSymptom.py index 0ce9d05a..d0ac63e3 100644 --- a/pydantic_schemaorg/MedicalSignOrSymptom.py +++ b/pydantic_schemaorg/MedicalSignOrSymptom.py @@ -15,7 +15,7 @@ class MedicalSignOrSymptom(MedicalCondition): See: https://schema.org/MedicalSignOrSymptom Model depth: 4 """ - type_: str = Field(default="MedicalSignOrSymptom", alias='@type') + type_: str = Field(default="MedicalSignOrSymptom", alias='@type', constant=True) possibleTreatment: Optional[Union[List[Union['MedicalTherapy', str]], 'MedicalTherapy', str]] = Field( default=None, description="A possible treatment to address this condition, sign or symptom.", diff --git a/pydantic_schemaorg/MedicalSpecialty.py b/pydantic_schemaorg/MedicalSpecialty.py index c7ffde8d..6da8aceb 100644 --- a/pydantic_schemaorg/MedicalSpecialty.py +++ b/pydantic_schemaorg/MedicalSpecialty.py @@ -14,5 +14,5 @@ class MedicalSpecialty(Specialty, MedicalEnumeration): See: https://schema.org/MedicalSpecialty Model depth: 5 """ - type_: str = Field(default="MedicalSpecialty", alias='@type') + type_: str = Field(default="MedicalSpecialty", alias='@type', constant=True) diff --git a/pydantic_schemaorg/MedicalStudy.py b/pydantic_schemaorg/MedicalStudy.py index e8af7bba..50d6b6c6 100644 --- a/pydantic_schemaorg/MedicalStudy.py +++ b/pydantic_schemaorg/MedicalStudy.py @@ -21,7 +21,7 @@ class MedicalStudy(MedicalEntity): See: https://schema.org/MedicalStudy Model depth: 3 """ - type_: str = Field(default="MedicalStudy", alias='@type') + type_: str = Field(default="MedicalStudy", alias='@type', constant=True) studyLocation: Optional[Union[List[Union['AdministrativeArea', str]], 'AdministrativeArea', str]] = Field( default=None, description="The location in which the study is taking/took place.", @@ -31,11 +31,11 @@ class MedicalStudy(MedicalEntity): description="A subject of the study, i.e. one of the medical conditions, therapies, devices, drugs," "etc. investigated by the study.", ) - status: Optional[Union[List[Union[str, 'Text', 'EventStatusType', 'MedicalStudyStatus']], str, 'Text', 'EventStatusType', 'MedicalStudyStatus']] = Field( + status: Optional[Union[List[Union[str, 'Text', 'MedicalStudyStatus', 'EventStatusType']], str, 'Text', 'MedicalStudyStatus', 'EventStatusType']] = Field( default=None, description="The status of the study (enumerated).", ) - sponsor: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + sponsor: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="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.", @@ -50,8 +50,8 @@ class MedicalStudy(MedicalEntity): from pydantic_schemaorg.AdministrativeArea import AdministrativeArea from pydantic_schemaorg.MedicalEntity import MedicalEntity from pydantic_schemaorg.Text import Text - from pydantic_schemaorg.EventStatusType import EventStatusType from pydantic_schemaorg.MedicalStudyStatus import MedicalStudyStatus - from pydantic_schemaorg.Person import Person + from pydantic_schemaorg.EventStatusType import EventStatusType from pydantic_schemaorg.Organization import Organization + from pydantic_schemaorg.Person import Person from pydantic_schemaorg.MedicalCondition import MedicalCondition diff --git a/pydantic_schemaorg/MedicalStudyStatus.py b/pydantic_schemaorg/MedicalStudyStatus.py index ab88f8a9..66a7425e 100644 --- a/pydantic_schemaorg/MedicalStudyStatus.py +++ b/pydantic_schemaorg/MedicalStudyStatus.py @@ -11,5 +11,5 @@ class MedicalStudyStatus(MedicalEnumeration): See: https://schema.org/MedicalStudyStatus Model depth: 5 """ - type_: str = Field(default="MedicalStudyStatus", alias='@type') + type_: str = Field(default="MedicalStudyStatus", alias='@type', constant=True) diff --git a/pydantic_schemaorg/MedicalSymptom.py b/pydantic_schemaorg/MedicalSymptom.py index 226bb9ef..58586a21 100644 --- a/pydantic_schemaorg/MedicalSymptom.py +++ b/pydantic_schemaorg/MedicalSymptom.py @@ -12,5 +12,5 @@ class MedicalSymptom(MedicalSignOrSymptom): See: https://schema.org/MedicalSymptom Model depth: 5 """ - type_: str = Field(default="MedicalSymptom", alias='@type') + type_: str = Field(default="MedicalSymptom", alias='@type', constant=True) diff --git a/pydantic_schemaorg/MedicalTest.py b/pydantic_schemaorg/MedicalTest.py index 2c21cd4a..42b67354 100644 --- a/pydantic_schemaorg/MedicalTest.py +++ b/pydantic_schemaorg/MedicalTest.py @@ -14,7 +14,7 @@ class MedicalTest(MedicalEntity): See: https://schema.org/MedicalTest Model depth: 3 """ - type_: str = Field(default="MedicalTest", alias='@type') + type_: str = Field(default="MedicalTest", alias='@type', constant=True) usesDevice: Optional[Union[List[Union['MedicalDevice', str]], 'MedicalDevice', str]] = Field( default=None, description="Device used to perform the test.", diff --git a/pydantic_schemaorg/MedicalTestPanel.py b/pydantic_schemaorg/MedicalTestPanel.py index 9267abc3..469748e3 100644 --- a/pydantic_schemaorg/MedicalTestPanel.py +++ b/pydantic_schemaorg/MedicalTestPanel.py @@ -14,7 +14,7 @@ class MedicalTestPanel(MedicalTest): See: https://schema.org/MedicalTestPanel Model depth: 4 """ - type_: str = Field(default="MedicalTestPanel", alias='@type') + type_: str = Field(default="MedicalTestPanel", alias='@type', constant=True) subTest: Optional[Union[List[Union['MedicalTest', str]], 'MedicalTest', str]] = Field( default=None, description="A component test of the panel.", diff --git a/pydantic_schemaorg/MedicalTherapy.py b/pydantic_schemaorg/MedicalTherapy.py index 145cb94e..b8d7b6c2 100644 --- a/pydantic_schemaorg/MedicalTherapy.py +++ b/pydantic_schemaorg/MedicalTherapy.py @@ -18,7 +18,7 @@ class MedicalTherapy(TherapeuticProcedure): See: https://schema.org/MedicalTherapy Model depth: 5 """ - type_: str = Field(default="MedicalTherapy", alias='@type') + type_: str = Field(default="MedicalTherapy", alias='@type', constant=True) duplicateTherapy: Optional[Union[List[Union['MedicalTherapy', str]], 'MedicalTherapy', str]] = Field( default=None, description="A therapy that duplicates or overlaps this one.", diff --git a/pydantic_schemaorg/MedicalTrial.py b/pydantic_schemaorg/MedicalTrial.py index dd4d6fb3..808fa179 100644 --- a/pydantic_schemaorg/MedicalTrial.py +++ b/pydantic_schemaorg/MedicalTrial.py @@ -17,7 +17,7 @@ class MedicalTrial(MedicalStudy): See: https://schema.org/MedicalTrial Model depth: 4 """ - type_: str = Field(default="MedicalTrial", alias='@type') + type_: str = Field(default="MedicalTrial", alias='@type', constant=True) trialDesign: Optional[Union[List[Union['MedicalTrialDesign', str]], 'MedicalTrialDesign', str]] = Field( default=None, description="Specifics about the trial design (enumerated).", diff --git a/pydantic_schemaorg/MedicalTrialDesign.py b/pydantic_schemaorg/MedicalTrialDesign.py index c2326336..e4eac9b3 100644 --- a/pydantic_schemaorg/MedicalTrialDesign.py +++ b/pydantic_schemaorg/MedicalTrialDesign.py @@ -11,5 +11,5 @@ class MedicalTrialDesign(MedicalEnumeration): See: https://schema.org/MedicalTrialDesign Model depth: 5 """ - type_: str = Field(default="MedicalTrialDesign", alias='@type') + type_: str = Field(default="MedicalTrialDesign", alias='@type', constant=True) diff --git a/pydantic_schemaorg/MedicalWebPage.py b/pydantic_schemaorg/MedicalWebPage.py index 5007f0af..26762772 100644 --- a/pydantic_schemaorg/MedicalWebPage.py +++ b/pydantic_schemaorg/MedicalWebPage.py @@ -14,8 +14,8 @@ class MedicalWebPage(WebPage): See: https://schema.org/MedicalWebPage Model depth: 4 """ - type_: str = Field(default="MedicalWebPage", alias='@type') - medicalAudience: Optional[Union[List[Union['MedicalAudience', 'MedicalAudienceType', str]], 'MedicalAudience', 'MedicalAudienceType', str]] = Field( + type_: str = Field(default="MedicalWebPage", alias='@type', constant=True) + medicalAudience: Optional[Union[List[Union['MedicalAudienceType', 'MedicalAudience', str]], 'MedicalAudienceType', 'MedicalAudience', str]] = Field( default=None, description="Medical audience for page.", ) @@ -27,6 +27,6 @@ class MedicalWebPage(WebPage): if TYPE_CHECKING: - from pydantic_schemaorg.MedicalAudience import MedicalAudience from pydantic_schemaorg.MedicalAudienceType import MedicalAudienceType + from pydantic_schemaorg.MedicalAudience import MedicalAudience from pydantic_schemaorg.Text import Text diff --git a/pydantic_schemaorg/MedicineSystem.py b/pydantic_schemaorg/MedicineSystem.py index 4d5f3b29..01ba886f 100644 --- a/pydantic_schemaorg/MedicineSystem.py +++ b/pydantic_schemaorg/MedicineSystem.py @@ -11,5 +11,5 @@ class MedicineSystem(MedicalEnumeration): See: https://schema.org/MedicineSystem Model depth: 5 """ - type_: str = Field(default="MedicineSystem", alias='@type') + type_: str = Field(default="MedicineSystem", alias='@type', constant=True) diff --git a/pydantic_schemaorg/MeetingRoom.py b/pydantic_schemaorg/MeetingRoom.py index 47dd8d0e..4205b99f 100644 --- a/pydantic_schemaorg/MeetingRoom.py +++ b/pydantic_schemaorg/MeetingRoom.py @@ -15,5 +15,5 @@ class MeetingRoom(Room): See: https://schema.org/MeetingRoom Model depth: 5 """ - type_: str = Field(default="MeetingRoom", alias='@type') + type_: str = Field(default="MeetingRoom", alias='@type', constant=True) diff --git a/pydantic_schemaorg/MensClothingStore.py b/pydantic_schemaorg/MensClothingStore.py index abcd38e7..9b23c797 100644 --- a/pydantic_schemaorg/MensClothingStore.py +++ b/pydantic_schemaorg/MensClothingStore.py @@ -11,5 +11,5 @@ class MensClothingStore(Store): See: https://schema.org/MensClothingStore Model depth: 5 """ - type_: str = Field(default="MensClothingStore", alias='@type') + type_: str = Field(default="MensClothingStore", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Menu.py b/pydantic_schemaorg/Menu.py index a6b81287..2bc7f82f 100644 --- a/pydantic_schemaorg/Menu.py +++ b/pydantic_schemaorg/Menu.py @@ -14,7 +14,7 @@ class Menu(CreativeWork): See: https://schema.org/Menu Model depth: 3 """ - type_: str = Field(default="Menu", alias='@type') + type_: str = Field(default="Menu", alias='@type', constant=True) hasMenuSection: Optional[Union[List[Union['MenuSection', str]], 'MenuSection', str]] = Field( default=None, description="A subgrouping of the menu (by dishes, course, serving time period, etc.).", diff --git a/pydantic_schemaorg/MenuItem.py b/pydantic_schemaorg/MenuItem.py index e4c08614..b71925c0 100644 --- a/pydantic_schemaorg/MenuItem.py +++ b/pydantic_schemaorg/MenuItem.py @@ -14,14 +14,14 @@ class MenuItem(Intangible): See: https://schema.org/MenuItem Model depth: 3 """ - type_: str = Field(default="MenuItem", alias='@type') - menuAddOn: Optional[Union[List[Union['MenuItem', 'MenuSection', str]], 'MenuItem', 'MenuSection', str]] = Field( + type_: str = Field(default="MenuItem", alias='@type', constant=True) + menuAddOn: Optional[Union[List[Union['MenuSection', 'MenuItem', str]], 'MenuSection', 'MenuItem', str]] = Field( default=None, description="Additional menu item(s) such as a side dish of salad or side order of fries that can be added" "to this menu item. Additionally it can be a menu section containing allowed add-on menu" "items for this menu item.", ) - offers: Optional[Union[List[Union['Offer', 'Demand', str]], 'Offer', 'Demand', str]] = Field( + offers: Optional[Union[List[Union['Demand', 'Offer', str]], 'Demand', 'Offer', str]] = Field( default=None, description="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]]" @@ -43,7 +43,7 @@ class MenuItem(Intangible): if TYPE_CHECKING: from pydantic_schemaorg.MenuSection import MenuSection - from pydantic_schemaorg.Offer import Offer from pydantic_schemaorg.Demand import Demand + from pydantic_schemaorg.Offer import Offer from pydantic_schemaorg.NutritionInformation import NutritionInformation from pydantic_schemaorg.RestrictedDiet import RestrictedDiet diff --git a/pydantic_schemaorg/MenuSection.py b/pydantic_schemaorg/MenuSection.py index 1d30af25..6343cce8 100644 --- a/pydantic_schemaorg/MenuSection.py +++ b/pydantic_schemaorg/MenuSection.py @@ -16,7 +16,7 @@ class MenuSection(CreativeWork): See: https://schema.org/MenuSection Model depth: 3 """ - type_: str = Field(default="MenuSection", alias='@type') + type_: str = Field(default="MenuSection", alias='@type', constant=True) hasMenuSection: Optional[Union[List[Union['MenuSection', str]], 'MenuSection', str]] = Field( default=None, description="A subgrouping of the menu (by dishes, course, serving time period, etc.).", diff --git a/pydantic_schemaorg/MerchantReturnEnumeration.py b/pydantic_schemaorg/MerchantReturnEnumeration.py index 80922af9..b8e9dfc3 100644 --- a/pydantic_schemaorg/MerchantReturnEnumeration.py +++ b/pydantic_schemaorg/MerchantReturnEnumeration.py @@ -11,5 +11,5 @@ class MerchantReturnEnumeration(Enumeration): See: https://schema.org/MerchantReturnEnumeration Model depth: 4 """ - type_: str = Field(default="MerchantReturnEnumeration", alias='@type') + type_: str = Field(default="MerchantReturnEnumeration", alias='@type', constant=True) diff --git a/pydantic_schemaorg/MerchantReturnFiniteReturnWindow.py b/pydantic_schemaorg/MerchantReturnFiniteReturnWindow.py index 06ff1f7e..ed5cf3dc 100644 --- a/pydantic_schemaorg/MerchantReturnFiniteReturnWindow.py +++ b/pydantic_schemaorg/MerchantReturnFiniteReturnWindow.py @@ -11,5 +11,5 @@ class MerchantReturnFiniteReturnWindow(MerchantReturnEnumeration): See: https://schema.org/MerchantReturnFiniteReturnWindow Model depth: 5 """ - type_: str = Field(default="MerchantReturnFiniteReturnWindow", alias='@type') + type_: str = Field(default="MerchantReturnFiniteReturnWindow", alias='@type', constant=True) diff --git a/pydantic_schemaorg/MerchantReturnNotPermitted.py b/pydantic_schemaorg/MerchantReturnNotPermitted.py index acfcda1c..7b4f7b29 100644 --- a/pydantic_schemaorg/MerchantReturnNotPermitted.py +++ b/pydantic_schemaorg/MerchantReturnNotPermitted.py @@ -11,5 +11,5 @@ class MerchantReturnNotPermitted(MerchantReturnEnumeration): See: https://schema.org/MerchantReturnNotPermitted Model depth: 5 """ - type_: str = Field(default="MerchantReturnNotPermitted", alias='@type') + type_: str = Field(default="MerchantReturnNotPermitted", alias='@type', constant=True) diff --git a/pydantic_schemaorg/MerchantReturnPolicy.py b/pydantic_schemaorg/MerchantReturnPolicy.py index 68a1c877..2d8d661a 100644 --- a/pydantic_schemaorg/MerchantReturnPolicy.py +++ b/pydantic_schemaorg/MerchantReturnPolicy.py @@ -18,7 +18,7 @@ class MerchantReturnPolicy(Intangible): See: https://schema.org/MerchantReturnPolicy Model depth: 3 """ - type_: str = Field(default="MerchantReturnPolicy", alias='@type') + type_: str = Field(default="MerchantReturnPolicy", alias='@type', constant=True) customerRemorseReturnFees: Optional[Union[List[Union['ReturnFeesEnumeration', str]], 'ReturnFeesEnumeration', str]] = Field( default=None, description="The type of return fees if the product is returned due to customer remorse.", @@ -96,7 +96,7 @@ class MerchantReturnPolicy(Intangible): "or service, or the products or services included in the offer. Also used for product return" "policies to specify the condition of products accepted for returns.", ) - restockingFee: Optional[Union[List[Union[Decimal, 'Number', 'MonetaryAmount', str]], Decimal, 'Number', 'MonetaryAmount', str]] = Field( + restockingFee: Optional[Union[List[Union[int, float, 'Number', 'MonetaryAmount', str]], int, float, 'Number', 'MonetaryAmount', str]] = Field( default=None, description="Use [[MonetaryAmount]] to specify a fixed restocking fee for product returns, or use" "[[Number]] to specify a percentage of the product price paid by the customer.", diff --git a/pydantic_schemaorg/MerchantReturnPolicySeasonalOverride.py b/pydantic_schemaorg/MerchantReturnPolicySeasonalOverride.py index f05085db..ba8a19fb 100644 --- a/pydantic_schemaorg/MerchantReturnPolicySeasonalOverride.py +++ b/pydantic_schemaorg/MerchantReturnPolicySeasonalOverride.py @@ -15,7 +15,7 @@ class MerchantReturnPolicySeasonalOverride(Intangible): See: https://schema.org/MerchantReturnPolicySeasonalOverride Model depth: 3 """ - type_: str = Field(default="MerchantReturnPolicySeasonalOverride", alias='@type') + type_: str = Field(default="MerchantReturnPolicySeasonalOverride", alias='@type', constant=True) merchantReturnDays: Optional[Union[List[Union[ISO8601Date, 'DateTime', int, 'Integer', ISO8601Date, 'Date', str]], ISO8601Date, 'DateTime', int, 'Integer', ISO8601Date, 'Date', str]] = Field( default=None, description="Specifies either a fixed return date or the number of days (from the delivery date) that" diff --git a/pydantic_schemaorg/MerchantReturnUnlimitedWindow.py b/pydantic_schemaorg/MerchantReturnUnlimitedWindow.py index e62830e1..4ca9dea7 100644 --- a/pydantic_schemaorg/MerchantReturnUnlimitedWindow.py +++ b/pydantic_schemaorg/MerchantReturnUnlimitedWindow.py @@ -11,5 +11,5 @@ class MerchantReturnUnlimitedWindow(MerchantReturnEnumeration): See: https://schema.org/MerchantReturnUnlimitedWindow Model depth: 5 """ - type_: str = Field(default="MerchantReturnUnlimitedWindow", alias='@type') + type_: str = Field(default="MerchantReturnUnlimitedWindow", alias='@type', constant=True) diff --git a/pydantic_schemaorg/MerchantReturnUnspecified.py b/pydantic_schemaorg/MerchantReturnUnspecified.py index da827045..c2d7904a 100644 --- a/pydantic_schemaorg/MerchantReturnUnspecified.py +++ b/pydantic_schemaorg/MerchantReturnUnspecified.py @@ -11,5 +11,5 @@ class MerchantReturnUnspecified(MerchantReturnEnumeration): See: https://schema.org/MerchantReturnUnspecified Model depth: 5 """ - type_: str = Field(default="MerchantReturnUnspecified", alias='@type') + type_: str = Field(default="MerchantReturnUnspecified", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Message.py b/pydantic_schemaorg/Message.py index 83fa6140..04076f0d 100644 --- a/pydantic_schemaorg/Message.py +++ b/pydantic_schemaorg/Message.py @@ -15,20 +15,20 @@ class Message(CreativeWork): See: https://schema.org/Message Model depth: 3 """ - type_: str = Field(default="Message", alias='@type') - sender: Optional[Union[List[Union['Person', 'Audience', 'Organization', str]], 'Person', 'Audience', 'Organization', str]] = Field( + type_: str = Field(default="Message", alias='@type', constant=True) + sender: Optional[Union[List[Union['Audience', 'Organization', 'Person', str]], 'Audience', 'Organization', 'Person', str]] = Field( default=None, description="A sub property of participant. The participant who is at the sending end of the action.", ) - ccRecipient: Optional[Union[List[Union['Person', 'Organization', 'ContactPoint', str]], 'Person', 'Organization', 'ContactPoint', str]] = Field( + ccRecipient: Optional[Union[List[Union['ContactPoint', 'Organization', 'Person', str]], 'ContactPoint', 'Organization', 'Person', str]] = Field( default=None, description="A sub property of recipient. The recipient copied on a message.", ) - toRecipient: Optional[Union[List[Union['Person', 'Audience', 'Organization', 'ContactPoint', str]], 'Person', 'Audience', 'Organization', 'ContactPoint', str]] = Field( + toRecipient: Optional[Union[List[Union['Audience', 'Organization', 'ContactPoint', 'Person', str]], 'Audience', 'Organization', 'ContactPoint', 'Person', str]] = Field( default=None, description="A sub property of recipient. The recipient who was directly sent the message.", ) - recipient: Optional[Union[List[Union['Person', 'Audience', 'Organization', 'ContactPoint', str]], 'Person', 'Audience', 'Organization', 'ContactPoint', str]] = Field( + recipient: Optional[Union[List[Union['ContactPoint', 'Audience', 'Organization', 'Person', str]], 'ContactPoint', 'Audience', 'Organization', 'Person', str]] = Field( default=None, description="A sub property of participant. The participant who is at the receiving end of the action.", ) @@ -49,16 +49,16 @@ class Message(CreativeWork): default=None, description="The date/time the message was received if a single recipient exists.", ) - bccRecipient: Optional[Union[List[Union['Person', 'Organization', 'ContactPoint', str]], 'Person', 'Organization', 'ContactPoint', str]] = Field( + bccRecipient: Optional[Union[List[Union['ContactPoint', 'Organization', 'Person', str]], 'ContactPoint', 'Organization', 'Person', str]] = Field( default=None, description="A sub property of recipient. The recipient blind copied on a message.", ) if TYPE_CHECKING: - from pydantic_schemaorg.Person import Person from pydantic_schemaorg.Audience import Audience from pydantic_schemaorg.Organization import Organization + from pydantic_schemaorg.Person import Person from pydantic_schemaorg.ContactPoint import ContactPoint from pydantic_schemaorg.CreativeWork import CreativeWork from pydantic_schemaorg.DateTime import DateTime diff --git a/pydantic_schemaorg/MiddleSchool.py b/pydantic_schemaorg/MiddleSchool.py index afd1fb09..349561d0 100644 --- a/pydantic_schemaorg/MiddleSchool.py +++ b/pydantic_schemaorg/MiddleSchool.py @@ -11,5 +11,5 @@ class MiddleSchool(EducationalOrganization): See: https://schema.org/MiddleSchool Model depth: 4 """ - type_: str = Field(default="MiddleSchool", alias='@type') + type_: str = Field(default="MiddleSchool", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Midwifery.py b/pydantic_schemaorg/Midwifery.py index 82f25255..7e3075fb 100644 --- a/pydantic_schemaorg/Midwifery.py +++ b/pydantic_schemaorg/Midwifery.py @@ -14,5 +14,5 @@ class Midwifery(MedicalSpecialty, MedicalBusiness): See: https://schema.org/Midwifery Model depth: 5 """ - type_: str = Field(default="Midwifery", alias='@type') + type_: str = Field(default="Midwifery", alias='@type', constant=True) diff --git a/pydantic_schemaorg/MinimumAdvertisedPrice.py b/pydantic_schemaorg/MinimumAdvertisedPrice.py index 99f845ce..dbe54d71 100644 --- a/pydantic_schemaorg/MinimumAdvertisedPrice.py +++ b/pydantic_schemaorg/MinimumAdvertisedPrice.py @@ -12,5 +12,5 @@ class MinimumAdvertisedPrice(PriceTypeEnumeration): See: https://schema.org/MinimumAdvertisedPrice Model depth: 5 """ - type_: str = Field(default="MinimumAdvertisedPrice", alias='@type') + type_: str = Field(default="MinimumAdvertisedPrice", alias='@type', constant=True) diff --git a/pydantic_schemaorg/MisconceptionsHealthAspect.py b/pydantic_schemaorg/MisconceptionsHealthAspect.py index 9ed2cf25..351e8d51 100644 --- a/pydantic_schemaorg/MisconceptionsHealthAspect.py +++ b/pydantic_schemaorg/MisconceptionsHealthAspect.py @@ -11,5 +11,5 @@ class MisconceptionsHealthAspect(HealthAspectEnumeration): See: https://schema.org/MisconceptionsHealthAspect Model depth: 5 """ - type_: str = Field(default="MisconceptionsHealthAspect", alias='@type') + type_: str = Field(default="MisconceptionsHealthAspect", alias='@type', constant=True) diff --git a/pydantic_schemaorg/MixedEventAttendanceMode.py b/pydantic_schemaorg/MixedEventAttendanceMode.py index c3386adb..82d64667 100644 --- a/pydantic_schemaorg/MixedEventAttendanceMode.py +++ b/pydantic_schemaorg/MixedEventAttendanceMode.py @@ -12,5 +12,5 @@ class MixedEventAttendanceMode(EventAttendanceModeEnumeration): See: https://schema.org/MixedEventAttendanceMode Model depth: 5 """ - type_: str = Field(default="MixedEventAttendanceMode", alias='@type') + type_: str = Field(default="MixedEventAttendanceMode", alias='@type', constant=True) diff --git a/pydantic_schemaorg/MixtapeAlbum.py b/pydantic_schemaorg/MixtapeAlbum.py index 5a7d7bdb..3bb2ec2a 100644 --- a/pydantic_schemaorg/MixtapeAlbum.py +++ b/pydantic_schemaorg/MixtapeAlbum.py @@ -11,5 +11,5 @@ class MixtapeAlbum(MusicAlbumProductionType): See: https://schema.org/MixtapeAlbum Model depth: 5 """ - type_: str = Field(default="MixtapeAlbum", alias='@type') + type_: str = Field(default="MixtapeAlbum", alias='@type', constant=True) diff --git a/pydantic_schemaorg/MobileApplication.py b/pydantic_schemaorg/MobileApplication.py index 61625e07..75c466df 100644 --- a/pydantic_schemaorg/MobileApplication.py +++ b/pydantic_schemaorg/MobileApplication.py @@ -15,7 +15,7 @@ class MobileApplication(SoftwareApplication): See: https://schema.org/MobileApplication Model depth: 4 """ - type_: str = Field(default="MobileApplication", alias='@type') + type_: str = Field(default="MobileApplication", alias='@type', constant=True) carrierRequirements: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="Specifies specific carrier(s) requirements for the application (e.g. an application" diff --git a/pydantic_schemaorg/MobilePhoneStore.py b/pydantic_schemaorg/MobilePhoneStore.py index 7e04aae6..a5678230 100644 --- a/pydantic_schemaorg/MobilePhoneStore.py +++ b/pydantic_schemaorg/MobilePhoneStore.py @@ -11,5 +11,5 @@ class MobilePhoneStore(Store): See: https://schema.org/MobilePhoneStore Model depth: 5 """ - type_: str = Field(default="MobilePhoneStore", alias='@type') + type_: str = Field(default="MobilePhoneStore", alias='@type', constant=True) diff --git a/pydantic_schemaorg/MolecularEntity.py b/pydantic_schemaorg/MolecularEntity.py index 3a9f5238..dee981a0 100644 --- a/pydantic_schemaorg/MolecularEntity.py +++ b/pydantic_schemaorg/MolecularEntity.py @@ -16,7 +16,7 @@ class MolecularEntity(BioChemEntity): See: https://schema.org/MolecularEntity Model depth: 3 """ - type_: str = Field(default="MolecularEntity", alias='@type') + type_: str = Field(default="MolecularEntity", alias='@type', constant=True) iupacName: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="Systematic method of naming chemical compounds as recommended by the International" diff --git a/pydantic_schemaorg/Monday.py b/pydantic_schemaorg/Monday.py index fb3f9191..a24a541d 100644 --- a/pydantic_schemaorg/Monday.py +++ b/pydantic_schemaorg/Monday.py @@ -11,5 +11,5 @@ class Monday(DayOfWeek): See: https://schema.org/Monday Model depth: 5 """ - type_: str = Field(default="Monday", alias='@type') + type_: str = Field(default="Monday", alias='@type', constant=True) diff --git a/pydantic_schemaorg/MonetaryAmount.py b/pydantic_schemaorg/MonetaryAmount.py index ae162ed1..868adef5 100644 --- a/pydantic_schemaorg/MonetaryAmount.py +++ b/pydantic_schemaorg/MonetaryAmount.py @@ -20,8 +20,8 @@ class MonetaryAmount(StructuredValue): See: https://schema.org/MonetaryAmount Model depth: 4 """ - type_: str = Field(default="MonetaryAmount", alias='@type') - minValue: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( + type_: str = Field(default="MonetaryAmount", alias='@type', constant=True) + minValue: Optional[Union[List[Union[int, float, 'Number', str]], int, float, 'Number', str]] = Field( default=None, description="The lower value of some characteristic or property.", ) @@ -29,7 +29,7 @@ class MonetaryAmount(StructuredValue): default=None, description="The date when the item becomes valid.", ) - value: Optional[Union[List[Union[Decimal, 'Number', StrictBool, 'Boolean', str, 'Text', 'StructuredValue']], Decimal, 'Number', StrictBool, 'Boolean', str, 'Text', 'StructuredValue']] = Field( + value: Optional[Union[List[Union[int, float, 'Number', str, 'Text', StrictBool, 'Boolean', 'StructuredValue']], int, float, 'Number', str, 'Text', StrictBool, 'Boolean', 'StructuredValue']] = Field( default=None, description="The value of the quantitative value or property value node. * For [[QuantitativeValue]]" "and [[MonetaryAmount]], the recommended type for values is 'Number'. * For [[PropertyValue]]," @@ -43,7 +43,7 @@ class MonetaryAmount(StructuredValue): description="The date after when the item is not valid. For example the end of an offer, salary period," "or a period of opening hours.", ) - maxValue: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( + maxValue: Optional[Union[List[Union[int, float, 'Number', str]], int, float, 'Number', str]] = Field( default=None, description="The upper value of some characteristic or property.", ) @@ -61,6 +61,6 @@ class MonetaryAmount(StructuredValue): from pydantic_schemaorg.Number import Number from pydantic_schemaorg.DateTime import DateTime from pydantic_schemaorg.Date import Date - from pydantic_schemaorg.Boolean import Boolean from pydantic_schemaorg.Text import Text + from pydantic_schemaorg.Boolean import Boolean from pydantic_schemaorg.StructuredValue import StructuredValue diff --git a/pydantic_schemaorg/MonetaryAmountDistribution.py b/pydantic_schemaorg/MonetaryAmountDistribution.py index 6335322e..0c504a70 100644 --- a/pydantic_schemaorg/MonetaryAmountDistribution.py +++ b/pydantic_schemaorg/MonetaryAmountDistribution.py @@ -14,7 +14,7 @@ class MonetaryAmountDistribution(QuantitativeValueDistribution): See: https://schema.org/MonetaryAmountDistribution Model depth: 5 """ - type_: str = Field(default="MonetaryAmountDistribution", alias='@type') + type_: str = Field(default="MonetaryAmountDistribution", alias='@type', constant=True) currency: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="The currency in which the monetary amount is expressed. Use standard formats: [ISO 4217" diff --git a/pydantic_schemaorg/MonetaryGrant.py b/pydantic_schemaorg/MonetaryGrant.py index cb5eb544..135f1fdb 100644 --- a/pydantic_schemaorg/MonetaryGrant.py +++ b/pydantic_schemaorg/MonetaryGrant.py @@ -15,20 +15,20 @@ class MonetaryGrant(Grant): See: https://schema.org/MonetaryGrant Model depth: 4 """ - type_: str = Field(default="MonetaryGrant", alias='@type') - funder: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + type_: str = Field(default="MonetaryGrant", alias='@type', constant=True) + funder: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="A person or organization that supports (sponsors) something through some kind of financial" "contribution.", ) - amount: Optional[Union[List[Union[Decimal, 'Number', 'MonetaryAmount', str]], Decimal, 'Number', 'MonetaryAmount', str]] = Field( + amount: Optional[Union[List[Union[int, float, 'Number', 'MonetaryAmount', str]], int, float, 'Number', 'MonetaryAmount', str]] = Field( default=None, description="The amount of money.", ) if TYPE_CHECKING: - from pydantic_schemaorg.Person import Person from pydantic_schemaorg.Organization import Organization + from pydantic_schemaorg.Person import Person from pydantic_schemaorg.Number import Number from pydantic_schemaorg.MonetaryAmount import MonetaryAmount diff --git a/pydantic_schemaorg/MoneyTransfer.py b/pydantic_schemaorg/MoneyTransfer.py index e9f37176..d90e4fa9 100644 --- a/pydantic_schemaorg/MoneyTransfer.py +++ b/pydantic_schemaorg/MoneyTransfer.py @@ -16,8 +16,8 @@ class MoneyTransfer(TransferAction): See: https://schema.org/MoneyTransfer Model depth: 4 """ - type_: str = Field(default="MoneyTransfer", alias='@type') - amount: Optional[Union[List[Union[Decimal, 'Number', 'MonetaryAmount', str]], Decimal, 'Number', 'MonetaryAmount', str]] = Field( + type_: str = Field(default="MoneyTransfer", alias='@type', constant=True) + amount: Optional[Union[List[Union[int, float, 'Number', 'MonetaryAmount', str]], int, float, 'Number', 'MonetaryAmount', str]] = Field( default=None, description="The amount of money.", ) diff --git a/pydantic_schemaorg/MortgageLoan.py b/pydantic_schemaorg/MortgageLoan.py index 084ddfa9..96b80eea 100644 --- a/pydantic_schemaorg/MortgageLoan.py +++ b/pydantic_schemaorg/MortgageLoan.py @@ -16,7 +16,7 @@ class MortgageLoan(LoanOrCredit): See: https://schema.org/MortgageLoan Model depth: 6 """ - type_: str = Field(default="MortgageLoan", alias='@type') + type_: str = Field(default="MortgageLoan", alias='@type', constant=True) domiciledMortgage: Optional[Union[List[Union[StrictBool, 'Boolean', str]], StrictBool, 'Boolean', str]] = Field( default=None, description="Whether borrower is a resident of the jurisdiction where the property is located.", diff --git a/pydantic_schemaorg/Mosque.py b/pydantic_schemaorg/Mosque.py index 2533e632..568f07a6 100644 --- a/pydantic_schemaorg/Mosque.py +++ b/pydantic_schemaorg/Mosque.py @@ -11,5 +11,5 @@ class Mosque(PlaceOfWorship): See: https://schema.org/Mosque Model depth: 5 """ - type_: str = Field(default="Mosque", alias='@type') + type_: str = Field(default="Mosque", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Motel.py b/pydantic_schemaorg/Motel.py index b9e07efa..b67afb16 100644 --- a/pydantic_schemaorg/Motel.py +++ b/pydantic_schemaorg/Motel.py @@ -12,5 +12,5 @@ class Motel(LodgingBusiness): See: https://schema.org/Motel Model depth: 5 """ - type_: str = Field(default="Motel", alias='@type') + type_: str = Field(default="Motel", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Motorcycle.py b/pydantic_schemaorg/Motorcycle.py index 6c11f66f..42c23c8a 100644 --- a/pydantic_schemaorg/Motorcycle.py +++ b/pydantic_schemaorg/Motorcycle.py @@ -11,5 +11,5 @@ class Motorcycle(Vehicle): See: https://schema.org/Motorcycle Model depth: 4 """ - type_: str = Field(default="Motorcycle", alias='@type') + type_: str = Field(default="Motorcycle", alias='@type', constant=True) diff --git a/pydantic_schemaorg/MotorcycleDealer.py b/pydantic_schemaorg/MotorcycleDealer.py index f0763c73..0d2bc094 100644 --- a/pydantic_schemaorg/MotorcycleDealer.py +++ b/pydantic_schemaorg/MotorcycleDealer.py @@ -11,5 +11,5 @@ class MotorcycleDealer(AutomotiveBusiness): See: https://schema.org/MotorcycleDealer Model depth: 5 """ - type_: str = Field(default="MotorcycleDealer", alias='@type') + type_: str = Field(default="MotorcycleDealer", alias='@type', constant=True) diff --git a/pydantic_schemaorg/MotorcycleRepair.py b/pydantic_schemaorg/MotorcycleRepair.py index 1516fdfa..b7993dc5 100644 --- a/pydantic_schemaorg/MotorcycleRepair.py +++ b/pydantic_schemaorg/MotorcycleRepair.py @@ -11,5 +11,5 @@ class MotorcycleRepair(AutomotiveBusiness): See: https://schema.org/MotorcycleRepair Model depth: 5 """ - type_: str = Field(default="MotorcycleRepair", alias='@type') + type_: str = Field(default="MotorcycleRepair", alias='@type', constant=True) diff --git a/pydantic_schemaorg/MotorizedBicycle.py b/pydantic_schemaorg/MotorizedBicycle.py index 609473d2..9ab5f1cd 100644 --- a/pydantic_schemaorg/MotorizedBicycle.py +++ b/pydantic_schemaorg/MotorizedBicycle.py @@ -12,5 +12,5 @@ class MotorizedBicycle(Vehicle): See: https://schema.org/MotorizedBicycle Model depth: 4 """ - type_: str = Field(default="MotorizedBicycle", alias='@type') + type_: str = Field(default="MotorizedBicycle", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Mountain.py b/pydantic_schemaorg/Mountain.py index 144194d9..5d429ab9 100644 --- a/pydantic_schemaorg/Mountain.py +++ b/pydantic_schemaorg/Mountain.py @@ -11,5 +11,5 @@ class Mountain(Landform): See: https://schema.org/Mountain Model depth: 4 """ - type_: str = Field(default="Mountain", alias='@type') + type_: str = Field(default="Mountain", alias='@type', constant=True) diff --git a/pydantic_schemaorg/MoveAction.py b/pydantic_schemaorg/MoveAction.py index e5f29cd1..fc9fe5c9 100644 --- a/pydantic_schemaorg/MoveAction.py +++ b/pydantic_schemaorg/MoveAction.py @@ -16,7 +16,7 @@ class MoveAction(Action): See: https://schema.org/MoveAction Model depth: 3 """ - type_: str = Field(default="MoveAction", alias='@type') + type_: str = Field(default="MoveAction", alias='@type', constant=True) fromLocation: Optional[Union[List[Union['Place', str]], 'Place', str]] = Field( default=None, description="A sub property of location. The original location of the object or the agent before the" diff --git a/pydantic_schemaorg/Movie.py b/pydantic_schemaorg/Movie.py index 86fbb21c..a64786b4 100644 --- a/pydantic_schemaorg/Movie.py +++ b/pydantic_schemaorg/Movie.py @@ -15,7 +15,7 @@ class Movie(CreativeWork): See: https://schema.org/Movie Model depth: 3 """ - type_: str = Field(default="Movie", alias='@type') + type_: str = Field(default="Movie", alias='@type', constant=True) actors: Optional[Union[List[Union['Person', str]], 'Person', str]] = Field( default=None, description="An actor, e.g. in tv, radio, movie, video games etc. Actors can be associated with individual" @@ -73,7 +73,7 @@ class Movie(CreativeWork): description="A director of e.g. tv, radio, movie, video games etc. content. Directors can be associated" "with individual items or with a series, episode, clip.", ) - musicBy: Optional[Union[List[Union['Person', 'MusicGroup', str]], 'Person', 'MusicGroup', str]] = Field( + musicBy: Optional[Union[List[Union['MusicGroup', 'Person', str]], 'MusicGroup', 'Person', str]] = Field( default=None, description="The composer of the soundtrack.", ) diff --git a/pydantic_schemaorg/MovieClip.py b/pydantic_schemaorg/MovieClip.py index de9cbf29..288de5c4 100644 --- a/pydantic_schemaorg/MovieClip.py +++ b/pydantic_schemaorg/MovieClip.py @@ -11,5 +11,5 @@ class MovieClip(Clip): See: https://schema.org/MovieClip Model depth: 4 """ - type_: str = Field(default="MovieClip", alias='@type') + type_: str = Field(default="MovieClip", alias='@type', constant=True) diff --git a/pydantic_schemaorg/MovieRentalStore.py b/pydantic_schemaorg/MovieRentalStore.py index 9ec0fad0..e82d8015 100644 --- a/pydantic_schemaorg/MovieRentalStore.py +++ b/pydantic_schemaorg/MovieRentalStore.py @@ -11,5 +11,5 @@ class MovieRentalStore(Store): See: https://schema.org/MovieRentalStore Model depth: 5 """ - type_: str = Field(default="MovieRentalStore", alias='@type') + type_: str = Field(default="MovieRentalStore", alias='@type', constant=True) diff --git a/pydantic_schemaorg/MovieSeries.py b/pydantic_schemaorg/MovieSeries.py index 8acd0bdc..b52ec2c4 100644 --- a/pydantic_schemaorg/MovieSeries.py +++ b/pydantic_schemaorg/MovieSeries.py @@ -14,7 +14,7 @@ class MovieSeries(CreativeWorkSeries): See: https://schema.org/MovieSeries Model depth: 4 """ - type_: str = Field(default="MovieSeries", alias='@type') + type_: str = Field(default="MovieSeries", alias='@type', constant=True) actors: Optional[Union[List[Union['Person', str]], 'Person', str]] = Field( default=None, description="An actor, e.g. in tv, radio, movie, video games etc. Actors can be associated with individual" @@ -44,7 +44,7 @@ class MovieSeries(CreativeWorkSeries): description="A director of e.g. tv, radio, movie, video games etc. content. Directors can be associated" "with individual items or with a series, episode, clip.", ) - musicBy: Optional[Union[List[Union['Person', 'MusicGroup', str]], 'Person', 'MusicGroup', str]] = Field( + musicBy: Optional[Union[List[Union['MusicGroup', 'Person', str]], 'MusicGroup', 'Person', str]] = Field( default=None, description="The composer of the soundtrack.", ) diff --git a/pydantic_schemaorg/MovieTheater.py b/pydantic_schemaorg/MovieTheater.py index 92c3de72..b6d5d29e 100644 --- a/pydantic_schemaorg/MovieTheater.py +++ b/pydantic_schemaorg/MovieTheater.py @@ -16,8 +16,8 @@ class MovieTheater(EntertainmentBusiness, CivicStructure): See: https://schema.org/MovieTheater Model depth: 4 """ - type_: str = Field(default="MovieTheater", alias='@type') - screenCount: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( + type_: str = Field(default="MovieTheater", alias='@type', constant=True) + screenCount: Optional[Union[List[Union[int, float, 'Number', str]], int, float, 'Number', str]] = Field( default=None, description="The number of screens in the movie theater.", ) diff --git a/pydantic_schemaorg/MovingCompany.py b/pydantic_schemaorg/MovingCompany.py index e15358e7..f1f08de9 100644 --- a/pydantic_schemaorg/MovingCompany.py +++ b/pydantic_schemaorg/MovingCompany.py @@ -11,5 +11,5 @@ class MovingCompany(HomeAndConstructionBusiness): See: https://schema.org/MovingCompany Model depth: 5 """ - type_: str = Field(default="MovingCompany", alias='@type') + type_: str = Field(default="MovingCompany", alias='@type', constant=True) diff --git a/pydantic_schemaorg/MultiCenterTrial.py b/pydantic_schemaorg/MultiCenterTrial.py index 3708e829..9878be65 100644 --- a/pydantic_schemaorg/MultiCenterTrial.py +++ b/pydantic_schemaorg/MultiCenterTrial.py @@ -11,5 +11,5 @@ class MultiCenterTrial(MedicalTrialDesign): See: https://schema.org/MultiCenterTrial Model depth: 6 """ - type_: str = Field(default="MultiCenterTrial", alias='@type') + type_: str = Field(default="MultiCenterTrial", alias='@type', constant=True) diff --git a/pydantic_schemaorg/MultiPlayer.py b/pydantic_schemaorg/MultiPlayer.py index 92d38e40..e10a2659 100644 --- a/pydantic_schemaorg/MultiPlayer.py +++ b/pydantic_schemaorg/MultiPlayer.py @@ -11,5 +11,5 @@ class MultiPlayer(GamePlayMode): See: https://schema.org/MultiPlayer Model depth: 5 """ - type_: str = Field(default="MultiPlayer", alias='@type') + type_: str = Field(default="MultiPlayer", alias='@type', constant=True) diff --git a/pydantic_schemaorg/MulticellularParasite.py b/pydantic_schemaorg/MulticellularParasite.py index cc05c061..2cbe1859 100644 --- a/pydantic_schemaorg/MulticellularParasite.py +++ b/pydantic_schemaorg/MulticellularParasite.py @@ -11,5 +11,5 @@ class MulticellularParasite(InfectiousAgentClass): See: https://schema.org/MulticellularParasite Model depth: 6 """ - type_: str = Field(default="MulticellularParasite", alias='@type') + type_: str = Field(default="MulticellularParasite", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Muscle.py b/pydantic_schemaorg/Muscle.py index 358aa597..cd3f4fd8 100644 --- a/pydantic_schemaorg/Muscle.py +++ b/pydantic_schemaorg/Muscle.py @@ -15,7 +15,7 @@ class Muscle(AnatomicalStructure): See: https://schema.org/Muscle Model depth: 4 """ - type_: str = Field(default="Muscle", alias='@type') + type_: str = Field(default="Muscle", alias='@type', constant=True) nerve: Optional[Union[List[Union['Nerve', str]], 'Nerve', str]] = Field( default=None, description="The underlying innervation associated with the muscle.", diff --git a/pydantic_schemaorg/Musculoskeletal.py b/pydantic_schemaorg/Musculoskeletal.py index 6208eb11..9fac163a 100644 --- a/pydantic_schemaorg/Musculoskeletal.py +++ b/pydantic_schemaorg/Musculoskeletal.py @@ -12,5 +12,5 @@ class Musculoskeletal(MedicalSpecialty): See: https://schema.org/Musculoskeletal Model depth: 6 """ - type_: str = Field(default="Musculoskeletal", alias='@type') + type_: str = Field(default="Musculoskeletal", alias='@type', constant=True) diff --git a/pydantic_schemaorg/MusculoskeletalExam.py b/pydantic_schemaorg/MusculoskeletalExam.py index 51b11c16..4c11fad0 100644 --- a/pydantic_schemaorg/MusculoskeletalExam.py +++ b/pydantic_schemaorg/MusculoskeletalExam.py @@ -11,5 +11,5 @@ class MusculoskeletalExam(PhysicalExam): See: https://schema.org/MusculoskeletalExam Model depth: 5 """ - type_: str = Field(default="MusculoskeletalExam", alias='@type') + type_: str = Field(default="MusculoskeletalExam", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Museum.py b/pydantic_schemaorg/Museum.py index 1f6a8413..4524dcd5 100644 --- a/pydantic_schemaorg/Museum.py +++ b/pydantic_schemaorg/Museum.py @@ -11,5 +11,5 @@ class Museum(CivicStructure): See: https://schema.org/Museum Model depth: 4 """ - type_: str = Field(default="Museum", alias='@type') + type_: str = Field(default="Museum", alias='@type', constant=True) diff --git a/pydantic_schemaorg/MusicAlbum.py b/pydantic_schemaorg/MusicAlbum.py index de021aa5..d2dd00a9 100644 --- a/pydantic_schemaorg/MusicAlbum.py +++ b/pydantic_schemaorg/MusicAlbum.py @@ -14,7 +14,7 @@ class MusicAlbum(MusicPlaylist): See: https://schema.org/MusicAlbum Model depth: 4 """ - type_: str = Field(default="MusicAlbum", alias='@type') + type_: str = Field(default="MusicAlbum", alias='@type', constant=True) albumProductionType: Optional[Union[List[Union['MusicAlbumProductionType', str]], 'MusicAlbumProductionType', str]] = Field( default=None, description="Classification of the album by it's type of content: soundtrack, live album, studio" @@ -24,7 +24,7 @@ class MusicAlbum(MusicPlaylist): default=None, description="The kind of release which this album is: single, EP or album.", ) - byArtist: Optional[Union[List[Union['Person', 'MusicGroup', str]], 'Person', 'MusicGroup', str]] = Field( + byArtist: Optional[Union[List[Union['MusicGroup', 'Person', str]], 'MusicGroup', 'Person', str]] = Field( default=None, description="The artist that performed this album or recording.", ) @@ -37,6 +37,6 @@ class MusicAlbum(MusicPlaylist): if TYPE_CHECKING: from pydantic_schemaorg.MusicAlbumProductionType import MusicAlbumProductionType from pydantic_schemaorg.MusicAlbumReleaseType import MusicAlbumReleaseType - from pydantic_schemaorg.Person import Person from pydantic_schemaorg.MusicGroup import MusicGroup + from pydantic_schemaorg.Person import Person from pydantic_schemaorg.MusicRelease import MusicRelease diff --git a/pydantic_schemaorg/MusicAlbumProductionType.py b/pydantic_schemaorg/MusicAlbumProductionType.py index 867265c8..69235bec 100644 --- a/pydantic_schemaorg/MusicAlbumProductionType.py +++ b/pydantic_schemaorg/MusicAlbumProductionType.py @@ -12,5 +12,5 @@ class MusicAlbumProductionType(Enumeration): See: https://schema.org/MusicAlbumProductionType Model depth: 4 """ - type_: str = Field(default="MusicAlbumProductionType", alias='@type') + type_: str = Field(default="MusicAlbumProductionType", alias='@type', constant=True) diff --git a/pydantic_schemaorg/MusicAlbumReleaseType.py b/pydantic_schemaorg/MusicAlbumReleaseType.py index acb1b85c..e4d4ec56 100644 --- a/pydantic_schemaorg/MusicAlbumReleaseType.py +++ b/pydantic_schemaorg/MusicAlbumReleaseType.py @@ -11,5 +11,5 @@ class MusicAlbumReleaseType(Enumeration): See: https://schema.org/MusicAlbumReleaseType Model depth: 4 """ - type_: str = Field(default="MusicAlbumReleaseType", alias='@type') + type_: str = Field(default="MusicAlbumReleaseType", alias='@type', constant=True) diff --git a/pydantic_schemaorg/MusicComposition.py b/pydantic_schemaorg/MusicComposition.py index b641b46a..0a60c5a9 100644 --- a/pydantic_schemaorg/MusicComposition.py +++ b/pydantic_schemaorg/MusicComposition.py @@ -14,8 +14,8 @@ class MusicComposition(CreativeWork): See: https://schema.org/MusicComposition Model depth: 3 """ - type_: str = Field(default="MusicComposition", alias='@type') - composer: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + type_: str = Field(default="MusicComposition", alias='@type', constant=True) + composer: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="The person or organization who wrote a composition, or who is the composer of a work performed" "at some event.", @@ -59,8 +59,8 @@ class MusicComposition(CreativeWork): if TYPE_CHECKING: - from pydantic_schemaorg.Person import Person from pydantic_schemaorg.Organization import Organization + from pydantic_schemaorg.Person import Person from pydantic_schemaorg.CreativeWork import CreativeWork from pydantic_schemaorg.Text import Text from pydantic_schemaorg.MusicRecording import MusicRecording diff --git a/pydantic_schemaorg/MusicEvent.py b/pydantic_schemaorg/MusicEvent.py index 2e3e43a6..1c8a3006 100644 --- a/pydantic_schemaorg/MusicEvent.py +++ b/pydantic_schemaorg/MusicEvent.py @@ -11,5 +11,5 @@ class MusicEvent(Event): See: https://schema.org/MusicEvent Model depth: 3 """ - type_: str = Field(default="MusicEvent", alias='@type') + type_: str = Field(default="MusicEvent", alias='@type', constant=True) diff --git a/pydantic_schemaorg/MusicGroup.py b/pydantic_schemaorg/MusicGroup.py index 015457d9..38f58734 100644 --- a/pydantic_schemaorg/MusicGroup.py +++ b/pydantic_schemaorg/MusicGroup.py @@ -15,7 +15,7 @@ class MusicGroup(PerformingGroup): See: https://schema.org/MusicGroup Model depth: 4 """ - type_: str = Field(default="MusicGroup", alias='@type') + type_: str = Field(default="MusicGroup", alias='@type', constant=True) genre: Optional[Union[List[Union[AnyUrl, 'URL', str, 'Text']], AnyUrl, 'URL', str, 'Text']] = Field( default=None, description="Genre of the creative work, broadcast channel or group.", diff --git a/pydantic_schemaorg/MusicPlaylist.py b/pydantic_schemaorg/MusicPlaylist.py index e0f7bd91..030cdee9 100644 --- a/pydantic_schemaorg/MusicPlaylist.py +++ b/pydantic_schemaorg/MusicPlaylist.py @@ -14,7 +14,7 @@ class MusicPlaylist(CreativeWork): See: https://schema.org/MusicPlaylist Model depth: 3 """ - type_: str = Field(default="MusicPlaylist", alias='@type') + type_: str = Field(default="MusicPlaylist", alias='@type', constant=True) numTracks: Optional[Union[List[Union[int, 'Integer', str]], int, 'Integer', str]] = Field( default=None, description="The number of tracks in this album or playlist.", diff --git a/pydantic_schemaorg/MusicRecording.py b/pydantic_schemaorg/MusicRecording.py index ba00ac04..06fed882 100644 --- a/pydantic_schemaorg/MusicRecording.py +++ b/pydantic_schemaorg/MusicRecording.py @@ -14,7 +14,7 @@ class MusicRecording(CreativeWork): See: https://schema.org/MusicRecording Model depth: 3 """ - type_: str = Field(default="MusicRecording", alias='@type') + type_: str = Field(default="MusicRecording", alias='@type', constant=True) inPlaylist: Optional[Union[List[Union['MusicPlaylist', str]], 'MusicPlaylist', str]] = Field( default=None, description="The playlist to which this recording belongs.", @@ -23,7 +23,7 @@ class MusicRecording(CreativeWork): default=None, description="The duration of the item (movie, audio recording, event, etc.) in [ISO 8601 date format](http://en.wikipedia.org/wiki/ISO_8601).", ) - byArtist: Optional[Union[List[Union['Person', 'MusicGroup', str]], 'Person', 'MusicGroup', str]] = Field( + byArtist: Optional[Union[List[Union['MusicGroup', 'Person', str]], 'MusicGroup', 'Person', str]] = Field( default=None, description="The artist that performed this album or recording.", ) @@ -44,8 +44,8 @@ class MusicRecording(CreativeWork): if TYPE_CHECKING: from pydantic_schemaorg.MusicPlaylist import MusicPlaylist from pydantic_schemaorg.Duration import Duration - from pydantic_schemaorg.Person import Person from pydantic_schemaorg.MusicGroup import MusicGroup + from pydantic_schemaorg.Person import Person from pydantic_schemaorg.MusicAlbum import MusicAlbum from pydantic_schemaorg.MusicComposition import MusicComposition from pydantic_schemaorg.Text import Text diff --git a/pydantic_schemaorg/MusicRelease.py b/pydantic_schemaorg/MusicRelease.py index 7b2e2ef3..1466eb9e 100644 --- a/pydantic_schemaorg/MusicRelease.py +++ b/pydantic_schemaorg/MusicRelease.py @@ -14,7 +14,7 @@ class MusicRelease(MusicPlaylist): See: https://schema.org/MusicRelease Model depth: 4 """ - type_: str = Field(default="MusicRelease", alias='@type') + type_: str = Field(default="MusicRelease", alias='@type', constant=True) releaseOf: Optional[Union[List[Union['MusicAlbum', str]], 'MusicAlbum', str]] = Field( default=None, description="The album this is a release of.", @@ -32,7 +32,7 @@ class MusicRelease(MusicPlaylist): description="Format of this release (the type of recording media used, ie. compact disc, digital media," "LP, etc.).", ) - creditedTo: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + creditedTo: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="The group the release is credited to if different than the byArtist. For example, Red" "and Blue is credited to \"Stefani Germanotta Band\", but by Lady Gaga.", @@ -48,5 +48,5 @@ class MusicRelease(MusicPlaylist): from pydantic_schemaorg.Duration import Duration from pydantic_schemaorg.Text import Text from pydantic_schemaorg.MusicReleaseFormatType import MusicReleaseFormatType - from pydantic_schemaorg.Person import Person from pydantic_schemaorg.Organization import Organization + from pydantic_schemaorg.Person import Person diff --git a/pydantic_schemaorg/MusicReleaseFormatType.py b/pydantic_schemaorg/MusicReleaseFormatType.py index bd4b100f..ede278d7 100644 --- a/pydantic_schemaorg/MusicReleaseFormatType.py +++ b/pydantic_schemaorg/MusicReleaseFormatType.py @@ -12,5 +12,5 @@ class MusicReleaseFormatType(Enumeration): See: https://schema.org/MusicReleaseFormatType Model depth: 4 """ - type_: str = Field(default="MusicReleaseFormatType", alias='@type') + type_: str = Field(default="MusicReleaseFormatType", alias='@type', constant=True) diff --git a/pydantic_schemaorg/MusicStore.py b/pydantic_schemaorg/MusicStore.py index f2cce01b..9392ab27 100644 --- a/pydantic_schemaorg/MusicStore.py +++ b/pydantic_schemaorg/MusicStore.py @@ -11,5 +11,5 @@ class MusicStore(Store): See: https://schema.org/MusicStore Model depth: 5 """ - type_: str = Field(default="MusicStore", alias='@type') + type_: str = Field(default="MusicStore", alias='@type', constant=True) diff --git a/pydantic_schemaorg/MusicVenue.py b/pydantic_schemaorg/MusicVenue.py index 01847fea..25579693 100644 --- a/pydantic_schemaorg/MusicVenue.py +++ b/pydantic_schemaorg/MusicVenue.py @@ -11,5 +11,5 @@ class MusicVenue(CivicStructure): See: https://schema.org/MusicVenue Model depth: 4 """ - type_: str = Field(default="MusicVenue", alias='@type') + type_: str = Field(default="MusicVenue", alias='@type', constant=True) diff --git a/pydantic_schemaorg/MusicVideoObject.py b/pydantic_schemaorg/MusicVideoObject.py index c1d31d26..c2fd41de 100644 --- a/pydantic_schemaorg/MusicVideoObject.py +++ b/pydantic_schemaorg/MusicVideoObject.py @@ -11,5 +11,5 @@ class MusicVideoObject(MediaObject): See: https://schema.org/MusicVideoObject Model depth: 4 """ - type_: str = Field(default="MusicVideoObject", alias='@type') + type_: str = Field(default="MusicVideoObject", alias='@type', constant=True) diff --git a/pydantic_schemaorg/NGO.py b/pydantic_schemaorg/NGO.py index 9524e460..64e7846a 100644 --- a/pydantic_schemaorg/NGO.py +++ b/pydantic_schemaorg/NGO.py @@ -11,5 +11,5 @@ class NGO(Organization): See: https://schema.org/NGO Model depth: 3 """ - type_: str = Field(default="NGO", alias='@type') + type_: str = Field(default="NGO", alias='@type', constant=True) diff --git a/pydantic_schemaorg/NLNonprofitType.py b/pydantic_schemaorg/NLNonprofitType.py index 1da4cc47..3aee94cc 100644 --- a/pydantic_schemaorg/NLNonprofitType.py +++ b/pydantic_schemaorg/NLNonprofitType.py @@ -11,5 +11,5 @@ class NLNonprofitType(NonprofitType): See: https://schema.org/NLNonprofitType Model depth: 5 """ - type_: str = Field(default="NLNonprofitType", alias='@type') + type_: str = Field(default="NLNonprofitType", alias='@type', constant=True) diff --git a/pydantic_schemaorg/NailSalon.py b/pydantic_schemaorg/NailSalon.py index 120f5ce0..65d77f18 100644 --- a/pydantic_schemaorg/NailSalon.py +++ b/pydantic_schemaorg/NailSalon.py @@ -11,5 +11,5 @@ class NailSalon(HealthAndBeautyBusiness): See: https://schema.org/NailSalon Model depth: 5 """ - type_: str = Field(default="NailSalon", alias='@type') + type_: str = Field(default="NailSalon", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Neck.py b/pydantic_schemaorg/Neck.py index 00f6a29e..bee18825 100644 --- a/pydantic_schemaorg/Neck.py +++ b/pydantic_schemaorg/Neck.py @@ -11,5 +11,5 @@ class Neck(PhysicalExam): See: https://schema.org/Neck Model depth: 5 """ - type_: str = Field(default="Neck", alias='@type') + type_: str = Field(default="Neck", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Nerve.py b/pydantic_schemaorg/Nerve.py index d677b41c..ddb1be0c 100644 --- a/pydantic_schemaorg/Nerve.py +++ b/pydantic_schemaorg/Nerve.py @@ -15,7 +15,7 @@ class Nerve(AnatomicalStructure): See: https://schema.org/Nerve Model depth: 4 """ - type_: str = Field(default="Nerve", alias='@type') + type_: str = Field(default="Nerve", alias='@type', constant=True) branch: Optional[Union[List[Union['AnatomicalStructure', str]], 'AnatomicalStructure', str]] = Field( default=None, description="The branches that delineate from the nerve bundle. Not to be confused with [[branchOf]].", diff --git a/pydantic_schemaorg/Neuro.py b/pydantic_schemaorg/Neuro.py index c91f3c97..9425d4fe 100644 --- a/pydantic_schemaorg/Neuro.py +++ b/pydantic_schemaorg/Neuro.py @@ -11,5 +11,5 @@ class Neuro(PhysicalExam): See: https://schema.org/Neuro Model depth: 5 """ - type_: str = Field(default="Neuro", alias='@type') + type_: str = Field(default="Neuro", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Neurologic.py b/pydantic_schemaorg/Neurologic.py index b6fc8936..154aa007 100644 --- a/pydantic_schemaorg/Neurologic.py +++ b/pydantic_schemaorg/Neurologic.py @@ -12,5 +12,5 @@ class Neurologic(MedicalSpecialty): See: https://schema.org/Neurologic Model depth: 6 """ - type_: str = Field(default="Neurologic", alias='@type') + type_: str = Field(default="Neurologic", alias='@type', constant=True) diff --git a/pydantic_schemaorg/NewCondition.py b/pydantic_schemaorg/NewCondition.py index 3e9b1797..52c96c35 100644 --- a/pydantic_schemaorg/NewCondition.py +++ b/pydantic_schemaorg/NewCondition.py @@ -11,5 +11,5 @@ class NewCondition(OfferItemCondition): See: https://schema.org/NewCondition Model depth: 5 """ - type_: str = Field(default="NewCondition", alias='@type') + type_: str = Field(default="NewCondition", alias='@type', constant=True) diff --git a/pydantic_schemaorg/NewsArticle.py b/pydantic_schemaorg/NewsArticle.py index 662da25e..7137e530 100644 --- a/pydantic_schemaorg/NewsArticle.py +++ b/pydantic_schemaorg/NewsArticle.py @@ -16,7 +16,7 @@ class NewsArticle(Article): See: https://schema.org/NewsArticle Model depth: 4 """ - type_: str = Field(default="NewsArticle", alias='@type') + type_: str = Field(default="NewsArticle", alias='@type', constant=True) dateline: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="A [dateline](https://en.wikipedia.org/wiki/Dateline) is a brief piece of text included" diff --git a/pydantic_schemaorg/NewsMediaOrganization.py b/pydantic_schemaorg/NewsMediaOrganization.py index 3eed6c3d..df6f1fd4 100644 --- a/pydantic_schemaorg/NewsMediaOrganization.py +++ b/pydantic_schemaorg/NewsMediaOrganization.py @@ -15,7 +15,7 @@ class NewsMediaOrganization(Organization): See: https://schema.org/NewsMediaOrganization Model depth: 3 """ - type_: str = Field(default="NewsMediaOrganization", alias='@type') + type_: str = Field(default="NewsMediaOrganization", alias='@type', constant=True) actionableFeedbackPolicy: Optional[Union[List[Union[AnyUrl, 'URL', 'CreativeWork', str]], AnyUrl, 'URL', 'CreativeWork', str]] = Field( default=None, description="For a [[NewsMediaOrganization]] or other news-related [[Organization]], a statement" @@ -47,7 +47,7 @@ class NewsMediaOrganization(Organization): description="For a [[NewsMediaOrganization]], a statement on coverage priorities, including any" "public agenda or stance on issues.", ) - ownershipFundingInfo: Optional[Union[List[Union[AnyUrl, 'URL', str, 'Text', 'AboutPage', 'CreativeWork']], AnyUrl, 'URL', str, 'Text', 'AboutPage', 'CreativeWork']] = Field( + ownershipFundingInfo: Optional[Union[List[Union[AnyUrl, 'URL', str, 'Text', 'CreativeWork', 'AboutPage']], AnyUrl, 'URL', str, 'Text', 'CreativeWork', 'AboutPage']] = Field( default=None, description="For an [[Organization]] (often but not necessarily a [[NewsMediaOrganization]])," "a description of organizational ownership structure; funding and grants. In a news/media" diff --git a/pydantic_schemaorg/Newspaper.py b/pydantic_schemaorg/Newspaper.py index ecb4b386..84a5387e 100644 --- a/pydantic_schemaorg/Newspaper.py +++ b/pydantic_schemaorg/Newspaper.py @@ -13,5 +13,5 @@ class Newspaper(Periodical): See: https://schema.org/Newspaper Model depth: 5 """ - type_: str = Field(default="Newspaper", alias='@type') + type_: str = Field(default="Newspaper", alias='@type', constant=True) diff --git a/pydantic_schemaorg/NightClub.py b/pydantic_schemaorg/NightClub.py index d9fc854f..ef43a566 100644 --- a/pydantic_schemaorg/NightClub.py +++ b/pydantic_schemaorg/NightClub.py @@ -11,5 +11,5 @@ class NightClub(EntertainmentBusiness): See: https://schema.org/NightClub Model depth: 5 """ - type_: str = Field(default="NightClub", alias='@type') + type_: str = Field(default="NightClub", alias='@type', constant=True) diff --git a/pydantic_schemaorg/NoninvasiveProcedure.py b/pydantic_schemaorg/NoninvasiveProcedure.py index c3e9ffe0..3f99e9bf 100644 --- a/pydantic_schemaorg/NoninvasiveProcedure.py +++ b/pydantic_schemaorg/NoninvasiveProcedure.py @@ -11,5 +11,5 @@ class NoninvasiveProcedure(MedicalProcedureType): See: https://schema.org/NoninvasiveProcedure Model depth: 6 """ - type_: str = Field(default="NoninvasiveProcedure", alias='@type') + type_: str = Field(default="NoninvasiveProcedure", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Nonprofit501a.py b/pydantic_schemaorg/Nonprofit501a.py index 0c0231d0..4ac20dbf 100644 --- a/pydantic_schemaorg/Nonprofit501a.py +++ b/pydantic_schemaorg/Nonprofit501a.py @@ -11,5 +11,5 @@ class Nonprofit501a(USNonprofitType): See: https://schema.org/Nonprofit501a Model depth: 6 """ - type_: str = Field(default="Nonprofit501a", alias='@type') + type_: str = Field(default="Nonprofit501a", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Nonprofit501c1.py b/pydantic_schemaorg/Nonprofit501c1.py index 42d6c31f..d03f3f11 100644 --- a/pydantic_schemaorg/Nonprofit501c1.py +++ b/pydantic_schemaorg/Nonprofit501c1.py @@ -12,5 +12,5 @@ class Nonprofit501c1(USNonprofitType): See: https://schema.org/Nonprofit501c1 Model depth: 6 """ - type_: str = Field(default="Nonprofit501c1", alias='@type') + type_: str = Field(default="Nonprofit501c1", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Nonprofit501c10.py b/pydantic_schemaorg/Nonprofit501c10.py index 65ead0ae..f813a8c1 100644 --- a/pydantic_schemaorg/Nonprofit501c10.py +++ b/pydantic_schemaorg/Nonprofit501c10.py @@ -11,5 +11,5 @@ class Nonprofit501c10(USNonprofitType): See: https://schema.org/Nonprofit501c10 Model depth: 6 """ - type_: str = Field(default="Nonprofit501c10", alias='@type') + type_: str = Field(default="Nonprofit501c10", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Nonprofit501c11.py b/pydantic_schemaorg/Nonprofit501c11.py index 81a26a04..50e45741 100644 --- a/pydantic_schemaorg/Nonprofit501c11.py +++ b/pydantic_schemaorg/Nonprofit501c11.py @@ -11,5 +11,5 @@ class Nonprofit501c11(USNonprofitType): See: https://schema.org/Nonprofit501c11 Model depth: 6 """ - type_: str = Field(default="Nonprofit501c11", alias='@type') + type_: str = Field(default="Nonprofit501c11", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Nonprofit501c12.py b/pydantic_schemaorg/Nonprofit501c12.py index c0b6dbb2..b4020a72 100644 --- a/pydantic_schemaorg/Nonprofit501c12.py +++ b/pydantic_schemaorg/Nonprofit501c12.py @@ -12,5 +12,5 @@ class Nonprofit501c12(USNonprofitType): See: https://schema.org/Nonprofit501c12 Model depth: 6 """ - type_: str = Field(default="Nonprofit501c12", alias='@type') + type_: str = Field(default="Nonprofit501c12", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Nonprofit501c13.py b/pydantic_schemaorg/Nonprofit501c13.py index 7ee83d6b..8435ec7e 100644 --- a/pydantic_schemaorg/Nonprofit501c13.py +++ b/pydantic_schemaorg/Nonprofit501c13.py @@ -11,5 +11,5 @@ class Nonprofit501c13(USNonprofitType): See: https://schema.org/Nonprofit501c13 Model depth: 6 """ - type_: str = Field(default="Nonprofit501c13", alias='@type') + type_: str = Field(default="Nonprofit501c13", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Nonprofit501c14.py b/pydantic_schemaorg/Nonprofit501c14.py index 7e3694b2..652a0337 100644 --- a/pydantic_schemaorg/Nonprofit501c14.py +++ b/pydantic_schemaorg/Nonprofit501c14.py @@ -12,5 +12,5 @@ class Nonprofit501c14(USNonprofitType): See: https://schema.org/Nonprofit501c14 Model depth: 6 """ - type_: str = Field(default="Nonprofit501c14", alias='@type') + type_: str = Field(default="Nonprofit501c14", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Nonprofit501c15.py b/pydantic_schemaorg/Nonprofit501c15.py index 097580ee..19a60f69 100644 --- a/pydantic_schemaorg/Nonprofit501c15.py +++ b/pydantic_schemaorg/Nonprofit501c15.py @@ -11,5 +11,5 @@ class Nonprofit501c15(USNonprofitType): See: https://schema.org/Nonprofit501c15 Model depth: 6 """ - type_: str = Field(default="Nonprofit501c15", alias='@type') + type_: str = Field(default="Nonprofit501c15", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Nonprofit501c16.py b/pydantic_schemaorg/Nonprofit501c16.py index 5a4fa6d4..7850c50c 100644 --- a/pydantic_schemaorg/Nonprofit501c16.py +++ b/pydantic_schemaorg/Nonprofit501c16.py @@ -12,5 +12,5 @@ class Nonprofit501c16(USNonprofitType): See: https://schema.org/Nonprofit501c16 Model depth: 6 """ - type_: str = Field(default="Nonprofit501c16", alias='@type') + type_: str = Field(default="Nonprofit501c16", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Nonprofit501c17.py b/pydantic_schemaorg/Nonprofit501c17.py index 8fcd1f36..a4c2f7a1 100644 --- a/pydantic_schemaorg/Nonprofit501c17.py +++ b/pydantic_schemaorg/Nonprofit501c17.py @@ -12,5 +12,5 @@ class Nonprofit501c17(USNonprofitType): See: https://schema.org/Nonprofit501c17 Model depth: 6 """ - type_: str = Field(default="Nonprofit501c17", alias='@type') + type_: str = Field(default="Nonprofit501c17", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Nonprofit501c18.py b/pydantic_schemaorg/Nonprofit501c18.py index b10607d1..53a38485 100644 --- a/pydantic_schemaorg/Nonprofit501c18.py +++ b/pydantic_schemaorg/Nonprofit501c18.py @@ -12,5 +12,5 @@ class Nonprofit501c18(USNonprofitType): See: https://schema.org/Nonprofit501c18 Model depth: 6 """ - type_: str = Field(default="Nonprofit501c18", alias='@type') + type_: str = Field(default="Nonprofit501c18", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Nonprofit501c19.py b/pydantic_schemaorg/Nonprofit501c19.py index 56a2f099..e3b12ec5 100644 --- a/pydantic_schemaorg/Nonprofit501c19.py +++ b/pydantic_schemaorg/Nonprofit501c19.py @@ -12,5 +12,5 @@ class Nonprofit501c19(USNonprofitType): See: https://schema.org/Nonprofit501c19 Model depth: 6 """ - type_: str = Field(default="Nonprofit501c19", alias='@type') + type_: str = Field(default="Nonprofit501c19", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Nonprofit501c2.py b/pydantic_schemaorg/Nonprofit501c2.py index 4ec4287e..31406f79 100644 --- a/pydantic_schemaorg/Nonprofit501c2.py +++ b/pydantic_schemaorg/Nonprofit501c2.py @@ -12,5 +12,5 @@ class Nonprofit501c2(USNonprofitType): See: https://schema.org/Nonprofit501c2 Model depth: 6 """ - type_: str = Field(default="Nonprofit501c2", alias='@type') + type_: str = Field(default="Nonprofit501c2", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Nonprofit501c20.py b/pydantic_schemaorg/Nonprofit501c20.py index f83e815d..ae69d0ea 100644 --- a/pydantic_schemaorg/Nonprofit501c20.py +++ b/pydantic_schemaorg/Nonprofit501c20.py @@ -11,5 +11,5 @@ class Nonprofit501c20(USNonprofitType): See: https://schema.org/Nonprofit501c20 Model depth: 6 """ - type_: str = Field(default="Nonprofit501c20", alias='@type') + type_: str = Field(default="Nonprofit501c20", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Nonprofit501c21.py b/pydantic_schemaorg/Nonprofit501c21.py index acaf7cfc..f9d5b2a2 100644 --- a/pydantic_schemaorg/Nonprofit501c21.py +++ b/pydantic_schemaorg/Nonprofit501c21.py @@ -11,5 +11,5 @@ class Nonprofit501c21(USNonprofitType): See: https://schema.org/Nonprofit501c21 Model depth: 6 """ - type_: str = Field(default="Nonprofit501c21", alias='@type') + type_: str = Field(default="Nonprofit501c21", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Nonprofit501c22.py b/pydantic_schemaorg/Nonprofit501c22.py index c8c5bfd7..371f5e03 100644 --- a/pydantic_schemaorg/Nonprofit501c22.py +++ b/pydantic_schemaorg/Nonprofit501c22.py @@ -11,5 +11,5 @@ class Nonprofit501c22(USNonprofitType): See: https://schema.org/Nonprofit501c22 Model depth: 6 """ - type_: str = Field(default="Nonprofit501c22", alias='@type') + type_: str = Field(default="Nonprofit501c22", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Nonprofit501c23.py b/pydantic_schemaorg/Nonprofit501c23.py index d914f725..739c313b 100644 --- a/pydantic_schemaorg/Nonprofit501c23.py +++ b/pydantic_schemaorg/Nonprofit501c23.py @@ -11,5 +11,5 @@ class Nonprofit501c23(USNonprofitType): See: https://schema.org/Nonprofit501c23 Model depth: 6 """ - type_: str = Field(default="Nonprofit501c23", alias='@type') + type_: str = Field(default="Nonprofit501c23", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Nonprofit501c24.py b/pydantic_schemaorg/Nonprofit501c24.py index de0d0c93..686c8eb6 100644 --- a/pydantic_schemaorg/Nonprofit501c24.py +++ b/pydantic_schemaorg/Nonprofit501c24.py @@ -11,5 +11,5 @@ class Nonprofit501c24(USNonprofitType): See: https://schema.org/Nonprofit501c24 Model depth: 6 """ - type_: str = Field(default="Nonprofit501c24", alias='@type') + type_: str = Field(default="Nonprofit501c24", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Nonprofit501c25.py b/pydantic_schemaorg/Nonprofit501c25.py index 8df892fb..a6c09036 100644 --- a/pydantic_schemaorg/Nonprofit501c25.py +++ b/pydantic_schemaorg/Nonprofit501c25.py @@ -12,5 +12,5 @@ class Nonprofit501c25(USNonprofitType): See: https://schema.org/Nonprofit501c25 Model depth: 6 """ - type_: str = Field(default="Nonprofit501c25", alias='@type') + type_: str = Field(default="Nonprofit501c25", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Nonprofit501c26.py b/pydantic_schemaorg/Nonprofit501c26.py index 585ad78f..8a52683c 100644 --- a/pydantic_schemaorg/Nonprofit501c26.py +++ b/pydantic_schemaorg/Nonprofit501c26.py @@ -12,5 +12,5 @@ class Nonprofit501c26(USNonprofitType): See: https://schema.org/Nonprofit501c26 Model depth: 6 """ - type_: str = Field(default="Nonprofit501c26", alias='@type') + type_: str = Field(default="Nonprofit501c26", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Nonprofit501c27.py b/pydantic_schemaorg/Nonprofit501c27.py index 9488abac..01355568 100644 --- a/pydantic_schemaorg/Nonprofit501c27.py +++ b/pydantic_schemaorg/Nonprofit501c27.py @@ -12,5 +12,5 @@ class Nonprofit501c27(USNonprofitType): See: https://schema.org/Nonprofit501c27 Model depth: 6 """ - type_: str = Field(default="Nonprofit501c27", alias='@type') + type_: str = Field(default="Nonprofit501c27", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Nonprofit501c28.py b/pydantic_schemaorg/Nonprofit501c28.py index a66939f4..88cb5cfa 100644 --- a/pydantic_schemaorg/Nonprofit501c28.py +++ b/pydantic_schemaorg/Nonprofit501c28.py @@ -12,5 +12,5 @@ class Nonprofit501c28(USNonprofitType): See: https://schema.org/Nonprofit501c28 Model depth: 6 """ - type_: str = Field(default="Nonprofit501c28", alias='@type') + type_: str = Field(default="Nonprofit501c28", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Nonprofit501c3.py b/pydantic_schemaorg/Nonprofit501c3.py index a7ddbf59..f2aad99c 100644 --- a/pydantic_schemaorg/Nonprofit501c3.py +++ b/pydantic_schemaorg/Nonprofit501c3.py @@ -13,5 +13,5 @@ class Nonprofit501c3(USNonprofitType): See: https://schema.org/Nonprofit501c3 Model depth: 6 """ - type_: str = Field(default="Nonprofit501c3", alias='@type') + type_: str = Field(default="Nonprofit501c3", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Nonprofit501c4.py b/pydantic_schemaorg/Nonprofit501c4.py index 0644a466..74947cf9 100644 --- a/pydantic_schemaorg/Nonprofit501c4.py +++ b/pydantic_schemaorg/Nonprofit501c4.py @@ -12,5 +12,5 @@ class Nonprofit501c4(USNonprofitType): See: https://schema.org/Nonprofit501c4 Model depth: 6 """ - type_: str = Field(default="Nonprofit501c4", alias='@type') + type_: str = Field(default="Nonprofit501c4", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Nonprofit501c5.py b/pydantic_schemaorg/Nonprofit501c5.py index c0c26a84..1341a36c 100644 --- a/pydantic_schemaorg/Nonprofit501c5.py +++ b/pydantic_schemaorg/Nonprofit501c5.py @@ -12,5 +12,5 @@ class Nonprofit501c5(USNonprofitType): See: https://schema.org/Nonprofit501c5 Model depth: 6 """ - type_: str = Field(default="Nonprofit501c5", alias='@type') + type_: str = Field(default="Nonprofit501c5", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Nonprofit501c6.py b/pydantic_schemaorg/Nonprofit501c6.py index 1e757b77..bcec29be 100644 --- a/pydantic_schemaorg/Nonprofit501c6.py +++ b/pydantic_schemaorg/Nonprofit501c6.py @@ -12,5 +12,5 @@ class Nonprofit501c6(USNonprofitType): See: https://schema.org/Nonprofit501c6 Model depth: 6 """ - type_: str = Field(default="Nonprofit501c6", alias='@type') + type_: str = Field(default="Nonprofit501c6", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Nonprofit501c7.py b/pydantic_schemaorg/Nonprofit501c7.py index 51b18b33..f1add12e 100644 --- a/pydantic_schemaorg/Nonprofit501c7.py +++ b/pydantic_schemaorg/Nonprofit501c7.py @@ -11,5 +11,5 @@ class Nonprofit501c7(USNonprofitType): See: https://schema.org/Nonprofit501c7 Model depth: 6 """ - type_: str = Field(default="Nonprofit501c7", alias='@type') + type_: str = Field(default="Nonprofit501c7", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Nonprofit501c8.py b/pydantic_schemaorg/Nonprofit501c8.py index 4e5da426..7da45a69 100644 --- a/pydantic_schemaorg/Nonprofit501c8.py +++ b/pydantic_schemaorg/Nonprofit501c8.py @@ -12,5 +12,5 @@ class Nonprofit501c8(USNonprofitType): See: https://schema.org/Nonprofit501c8 Model depth: 6 """ - type_: str = Field(default="Nonprofit501c8", alias='@type') + type_: str = Field(default="Nonprofit501c8", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Nonprofit501c9.py b/pydantic_schemaorg/Nonprofit501c9.py index 17c58bf5..d360db08 100644 --- a/pydantic_schemaorg/Nonprofit501c9.py +++ b/pydantic_schemaorg/Nonprofit501c9.py @@ -11,5 +11,5 @@ class Nonprofit501c9(USNonprofitType): See: https://schema.org/Nonprofit501c9 Model depth: 6 """ - type_: str = Field(default="Nonprofit501c9", alias='@type') + type_: str = Field(default="Nonprofit501c9", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Nonprofit501d.py b/pydantic_schemaorg/Nonprofit501d.py index 3f8db8b2..4d4a14fe 100644 --- a/pydantic_schemaorg/Nonprofit501d.py +++ b/pydantic_schemaorg/Nonprofit501d.py @@ -11,5 +11,5 @@ class Nonprofit501d(USNonprofitType): See: https://schema.org/Nonprofit501d Model depth: 6 """ - type_: str = Field(default="Nonprofit501d", alias='@type') + type_: str = Field(default="Nonprofit501d", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Nonprofit501e.py b/pydantic_schemaorg/Nonprofit501e.py index 7edce78f..8d663948 100644 --- a/pydantic_schemaorg/Nonprofit501e.py +++ b/pydantic_schemaorg/Nonprofit501e.py @@ -11,5 +11,5 @@ class Nonprofit501e(USNonprofitType): See: https://schema.org/Nonprofit501e Model depth: 6 """ - type_: str = Field(default="Nonprofit501e", alias='@type') + type_: str = Field(default="Nonprofit501e", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Nonprofit501f.py b/pydantic_schemaorg/Nonprofit501f.py index 2d170ef4..dbefb5b0 100644 --- a/pydantic_schemaorg/Nonprofit501f.py +++ b/pydantic_schemaorg/Nonprofit501f.py @@ -11,5 +11,5 @@ class Nonprofit501f(USNonprofitType): See: https://schema.org/Nonprofit501f Model depth: 6 """ - type_: str = Field(default="Nonprofit501f", alias='@type') + type_: str = Field(default="Nonprofit501f", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Nonprofit501k.py b/pydantic_schemaorg/Nonprofit501k.py index 348ec53e..9b1a462f 100644 --- a/pydantic_schemaorg/Nonprofit501k.py +++ b/pydantic_schemaorg/Nonprofit501k.py @@ -11,5 +11,5 @@ class Nonprofit501k(USNonprofitType): See: https://schema.org/Nonprofit501k Model depth: 6 """ - type_: str = Field(default="Nonprofit501k", alias='@type') + type_: str = Field(default="Nonprofit501k", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Nonprofit501n.py b/pydantic_schemaorg/Nonprofit501n.py index 01add189..2230bd03 100644 --- a/pydantic_schemaorg/Nonprofit501n.py +++ b/pydantic_schemaorg/Nonprofit501n.py @@ -11,5 +11,5 @@ class Nonprofit501n(USNonprofitType): See: https://schema.org/Nonprofit501n Model depth: 6 """ - type_: str = Field(default="Nonprofit501n", alias='@type') + type_: str = Field(default="Nonprofit501n", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Nonprofit501q.py b/pydantic_schemaorg/Nonprofit501q.py index ba8dda62..b9c63362 100644 --- a/pydantic_schemaorg/Nonprofit501q.py +++ b/pydantic_schemaorg/Nonprofit501q.py @@ -11,5 +11,5 @@ class Nonprofit501q(USNonprofitType): See: https://schema.org/Nonprofit501q Model depth: 6 """ - type_: str = Field(default="Nonprofit501q", alias='@type') + type_: str = Field(default="Nonprofit501q", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Nonprofit527.py b/pydantic_schemaorg/Nonprofit527.py index 76f8e058..a245bf21 100644 --- a/pydantic_schemaorg/Nonprofit527.py +++ b/pydantic_schemaorg/Nonprofit527.py @@ -11,5 +11,5 @@ class Nonprofit527(USNonprofitType): See: https://schema.org/Nonprofit527 Model depth: 6 """ - type_: str = Field(default="Nonprofit527", alias='@type') + type_: str = Field(default="Nonprofit527", alias='@type', constant=True) diff --git a/pydantic_schemaorg/NonprofitANBI.py b/pydantic_schemaorg/NonprofitANBI.py index cb4df016..3750122e 100644 --- a/pydantic_schemaorg/NonprofitANBI.py +++ b/pydantic_schemaorg/NonprofitANBI.py @@ -11,5 +11,5 @@ class NonprofitANBI(NLNonprofitType): See: https://schema.org/NonprofitANBI Model depth: 6 """ - type_: str = Field(default="NonprofitANBI", alias='@type') + type_: str = Field(default="NonprofitANBI", alias='@type', constant=True) diff --git a/pydantic_schemaorg/NonprofitSBBI.py b/pydantic_schemaorg/NonprofitSBBI.py index aa337143..be5bd489 100644 --- a/pydantic_schemaorg/NonprofitSBBI.py +++ b/pydantic_schemaorg/NonprofitSBBI.py @@ -12,5 +12,5 @@ class NonprofitSBBI(NLNonprofitType): See: https://schema.org/NonprofitSBBI Model depth: 6 """ - type_: str = Field(default="NonprofitSBBI", alias='@type') + type_: str = Field(default="NonprofitSBBI", alias='@type', constant=True) diff --git a/pydantic_schemaorg/NonprofitType.py b/pydantic_schemaorg/NonprofitType.py index 41b9d5af..80df4d90 100644 --- a/pydantic_schemaorg/NonprofitType.py +++ b/pydantic_schemaorg/NonprofitType.py @@ -12,5 +12,5 @@ class NonprofitType(Enumeration): See: https://schema.org/NonprofitType Model depth: 4 """ - type_: str = Field(default="NonprofitType", alias='@type') + type_: str = Field(default="NonprofitType", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Nose.py b/pydantic_schemaorg/Nose.py index 91a0b670..d7d18920 100644 --- a/pydantic_schemaorg/Nose.py +++ b/pydantic_schemaorg/Nose.py @@ -11,5 +11,5 @@ class Nose(PhysicalExam): See: https://schema.org/Nose Model depth: 5 """ - type_: str = Field(default="Nose", alias='@type') + type_: str = Field(default="Nose", alias='@type', constant=True) diff --git a/pydantic_schemaorg/NotInForce.py b/pydantic_schemaorg/NotInForce.py index 33173ae3..23be6287 100644 --- a/pydantic_schemaorg/NotInForce.py +++ b/pydantic_schemaorg/NotInForce.py @@ -11,5 +11,5 @@ class NotInForce(LegalForceStatus): See: https://schema.org/NotInForce Model depth: 6 """ - type_: str = Field(default="NotInForce", alias='@type') + type_: str = Field(default="NotInForce", alias='@type', constant=True) diff --git a/pydantic_schemaorg/NotYetRecruiting.py b/pydantic_schemaorg/NotYetRecruiting.py index c1381ab5..d3db62d7 100644 --- a/pydantic_schemaorg/NotYetRecruiting.py +++ b/pydantic_schemaorg/NotYetRecruiting.py @@ -11,5 +11,5 @@ class NotYetRecruiting(MedicalStudyStatus): See: https://schema.org/NotYetRecruiting Model depth: 6 """ - type_: str = Field(default="NotYetRecruiting", alias='@type') + type_: str = Field(default="NotYetRecruiting", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Notary.py b/pydantic_schemaorg/Notary.py index 91d618fa..33a18530 100644 --- a/pydantic_schemaorg/Notary.py +++ b/pydantic_schemaorg/Notary.py @@ -11,5 +11,5 @@ class Notary(LegalService): See: https://schema.org/Notary Model depth: 5 """ - type_: str = Field(default="Notary", alias='@type') + type_: str = Field(default="Notary", alias='@type', constant=True) diff --git a/pydantic_schemaorg/NoteDigitalDocument.py b/pydantic_schemaorg/NoteDigitalDocument.py index 82922dbd..873aed40 100644 --- a/pydantic_schemaorg/NoteDigitalDocument.py +++ b/pydantic_schemaorg/NoteDigitalDocument.py @@ -11,5 +11,5 @@ class NoteDigitalDocument(DigitalDocument): See: https://schema.org/NoteDigitalDocument Model depth: 4 """ - type_: str = Field(default="NoteDigitalDocument", alias='@type') + type_: str = Field(default="NoteDigitalDocument", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Number.py b/pydantic_schemaorg/Number.py index 67b3769d..26d177cf 100644 --- a/pydantic_schemaorg/Number.py +++ b/pydantic_schemaorg/Number.py @@ -14,5 +14,5 @@ class Number(DataType): See: https://schema.org/Number Model depth: 5 """ - type_: str = Field(default="Number", alias='@type') + type_: str = Field(default="Number", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Nursing.py b/pydantic_schemaorg/Nursing.py index b9d5f782..dc678dcf 100644 --- a/pydantic_schemaorg/Nursing.py +++ b/pydantic_schemaorg/Nursing.py @@ -13,5 +13,5 @@ class Nursing(MedicalSpecialty, MedicalBusiness): See: https://schema.org/Nursing Model depth: 5 """ - type_: str = Field(default="Nursing", alias='@type') + type_: str = Field(default="Nursing", alias='@type', constant=True) diff --git a/pydantic_schemaorg/NutritionInformation.py b/pydantic_schemaorg/NutritionInformation.py index 3ab3b025..c24a41c6 100644 --- a/pydantic_schemaorg/NutritionInformation.py +++ b/pydantic_schemaorg/NutritionInformation.py @@ -14,7 +14,7 @@ class NutritionInformation(StructuredValue): See: https://schema.org/NutritionInformation Model depth: 4 """ - type_: str = Field(default="NutritionInformation", alias='@type') + type_: str = Field(default="NutritionInformation", alias='@type', constant=True) calories: Optional[Union[List[Union['Energy', str]], 'Energy', str]] = Field( default=None, description="The number of calories.", diff --git a/pydantic_schemaorg/OTC.py b/pydantic_schemaorg/OTC.py index faae5ccc..3bed4c21 100644 --- a/pydantic_schemaorg/OTC.py +++ b/pydantic_schemaorg/OTC.py @@ -12,5 +12,5 @@ class OTC(DrugPrescriptionStatus): See: https://schema.org/OTC Model depth: 6 """ - type_: str = Field(default="OTC", alias='@type') + type_: str = Field(default="OTC", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Observation.py b/pydantic_schemaorg/Observation.py index 4818142a..bc9bc1a5 100644 --- a/pydantic_schemaorg/Observation.py +++ b/pydantic_schemaorg/Observation.py @@ -22,7 +22,7 @@ class Observation(Intangible): See: https://schema.org/Observation Model depth: 3 """ - type_: str = Field(default="Observation", alias='@type') + type_: str = Field(default="Observation", alias='@type', constant=True) measuredProperty: Optional[Union[List[Union['Property', str]], 'Property', str]] = Field( default=None, description="The measuredProperty of an [[Observation]], either a schema.org property, a property" diff --git a/pydantic_schemaorg/Observational.py b/pydantic_schemaorg/Observational.py index db8e6e93..75597bfb 100644 --- a/pydantic_schemaorg/Observational.py +++ b/pydantic_schemaorg/Observational.py @@ -11,5 +11,5 @@ class Observational(MedicalObservationalStudyDesign): See: https://schema.org/Observational Model depth: 6 """ - type_: str = Field(default="Observational", alias='@type') + type_: str = Field(default="Observational", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Obstetric.py b/pydantic_schemaorg/Obstetric.py index 22811b13..18dfbedd 100644 --- a/pydantic_schemaorg/Obstetric.py +++ b/pydantic_schemaorg/Obstetric.py @@ -13,5 +13,5 @@ class Obstetric(MedicalSpecialty, MedicalBusiness): See: https://schema.org/Obstetric Model depth: 5 """ - type_: str = Field(default="Obstetric", alias='@type') + type_: str = Field(default="Obstetric", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Occupation.py b/pydantic_schemaorg/Occupation.py index e4d9afd5..91066523 100644 --- a/pydantic_schemaorg/Occupation.py +++ b/pydantic_schemaorg/Occupation.py @@ -15,7 +15,7 @@ class Occupation(Intangible): See: https://schema.org/Occupation Model depth: 3 """ - type_: str = Field(default="Occupation", alias='@type') + type_: str = Field(default="Occupation", alias='@type', constant=True) experienceRequirements: Optional[Union[List[Union[str, 'Text', 'OccupationalExperienceRequirements']], str, 'Text', 'OccupationalExperienceRequirements']] = Field( default=None, description="Description of skills and experience needed for the position or Occupation.", @@ -25,7 +25,7 @@ class Occupation(Intangible): description="A statement of knowledge, skill, ability, task or any other assertion expressing a competency" "that is desired or required to fulfill this role or to work in this occupation.", ) - estimatedSalary: Optional[Union[List[Union[Decimal, 'Number', 'MonetaryAmount', 'MonetaryAmountDistribution', str]], Decimal, 'Number', 'MonetaryAmount', 'MonetaryAmountDistribution', str]] = Field( + estimatedSalary: Optional[Union[List[Union[int, float, 'Number', 'MonetaryAmountDistribution', 'MonetaryAmount', str]], int, float, 'Number', 'MonetaryAmountDistribution', 'MonetaryAmount', str]] = Field( default=None, description="An estimated salary for a job posting or occupation, based on a variety of variables including," "but not limited to industry, job title, and location. Estimated salaries are often computed" @@ -65,8 +65,8 @@ class Occupation(Intangible): from pydantic_schemaorg.OccupationalExperienceRequirements import OccupationalExperienceRequirements from pydantic_schemaorg.DefinedTerm import DefinedTerm from pydantic_schemaorg.Number import Number - from pydantic_schemaorg.MonetaryAmount import MonetaryAmount from pydantic_schemaorg.MonetaryAmountDistribution import MonetaryAmountDistribution + from pydantic_schemaorg.MonetaryAmount import MonetaryAmount from pydantic_schemaorg.AdministrativeArea import AdministrativeArea from pydantic_schemaorg.EducationalOccupationalCredential import EducationalOccupationalCredential from pydantic_schemaorg.CategoryCode import CategoryCode diff --git a/pydantic_schemaorg/OccupationalActivity.py b/pydantic_schemaorg/OccupationalActivity.py index 5e9bbc37..d14534d9 100644 --- a/pydantic_schemaorg/OccupationalActivity.py +++ b/pydantic_schemaorg/OccupationalActivity.py @@ -13,5 +13,5 @@ class OccupationalActivity(PhysicalActivityCategory): See: https://schema.org/OccupationalActivity Model depth: 5 """ - type_: str = Field(default="OccupationalActivity", alias='@type') + type_: str = Field(default="OccupationalActivity", alias='@type', constant=True) diff --git a/pydantic_schemaorg/OccupationalExperienceRequirements.py b/pydantic_schemaorg/OccupationalExperienceRequirements.py index 7386e74a..8a20936b 100644 --- a/pydantic_schemaorg/OccupationalExperienceRequirements.py +++ b/pydantic_schemaorg/OccupationalExperienceRequirements.py @@ -15,8 +15,8 @@ class OccupationalExperienceRequirements(Intangible): See: https://schema.org/OccupationalExperienceRequirements Model depth: 3 """ - type_: str = Field(default="OccupationalExperienceRequirements", alias='@type') - monthsOfExperience: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( + type_: str = Field(default="OccupationalExperienceRequirements", alias='@type', constant=True) + monthsOfExperience: Optional[Union[List[Union[int, float, 'Number', str]], int, float, 'Number', str]] = Field( default=None, description="Indicates the minimal number of months of experience required for a position.", ) diff --git a/pydantic_schemaorg/OccupationalTherapy.py b/pydantic_schemaorg/OccupationalTherapy.py index ab76cd94..c9eaacff 100644 --- a/pydantic_schemaorg/OccupationalTherapy.py +++ b/pydantic_schemaorg/OccupationalTherapy.py @@ -12,5 +12,5 @@ class OccupationalTherapy(MedicalTherapy): See: https://schema.org/OccupationalTherapy Model depth: 6 """ - type_: str = Field(default="OccupationalTherapy", alias='@type') + type_: str = Field(default="OccupationalTherapy", alias='@type', constant=True) diff --git a/pydantic_schemaorg/OceanBodyOfWater.py b/pydantic_schemaorg/OceanBodyOfWater.py index b775ddac..c93fc775 100644 --- a/pydantic_schemaorg/OceanBodyOfWater.py +++ b/pydantic_schemaorg/OceanBodyOfWater.py @@ -11,5 +11,5 @@ class OceanBodyOfWater(BodyOfWater): See: https://schema.org/OceanBodyOfWater Model depth: 5 """ - type_: str = Field(default="OceanBodyOfWater", alias='@type') + type_: str = Field(default="OceanBodyOfWater", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Offer.py b/pydantic_schemaorg/Offer.py index c5282d4a..ecfd2165 100644 --- a/pydantic_schemaorg/Offer.py +++ b/pydantic_schemaorg/Offer.py @@ -26,7 +26,7 @@ class Offer(Intangible): See: https://schema.org/Offer Model depth: 3 """ - type_: str = Field(default="Offer", alias='@type') + type_: str = Field(default="Offer", alias='@type', constant=True) hasMeasurement: Optional[Union[List[Union['QuantitativeValue', str]], 'QuantitativeValue', str]] = Field( default=None, description="A product measurement, for example the inseam of pants, the wheel size of a bicycle, or" @@ -38,7 +38,7 @@ class Offer(Intangible): description="This links to a node or nodes indicating the exact quantity of the products included in" "an [[Offer]] or [[ProductCollection]].", ) - areaServed: Optional[Union[List[Union[str, 'Text', 'GeoShape', 'AdministrativeArea', 'Place']], str, 'Text', 'GeoShape', 'AdministrativeArea', 'Place']] = Field( + areaServed: Optional[Union[List[Union[str, 'Text', 'AdministrativeArea', 'Place', 'GeoShape']], str, 'Text', 'AdministrativeArea', 'Place', 'GeoShape']] = Field( default=None, description="The geographic area where a service or offered item is provided.", ) @@ -81,7 +81,7 @@ class Offer(Intangible): "known as EAN/UCC-8 or 8-digit EAN. See [GS1 GTIN Summary](http://www.gs1.org/barcodes/technical/idkeys/gtin)" "for more details.", ) - leaseLength: Optional[Union[List[Union['QuantitativeValue', 'Duration', str]], 'QuantitativeValue', 'Duration', str]] = Field( + leaseLength: Optional[Union[List[Union['Duration', 'QuantitativeValue', str]], 'Duration', 'QuantitativeValue', str]] = Field( default=None, description="Length of the lease for some [[Accommodation]], either particular to some [[Offer]]" "or in some cases intrinsic to the property.", @@ -93,7 +93,7 @@ class Offer(Intangible): "above a certain order volume, or to limit the acceptance of credit cards to purchases" "to a certain minimal amount.", ) - acceptedPaymentMethod: Optional[Union[List[Union['PaymentMethod', 'LoanOrCredit', str]], 'PaymentMethod', 'LoanOrCredit', str]] = Field( + acceptedPaymentMethod: Optional[Union[List[Union['LoanOrCredit', 'PaymentMethod', str]], 'LoanOrCredit', 'PaymentMethod', str]] = Field( default=None, description="The payment method(s) accepted by seller for this offer.", ) @@ -115,7 +115,7 @@ class Offer(Intangible): default=None, description="Specifies a MerchantReturnPolicy that may be applicable.", ) - availabilityStarts: Optional[Union[List[Union[ISO8601Date, 'DateTime', time, 'Time', ISO8601Date, 'Date', str]], ISO8601Date, 'DateTime', time, 'Time', ISO8601Date, 'Date', str]] = Field( + availabilityStarts: Optional[Union[List[Union[ISO8601Date, 'DateTime', ISO8601Date, 'Date', time, 'Time', str]], ISO8601Date, 'DateTime', ISO8601Date, 'Date', time, 'Time', str]] = Field( default=None, description="The beginning of the availability of the product or service included in the offer.", ) @@ -127,7 +127,7 @@ class Offer(Intangible): "for cryptocurrencies e.g. \"BTC\"; well known names for [Local Exchange Tradings Systems](https://en.wikipedia.org/wiki/Local_exchange_trading_system)" "(LETS) and other currency types e.g. \"Ithaca HOUR\".", ) - price: Optional[Union[List[Union[Decimal, 'Number', str, 'Text']], Decimal, 'Number', str, 'Text']] = Field( + price: Optional[Union[List[Union[int, float, 'Number', str, 'Text']], int, float, 'Number', str, 'Text']] = Field( default=None, description="The offer price of a product, or of a price component when attached to PriceSpecification" "and its subtypes. Usage guidelines: * Use the [[priceCurrency]] property (with standard" @@ -144,13 +144,13 @@ class Offer(Intangible): "0123456789 (Unicode 'DIGIT ZERO' (U+0030) to 'DIGIT NINE' (U+0039)) rather than superficially" "similiar Unicode symbols.", ) - eligibleRegion: Optional[Union[List[Union[str, 'Text', 'GeoShape', 'Place']], str, 'Text', 'GeoShape', 'Place']] = Field( + eligibleRegion: Optional[Union[List[Union[str, 'Text', 'Place', 'GeoShape']], str, 'Text', 'Place', 'GeoShape']] = Field( default=None, description="The ISO 3166-1 (ISO 3166-1 alpha-2) or ISO 3166-2 code, the place, or the GeoShape for" "the geo-political region(s) for which the offer or delivery charge specification is" "valid. See also [[ineligibleRegion]].", ) - seller: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + seller: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="An entity which offers (sells / leases / lends / loans) the services / goods. A seller may" "also be a provider.", @@ -179,7 +179,7 @@ class Offer(Intangible): default=None, description="The place(s) from which the offer can be obtained (e.g. store locations).", ) - offeredBy: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + offeredBy: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="A pointer to the organization or person making the offer.", ) @@ -187,7 +187,7 @@ class Offer(Intangible): default=None, description="The date when the item becomes valid.", ) - itemOffered: Optional[Union[List[Union['Product', 'Event', 'MenuItem', 'AggregateOffer', 'Service', 'Trip', 'CreativeWork', str]], 'Product', 'Event', 'MenuItem', 'AggregateOffer', 'Service', 'Trip', 'CreativeWork', str]] = Field( + itemOffered: Optional[Union[List[Union['Trip', 'Product', 'AggregateOffer', 'Event', 'MenuItem', 'Service', 'CreativeWork', str]], 'Trip', 'Product', 'AggregateOffer', 'Event', 'MenuItem', 'Service', 'CreativeWork', str]] = Field( default=None, description="An item being offered (or demanded). The transactional nature of the offer or demand" "is documented using [[businessFunction]], e.g. sell, lease etc. While several common" @@ -199,7 +199,7 @@ class Offer(Intangible): description="The GTIN-14 code of the product, or the product to which the offer refers. See [GS1 GTIN" "Summary](http://www.gs1.org/barcodes/technical/idkeys/gtin) for more details.", ) - availabilityEnds: Optional[Union[List[Union[ISO8601Date, 'DateTime', time, 'Time', ISO8601Date, 'Date', str]], ISO8601Date, 'DateTime', time, 'Time', ISO8601Date, 'Date', str]] = Field( + availabilityEnds: Optional[Union[List[Union[ISO8601Date, 'DateTime', ISO8601Date, 'Date', time, 'Time', str]], ISO8601Date, 'DateTime', ISO8601Date, 'Date', time, 'Time', str]] = Field( default=None, description="The end of the availability of the product or service included in the offer.", ) @@ -259,7 +259,7 @@ class Offer(Intangible): description="One or more detailed price specifications, indicating the unit price and delivery or" "payment charges.", ) - ineligibleRegion: Optional[Union[List[Union[str, 'Text', 'GeoShape', 'Place']], str, 'Text', 'GeoShape', 'Place']] = Field( + ineligibleRegion: Optional[Union[List[Union[str, 'Text', 'Place', 'GeoShape']], str, 'Text', 'Place', 'GeoShape']] = Field( default=None, description="The ISO 3166-1 (ISO 3166-1 alpha-2) or ISO 3166-2 code, the place, or the GeoShape for" "the geo-political region(s) for which the offer or delivery charge specification is" @@ -281,9 +281,9 @@ class Offer(Intangible): from pydantic_schemaorg.QuantitativeValue import QuantitativeValue from pydantic_schemaorg.TypeAndQuantityNode import TypeAndQuantityNode from pydantic_schemaorg.Text import Text - from pydantic_schemaorg.GeoShape import GeoShape from pydantic_schemaorg.AdministrativeArea import AdministrativeArea from pydantic_schemaorg.Place import Place + from pydantic_schemaorg.GeoShape import GeoShape from pydantic_schemaorg.DeliveryMethod import DeliveryMethod from pydantic_schemaorg.Date import Date from pydantic_schemaorg.AggregateRating import AggregateRating @@ -291,8 +291,8 @@ class Offer(Intangible): from pydantic_schemaorg.ItemAvailability import ItemAvailability from pydantic_schemaorg.Duration import Duration from pydantic_schemaorg.PriceSpecification import PriceSpecification - from pydantic_schemaorg.PaymentMethod import PaymentMethod from pydantic_schemaorg.LoanOrCredit import LoanOrCredit + from pydantic_schemaorg.PaymentMethod import PaymentMethod from pydantic_schemaorg.BusinessFunction import BusinessFunction from pydantic_schemaorg.URL import URL from pydantic_schemaorg.PhysicalActivityCategory import PhysicalActivityCategory @@ -301,15 +301,15 @@ class Offer(Intangible): from pydantic_schemaorg.DateTime import DateTime from pydantic_schemaorg.Time import Time from pydantic_schemaorg.Number import Number - from pydantic_schemaorg.Person import Person from pydantic_schemaorg.Organization import Organization + from pydantic_schemaorg.Person import Person from pydantic_schemaorg.WarrantyPromise import WarrantyPromise + from pydantic_schemaorg.Trip import Trip from pydantic_schemaorg.Product import Product + from pydantic_schemaorg.AggregateOffer import AggregateOffer from pydantic_schemaorg.Event import Event from pydantic_schemaorg.MenuItem import MenuItem - from pydantic_schemaorg.AggregateOffer import AggregateOffer from pydantic_schemaorg.Service import Service - from pydantic_schemaorg.Trip import Trip from pydantic_schemaorg.CreativeWork import CreativeWork from pydantic_schemaorg.Review import Review from pydantic_schemaorg.OfferItemCondition import OfferItemCondition diff --git a/pydantic_schemaorg/OfferCatalog.py b/pydantic_schemaorg/OfferCatalog.py index c9f4ad61..5a230371 100644 --- a/pydantic_schemaorg/OfferCatalog.py +++ b/pydantic_schemaorg/OfferCatalog.py @@ -12,5 +12,5 @@ class OfferCatalog(ItemList): See: https://schema.org/OfferCatalog Model depth: 4 """ - type_: str = Field(default="OfferCatalog", alias='@type') + type_: str = Field(default="OfferCatalog", alias='@type', constant=True) diff --git a/pydantic_schemaorg/OfferForLease.py b/pydantic_schemaorg/OfferForLease.py index b9fd2571..926e5854 100644 --- a/pydantic_schemaorg/OfferForLease.py +++ b/pydantic_schemaorg/OfferForLease.py @@ -14,5 +14,5 @@ class OfferForLease(Offer): See: https://schema.org/OfferForLease Model depth: 4 """ - type_: str = Field(default="OfferForLease", alias='@type') + type_: str = Field(default="OfferForLease", alias='@type', constant=True) diff --git a/pydantic_schemaorg/OfferForPurchase.py b/pydantic_schemaorg/OfferForPurchase.py index fcf503d2..16489afc 100644 --- a/pydantic_schemaorg/OfferForPurchase.py +++ b/pydantic_schemaorg/OfferForPurchase.py @@ -14,5 +14,5 @@ class OfferForPurchase(Offer): See: https://schema.org/OfferForPurchase Model depth: 4 """ - type_: str = Field(default="OfferForPurchase", alias='@type') + type_: str = Field(default="OfferForPurchase", alias='@type', constant=True) diff --git a/pydantic_schemaorg/OfferItemCondition.py b/pydantic_schemaorg/OfferItemCondition.py index 8435d344..93af5392 100644 --- a/pydantic_schemaorg/OfferItemCondition.py +++ b/pydantic_schemaorg/OfferItemCondition.py @@ -11,5 +11,5 @@ class OfferItemCondition(Enumeration): See: https://schema.org/OfferItemCondition Model depth: 4 """ - type_: str = Field(default="OfferItemCondition", alias='@type') + type_: str = Field(default="OfferItemCondition", alias='@type', constant=True) diff --git a/pydantic_schemaorg/OfferShippingDetails.py b/pydantic_schemaorg/OfferShippingDetails.py index db9c36d8..690fb955 100644 --- a/pydantic_schemaorg/OfferShippingDetails.py +++ b/pydantic_schemaorg/OfferShippingDetails.py @@ -20,7 +20,7 @@ class OfferShippingDetails(StructuredValue): See: https://schema.org/OfferShippingDetails Model depth: 4 """ - type_: str = Field(default="OfferShippingDetails", alias='@type') + type_: str = Field(default="OfferShippingDetails", alias='@type', constant=True) shippingLabel: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="Label to match an [[OfferShippingDetails]] with a [[ShippingRateSettings]] (within" diff --git a/pydantic_schemaorg/OfficeEquipmentStore.py b/pydantic_schemaorg/OfficeEquipmentStore.py index 2e157c88..a955ebbf 100644 --- a/pydantic_schemaorg/OfficeEquipmentStore.py +++ b/pydantic_schemaorg/OfficeEquipmentStore.py @@ -11,5 +11,5 @@ class OfficeEquipmentStore(Store): See: https://schema.org/OfficeEquipmentStore Model depth: 5 """ - type_: str = Field(default="OfficeEquipmentStore", alias='@type') + type_: str = Field(default="OfficeEquipmentStore", alias='@type', constant=True) diff --git a/pydantic_schemaorg/OfficialLegalValue.py b/pydantic_schemaorg/OfficialLegalValue.py index 6f69d585..ffd2375e 100644 --- a/pydantic_schemaorg/OfficialLegalValue.py +++ b/pydantic_schemaorg/OfficialLegalValue.py @@ -14,5 +14,5 @@ class OfficialLegalValue(LegalValueLevel): See: https://schema.org/OfficialLegalValue Model depth: 5 """ - type_: str = Field(default="OfficialLegalValue", alias='@type') + type_: str = Field(default="OfficialLegalValue", alias='@type', constant=True) diff --git a/pydantic_schemaorg/OfflineEventAttendanceMode.py b/pydantic_schemaorg/OfflineEventAttendanceMode.py index 5baa0f30..12993d15 100644 --- a/pydantic_schemaorg/OfflineEventAttendanceMode.py +++ b/pydantic_schemaorg/OfflineEventAttendanceMode.py @@ -11,5 +11,5 @@ class OfflineEventAttendanceMode(EventAttendanceModeEnumeration): See: https://schema.org/OfflineEventAttendanceMode Model depth: 5 """ - type_: str = Field(default="OfflineEventAttendanceMode", alias='@type') + type_: str = Field(default="OfflineEventAttendanceMode", alias='@type', constant=True) diff --git a/pydantic_schemaorg/OfflinePermanently.py b/pydantic_schemaorg/OfflinePermanently.py index 28b6abb7..e48581a8 100644 --- a/pydantic_schemaorg/OfflinePermanently.py +++ b/pydantic_schemaorg/OfflinePermanently.py @@ -11,5 +11,5 @@ class OfflinePermanently(GameServerStatus): See: https://schema.org/OfflinePermanently Model depth: 6 """ - type_: str = Field(default="OfflinePermanently", alias='@type') + type_: str = Field(default="OfflinePermanently", alias='@type', constant=True) diff --git a/pydantic_schemaorg/OfflineTemporarily.py b/pydantic_schemaorg/OfflineTemporarily.py index c1e78074..2142f24a 100644 --- a/pydantic_schemaorg/OfflineTemporarily.py +++ b/pydantic_schemaorg/OfflineTemporarily.py @@ -11,5 +11,5 @@ class OfflineTemporarily(GameServerStatus): See: https://schema.org/OfflineTemporarily Model depth: 6 """ - type_: str = Field(default="OfflineTemporarily", alias='@type') + type_: str = Field(default="OfflineTemporarily", alias='@type', constant=True) diff --git a/pydantic_schemaorg/OnDemandEvent.py b/pydantic_schemaorg/OnDemandEvent.py index 021eb1cd..a2a0ce84 100644 --- a/pydantic_schemaorg/OnDemandEvent.py +++ b/pydantic_schemaorg/OnDemandEvent.py @@ -12,5 +12,5 @@ class OnDemandEvent(PublicationEvent): See: https://schema.org/OnDemandEvent Model depth: 4 """ - type_: str = Field(default="OnDemandEvent", alias='@type') + type_: str = Field(default="OnDemandEvent", alias='@type', constant=True) diff --git a/pydantic_schemaorg/OnSitePickup.py b/pydantic_schemaorg/OnSitePickup.py index d949cb0b..6fb94082 100644 --- a/pydantic_schemaorg/OnSitePickup.py +++ b/pydantic_schemaorg/OnSitePickup.py @@ -11,5 +11,5 @@ class OnSitePickup(DeliveryMethod): See: https://schema.org/OnSitePickup Model depth: 5 """ - type_: str = Field(default="OnSitePickup", alias='@type') + type_: str = Field(default="OnSitePickup", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Oncologic.py b/pydantic_schemaorg/Oncologic.py index ccd07c81..c0c26013 100644 --- a/pydantic_schemaorg/Oncologic.py +++ b/pydantic_schemaorg/Oncologic.py @@ -13,5 +13,5 @@ class Oncologic(MedicalSpecialty, MedicalBusiness): See: https://schema.org/Oncologic Model depth: 5 """ - type_: str = Field(default="Oncologic", alias='@type') + type_: str = Field(default="Oncologic", alias='@type', constant=True) diff --git a/pydantic_schemaorg/OneTimePayments.py b/pydantic_schemaorg/OneTimePayments.py index 050ecb74..d6ca4382 100644 --- a/pydantic_schemaorg/OneTimePayments.py +++ b/pydantic_schemaorg/OneTimePayments.py @@ -11,5 +11,5 @@ class OneTimePayments(GovernmentBenefitsType): See: https://schema.org/OneTimePayments Model depth: 5 """ - type_: str = Field(default="OneTimePayments", alias='@type') + type_: str = Field(default="OneTimePayments", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Online.py b/pydantic_schemaorg/Online.py index 31c97e52..df059077 100644 --- a/pydantic_schemaorg/Online.py +++ b/pydantic_schemaorg/Online.py @@ -11,5 +11,5 @@ class Online(GameServerStatus): See: https://schema.org/Online Model depth: 6 """ - type_: str = Field(default="Online", alias='@type') + type_: str = Field(default="Online", alias='@type', constant=True) diff --git a/pydantic_schemaorg/OnlineEventAttendanceMode.py b/pydantic_schemaorg/OnlineEventAttendanceMode.py index 1a12558f..3b206c4c 100644 --- a/pydantic_schemaorg/OnlineEventAttendanceMode.py +++ b/pydantic_schemaorg/OnlineEventAttendanceMode.py @@ -11,5 +11,5 @@ class OnlineEventAttendanceMode(EventAttendanceModeEnumeration): See: https://schema.org/OnlineEventAttendanceMode Model depth: 5 """ - type_: str = Field(default="OnlineEventAttendanceMode", alias='@type') + type_: str = Field(default="OnlineEventAttendanceMode", alias='@type', constant=True) diff --git a/pydantic_schemaorg/OnlineFull.py b/pydantic_schemaorg/OnlineFull.py index 1a6367d6..c3bb4167 100644 --- a/pydantic_schemaorg/OnlineFull.py +++ b/pydantic_schemaorg/OnlineFull.py @@ -12,5 +12,5 @@ class OnlineFull(GameServerStatus): See: https://schema.org/OnlineFull Model depth: 6 """ - type_: str = Field(default="OnlineFull", alias='@type') + type_: str = Field(default="OnlineFull", alias='@type', constant=True) diff --git a/pydantic_schemaorg/OnlineOnly.py b/pydantic_schemaorg/OnlineOnly.py index 6342efd2..da44f5bb 100644 --- a/pydantic_schemaorg/OnlineOnly.py +++ b/pydantic_schemaorg/OnlineOnly.py @@ -11,5 +11,5 @@ class OnlineOnly(ItemAvailability): See: https://schema.org/OnlineOnly Model depth: 5 """ - type_: str = Field(default="OnlineOnly", alias='@type') + type_: str = Field(default="OnlineOnly", alias='@type', constant=True) diff --git a/pydantic_schemaorg/OpenTrial.py b/pydantic_schemaorg/OpenTrial.py index 950bde58..4daaf836 100644 --- a/pydantic_schemaorg/OpenTrial.py +++ b/pydantic_schemaorg/OpenTrial.py @@ -12,5 +12,5 @@ class OpenTrial(MedicalTrialDesign): See: https://schema.org/OpenTrial Model depth: 6 """ - type_: str = Field(default="OpenTrial", alias='@type') + type_: str = Field(default="OpenTrial", alias='@type', constant=True) diff --git a/pydantic_schemaorg/OpeningHoursSpecification.py b/pydantic_schemaorg/OpeningHoursSpecification.py index ef6a4712..e23081b6 100644 --- a/pydantic_schemaorg/OpeningHoursSpecification.py +++ b/pydantic_schemaorg/OpeningHoursSpecification.py @@ -19,7 +19,7 @@ class OpeningHoursSpecification(StructuredValue): See: https://schema.org/OpeningHoursSpecification Model depth: 4 """ - type_: str = Field(default="OpeningHoursSpecification", alias='@type') + type_: str = Field(default="OpeningHoursSpecification", alias='@type', constant=True) opens: Optional[Union[List[Union[time, 'Time', str]], time, 'Time', str]] = Field( default=None, description="The opening hour of the place or service on the given day(s) of the week.", diff --git a/pydantic_schemaorg/OpinionNewsArticle.py b/pydantic_schemaorg/OpinionNewsArticle.py index a7f9716b..d3ba00e3 100644 --- a/pydantic_schemaorg/OpinionNewsArticle.py +++ b/pydantic_schemaorg/OpinionNewsArticle.py @@ -14,5 +14,5 @@ class OpinionNewsArticle(NewsArticle): See: https://schema.org/OpinionNewsArticle Model depth: 5 """ - type_: str = Field(default="OpinionNewsArticle", alias='@type') + type_: str = Field(default="OpinionNewsArticle", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Optician.py b/pydantic_schemaorg/Optician.py index b96e6547..c09e99db 100644 --- a/pydantic_schemaorg/Optician.py +++ b/pydantic_schemaorg/Optician.py @@ -11,5 +11,5 @@ class Optician(MedicalBusiness): See: https://schema.org/Optician Model depth: 5 """ - type_: str = Field(default="Optician", alias='@type') + type_: str = Field(default="Optician", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Optometric.py b/pydantic_schemaorg/Optometric.py index 0eb5383f..002e34b5 100644 --- a/pydantic_schemaorg/Optometric.py +++ b/pydantic_schemaorg/Optometric.py @@ -12,5 +12,5 @@ class Optometric(MedicalSpecialty, MedicalBusiness): See: https://schema.org/Optometric Model depth: 5 """ - type_: str = Field(default="Optometric", alias='@type') + type_: str = Field(default="Optometric", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Order.py b/pydantic_schemaorg/Order.py index ac930e47..b99d8e1e 100644 --- a/pydantic_schemaorg/Order.py +++ b/pydantic_schemaorg/Order.py @@ -18,7 +18,7 @@ class Order(Intangible): See: https://schema.org/Order Model depth: 3 """ - type_: str = Field(default="Order", alias='@type') + type_: str = Field(default="Order", alias='@type', constant=True) orderDate: Optional[Union[List[Union[ISO8601Date, 'DateTime', ISO8601Date, 'Date', str]], ISO8601Date, 'DateTime', ISO8601Date, 'Date', str]] = Field( default=None, description="Date order was placed.", @@ -27,7 +27,7 @@ class Order(Intangible): default=None, description="The date that payment is due.", ) - discount: Optional[Union[List[Union[Decimal, 'Number', str, 'Text']], Decimal, 'Number', str, 'Text']] = Field( + discount: Optional[Union[List[Union[int, float, 'Number', str, 'Text']], int, float, 'Number', str, 'Text']] = Field( default=None, description="Any discount applied (to an Order).", ) @@ -54,7 +54,7 @@ class Order(Intangible): default=None, description="Was the offer accepted as a gift for someone other than the buyer.", ) - orderedItem: Optional[Union[List[Union['Service', 'Product', 'OrderItem', str]], 'Service', 'Product', 'OrderItem', str]] = Field( + orderedItem: Optional[Union[List[Union['Service', 'OrderItem', 'Product', str]], 'Service', 'OrderItem', 'Product', str]] = Field( default=None, description="The item ordered.", ) @@ -62,11 +62,11 @@ class Order(Intangible): default=None, description="The billing address for the order.", ) - customer: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + customer: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="Party placing the order or paying the invoice.", ) - seller: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + seller: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="An entity which offers (sells / leases / lends / loans) the services / goods. A seller may" "also be a provider.", @@ -95,7 +95,7 @@ class Order(Intangible): default=None, description="The offer(s) -- e.g., product, quantity and price combinations -- included in the order.", ) - merchant: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + merchant: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="'merchant' is an out-dated term for 'seller'.", ) @@ -107,7 +107,7 @@ class Order(Intangible): default=None, description="The name of the credit card or other method of payment for the order.", ) - broker: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + broker: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="An entity that arranges for an exchange between a buyer and a seller. In most cases a broker" "never acquires or releases ownership of a product or service involved in an exchange." @@ -124,11 +124,11 @@ class Order(Intangible): from pydantic_schemaorg.ParcelDelivery import ParcelDelivery from pydantic_schemaorg.Boolean import Boolean from pydantic_schemaorg.Service import Service - from pydantic_schemaorg.Product import Product from pydantic_schemaorg.OrderItem import OrderItem + from pydantic_schemaorg.Product import Product from pydantic_schemaorg.PostalAddress import PostalAddress - from pydantic_schemaorg.Person import Person from pydantic_schemaorg.Organization import Organization + from pydantic_schemaorg.Person import Person from pydantic_schemaorg.OrderStatus import OrderStatus from pydantic_schemaorg.Invoice import Invoice from pydantic_schemaorg.Offer import Offer diff --git a/pydantic_schemaorg/OrderAction.py b/pydantic_schemaorg/OrderAction.py index e559776e..9499f8cc 100644 --- a/pydantic_schemaorg/OrderAction.py +++ b/pydantic_schemaorg/OrderAction.py @@ -14,7 +14,7 @@ class OrderAction(TradeAction): See: https://schema.org/OrderAction Model depth: 4 """ - type_: str = Field(default="OrderAction", alias='@type') + type_: str = Field(default="OrderAction", alias='@type', constant=True) deliveryMethod: Optional[Union[List[Union['DeliveryMethod', str]], 'DeliveryMethod', str]] = Field( default=None, description="A sub property of instrument. The method of delivery.", diff --git a/pydantic_schemaorg/OrderCancelled.py b/pydantic_schemaorg/OrderCancelled.py index 88515847..d70b3b2e 100644 --- a/pydantic_schemaorg/OrderCancelled.py +++ b/pydantic_schemaorg/OrderCancelled.py @@ -11,5 +11,5 @@ class OrderCancelled(OrderStatus): See: https://schema.org/OrderCancelled Model depth: 6 """ - type_: str = Field(default="OrderCancelled", alias='@type') + type_: str = Field(default="OrderCancelled", alias='@type', constant=True) diff --git a/pydantic_schemaorg/OrderDelivered.py b/pydantic_schemaorg/OrderDelivered.py index ac83eaf0..0d1cbaed 100644 --- a/pydantic_schemaorg/OrderDelivered.py +++ b/pydantic_schemaorg/OrderDelivered.py @@ -11,5 +11,5 @@ class OrderDelivered(OrderStatus): See: https://schema.org/OrderDelivered Model depth: 6 """ - type_: str = Field(default="OrderDelivered", alias='@type') + type_: str = Field(default="OrderDelivered", alias='@type', constant=True) diff --git a/pydantic_schemaorg/OrderInTransit.py b/pydantic_schemaorg/OrderInTransit.py index 597a24f9..52f91589 100644 --- a/pydantic_schemaorg/OrderInTransit.py +++ b/pydantic_schemaorg/OrderInTransit.py @@ -11,5 +11,5 @@ class OrderInTransit(OrderStatus): See: https://schema.org/OrderInTransit Model depth: 6 """ - type_: str = Field(default="OrderInTransit", alias='@type') + type_: str = Field(default="OrderInTransit", alias='@type', constant=True) diff --git a/pydantic_schemaorg/OrderItem.py b/pydantic_schemaorg/OrderItem.py index 5bdebf50..1e2329da 100644 --- a/pydantic_schemaorg/OrderItem.py +++ b/pydantic_schemaorg/OrderItem.py @@ -16,16 +16,16 @@ class OrderItem(Intangible): See: https://schema.org/OrderItem Model depth: 3 """ - type_: str = Field(default="OrderItem", alias='@type') + type_: str = Field(default="OrderItem", alias='@type', constant=True) orderDelivery: Optional[Union[List[Union['ParcelDelivery', str]], 'ParcelDelivery', str]] = Field( default=None, description="The delivery of the parcel related to this order or order item.", ) - orderedItem: Optional[Union[List[Union['Service', 'Product', 'OrderItem', str]], 'Service', 'Product', 'OrderItem', str]] = Field( + orderedItem: Optional[Union[List[Union['Service', 'OrderItem', 'Product', str]], 'Service', 'OrderItem', 'Product', str]] = Field( default=None, description="The item ordered.", ) - orderQuantity: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( + orderQuantity: Optional[Union[List[Union[int, float, 'Number', str]], int, float, 'Number', str]] = Field( default=None, description="The number of the item ordered. If the property is not set, assume the quantity is one.", ) diff --git a/pydantic_schemaorg/OrderPaymentDue.py b/pydantic_schemaorg/OrderPaymentDue.py index 40b6f370..77dc0193 100644 --- a/pydantic_schemaorg/OrderPaymentDue.py +++ b/pydantic_schemaorg/OrderPaymentDue.py @@ -11,5 +11,5 @@ class OrderPaymentDue(OrderStatus): See: https://schema.org/OrderPaymentDue Model depth: 6 """ - type_: str = Field(default="OrderPaymentDue", alias='@type') + type_: str = Field(default="OrderPaymentDue", alias='@type', constant=True) diff --git a/pydantic_schemaorg/OrderPickupAvailable.py b/pydantic_schemaorg/OrderPickupAvailable.py index f1050b20..455d7abe 100644 --- a/pydantic_schemaorg/OrderPickupAvailable.py +++ b/pydantic_schemaorg/OrderPickupAvailable.py @@ -11,5 +11,5 @@ class OrderPickupAvailable(OrderStatus): See: https://schema.org/OrderPickupAvailable Model depth: 6 """ - type_: str = Field(default="OrderPickupAvailable", alias='@type') + type_: str = Field(default="OrderPickupAvailable", alias='@type', constant=True) diff --git a/pydantic_schemaorg/OrderProblem.py b/pydantic_schemaorg/OrderProblem.py index 480cce14..011312f3 100644 --- a/pydantic_schemaorg/OrderProblem.py +++ b/pydantic_schemaorg/OrderProblem.py @@ -11,5 +11,5 @@ class OrderProblem(OrderStatus): See: https://schema.org/OrderProblem Model depth: 6 """ - type_: str = Field(default="OrderProblem", alias='@type') + type_: str = Field(default="OrderProblem", alias='@type', constant=True) diff --git a/pydantic_schemaorg/OrderProcessing.py b/pydantic_schemaorg/OrderProcessing.py index 6628a640..285000b8 100644 --- a/pydantic_schemaorg/OrderProcessing.py +++ b/pydantic_schemaorg/OrderProcessing.py @@ -11,5 +11,5 @@ class OrderProcessing(OrderStatus): See: https://schema.org/OrderProcessing Model depth: 6 """ - type_: str = Field(default="OrderProcessing", alias='@type') + type_: str = Field(default="OrderProcessing", alias='@type', constant=True) diff --git a/pydantic_schemaorg/OrderReturned.py b/pydantic_schemaorg/OrderReturned.py index 9bb9f95b..7b4b6e29 100644 --- a/pydantic_schemaorg/OrderReturned.py +++ b/pydantic_schemaorg/OrderReturned.py @@ -11,5 +11,5 @@ class OrderReturned(OrderStatus): See: https://schema.org/OrderReturned Model depth: 6 """ - type_: str = Field(default="OrderReturned", alias='@type') + type_: str = Field(default="OrderReturned", alias='@type', constant=True) diff --git a/pydantic_schemaorg/OrderStatus.py b/pydantic_schemaorg/OrderStatus.py index 85edeb19..326d1b00 100644 --- a/pydantic_schemaorg/OrderStatus.py +++ b/pydantic_schemaorg/OrderStatus.py @@ -11,5 +11,5 @@ class OrderStatus(StatusEnumeration): See: https://schema.org/OrderStatus Model depth: 5 """ - type_: str = Field(default="OrderStatus", alias='@type') + type_: str = Field(default="OrderStatus", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Organization.py b/pydantic_schemaorg/Organization.py index eeddf844..58f1453b 100644 --- a/pydantic_schemaorg/Organization.py +++ b/pydantic_schemaorg/Organization.py @@ -16,7 +16,7 @@ class Organization(Thing): See: https://schema.org/Organization Model depth: 2 """ - type_: str = Field(default="Organization", alias='@type') + type_: str = Field(default="Organization", alias='@type', constant=True) subOrganization: Optional[Union[List[Union['Organization', str]], 'Organization', str]] = Field( default=None, description="A relationship between two organizations where the first includes the second, e.g.," @@ -26,7 +26,7 @@ class Organization(Thing): default=None, description="A contact point for a person or organization.", ) - areaServed: Optional[Union[List[Union[str, 'Text', 'GeoShape', 'AdministrativeArea', 'Place']], str, 'Text', 'GeoShape', 'AdministrativeArea', 'Place']] = Field( + areaServed: Optional[Union[List[Union[str, 'Text', 'AdministrativeArea', 'Place', 'GeoShape']], str, 'Text', 'AdministrativeArea', 'Place', 'GeoShape']] = Field( default=None, description="The geographic area where a service or offered item is provided.", ) @@ -41,7 +41,7 @@ class Organization(Thing): default=None, description="The larger organization that this organization is a [[subOrganization]] of, if any.", ) - funder: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + funder: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="A person or organization that supports (sponsors) something through some kind of financial" "contribution.", @@ -95,7 +95,7 @@ class Organization(Thing): description="The International Standard of Industrial Classification of All Economic Activities" "(ISIC), Revision 4 code for a particular organization, business person, or place.", ) - member: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + member: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="A member of an Organization or a ProgramMembership. Organizations can be members of" "organizations; ProgramMembership is typically for individuals.", @@ -109,7 +109,7 @@ class Organization(Thing): default=None, description="Someone working for this organization.", ) - brand: Optional[Union[List[Union['Organization', 'Brand', str]], 'Organization', 'Brand', str]] = Field( + brand: Optional[Union[List[Union['Brand', 'Organization', str]], 'Brand', 'Organization', str]] = Field( default=None, description="The brand(s) associated with a product or service, or the brand(s) maintained by an organization" "or business person.", @@ -185,7 +185,7 @@ class Organization(Thing): default=None, description="An associated logo.", ) - members: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + members: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="A member of this organization.", ) @@ -213,7 +213,7 @@ class Organization(Thing): default=None, description="Alumni of an organization.", ) - sponsor: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + sponsor: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="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.", @@ -222,7 +222,7 @@ class Organization(Thing): default=None, description="Upcoming or past events associated with this place or organization.", ) - serviceArea: Optional[Union[List[Union['GeoShape', 'AdministrativeArea', 'Place', str]], 'GeoShape', 'AdministrativeArea', 'Place', str]] = Field( + serviceArea: Optional[Union[List[Union['AdministrativeArea', 'Place', 'GeoShape', str]], 'AdministrativeArea', 'Place', 'GeoShape', str]] = Field( default=None, description="The geographic area where the service is provided.", ) @@ -243,7 +243,7 @@ class Organization(Thing): default=None, description="The number of employees in an organization e.g. business.", ) - ownershipFundingInfo: Optional[Union[List[Union[AnyUrl, 'URL', str, 'Text', 'AboutPage', 'CreativeWork']], AnyUrl, 'URL', str, 'Text', 'AboutPage', 'CreativeWork']] = Field( + ownershipFundingInfo: Optional[Union[List[Union[AnyUrl, 'URL', str, 'Text', 'CreativeWork', 'AboutPage']], AnyUrl, 'URL', str, 'Text', 'CreativeWork', 'AboutPage']] = Field( default=None, description="For an [[Organization]] (often but not necessarily a [[NewsMediaOrganization]])," "a description of organizational ownership structure; funding and grants. In a news/media" @@ -308,7 +308,7 @@ class Organization(Thing): default=None, description="The fax number.", ) - owns: Optional[Union[List[Union['Product', 'OwnershipInfo', str]], 'Product', 'OwnershipInfo', str]] = Field( + owns: Optional[Union[List[Union['OwnershipInfo', 'Product', str]], 'OwnershipInfo', 'Product', str]] = Field( default=None, description="Products owned by the organization or person.", ) @@ -317,9 +317,9 @@ class Organization(Thing): if TYPE_CHECKING: from pydantic_schemaorg.ContactPoint import ContactPoint from pydantic_schemaorg.Text import Text - from pydantic_schemaorg.GeoShape import GeoShape from pydantic_schemaorg.AdministrativeArea import AdministrativeArea from pydantic_schemaorg.Place import Place + from pydantic_schemaorg.GeoShape import GeoShape from pydantic_schemaorg.URL import URL from pydantic_schemaorg.CreativeWork import CreativeWork from pydantic_schemaorg.Person import Person @@ -344,5 +344,5 @@ class Organization(Thing): from pydantic_schemaorg.Demand import Demand from pydantic_schemaorg.Article import Article from pydantic_schemaorg.Thing import Thing - from pydantic_schemaorg.Product import Product from pydantic_schemaorg.OwnershipInfo import OwnershipInfo + from pydantic_schemaorg.Product import Product diff --git a/pydantic_schemaorg/OrganizationRole.py b/pydantic_schemaorg/OrganizationRole.py index 139890f9..d5ced8ef 100644 --- a/pydantic_schemaorg/OrganizationRole.py +++ b/pydantic_schemaorg/OrganizationRole.py @@ -15,8 +15,8 @@ class OrganizationRole(Role): See: https://schema.org/OrganizationRole Model depth: 4 """ - type_: str = Field(default="OrganizationRole", alias='@type') - numberedPosition: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( + type_: str = Field(default="OrganizationRole", alias='@type', constant=True) + numberedPosition: Optional[Union[List[Union[int, float, 'Number', str]], int, float, 'Number', str]] = Field( default=None, description="A number associated with a role in an organization, for example, the number on an athlete's" "jersey.", diff --git a/pydantic_schemaorg/OrganizeAction.py b/pydantic_schemaorg/OrganizeAction.py index 8efe37fb..2573718a 100644 --- a/pydantic_schemaorg/OrganizeAction.py +++ b/pydantic_schemaorg/OrganizeAction.py @@ -11,5 +11,5 @@ class OrganizeAction(Action): See: https://schema.org/OrganizeAction Model depth: 3 """ - type_: str = Field(default="OrganizeAction", alias='@type') + type_: str = Field(default="OrganizeAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/OriginalMediaContent.py b/pydantic_schemaorg/OriginalMediaContent.py index c906c13e..80dd0371 100644 --- a/pydantic_schemaorg/OriginalMediaContent.py +++ b/pydantic_schemaorg/OriginalMediaContent.py @@ -20,5 +20,5 @@ class OriginalMediaContent(MediaManipulationRatingEnumeration): See: https://schema.org/OriginalMediaContent Model depth: 5 """ - type_: str = Field(default="OriginalMediaContent", alias='@type') + type_: str = Field(default="OriginalMediaContent", alias='@type', constant=True) diff --git a/pydantic_schemaorg/OriginalShippingFees.py b/pydantic_schemaorg/OriginalShippingFees.py index 98e14f96..ab9d7c0c 100644 --- a/pydantic_schemaorg/OriginalShippingFees.py +++ b/pydantic_schemaorg/OriginalShippingFees.py @@ -11,5 +11,5 @@ class OriginalShippingFees(ReturnFeesEnumeration): See: https://schema.org/OriginalShippingFees Model depth: 5 """ - type_: str = Field(default="OriginalShippingFees", alias='@type') + type_: str = Field(default="OriginalShippingFees", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Osteopathic.py b/pydantic_schemaorg/Osteopathic.py index b35b8362..a4d11eb2 100644 --- a/pydantic_schemaorg/Osteopathic.py +++ b/pydantic_schemaorg/Osteopathic.py @@ -11,5 +11,5 @@ class Osteopathic(MedicineSystem): See: https://schema.org/Osteopathic Model depth: 6 """ - type_: str = Field(default="Osteopathic", alias='@type') + type_: str = Field(default="Osteopathic", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Otolaryngologic.py b/pydantic_schemaorg/Otolaryngologic.py index b93aceba..0676d1b6 100644 --- a/pydantic_schemaorg/Otolaryngologic.py +++ b/pydantic_schemaorg/Otolaryngologic.py @@ -13,5 +13,5 @@ class Otolaryngologic(MedicalSpecialty, MedicalBusiness): See: https://schema.org/Otolaryngologic Model depth: 5 """ - type_: str = Field(default="Otolaryngologic", alias='@type') + type_: str = Field(default="Otolaryngologic", alias='@type', constant=True) diff --git a/pydantic_schemaorg/OutOfStock.py b/pydantic_schemaorg/OutOfStock.py index 59a01339..779d118d 100644 --- a/pydantic_schemaorg/OutOfStock.py +++ b/pydantic_schemaorg/OutOfStock.py @@ -11,5 +11,5 @@ class OutOfStock(ItemAvailability): See: https://schema.org/OutOfStock Model depth: 5 """ - type_: str = Field(default="OutOfStock", alias='@type') + type_: str = Field(default="OutOfStock", alias='@type', constant=True) diff --git a/pydantic_schemaorg/OutletStore.py b/pydantic_schemaorg/OutletStore.py index 2fb6755f..ca819ffc 100644 --- a/pydantic_schemaorg/OutletStore.py +++ b/pydantic_schemaorg/OutletStore.py @@ -11,5 +11,5 @@ class OutletStore(Store): See: https://schema.org/OutletStore Model depth: 5 """ - type_: str = Field(default="OutletStore", alias='@type') + type_: str = Field(default="OutletStore", alias='@type', constant=True) diff --git a/pydantic_schemaorg/OverviewHealthAspect.py b/pydantic_schemaorg/OverviewHealthAspect.py index 62cc2507..ab5db3c6 100644 --- a/pydantic_schemaorg/OverviewHealthAspect.py +++ b/pydantic_schemaorg/OverviewHealthAspect.py @@ -12,5 +12,5 @@ class OverviewHealthAspect(HealthAspectEnumeration): See: https://schema.org/OverviewHealthAspect Model depth: 5 """ - type_: str = Field(default="OverviewHealthAspect", alias='@type') + type_: str = Field(default="OverviewHealthAspect", alias='@type', constant=True) diff --git a/pydantic_schemaorg/OwnershipInfo.py b/pydantic_schemaorg/OwnershipInfo.py index 7147f5ab..9413edbe 100644 --- a/pydantic_schemaorg/OwnershipInfo.py +++ b/pydantic_schemaorg/OwnershipInfo.py @@ -16,8 +16,8 @@ class OwnershipInfo(StructuredValue): See: https://schema.org/OwnershipInfo Model depth: 4 """ - type_: str = Field(default="OwnershipInfo", alias='@type') - acquiredFrom: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + type_: str = Field(default="OwnershipInfo", alias='@type', constant=True) + acquiredFrom: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="The organization or person from which the product was acquired.", ) @@ -36,8 +36,8 @@ class OwnershipInfo(StructuredValue): if TYPE_CHECKING: - from pydantic_schemaorg.Person import Person from pydantic_schemaorg.Organization import Organization + from pydantic_schemaorg.Person import Person from pydantic_schemaorg.Service import Service from pydantic_schemaorg.Product import Product from pydantic_schemaorg.DateTime import DateTime diff --git a/pydantic_schemaorg/PET.py b/pydantic_schemaorg/PET.py index dce97d3c..ac5a140e 100644 --- a/pydantic_schemaorg/PET.py +++ b/pydantic_schemaorg/PET.py @@ -11,5 +11,5 @@ class PET(MedicalImagingTechnique): See: https://schema.org/PET Model depth: 6 """ - type_: str = Field(default="PET", alias='@type') + type_: str = Field(default="PET", alias='@type', constant=True) diff --git a/pydantic_schemaorg/PaidLeave.py b/pydantic_schemaorg/PaidLeave.py index 3a27950b..53e563ee 100644 --- a/pydantic_schemaorg/PaidLeave.py +++ b/pydantic_schemaorg/PaidLeave.py @@ -11,5 +11,5 @@ class PaidLeave(GovernmentBenefitsType): See: https://schema.org/PaidLeave Model depth: 5 """ - type_: str = Field(default="PaidLeave", alias='@type') + type_: str = Field(default="PaidLeave", alias='@type', constant=True) diff --git a/pydantic_schemaorg/PaintAction.py b/pydantic_schemaorg/PaintAction.py index a2c93a3a..20b25bc5 100644 --- a/pydantic_schemaorg/PaintAction.py +++ b/pydantic_schemaorg/PaintAction.py @@ -11,5 +11,5 @@ class PaintAction(CreateAction): See: https://schema.org/PaintAction Model depth: 4 """ - type_: str = Field(default="PaintAction", alias='@type') + type_: str = Field(default="PaintAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Painting.py b/pydantic_schemaorg/Painting.py index dc9aabc0..a74ce234 100644 --- a/pydantic_schemaorg/Painting.py +++ b/pydantic_schemaorg/Painting.py @@ -11,5 +11,5 @@ class Painting(CreativeWork): See: https://schema.org/Painting Model depth: 3 """ - type_: str = Field(default="Painting", alias='@type') + type_: str = Field(default="Painting", alias='@type', constant=True) diff --git a/pydantic_schemaorg/PalliativeProcedure.py b/pydantic_schemaorg/PalliativeProcedure.py index 862e117b..af51f335 100644 --- a/pydantic_schemaorg/PalliativeProcedure.py +++ b/pydantic_schemaorg/PalliativeProcedure.py @@ -13,5 +13,5 @@ class PalliativeProcedure(MedicalTherapy, MedicalProcedure): See: https://schema.org/PalliativeProcedure Model depth: 4 """ - type_: str = Field(default="PalliativeProcedure", alias='@type') + type_: str = Field(default="PalliativeProcedure", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Paperback.py b/pydantic_schemaorg/Paperback.py index 4f23d4c8..6925f57e 100644 --- a/pydantic_schemaorg/Paperback.py +++ b/pydantic_schemaorg/Paperback.py @@ -11,5 +11,5 @@ class Paperback(BookFormatType): See: https://schema.org/Paperback Model depth: 5 """ - type_: str = Field(default="Paperback", alias='@type') + type_: str = Field(default="Paperback", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ParcelDelivery.py b/pydantic_schemaorg/ParcelDelivery.py index c0364781..bd6fae11 100644 --- a/pydantic_schemaorg/ParcelDelivery.py +++ b/pydantic_schemaorg/ParcelDelivery.py @@ -16,7 +16,7 @@ class ParcelDelivery(Intangible): See: https://schema.org/ParcelDelivery Model depth: 3 """ - type_: str = Field(default="ParcelDelivery", alias='@type') + type_: str = Field(default="ParcelDelivery", alias='@type', constant=True) trackingNumber: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="Shipper tracking number.", @@ -53,7 +53,7 @@ class ParcelDelivery(Intangible): default=None, description="Shipper's address.", ) - provider: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + provider: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="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." diff --git a/pydantic_schemaorg/ParcelService.py b/pydantic_schemaorg/ParcelService.py index 17cb68cf..71b92e2a 100644 --- a/pydantic_schemaorg/ParcelService.py +++ b/pydantic_schemaorg/ParcelService.py @@ -13,5 +13,5 @@ class ParcelService(DeliveryMethod): See: https://schema.org/ParcelService Model depth: 5 """ - type_: str = Field(default="ParcelService", alias='@type') + type_: str = Field(default="ParcelService", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ParentAudience.py b/pydantic_schemaorg/ParentAudience.py index 0808c996..c7d89ddf 100644 --- a/pydantic_schemaorg/ParentAudience.py +++ b/pydantic_schemaorg/ParentAudience.py @@ -15,12 +15,12 @@ class ParentAudience(PeopleAudience): See: https://schema.org/ParentAudience Model depth: 5 """ - type_: str = Field(default="ParentAudience", alias='@type') - childMinAge: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( + type_: str = Field(default="ParentAudience", alias='@type', constant=True) + childMinAge: Optional[Union[List[Union[int, float, 'Number', str]], int, float, 'Number', str]] = Field( default=None, description="Minimal age of the child.", ) - childMaxAge: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( + childMaxAge: Optional[Union[List[Union[int, float, 'Number', str]], int, float, 'Number', str]] = Field( default=None, description="Maximal age of the child.", ) diff --git a/pydantic_schemaorg/ParentalSupport.py b/pydantic_schemaorg/ParentalSupport.py index c6bd86a4..c8cf5d51 100644 --- a/pydantic_schemaorg/ParentalSupport.py +++ b/pydantic_schemaorg/ParentalSupport.py @@ -11,5 +11,5 @@ class ParentalSupport(GovernmentBenefitsType): See: https://schema.org/ParentalSupport Model depth: 5 """ - type_: str = Field(default="ParentalSupport", alias='@type') + type_: str = Field(default="ParentalSupport", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Park.py b/pydantic_schemaorg/Park.py index 95d7d49f..e868541f 100644 --- a/pydantic_schemaorg/Park.py +++ b/pydantic_schemaorg/Park.py @@ -11,5 +11,5 @@ class Park(CivicStructure): See: https://schema.org/Park Model depth: 4 """ - type_: str = Field(default="Park", alias='@type') + type_: str = Field(default="Park", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ParkingFacility.py b/pydantic_schemaorg/ParkingFacility.py index 1e6e4522..27918f55 100644 --- a/pydantic_schemaorg/ParkingFacility.py +++ b/pydantic_schemaorg/ParkingFacility.py @@ -11,5 +11,5 @@ class ParkingFacility(CivicStructure): See: https://schema.org/ParkingFacility Model depth: 4 """ - type_: str = Field(default="ParkingFacility", alias='@type') + type_: str = Field(default="ParkingFacility", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ParkingMap.py b/pydantic_schemaorg/ParkingMap.py index 40810a5f..aeaab853 100644 --- a/pydantic_schemaorg/ParkingMap.py +++ b/pydantic_schemaorg/ParkingMap.py @@ -11,5 +11,5 @@ class ParkingMap(MapCategoryType): See: https://schema.org/ParkingMap Model depth: 5 """ - type_: str = Field(default="ParkingMap", alias='@type') + type_: str = Field(default="ParkingMap", alias='@type', constant=True) diff --git a/pydantic_schemaorg/PartiallyInForce.py b/pydantic_schemaorg/PartiallyInForce.py index 66419c41..5ab8745c 100644 --- a/pydantic_schemaorg/PartiallyInForce.py +++ b/pydantic_schemaorg/PartiallyInForce.py @@ -11,5 +11,5 @@ class PartiallyInForce(LegalForceStatus): See: https://schema.org/PartiallyInForce Model depth: 6 """ - type_: str = Field(default="PartiallyInForce", alias='@type') + type_: str = Field(default="PartiallyInForce", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Pathology.py b/pydantic_schemaorg/Pathology.py index 3da91358..1da15d14 100644 --- a/pydantic_schemaorg/Pathology.py +++ b/pydantic_schemaorg/Pathology.py @@ -14,5 +14,5 @@ class Pathology(MedicalSpecialty): See: https://schema.org/Pathology Model depth: 6 """ - type_: str = Field(default="Pathology", alias='@type') + type_: str = Field(default="Pathology", alias='@type', constant=True) diff --git a/pydantic_schemaorg/PathologyTest.py b/pydantic_schemaorg/PathologyTest.py index c6f5105a..efe557c4 100644 --- a/pydantic_schemaorg/PathologyTest.py +++ b/pydantic_schemaorg/PathologyTest.py @@ -15,7 +15,7 @@ class PathologyTest(MedicalTest): See: https://schema.org/PathologyTest Model depth: 4 """ - type_: str = Field(default="PathologyTest", alias='@type') + type_: str = Field(default="PathologyTest", alias='@type', constant=True) tissueSample: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="The type of tissue sample required for the test.", diff --git a/pydantic_schemaorg/Patient.py b/pydantic_schemaorg/Patient.py index 14cb111f..7bbab101 100644 --- a/pydantic_schemaorg/Patient.py +++ b/pydantic_schemaorg/Patient.py @@ -15,7 +15,7 @@ class Patient(MedicalAudience, Person): See: https://schema.org/Patient Model depth: 3 """ - type_: str = Field(default="Patient", alias='@type') + type_: str = Field(default="Patient", alias='@type', constant=True) diagnosis: Optional[Union[List[Union['MedicalCondition', str]], 'MedicalCondition', str]] = Field( default=None, description="One or more alternative conditions considered in the differential diagnosis process" diff --git a/pydantic_schemaorg/PatientExperienceHealthAspect.py b/pydantic_schemaorg/PatientExperienceHealthAspect.py index 42b4a645..96013293 100644 --- a/pydantic_schemaorg/PatientExperienceHealthAspect.py +++ b/pydantic_schemaorg/PatientExperienceHealthAspect.py @@ -12,5 +12,5 @@ class PatientExperienceHealthAspect(HealthAspectEnumeration): See: https://schema.org/PatientExperienceHealthAspect Model depth: 5 """ - type_: str = Field(default="PatientExperienceHealthAspect", alias='@type') + type_: str = Field(default="PatientExperienceHealthAspect", alias='@type', constant=True) diff --git a/pydantic_schemaorg/PawnShop.py b/pydantic_schemaorg/PawnShop.py index b7817686..1f6b05f5 100644 --- a/pydantic_schemaorg/PawnShop.py +++ b/pydantic_schemaorg/PawnShop.py @@ -11,5 +11,5 @@ class PawnShop(Store): See: https://schema.org/PawnShop Model depth: 5 """ - type_: str = Field(default="PawnShop", alias='@type') + type_: str = Field(default="PawnShop", alias='@type', constant=True) diff --git a/pydantic_schemaorg/PayAction.py b/pydantic_schemaorg/PayAction.py index c5640f58..021c032a 100644 --- a/pydantic_schemaorg/PayAction.py +++ b/pydantic_schemaorg/PayAction.py @@ -14,15 +14,15 @@ class PayAction(TradeAction): See: https://schema.org/PayAction Model depth: 4 """ - type_: str = Field(default="PayAction", alias='@type') - recipient: Optional[Union[List[Union['Person', 'Audience', 'Organization', 'ContactPoint', str]], 'Person', 'Audience', 'Organization', 'ContactPoint', str]] = Field( + type_: str = Field(default="PayAction", alias='@type', constant=True) + recipient: Optional[Union[List[Union['ContactPoint', 'Audience', 'Organization', 'Person', str]], 'ContactPoint', 'Audience', 'Organization', 'Person', str]] = Field( default=None, description="A sub property of participant. The participant who is at the receiving end of the action.", ) if TYPE_CHECKING: - from pydantic_schemaorg.Person import Person + from pydantic_schemaorg.ContactPoint import ContactPoint from pydantic_schemaorg.Audience import Audience from pydantic_schemaorg.Organization import Organization - from pydantic_schemaorg.ContactPoint import ContactPoint + from pydantic_schemaorg.Person import Person diff --git a/pydantic_schemaorg/PaymentAutomaticallyApplied.py b/pydantic_schemaorg/PaymentAutomaticallyApplied.py index 6015c1e8..452c2de5 100644 --- a/pydantic_schemaorg/PaymentAutomaticallyApplied.py +++ b/pydantic_schemaorg/PaymentAutomaticallyApplied.py @@ -11,5 +11,5 @@ class PaymentAutomaticallyApplied(PaymentStatusType): See: https://schema.org/PaymentAutomaticallyApplied Model depth: 6 """ - type_: str = Field(default="PaymentAutomaticallyApplied", alias='@type') + type_: str = Field(default="PaymentAutomaticallyApplied", alias='@type', constant=True) diff --git a/pydantic_schemaorg/PaymentCard.py b/pydantic_schemaorg/PaymentCard.py index 833c270c..e880ee3b 100644 --- a/pydantic_schemaorg/PaymentCard.py +++ b/pydantic_schemaorg/PaymentCard.py @@ -18,13 +18,13 @@ class PaymentCard(PaymentMethod, FinancialProduct): See: https://schema.org/PaymentCard Model depth: 5 """ - type_: str = Field(default="PaymentCard", alias='@type') + type_: str = Field(default="PaymentCard", alias='@type', constant=True) contactlessPayment: Optional[Union[List[Union[StrictBool, 'Boolean', str]], StrictBool, 'Boolean', str]] = Field( default=None, description="A secure method for consumers to purchase products or services via debit, credit or smartcards" "by using RFID or NFC technology.", ) - cashBack: Optional[Union[List[Union[Decimal, 'Number', StrictBool, 'Boolean', str]], Decimal, 'Number', StrictBool, 'Boolean', str]] = Field( + cashBack: Optional[Union[List[Union[int, float, 'Number', StrictBool, 'Boolean', str]], int, float, 'Number', StrictBool, 'Boolean', str]] = Field( default=None, description="A cardholder benefit that pays the cardholder a small percentage of their net expenditures.", ) @@ -32,7 +32,7 @@ class PaymentCard(PaymentMethod, FinancialProduct): default=None, description="A floor limit is the amount of money above which credit card transactions must be authorized.", ) - monthlyMinimumRepaymentAmount: Optional[Union[List[Union[Decimal, 'Number', 'MonetaryAmount', str]], Decimal, 'Number', 'MonetaryAmount', str]] = Field( + monthlyMinimumRepaymentAmount: Optional[Union[List[Union[int, float, 'Number', 'MonetaryAmount', str]], int, float, 'Number', 'MonetaryAmount', str]] = Field( default=None, description="The minimum payment is the lowest amount of money that one is required to pay on a credit" "card statement each month.", diff --git a/pydantic_schemaorg/PaymentChargeSpecification.py b/pydantic_schemaorg/PaymentChargeSpecification.py index e539e5a8..b2648e67 100644 --- a/pydantic_schemaorg/PaymentChargeSpecification.py +++ b/pydantic_schemaorg/PaymentChargeSpecification.py @@ -14,7 +14,7 @@ class PaymentChargeSpecification(PriceSpecification): See: https://schema.org/PaymentChargeSpecification Model depth: 5 """ - type_: str = Field(default="PaymentChargeSpecification", alias='@type') + type_: str = Field(default="PaymentChargeSpecification", alias='@type', constant=True) appliesToDeliveryMethod: Optional[Union[List[Union['DeliveryMethod', str]], 'DeliveryMethod', str]] = Field( default=None, description="The delivery method(s) to which the delivery charge or payment charge specification" diff --git a/pydantic_schemaorg/PaymentComplete.py b/pydantic_schemaorg/PaymentComplete.py index 34c93dab..9cfdb953 100644 --- a/pydantic_schemaorg/PaymentComplete.py +++ b/pydantic_schemaorg/PaymentComplete.py @@ -11,5 +11,5 @@ class PaymentComplete(PaymentStatusType): See: https://schema.org/PaymentComplete Model depth: 6 """ - type_: str = Field(default="PaymentComplete", alias='@type') + type_: str = Field(default="PaymentComplete", alias='@type', constant=True) diff --git a/pydantic_schemaorg/PaymentDeclined.py b/pydantic_schemaorg/PaymentDeclined.py index 77f4c3f7..ce9b3ad0 100644 --- a/pydantic_schemaorg/PaymentDeclined.py +++ b/pydantic_schemaorg/PaymentDeclined.py @@ -11,5 +11,5 @@ class PaymentDeclined(PaymentStatusType): See: https://schema.org/PaymentDeclined Model depth: 6 """ - type_: str = Field(default="PaymentDeclined", alias='@type') + type_: str = Field(default="PaymentDeclined", alias='@type', constant=True) diff --git a/pydantic_schemaorg/PaymentDue.py b/pydantic_schemaorg/PaymentDue.py index 9efee834..6e2731fa 100644 --- a/pydantic_schemaorg/PaymentDue.py +++ b/pydantic_schemaorg/PaymentDue.py @@ -11,5 +11,5 @@ class PaymentDue(PaymentStatusType): See: https://schema.org/PaymentDue Model depth: 6 """ - type_: str = Field(default="PaymentDue", alias='@type') + type_: str = Field(default="PaymentDue", alias='@type', constant=True) diff --git a/pydantic_schemaorg/PaymentMethod.py b/pydantic_schemaorg/PaymentMethod.py index 0b299acb..700b9aa3 100644 --- a/pydantic_schemaorg/PaymentMethod.py +++ b/pydantic_schemaorg/PaymentMethod.py @@ -18,5 +18,5 @@ class PaymentMethod(Enumeration): See: https://schema.org/PaymentMethod Model depth: 4 """ - type_: str = Field(default="PaymentMethod", alias='@type') + type_: str = Field(default="PaymentMethod", alias='@type', constant=True) diff --git a/pydantic_schemaorg/PaymentPastDue.py b/pydantic_schemaorg/PaymentPastDue.py index fb81c82d..8fc6d8f1 100644 --- a/pydantic_schemaorg/PaymentPastDue.py +++ b/pydantic_schemaorg/PaymentPastDue.py @@ -11,5 +11,5 @@ class PaymentPastDue(PaymentStatusType): See: https://schema.org/PaymentPastDue Model depth: 6 """ - type_: str = Field(default="PaymentPastDue", alias='@type') + type_: str = Field(default="PaymentPastDue", alias='@type', constant=True) diff --git a/pydantic_schemaorg/PaymentService.py b/pydantic_schemaorg/PaymentService.py index d6372eac..5bc0944d 100644 --- a/pydantic_schemaorg/PaymentService.py +++ b/pydantic_schemaorg/PaymentService.py @@ -11,5 +11,5 @@ class PaymentService(FinancialProduct): See: https://schema.org/PaymentService Model depth: 5 """ - type_: str = Field(default="PaymentService", alias='@type') + type_: str = Field(default="PaymentService", alias='@type', constant=True) diff --git a/pydantic_schemaorg/PaymentStatusType.py b/pydantic_schemaorg/PaymentStatusType.py index 29b72819..cebc8366 100644 --- a/pydantic_schemaorg/PaymentStatusType.py +++ b/pydantic_schemaorg/PaymentStatusType.py @@ -11,5 +11,5 @@ class PaymentStatusType(StatusEnumeration): See: https://schema.org/PaymentStatusType Model depth: 5 """ - type_: str = Field(default="PaymentStatusType", alias='@type') + type_: str = Field(default="PaymentStatusType", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Pediatric.py b/pydantic_schemaorg/Pediatric.py index 864fd3a6..07ad0a8b 100644 --- a/pydantic_schemaorg/Pediatric.py +++ b/pydantic_schemaorg/Pediatric.py @@ -13,5 +13,5 @@ class Pediatric(MedicalSpecialty, MedicalBusiness): See: https://schema.org/Pediatric Model depth: 5 """ - type_: str = Field(default="Pediatric", alias='@type') + type_: str = Field(default="Pediatric", alias='@type', constant=True) diff --git a/pydantic_schemaorg/PeopleAudience.py b/pydantic_schemaorg/PeopleAudience.py index 53597606..27ca865a 100644 --- a/pydantic_schemaorg/PeopleAudience.py +++ b/pydantic_schemaorg/PeopleAudience.py @@ -15,7 +15,7 @@ class PeopleAudience(Audience): See: https://schema.org/PeopleAudience Model depth: 4 """ - type_: str = Field(default="PeopleAudience", alias='@type') + type_: str = Field(default="PeopleAudience", alias='@type', constant=True) suggestedGender: Optional[Union[List[Union[str, 'Text', 'GenderType']], str, 'Text', 'GenderType']] = Field( default=None, description="The suggested gender of the intended person or audience, for example \"male\", \"female\"," @@ -30,11 +30,11 @@ class PeopleAudience(Audience): description="The age or age range for the intended audience or person, for example 3-12 months for infants," "1-5 years for toddlers.", ) - suggestedMaxAge: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( + suggestedMaxAge: Optional[Union[List[Union[int, float, 'Number', str]], int, float, 'Number', str]] = Field( default=None, description="Maximum recommended age in years for the audience or user.", ) - suggestedMinAge: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( + suggestedMinAge: Optional[Union[List[Union[int, float, 'Number', str]], int, float, 'Number', str]] = Field( default=None, description="Minimum recommended age in years for the audience or user.", ) diff --git a/pydantic_schemaorg/PercutaneousProcedure.py b/pydantic_schemaorg/PercutaneousProcedure.py index 21ca73f5..2cd207f3 100644 --- a/pydantic_schemaorg/PercutaneousProcedure.py +++ b/pydantic_schemaorg/PercutaneousProcedure.py @@ -13,5 +13,5 @@ class PercutaneousProcedure(MedicalProcedureType): See: https://schema.org/PercutaneousProcedure Model depth: 6 """ - type_: str = Field(default="PercutaneousProcedure", alias='@type') + type_: str = Field(default="PercutaneousProcedure", alias='@type', constant=True) diff --git a/pydantic_schemaorg/PerformAction.py b/pydantic_schemaorg/PerformAction.py index 9165c9e3..7d7b8520 100644 --- a/pydantic_schemaorg/PerformAction.py +++ b/pydantic_schemaorg/PerformAction.py @@ -14,7 +14,7 @@ class PerformAction(PlayAction): See: https://schema.org/PerformAction Model depth: 4 """ - type_: str = Field(default="PerformAction", alias='@type') + type_: str = Field(default="PerformAction", alias='@type', constant=True) entertainmentBusiness: Optional[Union[List[Union['EntertainmentBusiness', str]], 'EntertainmentBusiness', str]] = Field( default=None, description="A sub property of location. The entertainment business where the action occurred.", diff --git a/pydantic_schemaorg/PerformanceRole.py b/pydantic_schemaorg/PerformanceRole.py index 325d6071..ef391005 100644 --- a/pydantic_schemaorg/PerformanceRole.py +++ b/pydantic_schemaorg/PerformanceRole.py @@ -15,7 +15,7 @@ class PerformanceRole(Role): See: https://schema.org/PerformanceRole Model depth: 4 """ - type_: str = Field(default="PerformanceRole", alias='@type') + type_: str = Field(default="PerformanceRole", alias='@type', constant=True) characterName: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="The name of a character played in some acting or performing role, i.e. in a PerformanceRole.", diff --git a/pydantic_schemaorg/PerformingArtsTheater.py b/pydantic_schemaorg/PerformingArtsTheater.py index 2e259a75..2ca79852 100644 --- a/pydantic_schemaorg/PerformingArtsTheater.py +++ b/pydantic_schemaorg/PerformingArtsTheater.py @@ -11,5 +11,5 @@ class PerformingArtsTheater(CivicStructure): See: https://schema.org/PerformingArtsTheater Model depth: 4 """ - type_: str = Field(default="PerformingArtsTheater", alias='@type') + type_: str = Field(default="PerformingArtsTheater", alias='@type', constant=True) diff --git a/pydantic_schemaorg/PerformingGroup.py b/pydantic_schemaorg/PerformingGroup.py index 94cd7194..f96e4f4f 100644 --- a/pydantic_schemaorg/PerformingGroup.py +++ b/pydantic_schemaorg/PerformingGroup.py @@ -11,5 +11,5 @@ class PerformingGroup(Organization): See: https://schema.org/PerformingGroup Model depth: 3 """ - type_: str = Field(default="PerformingGroup", alias='@type') + type_: str = Field(default="PerformingGroup", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Periodical.py b/pydantic_schemaorg/Periodical.py index ea8ae927..aed95107 100644 --- a/pydantic_schemaorg/Periodical.py +++ b/pydantic_schemaorg/Periodical.py @@ -13,5 +13,5 @@ class Periodical(CreativeWorkSeries): See: https://schema.org/Periodical Model depth: 4 """ - type_: str = Field(default="Periodical", alias='@type') + type_: str = Field(default="Periodical", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Permit.py b/pydantic_schemaorg/Permit.py index 76aa0626..a3e1e581 100644 --- a/pydantic_schemaorg/Permit.py +++ b/pydantic_schemaorg/Permit.py @@ -15,7 +15,7 @@ class Permit(Intangible): See: https://schema.org/Permit Model depth: 3 """ - type_: str = Field(default="Permit", alias='@type') + type_: str = Field(default="Permit", alias='@type', constant=True) issuedThrough: Optional[Union[List[Union['Service', str]], 'Service', str]] = Field( default=None, description="The service through with the permit was granted.", diff --git a/pydantic_schemaorg/Person.py b/pydantic_schemaorg/Person.py index ebf7a81f..ddec23d2 100644 --- a/pydantic_schemaorg/Person.py +++ b/pydantic_schemaorg/Person.py @@ -16,7 +16,7 @@ class Person(Thing): See: https://schema.org/Person Model depth: 2 """ - type_: str = Field(default="Person", alias='@type') + type_: str = Field(default="Person", alias='@type', constant=True) contactPoint: Optional[Union[List[Union['ContactPoint', str]], 'ContactPoint', str]] = Field( default=None, description="A contact point for a person or organization.", @@ -45,7 +45,7 @@ class Person(Thing): default=None, description="An organization that the person is an alumni of.", ) - funder: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + funder: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="A person or organization that supports (sponsors) something through some kind of financial" "contribution.", @@ -131,7 +131,7 @@ class Person(Thing): default=None, description="A sibling of the person.", ) - brand: Optional[Union[List[Union['Organization', 'Brand', str]], 'Organization', 'Brand', str]] = Field( + brand: Optional[Union[List[Union['Brand', 'Organization', str]], 'Brand', 'Organization', str]] = Field( default=None, description="The brand(s) associated with a product or service, or the brand(s) maintained by an organization" "or business person.", @@ -157,7 +157,7 @@ class Person(Thing): default=None, description="Given name. In the U.S., the first name of a Person.", ) - height: Optional[Union[List[Union['QuantitativeValue', 'Distance', str]], 'QuantitativeValue', 'Distance', str]] = Field( + height: Optional[Union[List[Union['Distance', 'QuantitativeValue', str]], 'Distance', 'QuantitativeValue', str]] = Field( default=None, description="The height of the item.", ) @@ -206,7 +206,7 @@ class Person(Thing): default=None, description="Date of birth.", ) - sponsor: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + sponsor: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="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.", @@ -288,7 +288,7 @@ class Person(Thing): default=None, description="The fax number.", ) - owns: Optional[Union[List[Union['Product', 'OwnershipInfo', str]], 'Product', 'OwnershipInfo', str]] = Field( + owns: Optional[Union[List[Union['OwnershipInfo', 'Product', str]], 'OwnershipInfo', 'Product', str]] = Field( default=None, description="Products owned by the organization or person.", ) @@ -322,5 +322,5 @@ class Person(Thing): from pydantic_schemaorg.Event import Event from pydantic_schemaorg.Demand import Demand from pydantic_schemaorg.Thing import Thing - from pydantic_schemaorg.Product import Product from pydantic_schemaorg.OwnershipInfo import OwnershipInfo + from pydantic_schemaorg.Product import Product diff --git a/pydantic_schemaorg/PetStore.py b/pydantic_schemaorg/PetStore.py index 3b9c22b6..14114d24 100644 --- a/pydantic_schemaorg/PetStore.py +++ b/pydantic_schemaorg/PetStore.py @@ -11,5 +11,5 @@ class PetStore(Store): See: https://schema.org/PetStore Model depth: 5 """ - type_: str = Field(default="PetStore", alias='@type') + type_: str = Field(default="PetStore", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Pharmacy.py b/pydantic_schemaorg/Pharmacy.py index 83f6c485..a25abf5d 100644 --- a/pydantic_schemaorg/Pharmacy.py +++ b/pydantic_schemaorg/Pharmacy.py @@ -12,5 +12,5 @@ class Pharmacy(MedicalBusiness, MedicalOrganization): See: https://schema.org/Pharmacy Model depth: 4 """ - type_: str = Field(default="Pharmacy", alias='@type') + type_: str = Field(default="Pharmacy", alias='@type', constant=True) diff --git a/pydantic_schemaorg/PharmacySpecialty.py b/pydantic_schemaorg/PharmacySpecialty.py index 2e2d7039..27ed3e8a 100644 --- a/pydantic_schemaorg/PharmacySpecialty.py +++ b/pydantic_schemaorg/PharmacySpecialty.py @@ -11,5 +11,5 @@ class PharmacySpecialty(MedicalSpecialty): See: https://schema.org/PharmacySpecialty Model depth: 6 """ - type_: str = Field(default="PharmacySpecialty", alias='@type') + type_: str = Field(default="PharmacySpecialty", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Photograph.py b/pydantic_schemaorg/Photograph.py index 8f4442c9..07d909d5 100644 --- a/pydantic_schemaorg/Photograph.py +++ b/pydantic_schemaorg/Photograph.py @@ -11,5 +11,5 @@ class Photograph(CreativeWork): See: https://schema.org/Photograph Model depth: 3 """ - type_: str = Field(default="Photograph", alias='@type') + type_: str = Field(default="Photograph", alias='@type', constant=True) diff --git a/pydantic_schemaorg/PhotographAction.py b/pydantic_schemaorg/PhotographAction.py index 81a0cba1..8b7441e2 100644 --- a/pydantic_schemaorg/PhotographAction.py +++ b/pydantic_schemaorg/PhotographAction.py @@ -11,5 +11,5 @@ class PhotographAction(CreateAction): See: https://schema.org/PhotographAction Model depth: 4 """ - type_: str = Field(default="PhotographAction", alias='@type') + type_: str = Field(default="PhotographAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/PhysicalActivity.py b/pydantic_schemaorg/PhysicalActivity.py index 2ff6eb92..e507a436 100644 --- a/pydantic_schemaorg/PhysicalActivity.py +++ b/pydantic_schemaorg/PhysicalActivity.py @@ -17,7 +17,7 @@ class PhysicalActivity(LifestyleModification): See: https://schema.org/PhysicalActivity Model depth: 4 """ - type_: str = Field(default="PhysicalActivity", alias='@type') + type_: str = Field(default="PhysicalActivity", alias='@type', constant=True) epidemiology: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="The characteristics of associated patients, such as age, gender, race etc.", @@ -32,7 +32,7 @@ class PhysicalActivity(LifestyleModification): description="Changes in the normal mechanical, physical, and biochemical functions that are associated" "with this activity or condition.", ) - associatedAnatomy: Optional[Union[List[Union['SuperficialAnatomy', 'AnatomicalStructure', 'AnatomicalSystem', str]], 'SuperficialAnatomy', 'AnatomicalStructure', 'AnatomicalSystem', str]] = Field( + associatedAnatomy: Optional[Union[List[Union['AnatomicalStructure', 'AnatomicalSystem', 'SuperficialAnatomy', str]], 'AnatomicalStructure', 'AnatomicalSystem', 'SuperficialAnatomy', str]] = Field( default=None, description="The anatomy of the underlying organ system or structures associated with this entity.", ) @@ -43,6 +43,6 @@ class PhysicalActivity(LifestyleModification): from pydantic_schemaorg.URL import URL from pydantic_schemaorg.PhysicalActivityCategory import PhysicalActivityCategory from pydantic_schemaorg.Thing import Thing - from pydantic_schemaorg.SuperficialAnatomy import SuperficialAnatomy from pydantic_schemaorg.AnatomicalStructure import AnatomicalStructure from pydantic_schemaorg.AnatomicalSystem import AnatomicalSystem + from pydantic_schemaorg.SuperficialAnatomy import SuperficialAnatomy diff --git a/pydantic_schemaorg/PhysicalActivityCategory.py b/pydantic_schemaorg/PhysicalActivityCategory.py index 5bbb5399..9e58aee2 100644 --- a/pydantic_schemaorg/PhysicalActivityCategory.py +++ b/pydantic_schemaorg/PhysicalActivityCategory.py @@ -11,5 +11,5 @@ class PhysicalActivityCategory(Enumeration): See: https://schema.org/PhysicalActivityCategory Model depth: 4 """ - type_: str = Field(default="PhysicalActivityCategory", alias='@type') + type_: str = Field(default="PhysicalActivityCategory", alias='@type', constant=True) diff --git a/pydantic_schemaorg/PhysicalExam.py b/pydantic_schemaorg/PhysicalExam.py index 28f63ac6..9428ae40 100644 --- a/pydantic_schemaorg/PhysicalExam.py +++ b/pydantic_schemaorg/PhysicalExam.py @@ -12,5 +12,5 @@ class PhysicalExam(MedicalEnumeration, MedicalProcedure): See: https://schema.org/PhysicalExam Model depth: 4 """ - type_: str = Field(default="PhysicalExam", alias='@type') + type_: str = Field(default="PhysicalExam", alias='@type', constant=True) diff --git a/pydantic_schemaorg/PhysicalTherapy.py b/pydantic_schemaorg/PhysicalTherapy.py index 0df172cd..7f1e6a93 100644 --- a/pydantic_schemaorg/PhysicalTherapy.py +++ b/pydantic_schemaorg/PhysicalTherapy.py @@ -12,5 +12,5 @@ class PhysicalTherapy(MedicalTherapy): See: https://schema.org/PhysicalTherapy Model depth: 6 """ - type_: str = Field(default="PhysicalTherapy", alias='@type') + type_: str = Field(default="PhysicalTherapy", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Physician.py b/pydantic_schemaorg/Physician.py index 8b03df77..ad0a0f33 100644 --- a/pydantic_schemaorg/Physician.py +++ b/pydantic_schemaorg/Physician.py @@ -15,7 +15,7 @@ class Physician(MedicalBusiness, MedicalOrganization): See: https://schema.org/Physician Model depth: 4 """ - type_: str = Field(default="Physician", alias='@type') + type_: str = Field(default="Physician", alias='@type', constant=True) medicalSpecialty: Optional[Union[List[Union['MedicalSpecialty', str]], 'MedicalSpecialty', str]] = Field( default=None, description="A medical specialty of the provider.", @@ -24,7 +24,7 @@ class Physician(MedicalBusiness, MedicalOrganization): default=None, description="A hospital with which the physician or office is affiliated.", ) - availableService: Optional[Union[List[Union['MedicalTest', 'MedicalTherapy', 'MedicalProcedure', str]], 'MedicalTest', 'MedicalTherapy', 'MedicalProcedure', str]] = Field( + availableService: Optional[Union[List[Union['MedicalTherapy', 'MedicalTest', 'MedicalProcedure', str]], 'MedicalTherapy', 'MedicalTest', 'MedicalProcedure', str]] = Field( default=None, description="A medical service available from this provider.", ) @@ -33,6 +33,6 @@ class Physician(MedicalBusiness, MedicalOrganization): if TYPE_CHECKING: from pydantic_schemaorg.MedicalSpecialty import MedicalSpecialty from pydantic_schemaorg.Hospital import Hospital - from pydantic_schemaorg.MedicalTest import MedicalTest from pydantic_schemaorg.MedicalTherapy import MedicalTherapy + from pydantic_schemaorg.MedicalTest import MedicalTest from pydantic_schemaorg.MedicalProcedure import MedicalProcedure diff --git a/pydantic_schemaorg/Physiotherapy.py b/pydantic_schemaorg/Physiotherapy.py index c87ed1c3..f6e75e04 100644 --- a/pydantic_schemaorg/Physiotherapy.py +++ b/pydantic_schemaorg/Physiotherapy.py @@ -13,5 +13,5 @@ class Physiotherapy(MedicalSpecialty, MedicalBusiness): See: https://schema.org/Physiotherapy Model depth: 5 """ - type_: str = Field(default="Physiotherapy", alias='@type') + type_: str = Field(default="Physiotherapy", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Place.py b/pydantic_schemaorg/Place.py index 1a41d7a1..31178ced 100644 --- a/pydantic_schemaorg/Place.py +++ b/pydantic_schemaorg/Place.py @@ -16,12 +16,12 @@ class Place(Thing): See: https://schema.org/Place Model depth: 2 """ - type_: str = Field(default="Place", alias='@type') + type_: str = Field(default="Place", alias='@type', constant=True) geo: Optional[Union[List[Union['GeoCoordinates', 'GeoShape', str]], 'GeoCoordinates', 'GeoShape', str]] = Field( default=None, description="The geo coordinates of the place.", ) - geoEquals: Optional[Union[List[Union['GeospatialGeometry', 'Place', str]], 'GeospatialGeometry', 'Place', str]] = Field( + geoEquals: Optional[Union[List[Union['Place', 'GeospatialGeometry', str]], 'Place', 'GeospatialGeometry', str]] = Field( default=None, description="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)." @@ -34,13 +34,13 @@ class Place(Thing): description="A flag to signal that the [[Place]] is open to public visitors. If this property is omitted" "there is no assumed default boolean value", ) - geoDisjoint: Optional[Union[List[Union['GeospatialGeometry', 'Place', str]], 'GeospatialGeometry', 'Place', str]] = Field( + geoDisjoint: Optional[Union[List[Union['Place', 'GeospatialGeometry', str]], 'Place', 'GeospatialGeometry', str]] = Field( default=None, description="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))", ) - geoTouches: Optional[Union[List[Union['GeospatialGeometry', 'Place', str]], 'GeospatialGeometry', 'Place', str]] = Field( + geoTouches: Optional[Union[List[Union['Place', 'GeospatialGeometry', str]], 'Place', 'GeospatialGeometry', str]] = Field( default=None, description="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" @@ -85,7 +85,7 @@ class Place(Thing): description="The International Standard of Industrial Classification of All Economic Activities" "(ISIC), Revision 4 code for a particular organization, business person, or place.", ) - longitude: Optional[Union[List[Union[Decimal, 'Number', str, 'Text']], Decimal, 'Number', str, 'Text']] = Field( + longitude: Optional[Union[List[Union[int, float, 'Number', str, 'Text']], int, float, 'Number', str, 'Text']] = Field( default=None, description="The longitude of a location. For example ```-122.08585``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).", ) @@ -100,7 +100,7 @@ class Place(Thing): "property does not make a statement about whether the feature is included in an offer for" "the main accommodation or available at extra costs.", ) - geoCovers: Optional[Union[List[Union['GeospatialGeometry', 'Place', str]], 'GeospatialGeometry', 'Place', str]] = Field( + geoCovers: Optional[Union[List[Union['Place', 'GeospatialGeometry', str]], 'Place', 'GeospatialGeometry', str]] = Field( default=None, description="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" @@ -125,7 +125,7 @@ class Place(Thing): "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.", ) - geoContains: Optional[Union[List[Union['GeospatialGeometry', 'Place', str]], 'GeospatialGeometry', 'Place', str]] = Field( + geoContains: Optional[Union[List[Union['Place', 'GeospatialGeometry', str]], 'Place', 'GeospatialGeometry', str]] = Field( default=None, description="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" @@ -137,7 +137,7 @@ class Place(Thing): description="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.", ) - geoCoveredBy: Optional[Union[List[Union['GeospatialGeometry', 'Place', str]], 'GeospatialGeometry', 'Place', str]] = Field( + geoCoveredBy: Optional[Union[List[Union['Place', 'GeospatialGeometry', str]], 'Place', 'GeospatialGeometry', str]] = Field( default=None, description="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).", @@ -146,20 +146,20 @@ class Place(Thing): default=None, description="Photographs of this place.", ) - geoCrosses: Optional[Union[List[Union['GeospatialGeometry', 'Place', str]], 'GeospatialGeometry', 'Place', str]] = Field( + geoCrosses: Optional[Union[List[Union['Place', 'GeospatialGeometry', str]], 'Place', 'GeospatialGeometry', str]] = Field( default=None, description="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).", ) - geoWithin: Optional[Union[List[Union['GeospatialGeometry', 'Place', str]], 'GeospatialGeometry', 'Place', str]] = Field( + geoWithin: Optional[Union[List[Union['Place', 'GeospatialGeometry', str]], 'Place', 'GeospatialGeometry', str]] = Field( default=None, description="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).", ) - geoIntersects: Optional[Union[List[Union['GeospatialGeometry', 'Place', str]], 'GeospatialGeometry', 'Place', str]] = Field( + geoIntersects: Optional[Union[List[Union['Place', 'GeospatialGeometry', str]], 'Place', 'GeospatialGeometry', str]] = Field( default=None, description="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).", @@ -168,7 +168,7 @@ class Place(Thing): default=None, description="An associated logo.", ) - latitude: Optional[Union[List[Union[Decimal, 'Number', str, 'Text']], Decimal, 'Number', str, 'Text']] = Field( + latitude: Optional[Union[List[Union[int, float, 'Number', str, 'Text']], int, float, 'Number', str, 'Text']] = Field( default=None, description="The latitude of a location. For example ```37.42242``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).", ) @@ -184,7 +184,7 @@ class Place(Thing): default=None, description="Upcoming or past events associated with this place or organization.", ) - geoOverlaps: Optional[Union[List[Union['GeospatialGeometry', 'Place', str]], 'GeospatialGeometry', 'Place', str]] = Field( + geoOverlaps: Optional[Union[List[Union['Place', 'GeospatialGeometry', str]], 'Place', 'GeospatialGeometry', str]] = Field( default=None, description="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" diff --git a/pydantic_schemaorg/PlaceOfWorship.py b/pydantic_schemaorg/PlaceOfWorship.py index e7a453ea..6c755a43 100644 --- a/pydantic_schemaorg/PlaceOfWorship.py +++ b/pydantic_schemaorg/PlaceOfWorship.py @@ -11,5 +11,5 @@ class PlaceOfWorship(CivicStructure): See: https://schema.org/PlaceOfWorship Model depth: 4 """ - type_: str = Field(default="PlaceOfWorship", alias='@type') + type_: str = Field(default="PlaceOfWorship", alias='@type', constant=True) diff --git a/pydantic_schemaorg/PlaceboControlledTrial.py b/pydantic_schemaorg/PlaceboControlledTrial.py index 429ca2ed..34f11e1b 100644 --- a/pydantic_schemaorg/PlaceboControlledTrial.py +++ b/pydantic_schemaorg/PlaceboControlledTrial.py @@ -11,5 +11,5 @@ class PlaceboControlledTrial(MedicalTrialDesign): See: https://schema.org/PlaceboControlledTrial Model depth: 6 """ - type_: str = Field(default="PlaceboControlledTrial", alias='@type') + type_: str = Field(default="PlaceboControlledTrial", alias='@type', constant=True) diff --git a/pydantic_schemaorg/PlanAction.py b/pydantic_schemaorg/PlanAction.py index d64d7f13..a49bf805 100644 --- a/pydantic_schemaorg/PlanAction.py +++ b/pydantic_schemaorg/PlanAction.py @@ -16,7 +16,7 @@ class PlanAction(OrganizeAction): See: https://schema.org/PlanAction Model depth: 4 """ - type_: str = Field(default="PlanAction", alias='@type') + type_: str = Field(default="PlanAction", alias='@type', constant=True) scheduledTime: Optional[Union[List[Union[ISO8601Date, 'DateTime', str]], ISO8601Date, 'DateTime', str]] = Field( default=None, description="The time the object is scheduled to.", diff --git a/pydantic_schemaorg/PlasticSurgery.py b/pydantic_schemaorg/PlasticSurgery.py index 2ca88c2c..f3321f87 100644 --- a/pydantic_schemaorg/PlasticSurgery.py +++ b/pydantic_schemaorg/PlasticSurgery.py @@ -14,5 +14,5 @@ class PlasticSurgery(MedicalSpecialty, MedicalBusiness): See: https://schema.org/PlasticSurgery Model depth: 5 """ - type_: str = Field(default="PlasticSurgery", alias='@type') + type_: str = Field(default="PlasticSurgery", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Play.py b/pydantic_schemaorg/Play.py index 126d421d..d0ee60b9 100644 --- a/pydantic_schemaorg/Play.py +++ b/pydantic_schemaorg/Play.py @@ -13,5 +13,5 @@ class Play(CreativeWork): See: https://schema.org/Play Model depth: 3 """ - type_: str = Field(default="Play", alias='@type') + type_: str = Field(default="Play", alias='@type', constant=True) diff --git a/pydantic_schemaorg/PlayAction.py b/pydantic_schemaorg/PlayAction.py index 2d8e286c..cb43cb4a 100644 --- a/pydantic_schemaorg/PlayAction.py +++ b/pydantic_schemaorg/PlayAction.py @@ -19,7 +19,7 @@ class PlayAction(Action): See: https://schema.org/PlayAction Model depth: 3 """ - type_: str = Field(default="PlayAction", alias='@type') + type_: str = Field(default="PlayAction", alias='@type', constant=True) audience: Optional[Union[List[Union['Audience', str]], 'Audience', str]] = Field( default=None, description="An intended audience, i.e. a group for whom something was created.", diff --git a/pydantic_schemaorg/Playground.py b/pydantic_schemaorg/Playground.py index af223e7d..42833dc6 100644 --- a/pydantic_schemaorg/Playground.py +++ b/pydantic_schemaorg/Playground.py @@ -11,5 +11,5 @@ class Playground(CivicStructure): See: https://schema.org/Playground Model depth: 4 """ - type_: str = Field(default="Playground", alias='@type') + type_: str = Field(default="Playground", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Plumber.py b/pydantic_schemaorg/Plumber.py index bd7709a7..d981ced7 100644 --- a/pydantic_schemaorg/Plumber.py +++ b/pydantic_schemaorg/Plumber.py @@ -11,5 +11,5 @@ class Plumber(HomeAndConstructionBusiness): See: https://schema.org/Plumber Model depth: 5 """ - type_: str = Field(default="Plumber", alias='@type') + type_: str = Field(default="Plumber", alias='@type', constant=True) diff --git a/pydantic_schemaorg/PodcastEpisode.py b/pydantic_schemaorg/PodcastEpisode.py index 9a0b83c2..246ab6e1 100644 --- a/pydantic_schemaorg/PodcastEpisode.py +++ b/pydantic_schemaorg/PodcastEpisode.py @@ -11,5 +11,5 @@ class PodcastEpisode(Episode): See: https://schema.org/PodcastEpisode Model depth: 4 """ - type_: str = Field(default="PodcastEpisode", alias='@type') + type_: str = Field(default="PodcastEpisode", alias='@type', constant=True) diff --git a/pydantic_schemaorg/PodcastSeason.py b/pydantic_schemaorg/PodcastSeason.py index 8fba3e25..38fe43b5 100644 --- a/pydantic_schemaorg/PodcastSeason.py +++ b/pydantic_schemaorg/PodcastSeason.py @@ -12,5 +12,5 @@ class PodcastSeason(CreativeWorkSeason): See: https://schema.org/PodcastSeason Model depth: 4 """ - type_: str = Field(default="PodcastSeason", alias='@type') + type_: str = Field(default="PodcastSeason", alias='@type', constant=True) diff --git a/pydantic_schemaorg/PodcastSeries.py b/pydantic_schemaorg/PodcastSeries.py index b80e7c93..faf7b254 100644 --- a/pydantic_schemaorg/PodcastSeries.py +++ b/pydantic_schemaorg/PodcastSeries.py @@ -16,7 +16,7 @@ class PodcastSeries(CreativeWorkSeries): See: https://schema.org/PodcastSeries Model depth: 4 """ - type_: str = Field(default="PodcastSeries", alias='@type') + type_: str = Field(default="PodcastSeries", alias='@type', constant=True) webFeed: Optional[Union[List[Union[AnyUrl, 'URL', 'DataFeed', str]], AnyUrl, 'URL', 'DataFeed', str]] = Field( default=None, description="The URL for a feed, e.g. associated with a podcast series, blog, or series of date-stamped" diff --git a/pydantic_schemaorg/Podiatric.py b/pydantic_schemaorg/Podiatric.py index c099e386..30da309c 100644 --- a/pydantic_schemaorg/Podiatric.py +++ b/pydantic_schemaorg/Podiatric.py @@ -13,5 +13,5 @@ class Podiatric(MedicalSpecialty, MedicalBusiness): See: https://schema.org/Podiatric Model depth: 5 """ - type_: str = Field(default="Podiatric", alias='@type') + type_: str = Field(default="Podiatric", alias='@type', constant=True) diff --git a/pydantic_schemaorg/PoliceStation.py b/pydantic_schemaorg/PoliceStation.py index 036037c3..c80e06e4 100644 --- a/pydantic_schemaorg/PoliceStation.py +++ b/pydantic_schemaorg/PoliceStation.py @@ -12,5 +12,5 @@ class PoliceStation(EmergencyService, CivicStructure): See: https://schema.org/PoliceStation Model depth: 4 """ - type_: str = Field(default="PoliceStation", alias='@type') + type_: str = Field(default="PoliceStation", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Pond.py b/pydantic_schemaorg/Pond.py index 07219314..80c5c0d9 100644 --- a/pydantic_schemaorg/Pond.py +++ b/pydantic_schemaorg/Pond.py @@ -11,5 +11,5 @@ class Pond(BodyOfWater): See: https://schema.org/Pond Model depth: 5 """ - type_: str = Field(default="Pond", alias='@type') + type_: str = Field(default="Pond", alias='@type', constant=True) diff --git a/pydantic_schemaorg/PostOffice.py b/pydantic_schemaorg/PostOffice.py index 37340525..b52dce7a 100644 --- a/pydantic_schemaorg/PostOffice.py +++ b/pydantic_schemaorg/PostOffice.py @@ -11,5 +11,5 @@ class PostOffice(GovernmentOffice): See: https://schema.org/PostOffice Model depth: 5 """ - type_: str = Field(default="PostOffice", alias='@type') + type_: str = Field(default="PostOffice", alias='@type', constant=True) diff --git a/pydantic_schemaorg/PostalAddress.py b/pydantic_schemaorg/PostalAddress.py index a6984267..c07d9970 100644 --- a/pydantic_schemaorg/PostalAddress.py +++ b/pydantic_schemaorg/PostalAddress.py @@ -14,7 +14,7 @@ class PostalAddress(ContactPoint): See: https://schema.org/PostalAddress Model depth: 5 """ - type_: str = Field(default="PostalAddress", alias='@type') + type_: str = Field(default="PostalAddress", alias='@type', constant=True) postalCode: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="The postal code. For example, 94043.", diff --git a/pydantic_schemaorg/PostalCodeRangeSpecification.py b/pydantic_schemaorg/PostalCodeRangeSpecification.py index 40f8c870..f48c3b4f 100644 --- a/pydantic_schemaorg/PostalCodeRangeSpecification.py +++ b/pydantic_schemaorg/PostalCodeRangeSpecification.py @@ -15,7 +15,7 @@ class PostalCodeRangeSpecification(StructuredValue): See: https://schema.org/PostalCodeRangeSpecification Model depth: 4 """ - type_: str = Field(default="PostalCodeRangeSpecification", alias='@type') + type_: str = Field(default="PostalCodeRangeSpecification", alias='@type', constant=True) postalCodeEnd: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="Last postal code in the range (included). Needs to be after [[postalCodeBegin]].", diff --git a/pydantic_schemaorg/Poster.py b/pydantic_schemaorg/Poster.py index db628f2b..3239fd00 100644 --- a/pydantic_schemaorg/Poster.py +++ b/pydantic_schemaorg/Poster.py @@ -12,5 +12,5 @@ class Poster(CreativeWork): See: https://schema.org/Poster Model depth: 3 """ - type_: str = Field(default="Poster", alias='@type') + type_: str = Field(default="Poster", alias='@type', constant=True) diff --git a/pydantic_schemaorg/PotentialActionStatus.py b/pydantic_schemaorg/PotentialActionStatus.py index 84118500..25ccadde 100644 --- a/pydantic_schemaorg/PotentialActionStatus.py +++ b/pydantic_schemaorg/PotentialActionStatus.py @@ -11,5 +11,5 @@ class PotentialActionStatus(ActionStatusType): See: https://schema.org/PotentialActionStatus Model depth: 6 """ - type_: str = Field(default="PotentialActionStatus", alias='@type') + type_: str = Field(default="PotentialActionStatus", alias='@type', constant=True) diff --git a/pydantic_schemaorg/PreOrder.py b/pydantic_schemaorg/PreOrder.py index 2e75acba..74dd9cf2 100644 --- a/pydantic_schemaorg/PreOrder.py +++ b/pydantic_schemaorg/PreOrder.py @@ -11,5 +11,5 @@ class PreOrder(ItemAvailability): See: https://schema.org/PreOrder Model depth: 5 """ - type_: str = Field(default="PreOrder", alias='@type') + type_: str = Field(default="PreOrder", alias='@type', constant=True) diff --git a/pydantic_schemaorg/PreOrderAction.py b/pydantic_schemaorg/PreOrderAction.py index e7b7c7a4..b800d1ec 100644 --- a/pydantic_schemaorg/PreOrderAction.py +++ b/pydantic_schemaorg/PreOrderAction.py @@ -11,5 +11,5 @@ class PreOrderAction(TradeAction): See: https://schema.org/PreOrderAction Model depth: 4 """ - type_: str = Field(default="PreOrderAction", alias='@type') + type_: str = Field(default="PreOrderAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/PreSale.py b/pydantic_schemaorg/PreSale.py index cf5a574c..5e52543a 100644 --- a/pydantic_schemaorg/PreSale.py +++ b/pydantic_schemaorg/PreSale.py @@ -11,5 +11,5 @@ class PreSale(ItemAvailability): See: https://schema.org/PreSale Model depth: 5 """ - type_: str = Field(default="PreSale", alias='@type') + type_: str = Field(default="PreSale", alias='@type', constant=True) diff --git a/pydantic_schemaorg/PregnancyHealthAspect.py b/pydantic_schemaorg/PregnancyHealthAspect.py index 070b1d4b..6f4585ad 100644 --- a/pydantic_schemaorg/PregnancyHealthAspect.py +++ b/pydantic_schemaorg/PregnancyHealthAspect.py @@ -11,5 +11,5 @@ class PregnancyHealthAspect(HealthAspectEnumeration): See: https://schema.org/PregnancyHealthAspect Model depth: 5 """ - type_: str = Field(default="PregnancyHealthAspect", alias='@type') + type_: str = Field(default="PregnancyHealthAspect", alias='@type', constant=True) diff --git a/pydantic_schemaorg/PrependAction.py b/pydantic_schemaorg/PrependAction.py index 11b62322..b715a00c 100644 --- a/pydantic_schemaorg/PrependAction.py +++ b/pydantic_schemaorg/PrependAction.py @@ -11,5 +11,5 @@ class PrependAction(InsertAction): See: https://schema.org/PrependAction Model depth: 6 """ - type_: str = Field(default="PrependAction", alias='@type') + type_: str = Field(default="PrependAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Preschool.py b/pydantic_schemaorg/Preschool.py index a12ba445..4a042927 100644 --- a/pydantic_schemaorg/Preschool.py +++ b/pydantic_schemaorg/Preschool.py @@ -11,5 +11,5 @@ class Preschool(EducationalOrganization): See: https://schema.org/Preschool Model depth: 4 """ - type_: str = Field(default="Preschool", alias='@type') + type_: str = Field(default="Preschool", alias='@type', constant=True) diff --git a/pydantic_schemaorg/PrescriptionOnly.py b/pydantic_schemaorg/PrescriptionOnly.py index 8cfbe47e..f9ddee2f 100644 --- a/pydantic_schemaorg/PrescriptionOnly.py +++ b/pydantic_schemaorg/PrescriptionOnly.py @@ -11,5 +11,5 @@ class PrescriptionOnly(DrugPrescriptionStatus): See: https://schema.org/PrescriptionOnly Model depth: 6 """ - type_: str = Field(default="PrescriptionOnly", alias='@type') + type_: str = Field(default="PrescriptionOnly", alias='@type', constant=True) diff --git a/pydantic_schemaorg/PresentationDigitalDocument.py b/pydantic_schemaorg/PresentationDigitalDocument.py index aff07b2c..ae11e95d 100644 --- a/pydantic_schemaorg/PresentationDigitalDocument.py +++ b/pydantic_schemaorg/PresentationDigitalDocument.py @@ -11,5 +11,5 @@ class PresentationDigitalDocument(DigitalDocument): See: https://schema.org/PresentationDigitalDocument Model depth: 4 """ - type_: str = Field(default="PresentationDigitalDocument", alias='@type') + type_: str = Field(default="PresentationDigitalDocument", alias='@type', constant=True) diff --git a/pydantic_schemaorg/PreventionHealthAspect.py b/pydantic_schemaorg/PreventionHealthAspect.py index f9437c8e..c2ac6f72 100644 --- a/pydantic_schemaorg/PreventionHealthAspect.py +++ b/pydantic_schemaorg/PreventionHealthAspect.py @@ -12,5 +12,5 @@ class PreventionHealthAspect(HealthAspectEnumeration): See: https://schema.org/PreventionHealthAspect Model depth: 5 """ - type_: str = Field(default="PreventionHealthAspect", alias='@type') + type_: str = Field(default="PreventionHealthAspect", alias='@type', constant=True) diff --git a/pydantic_schemaorg/PreventionIndication.py b/pydantic_schemaorg/PreventionIndication.py index e5a58216..df6980f6 100644 --- a/pydantic_schemaorg/PreventionIndication.py +++ b/pydantic_schemaorg/PreventionIndication.py @@ -11,5 +11,5 @@ class PreventionIndication(MedicalIndication): See: https://schema.org/PreventionIndication Model depth: 4 """ - type_: str = Field(default="PreventionIndication", alias='@type') + type_: str = Field(default="PreventionIndication", alias='@type', constant=True) diff --git a/pydantic_schemaorg/PriceComponentTypeEnumeration.py b/pydantic_schemaorg/PriceComponentTypeEnumeration.py index 82dca81e..a1e3d3ca 100644 --- a/pydantic_schemaorg/PriceComponentTypeEnumeration.py +++ b/pydantic_schemaorg/PriceComponentTypeEnumeration.py @@ -12,5 +12,5 @@ class PriceComponentTypeEnumeration(Enumeration): See: https://schema.org/PriceComponentTypeEnumeration Model depth: 4 """ - type_: str = Field(default="PriceComponentTypeEnumeration", alias='@type') + type_: str = Field(default="PriceComponentTypeEnumeration", alias='@type', constant=True) diff --git a/pydantic_schemaorg/PriceSpecification.py b/pydantic_schemaorg/PriceSpecification.py index 04244f72..d81afdf3 100644 --- a/pydantic_schemaorg/PriceSpecification.py +++ b/pydantic_schemaorg/PriceSpecification.py @@ -19,7 +19,7 @@ class PriceSpecification(StructuredValue): See: https://schema.org/PriceSpecification Model depth: 4 """ - type_: str = Field(default="PriceSpecification", alias='@type') + type_: str = Field(default="PriceSpecification", alias='@type', constant=True) valueAddedTaxIncluded: Optional[Union[List[Union[StrictBool, 'Boolean', str]], StrictBool, 'Boolean', str]] = Field( default=None, description="Specifies whether the applicable value-added tax (VAT) is included in the price specification" @@ -40,7 +40,7 @@ class PriceSpecification(StructuredValue): "for cryptocurrencies e.g. \"BTC\"; well known names for [Local Exchange Tradings Systems](https://en.wikipedia.org/wiki/Local_exchange_trading_system)" "(LETS) and other currency types e.g. \"Ithaca HOUR\".", ) - price: Optional[Union[List[Union[Decimal, 'Number', str, 'Text']], Decimal, 'Number', str, 'Text']] = Field( + price: Optional[Union[List[Union[int, float, 'Number', str, 'Text']], int, float, 'Number', str, 'Text']] = Field( default=None, description="The offer price of a product, or of a price component when attached to PriceSpecification" "and its subtypes. Usage guidelines: * Use the [[priceCurrency]] property (with standard" @@ -57,11 +57,11 @@ class PriceSpecification(StructuredValue): "0123456789 (Unicode 'DIGIT ZERO' (U+0030) to 'DIGIT NINE' (U+0039)) rather than superficially" "similiar Unicode symbols.", ) - maxPrice: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( + maxPrice: Optional[Union[List[Union[int, float, 'Number', str]], int, float, 'Number', str]] = Field( default=None, description="The highest price if the price is a range.", ) - minPrice: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( + minPrice: Optional[Union[List[Union[int, float, 'Number', str]], int, float, 'Number', str]] = Field( default=None, description="The lowest price if the price is a range.", ) diff --git a/pydantic_schemaorg/PriceTypeEnumeration.py b/pydantic_schemaorg/PriceTypeEnumeration.py index f4cb0931..25a24ea5 100644 --- a/pydantic_schemaorg/PriceTypeEnumeration.py +++ b/pydantic_schemaorg/PriceTypeEnumeration.py @@ -11,5 +11,5 @@ class PriceTypeEnumeration(Enumeration): See: https://schema.org/PriceTypeEnumeration Model depth: 4 """ - type_: str = Field(default="PriceTypeEnumeration", alias='@type') + type_: str = Field(default="PriceTypeEnumeration", alias='@type', constant=True) diff --git a/pydantic_schemaorg/PrimaryCare.py b/pydantic_schemaorg/PrimaryCare.py index 0f8d32a8..ca99145a 100644 --- a/pydantic_schemaorg/PrimaryCare.py +++ b/pydantic_schemaorg/PrimaryCare.py @@ -13,5 +13,5 @@ class PrimaryCare(MedicalSpecialty, MedicalBusiness): See: https://schema.org/PrimaryCare Model depth: 5 """ - type_: str = Field(default="PrimaryCare", alias='@type') + type_: str = Field(default="PrimaryCare", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Prion.py b/pydantic_schemaorg/Prion.py index 2241e2df..ec1711c5 100644 --- a/pydantic_schemaorg/Prion.py +++ b/pydantic_schemaorg/Prion.py @@ -11,5 +11,5 @@ class Prion(InfectiousAgentClass): See: https://schema.org/Prion Model depth: 6 """ - type_: str = Field(default="Prion", alias='@type') + type_: str = Field(default="Prion", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Product.py b/pydantic_schemaorg/Product.py index 32e34605..cdc36f9a 100644 --- a/pydantic_schemaorg/Product.py +++ b/pydantic_schemaorg/Product.py @@ -17,7 +17,7 @@ class Product(Thing): See: https://schema.org/Product Model depth: 2 """ - type_: str = Field(default="Product", alias='@type') + type_: str = Field(default="Product", alias='@type', constant=True) pattern: Optional[Union[List[Union[str, 'Text', 'DefinedTerm']], str, 'Text', 'DefinedTerm']] = Field( default=None, description="A pattern that something has, for example 'polka dot', 'striped', 'Canadian flag'." @@ -30,7 +30,7 @@ class Product(Thing): "the gauge of a screw. Usually an exact measurement, but can also be a range of measurements" "for adjustable products, for example belts and ski bindings.", ) - offers: Optional[Union[List[Union['Offer', 'Demand', str]], 'Offer', 'Demand', str]] = Field( + offers: Optional[Union[List[Union['Demand', 'Offer', str]], 'Demand', 'Offer', str]] = Field( default=None, description="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]]" @@ -112,7 +112,7 @@ class Product(Thing): default=None, description="The manufacturer of the product.", ) - brand: Optional[Union[List[Union['Organization', 'Brand', str]], 'Organization', 'Brand', str]] = Field( + brand: Optional[Union[List[Union['Brand', 'Organization', str]], 'Brand', 'Organization', str]] = Field( default=None, description="The brand(s) associated with a product or service, or the brand(s) maintained by an organization" "or business person.", @@ -139,11 +139,11 @@ class Product(Thing): default=None, description="A pointer to another, functionally similar product (or multiple products).", ) - height: Optional[Union[List[Union['QuantitativeValue', 'Distance', str]], 'QuantitativeValue', 'Distance', str]] = Field( + height: Optional[Union[List[Union['Distance', 'QuantitativeValue', str]], 'Distance', 'QuantitativeValue', str]] = Field( default=None, description="The height of the item.", ) - size: Optional[Union[List[Union[str, 'Text', 'QuantitativeValue', 'SizeSpecification', 'DefinedTerm']], str, 'Text', 'QuantitativeValue', 'SizeSpecification', 'DefinedTerm']] = Field( + size: Optional[Union[List[Union[str, 'Text', 'SizeSpecification', 'QuantitativeValue', 'DefinedTerm']], str, 'Text', 'SizeSpecification', 'QuantitativeValue', 'DefinedTerm']] = Field( default=None, description="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," @@ -249,7 +249,7 @@ class Product(Thing): "https://schema.org/gtin13, ...) will typically expect such data to be provided using" "those properties, rather than using the generic property/value mechanism.", ) - isVariantOf: Optional[Union[List[Union['ProductGroup', 'ProductModel', str]], 'ProductGroup', 'ProductModel', str]] = Field( + isVariantOf: Optional[Union[List[Union['ProductModel', 'ProductGroup', str]], 'ProductModel', 'ProductGroup', str]] = Field( default=None, description="Indicates the kind of product that this is a variant of. In the case of [[ProductModel]]," "this is a pointer (from a ProductModel) to a base product from which this product is a variant." @@ -274,8 +274,8 @@ class Product(Thing): from pydantic_schemaorg.Text import Text from pydantic_schemaorg.DefinedTerm import DefinedTerm from pydantic_schemaorg.QuantitativeValue import QuantitativeValue - from pydantic_schemaorg.Offer import Offer from pydantic_schemaorg.Demand import Demand + from pydantic_schemaorg.Offer import Offer from pydantic_schemaorg.ProductModel import ProductModel from pydantic_schemaorg.Distance import Distance from pydantic_schemaorg.Date import Date diff --git a/pydantic_schemaorg/ProductCollection.py b/pydantic_schemaorg/ProductCollection.py index 6f3086a4..208ee8b2 100644 --- a/pydantic_schemaorg/ProductCollection.py +++ b/pydantic_schemaorg/ProductCollection.py @@ -16,7 +16,7 @@ class ProductCollection(Collection, Product): See: https://schema.org/ProductCollection Model depth: 3 """ - type_: str = Field(default="ProductCollection", alias='@type') + type_: str = Field(default="ProductCollection", alias='@type', constant=True) includesObject: Optional[Union[List[Union['TypeAndQuantityNode', str]], 'TypeAndQuantityNode', str]] = Field( default=None, description="This links to a node or nodes indicating the exact quantity of the products included in" diff --git a/pydantic_schemaorg/ProductGroup.py b/pydantic_schemaorg/ProductGroup.py index 9ce20389..bdc96803 100644 --- a/pydantic_schemaorg/ProductGroup.py +++ b/pydantic_schemaorg/ProductGroup.py @@ -22,7 +22,7 @@ class ProductGroup(Product): See: https://schema.org/ProductGroup Model depth: 3 """ - type_: str = Field(default="ProductGroup", alias='@type') + type_: str = Field(default="ProductGroup", alias='@type', constant=True) variesBy: Optional[Union[List[Union[str, 'Text', 'DefinedTerm']], str, 'Text', 'DefinedTerm']] = Field( default=None, description="Indicates the property or properties by which the variants in a [[ProductGroup]] vary," diff --git a/pydantic_schemaorg/ProductModel.py b/pydantic_schemaorg/ProductModel.py index 23935bfc..79f0b422 100644 --- a/pydantic_schemaorg/ProductModel.py +++ b/pydantic_schemaorg/ProductModel.py @@ -14,7 +14,7 @@ class ProductModel(Product): See: https://schema.org/ProductModel Model depth: 3 """ - type_: str = Field(default="ProductModel", alias='@type') + type_: str = Field(default="ProductModel", alias='@type', constant=True) predecessorOf: Optional[Union[List[Union['ProductModel', str]], 'ProductModel', str]] = Field( default=None, description="A pointer from a previous, often discontinued variant of the product to its newer variant.", @@ -23,7 +23,7 @@ class ProductModel(Product): default=None, description="A pointer from a newer variant of a product to its previous, often discontinued predecessor.", ) - isVariantOf: Optional[Union[List[Union['ProductGroup', 'ProductModel', str]], 'ProductGroup', 'ProductModel', str]] = Field( + isVariantOf: Optional[Union[List[Union['ProductModel', 'ProductGroup', str]], 'ProductModel', 'ProductGroup', str]] = Field( default=None, description="Indicates the kind of product that this is a variant of. In the case of [[ProductModel]]," "this is a pointer (from a ProductModel) to a base product from which this product is a variant." diff --git a/pydantic_schemaorg/ProfessionalService.py b/pydantic_schemaorg/ProfessionalService.py index fee963f1..65c92888 100644 --- a/pydantic_schemaorg/ProfessionalService.py +++ b/pydantic_schemaorg/ProfessionalService.py @@ -17,5 +17,5 @@ class ProfessionalService(LocalBusiness): See: https://schema.org/ProfessionalService Model depth: 4 """ - type_: str = Field(default="ProfessionalService", alias='@type') + type_: str = Field(default="ProfessionalService", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ProfilePage.py b/pydantic_schemaorg/ProfilePage.py index 49845ba2..3cf8cd63 100644 --- a/pydantic_schemaorg/ProfilePage.py +++ b/pydantic_schemaorg/ProfilePage.py @@ -11,5 +11,5 @@ class ProfilePage(WebPage): See: https://schema.org/ProfilePage Model depth: 4 """ - type_: str = Field(default="ProfilePage", alias='@type') + type_: str = Field(default="ProfilePage", alias='@type', constant=True) diff --git a/pydantic_schemaorg/PrognosisHealthAspect.py b/pydantic_schemaorg/PrognosisHealthAspect.py index 6d356054..9cabba18 100644 --- a/pydantic_schemaorg/PrognosisHealthAspect.py +++ b/pydantic_schemaorg/PrognosisHealthAspect.py @@ -11,5 +11,5 @@ class PrognosisHealthAspect(HealthAspectEnumeration): See: https://schema.org/PrognosisHealthAspect Model depth: 5 """ - type_: str = Field(default="PrognosisHealthAspect", alias='@type') + type_: str = Field(default="PrognosisHealthAspect", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ProgramMembership.py b/pydantic_schemaorg/ProgramMembership.py index 70b7c27e..c3fe3445 100644 --- a/pydantic_schemaorg/ProgramMembership.py +++ b/pydantic_schemaorg/ProgramMembership.py @@ -16,22 +16,22 @@ class ProgramMembership(Intangible): See: https://schema.org/ProgramMembership Model depth: 3 """ - type_: str = Field(default="ProgramMembership", alias='@type') + type_: str = Field(default="ProgramMembership", alias='@type', constant=True) membershipNumber: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="A unique identifier for the membership.", ) - membershipPointsEarned: Optional[Union[List[Union[Decimal, 'Number', 'QuantitativeValue', str]], Decimal, 'Number', 'QuantitativeValue', str]] = Field( + membershipPointsEarned: Optional[Union[List[Union[int, float, 'Number', 'QuantitativeValue', str]], int, float, 'Number', 'QuantitativeValue', str]] = Field( default=None, description="The number of membership points earned by the member. If necessary, the unitText can" "be used to express the units the points are issued in. (e.g. stars, miles, etc.)", ) - member: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + member: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="A member of an Organization or a ProgramMembership. Organizations can be members of" "organizations; ProgramMembership is typically for individuals.", ) - members: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + members: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="A member of this organization.", ) @@ -49,5 +49,5 @@ class ProgramMembership(Intangible): from pydantic_schemaorg.Text import Text from pydantic_schemaorg.Number import Number from pydantic_schemaorg.QuantitativeValue import QuantitativeValue - from pydantic_schemaorg.Person import Person from pydantic_schemaorg.Organization import Organization + from pydantic_schemaorg.Person import Person diff --git a/pydantic_schemaorg/Project.py b/pydantic_schemaorg/Project.py index d6be9889..19b26673 100644 --- a/pydantic_schemaorg/Project.py +++ b/pydantic_schemaorg/Project.py @@ -13,5 +13,5 @@ class Project(Organization): See: https://schema.org/Project Model depth: 3 """ - type_: str = Field(default="Project", alias='@type') + type_: str = Field(default="Project", alias='@type', constant=True) diff --git a/pydantic_schemaorg/PronounceableText.py b/pydantic_schemaorg/PronounceableText.py index c67638af..bb41659a 100644 --- a/pydantic_schemaorg/PronounceableText.py +++ b/pydantic_schemaorg/PronounceableText.py @@ -14,7 +14,7 @@ class PronounceableText(Text): See: https://schema.org/PronounceableText Model depth: 6 """ - type_: str = Field(default="PronounceableText", alias='@type') + type_: str = Field(default="PronounceableText", alias='@type', constant=True) textValue: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="Text value being annotated.", diff --git a/pydantic_schemaorg/Property.py b/pydantic_schemaorg/Property.py index 6fdbd51f..aa72cc41 100644 --- a/pydantic_schemaorg/Property.py +++ b/pydantic_schemaorg/Property.py @@ -15,7 +15,7 @@ class Property(Intangible): See: https://schema.org/Property Model depth: 3 """ - type_: str = Field(default="Property", alias='@type') + type_: str = Field(default="Property", alias='@type', constant=True) domainIncludes: Optional[Union[List[Union['Class', str]], 'Class', str]] = Field( default=None, description="Relates a property to a class that is (one of) the type(s) the property is expected to be" @@ -34,7 +34,7 @@ class Property(Intangible): "inverses; in these situations RDFa and JSON-LD syntax for reverse properties can be" "used.", ) - supersededBy: Optional[Union[List[Union['Class', 'Property', 'Enumeration', str]], 'Class', 'Property', 'Enumeration', str]] = Field( + supersededBy: Optional[Union[List[Union['Class', 'Enumeration', 'Property', str]], 'Class', 'Enumeration', 'Property', str]] = Field( default=None, description="Relates a term (i.e. a property, class or enumeration) to one that supersedes it.", ) diff --git a/pydantic_schemaorg/PropertyValue.py b/pydantic_schemaorg/PropertyValue.py index 838c9804..afc3cf30 100644 --- a/pydantic_schemaorg/PropertyValue.py +++ b/pydantic_schemaorg/PropertyValue.py @@ -20,7 +20,7 @@ class PropertyValue(StructuredValue): See: https://schema.org/PropertyValue Model depth: 4 """ - type_: str = Field(default="PropertyValue", alias='@type') + type_: str = Field(default="PropertyValue", alias='@type', constant=True) measurementTechnique: Optional[Union[List[Union[AnyUrl, 'URL', str, 'Text']], AnyUrl, 'URL', str, 'Text']] = Field( default=None, description="A technique or technology used in a [[Dataset]] (or [[DataDownload]], [[DataCatalog]])," @@ -35,7 +35,7 @@ class PropertyValue(StructuredValue): "several [[variableMeasured]] properties recorded for some given data object, use" "a [[PropertyValue]] for each [[variableMeasured]] and attach the corresponding [[measurementTechnique]].", ) - minValue: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( + minValue: Optional[Union[List[Union[int, float, 'Number', str]], int, float, 'Number', str]] = Field( default=None, description="The lower value of some characteristic or property.", ) @@ -44,7 +44,7 @@ class PropertyValue(StructuredValue): description="A string or text indicating the unit of measurement. Useful if you cannot provide a standard" "unit code for unitCode.", ) - value: Optional[Union[List[Union[Decimal, 'Number', StrictBool, 'Boolean', str, 'Text', 'StructuredValue']], Decimal, 'Number', StrictBool, 'Boolean', str, 'Text', 'StructuredValue']] = Field( + value: Optional[Union[List[Union[int, float, 'Number', str, 'Text', StrictBool, 'Boolean', 'StructuredValue']], int, float, 'Number', str, 'Text', StrictBool, 'Boolean', 'StructuredValue']] = Field( default=None, description="The value of the quantitative value or property value node. * For [[QuantitativeValue]]" "and [[MonetaryAmount]], the recommended type for values is 'Number'. * For [[PropertyValue]]," @@ -69,11 +69,11 @@ class PropertyValue(StructuredValue): description="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.", ) - maxValue: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( + maxValue: Optional[Union[List[Union[int, float, 'Number', str]], int, float, 'Number', str]] = Field( default=None, description="The upper value of some characteristic or property.", ) - valueReference: Optional[Union[List[Union[str, 'Text', 'PropertyValue', 'DefinedTerm', 'QualitativeValue', 'Enumeration', 'MeasurementTypeEnumeration', 'QuantitativeValue', 'StructuredValue']], str, 'Text', 'PropertyValue', 'DefinedTerm', 'QualitativeValue', 'Enumeration', 'MeasurementTypeEnumeration', 'QuantitativeValue', 'StructuredValue']] = Field( + valueReference: Optional[Union[List[Union[str, 'Text', 'MeasurementTypeEnumeration', 'PropertyValue', 'StructuredValue', 'Enumeration', 'DefinedTerm', 'QualitativeValue', 'QuantitativeValue']], str, 'Text', 'MeasurementTypeEnumeration', 'PropertyValue', 'StructuredValue', 'Enumeration', 'DefinedTerm', 'QualitativeValue', 'QuantitativeValue']] = Field( default=None, description="A secondary value that provides additional information on the original value, e.g." "a reference temperature or a type of measurement.", @@ -86,8 +86,8 @@ class PropertyValue(StructuredValue): from pydantic_schemaorg.Number import Number from pydantic_schemaorg.Boolean import Boolean from pydantic_schemaorg.StructuredValue import StructuredValue + from pydantic_schemaorg.MeasurementTypeEnumeration import MeasurementTypeEnumeration + from pydantic_schemaorg.Enumeration import Enumeration from pydantic_schemaorg.DefinedTerm import DefinedTerm from pydantic_schemaorg.QualitativeValue import QualitativeValue - from pydantic_schemaorg.Enumeration import Enumeration - from pydantic_schemaorg.MeasurementTypeEnumeration import MeasurementTypeEnumeration from pydantic_schemaorg.QuantitativeValue import QuantitativeValue diff --git a/pydantic_schemaorg/PropertyValueSpecification.py b/pydantic_schemaorg/PropertyValueSpecification.py index ec39b109..d5c13caf 100644 --- a/pydantic_schemaorg/PropertyValueSpecification.py +++ b/pydantic_schemaorg/PropertyValueSpecification.py @@ -16,12 +16,12 @@ class PropertyValueSpecification(Intangible): See: https://schema.org/PropertyValueSpecification Model depth: 3 """ - type_: str = Field(default="PropertyValueSpecification", alias='@type') + type_: str = Field(default="PropertyValueSpecification", alias='@type', constant=True) multipleValues: Optional[Union[List[Union[StrictBool, 'Boolean', str]], StrictBool, 'Boolean', str]] = Field( default=None, description="Whether multiple values are allowed for the property. Default is false.", ) - valueMaxLength: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( + valueMaxLength: Optional[Union[List[Union[int, float, 'Number', str]], int, float, 'Number', str]] = Field( default=None, description="Specifies the allowed range for number of characters in a literal value.", ) @@ -30,7 +30,7 @@ class PropertyValueSpecification(Intangible): description="Whether or not a property is mutable. Default is false. Specifying this for a property" "that also has a value makes it act similar to a \"hidden\" input in an HTML form.", ) - valueMinLength: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( + valueMinLength: Optional[Union[List[Union[int, float, 'Number', str]], int, float, 'Number', str]] = Field( default=None, description="Specifies the minimum allowed range for number of characters in a literal value.", ) @@ -42,7 +42,7 @@ class PropertyValueSpecification(Intangible): default=None, description="Whether the property must be filled in to complete the action. Default is false.", ) - minValue: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( + minValue: Optional[Union[List[Union[int, float, 'Number', str]], int, float, 'Number', str]] = Field( default=None, description="The lower value of some characteristic or property.", ) @@ -51,12 +51,12 @@ class PropertyValueSpecification(Intangible): description="Indicates the name of the PropertyValueSpecification to be used in URL templates and" "form encoding in a manner analogous to HTML's input@name.", ) - stepValue: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( + stepValue: Optional[Union[List[Union[int, float, 'Number', str]], int, float, 'Number', str]] = Field( default=None, description="The stepValue attribute indicates the granularity that is expected (and required)" "of the value in a PropertyValueSpecification.", ) - maxValue: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( + maxValue: Optional[Union[List[Union[int, float, 'Number', str]], int, float, 'Number', str]] = Field( default=None, description="The upper value of some characteristic or property.", ) diff --git a/pydantic_schemaorg/Protein.py b/pydantic_schemaorg/Protein.py index ba04c897..4575f5c0 100644 --- a/pydantic_schemaorg/Protein.py +++ b/pydantic_schemaorg/Protein.py @@ -19,7 +19,7 @@ class Protein(BioChemEntity): See: https://schema.org/Protein Model depth: 3 """ - type_: str = Field(default="Protein", alias='@type') + type_: str = Field(default="Protein", alias='@type', constant=True) hasBioPolymerSequence: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="A symbolic representation of a BioChemEnity. For example, a nucleotide sequence of" diff --git a/pydantic_schemaorg/Protozoa.py b/pydantic_schemaorg/Protozoa.py index 92df1abf..91e2b72e 100644 --- a/pydantic_schemaorg/Protozoa.py +++ b/pydantic_schemaorg/Protozoa.py @@ -11,5 +11,5 @@ class Protozoa(InfectiousAgentClass): See: https://schema.org/Protozoa Model depth: 6 """ - type_: str = Field(default="Protozoa", alias='@type') + type_: str = Field(default="Protozoa", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Psychiatric.py b/pydantic_schemaorg/Psychiatric.py index 22ec25fa..654ae8cf 100644 --- a/pydantic_schemaorg/Psychiatric.py +++ b/pydantic_schemaorg/Psychiatric.py @@ -13,5 +13,5 @@ class Psychiatric(MedicalSpecialty, MedicalBusiness): See: https://schema.org/Psychiatric Model depth: 5 """ - type_: str = Field(default="Psychiatric", alias='@type') + type_: str = Field(default="Psychiatric", alias='@type', constant=True) diff --git a/pydantic_schemaorg/PsychologicalTreatment.py b/pydantic_schemaorg/PsychologicalTreatment.py index f5a9b94a..b0063b8e 100644 --- a/pydantic_schemaorg/PsychologicalTreatment.py +++ b/pydantic_schemaorg/PsychologicalTreatment.py @@ -12,5 +12,5 @@ class PsychologicalTreatment(TherapeuticProcedure): See: https://schema.org/PsychologicalTreatment Model depth: 5 """ - type_: str = Field(default="PsychologicalTreatment", alias='@type') + type_: str = Field(default="PsychologicalTreatment", alias='@type', constant=True) diff --git a/pydantic_schemaorg/PublicHealth.py b/pydantic_schemaorg/PublicHealth.py index 1bcbd1aa..28475388 100644 --- a/pydantic_schemaorg/PublicHealth.py +++ b/pydantic_schemaorg/PublicHealth.py @@ -13,5 +13,5 @@ class PublicHealth(MedicalSpecialty, MedicalBusiness): See: https://schema.org/PublicHealth Model depth: 5 """ - type_: str = Field(default="PublicHealth", alias='@type') + type_: str = Field(default="PublicHealth", alias='@type', constant=True) diff --git a/pydantic_schemaorg/PublicHolidays.py b/pydantic_schemaorg/PublicHolidays.py index 6030781a..5c0ba215 100644 --- a/pydantic_schemaorg/PublicHolidays.py +++ b/pydantic_schemaorg/PublicHolidays.py @@ -15,5 +15,5 @@ class PublicHolidays(DayOfWeek): See: https://schema.org/PublicHolidays Model depth: 5 """ - type_: str = Field(default="PublicHolidays", alias='@type') + type_: str = Field(default="PublicHolidays", alias='@type', constant=True) diff --git a/pydantic_schemaorg/PublicSwimmingPool.py b/pydantic_schemaorg/PublicSwimmingPool.py index a66a3937..c469366e 100644 --- a/pydantic_schemaorg/PublicSwimmingPool.py +++ b/pydantic_schemaorg/PublicSwimmingPool.py @@ -11,5 +11,5 @@ class PublicSwimmingPool(SportsActivityLocation): See: https://schema.org/PublicSwimmingPool Model depth: 5 """ - type_: str = Field(default="PublicSwimmingPool", alias='@type') + type_: str = Field(default="PublicSwimmingPool", alias='@type', constant=True) diff --git a/pydantic_schemaorg/PublicToilet.py b/pydantic_schemaorg/PublicToilet.py index e3c43d27..8233db75 100644 --- a/pydantic_schemaorg/PublicToilet.py +++ b/pydantic_schemaorg/PublicToilet.py @@ -13,5 +13,5 @@ class PublicToilet(CivicStructure): See: https://schema.org/PublicToilet Model depth: 4 """ - type_: str = Field(default="PublicToilet", alias='@type') + type_: str = Field(default="PublicToilet", alias='@type', constant=True) diff --git a/pydantic_schemaorg/PublicationEvent.py b/pydantic_schemaorg/PublicationEvent.py index ef89ff38..737cd35e 100644 --- a/pydantic_schemaorg/PublicationEvent.py +++ b/pydantic_schemaorg/PublicationEvent.py @@ -17,8 +17,8 @@ class PublicationEvent(Event): See: https://schema.org/PublicationEvent Model depth: 3 """ - type_: str = Field(default="PublicationEvent", alias='@type') - publishedBy: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + type_: str = Field(default="PublicationEvent", alias='@type', constant=True) + publishedBy: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="An agent associated with the publication event.", ) @@ -33,7 +33,7 @@ class PublicationEvent(Event): if TYPE_CHECKING: - from pydantic_schemaorg.Person import Person from pydantic_schemaorg.Organization import Organization + from pydantic_schemaorg.Person import Person from pydantic_schemaorg.BroadcastService import BroadcastService from pydantic_schemaorg.Boolean import Boolean diff --git a/pydantic_schemaorg/PublicationIssue.py b/pydantic_schemaorg/PublicationIssue.py index a32d4ddd..89f44e66 100644 --- a/pydantic_schemaorg/PublicationIssue.py +++ b/pydantic_schemaorg/PublicationIssue.py @@ -16,7 +16,7 @@ class PublicationIssue(CreativeWork): See: https://schema.org/PublicationIssue Model depth: 3 """ - type_: str = Field(default="PublicationIssue", alias='@type') + type_: str = Field(default="PublicationIssue", alias='@type', constant=True) issueNumber: Optional[Union[List[Union[int, 'Integer', str, 'Text']], int, 'Integer', str, 'Text']] = Field( default=None, description="Identifies the issue of publication; for example, \"iii\" or \"2\".", diff --git a/pydantic_schemaorg/PublicationVolume.py b/pydantic_schemaorg/PublicationVolume.py index 24f3d786..d9f85861 100644 --- a/pydantic_schemaorg/PublicationVolume.py +++ b/pydantic_schemaorg/PublicationVolume.py @@ -15,7 +15,7 @@ class PublicationVolume(CreativeWork): See: https://schema.org/PublicationVolume Model depth: 3 """ - type_: str = Field(default="PublicationVolume", alias='@type') + type_: str = Field(default="PublicationVolume", alias='@type', constant=True) pageStart: Optional[Union[List[Union[int, 'Integer', str, 'Text']], int, 'Integer', str, 'Text']] = Field( default=None, description="The page on which the work starts; for example \"135\" or \"xiii\".", diff --git a/pydantic_schemaorg/Pulmonary.py b/pydantic_schemaorg/Pulmonary.py index 375c6bec..a221fdc4 100644 --- a/pydantic_schemaorg/Pulmonary.py +++ b/pydantic_schemaorg/Pulmonary.py @@ -12,5 +12,5 @@ class Pulmonary(MedicalSpecialty): See: https://schema.org/Pulmonary Model depth: 6 """ - type_: str = Field(default="Pulmonary", alias='@type') + type_: str = Field(default="Pulmonary", alias='@type', constant=True) diff --git a/pydantic_schemaorg/QAPage.py b/pydantic_schemaorg/QAPage.py index 0e398cd0..e7288f6e 100644 --- a/pydantic_schemaorg/QAPage.py +++ b/pydantic_schemaorg/QAPage.py @@ -12,5 +12,5 @@ class QAPage(WebPage): See: https://schema.org/QAPage Model depth: 4 """ - type_: str = Field(default="QAPage", alias='@type') + type_: str = Field(default="QAPage", alias='@type', constant=True) diff --git a/pydantic_schemaorg/QualitativeValue.py b/pydantic_schemaorg/QualitativeValue.py index d9e989d0..a4407b71 100644 --- a/pydantic_schemaorg/QualitativeValue.py +++ b/pydantic_schemaorg/QualitativeValue.py @@ -15,7 +15,7 @@ class QualitativeValue(Enumeration): See: https://schema.org/QualitativeValue Model depth: 4 """ - type_: str = Field(default="QualitativeValue", alias='@type') + type_: str = Field(default="QualitativeValue", alias='@type', constant=True) lesser: Optional[Union[List[Union['QualitativeValue', str]], 'QualitativeValue', str]] = Field( default=None, description="This ordering relation for qualitative values indicates that the subject is lesser" @@ -55,7 +55,7 @@ class QualitativeValue(Enumeration): "https://schema.org/gtin13, ...) will typically expect such data to be provided using" "those properties, rather than using the generic property/value mechanism.", ) - valueReference: Optional[Union[List[Union[str, 'Text', 'PropertyValue', 'DefinedTerm', 'QualitativeValue', 'Enumeration', 'MeasurementTypeEnumeration', 'QuantitativeValue', 'StructuredValue']], str, 'Text', 'PropertyValue', 'DefinedTerm', 'QualitativeValue', 'Enumeration', 'MeasurementTypeEnumeration', 'QuantitativeValue', 'StructuredValue']] = Field( + valueReference: Optional[Union[List[Union[str, 'Text', 'MeasurementTypeEnumeration', 'PropertyValue', 'StructuredValue', 'Enumeration', 'DefinedTerm', 'QualitativeValue', 'QuantitativeValue']], str, 'Text', 'MeasurementTypeEnumeration', 'PropertyValue', 'StructuredValue', 'Enumeration', 'DefinedTerm', 'QualitativeValue', 'QuantitativeValue']] = Field( default=None, description="A secondary value that provides additional information on the original value, e.g." "a reference temperature or a type of measurement.", @@ -65,8 +65,8 @@ class QualitativeValue(Enumeration): if TYPE_CHECKING: from pydantic_schemaorg.PropertyValue import PropertyValue from pydantic_schemaorg.Text import Text - from pydantic_schemaorg.DefinedTerm import DefinedTerm - from pydantic_schemaorg.Enumeration import Enumeration from pydantic_schemaorg.MeasurementTypeEnumeration import MeasurementTypeEnumeration - from pydantic_schemaorg.QuantitativeValue import QuantitativeValue from pydantic_schemaorg.StructuredValue import StructuredValue + from pydantic_schemaorg.Enumeration import Enumeration + from pydantic_schemaorg.DefinedTerm import DefinedTerm + from pydantic_schemaorg.QuantitativeValue import QuantitativeValue diff --git a/pydantic_schemaorg/QuantitativeValue.py b/pydantic_schemaorg/QuantitativeValue.py index 9ad18f49..769c2589 100644 --- a/pydantic_schemaorg/QuantitativeValue.py +++ b/pydantic_schemaorg/QuantitativeValue.py @@ -16,8 +16,8 @@ class QuantitativeValue(StructuredValue): See: https://schema.org/QuantitativeValue Model depth: 4 """ - type_: str = Field(default="QuantitativeValue", alias='@type') - minValue: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( + type_: str = Field(default="QuantitativeValue", alias='@type', constant=True) + minValue: Optional[Union[List[Union[int, float, 'Number', str]], int, float, 'Number', str]] = Field( default=None, description="The lower value of some characteristic or property.", ) @@ -26,7 +26,7 @@ class QuantitativeValue(StructuredValue): description="A string or text indicating the unit of measurement. Useful if you cannot provide a standard" "unit code for unitCode.", ) - value: Optional[Union[List[Union[Decimal, 'Number', StrictBool, 'Boolean', str, 'Text', 'StructuredValue']], Decimal, 'Number', StrictBool, 'Boolean', str, 'Text', 'StructuredValue']] = Field( + value: Optional[Union[List[Union[int, float, 'Number', str, 'Text', StrictBool, 'Boolean', 'StructuredValue']], int, float, 'Number', str, 'Text', StrictBool, 'Boolean', 'StructuredValue']] = Field( default=None, description="The value of the quantitative value or property value node. * For [[QuantitativeValue]]" "and [[MonetaryAmount]], the recommended type for values is 'Number'. * For [[PropertyValue]]," @@ -40,7 +40,7 @@ class QuantitativeValue(StructuredValue): description="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.", ) - maxValue: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( + maxValue: Optional[Union[List[Union[int, float, 'Number', str]], int, float, 'Number', str]] = Field( default=None, description="The upper value of some characteristic or property.", ) @@ -53,7 +53,7 @@ class QuantitativeValue(StructuredValue): "https://schema.org/gtin13, ...) will typically expect such data to be provided using" "those properties, rather than using the generic property/value mechanism.", ) - valueReference: Optional[Union[List[Union[str, 'Text', 'PropertyValue', 'DefinedTerm', 'QualitativeValue', 'Enumeration', 'MeasurementTypeEnumeration', 'QuantitativeValue', 'StructuredValue']], str, 'Text', 'PropertyValue', 'DefinedTerm', 'QualitativeValue', 'Enumeration', 'MeasurementTypeEnumeration', 'QuantitativeValue', 'StructuredValue']] = Field( + valueReference: Optional[Union[List[Union[str, 'Text', 'MeasurementTypeEnumeration', 'PropertyValue', 'StructuredValue', 'Enumeration', 'DefinedTerm', 'QualitativeValue', 'QuantitativeValue']], str, 'Text', 'MeasurementTypeEnumeration', 'PropertyValue', 'StructuredValue', 'Enumeration', 'DefinedTerm', 'QualitativeValue', 'QuantitativeValue']] = Field( default=None, description="A secondary value that provides additional information on the original value, e.g." "a reference temperature or a type of measurement.", @@ -67,7 +67,7 @@ class QuantitativeValue(StructuredValue): from pydantic_schemaorg.StructuredValue import StructuredValue from pydantic_schemaorg.URL import URL from pydantic_schemaorg.PropertyValue import PropertyValue + from pydantic_schemaorg.MeasurementTypeEnumeration import MeasurementTypeEnumeration + from pydantic_schemaorg.Enumeration import Enumeration from pydantic_schemaorg.DefinedTerm import DefinedTerm from pydantic_schemaorg.QualitativeValue import QualitativeValue - from pydantic_schemaorg.Enumeration import Enumeration - from pydantic_schemaorg.MeasurementTypeEnumeration import MeasurementTypeEnumeration diff --git a/pydantic_schemaorg/QuantitativeValueDistribution.py b/pydantic_schemaorg/QuantitativeValueDistribution.py index 053cddee..a4888985 100644 --- a/pydantic_schemaorg/QuantitativeValueDistribution.py +++ b/pydantic_schemaorg/QuantitativeValueDistribution.py @@ -15,8 +15,8 @@ class QuantitativeValueDistribution(StructuredValue): See: https://schema.org/QuantitativeValueDistribution Model depth: 4 """ - type_: str = Field(default="QuantitativeValueDistribution", alias='@type') - percentile75: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( + type_: str = Field(default="QuantitativeValueDistribution", alias='@type', constant=True) + percentile75: Optional[Union[List[Union[int, float, 'Number', str]], int, float, 'Number', str]] = Field( default=None, description="The 75th percentile value.", ) @@ -24,19 +24,19 @@ class QuantitativeValueDistribution(StructuredValue): default=None, description="The duration of the item (movie, audio recording, event, etc.) in [ISO 8601 date format](http://en.wikipedia.org/wiki/ISO_8601).", ) - percentile25: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( + percentile25: Optional[Union[List[Union[int, float, 'Number', str]], int, float, 'Number', str]] = Field( default=None, description="The 25th percentile value.", ) - percentile90: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( + percentile90: Optional[Union[List[Union[int, float, 'Number', str]], int, float, 'Number', str]] = Field( default=None, description="The 90th percentile value.", ) - percentile10: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( + percentile10: Optional[Union[List[Union[int, float, 'Number', str]], int, float, 'Number', str]] = Field( default=None, description="The 10th percentile value.", ) - median: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( + median: Optional[Union[List[Union[int, float, 'Number', str]], int, float, 'Number', str]] = Field( default=None, description="The median value.", ) diff --git a/pydantic_schemaorg/Quantity.py b/pydantic_schemaorg/Quantity.py index d5c5f135..6ebbf52e 100644 --- a/pydantic_schemaorg/Quantity.py +++ b/pydantic_schemaorg/Quantity.py @@ -12,5 +12,5 @@ class Quantity(Intangible): See: https://schema.org/Quantity Model depth: 3 """ - type_: str = Field(default="Quantity", alias='@type') + type_: str = Field(default="Quantity", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Question.py b/pydantic_schemaorg/Question.py index cb8de007..2a10a9a3 100644 --- a/pydantic_schemaorg/Question.py +++ b/pydantic_schemaorg/Question.py @@ -15,7 +15,7 @@ class Question(Comment): See: https://schema.org/Question Model depth: 4 """ - type_: str = Field(default="Question", alias='@type') + type_: str = Field(default="Question", alias='@type', constant=True) eduQuestionType: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="For questions that are part of learning resources (e.g. Quiz), eduQuestionType indicates" @@ -26,12 +26,12 @@ class Question(Comment): default=None, description="The number of answers this question has received.", ) - suggestedAnswer: Optional[Union[List[Union['Answer', 'ItemList', str]], 'Answer', 'ItemList', str]] = Field( + suggestedAnswer: Optional[Union[List[Union['ItemList', 'Answer', str]], 'ItemList', 'Answer', str]] = Field( default=None, description="An answer (possibly one of several, possibly incorrect) to a Question, e.g. on a Question/Answer" "site.", ) - acceptedAnswer: Optional[Union[List[Union['Answer', 'ItemList', str]], 'Answer', 'ItemList', str]] = Field( + acceptedAnswer: Optional[Union[List[Union['ItemList', 'Answer', str]], 'ItemList', 'Answer', str]] = Field( default=None, description="The answer(s) that has been accepted as best, typically on a Question/Answer site. Sites" "vary in their selection mechanisms, e.g. drawing on community opinion and/or the view" @@ -42,5 +42,5 @@ class Question(Comment): if TYPE_CHECKING: from pydantic_schemaorg.Text import Text from pydantic_schemaorg.Integer import Integer - from pydantic_schemaorg.Answer import Answer from pydantic_schemaorg.ItemList import ItemList + from pydantic_schemaorg.Answer import Answer diff --git a/pydantic_schemaorg/Quiz.py b/pydantic_schemaorg/Quiz.py index d534ae03..0405a751 100644 --- a/pydantic_schemaorg/Quiz.py +++ b/pydantic_schemaorg/Quiz.py @@ -11,5 +11,5 @@ class Quiz(LearningResource): See: https://schema.org/Quiz Model depth: 4 """ - type_: str = Field(default="Quiz", alias='@type') + type_: str = Field(default="Quiz", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Quotation.py b/pydantic_schemaorg/Quotation.py index bd5777ac..d3a473b1 100644 --- a/pydantic_schemaorg/Quotation.py +++ b/pydantic_schemaorg/Quotation.py @@ -17,8 +17,8 @@ class Quotation(CreativeWork): See: https://schema.org/Quotation Model depth: 3 """ - type_: str = Field(default="Quotation", alias='@type') - spokenByCharacter: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + type_: str = Field(default="Quotation", alias='@type', constant=True) + spokenByCharacter: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="The (e.g. fictional) character, Person or Organization to whom the quotation is attributed" "within the containing CreativeWork.", @@ -26,5 +26,5 @@ class Quotation(CreativeWork): if TYPE_CHECKING: - from pydantic_schemaorg.Person import Person from pydantic_schemaorg.Organization import Organization + from pydantic_schemaorg.Person import Person diff --git a/pydantic_schemaorg/QuoteAction.py b/pydantic_schemaorg/QuoteAction.py index 0fafbffa..256c9033 100644 --- a/pydantic_schemaorg/QuoteAction.py +++ b/pydantic_schemaorg/QuoteAction.py @@ -11,5 +11,5 @@ class QuoteAction(TradeAction): See: https://schema.org/QuoteAction Model depth: 4 """ - type_: str = Field(default="QuoteAction", alias='@type') + type_: str = Field(default="QuoteAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/RVPark.py b/pydantic_schemaorg/RVPark.py index 58dbb313..c21e30b5 100644 --- a/pydantic_schemaorg/RVPark.py +++ b/pydantic_schemaorg/RVPark.py @@ -12,5 +12,5 @@ class RVPark(CivicStructure): See: https://schema.org/RVPark Model depth: 4 """ - type_: str = Field(default="RVPark", alias='@type') + type_: str = Field(default="RVPark", alias='@type', constant=True) diff --git a/pydantic_schemaorg/RadiationTherapy.py b/pydantic_schemaorg/RadiationTherapy.py index d1940f32..96d6c0c8 100644 --- a/pydantic_schemaorg/RadiationTherapy.py +++ b/pydantic_schemaorg/RadiationTherapy.py @@ -11,5 +11,5 @@ class RadiationTherapy(MedicalTherapy): See: https://schema.org/RadiationTherapy Model depth: 6 """ - type_: str = Field(default="RadiationTherapy", alias='@type') + type_: str = Field(default="RadiationTherapy", alias='@type', constant=True) diff --git a/pydantic_schemaorg/RadioBroadcastService.py b/pydantic_schemaorg/RadioBroadcastService.py index ea2fa491..f74a5c57 100644 --- a/pydantic_schemaorg/RadioBroadcastService.py +++ b/pydantic_schemaorg/RadioBroadcastService.py @@ -12,5 +12,5 @@ class RadioBroadcastService(BroadcastService): See: https://schema.org/RadioBroadcastService Model depth: 5 """ - type_: str = Field(default="RadioBroadcastService", alias='@type') + type_: str = Field(default="RadioBroadcastService", alias='@type', constant=True) diff --git a/pydantic_schemaorg/RadioChannel.py b/pydantic_schemaorg/RadioChannel.py index 6631f073..f402ba64 100644 --- a/pydantic_schemaorg/RadioChannel.py +++ b/pydantic_schemaorg/RadioChannel.py @@ -11,5 +11,5 @@ class RadioChannel(BroadcastChannel): See: https://schema.org/RadioChannel Model depth: 4 """ - type_: str = Field(default="RadioChannel", alias='@type') + type_: str = Field(default="RadioChannel", alias='@type', constant=True) diff --git a/pydantic_schemaorg/RadioClip.py b/pydantic_schemaorg/RadioClip.py index e1dc2a0c..780bdc8e 100644 --- a/pydantic_schemaorg/RadioClip.py +++ b/pydantic_schemaorg/RadioClip.py @@ -11,5 +11,5 @@ class RadioClip(Clip): See: https://schema.org/RadioClip Model depth: 4 """ - type_: str = Field(default="RadioClip", alias='@type') + type_: str = Field(default="RadioClip", alias='@type', constant=True) diff --git a/pydantic_schemaorg/RadioEpisode.py b/pydantic_schemaorg/RadioEpisode.py index 460e9884..00f1387a 100644 --- a/pydantic_schemaorg/RadioEpisode.py +++ b/pydantic_schemaorg/RadioEpisode.py @@ -11,5 +11,5 @@ class RadioEpisode(Episode): See: https://schema.org/RadioEpisode Model depth: 4 """ - type_: str = Field(default="RadioEpisode", alias='@type') + type_: str = Field(default="RadioEpisode", alias='@type', constant=True) diff --git a/pydantic_schemaorg/RadioSeason.py b/pydantic_schemaorg/RadioSeason.py index 47ec60d1..17ea835e 100644 --- a/pydantic_schemaorg/RadioSeason.py +++ b/pydantic_schemaorg/RadioSeason.py @@ -11,5 +11,5 @@ class RadioSeason(CreativeWorkSeason): See: https://schema.org/RadioSeason Model depth: 4 """ - type_: str = Field(default="RadioSeason", alias='@type') + type_: str = Field(default="RadioSeason", alias='@type', constant=True) diff --git a/pydantic_schemaorg/RadioSeries.py b/pydantic_schemaorg/RadioSeries.py index a1b8adc0..c2574198 100644 --- a/pydantic_schemaorg/RadioSeries.py +++ b/pydantic_schemaorg/RadioSeries.py @@ -15,7 +15,7 @@ class RadioSeries(CreativeWorkSeries): See: https://schema.org/RadioSeries Model depth: 4 """ - type_: str = Field(default="RadioSeries", alias='@type') + type_: str = Field(default="RadioSeries", alias='@type', constant=True) actors: Optional[Union[List[Union['Person', str]], 'Person', str]] = Field( default=None, description="An actor, e.g. in tv, radio, movie, video games etc. Actors can be associated with individual" @@ -73,7 +73,7 @@ class RadioSeries(CreativeWorkSeries): description="A director of e.g. tv, radio, movie, video games etc. content. Directors can be associated" "with individual items or with a series, episode, clip.", ) - musicBy: Optional[Union[List[Union['Person', 'MusicGroup', str]], 'Person', 'MusicGroup', str]] = Field( + musicBy: Optional[Union[List[Union['MusicGroup', 'Person', str]], 'MusicGroup', 'Person', str]] = Field( default=None, description="The composer of the soundtrack.", ) diff --git a/pydantic_schemaorg/RadioStation.py b/pydantic_schemaorg/RadioStation.py index 27be5ebf..1912a11e 100644 --- a/pydantic_schemaorg/RadioStation.py +++ b/pydantic_schemaorg/RadioStation.py @@ -11,5 +11,5 @@ class RadioStation(LocalBusiness): See: https://schema.org/RadioStation Model depth: 4 """ - type_: str = Field(default="RadioStation", alias='@type') + type_: str = Field(default="RadioStation", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Radiography.py b/pydantic_schemaorg/Radiography.py index 387bee11..3c89c5a3 100644 --- a/pydantic_schemaorg/Radiography.py +++ b/pydantic_schemaorg/Radiography.py @@ -2,11 +2,11 @@ from pydantic import Field -from pydantic_schemaorg.MedicalSpecialty import MedicalSpecialty from pydantic_schemaorg.MedicalImagingTechnique import MedicalImagingTechnique +from pydantic_schemaorg.MedicalSpecialty import MedicalSpecialty -class Radiography(MedicalSpecialty, MedicalImagingTechnique): +class Radiography(MedicalImagingTechnique, MedicalSpecialty): """Radiography is an imaging technique that uses electromagnetic radiation other than" "visible light, especially X-rays, to view the internal structure of a non-uniformly" "composed and opaque object such as the human body. @@ -14,5 +14,5 @@ class Radiography(MedicalSpecialty, MedicalImagingTechnique): See: https://schema.org/Radiography Model depth: 6 """ - type_: str = Field(default="Radiography", alias='@type') + type_: str = Field(default="Radiography", alias='@type', constant=True) diff --git a/pydantic_schemaorg/RandomizedTrial.py b/pydantic_schemaorg/RandomizedTrial.py index ea232890..1dcd07ae 100644 --- a/pydantic_schemaorg/RandomizedTrial.py +++ b/pydantic_schemaorg/RandomizedTrial.py @@ -11,5 +11,5 @@ class RandomizedTrial(MedicalTrialDesign): See: https://schema.org/RandomizedTrial Model depth: 6 """ - type_: str = Field(default="RandomizedTrial", alias='@type') + type_: str = Field(default="RandomizedTrial", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Rating.py b/pydantic_schemaorg/Rating.py index d2f5a0aa..e843f3ad 100644 --- a/pydantic_schemaorg/Rating.py +++ b/pydantic_schemaorg/Rating.py @@ -15,12 +15,12 @@ class Rating(Intangible): See: https://schema.org/Rating Model depth: 3 """ - type_: str = Field(default="Rating", alias='@type') - worstRating: Optional[Union[List[Union[Decimal, 'Number', str, 'Text']], Decimal, 'Number', str, 'Text']] = Field( + type_: str = Field(default="Rating", alias='@type', constant=True) + worstRating: Optional[Union[List[Union[int, float, 'Number', str, 'Text']], int, float, 'Number', str, 'Text']] = Field( default=None, description="The lowest value allowed in this rating system. If worstRating is omitted, 1 is assumed.", ) - author: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + author: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="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" @@ -30,7 +30,7 @@ class Rating(Intangible): default=None, description="This Review or Rating is relevant to this part or facet of the itemReviewed.", ) - ratingValue: Optional[Union[List[Union[Decimal, 'Number', str, 'Text']], Decimal, 'Number', str, 'Text']] = Field( + ratingValue: Optional[Union[List[Union[int, float, 'Number', str, 'Text']], int, float, 'Number', str, 'Text']] = Field( default=None, description="The rating for the content. Usage guidelines: * Use values from 0123456789 (Unicode" "'DIGIT ZERO' (U+0030) to 'DIGIT NINE' (U+0039)) rather than superficially similiar" @@ -43,7 +43,7 @@ class Rating(Intangible): "information that led to the conclusion expressed in the rating. This is particularly" "applicable to ratings associated with \"fact check\" markup using [[ClaimReview]].", ) - bestRating: Optional[Union[List[Union[Decimal, 'Number', str, 'Text']], Decimal, 'Number', str, 'Text']] = Field( + bestRating: Optional[Union[List[Union[int, float, 'Number', str, 'Text']], int, float, 'Number', str, 'Text']] = Field( default=None, description="The highest value allowed in this rating system. If bestRating is omitted, 5 is assumed.", ) @@ -52,5 +52,5 @@ class Rating(Intangible): if TYPE_CHECKING: from pydantic_schemaorg.Number import Number from pydantic_schemaorg.Text import Text - from pydantic_schemaorg.Person import Person from pydantic_schemaorg.Organization import Organization + from pydantic_schemaorg.Person import Person diff --git a/pydantic_schemaorg/ReactAction.py b/pydantic_schemaorg/ReactAction.py index b48a1e99..1289d555 100644 --- a/pydantic_schemaorg/ReactAction.py +++ b/pydantic_schemaorg/ReactAction.py @@ -11,5 +11,5 @@ class ReactAction(AssessAction): See: https://schema.org/ReactAction Model depth: 4 """ - type_: str = Field(default="ReactAction", alias='@type') + type_: str = Field(default="ReactAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ReadAction.py b/pydantic_schemaorg/ReadAction.py index 6fca6af4..87bccd99 100644 --- a/pydantic_schemaorg/ReadAction.py +++ b/pydantic_schemaorg/ReadAction.py @@ -11,5 +11,5 @@ class ReadAction(ConsumeAction): See: https://schema.org/ReadAction Model depth: 4 """ - type_: str = Field(default="ReadAction", alias='@type') + type_: str = Field(default="ReadAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ReadPermission.py b/pydantic_schemaorg/ReadPermission.py index 19b89e9a..af76e9df 100644 --- a/pydantic_schemaorg/ReadPermission.py +++ b/pydantic_schemaorg/ReadPermission.py @@ -11,5 +11,5 @@ class ReadPermission(DigitalDocumentPermissionType): See: https://schema.org/ReadPermission Model depth: 5 """ - type_: str = Field(default="ReadPermission", alias='@type') + type_: str = Field(default="ReadPermission", alias='@type', constant=True) diff --git a/pydantic_schemaorg/RealEstateAgent.py b/pydantic_schemaorg/RealEstateAgent.py index 8ed14f1e..67a5b708 100644 --- a/pydantic_schemaorg/RealEstateAgent.py +++ b/pydantic_schemaorg/RealEstateAgent.py @@ -11,5 +11,5 @@ class RealEstateAgent(LocalBusiness): See: https://schema.org/RealEstateAgent Model depth: 4 """ - type_: str = Field(default="RealEstateAgent", alias='@type') + type_: str = Field(default="RealEstateAgent", alias='@type', constant=True) diff --git a/pydantic_schemaorg/RealEstateListing.py b/pydantic_schemaorg/RealEstateListing.py index e1590333..32310903 100644 --- a/pydantic_schemaorg/RealEstateListing.py +++ b/pydantic_schemaorg/RealEstateListing.py @@ -17,8 +17,8 @@ class RealEstateListing(WebPage): See: https://schema.org/RealEstateListing Model depth: 4 """ - type_: str = Field(default="RealEstateListing", alias='@type') - leaseLength: Optional[Union[List[Union['QuantitativeValue', 'Duration', str]], 'QuantitativeValue', 'Duration', str]] = Field( + type_: str = Field(default="RealEstateListing", alias='@type', constant=True) + leaseLength: Optional[Union[List[Union['Duration', 'QuantitativeValue', str]], 'Duration', 'QuantitativeValue', str]] = Field( default=None, description="Length of the lease for some [[Accommodation]], either particular to some [[Offer]]" "or in some cases intrinsic to the property.", @@ -30,7 +30,7 @@ class RealEstateListing(WebPage): if TYPE_CHECKING: - from pydantic_schemaorg.QuantitativeValue import QuantitativeValue from pydantic_schemaorg.Duration import Duration + from pydantic_schemaorg.QuantitativeValue import QuantitativeValue from pydantic_schemaorg.DateTime import DateTime from pydantic_schemaorg.Date import Date diff --git a/pydantic_schemaorg/RearWheelDriveConfiguration.py b/pydantic_schemaorg/RearWheelDriveConfiguration.py index 67b0eef1..65ea426d 100644 --- a/pydantic_schemaorg/RearWheelDriveConfiguration.py +++ b/pydantic_schemaorg/RearWheelDriveConfiguration.py @@ -11,5 +11,5 @@ class RearWheelDriveConfiguration(DriveWheelConfigurationValue): See: https://schema.org/RearWheelDriveConfiguration Model depth: 6 """ - type_: str = Field(default="RearWheelDriveConfiguration", alias='@type') + type_: str = Field(default="RearWheelDriveConfiguration", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ReceiveAction.py b/pydantic_schemaorg/ReceiveAction.py index c3ef0847..e2671661 100644 --- a/pydantic_schemaorg/ReceiveAction.py +++ b/pydantic_schemaorg/ReceiveAction.py @@ -18,8 +18,8 @@ class ReceiveAction(TransferAction): See: https://schema.org/ReceiveAction Model depth: 4 """ - type_: str = Field(default="ReceiveAction", alias='@type') - sender: Optional[Union[List[Union['Person', 'Audience', 'Organization', str]], 'Person', 'Audience', 'Organization', str]] = Field( + type_: str = Field(default="ReceiveAction", alias='@type', constant=True) + sender: Optional[Union[List[Union['Audience', 'Organization', 'Person', str]], 'Audience', 'Organization', 'Person', str]] = Field( default=None, description="A sub property of participant. The participant who is at the sending end of the action.", ) @@ -30,7 +30,7 @@ class ReceiveAction(TransferAction): if TYPE_CHECKING: - from pydantic_schemaorg.Person import Person from pydantic_schemaorg.Audience import Audience from pydantic_schemaorg.Organization import Organization + from pydantic_schemaorg.Person import Person from pydantic_schemaorg.DeliveryMethod import DeliveryMethod diff --git a/pydantic_schemaorg/Recipe.py b/pydantic_schemaorg/Recipe.py index 49b2b99d..061a2481 100644 --- a/pydantic_schemaorg/Recipe.py +++ b/pydantic_schemaorg/Recipe.py @@ -16,7 +16,7 @@ class Recipe(HowTo): See: https://schema.org/Recipe Model depth: 4 """ - type_: str = Field(default="Recipe", alias='@type') + type_: str = Field(default="Recipe", alias='@type', constant=True) recipeInstructions: Optional[Union[List[Union[str, 'Text', 'CreativeWork', 'ItemList']], str, 'Text', 'CreativeWork', 'ItemList']] = Field( default=None, description="A step in making the recipe, in the form of a single item (document, video, etc.) or an ordered" diff --git a/pydantic_schemaorg/Recommendation.py b/pydantic_schemaorg/Recommendation.py index ae1c2c0a..f91add0a 100644 --- a/pydantic_schemaorg/Recommendation.py +++ b/pydantic_schemaorg/Recommendation.py @@ -19,7 +19,7 @@ class Recommendation(Review): See: https://schema.org/Recommendation Model depth: 4 """ - type_: str = Field(default="Recommendation", alias='@type') + type_: str = Field(default="Recommendation", alias='@type', constant=True) category: Optional[Union[List[Union[AnyUrl, 'URL', str, 'Text', 'PhysicalActivityCategory', 'Thing']], AnyUrl, 'URL', str, 'Text', 'PhysicalActivityCategory', 'Thing']] = Field( default=None, description="A category for the item. Greater signs or slashes can be used to informally indicate a" diff --git a/pydantic_schemaorg/RecommendedDoseSchedule.py b/pydantic_schemaorg/RecommendedDoseSchedule.py index eb0ca654..94b4e9dc 100644 --- a/pydantic_schemaorg/RecommendedDoseSchedule.py +++ b/pydantic_schemaorg/RecommendedDoseSchedule.py @@ -13,5 +13,5 @@ class RecommendedDoseSchedule(DoseSchedule): See: https://schema.org/RecommendedDoseSchedule Model depth: 5 """ - type_: str = Field(default="RecommendedDoseSchedule", alias='@type') + type_: str = Field(default="RecommendedDoseSchedule", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Recruiting.py b/pydantic_schemaorg/Recruiting.py index 919168db..60cc017c 100644 --- a/pydantic_schemaorg/Recruiting.py +++ b/pydantic_schemaorg/Recruiting.py @@ -11,5 +11,5 @@ class Recruiting(MedicalStudyStatus): See: https://schema.org/Recruiting Model depth: 6 """ - type_: str = Field(default="Recruiting", alias='@type') + type_: str = Field(default="Recruiting", alias='@type', constant=True) diff --git a/pydantic_schemaorg/RecyclingCenter.py b/pydantic_schemaorg/RecyclingCenter.py index a2d56491..a3bd6b77 100644 --- a/pydantic_schemaorg/RecyclingCenter.py +++ b/pydantic_schemaorg/RecyclingCenter.py @@ -11,5 +11,5 @@ class RecyclingCenter(LocalBusiness): See: https://schema.org/RecyclingCenter Model depth: 4 """ - type_: str = Field(default="RecyclingCenter", alias='@type') + type_: str = Field(default="RecyclingCenter", alias='@type', constant=True) diff --git a/pydantic_schemaorg/RefundTypeEnumeration.py b/pydantic_schemaorg/RefundTypeEnumeration.py index f577247b..fc0768b6 100644 --- a/pydantic_schemaorg/RefundTypeEnumeration.py +++ b/pydantic_schemaorg/RefundTypeEnumeration.py @@ -11,5 +11,5 @@ class RefundTypeEnumeration(Enumeration): See: https://schema.org/RefundTypeEnumeration Model depth: 4 """ - type_: str = Field(default="RefundTypeEnumeration", alias='@type') + type_: str = Field(default="RefundTypeEnumeration", alias='@type', constant=True) diff --git a/pydantic_schemaorg/RefurbishedCondition.py b/pydantic_schemaorg/RefurbishedCondition.py index 21bf226d..43b78ada 100644 --- a/pydantic_schemaorg/RefurbishedCondition.py +++ b/pydantic_schemaorg/RefurbishedCondition.py @@ -11,5 +11,5 @@ class RefurbishedCondition(OfferItemCondition): See: https://schema.org/RefurbishedCondition Model depth: 5 """ - type_: str = Field(default="RefurbishedCondition", alias='@type') + type_: str = Field(default="RefurbishedCondition", alias='@type', constant=True) diff --git a/pydantic_schemaorg/RegisterAction.py b/pydantic_schemaorg/RegisterAction.py index bca8f450..e2060aa4 100644 --- a/pydantic_schemaorg/RegisterAction.py +++ b/pydantic_schemaorg/RegisterAction.py @@ -16,5 +16,5 @@ class RegisterAction(InteractAction): See: https://schema.org/RegisterAction Model depth: 4 """ - type_: str = Field(default="RegisterAction", alias='@type') + type_: str = Field(default="RegisterAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Registry.py b/pydantic_schemaorg/Registry.py index e7ae2bc2..2b385c25 100644 --- a/pydantic_schemaorg/Registry.py +++ b/pydantic_schemaorg/Registry.py @@ -11,5 +11,5 @@ class Registry(MedicalObservationalStudyDesign): See: https://schema.org/Registry Model depth: 6 """ - type_: str = Field(default="Registry", alias='@type') + type_: str = Field(default="Registry", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ReimbursementCap.py b/pydantic_schemaorg/ReimbursementCap.py index 2959e8bf..d6f92acb 100644 --- a/pydantic_schemaorg/ReimbursementCap.py +++ b/pydantic_schemaorg/ReimbursementCap.py @@ -11,5 +11,5 @@ class ReimbursementCap(DrugCostCategory): See: https://schema.org/ReimbursementCap Model depth: 6 """ - type_: str = Field(default="ReimbursementCap", alias='@type') + type_: str = Field(default="ReimbursementCap", alias='@type', constant=True) diff --git a/pydantic_schemaorg/RejectAction.py b/pydantic_schemaorg/RejectAction.py index 7817d2cb..415e9a52 100644 --- a/pydantic_schemaorg/RejectAction.py +++ b/pydantic_schemaorg/RejectAction.py @@ -12,5 +12,5 @@ class RejectAction(AllocateAction): See: https://schema.org/RejectAction Model depth: 5 """ - type_: str = Field(default="RejectAction", alias='@type') + type_: str = Field(default="RejectAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/RelatedTopicsHealthAspect.py b/pydantic_schemaorg/RelatedTopicsHealthAspect.py index ac258509..44ef6de3 100644 --- a/pydantic_schemaorg/RelatedTopicsHealthAspect.py +++ b/pydantic_schemaorg/RelatedTopicsHealthAspect.py @@ -11,5 +11,5 @@ class RelatedTopicsHealthAspect(HealthAspectEnumeration): See: https://schema.org/RelatedTopicsHealthAspect Model depth: 5 """ - type_: str = Field(default="RelatedTopicsHealthAspect", alias='@type') + type_: str = Field(default="RelatedTopicsHealthAspect", alias='@type', constant=True) diff --git a/pydantic_schemaorg/RemixAlbum.py b/pydantic_schemaorg/RemixAlbum.py index f0df25d4..aebf319d 100644 --- a/pydantic_schemaorg/RemixAlbum.py +++ b/pydantic_schemaorg/RemixAlbum.py @@ -11,5 +11,5 @@ class RemixAlbum(MusicAlbumProductionType): See: https://schema.org/RemixAlbum Model depth: 5 """ - type_: str = Field(default="RemixAlbum", alias='@type') + type_: str = Field(default="RemixAlbum", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Renal.py b/pydantic_schemaorg/Renal.py index a1289e86..d68e4bd8 100644 --- a/pydantic_schemaorg/Renal.py +++ b/pydantic_schemaorg/Renal.py @@ -12,5 +12,5 @@ class Renal(MedicalSpecialty): See: https://schema.org/Renal Model depth: 6 """ - type_: str = Field(default="Renal", alias='@type') + type_: str = Field(default="Renal", alias='@type', constant=True) diff --git a/pydantic_schemaorg/RentAction.py b/pydantic_schemaorg/RentAction.py index 6d23605d..637e3784 100644 --- a/pydantic_schemaorg/RentAction.py +++ b/pydantic_schemaorg/RentAction.py @@ -16,8 +16,8 @@ class RentAction(TradeAction): See: https://schema.org/RentAction Model depth: 4 """ - type_: str = Field(default="RentAction", alias='@type') - landlord: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + type_: str = Field(default="RentAction", alias='@type', constant=True) + landlord: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="A sub property of participant. The owner of the real estate property.", ) @@ -28,6 +28,6 @@ class RentAction(TradeAction): if TYPE_CHECKING: - from pydantic_schemaorg.Person import Person from pydantic_schemaorg.Organization import Organization + from pydantic_schemaorg.Person import Person from pydantic_schemaorg.RealEstateAgent import RealEstateAgent diff --git a/pydantic_schemaorg/RentalCarReservation.py b/pydantic_schemaorg/RentalCarReservation.py index 5ca2ab36..ae833009 100644 --- a/pydantic_schemaorg/RentalCarReservation.py +++ b/pydantic_schemaorg/RentalCarReservation.py @@ -16,7 +16,7 @@ class RentalCarReservation(Reservation): See: https://schema.org/RentalCarReservation Model depth: 4 """ - type_: str = Field(default="RentalCarReservation", alias='@type') + type_: str = Field(default="RentalCarReservation", alias='@type', constant=True) pickupLocation: Optional[Union[List[Union['Place', str]], 'Place', str]] = Field( default=None, description="Where a taxi will pick up a passenger or a rental car can be picked up.", diff --git a/pydantic_schemaorg/RentalVehicleUsage.py b/pydantic_schemaorg/RentalVehicleUsage.py index 0ee49208..7c20a42c 100644 --- a/pydantic_schemaorg/RentalVehicleUsage.py +++ b/pydantic_schemaorg/RentalVehicleUsage.py @@ -11,5 +11,5 @@ class RentalVehicleUsage(CarUsageType): See: https://schema.org/RentalVehicleUsage Model depth: 5 """ - type_: str = Field(default="RentalVehicleUsage", alias='@type') + type_: str = Field(default="RentalVehicleUsage", alias='@type', constant=True) diff --git a/pydantic_schemaorg/RepaymentSpecification.py b/pydantic_schemaorg/RepaymentSpecification.py index 07629b82..e20757f8 100644 --- a/pydantic_schemaorg/RepaymentSpecification.py +++ b/pydantic_schemaorg/RepaymentSpecification.py @@ -15,18 +15,18 @@ class RepaymentSpecification(StructuredValue): See: https://schema.org/RepaymentSpecification Model depth: 4 """ - type_: str = Field(default="RepaymentSpecification", alias='@type') + type_: str = Field(default="RepaymentSpecification", alias='@type', constant=True) loanPaymentAmount: Optional[Union[List[Union['MonetaryAmount', str]], 'MonetaryAmount', str]] = Field( default=None, description="The amount of money to pay in a single payment.", ) - numberOfLoanPayments: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( + numberOfLoanPayments: Optional[Union[List[Union[int, float, 'Number', str]], int, float, 'Number', str]] = Field( default=None, description="The number of payments contractually required at origination to repay the loan. For" "monthly paying loans this is the number of months from the contractual first payment" "date to the maturity date.", ) - loanPaymentFrequency: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( + loanPaymentFrequency: Optional[Union[List[Union[int, float, 'Number', str]], int, float, 'Number', str]] = Field( default=None, description="Frequency of payments due, i.e. number of months between payments. This is defined as" "a frequency, i.e. the reciprocal of a period of time.", @@ -35,7 +35,7 @@ class RepaymentSpecification(StructuredValue): default=None, description="The amount to be paid as a penalty in the event of early payment of the loan.", ) - downPayment: Optional[Union[List[Union[Decimal, 'Number', 'MonetaryAmount', str]], Decimal, 'Number', 'MonetaryAmount', str]] = Field( + downPayment: Optional[Union[List[Union[int, float, 'Number', 'MonetaryAmount', str]], int, float, 'Number', 'MonetaryAmount', str]] = Field( default=None, description="a type of payment made in cash during the onset of the purchase of an expensive good/service." "The payment typically represents only a percentage of the full purchase price.", diff --git a/pydantic_schemaorg/ReplaceAction.py b/pydantic_schemaorg/ReplaceAction.py index efc115f5..1c4ef032 100644 --- a/pydantic_schemaorg/ReplaceAction.py +++ b/pydantic_schemaorg/ReplaceAction.py @@ -14,7 +14,7 @@ class ReplaceAction(UpdateAction): See: https://schema.org/ReplaceAction Model depth: 4 """ - type_: str = Field(default="ReplaceAction", alias='@type') + type_: str = Field(default="ReplaceAction", alias='@type', constant=True) replacer: Optional[Union[List[Union['Thing', str]], 'Thing', str]] = Field( default=None, description="A sub property of object. The object that replaces.", diff --git a/pydantic_schemaorg/ReplyAction.py b/pydantic_schemaorg/ReplyAction.py index ce65a6d2..747c8bb2 100644 --- a/pydantic_schemaorg/ReplyAction.py +++ b/pydantic_schemaorg/ReplyAction.py @@ -15,7 +15,7 @@ class ReplyAction(CommunicateAction): See: https://schema.org/ReplyAction Model depth: 5 """ - type_: str = Field(default="ReplyAction", alias='@type') + type_: str = Field(default="ReplyAction", alias='@type', constant=True) resultComment: Optional[Union[List[Union['Comment', str]], 'Comment', str]] = Field( default=None, description="A sub property of result. The Comment created or sent as a result of this action.", diff --git a/pydantic_schemaorg/Report.py b/pydantic_schemaorg/Report.py index f91991ff..952ded25 100644 --- a/pydantic_schemaorg/Report.py +++ b/pydantic_schemaorg/Report.py @@ -14,7 +14,7 @@ class Report(Article): See: https://schema.org/Report Model depth: 4 """ - type_: str = Field(default="Report", alias='@type') + type_: str = Field(default="Report", alias='@type', constant=True) reportNumber: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="The number or other unique designator assigned to a Report by the publishing organization.", diff --git a/pydantic_schemaorg/ReportageNewsArticle.py b/pydantic_schemaorg/ReportageNewsArticle.py index 561ddf4e..bce59584 100644 --- a/pydantic_schemaorg/ReportageNewsArticle.py +++ b/pydantic_schemaorg/ReportageNewsArticle.py @@ -23,5 +23,5 @@ class ReportageNewsArticle(NewsArticle): See: https://schema.org/ReportageNewsArticle Model depth: 5 """ - type_: str = Field(default="ReportageNewsArticle", alias='@type') + type_: str = Field(default="ReportageNewsArticle", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ReportedDoseSchedule.py b/pydantic_schemaorg/ReportedDoseSchedule.py index b5d49ab8..b84ea6de 100644 --- a/pydantic_schemaorg/ReportedDoseSchedule.py +++ b/pydantic_schemaorg/ReportedDoseSchedule.py @@ -11,5 +11,5 @@ class ReportedDoseSchedule(DoseSchedule): See: https://schema.org/ReportedDoseSchedule Model depth: 5 """ - type_: str = Field(default="ReportedDoseSchedule", alias='@type') + type_: str = Field(default="ReportedDoseSchedule", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ResearchOrganization.py b/pydantic_schemaorg/ResearchOrganization.py index f444aa1b..63ccfa03 100644 --- a/pydantic_schemaorg/ResearchOrganization.py +++ b/pydantic_schemaorg/ResearchOrganization.py @@ -11,5 +11,5 @@ class ResearchOrganization(Organization): See: https://schema.org/ResearchOrganization Model depth: 3 """ - type_: str = Field(default="ResearchOrganization", alias='@type') + type_: str = Field(default="ResearchOrganization", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ResearchProject.py b/pydantic_schemaorg/ResearchProject.py index 18e6980c..6c2631e7 100644 --- a/pydantic_schemaorg/ResearchProject.py +++ b/pydantic_schemaorg/ResearchProject.py @@ -11,5 +11,5 @@ class ResearchProject(Project): See: https://schema.org/ResearchProject Model depth: 4 """ - type_: str = Field(default="ResearchProject", alias='@type') + type_: str = Field(default="ResearchProject", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Researcher.py b/pydantic_schemaorg/Researcher.py index bc191f0a..eade1b10 100644 --- a/pydantic_schemaorg/Researcher.py +++ b/pydantic_schemaorg/Researcher.py @@ -11,5 +11,5 @@ class Researcher(Audience): See: https://schema.org/Researcher Model depth: 4 """ - type_: str = Field(default="Researcher", alias='@type') + type_: str = Field(default="Researcher", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Reservation.py b/pydantic_schemaorg/Reservation.py index d6bf2b20..08e896e9 100644 --- a/pydantic_schemaorg/Reservation.py +++ b/pydantic_schemaorg/Reservation.py @@ -19,7 +19,7 @@ class Reservation(Intangible): See: https://schema.org/Reservation Model depth: 3 """ - type_: str = Field(default="Reservation", alias='@type') + type_: str = Field(default="Reservation", alias='@type', constant=True) reservationId: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="A unique identifier for the reservation.", @@ -29,7 +29,7 @@ class Reservation(Intangible): description="Any membership in a frequent flyer, hotel loyalty program, etc. being applied to the" "reservation.", ) - underName: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + underName: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="The person or organization the reservation or ticket is for.", ) @@ -45,7 +45,7 @@ class Reservation(Intangible): "for cryptocurrencies e.g. \"BTC\"; well known names for [Local Exchange Tradings Systems](https://en.wikipedia.org/wiki/Local_exchange_trading_system)" "(LETS) and other currency types e.g. \"Ithaca HOUR\".", ) - totalPrice: Optional[Union[List[Union[Decimal, 'Number', str, 'Text', 'PriceSpecification']], Decimal, 'Number', str, 'Text', 'PriceSpecification']] = Field( + totalPrice: Optional[Union[List[Union[int, float, 'Number', str, 'Text', 'PriceSpecification']], int, float, 'Number', str, 'Text', 'PriceSpecification']] = Field( default=None, description="The total price for the reservation or ticket, including applicable taxes, shipping," "etc. Usage guidelines: * Use values from 0123456789 (Unicode 'DIGIT ZERO' (U+0030)" @@ -53,7 +53,7 @@ class Reservation(Intangible): "'.' (Unicode 'FULL STOP' (U+002E)) rather than ',' to indicate a decimal point. Avoid" "using these symbols as a readability separator.", ) - bookingAgent: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + bookingAgent: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="'bookingAgent' is an out-dated term indicating a 'broker' that serves as a booking agent.", ) @@ -61,7 +61,7 @@ class Reservation(Intangible): default=None, description="The current status of the reservation.", ) - provider: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + provider: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="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." @@ -75,7 +75,7 @@ class Reservation(Intangible): default=None, description="The thing -- flight, event, restaurant,etc. being reserved.", ) - broker: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + broker: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="An entity that arranges for an exchange between a buyer and a seller. In most cases a broker" "never acquires or releases ownership of a product or service involved in an exchange." @@ -91,8 +91,8 @@ class Reservation(Intangible): if TYPE_CHECKING: from pydantic_schemaorg.Text import Text from pydantic_schemaorg.ProgramMembership import ProgramMembership - from pydantic_schemaorg.Person import Person from pydantic_schemaorg.Organization import Organization + from pydantic_schemaorg.Person import Person from pydantic_schemaorg.DateTime import DateTime from pydantic_schemaorg.Number import Number from pydantic_schemaorg.PriceSpecification import PriceSpecification diff --git a/pydantic_schemaorg/ReservationCancelled.py b/pydantic_schemaorg/ReservationCancelled.py index 25df4d13..86cbf418 100644 --- a/pydantic_schemaorg/ReservationCancelled.py +++ b/pydantic_schemaorg/ReservationCancelled.py @@ -11,5 +11,5 @@ class ReservationCancelled(ReservationStatusType): See: https://schema.org/ReservationCancelled Model depth: 6 """ - type_: str = Field(default="ReservationCancelled", alias='@type') + type_: str = Field(default="ReservationCancelled", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ReservationConfirmed.py b/pydantic_schemaorg/ReservationConfirmed.py index 6738d090..731c506a 100644 --- a/pydantic_schemaorg/ReservationConfirmed.py +++ b/pydantic_schemaorg/ReservationConfirmed.py @@ -11,5 +11,5 @@ class ReservationConfirmed(ReservationStatusType): See: https://schema.org/ReservationConfirmed Model depth: 6 """ - type_: str = Field(default="ReservationConfirmed", alias='@type') + type_: str = Field(default="ReservationConfirmed", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ReservationHold.py b/pydantic_schemaorg/ReservationHold.py index 8b7b4b3f..bf26cc00 100644 --- a/pydantic_schemaorg/ReservationHold.py +++ b/pydantic_schemaorg/ReservationHold.py @@ -12,5 +12,5 @@ class ReservationHold(ReservationStatusType): See: https://schema.org/ReservationHold Model depth: 6 """ - type_: str = Field(default="ReservationHold", alias='@type') + type_: str = Field(default="ReservationHold", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ReservationPackage.py b/pydantic_schemaorg/ReservationPackage.py index 131e92bb..a66c8cb0 100644 --- a/pydantic_schemaorg/ReservationPackage.py +++ b/pydantic_schemaorg/ReservationPackage.py @@ -14,7 +14,7 @@ class ReservationPackage(Reservation): See: https://schema.org/ReservationPackage Model depth: 4 """ - type_: str = Field(default="ReservationPackage", alias='@type') + type_: str = Field(default="ReservationPackage", alias='@type', constant=True) subReservation: Optional[Union[List[Union['Reservation', str]], 'Reservation', str]] = Field( default=None, description="The individual reservations included in the package. Typically a repeated property.", diff --git a/pydantic_schemaorg/ReservationPending.py b/pydantic_schemaorg/ReservationPending.py index 7422c454..01c5e574 100644 --- a/pydantic_schemaorg/ReservationPending.py +++ b/pydantic_schemaorg/ReservationPending.py @@ -11,5 +11,5 @@ class ReservationPending(ReservationStatusType): See: https://schema.org/ReservationPending Model depth: 6 """ - type_: str = Field(default="ReservationPending", alias='@type') + type_: str = Field(default="ReservationPending", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ReservationStatusType.py b/pydantic_schemaorg/ReservationStatusType.py index 97231495..5995cb40 100644 --- a/pydantic_schemaorg/ReservationStatusType.py +++ b/pydantic_schemaorg/ReservationStatusType.py @@ -11,5 +11,5 @@ class ReservationStatusType(StatusEnumeration): See: https://schema.org/ReservationStatusType Model depth: 5 """ - type_: str = Field(default="ReservationStatusType", alias='@type') + type_: str = Field(default="ReservationStatusType", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ReserveAction.py b/pydantic_schemaorg/ReserveAction.py index 4d1d1b03..8e03572e 100644 --- a/pydantic_schemaorg/ReserveAction.py +++ b/pydantic_schemaorg/ReserveAction.py @@ -13,5 +13,5 @@ class ReserveAction(PlanAction): See: https://schema.org/ReserveAction Model depth: 5 """ - type_: str = Field(default="ReserveAction", alias='@type') + type_: str = Field(default="ReserveAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Reservoir.py b/pydantic_schemaorg/Reservoir.py index aca39908..85a6088b 100644 --- a/pydantic_schemaorg/Reservoir.py +++ b/pydantic_schemaorg/Reservoir.py @@ -11,5 +11,5 @@ class Reservoir(BodyOfWater): See: https://schema.org/Reservoir Model depth: 5 """ - type_: str = Field(default="Reservoir", alias='@type') + type_: str = Field(default="Reservoir", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Residence.py b/pydantic_schemaorg/Residence.py index f102c407..10f1d550 100644 --- a/pydantic_schemaorg/Residence.py +++ b/pydantic_schemaorg/Residence.py @@ -14,7 +14,7 @@ class Residence(Place): See: https://schema.org/Residence Model depth: 3 """ - type_: str = Field(default="Residence", alias='@type') + type_: str = Field(default="Residence", alias='@type', constant=True) accommodationFloorPlan: Optional[Union[List[Union['FloorPlan', str]], 'FloorPlan', str]] = Field( default=None, description="A floorplan of some [[Accommodation]].", diff --git a/pydantic_schemaorg/Resort.py b/pydantic_schemaorg/Resort.py index 2f92f4fe..1b5fc9cd 100644 --- a/pydantic_schemaorg/Resort.py +++ b/pydantic_schemaorg/Resort.py @@ -15,5 +15,5 @@ class Resort(LodgingBusiness): See: https://schema.org/Resort Model depth: 5 """ - type_: str = Field(default="Resort", alias='@type') + type_: str = Field(default="Resort", alias='@type', constant=True) diff --git a/pydantic_schemaorg/RespiratoryTherapy.py b/pydantic_schemaorg/RespiratoryTherapy.py index 2976b188..b9b8cf94 100644 --- a/pydantic_schemaorg/RespiratoryTherapy.py +++ b/pydantic_schemaorg/RespiratoryTherapy.py @@ -2,16 +2,16 @@ from pydantic import Field -from pydantic_schemaorg.MedicalSpecialty import MedicalSpecialty from pydantic_schemaorg.MedicalTherapy import MedicalTherapy +from pydantic_schemaorg.MedicalSpecialty import MedicalSpecialty -class RespiratoryTherapy(MedicalSpecialty, MedicalTherapy): +class RespiratoryTherapy(MedicalTherapy, MedicalSpecialty): """The therapy that is concerned with the maintenance or improvement of respiratory function" "(as in patients with pulmonary disease). See: https://schema.org/RespiratoryTherapy Model depth: 6 """ - type_: str = Field(default="RespiratoryTherapy", alias='@type') + type_: str = Field(default="RespiratoryTherapy", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Restaurant.py b/pydantic_schemaorg/Restaurant.py index b7ce832b..04b9be56 100644 --- a/pydantic_schemaorg/Restaurant.py +++ b/pydantic_schemaorg/Restaurant.py @@ -11,5 +11,5 @@ class Restaurant(FoodEstablishment): See: https://schema.org/Restaurant Model depth: 5 """ - type_: str = Field(default="Restaurant", alias='@type') + type_: str = Field(default="Restaurant", alias='@type', constant=True) diff --git a/pydantic_schemaorg/RestockingFees.py b/pydantic_schemaorg/RestockingFees.py index 893e9909..43b2c8c2 100644 --- a/pydantic_schemaorg/RestockingFees.py +++ b/pydantic_schemaorg/RestockingFees.py @@ -11,5 +11,5 @@ class RestockingFees(ReturnFeesEnumeration): See: https://schema.org/RestockingFees Model depth: 5 """ - type_: str = Field(default="RestockingFees", alias='@type') + type_: str = Field(default="RestockingFees", alias='@type', constant=True) diff --git a/pydantic_schemaorg/RestrictedDiet.py b/pydantic_schemaorg/RestrictedDiet.py index f555cb6f..258b5bfb 100644 --- a/pydantic_schemaorg/RestrictedDiet.py +++ b/pydantic_schemaorg/RestrictedDiet.py @@ -12,5 +12,5 @@ class RestrictedDiet(Enumeration): See: https://schema.org/RestrictedDiet Model depth: 4 """ - type_: str = Field(default="RestrictedDiet", alias='@type') + type_: str = Field(default="RestrictedDiet", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ResultsAvailable.py b/pydantic_schemaorg/ResultsAvailable.py index 04b4bb40..b1879835 100644 --- a/pydantic_schemaorg/ResultsAvailable.py +++ b/pydantic_schemaorg/ResultsAvailable.py @@ -11,5 +11,5 @@ class ResultsAvailable(MedicalStudyStatus): See: https://schema.org/ResultsAvailable Model depth: 6 """ - type_: str = Field(default="ResultsAvailable", alias='@type') + type_: str = Field(default="ResultsAvailable", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ResultsNotAvailable.py b/pydantic_schemaorg/ResultsNotAvailable.py index 84a59223..9201b59f 100644 --- a/pydantic_schemaorg/ResultsNotAvailable.py +++ b/pydantic_schemaorg/ResultsNotAvailable.py @@ -11,5 +11,5 @@ class ResultsNotAvailable(MedicalStudyStatus): See: https://schema.org/ResultsNotAvailable Model depth: 6 """ - type_: str = Field(default="ResultsNotAvailable", alias='@type') + type_: str = Field(default="ResultsNotAvailable", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ResumeAction.py b/pydantic_schemaorg/ResumeAction.py index a7053c7f..33919810 100644 --- a/pydantic_schemaorg/ResumeAction.py +++ b/pydantic_schemaorg/ResumeAction.py @@ -12,5 +12,5 @@ class ResumeAction(ControlAction): See: https://schema.org/ResumeAction Model depth: 4 """ - type_: str = Field(default="ResumeAction", alias='@type') + type_: str = Field(default="ResumeAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Retail.py b/pydantic_schemaorg/Retail.py index 1dadf095..69d9cfbd 100644 --- a/pydantic_schemaorg/Retail.py +++ b/pydantic_schemaorg/Retail.py @@ -11,5 +11,5 @@ class Retail(DrugCostCategory): See: https://schema.org/Retail Model depth: 6 """ - type_: str = Field(default="Retail", alias='@type') + type_: str = Field(default="Retail", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ReturnAction.py b/pydantic_schemaorg/ReturnAction.py index eba6baa0..6e3b5ed3 100644 --- a/pydantic_schemaorg/ReturnAction.py +++ b/pydantic_schemaorg/ReturnAction.py @@ -15,15 +15,15 @@ class ReturnAction(TransferAction): See: https://schema.org/ReturnAction Model depth: 4 """ - type_: str = Field(default="ReturnAction", alias='@type') - recipient: Optional[Union[List[Union['Person', 'Audience', 'Organization', 'ContactPoint', str]], 'Person', 'Audience', 'Organization', 'ContactPoint', str]] = Field( + type_: str = Field(default="ReturnAction", alias='@type', constant=True) + recipient: Optional[Union[List[Union['ContactPoint', 'Audience', 'Organization', 'Person', str]], 'ContactPoint', 'Audience', 'Organization', 'Person', str]] = Field( default=None, description="A sub property of participant. The participant who is at the receiving end of the action.", ) if TYPE_CHECKING: - from pydantic_schemaorg.Person import Person + from pydantic_schemaorg.ContactPoint import ContactPoint from pydantic_schemaorg.Audience import Audience from pydantic_schemaorg.Organization import Organization - from pydantic_schemaorg.ContactPoint import ContactPoint + from pydantic_schemaorg.Person import Person diff --git a/pydantic_schemaorg/ReturnAtKiosk.py b/pydantic_schemaorg/ReturnAtKiosk.py index d23aa1ab..3a1f0594 100644 --- a/pydantic_schemaorg/ReturnAtKiosk.py +++ b/pydantic_schemaorg/ReturnAtKiosk.py @@ -11,5 +11,5 @@ class ReturnAtKiosk(ReturnMethodEnumeration): See: https://schema.org/ReturnAtKiosk Model depth: 5 """ - type_: str = Field(default="ReturnAtKiosk", alias='@type') + type_: str = Field(default="ReturnAtKiosk", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ReturnByMail.py b/pydantic_schemaorg/ReturnByMail.py index f33dfad2..b13c331f 100644 --- a/pydantic_schemaorg/ReturnByMail.py +++ b/pydantic_schemaorg/ReturnByMail.py @@ -11,5 +11,5 @@ class ReturnByMail(ReturnMethodEnumeration): See: https://schema.org/ReturnByMail Model depth: 5 """ - type_: str = Field(default="ReturnByMail", alias='@type') + type_: str = Field(default="ReturnByMail", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ReturnFeesCustomerResponsibility.py b/pydantic_schemaorg/ReturnFeesCustomerResponsibility.py index 67d6e388..d4213482 100644 --- a/pydantic_schemaorg/ReturnFeesCustomerResponsibility.py +++ b/pydantic_schemaorg/ReturnFeesCustomerResponsibility.py @@ -11,5 +11,5 @@ class ReturnFeesCustomerResponsibility(ReturnFeesEnumeration): See: https://schema.org/ReturnFeesCustomerResponsibility Model depth: 5 """ - type_: str = Field(default="ReturnFeesCustomerResponsibility", alias='@type') + type_: str = Field(default="ReturnFeesCustomerResponsibility", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ReturnFeesEnumeration.py b/pydantic_schemaorg/ReturnFeesEnumeration.py index aa20b5df..18678f93 100644 --- a/pydantic_schemaorg/ReturnFeesEnumeration.py +++ b/pydantic_schemaorg/ReturnFeesEnumeration.py @@ -11,5 +11,5 @@ class ReturnFeesEnumeration(Enumeration): See: https://schema.org/ReturnFeesEnumeration Model depth: 4 """ - type_: str = Field(default="ReturnFeesEnumeration", alias='@type') + type_: str = Field(default="ReturnFeesEnumeration", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ReturnInStore.py b/pydantic_schemaorg/ReturnInStore.py index f134c445..ce615bdd 100644 --- a/pydantic_schemaorg/ReturnInStore.py +++ b/pydantic_schemaorg/ReturnInStore.py @@ -11,5 +11,5 @@ class ReturnInStore(ReturnMethodEnumeration): See: https://schema.org/ReturnInStore Model depth: 5 """ - type_: str = Field(default="ReturnInStore", alias='@type') + type_: str = Field(default="ReturnInStore", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ReturnLabelCustomerResponsibility.py b/pydantic_schemaorg/ReturnLabelCustomerResponsibility.py index 7d1bd28e..3780022d 100644 --- a/pydantic_schemaorg/ReturnLabelCustomerResponsibility.py +++ b/pydantic_schemaorg/ReturnLabelCustomerResponsibility.py @@ -11,5 +11,5 @@ class ReturnLabelCustomerResponsibility(ReturnLabelSourceEnumeration): See: https://schema.org/ReturnLabelCustomerResponsibility Model depth: 5 """ - type_: str = Field(default="ReturnLabelCustomerResponsibility", alias='@type') + type_: str = Field(default="ReturnLabelCustomerResponsibility", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ReturnLabelDownloadAndPrint.py b/pydantic_schemaorg/ReturnLabelDownloadAndPrint.py index 1c3b3290..d4799fce 100644 --- a/pydantic_schemaorg/ReturnLabelDownloadAndPrint.py +++ b/pydantic_schemaorg/ReturnLabelDownloadAndPrint.py @@ -11,5 +11,5 @@ class ReturnLabelDownloadAndPrint(ReturnLabelSourceEnumeration): See: https://schema.org/ReturnLabelDownloadAndPrint Model depth: 5 """ - type_: str = Field(default="ReturnLabelDownloadAndPrint", alias='@type') + type_: str = Field(default="ReturnLabelDownloadAndPrint", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ReturnLabelInBox.py b/pydantic_schemaorg/ReturnLabelInBox.py index 4cf8c3f8..3b63f46c 100644 --- a/pydantic_schemaorg/ReturnLabelInBox.py +++ b/pydantic_schemaorg/ReturnLabelInBox.py @@ -11,5 +11,5 @@ class ReturnLabelInBox(ReturnLabelSourceEnumeration): See: https://schema.org/ReturnLabelInBox Model depth: 5 """ - type_: str = Field(default="ReturnLabelInBox", alias='@type') + type_: str = Field(default="ReturnLabelInBox", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ReturnLabelSourceEnumeration.py b/pydantic_schemaorg/ReturnLabelSourceEnumeration.py index 870dedfe..0fc3a5a7 100644 --- a/pydantic_schemaorg/ReturnLabelSourceEnumeration.py +++ b/pydantic_schemaorg/ReturnLabelSourceEnumeration.py @@ -11,5 +11,5 @@ class ReturnLabelSourceEnumeration(Enumeration): See: https://schema.org/ReturnLabelSourceEnumeration Model depth: 4 """ - type_: str = Field(default="ReturnLabelSourceEnumeration", alias='@type') + type_: str = Field(default="ReturnLabelSourceEnumeration", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ReturnMethodEnumeration.py b/pydantic_schemaorg/ReturnMethodEnumeration.py index 204d9f55..4a2dcd1c 100644 --- a/pydantic_schemaorg/ReturnMethodEnumeration.py +++ b/pydantic_schemaorg/ReturnMethodEnumeration.py @@ -11,5 +11,5 @@ class ReturnMethodEnumeration(Enumeration): See: https://schema.org/ReturnMethodEnumeration Model depth: 4 """ - type_: str = Field(default="ReturnMethodEnumeration", alias='@type') + type_: str = Field(default="ReturnMethodEnumeration", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ReturnShippingFees.py b/pydantic_schemaorg/ReturnShippingFees.py index 315936bb..552516ba 100644 --- a/pydantic_schemaorg/ReturnShippingFees.py +++ b/pydantic_schemaorg/ReturnShippingFees.py @@ -11,5 +11,5 @@ class ReturnShippingFees(ReturnFeesEnumeration): See: https://schema.org/ReturnShippingFees Model depth: 5 """ - type_: str = Field(default="ReturnShippingFees", alias='@type') + type_: str = Field(default="ReturnShippingFees", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Review.py b/pydantic_schemaorg/Review.py index 20e0a5be..822edd3e 100644 --- a/pydantic_schemaorg/Review.py +++ b/pydantic_schemaorg/Review.py @@ -14,7 +14,7 @@ class Review(CreativeWork): See: https://schema.org/Review Model depth: 3 """ - type_: str = Field(default="Review", alias='@type') + type_: str = Field(default="Review", alias='@type', constant=True) associatedMediaReview: Optional[Union[List[Union['Review', str]], 'Review', str]] = Field( default=None, description="An associated [[MediaReview]], related by specific common content, topic or claim." @@ -23,7 +23,7 @@ class Review(CreativeWork): "would commonly be used on a [[ClaimReview]], while [[relatedClaimReview]] would be" "used on [[MediaReview]].", ) - positiveNotes: Optional[Union[List[Union[str, 'Text', 'ItemList', 'WebContent', 'ListItem']], str, 'Text', 'ItemList', 'WebContent', 'ListItem']] = Field( + positiveNotes: Optional[Union[List[Union[str, 'Text', 'ListItem', 'WebContent', 'ItemList']], str, 'Text', 'ListItem', 'WebContent', 'ItemList']] = Field( default=None, description="Indicates, in the context of a [[Review]] (e.g. framed as 'pro' vs 'con' considerations)," "positive considerations - either as unstructured text, or a list.", @@ -67,8 +67,8 @@ class Review(CreativeWork): if TYPE_CHECKING: from pydantic_schemaorg.Text import Text - from pydantic_schemaorg.ItemList import ItemList - from pydantic_schemaorg.WebContent import WebContent from pydantic_schemaorg.ListItem import ListItem + from pydantic_schemaorg.WebContent import WebContent + from pydantic_schemaorg.ItemList import ItemList from pydantic_schemaorg.Rating import Rating from pydantic_schemaorg.Thing import Thing diff --git a/pydantic_schemaorg/ReviewAction.py b/pydantic_schemaorg/ReviewAction.py index 85cf53fe..391ab1d0 100644 --- a/pydantic_schemaorg/ReviewAction.py +++ b/pydantic_schemaorg/ReviewAction.py @@ -15,7 +15,7 @@ class ReviewAction(AssessAction): See: https://schema.org/ReviewAction Model depth: 4 """ - type_: str = Field(default="ReviewAction", alias='@type') + type_: str = Field(default="ReviewAction", alias='@type', constant=True) resultReview: Optional[Union[List[Union['Review', str]], 'Review', str]] = Field( default=None, description="A sub property of result. The review that resulted in the performing of the action.", diff --git a/pydantic_schemaorg/ReviewNewsArticle.py b/pydantic_schemaorg/ReviewNewsArticle.py index b81df6ad..b0e806d0 100644 --- a/pydantic_schemaorg/ReviewNewsArticle.py +++ b/pydantic_schemaorg/ReviewNewsArticle.py @@ -13,5 +13,5 @@ class ReviewNewsArticle(NewsArticle, CriticReview): See: https://schema.org/ReviewNewsArticle Model depth: 5 """ - type_: str = Field(default="ReviewNewsArticle", alias='@type') + type_: str = Field(default="ReviewNewsArticle", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Rheumatologic.py b/pydantic_schemaorg/Rheumatologic.py index 453daba4..1fe8811e 100644 --- a/pydantic_schemaorg/Rheumatologic.py +++ b/pydantic_schemaorg/Rheumatologic.py @@ -12,5 +12,5 @@ class Rheumatologic(MedicalSpecialty): See: https://schema.org/Rheumatologic Model depth: 6 """ - type_: str = Field(default="Rheumatologic", alias='@type') + type_: str = Field(default="Rheumatologic", alias='@type', constant=True) diff --git a/pydantic_schemaorg/RightHandDriving.py b/pydantic_schemaorg/RightHandDriving.py index e67bc754..f04ced69 100644 --- a/pydantic_schemaorg/RightHandDriving.py +++ b/pydantic_schemaorg/RightHandDriving.py @@ -12,5 +12,5 @@ class RightHandDriving(SteeringPositionValue): See: https://schema.org/RightHandDriving Model depth: 6 """ - type_: str = Field(default="RightHandDriving", alias='@type') + type_: str = Field(default="RightHandDriving", alias='@type', constant=True) diff --git a/pydantic_schemaorg/RisksOrComplicationsHealthAspect.py b/pydantic_schemaorg/RisksOrComplicationsHealthAspect.py index 88fad34d..e6f373cc 100644 --- a/pydantic_schemaorg/RisksOrComplicationsHealthAspect.py +++ b/pydantic_schemaorg/RisksOrComplicationsHealthAspect.py @@ -11,5 +11,5 @@ class RisksOrComplicationsHealthAspect(HealthAspectEnumeration): See: https://schema.org/RisksOrComplicationsHealthAspect Model depth: 5 """ - type_: str = Field(default="RisksOrComplicationsHealthAspect", alias='@type') + type_: str = Field(default="RisksOrComplicationsHealthAspect", alias='@type', constant=True) diff --git a/pydantic_schemaorg/RiverBodyOfWater.py b/pydantic_schemaorg/RiverBodyOfWater.py index d1b8d79c..7323a1ae 100644 --- a/pydantic_schemaorg/RiverBodyOfWater.py +++ b/pydantic_schemaorg/RiverBodyOfWater.py @@ -11,5 +11,5 @@ class RiverBodyOfWater(BodyOfWater): See: https://schema.org/RiverBodyOfWater Model depth: 5 """ - type_: str = Field(default="RiverBodyOfWater", alias='@type') + type_: str = Field(default="RiverBodyOfWater", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Role.py b/pydantic_schemaorg/Role.py index e607a211..1564bcf7 100644 --- a/pydantic_schemaorg/Role.py +++ b/pydantic_schemaorg/Role.py @@ -21,7 +21,7 @@ class Role(Intangible): See: https://schema.org/Role Model depth: 3 """ - type_: str = Field(default="Role", alias='@type') + type_: str = Field(default="Role", alias='@type', constant=True) roleName: Optional[Union[List[Union[AnyUrl, 'URL', str, 'Text']], AnyUrl, 'URL', str, 'Text']] = Field( default=None, description="A role played, performed or filled by a person or organization. For example, the team" diff --git a/pydantic_schemaorg/RoofingContractor.py b/pydantic_schemaorg/RoofingContractor.py index 890feeff..25fd26b7 100644 --- a/pydantic_schemaorg/RoofingContractor.py +++ b/pydantic_schemaorg/RoofingContractor.py @@ -11,5 +11,5 @@ class RoofingContractor(HomeAndConstructionBusiness): See: https://schema.org/RoofingContractor Model depth: 5 """ - type_: str = Field(default="RoofingContractor", alias='@type') + type_: str = Field(default="RoofingContractor", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Room.py b/pydantic_schemaorg/Room.py index 352f16b4..90dcfc7a 100644 --- a/pydantic_schemaorg/Room.py +++ b/pydantic_schemaorg/Room.py @@ -14,5 +14,5 @@ class Room(Accommodation): See: https://schema.org/Room Model depth: 4 """ - type_: str = Field(default="Room", alias='@type') + type_: str = Field(default="Room", alias='@type', constant=True) diff --git a/pydantic_schemaorg/RsvpAction.py b/pydantic_schemaorg/RsvpAction.py index a48fb325..46a796d8 100644 --- a/pydantic_schemaorg/RsvpAction.py +++ b/pydantic_schemaorg/RsvpAction.py @@ -15,8 +15,8 @@ class RsvpAction(InformAction): See: https://schema.org/RsvpAction Model depth: 6 """ - type_: str = Field(default="RsvpAction", alias='@type') - additionalNumberOfGuests: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( + type_: str = Field(default="RsvpAction", alias='@type', constant=True) + additionalNumberOfGuests: Optional[Union[List[Union[int, float, 'Number', str]], int, float, 'Number', str]] = Field( default=None, description="If responding yes, the number of guests who will attend in addition to the invitee.", ) diff --git a/pydantic_schemaorg/RsvpResponseMaybe.py b/pydantic_schemaorg/RsvpResponseMaybe.py index d18c2d34..82a5b818 100644 --- a/pydantic_schemaorg/RsvpResponseMaybe.py +++ b/pydantic_schemaorg/RsvpResponseMaybe.py @@ -11,5 +11,5 @@ class RsvpResponseMaybe(RsvpResponseType): See: https://schema.org/RsvpResponseMaybe Model depth: 5 """ - type_: str = Field(default="RsvpResponseMaybe", alias='@type') + type_: str = Field(default="RsvpResponseMaybe", alias='@type', constant=True) diff --git a/pydantic_schemaorg/RsvpResponseNo.py b/pydantic_schemaorg/RsvpResponseNo.py index 426c3ebb..86d75705 100644 --- a/pydantic_schemaorg/RsvpResponseNo.py +++ b/pydantic_schemaorg/RsvpResponseNo.py @@ -11,5 +11,5 @@ class RsvpResponseNo(RsvpResponseType): See: https://schema.org/RsvpResponseNo Model depth: 5 """ - type_: str = Field(default="RsvpResponseNo", alias='@type') + type_: str = Field(default="RsvpResponseNo", alias='@type', constant=True) diff --git a/pydantic_schemaorg/RsvpResponseType.py b/pydantic_schemaorg/RsvpResponseType.py index 7dbe60a1..219335e5 100644 --- a/pydantic_schemaorg/RsvpResponseType.py +++ b/pydantic_schemaorg/RsvpResponseType.py @@ -12,5 +12,5 @@ class RsvpResponseType(Enumeration): See: https://schema.org/RsvpResponseType Model depth: 4 """ - type_: str = Field(default="RsvpResponseType", alias='@type') + type_: str = Field(default="RsvpResponseType", alias='@type', constant=True) diff --git a/pydantic_schemaorg/RsvpResponseYes.py b/pydantic_schemaorg/RsvpResponseYes.py index 0ebd89fc..92e0a53c 100644 --- a/pydantic_schemaorg/RsvpResponseYes.py +++ b/pydantic_schemaorg/RsvpResponseYes.py @@ -11,5 +11,5 @@ class RsvpResponseYes(RsvpResponseType): See: https://schema.org/RsvpResponseYes Model depth: 5 """ - type_: str = Field(default="RsvpResponseYes", alias='@type') + type_: str = Field(default="RsvpResponseYes", alias='@type', constant=True) diff --git a/pydantic_schemaorg/SRP.py b/pydantic_schemaorg/SRP.py index f4800004..5072de2c 100644 --- a/pydantic_schemaorg/SRP.py +++ b/pydantic_schemaorg/SRP.py @@ -11,5 +11,5 @@ class SRP(PriceTypeEnumeration): See: https://schema.org/SRP Model depth: 5 """ - type_: str = Field(default="SRP", alias='@type') + type_: str = Field(default="SRP", alias='@type', constant=True) diff --git a/pydantic_schemaorg/SafetyHealthAspect.py b/pydantic_schemaorg/SafetyHealthAspect.py index f9458968..1e104aad 100644 --- a/pydantic_schemaorg/SafetyHealthAspect.py +++ b/pydantic_schemaorg/SafetyHealthAspect.py @@ -11,5 +11,5 @@ class SafetyHealthAspect(HealthAspectEnumeration): See: https://schema.org/SafetyHealthAspect Model depth: 5 """ - type_: str = Field(default="SafetyHealthAspect", alias='@type') + type_: str = Field(default="SafetyHealthAspect", alias='@type', constant=True) diff --git a/pydantic_schemaorg/SaleEvent.py b/pydantic_schemaorg/SaleEvent.py index ab03719b..baf88c1d 100644 --- a/pydantic_schemaorg/SaleEvent.py +++ b/pydantic_schemaorg/SaleEvent.py @@ -11,5 +11,5 @@ class SaleEvent(Event): See: https://schema.org/SaleEvent Model depth: 3 """ - type_: str = Field(default="SaleEvent", alias='@type') + type_: str = Field(default="SaleEvent", alias='@type', constant=True) diff --git a/pydantic_schemaorg/SalePrice.py b/pydantic_schemaorg/SalePrice.py index 22661ee8..7d4dbf24 100644 --- a/pydantic_schemaorg/SalePrice.py +++ b/pydantic_schemaorg/SalePrice.py @@ -11,5 +11,5 @@ class SalePrice(PriceTypeEnumeration): See: https://schema.org/SalePrice Model depth: 5 """ - type_: str = Field(default="SalePrice", alias='@type') + type_: str = Field(default="SalePrice", alias='@type', constant=True) diff --git a/pydantic_schemaorg/SatireOrParodyContent.py b/pydantic_schemaorg/SatireOrParodyContent.py index cff1b7ba..a17c1928 100644 --- a/pydantic_schemaorg/SatireOrParodyContent.py +++ b/pydantic_schemaorg/SatireOrParodyContent.py @@ -25,5 +25,5 @@ class SatireOrParodyContent(MediaManipulationRatingEnumeration): See: https://schema.org/SatireOrParodyContent Model depth: 5 """ - type_: str = Field(default="SatireOrParodyContent", alias='@type') + type_: str = Field(default="SatireOrParodyContent", alias='@type', constant=True) diff --git a/pydantic_schemaorg/SatiricalArticle.py b/pydantic_schemaorg/SatiricalArticle.py index 4263b10b..84e3041e 100644 --- a/pydantic_schemaorg/SatiricalArticle.py +++ b/pydantic_schemaorg/SatiricalArticle.py @@ -13,5 +13,5 @@ class SatiricalArticle(Article): See: https://schema.org/SatiricalArticle Model depth: 4 """ - type_: str = Field(default="SatiricalArticle", alias='@type') + type_: str = Field(default="SatiricalArticle", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Saturday.py b/pydantic_schemaorg/Saturday.py index d9f25133..2bbe9961 100644 --- a/pydantic_schemaorg/Saturday.py +++ b/pydantic_schemaorg/Saturday.py @@ -11,5 +11,5 @@ class Saturday(DayOfWeek): See: https://schema.org/Saturday Model depth: 5 """ - type_: str = Field(default="Saturday", alias='@type') + type_: str = Field(default="Saturday", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Schedule.py b/pydantic_schemaorg/Schedule.py index 105d6900..5a9e2089 100644 --- a/pydantic_schemaorg/Schedule.py +++ b/pydantic_schemaorg/Schedule.py @@ -22,7 +22,7 @@ class Schedule(Intangible): See: https://schema.org/Schedule Model depth: 3 """ - type_: str = Field(default="Schedule", alias='@type') + type_: str = Field(default="Schedule", alias='@type', constant=True) exceptDate: Optional[Union[List[Union[ISO8601Date, 'DateTime', ISO8601Date, 'Date', str]], ISO8601Date, 'DateTime', ISO8601Date, 'Date', str]] = Field( default=None, description="Defines a [[Date]] or [[DateTime]] during which a scheduled [[Event]] will not take" diff --git a/pydantic_schemaorg/ScheduleAction.py b/pydantic_schemaorg/ScheduleAction.py index cf550508..6a716b82 100644 --- a/pydantic_schemaorg/ScheduleAction.py +++ b/pydantic_schemaorg/ScheduleAction.py @@ -13,5 +13,5 @@ class ScheduleAction(PlanAction): See: https://schema.org/ScheduleAction Model depth: 5 """ - type_: str = Field(default="ScheduleAction", alias='@type') + type_: str = Field(default="ScheduleAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ScholarlyArticle.py b/pydantic_schemaorg/ScholarlyArticle.py index 1eeee967..5ca3d8c7 100644 --- a/pydantic_schemaorg/ScholarlyArticle.py +++ b/pydantic_schemaorg/ScholarlyArticle.py @@ -11,5 +11,5 @@ class ScholarlyArticle(Article): See: https://schema.org/ScholarlyArticle Model depth: 4 """ - type_: str = Field(default="ScholarlyArticle", alias='@type') + type_: str = Field(default="ScholarlyArticle", alias='@type', constant=True) diff --git a/pydantic_schemaorg/School.py b/pydantic_schemaorg/School.py index e084a02a..eafb56d3 100644 --- a/pydantic_schemaorg/School.py +++ b/pydantic_schemaorg/School.py @@ -11,5 +11,5 @@ class School(EducationalOrganization): See: https://schema.org/School Model depth: 4 """ - type_: str = Field(default="School", alias='@type') + type_: str = Field(default="School", alias='@type', constant=True) diff --git a/pydantic_schemaorg/SchoolDistrict.py b/pydantic_schemaorg/SchoolDistrict.py index bf1c8faa..59602e9f 100644 --- a/pydantic_schemaorg/SchoolDistrict.py +++ b/pydantic_schemaorg/SchoolDistrict.py @@ -11,5 +11,5 @@ class SchoolDistrict(AdministrativeArea): See: https://schema.org/SchoolDistrict Model depth: 4 """ - type_: str = Field(default="SchoolDistrict", alias='@type') + type_: str = Field(default="SchoolDistrict", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ScreeningEvent.py b/pydantic_schemaorg/ScreeningEvent.py index d8400d6b..ebfaea01 100644 --- a/pydantic_schemaorg/ScreeningEvent.py +++ b/pydantic_schemaorg/ScreeningEvent.py @@ -14,7 +14,7 @@ class ScreeningEvent(Event): See: https://schema.org/ScreeningEvent Model depth: 3 """ - type_: str = Field(default="ScreeningEvent", alias='@type') + type_: str = Field(default="ScreeningEvent", alias='@type', constant=True) workPresented: Optional[Union[List[Union['Movie', str]], 'Movie', str]] = Field( default=None, description="The movie presented during this event.", diff --git a/pydantic_schemaorg/ScreeningHealthAspect.py b/pydantic_schemaorg/ScreeningHealthAspect.py index d5aed96f..e845a780 100644 --- a/pydantic_schemaorg/ScreeningHealthAspect.py +++ b/pydantic_schemaorg/ScreeningHealthAspect.py @@ -11,5 +11,5 @@ class ScreeningHealthAspect(HealthAspectEnumeration): See: https://schema.org/ScreeningHealthAspect Model depth: 5 """ - type_: str = Field(default="ScreeningHealthAspect", alias='@type') + type_: str = Field(default="ScreeningHealthAspect", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Sculpture.py b/pydantic_schemaorg/Sculpture.py index b0acbed5..ff560469 100644 --- a/pydantic_schemaorg/Sculpture.py +++ b/pydantic_schemaorg/Sculpture.py @@ -11,5 +11,5 @@ class Sculpture(CreativeWork): See: https://schema.org/Sculpture Model depth: 3 """ - type_: str = Field(default="Sculpture", alias='@type') + type_: str = Field(default="Sculpture", alias='@type', constant=True) diff --git a/pydantic_schemaorg/SeaBodyOfWater.py b/pydantic_schemaorg/SeaBodyOfWater.py index c097d933..89dc464c 100644 --- a/pydantic_schemaorg/SeaBodyOfWater.py +++ b/pydantic_schemaorg/SeaBodyOfWater.py @@ -11,5 +11,5 @@ class SeaBodyOfWater(BodyOfWater): See: https://schema.org/SeaBodyOfWater Model depth: 5 """ - type_: str = Field(default="SeaBodyOfWater", alias='@type') + type_: str = Field(default="SeaBodyOfWater", alias='@type', constant=True) diff --git a/pydantic_schemaorg/SearchAction.py b/pydantic_schemaorg/SearchAction.py index df703358..cb0e1fce 100644 --- a/pydantic_schemaorg/SearchAction.py +++ b/pydantic_schemaorg/SearchAction.py @@ -15,7 +15,7 @@ class SearchAction(Action): See: https://schema.org/SearchAction Model depth: 3 """ - type_: str = Field(default="SearchAction", alias='@type') + type_: str = Field(default="SearchAction", alias='@type', constant=True) query: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="A sub property of instrument. The query used on this action.", diff --git a/pydantic_schemaorg/SearchResultsPage.py b/pydantic_schemaorg/SearchResultsPage.py index fff861ef..32e0d6c7 100644 --- a/pydantic_schemaorg/SearchResultsPage.py +++ b/pydantic_schemaorg/SearchResultsPage.py @@ -11,5 +11,5 @@ class SearchResultsPage(WebPage): See: https://schema.org/SearchResultsPage Model depth: 4 """ - type_: str = Field(default="SearchResultsPage", alias='@type') + type_: str = Field(default="SearchResultsPage", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Season.py b/pydantic_schemaorg/Season.py index e044170f..47f8b2c3 100644 --- a/pydantic_schemaorg/Season.py +++ b/pydantic_schemaorg/Season.py @@ -11,5 +11,5 @@ class Season(CreativeWork): See: https://schema.org/Season Model depth: 3 """ - type_: str = Field(default="Season", alias='@type') + type_: str = Field(default="Season", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Seat.py b/pydantic_schemaorg/Seat.py index 3b633e26..2d2d2214 100644 --- a/pydantic_schemaorg/Seat.py +++ b/pydantic_schemaorg/Seat.py @@ -14,7 +14,7 @@ class Seat(Intangible): See: https://schema.org/Seat Model depth: 3 """ - type_: str = Field(default="Seat", alias='@type') + type_: str = Field(default="Seat", alias='@type', constant=True) seatNumber: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="The location of the reserved seat (e.g., 27).", diff --git a/pydantic_schemaorg/SeatingMap.py b/pydantic_schemaorg/SeatingMap.py index 3518c73f..dc22cd59 100644 --- a/pydantic_schemaorg/SeatingMap.py +++ b/pydantic_schemaorg/SeatingMap.py @@ -11,5 +11,5 @@ class SeatingMap(MapCategoryType): See: https://schema.org/SeatingMap Model depth: 5 """ - type_: str = Field(default="SeatingMap", alias='@type') + type_: str = Field(default="SeatingMap", alias='@type', constant=True) diff --git a/pydantic_schemaorg/SeeDoctorHealthAspect.py b/pydantic_schemaorg/SeeDoctorHealthAspect.py index 1bfa0e4e..b8fc4aa3 100644 --- a/pydantic_schemaorg/SeeDoctorHealthAspect.py +++ b/pydantic_schemaorg/SeeDoctorHealthAspect.py @@ -12,5 +12,5 @@ class SeeDoctorHealthAspect(HealthAspectEnumeration): See: https://schema.org/SeeDoctorHealthAspect Model depth: 5 """ - type_: str = Field(default="SeeDoctorHealthAspect", alias='@type') + type_: str = Field(default="SeeDoctorHealthAspect", alias='@type', constant=True) diff --git a/pydantic_schemaorg/SeekToAction.py b/pydantic_schemaorg/SeekToAction.py index 3985b6eb..6c535856 100644 --- a/pydantic_schemaorg/SeekToAction.py +++ b/pydantic_schemaorg/SeekToAction.py @@ -16,8 +16,8 @@ class SeekToAction(Action): See: https://schema.org/SeekToAction Model depth: 3 """ - type_: str = Field(default="SeekToAction", alias='@type') - startOffset: Optional[Union[List[Union[Decimal, 'Number', 'HyperTocEntry', str]], Decimal, 'Number', 'HyperTocEntry', str]] = Field( + type_: str = Field(default="SeekToAction", alias='@type', constant=True) + startOffset: Optional[Union[List[Union[int, float, 'Number', 'HyperTocEntry', str]], int, float, 'Number', 'HyperTocEntry', str]] = Field( default=None, description="The start time of the clip expressed as the number of seconds from the beginning of the" "work.", diff --git a/pydantic_schemaorg/SelfCareHealthAspect.py b/pydantic_schemaorg/SelfCareHealthAspect.py index bf9a7bce..cf3c5727 100644 --- a/pydantic_schemaorg/SelfCareHealthAspect.py +++ b/pydantic_schemaorg/SelfCareHealthAspect.py @@ -12,5 +12,5 @@ class SelfCareHealthAspect(HealthAspectEnumeration): See: https://schema.org/SelfCareHealthAspect Model depth: 5 """ - type_: str = Field(default="SelfCareHealthAspect", alias='@type') + type_: str = Field(default="SelfCareHealthAspect", alias='@type', constant=True) diff --git a/pydantic_schemaorg/SelfStorage.py b/pydantic_schemaorg/SelfStorage.py index f91f4a0e..81f600cf 100644 --- a/pydantic_schemaorg/SelfStorage.py +++ b/pydantic_schemaorg/SelfStorage.py @@ -11,5 +11,5 @@ class SelfStorage(LocalBusiness): See: https://schema.org/SelfStorage Model depth: 4 """ - type_: str = Field(default="SelfStorage", alias='@type') + type_: str = Field(default="SelfStorage", alias='@type', constant=True) diff --git a/pydantic_schemaorg/SellAction.py b/pydantic_schemaorg/SellAction.py index 982e7ed3..dde0f0bb 100644 --- a/pydantic_schemaorg/SellAction.py +++ b/pydantic_schemaorg/SellAction.py @@ -15,8 +15,8 @@ class SellAction(TradeAction): See: https://schema.org/SellAction Model depth: 4 """ - type_: str = Field(default="SellAction", alias='@type') - buyer: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + type_: str = Field(default="SellAction", alias='@type', constant=True) + buyer: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="A sub property of participant. The participant/person/organization that bought the" "object.", @@ -28,6 +28,6 @@ class SellAction(TradeAction): if TYPE_CHECKING: - from pydantic_schemaorg.Person import Person from pydantic_schemaorg.Organization import Organization + from pydantic_schemaorg.Person import Person from pydantic_schemaorg.WarrantyPromise import WarrantyPromise diff --git a/pydantic_schemaorg/SendAction.py b/pydantic_schemaorg/SendAction.py index aa7339a8..85d22837 100644 --- a/pydantic_schemaorg/SendAction.py +++ b/pydantic_schemaorg/SendAction.py @@ -17,8 +17,8 @@ class SendAction(TransferAction): See: https://schema.org/SendAction Model depth: 4 """ - type_: str = Field(default="SendAction", alias='@type') - recipient: Optional[Union[List[Union['Person', 'Audience', 'Organization', 'ContactPoint', str]], 'Person', 'Audience', 'Organization', 'ContactPoint', str]] = Field( + type_: str = Field(default="SendAction", alias='@type', constant=True) + recipient: Optional[Union[List[Union['ContactPoint', 'Audience', 'Organization', 'Person', str]], 'ContactPoint', 'Audience', 'Organization', 'Person', str]] = Field( default=None, description="A sub property of participant. The participant who is at the receiving end of the action.", ) @@ -29,8 +29,8 @@ class SendAction(TransferAction): if TYPE_CHECKING: - from pydantic_schemaorg.Person import Person + from pydantic_schemaorg.ContactPoint import ContactPoint from pydantic_schemaorg.Audience import Audience from pydantic_schemaorg.Organization import Organization - from pydantic_schemaorg.ContactPoint import ContactPoint + from pydantic_schemaorg.Person import Person from pydantic_schemaorg.DeliveryMethod import DeliveryMethod diff --git a/pydantic_schemaorg/Series.py b/pydantic_schemaorg/Series.py index 06208545..40fcacd2 100644 --- a/pydantic_schemaorg/Series.py +++ b/pydantic_schemaorg/Series.py @@ -12,5 +12,5 @@ class Series(Intangible): See: https://schema.org/Series Model depth: 3 """ - type_: str = Field(default="Series", alias='@type') + type_: str = Field(default="Series", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Service.py b/pydantic_schemaorg/Service.py index e2e6b1bb..8ad44df1 100644 --- a/pydantic_schemaorg/Service.py +++ b/pydantic_schemaorg/Service.py @@ -15,8 +15,8 @@ class Service(Intangible): See: https://schema.org/Service Model depth: 3 """ - type_: str = Field(default="Service", alias='@type') - offers: Optional[Union[List[Union['Offer', 'Demand', str]], 'Offer', 'Demand', str]] = Field( + type_: str = Field(default="Service", alias='@type', constant=True) + offers: Optional[Union[List[Union['Demand', 'Offer', str]], 'Demand', 'Offer', str]] = Field( default=None, description="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]]" @@ -25,7 +25,7 @@ class Service(Intangible): "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.", ) - areaServed: Optional[Union[List[Union[str, 'Text', 'GeoShape', 'AdministrativeArea', 'Place']], str, 'Text', 'GeoShape', 'AdministrativeArea', 'Place']] = Field( + areaServed: Optional[Union[List[Union[str, 'Text', 'AdministrativeArea', 'Place', 'GeoShape']], str, 'Text', 'AdministrativeArea', 'Place', 'GeoShape']] = Field( default=None, description="The geographic area where a service or offered item is provided.", ) @@ -53,7 +53,7 @@ class Service(Intangible): default=None, description="The tangible thing generated by the service, e.g. a passport, permit, etc.", ) - brand: Optional[Union[List[Union['Organization', 'Brand', str]], 'Organization', 'Brand', str]] = Field( + brand: Optional[Union[List[Union['Brand', 'Organization', str]], 'Brand', 'Organization', str]] = Field( default=None, description="The brand(s) associated with a product or service, or the brand(s) maintained by an organization" "or business person.", @@ -83,7 +83,7 @@ class Service(Intangible): default=None, description="An intended audience, i.e. a group for whom something was created.", ) - serviceArea: Optional[Union[List[Union['GeoShape', 'AdministrativeArea', 'Place', str]], 'GeoShape', 'AdministrativeArea', 'Place', str]] = Field( + serviceArea: Optional[Union[List[Union['AdministrativeArea', 'Place', 'GeoShape', str]], 'AdministrativeArea', 'Place', 'GeoShape', str]] = Field( default=None, description="The geographic area where the service is provided.", ) @@ -103,7 +103,7 @@ class Service(Intangible): default=None, description="A review of the item.", ) - provider: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + provider: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="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." @@ -113,7 +113,7 @@ class Service(Intangible): default=None, description="A means of accessing the service (e.g. a phone bank, a web site, a location, etc.).", ) - broker: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + broker: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="An entity that arranges for an exchange between a buyer and a seller. In most cases a broker" "never acquires or releases ownership of a product or service involved in an exchange." @@ -127,17 +127,17 @@ class Service(Intangible): if TYPE_CHECKING: - from pydantic_schemaorg.Offer import Offer from pydantic_schemaorg.Demand import Demand + from pydantic_schemaorg.Offer import Offer from pydantic_schemaorg.Text import Text - from pydantic_schemaorg.GeoShape import GeoShape from pydantic_schemaorg.AdministrativeArea import AdministrativeArea from pydantic_schemaorg.Place import Place + from pydantic_schemaorg.GeoShape import GeoShape from pydantic_schemaorg.Thing import Thing from pydantic_schemaorg.AggregateRating import AggregateRating from pydantic_schemaorg.URL import URL - from pydantic_schemaorg.Organization import Organization from pydantic_schemaorg.Brand import Brand + from pydantic_schemaorg.Organization import Organization from pydantic_schemaorg.PhysicalActivityCategory import PhysicalActivityCategory from pydantic_schemaorg.Product import Product from pydantic_schemaorg.GovernmentBenefitsType import GovernmentBenefitsType diff --git a/pydantic_schemaorg/ServiceChannel.py b/pydantic_schemaorg/ServiceChannel.py index e208d7ce..290a8b42 100644 --- a/pydantic_schemaorg/ServiceChannel.py +++ b/pydantic_schemaorg/ServiceChannel.py @@ -16,7 +16,7 @@ class ServiceChannel(Intangible): See: https://schema.org/ServiceChannel Model depth: 3 """ - type_: str = Field(default="ServiceChannel", alias='@type') + type_: str = Field(default="ServiceChannel", alias='@type', constant=True) processingTime: Optional[Union[List[Union['Duration', str]], 'Duration', str]] = Field( default=None, description="Estimated processing time for the service using this channel.", diff --git a/pydantic_schemaorg/ShareAction.py b/pydantic_schemaorg/ShareAction.py index 585e808d..eb001cd0 100644 --- a/pydantic_schemaorg/ShareAction.py +++ b/pydantic_schemaorg/ShareAction.py @@ -11,5 +11,5 @@ class ShareAction(CommunicateAction): See: https://schema.org/ShareAction Model depth: 5 """ - type_: str = Field(default="ShareAction", alias='@type') + type_: str = Field(default="ShareAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/SheetMusic.py b/pydantic_schemaorg/SheetMusic.py index 68142625..dd9365e9 100644 --- a/pydantic_schemaorg/SheetMusic.py +++ b/pydantic_schemaorg/SheetMusic.py @@ -11,5 +11,5 @@ class SheetMusic(CreativeWork): See: https://schema.org/SheetMusic Model depth: 3 """ - type_: str = Field(default="SheetMusic", alias='@type') + type_: str = Field(default="SheetMusic", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ShippingDeliveryTime.py b/pydantic_schemaorg/ShippingDeliveryTime.py index ff010d19..5798c41c 100644 --- a/pydantic_schemaorg/ShippingDeliveryTime.py +++ b/pydantic_schemaorg/ShippingDeliveryTime.py @@ -16,7 +16,7 @@ class ShippingDeliveryTime(StructuredValue): See: https://schema.org/ShippingDeliveryTime Model depth: 4 """ - type_: str = Field(default="ShippingDeliveryTime", alias='@type') + type_: str = Field(default="ShippingDeliveryTime", alias='@type', constant=True) transitTime: Optional[Union[List[Union['QuantitativeValue', str]], 'QuantitativeValue', str]] = Field( default=None, description="The typical delay the order has been sent for delivery and the goods reach the final customer." diff --git a/pydantic_schemaorg/ShippingRateSettings.py b/pydantic_schemaorg/ShippingRateSettings.py index 13e32805..5969f062 100644 --- a/pydantic_schemaorg/ShippingRateSettings.py +++ b/pydantic_schemaorg/ShippingRateSettings.py @@ -18,7 +18,7 @@ class ShippingRateSettings(StructuredValue): See: https://schema.org/ShippingRateSettings Model depth: 4 """ - type_: str = Field(default="ShippingRateSettings", alias='@type') + type_: str = Field(default="ShippingRateSettings", alias='@type', constant=True) shippingLabel: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="Label to match an [[OfferShippingDetails]] with a [[ShippingRateSettings]] (within" @@ -38,7 +38,7 @@ class ShippingRateSettings(StructuredValue): description="The shipping rate is the cost of shipping to the specified destination. Typically, the" "maxValue and currency values (of the [[MonetaryAmount]]) are most appropriate.", ) - freeShippingThreshold: Optional[Union[List[Union['MonetaryAmount', 'DeliveryChargeSpecification', str]], 'MonetaryAmount', 'DeliveryChargeSpecification', str]] = Field( + freeShippingThreshold: Optional[Union[List[Union['DeliveryChargeSpecification', 'MonetaryAmount', str]], 'DeliveryChargeSpecification', 'MonetaryAmount', str]] = Field( default=None, description="A monetary value above which (or equal to) the shipping rate becomes free. Intended to" "be used via an [[OfferShippingDetails]] with [[shippingSettingsLink]] matching" diff --git a/pydantic_schemaorg/ShoeStore.py b/pydantic_schemaorg/ShoeStore.py index 102b487f..a98798d4 100644 --- a/pydantic_schemaorg/ShoeStore.py +++ b/pydantic_schemaorg/ShoeStore.py @@ -11,5 +11,5 @@ class ShoeStore(Store): See: https://schema.org/ShoeStore Model depth: 5 """ - type_: str = Field(default="ShoeStore", alias='@type') + type_: str = Field(default="ShoeStore", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ShoppingCenter.py b/pydantic_schemaorg/ShoppingCenter.py index 953a0d66..4326e1f6 100644 --- a/pydantic_schemaorg/ShoppingCenter.py +++ b/pydantic_schemaorg/ShoppingCenter.py @@ -11,5 +11,5 @@ class ShoppingCenter(LocalBusiness): See: https://schema.org/ShoppingCenter Model depth: 4 """ - type_: str = Field(default="ShoppingCenter", alias='@type') + type_: str = Field(default="ShoppingCenter", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ShortStory.py b/pydantic_schemaorg/ShortStory.py index a248058f..76cc95c3 100644 --- a/pydantic_schemaorg/ShortStory.py +++ b/pydantic_schemaorg/ShortStory.py @@ -11,5 +11,5 @@ class ShortStory(CreativeWork): See: https://schema.org/ShortStory Model depth: 3 """ - type_: str = Field(default="ShortStory", alias='@type') + type_: str = Field(default="ShortStory", alias='@type', constant=True) diff --git a/pydantic_schemaorg/SideEffectsHealthAspect.py b/pydantic_schemaorg/SideEffectsHealthAspect.py index 5e589009..a41effd1 100644 --- a/pydantic_schemaorg/SideEffectsHealthAspect.py +++ b/pydantic_schemaorg/SideEffectsHealthAspect.py @@ -11,5 +11,5 @@ class SideEffectsHealthAspect(HealthAspectEnumeration): See: https://schema.org/SideEffectsHealthAspect Model depth: 5 """ - type_: str = Field(default="SideEffectsHealthAspect", alias='@type') + type_: str = Field(default="SideEffectsHealthAspect", alias='@type', constant=True) diff --git a/pydantic_schemaorg/SingleBlindedTrial.py b/pydantic_schemaorg/SingleBlindedTrial.py index 23ed10ca..9deb65dd 100644 --- a/pydantic_schemaorg/SingleBlindedTrial.py +++ b/pydantic_schemaorg/SingleBlindedTrial.py @@ -12,5 +12,5 @@ class SingleBlindedTrial(MedicalTrialDesign): See: https://schema.org/SingleBlindedTrial Model depth: 6 """ - type_: str = Field(default="SingleBlindedTrial", alias='@type') + type_: str = Field(default="SingleBlindedTrial", alias='@type', constant=True) diff --git a/pydantic_schemaorg/SingleCenterTrial.py b/pydantic_schemaorg/SingleCenterTrial.py index 2356f1d6..c16a3b49 100644 --- a/pydantic_schemaorg/SingleCenterTrial.py +++ b/pydantic_schemaorg/SingleCenterTrial.py @@ -11,5 +11,5 @@ class SingleCenterTrial(MedicalTrialDesign): See: https://schema.org/SingleCenterTrial Model depth: 6 """ - type_: str = Field(default="SingleCenterTrial", alias='@type') + type_: str = Field(default="SingleCenterTrial", alias='@type', constant=True) diff --git a/pydantic_schemaorg/SingleFamilyResidence.py b/pydantic_schemaorg/SingleFamilyResidence.py index f37c9608..15f18f1a 100644 --- a/pydantic_schemaorg/SingleFamilyResidence.py +++ b/pydantic_schemaorg/SingleFamilyResidence.py @@ -15,8 +15,8 @@ class SingleFamilyResidence(House): See: https://schema.org/SingleFamilyResidence Model depth: 5 """ - type_: str = Field(default="SingleFamilyResidence", alias='@type') - numberOfRooms: Optional[Union[List[Union[Decimal, 'Number', 'QuantitativeValue', str]], Decimal, 'Number', 'QuantitativeValue', str]] = Field( + type_: str = Field(default="SingleFamilyResidence", alias='@type', constant=True) + numberOfRooms: Optional[Union[List[Union[int, float, 'Number', 'QuantitativeValue', str]], int, float, 'Number', 'QuantitativeValue', str]] = Field( default=None, description="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" diff --git a/pydantic_schemaorg/SinglePlayer.py b/pydantic_schemaorg/SinglePlayer.py index cfec8b64..86139000 100644 --- a/pydantic_schemaorg/SinglePlayer.py +++ b/pydantic_schemaorg/SinglePlayer.py @@ -11,5 +11,5 @@ class SinglePlayer(GamePlayMode): See: https://schema.org/SinglePlayer Model depth: 5 """ - type_: str = Field(default="SinglePlayer", alias='@type') + type_: str = Field(default="SinglePlayer", alias='@type', constant=True) diff --git a/pydantic_schemaorg/SingleRelease.py b/pydantic_schemaorg/SingleRelease.py index 062d6967..b6ee8dcd 100644 --- a/pydantic_schemaorg/SingleRelease.py +++ b/pydantic_schemaorg/SingleRelease.py @@ -11,5 +11,5 @@ class SingleRelease(MusicAlbumReleaseType): See: https://schema.org/SingleRelease Model depth: 5 """ - type_: str = Field(default="SingleRelease", alias='@type') + type_: str = Field(default="SingleRelease", alias='@type', constant=True) diff --git a/pydantic_schemaorg/SiteNavigationElement.py b/pydantic_schemaorg/SiteNavigationElement.py index e5c0bcdd..de885b97 100644 --- a/pydantic_schemaorg/SiteNavigationElement.py +++ b/pydantic_schemaorg/SiteNavigationElement.py @@ -11,5 +11,5 @@ class SiteNavigationElement(WebPageElement): See: https://schema.org/SiteNavigationElement Model depth: 4 """ - type_: str = Field(default="SiteNavigationElement", alias='@type') + type_: str = Field(default="SiteNavigationElement", alias='@type', constant=True) diff --git a/pydantic_schemaorg/SizeGroupEnumeration.py b/pydantic_schemaorg/SizeGroupEnumeration.py index 29b59adb..b361ef0e 100644 --- a/pydantic_schemaorg/SizeGroupEnumeration.py +++ b/pydantic_schemaorg/SizeGroupEnumeration.py @@ -11,5 +11,5 @@ class SizeGroupEnumeration(Enumeration): See: https://schema.org/SizeGroupEnumeration Model depth: 4 """ - type_: str = Field(default="SizeGroupEnumeration", alias='@type') + type_: str = Field(default="SizeGroupEnumeration", alias='@type', constant=True) diff --git a/pydantic_schemaorg/SizeSpecification.py b/pydantic_schemaorg/SizeSpecification.py index ce443994..f6220bf7 100644 --- a/pydantic_schemaorg/SizeSpecification.py +++ b/pydantic_schemaorg/SizeSpecification.py @@ -17,7 +17,7 @@ class SizeSpecification(QualitativeValue): See: https://schema.org/SizeSpecification Model depth: 5 """ - type_: str = Field(default="SizeSpecification", alias='@type') + type_: str = Field(default="SizeSpecification", alias='@type', constant=True) sizeSystem: Optional[Union[List[Union[str, 'Text', 'SizeSystemEnumeration']], str, 'Text', 'SizeSystemEnumeration']] = Field( default=None, description="The size system used to identify a product's size. Typically either a standard (for example," diff --git a/pydantic_schemaorg/SizeSystemEnumeration.py b/pydantic_schemaorg/SizeSystemEnumeration.py index 5d817506..0a40fb9b 100644 --- a/pydantic_schemaorg/SizeSystemEnumeration.py +++ b/pydantic_schemaorg/SizeSystemEnumeration.py @@ -12,5 +12,5 @@ class SizeSystemEnumeration(Enumeration): See: https://schema.org/SizeSystemEnumeration Model depth: 4 """ - type_: str = Field(default="SizeSystemEnumeration", alias='@type') + type_: str = Field(default="SizeSystemEnumeration", alias='@type', constant=True) diff --git a/pydantic_schemaorg/SizeSystemImperial.py b/pydantic_schemaorg/SizeSystemImperial.py index 01e38538..e95e002f 100644 --- a/pydantic_schemaorg/SizeSystemImperial.py +++ b/pydantic_schemaorg/SizeSystemImperial.py @@ -11,5 +11,5 @@ class SizeSystemImperial(SizeSystemEnumeration): See: https://schema.org/SizeSystemImperial Model depth: 5 """ - type_: str = Field(default="SizeSystemImperial", alias='@type') + type_: str = Field(default="SizeSystemImperial", alias='@type', constant=True) diff --git a/pydantic_schemaorg/SizeSystemMetric.py b/pydantic_schemaorg/SizeSystemMetric.py index 99468b8f..07760716 100644 --- a/pydantic_schemaorg/SizeSystemMetric.py +++ b/pydantic_schemaorg/SizeSystemMetric.py @@ -11,5 +11,5 @@ class SizeSystemMetric(SizeSystemEnumeration): See: https://schema.org/SizeSystemMetric Model depth: 5 """ - type_: str = Field(default="SizeSystemMetric", alias='@type') + type_: str = Field(default="SizeSystemMetric", alias='@type', constant=True) diff --git a/pydantic_schemaorg/SkiResort.py b/pydantic_schemaorg/SkiResort.py index 7d7db7a1..e7f06ba8 100644 --- a/pydantic_schemaorg/SkiResort.py +++ b/pydantic_schemaorg/SkiResort.py @@ -12,5 +12,5 @@ class SkiResort(Resort, SportsActivityLocation): See: https://schema.org/SkiResort Model depth: 5 """ - type_: str = Field(default="SkiResort", alias='@type') + type_: str = Field(default="SkiResort", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Skin.py b/pydantic_schemaorg/Skin.py index 7af0702a..0b4e8c21 100644 --- a/pydantic_schemaorg/Skin.py +++ b/pydantic_schemaorg/Skin.py @@ -11,5 +11,5 @@ class Skin(PhysicalExam): See: https://schema.org/Skin Model depth: 5 """ - type_: str = Field(default="Skin", alias='@type') + type_: str = Field(default="Skin", alias='@type', constant=True) diff --git a/pydantic_schemaorg/SocialEvent.py b/pydantic_schemaorg/SocialEvent.py index f545d1f4..80f3139f 100644 --- a/pydantic_schemaorg/SocialEvent.py +++ b/pydantic_schemaorg/SocialEvent.py @@ -11,5 +11,5 @@ class SocialEvent(Event): See: https://schema.org/SocialEvent Model depth: 3 """ - type_: str = Field(default="SocialEvent", alias='@type') + type_: str = Field(default="SocialEvent", alias='@type', constant=True) diff --git a/pydantic_schemaorg/SocialMediaPosting.py b/pydantic_schemaorg/SocialMediaPosting.py index e56e960f..65f0680b 100644 --- a/pydantic_schemaorg/SocialMediaPosting.py +++ b/pydantic_schemaorg/SocialMediaPosting.py @@ -14,7 +14,7 @@ class SocialMediaPosting(Article): See: https://schema.org/SocialMediaPosting Model depth: 4 """ - type_: str = Field(default="SocialMediaPosting", alias='@type') + type_: str = Field(default="SocialMediaPosting", alias='@type', constant=True) sharedContent: Optional[Union[List[Union['CreativeWork', str]], 'CreativeWork', str]] = Field( default=None, description="A CreativeWork such as an image, video, or audio clip shared as part of this posting.", diff --git a/pydantic_schemaorg/SoftwareApplication.py b/pydantic_schemaorg/SoftwareApplication.py index a5b4debd..abce4421 100644 --- a/pydantic_schemaorg/SoftwareApplication.py +++ b/pydantic_schemaorg/SoftwareApplication.py @@ -15,7 +15,7 @@ class SoftwareApplication(CreativeWork): See: https://schema.org/SoftwareApplication Model depth: 3 """ - type_: str = Field(default="SoftwareApplication", alias='@type') + type_: str = Field(default="SoftwareApplication", alias='@type', constant=True) applicationSubCategory: Optional[Union[List[Union[AnyUrl, 'URL', str, 'Text']], AnyUrl, 'URL', str, 'Text']] = Field( default=None, description="Subcategory of the application, e.g. 'Arcade Game'.", diff --git a/pydantic_schemaorg/SoftwareSourceCode.py b/pydantic_schemaorg/SoftwareSourceCode.py index d2331a08..2e7849d6 100644 --- a/pydantic_schemaorg/SoftwareSourceCode.py +++ b/pydantic_schemaorg/SoftwareSourceCode.py @@ -16,7 +16,7 @@ class SoftwareSourceCode(CreativeWork): See: https://schema.org/SoftwareSourceCode Model depth: 3 """ - type_: str = Field(default="SoftwareSourceCode", alias='@type') + type_: str = Field(default="SoftwareSourceCode", alias='@type', constant=True) codeRepository: Optional[Union[List[Union[AnyUrl, 'URL', str]], AnyUrl, 'URL', str]] = Field( default=None, description="Link to the repository where the un-compiled, human readable code and related code is" diff --git a/pydantic_schemaorg/SoldOut.py b/pydantic_schemaorg/SoldOut.py index 38e57bb5..137ebf6b 100644 --- a/pydantic_schemaorg/SoldOut.py +++ b/pydantic_schemaorg/SoldOut.py @@ -11,5 +11,5 @@ class SoldOut(ItemAvailability): See: https://schema.org/SoldOut Model depth: 5 """ - type_: str = Field(default="SoldOut", alias='@type') + type_: str = Field(default="SoldOut", alias='@type', constant=True) diff --git a/pydantic_schemaorg/SolveMathAction.py b/pydantic_schemaorg/SolveMathAction.py index 105b4720..12595053 100644 --- a/pydantic_schemaorg/SolveMathAction.py +++ b/pydantic_schemaorg/SolveMathAction.py @@ -15,7 +15,7 @@ class SolveMathAction(Action): See: https://schema.org/SolveMathAction Model depth: 3 """ - type_: str = Field(default="SolveMathAction", alias='@type') + type_: str = Field(default="SolveMathAction", alias='@type', constant=True) eduQuestionType: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="For questions that are part of learning resources (e.g. Quiz), eduQuestionType indicates" diff --git a/pydantic_schemaorg/SomeProducts.py b/pydantic_schemaorg/SomeProducts.py index bd25d1b0..b2e52dbd 100644 --- a/pydantic_schemaorg/SomeProducts.py +++ b/pydantic_schemaorg/SomeProducts.py @@ -14,7 +14,7 @@ class SomeProducts(Product): See: https://schema.org/SomeProducts Model depth: 3 """ - type_: str = Field(default="SomeProducts", alias='@type') + type_: str = Field(default="SomeProducts", alias='@type', constant=True) inventoryLevel: Optional[Union[List[Union['QuantitativeValue', str]], 'QuantitativeValue', str]] = Field( default=None, description="The current approximate inventory level for the item or items.", diff --git a/pydantic_schemaorg/SoundtrackAlbum.py b/pydantic_schemaorg/SoundtrackAlbum.py index dcea0466..9f6a1079 100644 --- a/pydantic_schemaorg/SoundtrackAlbum.py +++ b/pydantic_schemaorg/SoundtrackAlbum.py @@ -11,5 +11,5 @@ class SoundtrackAlbum(MusicAlbumProductionType): See: https://schema.org/SoundtrackAlbum Model depth: 5 """ - type_: str = Field(default="SoundtrackAlbum", alias='@type') + type_: str = Field(default="SoundtrackAlbum", alias='@type', constant=True) diff --git a/pydantic_schemaorg/SpeakableSpecification.py b/pydantic_schemaorg/SpeakableSpecification.py index d1195449..c27e62c5 100644 --- a/pydantic_schemaorg/SpeakableSpecification.py +++ b/pydantic_schemaorg/SpeakableSpecification.py @@ -16,7 +16,7 @@ class SpeakableSpecification(Intangible): See: https://schema.org/SpeakableSpecification Model depth: 3 """ - type_: str = Field(default="SpeakableSpecification", alias='@type') + type_: str = Field(default="SpeakableSpecification", alias='@type', constant=True) xpath: Optional[Union[List[Union[str, 'XPathType']], str, 'XPathType']] = Field( default=None, description="An XPath, e.g. of a [[SpeakableSpecification]] or [[WebPageElement]]. In the latter" diff --git a/pydantic_schemaorg/SpecialAnnouncement.py b/pydantic_schemaorg/SpecialAnnouncement.py index 89594a90..890e1fb9 100644 --- a/pydantic_schemaorg/SpecialAnnouncement.py +++ b/pydantic_schemaorg/SpecialAnnouncement.py @@ -61,8 +61,8 @@ class SpecialAnnouncement(CreativeWork): See: https://schema.org/SpecialAnnouncement Model depth: 3 """ - type_: str = Field(default="SpecialAnnouncement", alias='@type') - announcementLocation: Optional[Union[List[Union['LocalBusiness', 'CivicStructure', str]], 'LocalBusiness', 'CivicStructure', str]] = Field( + type_: str = Field(default="SpecialAnnouncement", alias='@type', constant=True) + announcementLocation: Optional[Union[List[Union['CivicStructure', 'LocalBusiness', str]], 'CivicStructure', 'LocalBusiness', str]] = Field( default=None, description="Indicates a specific [[CivicStructure]] or [[LocalBusiness]] associated with the" "SpecialAnnouncement. For example, a specific testing facility or business with special" @@ -78,7 +78,7 @@ class SpecialAnnouncement(CreativeWork): description="governmentBenefitsInfo provides information about government benefits associated" "with a SpecialAnnouncement.", ) - diseaseSpreadStatistics: Optional[Union[List[Union[AnyUrl, 'URL', 'Observation', 'WebContent', 'Dataset', str]], AnyUrl, 'URL', 'Observation', 'WebContent', 'Dataset', str]] = Field( + diseaseSpreadStatistics: Optional[Union[List[Union[AnyUrl, 'URL', 'WebContent', 'Dataset', 'Observation', str]], AnyUrl, 'URL', 'WebContent', 'Dataset', 'Observation', str]] = Field( default=None, description="Statistical information about the spread of a disease, either as [[WebContent]], or" "described directly as a [[Dataset]], or the specific [[Observation]]s in the dataset." @@ -128,13 +128,13 @@ class SpecialAnnouncement(CreativeWork): if TYPE_CHECKING: - from pydantic_schemaorg.LocalBusiness import LocalBusiness from pydantic_schemaorg.CivicStructure import CivicStructure + from pydantic_schemaorg.LocalBusiness import LocalBusiness from pydantic_schemaorg.URL import URL from pydantic_schemaorg.WebContent import WebContent from pydantic_schemaorg.GovernmentService import GovernmentService - from pydantic_schemaorg.Observation import Observation from pydantic_schemaorg.Dataset import Dataset + from pydantic_schemaorg.Observation import Observation from pydantic_schemaorg.Text import Text from pydantic_schemaorg.PhysicalActivityCategory import PhysicalActivityCategory from pydantic_schemaorg.Thing import Thing diff --git a/pydantic_schemaorg/Specialty.py b/pydantic_schemaorg/Specialty.py index 850f42f1..cff6b245 100644 --- a/pydantic_schemaorg/Specialty.py +++ b/pydantic_schemaorg/Specialty.py @@ -12,5 +12,5 @@ class Specialty(Enumeration): See: https://schema.org/Specialty Model depth: 4 """ - type_: str = Field(default="Specialty", alias='@type') + type_: str = Field(default="Specialty", alias='@type', constant=True) diff --git a/pydantic_schemaorg/SpeechPathology.py b/pydantic_schemaorg/SpeechPathology.py index 95d26219..2e9414e5 100644 --- a/pydantic_schemaorg/SpeechPathology.py +++ b/pydantic_schemaorg/SpeechPathology.py @@ -13,5 +13,5 @@ class SpeechPathology(MedicalSpecialty): See: https://schema.org/SpeechPathology Model depth: 6 """ - type_: str = Field(default="SpeechPathology", alias='@type') + type_: str = Field(default="SpeechPathology", alias='@type', constant=True) diff --git a/pydantic_schemaorg/SpokenWordAlbum.py b/pydantic_schemaorg/SpokenWordAlbum.py index 9672b8e3..62494ecf 100644 --- a/pydantic_schemaorg/SpokenWordAlbum.py +++ b/pydantic_schemaorg/SpokenWordAlbum.py @@ -11,5 +11,5 @@ class SpokenWordAlbum(MusicAlbumProductionType): See: https://schema.org/SpokenWordAlbum Model depth: 5 """ - type_: str = Field(default="SpokenWordAlbum", alias='@type') + type_: str = Field(default="SpokenWordAlbum", alias='@type', constant=True) diff --git a/pydantic_schemaorg/SportingGoodsStore.py b/pydantic_schemaorg/SportingGoodsStore.py index ecd3bcdf..5d5cfa40 100644 --- a/pydantic_schemaorg/SportingGoodsStore.py +++ b/pydantic_schemaorg/SportingGoodsStore.py @@ -11,5 +11,5 @@ class SportingGoodsStore(Store): See: https://schema.org/SportingGoodsStore Model depth: 5 """ - type_: str = Field(default="SportingGoodsStore", alias='@type') + type_: str = Field(default="SportingGoodsStore", alias='@type', constant=True) diff --git a/pydantic_schemaorg/SportsActivityLocation.py b/pydantic_schemaorg/SportsActivityLocation.py index e678976a..7023a543 100644 --- a/pydantic_schemaorg/SportsActivityLocation.py +++ b/pydantic_schemaorg/SportsActivityLocation.py @@ -11,5 +11,5 @@ class SportsActivityLocation(LocalBusiness): See: https://schema.org/SportsActivityLocation Model depth: 4 """ - type_: str = Field(default="SportsActivityLocation", alias='@type') + type_: str = Field(default="SportsActivityLocation", alias='@type', constant=True) diff --git a/pydantic_schemaorg/SportsClub.py b/pydantic_schemaorg/SportsClub.py index 6ee634e2..932e46e6 100644 --- a/pydantic_schemaorg/SportsClub.py +++ b/pydantic_schemaorg/SportsClub.py @@ -11,5 +11,5 @@ class SportsClub(SportsActivityLocation): See: https://schema.org/SportsClub Model depth: 5 """ - type_: str = Field(default="SportsClub", alias='@type') + type_: str = Field(default="SportsClub", alias='@type', constant=True) diff --git a/pydantic_schemaorg/SportsEvent.py b/pydantic_schemaorg/SportsEvent.py index be6099cd..e15481e6 100644 --- a/pydantic_schemaorg/SportsEvent.py +++ b/pydantic_schemaorg/SportsEvent.py @@ -15,12 +15,12 @@ class SportsEvent(Event): See: https://schema.org/SportsEvent Model depth: 3 """ - type_: str = Field(default="SportsEvent", alias='@type') + type_: str = Field(default="SportsEvent", alias='@type', constant=True) sport: Optional[Union[List[Union[AnyUrl, 'URL', str, 'Text']], AnyUrl, 'URL', str, 'Text']] = Field( default=None, description="A type of sport (e.g. Baseball).", ) - awayTeam: Optional[Union[List[Union['Person', 'SportsTeam', str]], 'Person', 'SportsTeam', str]] = Field( + awayTeam: Optional[Union[List[Union['SportsTeam', 'Person', str]], 'SportsTeam', 'Person', str]] = Field( default=None, description="The away team in a sports event.", ) @@ -28,7 +28,7 @@ class SportsEvent(Event): default=None, description="The home team in a sports event.", ) - competitor: Optional[Union[List[Union['Person', 'SportsTeam', str]], 'Person', 'SportsTeam', str]] = Field( + competitor: Optional[Union[List[Union['SportsTeam', 'Person', str]], 'SportsTeam', 'Person', str]] = Field( default=None, description="A competitor in a sports event.", ) @@ -37,5 +37,5 @@ class SportsEvent(Event): if TYPE_CHECKING: from pydantic_schemaorg.URL import URL from pydantic_schemaorg.Text import Text - from pydantic_schemaorg.Person import Person from pydantic_schemaorg.SportsTeam import SportsTeam + from pydantic_schemaorg.Person import Person diff --git a/pydantic_schemaorg/SportsOrganization.py b/pydantic_schemaorg/SportsOrganization.py index 75895e95..8456bc91 100644 --- a/pydantic_schemaorg/SportsOrganization.py +++ b/pydantic_schemaorg/SportsOrganization.py @@ -16,7 +16,7 @@ class SportsOrganization(Organization): See: https://schema.org/SportsOrganization Model depth: 3 """ - type_: str = Field(default="SportsOrganization", alias='@type') + type_: str = Field(default="SportsOrganization", alias='@type', constant=True) sport: Optional[Union[List[Union[AnyUrl, 'URL', str, 'Text']], AnyUrl, 'URL', str, 'Text']] = Field( default=None, description="A type of sport (e.g. Baseball).", diff --git a/pydantic_schemaorg/SportsTeam.py b/pydantic_schemaorg/SportsTeam.py index fd6d6282..5190d45a 100644 --- a/pydantic_schemaorg/SportsTeam.py +++ b/pydantic_schemaorg/SportsTeam.py @@ -14,7 +14,7 @@ class SportsTeam(SportsOrganization): See: https://schema.org/SportsTeam Model depth: 4 """ - type_: str = Field(default="SportsTeam", alias='@type') + type_: str = Field(default="SportsTeam", alias='@type', constant=True) gender: Optional[Union[List[Union[str, 'Text', 'GenderType']], str, 'Text', 'GenderType']] = Field( default=None, description="Gender of something, typically a [[Person]], but possibly also fictional characters," diff --git a/pydantic_schemaorg/SpreadsheetDigitalDocument.py b/pydantic_schemaorg/SpreadsheetDigitalDocument.py index 56d6dc8b..2cbe866b 100644 --- a/pydantic_schemaorg/SpreadsheetDigitalDocument.py +++ b/pydantic_schemaorg/SpreadsheetDigitalDocument.py @@ -11,5 +11,5 @@ class SpreadsheetDigitalDocument(DigitalDocument): See: https://schema.org/SpreadsheetDigitalDocument Model depth: 4 """ - type_: str = Field(default="SpreadsheetDigitalDocument", alias='@type') + type_: str = Field(default="SpreadsheetDigitalDocument", alias='@type', constant=True) diff --git a/pydantic_schemaorg/StadiumOrArena.py b/pydantic_schemaorg/StadiumOrArena.py index 5f303864..1b7f28c9 100644 --- a/pydantic_schemaorg/StadiumOrArena.py +++ b/pydantic_schemaorg/StadiumOrArena.py @@ -12,5 +12,5 @@ class StadiumOrArena(SportsActivityLocation, CivicStructure): See: https://schema.org/StadiumOrArena Model depth: 4 """ - type_: str = Field(default="StadiumOrArena", alias='@type') + type_: str = Field(default="StadiumOrArena", alias='@type', constant=True) diff --git a/pydantic_schemaorg/StagedContent.py b/pydantic_schemaorg/StagedContent.py index a0b5a510..f60b3cba 100644 --- a/pydantic_schemaorg/StagedContent.py +++ b/pydantic_schemaorg/StagedContent.py @@ -18,5 +18,5 @@ class StagedContent(MediaManipulationRatingEnumeration): See: https://schema.org/StagedContent Model depth: 5 """ - type_: str = Field(default="StagedContent", alias='@type') + type_: str = Field(default="StagedContent", alias='@type', constant=True) diff --git a/pydantic_schemaorg/StagesHealthAspect.py b/pydantic_schemaorg/StagesHealthAspect.py index f49c086b..102329b3 100644 --- a/pydantic_schemaorg/StagesHealthAspect.py +++ b/pydantic_schemaorg/StagesHealthAspect.py @@ -11,5 +11,5 @@ class StagesHealthAspect(HealthAspectEnumeration): See: https://schema.org/StagesHealthAspect Model depth: 5 """ - type_: str = Field(default="StagesHealthAspect", alias='@type') + type_: str = Field(default="StagesHealthAspect", alias='@type', constant=True) diff --git a/pydantic_schemaorg/State.py b/pydantic_schemaorg/State.py index 52dde985..d13c2e2e 100644 --- a/pydantic_schemaorg/State.py +++ b/pydantic_schemaorg/State.py @@ -11,5 +11,5 @@ class State(AdministrativeArea): See: https://schema.org/State Model depth: 4 """ - type_: str = Field(default="State", alias='@type') + type_: str = Field(default="State", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Statement.py b/pydantic_schemaorg/Statement.py index edce0250..2d6e69ca 100644 --- a/pydantic_schemaorg/Statement.py +++ b/pydantic_schemaorg/Statement.py @@ -14,5 +14,5 @@ class Statement(CreativeWork): See: https://schema.org/Statement Model depth: 3 """ - type_: str = Field(default="Statement", alias='@type') + type_: str = Field(default="Statement", alias='@type', constant=True) diff --git a/pydantic_schemaorg/StatisticalPopulation.py b/pydantic_schemaorg/StatisticalPopulation.py index 044bb0e9..bbe6b35f 100644 --- a/pydantic_schemaorg/StatisticalPopulation.py +++ b/pydantic_schemaorg/StatisticalPopulation.py @@ -25,7 +25,7 @@ class StatisticalPopulation(Intangible): See: https://schema.org/StatisticalPopulation Model depth: 3 """ - type_: str = Field(default="StatisticalPopulation", alias='@type') + type_: str = Field(default="StatisticalPopulation", alias='@type', constant=True) numConstraints: Optional[Union[List[Union[int, 'Integer', str]], int, 'Integer', str]] = Field( default=None, description="Indicates the number of constraints (not counting [[populationType]]) defined for" diff --git a/pydantic_schemaorg/StatusEnumeration.py b/pydantic_schemaorg/StatusEnumeration.py index 90f47b33..97dd3953 100644 --- a/pydantic_schemaorg/StatusEnumeration.py +++ b/pydantic_schemaorg/StatusEnumeration.py @@ -11,5 +11,5 @@ class StatusEnumeration(Enumeration): See: https://schema.org/StatusEnumeration Model depth: 4 """ - type_: str = Field(default="StatusEnumeration", alias='@type') + type_: str = Field(default="StatusEnumeration", alias='@type', constant=True) diff --git a/pydantic_schemaorg/SteeringPositionValue.py b/pydantic_schemaorg/SteeringPositionValue.py index 24503c4c..5edcc210 100644 --- a/pydantic_schemaorg/SteeringPositionValue.py +++ b/pydantic_schemaorg/SteeringPositionValue.py @@ -11,5 +11,5 @@ class SteeringPositionValue(QualitativeValue): See: https://schema.org/SteeringPositionValue Model depth: 5 """ - type_: str = Field(default="SteeringPositionValue", alias='@type') + type_: str = Field(default="SteeringPositionValue", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Store.py b/pydantic_schemaorg/Store.py index f3682231..08f36c22 100644 --- a/pydantic_schemaorg/Store.py +++ b/pydantic_schemaorg/Store.py @@ -11,5 +11,5 @@ class Store(LocalBusiness): See: https://schema.org/Store Model depth: 4 """ - type_: str = Field(default="Store", alias='@type') + type_: str = Field(default="Store", alias='@type', constant=True) diff --git a/pydantic_schemaorg/StoreCreditRefund.py b/pydantic_schemaorg/StoreCreditRefund.py index 525d054f..8c769077 100644 --- a/pydantic_schemaorg/StoreCreditRefund.py +++ b/pydantic_schemaorg/StoreCreditRefund.py @@ -11,5 +11,5 @@ class StoreCreditRefund(RefundTypeEnumeration): See: https://schema.org/StoreCreditRefund Model depth: 5 """ - type_: str = Field(default="StoreCreditRefund", alias='@type') + type_: str = Field(default="StoreCreditRefund", alias='@type', constant=True) diff --git a/pydantic_schemaorg/StrengthTraining.py b/pydantic_schemaorg/StrengthTraining.py index 608ae5c3..5af8ec00 100644 --- a/pydantic_schemaorg/StrengthTraining.py +++ b/pydantic_schemaorg/StrengthTraining.py @@ -12,5 +12,5 @@ class StrengthTraining(PhysicalActivityCategory): See: https://schema.org/StrengthTraining Model depth: 5 """ - type_: str = Field(default="StrengthTraining", alias='@type') + type_: str = Field(default="StrengthTraining", alias='@type', constant=True) diff --git a/pydantic_schemaorg/StructuredValue.py b/pydantic_schemaorg/StructuredValue.py index e9d395bf..e07029d7 100644 --- a/pydantic_schemaorg/StructuredValue.py +++ b/pydantic_schemaorg/StructuredValue.py @@ -12,5 +12,5 @@ class StructuredValue(Intangible): See: https://schema.org/StructuredValue Model depth: 3 """ - type_: str = Field(default="StructuredValue", alias='@type') + type_: str = Field(default="StructuredValue", alias='@type', constant=True) diff --git a/pydantic_schemaorg/StudioAlbum.py b/pydantic_schemaorg/StudioAlbum.py index a07f5e72..9b823192 100644 --- a/pydantic_schemaorg/StudioAlbum.py +++ b/pydantic_schemaorg/StudioAlbum.py @@ -11,5 +11,5 @@ class StudioAlbum(MusicAlbumProductionType): See: https://schema.org/StudioAlbum Model depth: 5 """ - type_: str = Field(default="StudioAlbum", alias='@type') + type_: str = Field(default="StudioAlbum", alias='@type', constant=True) diff --git a/pydantic_schemaorg/SubscribeAction.py b/pydantic_schemaorg/SubscribeAction.py index 1a227d0d..45f7381e 100644 --- a/pydantic_schemaorg/SubscribeAction.py +++ b/pydantic_schemaorg/SubscribeAction.py @@ -17,5 +17,5 @@ class SubscribeAction(InteractAction): See: https://schema.org/SubscribeAction Model depth: 4 """ - type_: str = Field(default="SubscribeAction", alias='@type') + type_: str = Field(default="SubscribeAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Subscription.py b/pydantic_schemaorg/Subscription.py index f4836a42..a69d9fec 100644 --- a/pydantic_schemaorg/Subscription.py +++ b/pydantic_schemaorg/Subscription.py @@ -11,5 +11,5 @@ class Subscription(PriceComponentTypeEnumeration): See: https://schema.org/Subscription Model depth: 5 """ - type_: str = Field(default="Subscription", alias='@type') + type_: str = Field(default="Subscription", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Substance.py b/pydantic_schemaorg/Substance.py index 826b0dfc..de620635 100644 --- a/pydantic_schemaorg/Substance.py +++ b/pydantic_schemaorg/Substance.py @@ -15,7 +15,7 @@ class Substance(MedicalEntity): See: https://schema.org/Substance Model depth: 3 """ - type_: str = Field(default="Substance", alias='@type') + type_: str = Field(default="Substance", alias='@type', constant=True) activeIngredient: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="An active ingredient, typically chemical compounds and/or biologic substances.", diff --git a/pydantic_schemaorg/SubwayStation.py b/pydantic_schemaorg/SubwayStation.py index 21aac65f..4c253b3b 100644 --- a/pydantic_schemaorg/SubwayStation.py +++ b/pydantic_schemaorg/SubwayStation.py @@ -11,5 +11,5 @@ class SubwayStation(CivicStructure): See: https://schema.org/SubwayStation Model depth: 4 """ - type_: str = Field(default="SubwayStation", alias='@type') + type_: str = Field(default="SubwayStation", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Suite.py b/pydantic_schemaorg/Suite.py index 37d2d703..6712077c 100644 --- a/pydantic_schemaorg/Suite.py +++ b/pydantic_schemaorg/Suite.py @@ -19,8 +19,8 @@ class Suite(Accommodation): See: https://schema.org/Suite Model depth: 4 """ - type_: str = Field(default="Suite", alias='@type') - numberOfRooms: Optional[Union[List[Union[Decimal, 'Number', 'QuantitativeValue', str]], Decimal, 'Number', 'QuantitativeValue', str]] = Field( + type_: str = Field(default="Suite", alias='@type', constant=True) + numberOfRooms: Optional[Union[List[Union[int, float, 'Number', 'QuantitativeValue', str]], int, float, 'Number', 'QuantitativeValue', str]] = Field( default=None, description="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" diff --git a/pydantic_schemaorg/Sunday.py b/pydantic_schemaorg/Sunday.py index 5a3e85a7..98e16711 100644 --- a/pydantic_schemaorg/Sunday.py +++ b/pydantic_schemaorg/Sunday.py @@ -11,5 +11,5 @@ class Sunday(DayOfWeek): See: https://schema.org/Sunday Model depth: 5 """ - type_: str = Field(default="Sunday", alias='@type') + type_: str = Field(default="Sunday", alias='@type', constant=True) diff --git a/pydantic_schemaorg/SuperficialAnatomy.py b/pydantic_schemaorg/SuperficialAnatomy.py index 6cf3a4a5..fe4f80a4 100644 --- a/pydantic_schemaorg/SuperficialAnatomy.py +++ b/pydantic_schemaorg/SuperficialAnatomy.py @@ -28,7 +28,7 @@ class SuperficialAnatomy(MedicalEntity): See: https://schema.org/SuperficialAnatomy Model depth: 3 """ - type_: str = Field(default="SuperficialAnatomy", alias='@type') + type_: str = Field(default="SuperficialAnatomy", alias='@type', constant=True) significance: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="The significance associated with the superficial anatomy; as an example, how characteristics" diff --git a/pydantic_schemaorg/Surgical.py b/pydantic_schemaorg/Surgical.py index 0d784667..4da66b63 100644 --- a/pydantic_schemaorg/Surgical.py +++ b/pydantic_schemaorg/Surgical.py @@ -12,5 +12,5 @@ class Surgical(MedicalSpecialty): See: https://schema.org/Surgical Model depth: 6 """ - type_: str = Field(default="Surgical", alias='@type') + type_: str = Field(default="Surgical", alias='@type', constant=True) diff --git a/pydantic_schemaorg/SurgicalProcedure.py b/pydantic_schemaorg/SurgicalProcedure.py index 2e69b967..1bd8b2d0 100644 --- a/pydantic_schemaorg/SurgicalProcedure.py +++ b/pydantic_schemaorg/SurgicalProcedure.py @@ -12,5 +12,5 @@ class SurgicalProcedure(MedicalProcedure): See: https://schema.org/SurgicalProcedure Model depth: 4 """ - type_: str = Field(default="SurgicalProcedure", alias='@type') + type_: str = Field(default="SurgicalProcedure", alias='@type', constant=True) diff --git a/pydantic_schemaorg/SuspendAction.py b/pydantic_schemaorg/SuspendAction.py index 26464fed..e6531739 100644 --- a/pydantic_schemaorg/SuspendAction.py +++ b/pydantic_schemaorg/SuspendAction.py @@ -12,5 +12,5 @@ class SuspendAction(ControlAction): See: https://schema.org/SuspendAction Model depth: 4 """ - type_: str = Field(default="SuspendAction", alias='@type') + type_: str = Field(default="SuspendAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Suspended.py b/pydantic_schemaorg/Suspended.py index 36555d01..75015fea 100644 --- a/pydantic_schemaorg/Suspended.py +++ b/pydantic_schemaorg/Suspended.py @@ -11,5 +11,5 @@ class Suspended(MedicalStudyStatus): See: https://schema.org/Suspended Model depth: 6 """ - type_: str = Field(default="Suspended", alias='@type') + type_: str = Field(default="Suspended", alias='@type', constant=True) diff --git a/pydantic_schemaorg/SymptomsHealthAspect.py b/pydantic_schemaorg/SymptomsHealthAspect.py index ba56048d..c4f7af8b 100644 --- a/pydantic_schemaorg/SymptomsHealthAspect.py +++ b/pydantic_schemaorg/SymptomsHealthAspect.py @@ -11,5 +11,5 @@ class SymptomsHealthAspect(HealthAspectEnumeration): See: https://schema.org/SymptomsHealthAspect Model depth: 5 """ - type_: str = Field(default="SymptomsHealthAspect", alias='@type') + type_: str = Field(default="SymptomsHealthAspect", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Synagogue.py b/pydantic_schemaorg/Synagogue.py index 5d569cd6..416f4d5c 100644 --- a/pydantic_schemaorg/Synagogue.py +++ b/pydantic_schemaorg/Synagogue.py @@ -11,5 +11,5 @@ class Synagogue(PlaceOfWorship): See: https://schema.org/Synagogue Model depth: 5 """ - type_: str = Field(default="Synagogue", alias='@type') + type_: str = Field(default="Synagogue", alias='@type', constant=True) diff --git a/pydantic_schemaorg/TVClip.py b/pydantic_schemaorg/TVClip.py index c004b42d..9d511355 100644 --- a/pydantic_schemaorg/TVClip.py +++ b/pydantic_schemaorg/TVClip.py @@ -14,7 +14,7 @@ class TVClip(Clip): See: https://schema.org/TVClip Model depth: 4 """ - type_: str = Field(default="TVClip", alias='@type') + type_: str = Field(default="TVClip", alias='@type', constant=True) partOfTVSeries: Optional[Union[List[Union['TVSeries', str]], 'TVSeries', str]] = Field( default=None, description="The TV series to which this episode or season belongs.", diff --git a/pydantic_schemaorg/TVEpisode.py b/pydantic_schemaorg/TVEpisode.py index 5db83efb..a94f8bf5 100644 --- a/pydantic_schemaorg/TVEpisode.py +++ b/pydantic_schemaorg/TVEpisode.py @@ -15,7 +15,7 @@ class TVEpisode(Episode): See: https://schema.org/TVEpisode Model depth: 4 """ - type_: str = Field(default="TVEpisode", alias='@type') + type_: str = Field(default="TVEpisode", alias='@type', constant=True) subtitleLanguage: Optional[Union[List[Union[str, 'Text', 'Language']], str, 'Text', 'Language']] = Field( default=None, description="Languages in which subtitles/captions are available, in [IETF BCP 47 standard format](http://tools.ietf.org/html/bcp47).", diff --git a/pydantic_schemaorg/TVSeason.py b/pydantic_schemaorg/TVSeason.py index 4dea56af..8a5dcb80 100644 --- a/pydantic_schemaorg/TVSeason.py +++ b/pydantic_schemaorg/TVSeason.py @@ -15,7 +15,7 @@ class TVSeason(CreativeWorkSeason, CreativeWork): See: https://schema.org/TVSeason Model depth: 3 """ - type_: str = Field(default="TVSeason", alias='@type') + type_: str = Field(default="TVSeason", alias='@type', constant=True) countryOfOrigin: Optional[Union[List[Union['Country', str]], 'Country', str]] = Field( default=None, description="The country of origin of something, including products as well as creative works such" diff --git a/pydantic_schemaorg/TVSeries.py b/pydantic_schemaorg/TVSeries.py index 5944ee0a..1a8ec98e 100644 --- a/pydantic_schemaorg/TVSeries.py +++ b/pydantic_schemaorg/TVSeries.py @@ -16,7 +16,7 @@ class TVSeries(CreativeWorkSeries, CreativeWork): See: https://schema.org/TVSeries Model depth: 3 """ - type_: str = Field(default="TVSeries", alias='@type') + type_: str = Field(default="TVSeries", alias='@type', constant=True) actors: Optional[Union[List[Union['Person', str]], 'Person', str]] = Field( default=None, description="An actor, e.g. in tv, radio, movie, video games etc. Actors can be associated with individual" @@ -84,7 +84,7 @@ class TVSeries(CreativeWorkSeries, CreativeWork): description="A director of e.g. tv, radio, movie, video games etc. content. Directors can be associated" "with individual items or with a series, episode, clip.", ) - musicBy: Optional[Union[List[Union['Person', 'MusicGroup', str]], 'Person', 'MusicGroup', str]] = Field( + musicBy: Optional[Union[List[Union['MusicGroup', 'Person', str]], 'MusicGroup', 'Person', str]] = Field( default=None, description="The composer of the soundtrack.", ) diff --git a/pydantic_schemaorg/Table.py b/pydantic_schemaorg/Table.py index 01eb6696..4a594546 100644 --- a/pydantic_schemaorg/Table.py +++ b/pydantic_schemaorg/Table.py @@ -11,5 +11,5 @@ class Table(WebPageElement): See: https://schema.org/Table Model depth: 4 """ - type_: str = Field(default="Table", alias='@type') + type_: str = Field(default="Table", alias='@type', constant=True) diff --git a/pydantic_schemaorg/TakeAction.py b/pydantic_schemaorg/TakeAction.py index a73388b1..9105af0e 100644 --- a/pydantic_schemaorg/TakeAction.py +++ b/pydantic_schemaorg/TakeAction.py @@ -13,5 +13,5 @@ class TakeAction(TransferAction): See: https://schema.org/TakeAction Model depth: 4 """ - type_: str = Field(default="TakeAction", alias='@type') + type_: str = Field(default="TakeAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/TattooParlor.py b/pydantic_schemaorg/TattooParlor.py index 1810c8a3..8a2e28a7 100644 --- a/pydantic_schemaorg/TattooParlor.py +++ b/pydantic_schemaorg/TattooParlor.py @@ -11,5 +11,5 @@ class TattooParlor(HealthAndBeautyBusiness): See: https://schema.org/TattooParlor Model depth: 5 """ - type_: str = Field(default="TattooParlor", alias='@type') + type_: str = Field(default="TattooParlor", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Taxi.py b/pydantic_schemaorg/Taxi.py index 7eb0beea..8bf75e70 100644 --- a/pydantic_schemaorg/Taxi.py +++ b/pydantic_schemaorg/Taxi.py @@ -11,5 +11,5 @@ class Taxi(Service): See: https://schema.org/Taxi Model depth: 4 """ - type_: str = Field(default="Taxi", alias='@type') + type_: str = Field(default="Taxi", alias='@type', constant=True) diff --git a/pydantic_schemaorg/TaxiReservation.py b/pydantic_schemaorg/TaxiReservation.py index 7c2ea289..9ea685f2 100644 --- a/pydantic_schemaorg/TaxiReservation.py +++ b/pydantic_schemaorg/TaxiReservation.py @@ -17,7 +17,7 @@ class TaxiReservation(Reservation): See: https://schema.org/TaxiReservation Model depth: 4 """ - type_: str = Field(default="TaxiReservation", alias='@type') + type_: str = Field(default="TaxiReservation", alias='@type', constant=True) partySize: Optional[Union[List[Union[int, 'Integer', 'QuantitativeValue', str]], int, 'Integer', 'QuantitativeValue', str]] = Field( default=None, description="Number of people the reservation should accommodate.", diff --git a/pydantic_schemaorg/TaxiService.py b/pydantic_schemaorg/TaxiService.py index dc1e0a35..d2056a59 100644 --- a/pydantic_schemaorg/TaxiService.py +++ b/pydantic_schemaorg/TaxiService.py @@ -12,5 +12,5 @@ class TaxiService(Service): See: https://schema.org/TaxiService Model depth: 4 """ - type_: str = Field(default="TaxiService", alias='@type') + type_: str = Field(default="TaxiService", alias='@type', constant=True) diff --git a/pydantic_schemaorg/TaxiStand.py b/pydantic_schemaorg/TaxiStand.py index 7c625c7a..e0b43e96 100644 --- a/pydantic_schemaorg/TaxiStand.py +++ b/pydantic_schemaorg/TaxiStand.py @@ -11,5 +11,5 @@ class TaxiStand(CivicStructure): See: https://schema.org/TaxiStand Model depth: 4 """ - type_: str = Field(default="TaxiStand", alias='@type') + type_: str = Field(default="TaxiStand", alias='@type', constant=True) diff --git a/pydantic_schemaorg/TaxiVehicleUsage.py b/pydantic_schemaorg/TaxiVehicleUsage.py index b1ca664a..d60b5bef 100644 --- a/pydantic_schemaorg/TaxiVehicleUsage.py +++ b/pydantic_schemaorg/TaxiVehicleUsage.py @@ -11,5 +11,5 @@ class TaxiVehicleUsage(CarUsageType): See: https://schema.org/TaxiVehicleUsage Model depth: 5 """ - type_: str = Field(default="TaxiVehicleUsage", alias='@type') + type_: str = Field(default="TaxiVehicleUsage", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Taxon.py b/pydantic_schemaorg/Taxon.py index 4b763128..b76b6abf 100644 --- a/pydantic_schemaorg/Taxon.py +++ b/pydantic_schemaorg/Taxon.py @@ -15,7 +15,7 @@ class Taxon(Thing): See: https://schema.org/Taxon Model depth: 2 """ - type_: str = Field(default="Taxon", alias='@type') + type_: str = Field(default="Taxon", alias='@type', constant=True) hasDefinedTerm: Optional[Union[List[Union['DefinedTerm', str]], 'DefinedTerm', str]] = Field( default=None, description="A Defined Term contained in this term set.", diff --git a/pydantic_schemaorg/TechArticle.py b/pydantic_schemaorg/TechArticle.py index 085f9d64..4e29c0ca 100644 --- a/pydantic_schemaorg/TechArticle.py +++ b/pydantic_schemaorg/TechArticle.py @@ -15,7 +15,7 @@ class TechArticle(Article): See: https://schema.org/TechArticle Model depth: 4 """ - type_: str = Field(default="TechArticle", alias='@type') + type_: str = Field(default="TechArticle", alias='@type', constant=True) proficiencyLevel: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="Proficiency needed for this content; expected values: 'Beginner', 'Expert'.", diff --git a/pydantic_schemaorg/TelevisionChannel.py b/pydantic_schemaorg/TelevisionChannel.py index d22b66fb..605eee17 100644 --- a/pydantic_schemaorg/TelevisionChannel.py +++ b/pydantic_schemaorg/TelevisionChannel.py @@ -11,5 +11,5 @@ class TelevisionChannel(BroadcastChannel): See: https://schema.org/TelevisionChannel Model depth: 4 """ - type_: str = Field(default="TelevisionChannel", alias='@type') + type_: str = Field(default="TelevisionChannel", alias='@type', constant=True) diff --git a/pydantic_schemaorg/TelevisionStation.py b/pydantic_schemaorg/TelevisionStation.py index f8a58400..c0cd7333 100644 --- a/pydantic_schemaorg/TelevisionStation.py +++ b/pydantic_schemaorg/TelevisionStation.py @@ -11,5 +11,5 @@ class TelevisionStation(LocalBusiness): See: https://schema.org/TelevisionStation Model depth: 4 """ - type_: str = Field(default="TelevisionStation", alias='@type') + type_: str = Field(default="TelevisionStation", alias='@type', constant=True) diff --git a/pydantic_schemaorg/TennisComplex.py b/pydantic_schemaorg/TennisComplex.py index 08056c8b..6a6d7182 100644 --- a/pydantic_schemaorg/TennisComplex.py +++ b/pydantic_schemaorg/TennisComplex.py @@ -11,5 +11,5 @@ class TennisComplex(SportsActivityLocation): See: https://schema.org/TennisComplex Model depth: 5 """ - type_: str = Field(default="TennisComplex", alias='@type') + type_: str = Field(default="TennisComplex", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Terminated.py b/pydantic_schemaorg/Terminated.py index 69e8c9ca..be747e49 100644 --- a/pydantic_schemaorg/Terminated.py +++ b/pydantic_schemaorg/Terminated.py @@ -11,5 +11,5 @@ class Terminated(MedicalStudyStatus): See: https://schema.org/Terminated Model depth: 6 """ - type_: str = Field(default="Terminated", alias='@type') + type_: str = Field(default="Terminated", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Text.py b/pydantic_schemaorg/Text.py index b4bec926..27dfecf4 100644 --- a/pydantic_schemaorg/Text.py +++ b/pydantic_schemaorg/Text.py @@ -11,5 +11,5 @@ class Text(DataType): See: https://schema.org/Text Model depth: 5 """ - type_: str = Field(default="Text", alias='@type') + type_: str = Field(default="Text", alias='@type', constant=True) diff --git a/pydantic_schemaorg/TextDigitalDocument.py b/pydantic_schemaorg/TextDigitalDocument.py index 5c0fcda8..1e1fcf12 100644 --- a/pydantic_schemaorg/TextDigitalDocument.py +++ b/pydantic_schemaorg/TextDigitalDocument.py @@ -11,5 +11,5 @@ class TextDigitalDocument(DigitalDocument): See: https://schema.org/TextDigitalDocument Model depth: 4 """ - type_: str = Field(default="TextDigitalDocument", alias='@type') + type_: str = Field(default="TextDigitalDocument", alias='@type', constant=True) diff --git a/pydantic_schemaorg/TheaterEvent.py b/pydantic_schemaorg/TheaterEvent.py index d7a67744..c9da4ab1 100644 --- a/pydantic_schemaorg/TheaterEvent.py +++ b/pydantic_schemaorg/TheaterEvent.py @@ -11,5 +11,5 @@ class TheaterEvent(Event): See: https://schema.org/TheaterEvent Model depth: 3 """ - type_: str = Field(default="TheaterEvent", alias='@type') + type_: str = Field(default="TheaterEvent", alias='@type', constant=True) diff --git a/pydantic_schemaorg/TheaterGroup.py b/pydantic_schemaorg/TheaterGroup.py index 4f98f968..c4240c1b 100644 --- a/pydantic_schemaorg/TheaterGroup.py +++ b/pydantic_schemaorg/TheaterGroup.py @@ -11,5 +11,5 @@ class TheaterGroup(PerformingGroup): See: https://schema.org/TheaterGroup Model depth: 4 """ - type_: str = Field(default="TheaterGroup", alias='@type') + type_: str = Field(default="TheaterGroup", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Therapeutic.py b/pydantic_schemaorg/Therapeutic.py index 6817c628..9229a0df 100644 --- a/pydantic_schemaorg/Therapeutic.py +++ b/pydantic_schemaorg/Therapeutic.py @@ -11,5 +11,5 @@ class Therapeutic(MedicalDevicePurpose): See: https://schema.org/Therapeutic Model depth: 6 """ - type_: str = Field(default="Therapeutic", alias='@type') + type_: str = Field(default="Therapeutic", alias='@type', constant=True) diff --git a/pydantic_schemaorg/TherapeuticProcedure.py b/pydantic_schemaorg/TherapeuticProcedure.py index c438e847..7e6f4938 100644 --- a/pydantic_schemaorg/TherapeuticProcedure.py +++ b/pydantic_schemaorg/TherapeuticProcedure.py @@ -15,7 +15,7 @@ class TherapeuticProcedure(MedicalProcedure): See: https://schema.org/TherapeuticProcedure Model depth: 4 """ - type_: str = Field(default="TherapeuticProcedure", alias='@type') + type_: str = Field(default="TherapeuticProcedure", alias='@type', constant=True) doseSchedule: Optional[Union[List[Union['DoseSchedule', str]], 'DoseSchedule', str]] = Field( default=None, description="A dosing schedule for the drug for a given population, either observed, recommended," diff --git a/pydantic_schemaorg/Thesis.py b/pydantic_schemaorg/Thesis.py index cc16316b..29eb1406 100644 --- a/pydantic_schemaorg/Thesis.py +++ b/pydantic_schemaorg/Thesis.py @@ -15,7 +15,7 @@ class Thesis(CreativeWork): See: https://schema.org/Thesis Model depth: 3 """ - type_: str = Field(default="Thesis", alias='@type') + type_: str = Field(default="Thesis", alias='@type', constant=True) inSupportOf: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="Qualification, candidature, degree, application that Thesis supports.", diff --git a/pydantic_schemaorg/Thing.py b/pydantic_schemaorg/Thing.py index e827da1f..6aea7716 100644 --- a/pydantic_schemaorg/Thing.py +++ b/pydantic_schemaorg/Thing.py @@ -15,7 +15,7 @@ class Thing(SchemaOrgBase): See: https://schema.org/Thing Model depth: 1 """ - type_: str = Field(default="Thing", alias='@type') + type_: str = Field(default="Thing", alias='@type', constant=True) mainEntityOfPage: Optional[Union[List[Union[AnyUrl, 'URL', 'CreativeWork', str]], AnyUrl, 'URL', 'CreativeWork', str]] = Field( default=None, description="Indicates a page (or other CreativeWork) for which this thing is the main entity being" diff --git a/pydantic_schemaorg/Throat.py b/pydantic_schemaorg/Throat.py index f8cde025..66a421ac 100644 --- a/pydantic_schemaorg/Throat.py +++ b/pydantic_schemaorg/Throat.py @@ -11,5 +11,5 @@ class Throat(PhysicalExam): See: https://schema.org/Throat Model depth: 5 """ - type_: str = Field(default="Throat", alias='@type') + type_: str = Field(default="Throat", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Thursday.py b/pydantic_schemaorg/Thursday.py index e2b51986..b2e36309 100644 --- a/pydantic_schemaorg/Thursday.py +++ b/pydantic_schemaorg/Thursday.py @@ -11,5 +11,5 @@ class Thursday(DayOfWeek): See: https://schema.org/Thursday Model depth: 5 """ - type_: str = Field(default="Thursday", alias='@type') + type_: str = Field(default="Thursday", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Ticket.py b/pydantic_schemaorg/Ticket.py index eba1b20d..b5c9de57 100644 --- a/pydantic_schemaorg/Ticket.py +++ b/pydantic_schemaorg/Ticket.py @@ -17,8 +17,8 @@ class Ticket(Intangible): See: https://schema.org/Ticket Model depth: 3 """ - type_: str = Field(default="Ticket", alias='@type') - underName: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + type_: str = Field(default="Ticket", alias='@type', constant=True) + underName: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="The person or organization the reservation or ticket is for.", ) @@ -38,7 +38,7 @@ class Ticket(Intangible): "for cryptocurrencies e.g. \"BTC\"; well known names for [Local Exchange Tradings Systems](https://en.wikipedia.org/wiki/Local_exchange_trading_system)" "(LETS) and other currency types e.g. \"Ithaca HOUR\".", ) - totalPrice: Optional[Union[List[Union[Decimal, 'Number', str, 'Text', 'PriceSpecification']], Decimal, 'Number', str, 'Text', 'PriceSpecification']] = Field( + totalPrice: Optional[Union[List[Union[int, float, 'Number', str, 'Text', 'PriceSpecification']], int, float, 'Number', str, 'Text', 'PriceSpecification']] = Field( default=None, description="The total price for the reservation or ticket, including applicable taxes, shipping," "etc. Usage guidelines: * Use values from 0123456789 (Unicode 'DIGIT ZERO' (U+0030)" @@ -61,8 +61,8 @@ class Ticket(Intangible): if TYPE_CHECKING: - from pydantic_schemaorg.Person import Person from pydantic_schemaorg.Organization import Organization + from pydantic_schemaorg.Person import Person from pydantic_schemaorg.Text import Text from pydantic_schemaorg.URL import URL from pydantic_schemaorg.Number import Number diff --git a/pydantic_schemaorg/TieAction.py b/pydantic_schemaorg/TieAction.py index 756e858c..02c50c8e 100644 --- a/pydantic_schemaorg/TieAction.py +++ b/pydantic_schemaorg/TieAction.py @@ -11,5 +11,5 @@ class TieAction(AchieveAction): See: https://schema.org/TieAction Model depth: 4 """ - type_: str = Field(default="TieAction", alias='@type') + type_: str = Field(default="TieAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Time.py b/pydantic_schemaorg/Time.py index 8defe005..de21ba81 100644 --- a/pydantic_schemaorg/Time.py +++ b/pydantic_schemaorg/Time.py @@ -12,5 +12,5 @@ class Time(DataType): See: https://schema.org/Time Model depth: 5 """ - type_: str = Field(default="Time", alias='@type') + type_: str = Field(default="Time", alias='@type', constant=True) diff --git a/pydantic_schemaorg/TipAction.py b/pydantic_schemaorg/TipAction.py index 4f0d3cc6..1d95f457 100644 --- a/pydantic_schemaorg/TipAction.py +++ b/pydantic_schemaorg/TipAction.py @@ -14,15 +14,15 @@ class TipAction(TradeAction): See: https://schema.org/TipAction Model depth: 4 """ - type_: str = Field(default="TipAction", alias='@type') - recipient: Optional[Union[List[Union['Person', 'Audience', 'Organization', 'ContactPoint', str]], 'Person', 'Audience', 'Organization', 'ContactPoint', str]] = Field( + type_: str = Field(default="TipAction", alias='@type', constant=True) + recipient: Optional[Union[List[Union['ContactPoint', 'Audience', 'Organization', 'Person', str]], 'ContactPoint', 'Audience', 'Organization', 'Person', str]] = Field( default=None, description="A sub property of participant. The participant who is at the receiving end of the action.", ) if TYPE_CHECKING: - from pydantic_schemaorg.Person import Person + from pydantic_schemaorg.ContactPoint import ContactPoint from pydantic_schemaorg.Audience import Audience from pydantic_schemaorg.Organization import Organization - from pydantic_schemaorg.ContactPoint import ContactPoint + from pydantic_schemaorg.Person import Person diff --git a/pydantic_schemaorg/TireShop.py b/pydantic_schemaorg/TireShop.py index fe62a8d5..0a89eeeb 100644 --- a/pydantic_schemaorg/TireShop.py +++ b/pydantic_schemaorg/TireShop.py @@ -11,5 +11,5 @@ class TireShop(Store): See: https://schema.org/TireShop Model depth: 5 """ - type_: str = Field(default="TireShop", alias='@type') + type_: str = Field(default="TireShop", alias='@type', constant=True) diff --git a/pydantic_schemaorg/TollFree.py b/pydantic_schemaorg/TollFree.py index 04c9fdae..409892c0 100644 --- a/pydantic_schemaorg/TollFree.py +++ b/pydantic_schemaorg/TollFree.py @@ -11,5 +11,5 @@ class TollFree(ContactPointOption): See: https://schema.org/TollFree Model depth: 5 """ - type_: str = Field(default="TollFree", alias='@type') + type_: str = Field(default="TollFree", alias='@type', constant=True) diff --git a/pydantic_schemaorg/TouristAttraction.py b/pydantic_schemaorg/TouristAttraction.py index 56404f0a..e8aa4440 100644 --- a/pydantic_schemaorg/TouristAttraction.py +++ b/pydantic_schemaorg/TouristAttraction.py @@ -18,7 +18,7 @@ class TouristAttraction(Place): See: https://schema.org/TouristAttraction Model depth: 3 """ - type_: str = Field(default="TouristAttraction", alias='@type') + type_: str = Field(default="TouristAttraction", alias='@type', constant=True) availableLanguage: Optional[Union[List[Union[str, 'Text', 'Language']], str, 'Text', 'Language']] = Field( default=None, description="A language someone may use with or at the item, service or place. Please use one of the language" diff --git a/pydantic_schemaorg/TouristDestination.py b/pydantic_schemaorg/TouristDestination.py index 6ce6bef1..5305d417 100644 --- a/pydantic_schemaorg/TouristDestination.py +++ b/pydantic_schemaorg/TouristDestination.py @@ -21,7 +21,7 @@ class TouristDestination(Place): See: https://schema.org/TouristDestination Model depth: 3 """ - type_: str = Field(default="TouristDestination", alias='@type') + type_: str = Field(default="TouristDestination", alias='@type', constant=True) includesAttraction: Optional[Union[List[Union['TouristAttraction', str]], 'TouristAttraction', str]] = Field( default=None, description="Attraction located at destination.", diff --git a/pydantic_schemaorg/TouristInformationCenter.py b/pydantic_schemaorg/TouristInformationCenter.py index 76a2bed9..d7d8df55 100644 --- a/pydantic_schemaorg/TouristInformationCenter.py +++ b/pydantic_schemaorg/TouristInformationCenter.py @@ -11,5 +11,5 @@ class TouristInformationCenter(LocalBusiness): See: https://schema.org/TouristInformationCenter Model depth: 4 """ - type_: str = Field(default="TouristInformationCenter", alias='@type') + type_: str = Field(default="TouristInformationCenter", alias='@type', constant=True) diff --git a/pydantic_schemaorg/TouristTrip.py b/pydantic_schemaorg/TouristTrip.py index ae18d6ee..60f447f0 100644 --- a/pydantic_schemaorg/TouristTrip.py +++ b/pydantic_schemaorg/TouristTrip.py @@ -17,7 +17,7 @@ class TouristTrip(Trip): See: https://schema.org/TouristTrip Model depth: 4 """ - type_: str = Field(default="TouristTrip", alias='@type') + type_: str = Field(default="TouristTrip", alias='@type', constant=True) touristType: Optional[Union[List[Union[str, 'Text', 'Audience']], str, 'Text', 'Audience']] = Field( default=None, description="Attraction suitable for type(s) of tourist. eg. Children, visitors from a particular" diff --git a/pydantic_schemaorg/Toxicologic.py b/pydantic_schemaorg/Toxicologic.py index 60bac1f9..29d7be7b 100644 --- a/pydantic_schemaorg/Toxicologic.py +++ b/pydantic_schemaorg/Toxicologic.py @@ -12,5 +12,5 @@ class Toxicologic(MedicalSpecialty): See: https://schema.org/Toxicologic Model depth: 6 """ - type_: str = Field(default="Toxicologic", alias='@type') + type_: str = Field(default="Toxicologic", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ToyStore.py b/pydantic_schemaorg/ToyStore.py index dba7f5c0..2d0e0fb4 100644 --- a/pydantic_schemaorg/ToyStore.py +++ b/pydantic_schemaorg/ToyStore.py @@ -11,5 +11,5 @@ class ToyStore(Store): See: https://schema.org/ToyStore Model depth: 5 """ - type_: str = Field(default="ToyStore", alias='@type') + type_: str = Field(default="ToyStore", alias='@type', constant=True) diff --git a/pydantic_schemaorg/TrackAction.py b/pydantic_schemaorg/TrackAction.py index 4c17814c..7889dd43 100644 --- a/pydantic_schemaorg/TrackAction.py +++ b/pydantic_schemaorg/TrackAction.py @@ -17,7 +17,7 @@ class TrackAction(FindAction): See: https://schema.org/TrackAction Model depth: 4 """ - type_: str = Field(default="TrackAction", alias='@type') + type_: str = Field(default="TrackAction", alias='@type', constant=True) deliveryMethod: Optional[Union[List[Union['DeliveryMethod', str]], 'DeliveryMethod', str]] = Field( default=None, description="A sub property of instrument. The method of delivery.", diff --git a/pydantic_schemaorg/TradeAction.py b/pydantic_schemaorg/TradeAction.py index 7e00300c..5dc34da1 100644 --- a/pydantic_schemaorg/TradeAction.py +++ b/pydantic_schemaorg/TradeAction.py @@ -17,7 +17,7 @@ class TradeAction(Action): See: https://schema.org/TradeAction Model depth: 3 """ - type_: str = Field(default="TradeAction", alias='@type') + type_: str = Field(default="TradeAction", alias='@type', constant=True) priceCurrency: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="The currency of the price, or a price component when attached to [[PriceSpecification]]" @@ -26,7 +26,7 @@ class TradeAction(Action): "for cryptocurrencies e.g. \"BTC\"; well known names for [Local Exchange Tradings Systems](https://en.wikipedia.org/wiki/Local_exchange_trading_system)" "(LETS) and other currency types e.g. \"Ithaca HOUR\".", ) - price: Optional[Union[List[Union[Decimal, 'Number', str, 'Text']], Decimal, 'Number', str, 'Text']] = Field( + price: Optional[Union[List[Union[int, float, 'Number', str, 'Text']], int, float, 'Number', str, 'Text']] = Field( default=None, description="The offer price of a product, or of a price component when attached to PriceSpecification" "and its subtypes. Usage guidelines: * Use the [[priceCurrency]] property (with standard" diff --git a/pydantic_schemaorg/TraditionalChinese.py b/pydantic_schemaorg/TraditionalChinese.py index c511f1fd..af590384 100644 --- a/pydantic_schemaorg/TraditionalChinese.py +++ b/pydantic_schemaorg/TraditionalChinese.py @@ -13,5 +13,5 @@ class TraditionalChinese(MedicineSystem): See: https://schema.org/TraditionalChinese Model depth: 6 """ - type_: str = Field(default="TraditionalChinese", alias='@type') + type_: str = Field(default="TraditionalChinese", alias='@type', constant=True) diff --git a/pydantic_schemaorg/TrainReservation.py b/pydantic_schemaorg/TrainReservation.py index 107312bf..cd0df182 100644 --- a/pydantic_schemaorg/TrainReservation.py +++ b/pydantic_schemaorg/TrainReservation.py @@ -13,5 +13,5 @@ class TrainReservation(Reservation): See: https://schema.org/TrainReservation Model depth: 4 """ - type_: str = Field(default="TrainReservation", alias='@type') + type_: str = Field(default="TrainReservation", alias='@type', constant=True) diff --git a/pydantic_schemaorg/TrainStation.py b/pydantic_schemaorg/TrainStation.py index d1cfa3a4..77833eaf 100644 --- a/pydantic_schemaorg/TrainStation.py +++ b/pydantic_schemaorg/TrainStation.py @@ -11,5 +11,5 @@ class TrainStation(CivicStructure): See: https://schema.org/TrainStation Model depth: 4 """ - type_: str = Field(default="TrainStation", alias='@type') + type_: str = Field(default="TrainStation", alias='@type', constant=True) diff --git a/pydantic_schemaorg/TrainTrip.py b/pydantic_schemaorg/TrainTrip.py index 9ba4b171..7b8dc57a 100644 --- a/pydantic_schemaorg/TrainTrip.py +++ b/pydantic_schemaorg/TrainTrip.py @@ -14,7 +14,7 @@ class TrainTrip(Trip): See: https://schema.org/TrainTrip Model depth: 4 """ - type_: str = Field(default="TrainTrip", alias='@type') + type_: str = Field(default="TrainTrip", alias='@type', constant=True) arrivalStation: Optional[Union[List[Union['TrainStation', str]], 'TrainStation', str]] = Field( default=None, description="The station where the train trip ends.", diff --git a/pydantic_schemaorg/TransferAction.py b/pydantic_schemaorg/TransferAction.py index 12134346..82df8adc 100644 --- a/pydantic_schemaorg/TransferAction.py +++ b/pydantic_schemaorg/TransferAction.py @@ -15,7 +15,7 @@ class TransferAction(Action): See: https://schema.org/TransferAction Model depth: 3 """ - type_: str = Field(default="TransferAction", alias='@type') + type_: str = Field(default="TransferAction", alias='@type', constant=True) fromLocation: Optional[Union[List[Union['Place', str]], 'Place', str]] = Field( default=None, description="A sub property of location. The original location of the object or the agent before the" diff --git a/pydantic_schemaorg/TransformedContent.py b/pydantic_schemaorg/TransformedContent.py index e23df674..f96faae7 100644 --- a/pydantic_schemaorg/TransformedContent.py +++ b/pydantic_schemaorg/TransformedContent.py @@ -21,5 +21,5 @@ class TransformedContent(MediaManipulationRatingEnumeration): See: https://schema.org/TransformedContent Model depth: 5 """ - type_: str = Field(default="TransformedContent", alias='@type') + type_: str = Field(default="TransformedContent", alias='@type', constant=True) diff --git a/pydantic_schemaorg/TransitMap.py b/pydantic_schemaorg/TransitMap.py index eeb24b14..2203afc7 100644 --- a/pydantic_schemaorg/TransitMap.py +++ b/pydantic_schemaorg/TransitMap.py @@ -11,5 +11,5 @@ class TransitMap(MapCategoryType): See: https://schema.org/TransitMap Model depth: 5 """ - type_: str = Field(default="TransitMap", alias='@type') + type_: str = Field(default="TransitMap", alias='@type', constant=True) diff --git a/pydantic_schemaorg/TravelAction.py b/pydantic_schemaorg/TravelAction.py index e675979e..6ab0e030 100644 --- a/pydantic_schemaorg/TravelAction.py +++ b/pydantic_schemaorg/TravelAction.py @@ -15,7 +15,7 @@ class TravelAction(MoveAction): See: https://schema.org/TravelAction Model depth: 4 """ - type_: str = Field(default="TravelAction", alias='@type') + type_: str = Field(default="TravelAction", alias='@type', constant=True) distance: Optional[Union[List[Union['Distance', str]], 'Distance', str]] = Field( default=None, description="The distance travelled, e.g. exercising or travelling.", diff --git a/pydantic_schemaorg/TravelAgency.py b/pydantic_schemaorg/TravelAgency.py index 97547eaa..f48f0805 100644 --- a/pydantic_schemaorg/TravelAgency.py +++ b/pydantic_schemaorg/TravelAgency.py @@ -11,5 +11,5 @@ class TravelAgency(LocalBusiness): See: https://schema.org/TravelAgency Model depth: 4 """ - type_: str = Field(default="TravelAgency", alias='@type') + type_: str = Field(default="TravelAgency", alias='@type', constant=True) diff --git a/pydantic_schemaorg/TreatmentIndication.py b/pydantic_schemaorg/TreatmentIndication.py index 4069f705..a6249a65 100644 --- a/pydantic_schemaorg/TreatmentIndication.py +++ b/pydantic_schemaorg/TreatmentIndication.py @@ -11,5 +11,5 @@ class TreatmentIndication(MedicalIndication): See: https://schema.org/TreatmentIndication Model depth: 4 """ - type_: str = Field(default="TreatmentIndication", alias='@type') + type_: str = Field(default="TreatmentIndication", alias='@type', constant=True) diff --git a/pydantic_schemaorg/TreatmentsHealthAspect.py b/pydantic_schemaorg/TreatmentsHealthAspect.py index f19a534e..4ee2014e 100644 --- a/pydantic_schemaorg/TreatmentsHealthAspect.py +++ b/pydantic_schemaorg/TreatmentsHealthAspect.py @@ -11,5 +11,5 @@ class TreatmentsHealthAspect(HealthAspectEnumeration): See: https://schema.org/TreatmentsHealthAspect Model depth: 5 """ - type_: str = Field(default="TreatmentsHealthAspect", alias='@type') + type_: str = Field(default="TreatmentsHealthAspect", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Trip.py b/pydantic_schemaorg/Trip.py index 7a7f7eda..acfd2d22 100644 --- a/pydantic_schemaorg/Trip.py +++ b/pydantic_schemaorg/Trip.py @@ -16,8 +16,8 @@ class Trip(Intangible): See: https://schema.org/Trip Model depth: 3 """ - type_: str = Field(default="Trip", alias='@type') - offers: Optional[Union[List[Union['Offer', 'Demand', str]], 'Offer', 'Demand', str]] = Field( + type_: str = Field(default="Trip", alias='@type', constant=True) + offers: Optional[Union[List[Union['Demand', 'Offer', str]], 'Demand', 'Offer', str]] = Field( default=None, description="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]]" @@ -44,7 +44,7 @@ class Trip(Intangible): default=None, description="The expected arrival time.", ) - provider: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + provider: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="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." @@ -58,11 +58,11 @@ class Trip(Intangible): if TYPE_CHECKING: - from pydantic_schemaorg.Offer import Offer from pydantic_schemaorg.Demand import Demand + from pydantic_schemaorg.Offer import Offer from pydantic_schemaorg.DateTime import DateTime from pydantic_schemaorg.Time import Time from pydantic_schemaorg.Place import Place from pydantic_schemaorg.ItemList import ItemList - from pydantic_schemaorg.Person import Person from pydantic_schemaorg.Organization import Organization + from pydantic_schemaorg.Person import Person diff --git a/pydantic_schemaorg/TripleBlindedTrial.py b/pydantic_schemaorg/TripleBlindedTrial.py index e5819636..d431fb45 100644 --- a/pydantic_schemaorg/TripleBlindedTrial.py +++ b/pydantic_schemaorg/TripleBlindedTrial.py @@ -13,5 +13,5 @@ class TripleBlindedTrial(MedicalTrialDesign): See: https://schema.org/TripleBlindedTrial Model depth: 6 """ - type_: str = Field(default="TripleBlindedTrial", alias='@type') + type_: str = Field(default="TripleBlindedTrial", alias='@type', constant=True) diff --git a/pydantic_schemaorg/True_.py b/pydantic_schemaorg/True_.py index c402d21e..8880919b 100644 --- a/pydantic_schemaorg/True_.py +++ b/pydantic_schemaorg/True_.py @@ -11,5 +11,5 @@ class True_(Boolean): See: https://schema.org/True Model depth: 6 """ - type_: str = Field(default="True", alias='@type') + type_: str = Field(default="True", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Tuesday.py b/pydantic_schemaorg/Tuesday.py index c68c5508..1530425c 100644 --- a/pydantic_schemaorg/Tuesday.py +++ b/pydantic_schemaorg/Tuesday.py @@ -11,5 +11,5 @@ class Tuesday(DayOfWeek): See: https://schema.org/Tuesday Model depth: 5 """ - type_: str = Field(default="Tuesday", alias='@type') + type_: str = Field(default="Tuesday", alias='@type', constant=True) diff --git a/pydantic_schemaorg/TypeAndQuantityNode.py b/pydantic_schemaorg/TypeAndQuantityNode.py index 53fee69f..cf038661 100644 --- a/pydantic_schemaorg/TypeAndQuantityNode.py +++ b/pydantic_schemaorg/TypeAndQuantityNode.py @@ -17,7 +17,7 @@ class TypeAndQuantityNode(StructuredValue): See: https://schema.org/TypeAndQuantityNode Model depth: 4 """ - type_: str = Field(default="TypeAndQuantityNode", alias='@type') + type_: str = Field(default="TypeAndQuantityNode", alias='@type', constant=True) businessFunction: Optional[Union[List[Union['BusinessFunction', str]], 'BusinessFunction', str]] = Field( default=None, description="The business function (e.g. sell, lease, repair, dispose) of the offer or component" @@ -37,7 +37,7 @@ class TypeAndQuantityNode(StructuredValue): description="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.", ) - amountOfThisGood: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( + amountOfThisGood: Optional[Union[List[Union[int, float, 'Number', str]], int, float, 'Number', str]] = Field( default=None, description="The quantity of the goods included in the offer.", ) diff --git a/pydantic_schemaorg/TypesHealthAspect.py b/pydantic_schemaorg/TypesHealthAspect.py index 08814e11..fc486c94 100644 --- a/pydantic_schemaorg/TypesHealthAspect.py +++ b/pydantic_schemaorg/TypesHealthAspect.py @@ -11,5 +11,5 @@ class TypesHealthAspect(HealthAspectEnumeration): See: https://schema.org/TypesHealthAspect Model depth: 5 """ - type_: str = Field(default="TypesHealthAspect", alias='@type') + type_: str = Field(default="TypesHealthAspect", alias='@type', constant=True) diff --git a/pydantic_schemaorg/UKNonprofitType.py b/pydantic_schemaorg/UKNonprofitType.py index 70c01ce8..3ef034fb 100644 --- a/pydantic_schemaorg/UKNonprofitType.py +++ b/pydantic_schemaorg/UKNonprofitType.py @@ -11,5 +11,5 @@ class UKNonprofitType(NonprofitType): See: https://schema.org/UKNonprofitType Model depth: 5 """ - type_: str = Field(default="UKNonprofitType", alias='@type') + type_: str = Field(default="UKNonprofitType", alias='@type', constant=True) diff --git a/pydantic_schemaorg/UKTrust.py b/pydantic_schemaorg/UKTrust.py index a91c0a8c..44b8a65a 100644 --- a/pydantic_schemaorg/UKTrust.py +++ b/pydantic_schemaorg/UKTrust.py @@ -11,5 +11,5 @@ class UKTrust(UKNonprofitType): See: https://schema.org/UKTrust Model depth: 6 """ - type_: str = Field(default="UKTrust", alias='@type') + type_: str = Field(default="UKTrust", alias='@type', constant=True) diff --git a/pydantic_schemaorg/URL.py b/pydantic_schemaorg/URL.py index 0b666d50..9b98abbc 100644 --- a/pydantic_schemaorg/URL.py +++ b/pydantic_schemaorg/URL.py @@ -11,5 +11,5 @@ class URL(Text): See: https://schema.org/URL Model depth: 6 """ - type_: str = Field(default="URL", alias='@type') + type_: str = Field(default="URL", alias='@type', constant=True) diff --git a/pydantic_schemaorg/USNonprofitType.py b/pydantic_schemaorg/USNonprofitType.py index 2e412678..37638b35 100644 --- a/pydantic_schemaorg/USNonprofitType.py +++ b/pydantic_schemaorg/USNonprofitType.py @@ -11,5 +11,5 @@ class USNonprofitType(NonprofitType): See: https://schema.org/USNonprofitType Model depth: 5 """ - type_: str = Field(default="USNonprofitType", alias='@type') + type_: str = Field(default="USNonprofitType", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Ultrasound.py b/pydantic_schemaorg/Ultrasound.py index fecbc1fe..c4a1baf4 100644 --- a/pydantic_schemaorg/Ultrasound.py +++ b/pydantic_schemaorg/Ultrasound.py @@ -11,5 +11,5 @@ class Ultrasound(MedicalImagingTechnique): See: https://schema.org/Ultrasound Model depth: 6 """ - type_: str = Field(default="Ultrasound", alias='@type') + type_: str = Field(default="Ultrasound", alias='@type', constant=True) diff --git a/pydantic_schemaorg/UnRegisterAction.py b/pydantic_schemaorg/UnRegisterAction.py index 2bce8b83..f3f39129 100644 --- a/pydantic_schemaorg/UnRegisterAction.py +++ b/pydantic_schemaorg/UnRegisterAction.py @@ -14,5 +14,5 @@ class UnRegisterAction(InteractAction): See: https://schema.org/UnRegisterAction Model depth: 4 """ - type_: str = Field(default="UnRegisterAction", alias='@type') + type_: str = Field(default="UnRegisterAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/UnemploymentSupport.py b/pydantic_schemaorg/UnemploymentSupport.py index a13b11e0..daa5c421 100644 --- a/pydantic_schemaorg/UnemploymentSupport.py +++ b/pydantic_schemaorg/UnemploymentSupport.py @@ -11,5 +11,5 @@ class UnemploymentSupport(GovernmentBenefitsType): See: https://schema.org/UnemploymentSupport Model depth: 5 """ - type_: str = Field(default="UnemploymentSupport", alias='@type') + type_: str = Field(default="UnemploymentSupport", alias='@type', constant=True) diff --git a/pydantic_schemaorg/UnincorporatedAssociationCharity.py b/pydantic_schemaorg/UnincorporatedAssociationCharity.py index 3dfdb7b0..17b726dc 100644 --- a/pydantic_schemaorg/UnincorporatedAssociationCharity.py +++ b/pydantic_schemaorg/UnincorporatedAssociationCharity.py @@ -12,5 +12,5 @@ class UnincorporatedAssociationCharity(UKNonprofitType): See: https://schema.org/UnincorporatedAssociationCharity Model depth: 6 """ - type_: str = Field(default="UnincorporatedAssociationCharity", alias='@type') + type_: str = Field(default="UnincorporatedAssociationCharity", alias='@type', constant=True) diff --git a/pydantic_schemaorg/UnitPriceSpecification.py b/pydantic_schemaorg/UnitPriceSpecification.py index 40c35ac1..d4080a93 100644 --- a/pydantic_schemaorg/UnitPriceSpecification.py +++ b/pydantic_schemaorg/UnitPriceSpecification.py @@ -16,14 +16,14 @@ class UnitPriceSpecification(PriceSpecification): See: https://schema.org/UnitPriceSpecification Model depth: 5 """ - type_: str = Field(default="UnitPriceSpecification", alias='@type') - billingStart: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( + type_: str = Field(default="UnitPriceSpecification", alias='@type', constant=True) + billingStart: Optional[Union[List[Union[int, float, 'Number', str]], int, float, 'Number', str]] = Field( default=None, description="Specifies after how much time this price (or price component) becomes valid and billing" "starts. Can be used, for example, to model a price increase after the first year of a subscription." "The unit of measurement is specified by the unitCode property.", ) - billingIncrement: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( + billingIncrement: Optional[Union[List[Union[int, float, 'Number', str]], int, float, 'Number', str]] = Field( default=None, description="This property specifies the minimal quantity and rounding increment that will be the" "basis for the billing. The unit of measurement is specified by the unitCode property.", @@ -42,7 +42,7 @@ class UnitPriceSpecification(PriceSpecification): "PriceTypeEnumeration or as a free form text string for price types that are not already" "predefined in PriceTypeEnumeration.", ) - billingDuration: Optional[Union[List[Union[Decimal, 'Number', 'QuantitativeValue', 'Duration', str]], Decimal, 'Number', 'QuantitativeValue', 'Duration', str]] = Field( + billingDuration: Optional[Union[List[Union[int, float, 'Number', 'Duration', 'QuantitativeValue', str]], int, float, 'Number', 'Duration', 'QuantitativeValue', str]] = Field( default=None, description="Specifies for how long this price (or price component) will be billed. Can be used, for" "example, to model the contractual duration of a subscription or payment plan. Type can" @@ -71,7 +71,7 @@ class UnitPriceSpecification(PriceSpecification): from pydantic_schemaorg.Number import Number from pydantic_schemaorg.Text import Text from pydantic_schemaorg.PriceTypeEnumeration import PriceTypeEnumeration - from pydantic_schemaorg.QuantitativeValue import QuantitativeValue from pydantic_schemaorg.Duration import Duration + from pydantic_schemaorg.QuantitativeValue import QuantitativeValue from pydantic_schemaorg.URL import URL from pydantic_schemaorg.PriceComponentTypeEnumeration import PriceComponentTypeEnumeration diff --git a/pydantic_schemaorg/UnofficialLegalValue.py b/pydantic_schemaorg/UnofficialLegalValue.py index 5f6969a3..02cfc051 100644 --- a/pydantic_schemaorg/UnofficialLegalValue.py +++ b/pydantic_schemaorg/UnofficialLegalValue.py @@ -12,5 +12,5 @@ class UnofficialLegalValue(LegalValueLevel): See: https://schema.org/UnofficialLegalValue Model depth: 5 """ - type_: str = Field(default="UnofficialLegalValue", alias='@type') + type_: str = Field(default="UnofficialLegalValue", alias='@type', constant=True) diff --git a/pydantic_schemaorg/UpdateAction.py b/pydantic_schemaorg/UpdateAction.py index 6acb060c..59d26b7c 100644 --- a/pydantic_schemaorg/UpdateAction.py +++ b/pydantic_schemaorg/UpdateAction.py @@ -14,7 +14,7 @@ class UpdateAction(Action): See: https://schema.org/UpdateAction Model depth: 3 """ - type_: str = Field(default="UpdateAction", alias='@type') + type_: str = Field(default="UpdateAction", alias='@type', constant=True) collection: Optional[Union[List[Union['Thing', str]], 'Thing', str]] = Field( default=None, description="A sub property of object. The collection target of the action.", diff --git a/pydantic_schemaorg/Urologic.py b/pydantic_schemaorg/Urologic.py index b9bed36d..8c09abbb 100644 --- a/pydantic_schemaorg/Urologic.py +++ b/pydantic_schemaorg/Urologic.py @@ -12,5 +12,5 @@ class Urologic(MedicalSpecialty): See: https://schema.org/Urologic Model depth: 6 """ - type_: str = Field(default="Urologic", alias='@type') + type_: str = Field(default="Urologic", alias='@type', constant=True) diff --git a/pydantic_schemaorg/UsageOrScheduleHealthAspect.py b/pydantic_schemaorg/UsageOrScheduleHealthAspect.py index d5d7dd7f..e92defaf 100644 --- a/pydantic_schemaorg/UsageOrScheduleHealthAspect.py +++ b/pydantic_schemaorg/UsageOrScheduleHealthAspect.py @@ -11,5 +11,5 @@ class UsageOrScheduleHealthAspect(HealthAspectEnumeration): See: https://schema.org/UsageOrScheduleHealthAspect Model depth: 5 """ - type_: str = Field(default="UsageOrScheduleHealthAspect", alias='@type') + type_: str = Field(default="UsageOrScheduleHealthAspect", alias='@type', constant=True) diff --git a/pydantic_schemaorg/UseAction.py b/pydantic_schemaorg/UseAction.py index 4d32172f..a4ff3667 100644 --- a/pydantic_schemaorg/UseAction.py +++ b/pydantic_schemaorg/UseAction.py @@ -11,5 +11,5 @@ class UseAction(ConsumeAction): See: https://schema.org/UseAction Model depth: 4 """ - type_: str = Field(default="UseAction", alias='@type') + type_: str = Field(default="UseAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/UsedCondition.py b/pydantic_schemaorg/UsedCondition.py index 28757c29..1259d001 100644 --- a/pydantic_schemaorg/UsedCondition.py +++ b/pydantic_schemaorg/UsedCondition.py @@ -11,5 +11,5 @@ class UsedCondition(OfferItemCondition): See: https://schema.org/UsedCondition Model depth: 5 """ - type_: str = Field(default="UsedCondition", alias='@type') + type_: str = Field(default="UsedCondition", alias='@type', constant=True) diff --git a/pydantic_schemaorg/UserBlocks.py b/pydantic_schemaorg/UserBlocks.py index 52f65cf3..645d1c72 100644 --- a/pydantic_schemaorg/UserBlocks.py +++ b/pydantic_schemaorg/UserBlocks.py @@ -13,5 +13,5 @@ class UserBlocks(UserInteraction): See: https://schema.org/UserBlocks Model depth: 4 """ - type_: str = Field(default="UserBlocks", alias='@type') + type_: str = Field(default="UserBlocks", alias='@type', constant=True) diff --git a/pydantic_schemaorg/UserCheckins.py b/pydantic_schemaorg/UserCheckins.py index 628086fe..20f91b06 100644 --- a/pydantic_schemaorg/UserCheckins.py +++ b/pydantic_schemaorg/UserCheckins.py @@ -13,5 +13,5 @@ class UserCheckins(UserInteraction): See: https://schema.org/UserCheckins Model depth: 4 """ - type_: str = Field(default="UserCheckins", alias='@type') + type_: str = Field(default="UserCheckins", alias='@type', constant=True) diff --git a/pydantic_schemaorg/UserComments.py b/pydantic_schemaorg/UserComments.py index 62e14fb2..98e5f1a3 100644 --- a/pydantic_schemaorg/UserComments.py +++ b/pydantic_schemaorg/UserComments.py @@ -18,7 +18,7 @@ class UserComments(UserInteraction): See: https://schema.org/UserComments Model depth: 4 """ - type_: str = Field(default="UserComments", alias='@type') + type_: str = Field(default="UserComments", alias='@type', constant=True) discusses: Optional[Union[List[Union['CreativeWork', str]], 'CreativeWork', str]] = Field( default=None, description="Specifies the CreativeWork associated with the UserComment.", @@ -35,7 +35,7 @@ class UserComments(UserInteraction): default=None, description="The time at which the UserComment was made.", ) - creator: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + creator: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="The creator/author of this CreativeWork. This is the same as the Author property for" "CreativeWork.", @@ -48,5 +48,5 @@ class UserComments(UserInteraction): from pydantic_schemaorg.URL import URL from pydantic_schemaorg.DateTime import DateTime from pydantic_schemaorg.Date import Date - from pydantic_schemaorg.Person import Person from pydantic_schemaorg.Organization import Organization + from pydantic_schemaorg.Person import Person diff --git a/pydantic_schemaorg/UserDownloads.py b/pydantic_schemaorg/UserDownloads.py index 94177fe4..53c8200b 100644 --- a/pydantic_schemaorg/UserDownloads.py +++ b/pydantic_schemaorg/UserDownloads.py @@ -13,5 +13,5 @@ class UserDownloads(UserInteraction): See: https://schema.org/UserDownloads Model depth: 4 """ - type_: str = Field(default="UserDownloads", alias='@type') + type_: str = Field(default="UserDownloads", alias='@type', constant=True) diff --git a/pydantic_schemaorg/UserInteraction.py b/pydantic_schemaorg/UserInteraction.py index 16262ed2..ae422a80 100644 --- a/pydantic_schemaorg/UserInteraction.py +++ b/pydantic_schemaorg/UserInteraction.py @@ -13,5 +13,5 @@ class UserInteraction(Event): See: https://schema.org/UserInteraction Model depth: 3 """ - type_: str = Field(default="UserInteraction", alias='@type') + type_: str = Field(default="UserInteraction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/UserLikes.py b/pydantic_schemaorg/UserLikes.py index bbe3a1b0..cb78710d 100644 --- a/pydantic_schemaorg/UserLikes.py +++ b/pydantic_schemaorg/UserLikes.py @@ -13,5 +13,5 @@ class UserLikes(UserInteraction): See: https://schema.org/UserLikes Model depth: 4 """ - type_: str = Field(default="UserLikes", alias='@type') + type_: str = Field(default="UserLikes", alias='@type', constant=True) diff --git a/pydantic_schemaorg/UserPageVisits.py b/pydantic_schemaorg/UserPageVisits.py index ba5f7cd4..534d6c1a 100644 --- a/pydantic_schemaorg/UserPageVisits.py +++ b/pydantic_schemaorg/UserPageVisits.py @@ -13,5 +13,5 @@ class UserPageVisits(UserInteraction): See: https://schema.org/UserPageVisits Model depth: 4 """ - type_: str = Field(default="UserPageVisits", alias='@type') + type_: str = Field(default="UserPageVisits", alias='@type', constant=True) diff --git a/pydantic_schemaorg/UserPlays.py b/pydantic_schemaorg/UserPlays.py index 49f87e9b..c4b41cf6 100644 --- a/pydantic_schemaorg/UserPlays.py +++ b/pydantic_schemaorg/UserPlays.py @@ -13,5 +13,5 @@ class UserPlays(UserInteraction): See: https://schema.org/UserPlays Model depth: 4 """ - type_: str = Field(default="UserPlays", alias='@type') + type_: str = Field(default="UserPlays", alias='@type', constant=True) diff --git a/pydantic_schemaorg/UserPlusOnes.py b/pydantic_schemaorg/UserPlusOnes.py index 128d6c70..e039cbc0 100644 --- a/pydantic_schemaorg/UserPlusOnes.py +++ b/pydantic_schemaorg/UserPlusOnes.py @@ -13,5 +13,5 @@ class UserPlusOnes(UserInteraction): See: https://schema.org/UserPlusOnes Model depth: 4 """ - type_: str = Field(default="UserPlusOnes", alias='@type') + type_: str = Field(default="UserPlusOnes", alias='@type', constant=True) diff --git a/pydantic_schemaorg/UserReview.py b/pydantic_schemaorg/UserReview.py index 4c4662ff..b82103e5 100644 --- a/pydantic_schemaorg/UserReview.py +++ b/pydantic_schemaorg/UserReview.py @@ -12,5 +12,5 @@ class UserReview(Review): See: https://schema.org/UserReview Model depth: 4 """ - type_: str = Field(default="UserReview", alias='@type') + type_: str = Field(default="UserReview", alias='@type', constant=True) diff --git a/pydantic_schemaorg/UserTweets.py b/pydantic_schemaorg/UserTweets.py index 0bb593f6..5e9253f8 100644 --- a/pydantic_schemaorg/UserTweets.py +++ b/pydantic_schemaorg/UserTweets.py @@ -13,5 +13,5 @@ class UserTweets(UserInteraction): See: https://schema.org/UserTweets Model depth: 4 """ - type_: str = Field(default="UserTweets", alias='@type') + type_: str = Field(default="UserTweets", alias='@type', constant=True) diff --git a/pydantic_schemaorg/VeganDiet.py b/pydantic_schemaorg/VeganDiet.py index 6748b22c..c5d74f78 100644 --- a/pydantic_schemaorg/VeganDiet.py +++ b/pydantic_schemaorg/VeganDiet.py @@ -11,5 +11,5 @@ class VeganDiet(RestrictedDiet): See: https://schema.org/VeganDiet Model depth: 5 """ - type_: str = Field(default="VeganDiet", alias='@type') + type_: str = Field(default="VeganDiet", alias='@type', constant=True) diff --git a/pydantic_schemaorg/VegetarianDiet.py b/pydantic_schemaorg/VegetarianDiet.py index 450932f1..d0b677b7 100644 --- a/pydantic_schemaorg/VegetarianDiet.py +++ b/pydantic_schemaorg/VegetarianDiet.py @@ -11,5 +11,5 @@ class VegetarianDiet(RestrictedDiet): See: https://schema.org/VegetarianDiet Model depth: 5 """ - type_: str = Field(default="VegetarianDiet", alias='@type') + type_: str = Field(default="VegetarianDiet", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Vehicle.py b/pydantic_schemaorg/Vehicle.py index 60be3feb..a8ec89c9 100644 --- a/pydantic_schemaorg/Vehicle.py +++ b/pydantic_schemaorg/Vehicle.py @@ -18,7 +18,7 @@ class Vehicle(Product): See: https://schema.org/Vehicle Model depth: 3 """ - type_: str = Field(default="Vehicle", alias='@type') + type_: str = Field(default="Vehicle", alias='@type', constant=True) meetsEmissionStandard: Optional[Union[List[Union[AnyUrl, 'URL', str, 'Text', 'QualitativeValue']], AnyUrl, 'URL', str, 'Text', 'QualitativeValue']] = Field( default=None, description="Indicates that the vehicle meets the respective emission standard.", @@ -27,7 +27,7 @@ class Vehicle(Product): default=None, description="A textual description of known damages, both repaired and unrepaired.", ) - numberOfDoors: Optional[Union[List[Union[Decimal, 'Number', 'QuantitativeValue', str]], Decimal, 'Number', 'QuantitativeValue', str]] = Field( + numberOfDoors: Optional[Union[List[Union[int, float, 'Number', 'QuantitativeValue', str]], int, float, 'Number', 'QuantitativeValue', str]] = Field( default=None, description="The number of doors. Typical unit code(s): C62", ) @@ -52,7 +52,7 @@ class Vehicle(Product): description="The Vehicle Identification Number (VIN) is a unique serial number used by the automotive" "industry to identify individual motor vehicles.", ) - numberOfAxles: Optional[Union[List[Union[Decimal, 'Number', 'QuantitativeValue', str]], Decimal, 'Number', 'QuantitativeValue', str]] = Field( + numberOfAxles: Optional[Union[List[Union[int, float, 'Number', 'QuantitativeValue', str]], int, float, 'Number', 'QuantitativeValue', str]] = Field( default=None, description="The number of axles. Typical unit code(s): C62", ) @@ -71,7 +71,7 @@ class Vehicle(Product): default=None, description="The color or color combination of the interior of the vehicle.", ) - seatingCapacity: Optional[Union[List[Union[Decimal, 'Number', 'QuantitativeValue', str]], Decimal, 'Number', 'QuantitativeValue', str]] = Field( + seatingCapacity: Optional[Union[List[Union[int, float, 'Number', 'QuantitativeValue', str]], int, float, 'Number', 'QuantitativeValue', str]] = Field( default=None, description="The number of persons that can be seated (e.g. in a vehicle), both in terms of the physical" "space available, and in terms of limitations set by law. Typical unit code(s): C62 for" @@ -147,7 +147,7 @@ class Vehicle(Product): "the speed range. You can link to information about how the given value has been determined" "using the [[valueReference]] property.", ) - emissionsCO2: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( + emissionsCO2: Optional[Union[List[Union[int, float, 'Number', str]], int, float, 'Number', str]] = Field( default=None, description="The CO2 emissions in g/km. When used in combination with a QuantitativeValue, put \"g/km\"" "into the unitText property of that value, since there is no UN/CEFACT Common Code for" @@ -165,12 +165,12 @@ class Vehicle(Product): "node that provides additional information using [[valueReference]]. * Note 3: Note" "that you can use [[minValue]] and [[maxValue]] to indicate ranges.", ) - numberOfForwardGears: Optional[Union[List[Union[Decimal, 'Number', 'QuantitativeValue', str]], Decimal, 'Number', 'QuantitativeValue', str]] = Field( + numberOfForwardGears: Optional[Union[List[Union[int, float, 'Number', 'QuantitativeValue', str]], int, float, 'Number', 'QuantitativeValue', str]] = Field( default=None, description="The total number of forward gears available for the transmission system of the vehicle." "Typical unit code(s): C62", ) - numberOfAirbags: Optional[Union[List[Union[Decimal, 'Number', str, 'Text']], Decimal, 'Number', str, 'Text']] = Field( + numberOfAirbags: Optional[Union[List[Union[int, float, 'Number', str, 'Text']], int, float, 'Number', str, 'Text']] = Field( default=None, description="The number or type of airbags in the vehicle.", ) @@ -187,7 +187,7 @@ class Vehicle(Product): default=None, description="The position of the steering wheel or similar device (mostly for cars).", ) - numberOfPreviousOwners: Optional[Union[List[Union[Decimal, 'Number', 'QuantitativeValue', str]], Decimal, 'Number', 'QuantitativeValue', str]] = Field( + numberOfPreviousOwners: Optional[Union[List[Union[int, float, 'Number', 'QuantitativeValue', str]], int, float, 'Number', 'QuantitativeValue', str]] = Field( default=None, description="The number of owners of the vehicle, including the current one. Typical unit code(s):" "C62", @@ -232,7 +232,7 @@ class Vehicle(Product): "node that provides additional information using [[valueReference]]. * Note 3: Note" "that you can use [[minValue]] and [[maxValue]] to indicate ranges.", ) - vehicleSeatingCapacity: Optional[Union[List[Union[Decimal, 'Number', 'QuantitativeValue', str]], Decimal, 'Number', 'QuantitativeValue', str]] = Field( + vehicleSeatingCapacity: Optional[Union[List[Union[int, float, 'Number', 'QuantitativeValue', str]], int, float, 'Number', 'QuantitativeValue', str]] = Field( default=None, description="The number of passengers that can be seated in the vehicle, both in terms of the physical" "space available, and in terms of limitations set by law. Typical unit code(s): C62 for" diff --git a/pydantic_schemaorg/Vein.py b/pydantic_schemaorg/Vein.py index 7a9f22d6..740c69af 100644 --- a/pydantic_schemaorg/Vein.py +++ b/pydantic_schemaorg/Vein.py @@ -14,7 +14,7 @@ class Vein(Vessel): See: https://schema.org/Vein Model depth: 5 """ - type_: str = Field(default="Vein", alias='@type') + type_: str = Field(default="Vein", alias='@type', constant=True) tributary: Optional[Union[List[Union['AnatomicalStructure', str]], 'AnatomicalStructure', str]] = Field( default=None, description="The anatomical or organ system that the vein flows into; a larger structure that the vein" diff --git a/pydantic_schemaorg/VenueMap.py b/pydantic_schemaorg/VenueMap.py index bdb1f174..717b21f4 100644 --- a/pydantic_schemaorg/VenueMap.py +++ b/pydantic_schemaorg/VenueMap.py @@ -11,5 +11,5 @@ class VenueMap(MapCategoryType): See: https://schema.org/VenueMap Model depth: 5 """ - type_: str = Field(default="VenueMap", alias='@type') + type_: str = Field(default="VenueMap", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Vessel.py b/pydantic_schemaorg/Vessel.py index b1835511..c4c57421 100644 --- a/pydantic_schemaorg/Vessel.py +++ b/pydantic_schemaorg/Vessel.py @@ -12,5 +12,5 @@ class Vessel(AnatomicalStructure): See: https://schema.org/Vessel Model depth: 4 """ - type_: str = Field(default="Vessel", alias='@type') + type_: str = Field(default="Vessel", alias='@type', constant=True) diff --git a/pydantic_schemaorg/VeterinaryCare.py b/pydantic_schemaorg/VeterinaryCare.py index e1f94098..08d01d4c 100644 --- a/pydantic_schemaorg/VeterinaryCare.py +++ b/pydantic_schemaorg/VeterinaryCare.py @@ -11,5 +11,5 @@ class VeterinaryCare(MedicalOrganization): See: https://schema.org/VeterinaryCare Model depth: 4 """ - type_: str = Field(default="VeterinaryCare", alias='@type') + type_: str = Field(default="VeterinaryCare", alias='@type', constant=True) diff --git a/pydantic_schemaorg/VideoGallery.py b/pydantic_schemaorg/VideoGallery.py index 4d7d84e1..01e1b35c 100644 --- a/pydantic_schemaorg/VideoGallery.py +++ b/pydantic_schemaorg/VideoGallery.py @@ -11,5 +11,5 @@ class VideoGallery(MediaGallery): See: https://schema.org/VideoGallery Model depth: 6 """ - type_: str = Field(default="VideoGallery", alias='@type') + type_: str = Field(default="VideoGallery", alias='@type', constant=True) diff --git a/pydantic_schemaorg/VideoGame.py b/pydantic_schemaorg/VideoGame.py index aa43ac05..54668bc6 100644 --- a/pydantic_schemaorg/VideoGame.py +++ b/pydantic_schemaorg/VideoGame.py @@ -6,18 +6,18 @@ from pydantic import Field -from pydantic_schemaorg.Game import Game from pydantic_schemaorg.SoftwareApplication import SoftwareApplication +from pydantic_schemaorg.Game import Game -class VideoGame(Game, SoftwareApplication): +class VideoGame(SoftwareApplication, Game): """A video game is an electronic game that involves human interaction with a user interface" "to generate visual feedback on a video device. See: https://schema.org/VideoGame Model depth: 4 """ - type_: str = Field(default="VideoGame", alias='@type') + type_: str = Field(default="VideoGame", alias='@type', constant=True) actors: Optional[Union[List[Union['Person', str]], 'Person', str]] = Field( default=None, description="An actor, e.g. in tv, radio, movie, video games etc. Actors can be associated with individual" @@ -64,7 +64,7 @@ class VideoGame(Game, SoftwareApplication): description="A director of e.g. tv, radio, movie, video games etc. content. Directors can be associated" "with individual items or with a series, episode, clip.", ) - musicBy: Optional[Union[List[Union['Person', 'MusicGroup', str]], 'Person', 'MusicGroup', str]] = Field( + musicBy: Optional[Union[List[Union['MusicGroup', 'Person', str]], 'MusicGroup', 'Person', str]] = Field( default=None, description="The composer of the soundtrack.", ) diff --git a/pydantic_schemaorg/VideoGameClip.py b/pydantic_schemaorg/VideoGameClip.py index e594c622..2fa14f3e 100644 --- a/pydantic_schemaorg/VideoGameClip.py +++ b/pydantic_schemaorg/VideoGameClip.py @@ -11,5 +11,5 @@ class VideoGameClip(Clip): See: https://schema.org/VideoGameClip Model depth: 4 """ - type_: str = Field(default="VideoGameClip", alias='@type') + type_: str = Field(default="VideoGameClip", alias='@type', constant=True) diff --git a/pydantic_schemaorg/VideoGameSeries.py b/pydantic_schemaorg/VideoGameSeries.py index ee74f7da..b59cd281 100644 --- a/pydantic_schemaorg/VideoGameSeries.py +++ b/pydantic_schemaorg/VideoGameSeries.py @@ -15,7 +15,7 @@ class VideoGameSeries(CreativeWorkSeries): See: https://schema.org/VideoGameSeries Model depth: 4 """ - type_: str = Field(default="VideoGameSeries", alias='@type') + type_: str = Field(default="VideoGameSeries", alias='@type', constant=True) actors: Optional[Union[List[Union['Person', str]], 'Person', str]] = Field( default=None, description="An actor, e.g. in tv, radio, movie, video games etc. Actors can be associated with individual" @@ -110,7 +110,7 @@ class VideoGameSeries(CreativeWorkSeries): description="A director of e.g. tv, radio, movie, video games etc. content. Directors can be associated" "with individual items or with a series, episode, clip.", ) - musicBy: Optional[Union[List[Union['Person', 'MusicGroup', str]], 'Person', 'MusicGroup', str]] = Field( + musicBy: Optional[Union[List[Union['MusicGroup', 'Person', str]], 'MusicGroup', 'Person', str]] = Field( default=None, description="The composer of the soundtrack.", ) diff --git a/pydantic_schemaorg/VideoObject.py b/pydantic_schemaorg/VideoObject.py index e1f624d6..579e0927 100644 --- a/pydantic_schemaorg/VideoObject.py +++ b/pydantic_schemaorg/VideoObject.py @@ -14,7 +14,7 @@ class VideoObject(MediaObject): See: https://schema.org/VideoObject Model depth: 4 """ - type_: str = Field(default="VideoObject", alias='@type') + type_: str = Field(default="VideoObject", alias='@type', constant=True) actors: Optional[Union[List[Union['Person', str]], 'Person', str]] = Field( default=None, description="An actor, e.g. in tv, radio, movie, video games etc. Actors can be associated with individual" @@ -60,7 +60,7 @@ class VideoObject(MediaObject): description="The caption for this object. For downloadable machine formats (closed caption, subtitles" "etc.) use MediaObject and indicate the [[encodingFormat]].", ) - musicBy: Optional[Union[List[Union['Person', 'MusicGroup', str]], 'Person', 'MusicGroup', str]] = Field( + musicBy: Optional[Union[List[Union['MusicGroup', 'Person', str]], 'MusicGroup', 'Person', str]] = Field( default=None, description="The composer of the soundtrack.", ) diff --git a/pydantic_schemaorg/VideoObjectSnapshot.py b/pydantic_schemaorg/VideoObjectSnapshot.py index 0d2c3592..5d4fe895 100644 --- a/pydantic_schemaorg/VideoObjectSnapshot.py +++ b/pydantic_schemaorg/VideoObjectSnapshot.py @@ -15,5 +15,5 @@ class VideoObjectSnapshot(VideoObject): See: https://schema.org/VideoObjectSnapshot Model depth: 5 """ - type_: str = Field(default="VideoObjectSnapshot", alias='@type') + type_: str = Field(default="VideoObjectSnapshot", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ViewAction.py b/pydantic_schemaorg/ViewAction.py index cbf1da50..a251278c 100644 --- a/pydantic_schemaorg/ViewAction.py +++ b/pydantic_schemaorg/ViewAction.py @@ -11,5 +11,5 @@ class ViewAction(ConsumeAction): See: https://schema.org/ViewAction Model depth: 4 """ - type_: str = Field(default="ViewAction", alias='@type') + type_: str = Field(default="ViewAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/VinylFormat.py b/pydantic_schemaorg/VinylFormat.py index f50d011e..767fab1e 100644 --- a/pydantic_schemaorg/VinylFormat.py +++ b/pydantic_schemaorg/VinylFormat.py @@ -11,5 +11,5 @@ class VinylFormat(MusicReleaseFormatType): See: https://schema.org/VinylFormat Model depth: 5 """ - type_: str = Field(default="VinylFormat", alias='@type') + type_: str = Field(default="VinylFormat", alias='@type', constant=True) diff --git a/pydantic_schemaorg/VirtualLocation.py b/pydantic_schemaorg/VirtualLocation.py index d022b35d..68dc5d36 100644 --- a/pydantic_schemaorg/VirtualLocation.py +++ b/pydantic_schemaorg/VirtualLocation.py @@ -14,5 +14,5 @@ class VirtualLocation(Intangible): See: https://schema.org/VirtualLocation Model depth: 3 """ - type_: str = Field(default="VirtualLocation", alias='@type') + type_: str = Field(default="VirtualLocation", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Virus.py b/pydantic_schemaorg/Virus.py index 9b41afd7..f69a5391 100644 --- a/pydantic_schemaorg/Virus.py +++ b/pydantic_schemaorg/Virus.py @@ -11,5 +11,5 @@ class Virus(InfectiousAgentClass): See: https://schema.org/Virus Model depth: 6 """ - type_: str = Field(default="Virus", alias='@type') + type_: str = Field(default="Virus", alias='@type', constant=True) diff --git a/pydantic_schemaorg/VisualArtsEvent.py b/pydantic_schemaorg/VisualArtsEvent.py index 639cec4d..ffe2416c 100644 --- a/pydantic_schemaorg/VisualArtsEvent.py +++ b/pydantic_schemaorg/VisualArtsEvent.py @@ -11,5 +11,5 @@ class VisualArtsEvent(Event): See: https://schema.org/VisualArtsEvent Model depth: 3 """ - type_: str = Field(default="VisualArtsEvent", alias='@type') + type_: str = Field(default="VisualArtsEvent", alias='@type', constant=True) diff --git a/pydantic_schemaorg/VisualArtwork.py b/pydantic_schemaorg/VisualArtwork.py index 0cf1214f..a49d3933 100644 --- a/pydantic_schemaorg/VisualArtwork.py +++ b/pydantic_schemaorg/VisualArtwork.py @@ -15,7 +15,7 @@ class VisualArtwork(CreativeWork): See: https://schema.org/VisualArtwork Model depth: 3 """ - type_: str = Field(default="VisualArtwork", alias='@type') + type_: str = Field(default="VisualArtwork", alias='@type', constant=True) artworkSurface: Optional[Union[List[Union[AnyUrl, 'URL', str, 'Text']], AnyUrl, 'URL', str, 'Text']] = Field( default=None, description="The supporting materials for the artwork, e.g. Canvas, Paper, Wood, Board, etc.", @@ -34,7 +34,7 @@ class VisualArtwork(CreativeWork): default=None, description="The individual who adds color to inked drawings.", ) - height: Optional[Union[List[Union['QuantitativeValue', 'Distance', str]], 'QuantitativeValue', 'Distance', str]] = Field( + height: Optional[Union[List[Union['Distance', 'QuantitativeValue', str]], 'Distance', 'QuantitativeValue', str]] = Field( default=None, description="The height of the item.", ) diff --git a/pydantic_schemaorg/VitalSign.py b/pydantic_schemaorg/VitalSign.py index 3c186ecc..ee37daf7 100644 --- a/pydantic_schemaorg/VitalSign.py +++ b/pydantic_schemaorg/VitalSign.py @@ -12,5 +12,5 @@ class VitalSign(MedicalSign): See: https://schema.org/VitalSign Model depth: 6 """ - type_: str = Field(default="VitalSign", alias='@type') + type_: str = Field(default="VitalSign", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Volcano.py b/pydantic_schemaorg/Volcano.py index 2f8e1aae..79802a7f 100644 --- a/pydantic_schemaorg/Volcano.py +++ b/pydantic_schemaorg/Volcano.py @@ -11,5 +11,5 @@ class Volcano(Landform): See: https://schema.org/Volcano Model depth: 4 """ - type_: str = Field(default="Volcano", alias='@type') + type_: str = Field(default="Volcano", alias='@type', constant=True) diff --git a/pydantic_schemaorg/VoteAction.py b/pydantic_schemaorg/VoteAction.py index 3e8d1a0a..967958c5 100644 --- a/pydantic_schemaorg/VoteAction.py +++ b/pydantic_schemaorg/VoteAction.py @@ -14,7 +14,7 @@ class VoteAction(ChooseAction): See: https://schema.org/VoteAction Model depth: 5 """ - type_: str = Field(default="VoteAction", alias='@type') + type_: str = Field(default="VoteAction", alias='@type', constant=True) candidate: Optional[Union[List[Union['Person', str]], 'Person', str]] = Field( default=None, description="A sub property of object. The candidate subject of this action.", diff --git a/pydantic_schemaorg/WPAdBlock.py b/pydantic_schemaorg/WPAdBlock.py index d1c5dd87..499d1b70 100644 --- a/pydantic_schemaorg/WPAdBlock.py +++ b/pydantic_schemaorg/WPAdBlock.py @@ -11,5 +11,5 @@ class WPAdBlock(WebPageElement): See: https://schema.org/WPAdBlock Model depth: 4 """ - type_: str = Field(default="WPAdBlock", alias='@type') + type_: str = Field(default="WPAdBlock", alias='@type', constant=True) diff --git a/pydantic_schemaorg/WPFooter.py b/pydantic_schemaorg/WPFooter.py index 43e37032..3573d043 100644 --- a/pydantic_schemaorg/WPFooter.py +++ b/pydantic_schemaorg/WPFooter.py @@ -11,5 +11,5 @@ class WPFooter(WebPageElement): See: https://schema.org/WPFooter Model depth: 4 """ - type_: str = Field(default="WPFooter", alias='@type') + type_: str = Field(default="WPFooter", alias='@type', constant=True) diff --git a/pydantic_schemaorg/WPHeader.py b/pydantic_schemaorg/WPHeader.py index 703931c0..d39c0e7c 100644 --- a/pydantic_schemaorg/WPHeader.py +++ b/pydantic_schemaorg/WPHeader.py @@ -11,5 +11,5 @@ class WPHeader(WebPageElement): See: https://schema.org/WPHeader Model depth: 4 """ - type_: str = Field(default="WPHeader", alias='@type') + type_: str = Field(default="WPHeader", alias='@type', constant=True) diff --git a/pydantic_schemaorg/WPSideBar.py b/pydantic_schemaorg/WPSideBar.py index 0d7cf2e6..a7ba3f3e 100644 --- a/pydantic_schemaorg/WPSideBar.py +++ b/pydantic_schemaorg/WPSideBar.py @@ -11,5 +11,5 @@ class WPSideBar(WebPageElement): See: https://schema.org/WPSideBar Model depth: 4 """ - type_: str = Field(default="WPSideBar", alias='@type') + type_: str = Field(default="WPSideBar", alias='@type', constant=True) diff --git a/pydantic_schemaorg/WantAction.py b/pydantic_schemaorg/WantAction.py index c47ab943..e07c1bb3 100644 --- a/pydantic_schemaorg/WantAction.py +++ b/pydantic_schemaorg/WantAction.py @@ -11,5 +11,5 @@ class WantAction(ReactAction): See: https://schema.org/WantAction Model depth: 5 """ - type_: str = Field(default="WantAction", alias='@type') + type_: str = Field(default="WantAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/WarrantyPromise.py b/pydantic_schemaorg/WarrantyPromise.py index e5160189..655a56fc 100644 --- a/pydantic_schemaorg/WarrantyPromise.py +++ b/pydantic_schemaorg/WarrantyPromise.py @@ -15,7 +15,7 @@ class WarrantyPromise(StructuredValue): See: https://schema.org/WarrantyPromise Model depth: 4 """ - type_: str = Field(default="WarrantyPromise", alias='@type') + type_: str = Field(default="WarrantyPromise", alias='@type', constant=True) warrantyScope: Optional[Union[List[Union['WarrantyScope', str]], 'WarrantyScope', str]] = Field( default=None, description="The scope of the warranty promise.", diff --git a/pydantic_schemaorg/WarrantyScope.py b/pydantic_schemaorg/WarrantyScope.py index 3d9fd9d2..eddf357d 100644 --- a/pydantic_schemaorg/WarrantyScope.py +++ b/pydantic_schemaorg/WarrantyScope.py @@ -13,5 +13,5 @@ class WarrantyScope(Enumeration): See: https://schema.org/WarrantyScope Model depth: 4 """ - type_: str = Field(default="WarrantyScope", alias='@type') + type_: str = Field(default="WarrantyScope", alias='@type', constant=True) diff --git a/pydantic_schemaorg/WatchAction.py b/pydantic_schemaorg/WatchAction.py index 7aef3c52..13854496 100644 --- a/pydantic_schemaorg/WatchAction.py +++ b/pydantic_schemaorg/WatchAction.py @@ -11,5 +11,5 @@ class WatchAction(ConsumeAction): See: https://schema.org/WatchAction Model depth: 4 """ - type_: str = Field(default="WatchAction", alias='@type') + type_: str = Field(default="WatchAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Waterfall.py b/pydantic_schemaorg/Waterfall.py index ea683dc7..0435a547 100644 --- a/pydantic_schemaorg/Waterfall.py +++ b/pydantic_schemaorg/Waterfall.py @@ -11,5 +11,5 @@ class Waterfall(BodyOfWater): See: https://schema.org/Waterfall Model depth: 5 """ - type_: str = Field(default="Waterfall", alias='@type') + type_: str = Field(default="Waterfall", alias='@type', constant=True) diff --git a/pydantic_schemaorg/WearAction.py b/pydantic_schemaorg/WearAction.py index 169ba16d..4cafef83 100644 --- a/pydantic_schemaorg/WearAction.py +++ b/pydantic_schemaorg/WearAction.py @@ -11,5 +11,5 @@ class WearAction(UseAction): See: https://schema.org/WearAction Model depth: 5 """ - type_: str = Field(default="WearAction", alias='@type') + type_: str = Field(default="WearAction", alias='@type', constant=True) diff --git a/pydantic_schemaorg/WearableMeasurementBack.py b/pydantic_schemaorg/WearableMeasurementBack.py index 2ed925a3..73b2aa75 100644 --- a/pydantic_schemaorg/WearableMeasurementBack.py +++ b/pydantic_schemaorg/WearableMeasurementBack.py @@ -11,5 +11,5 @@ class WearableMeasurementBack(WearableMeasurementTypeEnumeration): See: https://schema.org/WearableMeasurementBack Model depth: 6 """ - type_: str = Field(default="WearableMeasurementBack", alias='@type') + type_: str = Field(default="WearableMeasurementBack", alias='@type', constant=True) diff --git a/pydantic_schemaorg/WearableMeasurementChestOrBust.py b/pydantic_schemaorg/WearableMeasurementChestOrBust.py index 5ba38a50..986f09db 100644 --- a/pydantic_schemaorg/WearableMeasurementChestOrBust.py +++ b/pydantic_schemaorg/WearableMeasurementChestOrBust.py @@ -11,5 +11,5 @@ class WearableMeasurementChestOrBust(WearableMeasurementTypeEnumeration): See: https://schema.org/WearableMeasurementChestOrBust Model depth: 6 """ - type_: str = Field(default="WearableMeasurementChestOrBust", alias='@type') + type_: str = Field(default="WearableMeasurementChestOrBust", alias='@type', constant=True) diff --git a/pydantic_schemaorg/WearableMeasurementCollar.py b/pydantic_schemaorg/WearableMeasurementCollar.py index cd9be17f..db6ef9ab 100644 --- a/pydantic_schemaorg/WearableMeasurementCollar.py +++ b/pydantic_schemaorg/WearableMeasurementCollar.py @@ -11,5 +11,5 @@ class WearableMeasurementCollar(WearableMeasurementTypeEnumeration): See: https://schema.org/WearableMeasurementCollar Model depth: 6 """ - type_: str = Field(default="WearableMeasurementCollar", alias='@type') + type_: str = Field(default="WearableMeasurementCollar", alias='@type', constant=True) diff --git a/pydantic_schemaorg/WearableMeasurementCup.py b/pydantic_schemaorg/WearableMeasurementCup.py index 72260adc..161331e2 100644 --- a/pydantic_schemaorg/WearableMeasurementCup.py +++ b/pydantic_schemaorg/WearableMeasurementCup.py @@ -11,5 +11,5 @@ class WearableMeasurementCup(WearableMeasurementTypeEnumeration): See: https://schema.org/WearableMeasurementCup Model depth: 6 """ - type_: str = Field(default="WearableMeasurementCup", alias='@type') + type_: str = Field(default="WearableMeasurementCup", alias='@type', constant=True) diff --git a/pydantic_schemaorg/WearableMeasurementHeight.py b/pydantic_schemaorg/WearableMeasurementHeight.py index 2fc6122a..a40bdbac 100644 --- a/pydantic_schemaorg/WearableMeasurementHeight.py +++ b/pydantic_schemaorg/WearableMeasurementHeight.py @@ -11,5 +11,5 @@ class WearableMeasurementHeight(WearableMeasurementTypeEnumeration): See: https://schema.org/WearableMeasurementHeight Model depth: 6 """ - type_: str = Field(default="WearableMeasurementHeight", alias='@type') + type_: str = Field(default="WearableMeasurementHeight", alias='@type', constant=True) diff --git a/pydantic_schemaorg/WearableMeasurementHips.py b/pydantic_schemaorg/WearableMeasurementHips.py index c9a712dd..fa6d7ea7 100644 --- a/pydantic_schemaorg/WearableMeasurementHips.py +++ b/pydantic_schemaorg/WearableMeasurementHips.py @@ -11,5 +11,5 @@ class WearableMeasurementHips(WearableMeasurementTypeEnumeration): See: https://schema.org/WearableMeasurementHips Model depth: 6 """ - type_: str = Field(default="WearableMeasurementHips", alias='@type') + type_: str = Field(default="WearableMeasurementHips", alias='@type', constant=True) diff --git a/pydantic_schemaorg/WearableMeasurementInseam.py b/pydantic_schemaorg/WearableMeasurementInseam.py index 468e6b36..524788c3 100644 --- a/pydantic_schemaorg/WearableMeasurementInseam.py +++ b/pydantic_schemaorg/WearableMeasurementInseam.py @@ -11,5 +11,5 @@ class WearableMeasurementInseam(WearableMeasurementTypeEnumeration): See: https://schema.org/WearableMeasurementInseam Model depth: 6 """ - type_: str = Field(default="WearableMeasurementInseam", alias='@type') + type_: str = Field(default="WearableMeasurementInseam", alias='@type', constant=True) diff --git a/pydantic_schemaorg/WearableMeasurementLength.py b/pydantic_schemaorg/WearableMeasurementLength.py index a556ef58..f573797a 100644 --- a/pydantic_schemaorg/WearableMeasurementLength.py +++ b/pydantic_schemaorg/WearableMeasurementLength.py @@ -11,5 +11,5 @@ class WearableMeasurementLength(WearableMeasurementTypeEnumeration): See: https://schema.org/WearableMeasurementLength Model depth: 6 """ - type_: str = Field(default="WearableMeasurementLength", alias='@type') + type_: str = Field(default="WearableMeasurementLength", alias='@type', constant=True) diff --git a/pydantic_schemaorg/WearableMeasurementOutsideLeg.py b/pydantic_schemaorg/WearableMeasurementOutsideLeg.py index 8513f194..67287415 100644 --- a/pydantic_schemaorg/WearableMeasurementOutsideLeg.py +++ b/pydantic_schemaorg/WearableMeasurementOutsideLeg.py @@ -11,5 +11,5 @@ class WearableMeasurementOutsideLeg(WearableMeasurementTypeEnumeration): See: https://schema.org/WearableMeasurementOutsideLeg Model depth: 6 """ - type_: str = Field(default="WearableMeasurementOutsideLeg", alias='@type') + type_: str = Field(default="WearableMeasurementOutsideLeg", alias='@type', constant=True) diff --git a/pydantic_schemaorg/WearableMeasurementSleeve.py b/pydantic_schemaorg/WearableMeasurementSleeve.py index 2c8df8b0..27d41529 100644 --- a/pydantic_schemaorg/WearableMeasurementSleeve.py +++ b/pydantic_schemaorg/WearableMeasurementSleeve.py @@ -11,5 +11,5 @@ class WearableMeasurementSleeve(WearableMeasurementTypeEnumeration): See: https://schema.org/WearableMeasurementSleeve Model depth: 6 """ - type_: str = Field(default="WearableMeasurementSleeve", alias='@type') + type_: str = Field(default="WearableMeasurementSleeve", alias='@type', constant=True) diff --git a/pydantic_schemaorg/WearableMeasurementTypeEnumeration.py b/pydantic_schemaorg/WearableMeasurementTypeEnumeration.py index a7fab7d0..104a70b6 100644 --- a/pydantic_schemaorg/WearableMeasurementTypeEnumeration.py +++ b/pydantic_schemaorg/WearableMeasurementTypeEnumeration.py @@ -11,5 +11,5 @@ class WearableMeasurementTypeEnumeration(MeasurementTypeEnumeration): See: https://schema.org/WearableMeasurementTypeEnumeration Model depth: 5 """ - type_: str = Field(default="WearableMeasurementTypeEnumeration", alias='@type') + type_: str = Field(default="WearableMeasurementTypeEnumeration", alias='@type', constant=True) diff --git a/pydantic_schemaorg/WearableMeasurementWaist.py b/pydantic_schemaorg/WearableMeasurementWaist.py index 09e10a2b..7a710d72 100644 --- a/pydantic_schemaorg/WearableMeasurementWaist.py +++ b/pydantic_schemaorg/WearableMeasurementWaist.py @@ -11,5 +11,5 @@ class WearableMeasurementWaist(WearableMeasurementTypeEnumeration): See: https://schema.org/WearableMeasurementWaist Model depth: 6 """ - type_: str = Field(default="WearableMeasurementWaist", alias='@type') + type_: str = Field(default="WearableMeasurementWaist", alias='@type', constant=True) diff --git a/pydantic_schemaorg/WearableMeasurementWidth.py b/pydantic_schemaorg/WearableMeasurementWidth.py index 7337ed7f..2c9d269f 100644 --- a/pydantic_schemaorg/WearableMeasurementWidth.py +++ b/pydantic_schemaorg/WearableMeasurementWidth.py @@ -11,5 +11,5 @@ class WearableMeasurementWidth(WearableMeasurementTypeEnumeration): See: https://schema.org/WearableMeasurementWidth Model depth: 6 """ - type_: str = Field(default="WearableMeasurementWidth", alias='@type') + type_: str = Field(default="WearableMeasurementWidth", alias='@type', constant=True) diff --git a/pydantic_schemaorg/WearableSizeGroupBig.py b/pydantic_schemaorg/WearableSizeGroupBig.py index 2693ce94..4c98976c 100644 --- a/pydantic_schemaorg/WearableSizeGroupBig.py +++ b/pydantic_schemaorg/WearableSizeGroupBig.py @@ -11,5 +11,5 @@ class WearableSizeGroupBig(WearableSizeGroupEnumeration): See: https://schema.org/WearableSizeGroupBig Model depth: 6 """ - type_: str = Field(default="WearableSizeGroupBig", alias='@type') + type_: str = Field(default="WearableSizeGroupBig", alias='@type', constant=True) diff --git a/pydantic_schemaorg/WearableSizeGroupBoys.py b/pydantic_schemaorg/WearableSizeGroupBoys.py index 51ea720f..2817d14a 100644 --- a/pydantic_schemaorg/WearableSizeGroupBoys.py +++ b/pydantic_schemaorg/WearableSizeGroupBoys.py @@ -11,5 +11,5 @@ class WearableSizeGroupBoys(WearableSizeGroupEnumeration): See: https://schema.org/WearableSizeGroupBoys Model depth: 6 """ - type_: str = Field(default="WearableSizeGroupBoys", alias='@type') + type_: str = Field(default="WearableSizeGroupBoys", alias='@type', constant=True) diff --git a/pydantic_schemaorg/WearableSizeGroupEnumeration.py b/pydantic_schemaorg/WearableSizeGroupEnumeration.py index 6f5c3389..b42f4f20 100644 --- a/pydantic_schemaorg/WearableSizeGroupEnumeration.py +++ b/pydantic_schemaorg/WearableSizeGroupEnumeration.py @@ -11,5 +11,5 @@ class WearableSizeGroupEnumeration(SizeGroupEnumeration): See: https://schema.org/WearableSizeGroupEnumeration Model depth: 5 """ - type_: str = Field(default="WearableSizeGroupEnumeration", alias='@type') + type_: str = Field(default="WearableSizeGroupEnumeration", alias='@type', constant=True) diff --git a/pydantic_schemaorg/WearableSizeGroupExtraShort.py b/pydantic_schemaorg/WearableSizeGroupExtraShort.py index fc43abaf..ac38aed4 100644 --- a/pydantic_schemaorg/WearableSizeGroupExtraShort.py +++ b/pydantic_schemaorg/WearableSizeGroupExtraShort.py @@ -11,5 +11,5 @@ class WearableSizeGroupExtraShort(WearableSizeGroupEnumeration): See: https://schema.org/WearableSizeGroupExtraShort Model depth: 6 """ - type_: str = Field(default="WearableSizeGroupExtraShort", alias='@type') + type_: str = Field(default="WearableSizeGroupExtraShort", alias='@type', constant=True) diff --git a/pydantic_schemaorg/WearableSizeGroupExtraTall.py b/pydantic_schemaorg/WearableSizeGroupExtraTall.py index f767bd5c..f72c20b9 100644 --- a/pydantic_schemaorg/WearableSizeGroupExtraTall.py +++ b/pydantic_schemaorg/WearableSizeGroupExtraTall.py @@ -11,5 +11,5 @@ class WearableSizeGroupExtraTall(WearableSizeGroupEnumeration): See: https://schema.org/WearableSizeGroupExtraTall Model depth: 6 """ - type_: str = Field(default="WearableSizeGroupExtraTall", alias='@type') + type_: str = Field(default="WearableSizeGroupExtraTall", alias='@type', constant=True) diff --git a/pydantic_schemaorg/WearableSizeGroupGirls.py b/pydantic_schemaorg/WearableSizeGroupGirls.py index ade84f38..06e46e07 100644 --- a/pydantic_schemaorg/WearableSizeGroupGirls.py +++ b/pydantic_schemaorg/WearableSizeGroupGirls.py @@ -11,5 +11,5 @@ class WearableSizeGroupGirls(WearableSizeGroupEnumeration): See: https://schema.org/WearableSizeGroupGirls Model depth: 6 """ - type_: str = Field(default="WearableSizeGroupGirls", alias='@type') + type_: str = Field(default="WearableSizeGroupGirls", alias='@type', constant=True) diff --git a/pydantic_schemaorg/WearableSizeGroupHusky.py b/pydantic_schemaorg/WearableSizeGroupHusky.py index 43afd153..8bb7ea19 100644 --- a/pydantic_schemaorg/WearableSizeGroupHusky.py +++ b/pydantic_schemaorg/WearableSizeGroupHusky.py @@ -11,5 +11,5 @@ class WearableSizeGroupHusky(WearableSizeGroupEnumeration): See: https://schema.org/WearableSizeGroupHusky Model depth: 6 """ - type_: str = Field(default="WearableSizeGroupHusky", alias='@type') + type_: str = Field(default="WearableSizeGroupHusky", alias='@type', constant=True) diff --git a/pydantic_schemaorg/WearableSizeGroupInfants.py b/pydantic_schemaorg/WearableSizeGroupInfants.py index 38546567..33f42ed6 100644 --- a/pydantic_schemaorg/WearableSizeGroupInfants.py +++ b/pydantic_schemaorg/WearableSizeGroupInfants.py @@ -11,5 +11,5 @@ class WearableSizeGroupInfants(WearableSizeGroupEnumeration): See: https://schema.org/WearableSizeGroupInfants Model depth: 6 """ - type_: str = Field(default="WearableSizeGroupInfants", alias='@type') + type_: str = Field(default="WearableSizeGroupInfants", alias='@type', constant=True) diff --git a/pydantic_schemaorg/WearableSizeGroupJuniors.py b/pydantic_schemaorg/WearableSizeGroupJuniors.py index 26818637..c33bc9f0 100644 --- a/pydantic_schemaorg/WearableSizeGroupJuniors.py +++ b/pydantic_schemaorg/WearableSizeGroupJuniors.py @@ -11,5 +11,5 @@ class WearableSizeGroupJuniors(WearableSizeGroupEnumeration): See: https://schema.org/WearableSizeGroupJuniors Model depth: 6 """ - type_: str = Field(default="WearableSizeGroupJuniors", alias='@type') + type_: str = Field(default="WearableSizeGroupJuniors", alias='@type', constant=True) diff --git a/pydantic_schemaorg/WearableSizeGroupMaternity.py b/pydantic_schemaorg/WearableSizeGroupMaternity.py index 24a24ae8..8009e4e3 100644 --- a/pydantic_schemaorg/WearableSizeGroupMaternity.py +++ b/pydantic_schemaorg/WearableSizeGroupMaternity.py @@ -11,5 +11,5 @@ class WearableSizeGroupMaternity(WearableSizeGroupEnumeration): See: https://schema.org/WearableSizeGroupMaternity Model depth: 6 """ - type_: str = Field(default="WearableSizeGroupMaternity", alias='@type') + type_: str = Field(default="WearableSizeGroupMaternity", alias='@type', constant=True) diff --git a/pydantic_schemaorg/WearableSizeGroupMens.py b/pydantic_schemaorg/WearableSizeGroupMens.py index ddf5cf73..420a5e5a 100644 --- a/pydantic_schemaorg/WearableSizeGroupMens.py +++ b/pydantic_schemaorg/WearableSizeGroupMens.py @@ -11,5 +11,5 @@ class WearableSizeGroupMens(WearableSizeGroupEnumeration): See: https://schema.org/WearableSizeGroupMens Model depth: 6 """ - type_: str = Field(default="WearableSizeGroupMens", alias='@type') + type_: str = Field(default="WearableSizeGroupMens", alias='@type', constant=True) diff --git a/pydantic_schemaorg/WearableSizeGroupMisses.py b/pydantic_schemaorg/WearableSizeGroupMisses.py index 1c82db44..c1bb4b5f 100644 --- a/pydantic_schemaorg/WearableSizeGroupMisses.py +++ b/pydantic_schemaorg/WearableSizeGroupMisses.py @@ -11,5 +11,5 @@ class WearableSizeGroupMisses(WearableSizeGroupEnumeration): See: https://schema.org/WearableSizeGroupMisses Model depth: 6 """ - type_: str = Field(default="WearableSizeGroupMisses", alias='@type') + type_: str = Field(default="WearableSizeGroupMisses", alias='@type', constant=True) diff --git a/pydantic_schemaorg/WearableSizeGroupPetite.py b/pydantic_schemaorg/WearableSizeGroupPetite.py index bb6651ea..7bf94300 100644 --- a/pydantic_schemaorg/WearableSizeGroupPetite.py +++ b/pydantic_schemaorg/WearableSizeGroupPetite.py @@ -11,5 +11,5 @@ class WearableSizeGroupPetite(WearableSizeGroupEnumeration): See: https://schema.org/WearableSizeGroupPetite Model depth: 6 """ - type_: str = Field(default="WearableSizeGroupPetite", alias='@type') + type_: str = Field(default="WearableSizeGroupPetite", alias='@type', constant=True) diff --git a/pydantic_schemaorg/WearableSizeGroupPlus.py b/pydantic_schemaorg/WearableSizeGroupPlus.py index c344f802..86ee75f5 100644 --- a/pydantic_schemaorg/WearableSizeGroupPlus.py +++ b/pydantic_schemaorg/WearableSizeGroupPlus.py @@ -11,5 +11,5 @@ class WearableSizeGroupPlus(WearableSizeGroupEnumeration): See: https://schema.org/WearableSizeGroupPlus Model depth: 6 """ - type_: str = Field(default="WearableSizeGroupPlus", alias='@type') + type_: str = Field(default="WearableSizeGroupPlus", alias='@type', constant=True) diff --git a/pydantic_schemaorg/WearableSizeGroupRegular.py b/pydantic_schemaorg/WearableSizeGroupRegular.py index 9724fa88..697ce3bc 100644 --- a/pydantic_schemaorg/WearableSizeGroupRegular.py +++ b/pydantic_schemaorg/WearableSizeGroupRegular.py @@ -11,5 +11,5 @@ class WearableSizeGroupRegular(WearableSizeGroupEnumeration): See: https://schema.org/WearableSizeGroupRegular Model depth: 6 """ - type_: str = Field(default="WearableSizeGroupRegular", alias='@type') + type_: str = Field(default="WearableSizeGroupRegular", alias='@type', constant=True) diff --git a/pydantic_schemaorg/WearableSizeGroupShort.py b/pydantic_schemaorg/WearableSizeGroupShort.py index d33cd4dd..e0a6a262 100644 --- a/pydantic_schemaorg/WearableSizeGroupShort.py +++ b/pydantic_schemaorg/WearableSizeGroupShort.py @@ -11,5 +11,5 @@ class WearableSizeGroupShort(WearableSizeGroupEnumeration): See: https://schema.org/WearableSizeGroupShort Model depth: 6 """ - type_: str = Field(default="WearableSizeGroupShort", alias='@type') + type_: str = Field(default="WearableSizeGroupShort", alias='@type', constant=True) diff --git a/pydantic_schemaorg/WearableSizeGroupTall.py b/pydantic_schemaorg/WearableSizeGroupTall.py index 91a659d0..5eb40990 100644 --- a/pydantic_schemaorg/WearableSizeGroupTall.py +++ b/pydantic_schemaorg/WearableSizeGroupTall.py @@ -11,5 +11,5 @@ class WearableSizeGroupTall(WearableSizeGroupEnumeration): See: https://schema.org/WearableSizeGroupTall Model depth: 6 """ - type_: str = Field(default="WearableSizeGroupTall", alias='@type') + type_: str = Field(default="WearableSizeGroupTall", alias='@type', constant=True) diff --git a/pydantic_schemaorg/WearableSizeGroupWomens.py b/pydantic_schemaorg/WearableSizeGroupWomens.py index c2347cc3..a606ed2d 100644 --- a/pydantic_schemaorg/WearableSizeGroupWomens.py +++ b/pydantic_schemaorg/WearableSizeGroupWomens.py @@ -11,5 +11,5 @@ class WearableSizeGroupWomens(WearableSizeGroupEnumeration): See: https://schema.org/WearableSizeGroupWomens Model depth: 6 """ - type_: str = Field(default="WearableSizeGroupWomens", alias='@type') + type_: str = Field(default="WearableSizeGroupWomens", alias='@type', constant=True) diff --git a/pydantic_schemaorg/WearableSizeSystemAU.py b/pydantic_schemaorg/WearableSizeSystemAU.py index 6b822cf8..7f799ccf 100644 --- a/pydantic_schemaorg/WearableSizeSystemAU.py +++ b/pydantic_schemaorg/WearableSizeSystemAU.py @@ -11,5 +11,5 @@ class WearableSizeSystemAU(WearableSizeSystemEnumeration): See: https://schema.org/WearableSizeSystemAU Model depth: 6 """ - type_: str = Field(default="WearableSizeSystemAU", alias='@type') + type_: str = Field(default="WearableSizeSystemAU", alias='@type', constant=True) diff --git a/pydantic_schemaorg/WearableSizeSystemBR.py b/pydantic_schemaorg/WearableSizeSystemBR.py index 8b44a353..5d1a8156 100644 --- a/pydantic_schemaorg/WearableSizeSystemBR.py +++ b/pydantic_schemaorg/WearableSizeSystemBR.py @@ -11,5 +11,5 @@ class WearableSizeSystemBR(WearableSizeSystemEnumeration): See: https://schema.org/WearableSizeSystemBR Model depth: 6 """ - type_: str = Field(default="WearableSizeSystemBR", alias='@type') + type_: str = Field(default="WearableSizeSystemBR", alias='@type', constant=True) diff --git a/pydantic_schemaorg/WearableSizeSystemCN.py b/pydantic_schemaorg/WearableSizeSystemCN.py index 11f9aec0..783f9888 100644 --- a/pydantic_schemaorg/WearableSizeSystemCN.py +++ b/pydantic_schemaorg/WearableSizeSystemCN.py @@ -11,5 +11,5 @@ class WearableSizeSystemCN(WearableSizeSystemEnumeration): See: https://schema.org/WearableSizeSystemCN Model depth: 6 """ - type_: str = Field(default="WearableSizeSystemCN", alias='@type') + type_: str = Field(default="WearableSizeSystemCN", alias='@type', constant=True) diff --git a/pydantic_schemaorg/WearableSizeSystemContinental.py b/pydantic_schemaorg/WearableSizeSystemContinental.py index 7cfa567d..a8d6af8d 100644 --- a/pydantic_schemaorg/WearableSizeSystemContinental.py +++ b/pydantic_schemaorg/WearableSizeSystemContinental.py @@ -11,5 +11,5 @@ class WearableSizeSystemContinental(WearableSizeSystemEnumeration): See: https://schema.org/WearableSizeSystemContinental Model depth: 6 """ - type_: str = Field(default="WearableSizeSystemContinental", alias='@type') + type_: str = Field(default="WearableSizeSystemContinental", alias='@type', constant=True) diff --git a/pydantic_schemaorg/WearableSizeSystemDE.py b/pydantic_schemaorg/WearableSizeSystemDE.py index 7e51d0f0..faa89dc8 100644 --- a/pydantic_schemaorg/WearableSizeSystemDE.py +++ b/pydantic_schemaorg/WearableSizeSystemDE.py @@ -11,5 +11,5 @@ class WearableSizeSystemDE(WearableSizeSystemEnumeration): See: https://schema.org/WearableSizeSystemDE Model depth: 6 """ - type_: str = Field(default="WearableSizeSystemDE", alias='@type') + type_: str = Field(default="WearableSizeSystemDE", alias='@type', constant=True) diff --git a/pydantic_schemaorg/WearableSizeSystemEN13402.py b/pydantic_schemaorg/WearableSizeSystemEN13402.py index 19ead715..45017b9a 100644 --- a/pydantic_schemaorg/WearableSizeSystemEN13402.py +++ b/pydantic_schemaorg/WearableSizeSystemEN13402.py @@ -11,5 +11,5 @@ class WearableSizeSystemEN13402(WearableSizeSystemEnumeration): See: https://schema.org/WearableSizeSystemEN13402 Model depth: 6 """ - type_: str = Field(default="WearableSizeSystemEN13402", alias='@type') + type_: str = Field(default="WearableSizeSystemEN13402", alias='@type', constant=True) diff --git a/pydantic_schemaorg/WearableSizeSystemEnumeration.py b/pydantic_schemaorg/WearableSizeSystemEnumeration.py index e8aa0156..75c5f0b3 100644 --- a/pydantic_schemaorg/WearableSizeSystemEnumeration.py +++ b/pydantic_schemaorg/WearableSizeSystemEnumeration.py @@ -11,5 +11,5 @@ class WearableSizeSystemEnumeration(SizeSystemEnumeration): See: https://schema.org/WearableSizeSystemEnumeration Model depth: 5 """ - type_: str = Field(default="WearableSizeSystemEnumeration", alias='@type') + type_: str = Field(default="WearableSizeSystemEnumeration", alias='@type', constant=True) diff --git a/pydantic_schemaorg/WearableSizeSystemEurope.py b/pydantic_schemaorg/WearableSizeSystemEurope.py index 08d47dc9..8e5ab0ed 100644 --- a/pydantic_schemaorg/WearableSizeSystemEurope.py +++ b/pydantic_schemaorg/WearableSizeSystemEurope.py @@ -11,5 +11,5 @@ class WearableSizeSystemEurope(WearableSizeSystemEnumeration): See: https://schema.org/WearableSizeSystemEurope Model depth: 6 """ - type_: str = Field(default="WearableSizeSystemEurope", alias='@type') + type_: str = Field(default="WearableSizeSystemEurope", alias='@type', constant=True) diff --git a/pydantic_schemaorg/WearableSizeSystemFR.py b/pydantic_schemaorg/WearableSizeSystemFR.py index 1c8d5ee5..2d347266 100644 --- a/pydantic_schemaorg/WearableSizeSystemFR.py +++ b/pydantic_schemaorg/WearableSizeSystemFR.py @@ -11,5 +11,5 @@ class WearableSizeSystemFR(WearableSizeSystemEnumeration): See: https://schema.org/WearableSizeSystemFR Model depth: 6 """ - type_: str = Field(default="WearableSizeSystemFR", alias='@type') + type_: str = Field(default="WearableSizeSystemFR", alias='@type', constant=True) diff --git a/pydantic_schemaorg/WearableSizeSystemGS1.py b/pydantic_schemaorg/WearableSizeSystemGS1.py index ee768937..f8f0db8f 100644 --- a/pydantic_schemaorg/WearableSizeSystemGS1.py +++ b/pydantic_schemaorg/WearableSizeSystemGS1.py @@ -11,5 +11,5 @@ class WearableSizeSystemGS1(WearableSizeSystemEnumeration): See: https://schema.org/WearableSizeSystemGS1 Model depth: 6 """ - type_: str = Field(default="WearableSizeSystemGS1", alias='@type') + type_: str = Field(default="WearableSizeSystemGS1", alias='@type', constant=True) diff --git a/pydantic_schemaorg/WearableSizeSystemIT.py b/pydantic_schemaorg/WearableSizeSystemIT.py index e5ce24c8..605ab720 100644 --- a/pydantic_schemaorg/WearableSizeSystemIT.py +++ b/pydantic_schemaorg/WearableSizeSystemIT.py @@ -11,5 +11,5 @@ class WearableSizeSystemIT(WearableSizeSystemEnumeration): See: https://schema.org/WearableSizeSystemIT Model depth: 6 """ - type_: str = Field(default="WearableSizeSystemIT", alias='@type') + type_: str = Field(default="WearableSizeSystemIT", alias='@type', constant=True) diff --git a/pydantic_schemaorg/WearableSizeSystemJP.py b/pydantic_schemaorg/WearableSizeSystemJP.py index 50a48764..b3316e8c 100644 --- a/pydantic_schemaorg/WearableSizeSystemJP.py +++ b/pydantic_schemaorg/WearableSizeSystemJP.py @@ -11,5 +11,5 @@ class WearableSizeSystemJP(WearableSizeSystemEnumeration): See: https://schema.org/WearableSizeSystemJP Model depth: 6 """ - type_: str = Field(default="WearableSizeSystemJP", alias='@type') + type_: str = Field(default="WearableSizeSystemJP", alias='@type', constant=True) diff --git a/pydantic_schemaorg/WearableSizeSystemMX.py b/pydantic_schemaorg/WearableSizeSystemMX.py index dea3524c..8914a255 100644 --- a/pydantic_schemaorg/WearableSizeSystemMX.py +++ b/pydantic_schemaorg/WearableSizeSystemMX.py @@ -11,5 +11,5 @@ class WearableSizeSystemMX(WearableSizeSystemEnumeration): See: https://schema.org/WearableSizeSystemMX Model depth: 6 """ - type_: str = Field(default="WearableSizeSystemMX", alias='@type') + type_: str = Field(default="WearableSizeSystemMX", alias='@type', constant=True) diff --git a/pydantic_schemaorg/WearableSizeSystemUK.py b/pydantic_schemaorg/WearableSizeSystemUK.py index c023fa29..097d848b 100644 --- a/pydantic_schemaorg/WearableSizeSystemUK.py +++ b/pydantic_schemaorg/WearableSizeSystemUK.py @@ -11,5 +11,5 @@ class WearableSizeSystemUK(WearableSizeSystemEnumeration): See: https://schema.org/WearableSizeSystemUK Model depth: 6 """ - type_: str = Field(default="WearableSizeSystemUK", alias='@type') + type_: str = Field(default="WearableSizeSystemUK", alias='@type', constant=True) diff --git a/pydantic_schemaorg/WearableSizeSystemUS.py b/pydantic_schemaorg/WearableSizeSystemUS.py index ab5bfb4a..dd1c1564 100644 --- a/pydantic_schemaorg/WearableSizeSystemUS.py +++ b/pydantic_schemaorg/WearableSizeSystemUS.py @@ -11,5 +11,5 @@ class WearableSizeSystemUS(WearableSizeSystemEnumeration): See: https://schema.org/WearableSizeSystemUS Model depth: 6 """ - type_: str = Field(default="WearableSizeSystemUS", alias='@type') + type_: str = Field(default="WearableSizeSystemUS", alias='@type', constant=True) diff --git a/pydantic_schemaorg/WebAPI.py b/pydantic_schemaorg/WebAPI.py index be927c4f..7de479aa 100644 --- a/pydantic_schemaorg/WebAPI.py +++ b/pydantic_schemaorg/WebAPI.py @@ -15,7 +15,7 @@ class WebAPI(Service): See: https://schema.org/WebAPI Model depth: 4 """ - type_: str = Field(default="WebAPI", alias='@type') + type_: str = Field(default="WebAPI", alias='@type', constant=True) documentation: Optional[Union[List[Union[AnyUrl, 'URL', 'CreativeWork', str]], AnyUrl, 'URL', 'CreativeWork', str]] = Field( default=None, description="Further documentation describing the Web API in more detail.", diff --git a/pydantic_schemaorg/WebApplication.py b/pydantic_schemaorg/WebApplication.py index b78ee8e3..a70ab8e9 100644 --- a/pydantic_schemaorg/WebApplication.py +++ b/pydantic_schemaorg/WebApplication.py @@ -14,7 +14,7 @@ class WebApplication(SoftwareApplication): See: https://schema.org/WebApplication Model depth: 4 """ - type_: str = Field(default="WebApplication", alias='@type') + type_: str = Field(default="WebApplication", alias='@type', constant=True) browserRequirements: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="Specifies browser requirements in human-readable text. For example, 'requires HTML5" diff --git a/pydantic_schemaorg/WebContent.py b/pydantic_schemaorg/WebContent.py index e112e524..f8a34e77 100644 --- a/pydantic_schemaorg/WebContent.py +++ b/pydantic_schemaorg/WebContent.py @@ -16,5 +16,5 @@ class WebContent(CreativeWork): See: https://schema.org/WebContent Model depth: 3 """ - type_: str = Field(default="WebContent", alias='@type') + type_: str = Field(default="WebContent", alias='@type', constant=True) diff --git a/pydantic_schemaorg/WebPage.py b/pydantic_schemaorg/WebPage.py index e4ede8e1..2e9d7618 100644 --- a/pydantic_schemaorg/WebPage.py +++ b/pydantic_schemaorg/WebPage.py @@ -19,7 +19,7 @@ class WebPage(CreativeWork): See: https://schema.org/WebPage Model depth: 3 """ - type_: str = Field(default="WebPage", alias='@type') + type_: str = Field(default="WebPage", alias='@type', constant=True) significantLink: Optional[Union[List[Union[AnyUrl, 'URL', str]], AnyUrl, 'URL', str]] = Field( default=None, description="One of the more significant URLs on the page. Typically, these are the non-navigation" @@ -51,7 +51,7 @@ class WebPage(CreativeWork): default=None, description="A link related to this web page, for example to other related web pages.", ) - reviewedBy: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + reviewedBy: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="People or organizations that have reviewed the content on this web page for accuracy" "and/or completeness.", @@ -81,8 +81,8 @@ class WebPage(CreativeWork): if TYPE_CHECKING: from pydantic_schemaorg.URL import URL from pydantic_schemaorg.SpeakableSpecification import SpeakableSpecification - from pydantic_schemaorg.Person import Person from pydantic_schemaorg.Organization import Organization + from pydantic_schemaorg.Person import Person from pydantic_schemaorg.Text import Text from pydantic_schemaorg.BreadcrumbList import BreadcrumbList from pydantic_schemaorg.ImageObject import ImageObject diff --git a/pydantic_schemaorg/WebPageElement.py b/pydantic_schemaorg/WebPageElement.py index c447ad33..bf332102 100644 --- a/pydantic_schemaorg/WebPageElement.py +++ b/pydantic_schemaorg/WebPageElement.py @@ -14,7 +14,7 @@ class WebPageElement(CreativeWork): See: https://schema.org/WebPageElement Model depth: 3 """ - type_: str = Field(default="WebPageElement", alias='@type') + type_: str = Field(default="WebPageElement", alias='@type', constant=True) xpath: Optional[Union[List[Union[str, 'XPathType']], str, 'XPathType']] = Field( default=None, description="An XPath, e.g. of a [[SpeakableSpecification]] or [[WebPageElement]]. In the latter" diff --git a/pydantic_schemaorg/WebSite.py b/pydantic_schemaorg/WebSite.py index 26e873b6..e7d2d396 100644 --- a/pydantic_schemaorg/WebSite.py +++ b/pydantic_schemaorg/WebSite.py @@ -15,7 +15,7 @@ class WebSite(CreativeWork): See: https://schema.org/WebSite Model depth: 3 """ - type_: str = Field(default="WebSite", alias='@type') + type_: str = Field(default="WebSite", alias='@type', constant=True) issn: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="The International Standard Serial Number (ISSN) that identifies this serial publication." diff --git a/pydantic_schemaorg/Wednesday.py b/pydantic_schemaorg/Wednesday.py index 8c4d0db6..3e36a835 100644 --- a/pydantic_schemaorg/Wednesday.py +++ b/pydantic_schemaorg/Wednesday.py @@ -11,5 +11,5 @@ class Wednesday(DayOfWeek): See: https://schema.org/Wednesday Model depth: 5 """ - type_: str = Field(default="Wednesday", alias='@type') + type_: str = Field(default="Wednesday", alias='@type', constant=True) diff --git a/pydantic_schemaorg/WesternConventional.py b/pydantic_schemaorg/WesternConventional.py index 17c2da1e..aeed9787 100644 --- a/pydantic_schemaorg/WesternConventional.py +++ b/pydantic_schemaorg/WesternConventional.py @@ -13,5 +13,5 @@ class WesternConventional(MedicineSystem): See: https://schema.org/WesternConventional Model depth: 6 """ - type_: str = Field(default="WesternConventional", alias='@type') + type_: str = Field(default="WesternConventional", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Wholesale.py b/pydantic_schemaorg/Wholesale.py index 14abde4e..503d12eb 100644 --- a/pydantic_schemaorg/Wholesale.py +++ b/pydantic_schemaorg/Wholesale.py @@ -11,5 +11,5 @@ class Wholesale(DrugCostCategory): See: https://schema.org/Wholesale Model depth: 6 """ - type_: str = Field(default="Wholesale", alias='@type') + type_: str = Field(default="Wholesale", alias='@type', constant=True) diff --git a/pydantic_schemaorg/WholesaleStore.py b/pydantic_schemaorg/WholesaleStore.py index 71ce5573..88e68fe6 100644 --- a/pydantic_schemaorg/WholesaleStore.py +++ b/pydantic_schemaorg/WholesaleStore.py @@ -11,5 +11,5 @@ class WholesaleStore(Store): See: https://schema.org/WholesaleStore Model depth: 5 """ - type_: str = Field(default="WholesaleStore", alias='@type') + type_: str = Field(default="WholesaleStore", alias='@type', constant=True) diff --git a/pydantic_schemaorg/WinAction.py b/pydantic_schemaorg/WinAction.py index 942948c5..b5d51150 100644 --- a/pydantic_schemaorg/WinAction.py +++ b/pydantic_schemaorg/WinAction.py @@ -14,7 +14,7 @@ class WinAction(AchieveAction): See: https://schema.org/WinAction Model depth: 4 """ - type_: str = Field(default="WinAction", alias='@type') + type_: str = Field(default="WinAction", alias='@type', constant=True) loser: Optional[Union[List[Union['Person', str]], 'Person', str]] = Field( default=None, description="A sub property of participant. The loser of the action.", diff --git a/pydantic_schemaorg/Winery.py b/pydantic_schemaorg/Winery.py index 390d055e..cc266a75 100644 --- a/pydantic_schemaorg/Winery.py +++ b/pydantic_schemaorg/Winery.py @@ -11,5 +11,5 @@ class Winery(FoodEstablishment): See: https://schema.org/Winery Model depth: 5 """ - type_: str = Field(default="Winery", alias='@type') + type_: str = Field(default="Winery", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Withdrawn.py b/pydantic_schemaorg/Withdrawn.py index b7ed7818..94526f76 100644 --- a/pydantic_schemaorg/Withdrawn.py +++ b/pydantic_schemaorg/Withdrawn.py @@ -11,5 +11,5 @@ class Withdrawn(MedicalStudyStatus): See: https://schema.org/Withdrawn Model depth: 6 """ - type_: str = Field(default="Withdrawn", alias='@type') + type_: str = Field(default="Withdrawn", alias='@type', constant=True) diff --git a/pydantic_schemaorg/WorkBasedProgram.py b/pydantic_schemaorg/WorkBasedProgram.py index 9c0b3a67..54f48622 100644 --- a/pydantic_schemaorg/WorkBasedProgram.py +++ b/pydantic_schemaorg/WorkBasedProgram.py @@ -17,7 +17,7 @@ class WorkBasedProgram(EducationalOccupationalProgram): See: https://schema.org/WorkBasedProgram Model depth: 4 """ - type_: str = Field(default="WorkBasedProgram", alias='@type') + type_: str = Field(default="WorkBasedProgram", alias='@type', constant=True) trainingSalary: Optional[Union[List[Union['MonetaryAmountDistribution', str]], 'MonetaryAmountDistribution', str]] = Field( default=None, description="The estimated salary earned while in the program.", diff --git a/pydantic_schemaorg/WorkersUnion.py b/pydantic_schemaorg/WorkersUnion.py index 06126a33..7c41bdb3 100644 --- a/pydantic_schemaorg/WorkersUnion.py +++ b/pydantic_schemaorg/WorkersUnion.py @@ -13,5 +13,5 @@ class WorkersUnion(Organization): See: https://schema.org/WorkersUnion Model depth: 3 """ - type_: str = Field(default="WorkersUnion", alias='@type') + type_: str = Field(default="WorkersUnion", alias='@type', constant=True) diff --git a/pydantic_schemaorg/WriteAction.py b/pydantic_schemaorg/WriteAction.py index c55b8714..39281e4f 100644 --- a/pydantic_schemaorg/WriteAction.py +++ b/pydantic_schemaorg/WriteAction.py @@ -14,7 +14,7 @@ class WriteAction(CreateAction): See: https://schema.org/WriteAction Model depth: 4 """ - type_: str = Field(default="WriteAction", alias='@type') + type_: str = Field(default="WriteAction", alias='@type', constant=True) language: Optional[Union[List[Union['Language', str]], 'Language', str]] = Field( default=None, description="A sub property of instrument. The language used on this action.", diff --git a/pydantic_schemaorg/WritePermission.py b/pydantic_schemaorg/WritePermission.py index 7f46b628..0f8dfe27 100644 --- a/pydantic_schemaorg/WritePermission.py +++ b/pydantic_schemaorg/WritePermission.py @@ -11,5 +11,5 @@ class WritePermission(DigitalDocumentPermissionType): See: https://schema.org/WritePermission Model depth: 5 """ - type_: str = Field(default="WritePermission", alias='@type') + type_: str = Field(default="WritePermission", alias='@type', constant=True) diff --git a/pydantic_schemaorg/XPathType.py b/pydantic_schemaorg/XPathType.py index 4f0a43a5..438215d5 100644 --- a/pydantic_schemaorg/XPathType.py +++ b/pydantic_schemaorg/XPathType.py @@ -11,5 +11,5 @@ class XPathType(Text): See: https://schema.org/XPathType Model depth: 6 """ - type_: str = Field(default="XPathType", alias='@type') + type_: str = Field(default="XPathType", alias='@type', constant=True) diff --git a/pydantic_schemaorg/XRay.py b/pydantic_schemaorg/XRay.py index f7385820..57243991 100644 --- a/pydantic_schemaorg/XRay.py +++ b/pydantic_schemaorg/XRay.py @@ -11,5 +11,5 @@ class XRay(MedicalImagingTechnique): See: https://schema.org/XRay Model depth: 6 """ - type_: str = Field(default="XRay", alias='@type') + type_: str = Field(default="XRay", alias='@type', constant=True) diff --git a/pydantic_schemaorg/ZoneBoardingPolicy.py b/pydantic_schemaorg/ZoneBoardingPolicy.py index f37a5ca0..d1fc005b 100644 --- a/pydantic_schemaorg/ZoneBoardingPolicy.py +++ b/pydantic_schemaorg/ZoneBoardingPolicy.py @@ -11,5 +11,5 @@ class ZoneBoardingPolicy(BoardingPolicyType): See: https://schema.org/ZoneBoardingPolicy Model depth: 5 """ - type_: str = Field(default="ZoneBoardingPolicy", alias='@type') + type_: str = Field(default="ZoneBoardingPolicy", alias='@type', constant=True) diff --git a/pydantic_schemaorg/Zoo.py b/pydantic_schemaorg/Zoo.py index 1def0e86..1846d550 100644 --- a/pydantic_schemaorg/Zoo.py +++ b/pydantic_schemaorg/Zoo.py @@ -11,5 +11,5 @@ class Zoo(CivicStructure): See: https://schema.org/Zoo Model depth: 4 """ - type_: str = Field(default="Zoo", alias='@type') + type_: str = Field(default="Zoo", alias='@type', constant=True) diff --git a/pydantic_schemaorg/_3DModel.py b/pydantic_schemaorg/_3DModel.py index 2e292e59..2ba236bc 100644 --- a/pydantic_schemaorg/_3DModel.py +++ b/pydantic_schemaorg/_3DModel.py @@ -21,7 +21,7 @@ class _3DModel(MediaObject): See: https://schema.org/3DModel Model depth: 4 """ - type_: str = Field(default="3DModel", alias='@type') + type_: str = Field(default="3DModel", alias='@type', constant=True) isResizable: Optional[Union[List[Union[StrictBool, 'Boolean', str]], StrictBool, 'Boolean', str]] = Field( default=None, description="Whether the 3DModel allows resizing. For example, room layout applications often do" diff --git a/pydantic_schemaorg/__init__.py b/pydantic_schemaorg/__init__.py index 76c925c2..810adbf9 100644 --- a/pydantic_schemaorg/__init__.py +++ b/pydantic_schemaorg/__init__.py @@ -1 +1 @@ -__all__= ['SchemaOrgBase','Thing', 'Organization', 'Action', 'Intangible', 'CreativeWork', 'Place', 'MedicalEntity', 'Person', 'Product', 'BioChemEntity', 'Event', 'Taxon', 'NewsMediaOrganization', 'OrganizeAction', 'Enumeration', 'ConsumeAction', 'TradeAction', 'DigitalDocument', 'Reservation', 'AlignmentObject', 'LocalBusiness', 'Audience', 'InteractAction', 'MedicalTest', 'DefinedTerm', 'MedicalIntangible', 'Review', 'CivicStructure', 'LearningResource', 'MedicalOrganization', 'Order', 'AssessAction', 'SomeProducts', 'MediaReviewItem', 'MedicalProcedure', 'Series', 'CreativeWorkSeries', 'TransferAction', 'DrugCost', 'Demand', 'StructuredValue', 'WebPage', 'Statement', 'Clip', 'Accommodation', 'OccupationalExperienceRequirements', 'MolecularEntity', 'Comment', 'Residence', 'Manuscript', 'WebPageElement', 'SheetMusic', 'Class', 'Episode', 'Season', 'Article', 'Quantity', 'ControlAction', 'MusicPlaylist', 'MoveAction', 'Permit', 'FundingScheme', 'MediaObject', 'AnatomicalStructure', 'Substance', 'Message', 'MedicalContraindication', 'AmpStory', 'LifestyleModification', 'ExercisePlan', 'Thesis', 'ShortStory', 'FindAction', 'MedicalCondition', 'MathSolver', 'Service', 'SoftwareApplication', 'ComicStory', 'VisualArtwork', 'ProductModel', 'MerchantReturnPolicy', 'MedicalStudy', 'Blog', 'WorkersUnion', 'MenuSection', 'MusicRecording', 'DanceEvent', 'Project', 'ScreeningEvent', 'MedicalCause', 'HealthPlanNetwork', 'SoftwareSourceCode', 'EducationalOccupationalProgram', 'DataFeedItem', 'MedicalIndication', 'ExhibitionEvent', 'ItemList', 'AdministrativeArea', 'PublicationIssue', 'ActionAccessSpecification', 'MedicalRiskEstimator', 'BroadcastChannel', 'MusicEvent', 'Painting', 'Grant', 'DefinedTermSet', 'HyperTocEntry', 'TVSeries', 'DataCatalog', 'SportsOrganization', 'ListItem', 'HowToSection', 'EducationalOrganization', 'Rating', 'PublicationEvent', 'Brand', 'PlayAction', 'UpdateAction', 'CreateAction', 'Vehicle', 'TheaterEvent', 'ArchiveComponent', 'EnergyConsumptionDetails', 'EducationalOccupationalCredential', 'Offer', 'Trip', 'JobPosting', 'Collection', 'Ticket', 'BroadcastFrequencySpecification', 'AchieveAction', 'Book', 'Occupation', 'UserInteraction', 'PerformingGroup', 'ChildrensEvent', 'VisualArtsEvent', 'MenuItem', 'Protein', 'HyperToc', 'Course', 'HowTo', 'Hackathon', 'HowToDirection', 'Quotation', 'EventSeries', 'MedicalRiskFactor', 'Movie', 'FoodEvent', 'MusicComposition', 'SaleEvent', 'SearchAction', 'SuperficialAnatomy', 'SolveMathAction', 'Game', 'Sculpture', 'Dataset', 'NGO', 'Airline', 'GeospatialGeometry', 'HowToTip', 'CreativeWorkSeason', 'TVSeason', 'BedDetails', 'WebContent', 'TouristAttraction', 'MediaSubscription', 'LiteraryEvent', 'Photograph', 'Role', 'Landform', 'Observation', 'Legislation', 'DrugClass', 'SpeakableSpecification', 'ServiceChannel', 'Festival', 'PublicationVolume', 'SpecialAnnouncement', 'Atlas', 'Drawing', 'ChemicalSubstance', 'ProductGroup', 'Claim', 'ProgramMembership', 'OrderItem', 'ResearchOrganization', 'Chapter', 'VirtualLocation', 'HealthInsurancePlan', 'StatisticalPopulation', 'TouristDestination', 'Property', 'SeekToAction', 'MedicalGuideline', 'Guide', 'IndividualProduct', 'Poster', 'CourseInstance', 'EducationEvent', 'PropertyValueSpecification', 'Language', 'ComputerLanguage', 'WebSite', 'Patient', 'MedicalDevice', 'FloorPlan', 'HealthPlanCostSharingSpecification', 'MerchantReturnPolicySeasonalOverride', 'Invoice', 'Consortium', 'SocialEvent', 'AnatomicalSystem', 'LandmarksOrHistoricalBuildings', 'Diet', 'BusinessEvent', 'Menu', 'Conversation', 'Corporation', 'GovernmentOrganization', 'DigitalDocumentPermission', 'Code', 'Map', 'Play', 'HealthPlanFormulary', 'EntryPoint', 'Schedule', 'DeliveryEvent', 'HowToStep', 'Gene', 'ParcelDelivery', 'LibrarySystem', 'SportsEvent', 'GameServer', 'Seat', 'ComedyEvent', 'ProductCollection', 'PlanAction', 'NonprofitType', 'StatusEnumeration', 'MeasurementTypeEnumeration', 'ListenAction', 'Specialty', 'MedicalEnumeration', 'PresentationDigitalDocument', 'LodgingBusiness', 'BusinessAudience', 'JoinAction', 'CategoryCode', 'MedicalCode', 'MusicAlbumReleaseType', 'HomeAndConstructionBusiness', 'PhysicalActivityCategory', 'MedicalBusiness', 'AllocateAction', 'MediaReview', 'Airport', 'Quiz', 'Dentist', 'PlaceOfWorship', 'Store', 'GovernmentBuilding', 'ChooseAction', 'GamePlayMode', 'PriceComponentTypeEnumeration', 'HealthAspectEnumeration', 'OfferItemCondition', 'PhysicalExam', 'BookmarkAction', 'ReturnLabelSourceEnumeration', 'DayOfWeek', 'Zoo', 'LegalValueLevel', 'BookSeries', 'Park', 'MapCategoryType', 'FoodEstablishment', 'LendAction', 'ItemAvailability', 'SportsActivityLocation', 'UserReview', 'BusinessEntityType', 'PropertyValue', 'TherapeuticProcedure', 'SizeSystemEnumeration', 'RestrictedDiet', 'SizeGroupEnumeration', 'Room', 'VideoGameSeries', 'GovernmentBenefitsType', 'CorrectionComment', 'ReturnMethodEnumeration', 'SiteNavigationElement', 'RsvpResponseType', 'DataType', 'AutomotiveBusiness', 'RadioEpisode', 'HealthAndBeautyBusiness', 'NewsArticle', 'MusicAlbumProductionType', 'ReturnFeesEnumeration', 'Energy', 'DeactivateAction', 'MusicAlbum', 'TravelAction', 'Recommendation', 'MarryAction', 'DataDownload', 'BoatReservation', 'Nerve', 'CarUsageType', 'TelevisionStation', 'CollectionPage', 'Question', 'ItemListOrderType', 'RegisterAction', 'PhysicalActivity', 'ChildCare', 'MediaManipulationRatingEnumeration', 'EntertainmentBusiness', 'SendAction', 'EnergyEfficiencyEnumeration', 'DiscoverAction', 'DoseSchedule', 'FinancialService', 'MedicalSignOrSymptom', 'MusicReleaseFormatType', 'Mass', 'FinancialProduct', 'PalliativeProcedure', 'TravelAgency', 'RecyclingCenter', 'TaxiReservation', 'CoverArt', 'ComicCoverArt', 'DeliveryMethod', 'DigitalDocumentPermissionType', 'Apartment', 'MedicalObservationalStudy', 'PriceSpecification', 'PayAction', 'CommunicateAction', 'DefinedRegion', 'PerformingArtsTheater', 'RealEstateAgent', 'ResearchProject', 'SocialMediaPosting', 'MobileApplication', 'Campground', 'DryCleaningOrLaundry', 'ScholarlyArticle', 'SelfStorage', 'Researcher', 'PriceTypeEnumeration', 'NutritionInformation', 'RadioClip', 'ApprovedIndication', 'SuspendAction', 'TakeAction', 'BreadcrumbList', 'UseAction', 'SchoolDistrict', 'ComicIssue', 'QuantitativeValueDistribution', 'MedicalWebPage', 'TrainReservation', 'EventAttendanceModeEnumeration', 'RadioChannel', 'Vessel', 'ReactAction', 'LegalService', 'DrinkAction', 'PaymentMethod', 'ProfilePage', 'MusicRelease', 'ArriveAction', 'Pharmacy', 'OwnershipInfo', 'MonetaryGrant', 'Periodical', 'ImageObject', 'QualitativeValue', 'MedicalTestPanel', 'WatchAction', 'Report', 'QuantitativeValue', 'QAPage', 'RentalCarReservation', 'EmployerReview', 'RefundTypeEnumeration', 'MerchantReturnEnumeration', 'TaxiService', 'School', 'EngineSpecification', 'InfectiousDisease', 'BusReservation', 'Country', 'DeliveryTimeSettings', 'WorkBasedProgram', 'ExerciseAction', 'AddAction', 'House', 'FlightReservation', 'StadiumOrArena', 'Physician', 'OfferForLease', 'TipAction', 'RadioSeries', 'TreatmentIndication', 'TrainTrip', 'BusStation', 'MiddleSchool', 'BookFormatType', 'PostalCodeRangeSpecification', 'AggregateRating', 'EmploymentAgency', 'RadioStation', 'GenderType', 'VeterinaryCare', 'WinAction', 'SatiricalArticle', 'BloodTest', 'GovernmentOffice', 'Preschool', 'DownloadAction', 'UserPlays', 'Drug', 'SurgicalProcedure', 'TheaterGroup', 'WebApplication', 'InteractionCounter', 'ReviewAction', 'BrainStructure', 'MusicVenue', 'SellAction', 'AudioObject', 'Audiobook', 'BoatTrip', 'EmergencyService', 'FireStation', 'ContactPointOption', 'OfferShippingDetails', 'Crematorium', 'TrackAction', 'Duration', 'ContactPoint', 'UserBlocks', 'UserPlusOnes', 'WPHeader', 'MusicVideoObject', 'Flight', 'LeaveAction', 'DiagnosticLab', 'FAQPage', 'Joint', 'DrugLegalStatus', 'DiagnosticProcedure', 'Car', 'VideoGameClip', 'FoodEstablishmentReservation', 'DataFeed', 'Distance', 'MedicalConditionStage', 'Muscle', 'HowToItem', 'BusOrCoach', 'ParkingFacility', 'VideoGame', 'RentAction', 'BusTrip', 'Suite', 'CategoryCodeSet', 'ProfessionalService', 'DrawAction', 'TVClip', 'OrganizationRole', 'Hospital', 'WPSideBar', 'BefriendAction', 'FilmAction', 'Continent', 'UserTweets', 'SubwayStation', 'BroadcastService', 'BoardingPolicyType', 'Motorcycle', 'MovieClip', 'FundingAgency', 'TypeAndQuantityNode', 'City', 'InternetCafe', 'GeoCoordinates', 'RepaymentSpecification', 'EventReservation', 'QuoteAction', 'RVPark', 'Ligament', 'AnimalShelter', 'ReturnAction', 'ShippingDeliveryTime', 'Table', 'BorrowAction', 'CriticReview', 'ArchiveOrganization', 'DatedMoneySpecification', 'OnDemandEvent', 'ShoppingCenter', 'GiveAction', 'EndorsementRating', 'BodyOfWater', 'TouristInformationCenter', 'TextDigitalDocument', 'LegislationObject', 'RealEstateListing', 'EducationalAudience', 'EventVenue', 'ContactPage', 'VideoObject', 'UserCheckins', 'EmailMessage', 'PeopleAudience', 'CollegeOrUniversity', 'ResumeAction', 'CheckAction', 'State', 'PodcastEpisode', 'UserLikes', 'WPAdBlock', 'Beach', 'TrainStation', 'CampingPitch', 'TieAction', 'MedicalRiskScore', 'PreOrderAction', 'NoteDigitalDocument', 'WarrantyScope', 'PodcastSeries', 'PublicToilet', 'MedicalAudience', 'UserPageVisits', 'ReplaceAction', 'ApplyAction', 'MusicGroup', 'ItemPage', 'MedicalRiskCalculator', 'MedicalGuidelineRecommendation', 'DonateAction', 'BoatTerminal', 'MotorizedBicycle', 'AggregateOffer', 'MedicalClinic', 'PodcastSeason', 'CDCPMDRecord', 'PaintAction', 'ExchangeRateSpecification', 'PoliceStation', 'DepartAction', 'ShippingRateSettings', 'WPFooter', 'DanceGroup', 'DDxElement', 'TaxiStand', 'DeleteAction', 'ReceiveAction', 'MovieSeries', 'LodgingReservation', 'ReservationPackage', 'GeoShape', 'WarrantyPromise', 'HighSchool', 'Museum', 'CheckoutPage', 'LoseAction', 'SpreadsheetDigitalDocument', 'IgnoreAction', 'OfferCatalog', 'SubscribeAction', 'PathologyTest', 'Mountain', 'TechArticle', 'CableOrSatelliteService', 'BusStop', 'Cemetery', 'CookAction', 'Recipe', 'MedicalGuidelineContraindication', 'ElementarySchool', 'RadioSeason', 'AboutPage', 'DrugStrength', 'Aquarium', 'Library', 'Taxi', 'AdvertiserContentArticle', 'Answer', 'DietarySupplement', 'BroadcastEvent', 'OpeningHoursSpecification', 'LinkRole', 'InstallAction', 'BuyAction', 'Bone', 'ViewAction', 'ClaimReview', 'PerformanceRole', 'UnRegisterAction', 'HealthTopicContent', 'OrderAction', 'ReadAction', 'SportsTeam', 'SearchResultsPage', 'WriteAction', 'PerformAction', 'WebAPI', 'EatAction', 'MoneyTransfer', 'ImagingTest', 'FoodService', 'GovernmentPermit', 'OfferForPurchase', 'FollowAction', 'TouristTrip', 'TVEpisode', 'ApartmentComplex', 'MovieTheater', 'TelevisionChannel', 'PreventionIndication', 'BusinessFunction', 'Volcano', 'UserDownloads', 'MonetaryAmount', 'Playground', 'GatedResidenceCommunity', 'GovernmentService', 'Bridge', 'UserComments', 'PhotographAction', 'ActivateAction', '_3DModel', 'MedicalTrial', 'USNonprofitType', 'EventStatusType', 'BodyMeasurementTypeEnumeration', 'MedicalSpecialty', 'MedicineSystem', 'WearableMeasurementTypeEnumeration', 'BedAndBreakfast', 'BroadcastRelease', 'Electrician', 'LeisureTimeActivity', 'Podiatric', 'CancelAction', 'MedicalStudyStatus', 'AssignAction', 'DrugCostCategory', 'Synagogue', 'BikeStore', 'Embassy', 'OccupationalActivity', 'DistanceFee', 'BenefitsHealthAspect', 'NewCondition', 'Nose', 'Head', 'ReturnLabelDownloadAndPrint', 'Saturday', 'GameServerStatus', 'UKNonprofitType', 'SeatingMap', 'InStoreOnly', 'LocationFeatureSpecification', 'BookStore', 'StagesHealthAspect', 'LegislativeBuilding', 'SizeSystemMetric', 'LowLactoseDiet', 'MedicalImagingTechnique', 'PaymentStatusType', 'SelfCareHealthAspect', 'WearableSizeGroupEnumeration', 'SideEffectsHealthAspect', 'StrengthTraining', 'BusinessSupport', 'ActivationFee', 'RsvpResponseNo', 'AutoPartsStore', 'HalalDiet', 'DaySpa', 'AnalysisNewsArticle', 'StudioAlbum', 'ReturnShippingFees', 'Gynecologic', 'EffectivenessHealthAspect', 'WholesaleStore', 'MedicalAudienceType', 'HinduTemple', 'MedicalDevicePurpose', 'DrivingSchoolVehicleUsage', 'OnlineOnly', 'GasStation', 'Pediatric', 'MedicalEvidenceLevel', 'MultiPlayer', 'ItemListUnordered', 'TennisComplex', 'MediaGallery', 'ComedyClub', 'ScheduleAction', 'MedicalTherapy', 'EUEnergyEfficiencyEnumeration', 'Monday', 'RecommendedDoseSchedule', 'LegalForceStatus', 'BankOrCreditUnion', 'MedicalSymptom', 'ReturnFeesCustomerResponsibility', 'VinylFormat', 'DigitalAudioTapeFormat', 'MedicalSign', 'WearableSizeSystemEnumeration', 'Flexibility', 'DietNutrition', 'WritePermission', 'BowlingAlley', 'MayTreatHealthAspect', 'DrugPregnancyCategory', 'DiabeticDiet', 'HinduDiet', 'InformAction', 'EnergyStarEnergyEfficiencyEnumeration', 'Number', 'ShareAction', 'AerobicActivity', 'BlogPosting', 'AnaerobicActivity', 'AutoRepair', 'LiquorStore', 'SizeSystemImperial', 'MedicalScholarlyArticle', 'DefenceEstablishment', 'TireShop', 'Hostel', 'FastFoodRestaurant', 'DVDFormat', 'ReadPermission', 'Neck', 'MedicalTrialDesign', 'AskPublicNewsArticle', 'ComputerStore', 'HealthClub', 'ReservationStatusType', 'Physiotherapy', 'RejectAction', 'Text', 'AMRadioChannel', 'Vein', 'PaidLeave', 'SalePrice', 'LikeAction', 'Resort', 'SkiResort', 'Nursing', 'PaymentCard', 'MixedEventAttendanceMode', 'BackOrder', 'CleaningFee', 'NightClub', 'ComicSeries', 'TaxiVehicleUsage', 'CardiovascularExam', 'SteeringPositionValue', 'OrderStatus', 'Notary', 'Distillery', 'DepartmentStore', 'ScreeningHealthAspect', 'OutOfStock', 'LockerDelivery', 'ParentalSupport', 'MerchantReturnNotPermitted', 'ClothingStore', 'AutoRental', 'RoofingContractor', 'LimitedAvailability', 'MusicStore', 'ExerciseGym', 'MixtapeAlbum', 'SafetyHealthAspect', 'LaserDiscFormat', 'DateTime', 'InfectiousAgentClass', 'EPRelease', 'CurrencyConversionService', 'DisagreeAction', 'PreSale', 'VenueMap', 'InsertAction', 'Brewery', 'SingleFamilyResidence', 'DemoAlbum', 'PublicHealth', 'ContagiousnessHealthAspect', 'MonetaryAmountDistribution', 'MeetingRoom', 'BarOrPub', 'ExchangeRefund', 'AskAction', 'HVACBusiness', 'Skin', 'GraphicNovel', 'Emergency', 'SingleRelease', 'EmployerAggregateRating', 'AutoBodyShop', 'SatireOrParodyContent', 'UnofficialLegalValue', 'GlutenFreeDiet', 'DisabilitySupport', 'Plumber', 'AuthoritativeLegalValue', 'CausesHealthAspect', 'Optician', 'Geriatric', 'HairSalon', 'AcceptAction', 'Abdomen', 'CoOp', 'OverviewHealthAspect', 'MotorcycleDealer', 'SymptomsHealthAspect', 'MedicalObservationalStudyDesign', 'PaymentService', 'PrimaryCare', 'CityHall', 'ShoeStore', 'ReturnLabelInBox', 'DriveWheelConfigurationValue', 'DigitalFormat', 'CheckOutAction', 'UnitPriceSpecification', 'HearingImpairedSupported', 'WantAction', 'CommunityHealth', 'OfficialLegalValue', 'Installment', 'NLNonprofitType', 'BackgroundNewsArticle', 'Bakery', 'ReturnAtKiosk', 'PostalAddress', 'Male', 'AuthorizeAction', 'UsedCondition', 'PlasticSurgery', 'Thursday', 'Newspaper', 'Obstetric', 'MovieRentalStore', 'BankAccount', 'ActionStatusType', 'GardenStore', 'PetStore', 'BeautySalon', 'SeeDoctorHealthAspect', 'DefinitiveLegalValue', 'SpokenWordAlbum', 'GettingAccessHealthAspect', 'LoanOrCredit', 'BuddhistTemple', 'DamagedCondition', 'Balance', 'DeliveryChargeSpecification', 'CompleteDataFeed', 'DiscussionForumPosting', 'PrognosisHealthAspect', 'MedicalProcedureType', 'LivingWithHealthAspect', 'OfflineEventAttendanceMode', 'RisksOrComplicationsHealthAspect', 'Church', 'OpinionNewsArticle', 'HowToTool', 'IceCreamShop', 'InvestmentOrDeposit', 'EditedOrCroppedContent', 'DJMixAlbum', 'AmusementPark', 'OriginalMediaContent', 'AudiobookFormat', 'PatientExperienceHealthAspect', 'DrugPrescriptionStatus', 'Time', 'Subscription', 'Lung', 'MerchantReturnFiniteReturnWindow', 'GroceryStore', 'CDFormat', 'WearAction', 'ItemListOrderDescending', 'PostOffice', 'Winery', 'MobilePhoneStore', 'RadioBroadcastService', 'GroupBoardingPolicy', 'LymphaticVessel', 'RestockingFees', 'AdultEntertainment', 'MotorcycleRepair', 'RsvpResponseYes', 'CommentAction', 'PreventionHealthAspect', 'TreatmentsHealthAspect', 'VegetarianDiet', 'Motel', 'ReportageNewsArticle', 'Optometric', 'Downpayment', 'StoreCreditRefund', 'AgreeAction', 'JewelryStore', 'TransitMap', 'Hardcover', 'Restaurant', 'MSRP', 'SoundtrackAlbum', 'ReviewNewsArticle', 'HotelRoom', 'Barcode', 'ArtGallery', 'HowToSupply', 'Sunday', 'PsychologicalTreatment', 'RiverBodyOfWater', 'HousePainter', 'DislikeAction', 'VoteAction', 'PreOrder', 'PawnShop', 'KosherDiet', 'SizeSpecification', 'Wednesday', 'PublicSwimmingPool', 'VideoObjectSnapshot', 'Pond', 'ListPrice', 'IngredientsHealthAspect', 'SeaBodyOfWater', 'HowItWorksHealthAspect', 'AutoDealer', 'MerchantReturnUnspecified', 'LowCalorieDiet', 'LakeBodyOfWater', 'DecontextualizedContent', 'CompilationAlbum', 'GeneralContractor', 'ItemListOrderAscending', 'AllergiesHealthAspect', 'ReplyAction', 'ConvenienceStore', 'OutletStore', 'AutomatedTeller', 'HardwareStore', 'UnemploymentSupport', 'Locksmith', 'AudioObjectSnapshot', 'ReturnInStore', 'TattooParlor', 'UsageOrScheduleHealthAspect', 'VeganDiet', 'PublicHolidays', 'MusculoskeletalExam', 'ReturnByMail', 'MisconceptionsHealthAspect', 'BedType', 'CovidTestingFacility', 'FurnitureStore', 'HobbyShop', 'Mosque', 'Midwifery', 'OnSitePickup', 'SinglePlayer', 'OnlineEventAttendanceMode', 'ReportedDoseSchedule', 'FullRefund', 'Boolean', 'ElectronicsStore', 'InStock', 'AccountingService', 'ParcelService', 'MerchantReturnUnlimitedWindow', 'Otolaryngologic', 'Neuro', 'EndorseAction', 'Tuesday', 'FMRadioChannel', 'HealthCare', 'Female', 'InsuranceAgency', 'ReturnLabelCustomerResponsibility', 'InviteAction', 'Genitourinary', 'EmployeeRole', 'PregnancyHealthAspect', 'Eye', 'Attorney', 'MensClothingStore', 'AutoWash', 'Discontinued', 'LiveAlbum', 'SportingGoodsStore', 'CafeOrCoffeeShop', 'AlbumRelease', 'GeoCircle', 'Date', 'LowFatDiet', 'ZoneBoardingPolicy', 'ToyStore', 'HowOrWhereHealthAspect', 'RentalVehicleUsage', 'APIReference', 'RemixAlbum', 'OriginalShippingFees', 'LowSaltDiet', 'ParentAudience', 'Courthouse', 'CheckInAction', 'Artery', 'TransformedContent', 'Friday', 'CommentPermission', 'StagedContent', 'TollFree', 'Canal', 'Appearance', 'OceanBodyOfWater', 'InvoicePrice', 'SRP', 'OneTimePayments', 'RelatedTopicsHealthAspect', 'CassetteFormat', 'Dermatology', 'SportsClub', 'FreeReturn', 'HomeGoodsStore', 'Hotel', 'TypesHealthAspect', 'Reservoir', 'SoldOut', 'Waterfall', 'MovingCompany', 'EBook', 'Florist', 'Psychiatric', 'MaximumDoseSchedule', 'Paperback', 'GolfCourse', 'Ear', 'BasicIncome', 'RefurbishedCondition', 'NailSalon', 'RsvpResponseMaybe', 'ImageObjectSnapshot', 'PaymentChargeSpecification', 'ReserveAction', 'Casino', 'ParkingMap', 'Oncologic', 'MinimumAdvertisedPrice', 'OfficeEquipmentStore', 'CompoundPriceSpecification', 'Throat', 'Nonprofit501c2', 'EventCancelled', 'BodyMeasurementHead', 'Urologic', 'Chiropractic', 'Anesthesia', 'WearableMeasurementHips', 'BodyMeasurementBust', 'Musculoskeletal', 'BodyMeasurementWaist', 'NotYetRecruiting', 'Retail', 'Nonprofit501c5', 'Nonprofit501c18', 'OfflineTemporarily', 'BodyMeasurementInsideLeg', 'UnincorporatedAssociationCharity', 'Nonprofit501f', 'XRay', 'PaymentPastDue', 'WearableSizeGroupPlus', 'SpeechPathology', 'Gastroenterologic', 'WearableMeasurementBack', 'ReimbursementCap', 'Clinician', 'Diagnostic', 'Osteopathic', 'WearableSizeGroupMens', 'EvidenceLevelC', 'Ayurvedic', 'Nonprofit501c26', 'RadiationTherapy', 'PartiallyInForce', 'BodyMeasurementWeight', 'WearableSizeSystemContinental', 'FDAcategoryX', 'ConfirmAction', 'WearableSizeGroupBoys', 'WearableSizeGroupInfants', 'Nonprofit501c4', 'Online', 'Nonprofit501c8', 'WearableSizeSystemBR', 'Nonprofit501q', 'BodyMeasurementHips', 'Nonprofit501c25', 'Nonprofit501c1', 'EUEnergyEfficiencyCategoryE', 'WearableSizeSystemEN13402', 'PaymentDeclined', 'Nonprofit501c28', 'Dermatologic', 'WearableSizeGroupJuniors', 'Ultrasound', 'Dentistry', 'TripleBlindedTrial', 'WearableSizeGroupMaternity', 'Withdrawn', 'Nonprofit501c16', 'Nonprofit501c11', 'OpenTrial', 'ReservationCancelled', 'XPathType', 'Nonprofit501c12', 'LiveBlogPosting', 'EUEnergyEfficiencyCategoryA2Plus', 'Nonprofit501k', 'Nonprofit501c17', 'PaymentDue', 'LeftHandDriving', 'OrderInTransit', 'WearableSizeSystemUS', 'EUEnergyEfficiencyCategoryB', 'Nonprofit501c20', 'Wholesale', 'Endocrine', 'Terminated', 'WearableMeasurementCollar', 'EvidenceLevelB', 'Protozoa', 'BodyMeasurementChest', 'ReservationHold', 'OrderProcessing', 'EUEnergyEfficiencyCategoryA1Plus', 'Nonprofit501c13', 'PhysicalTherapy', 'EventRescheduled', 'PrependAction', 'MultiCenterTrial', 'AppendAction', 'Nonprofit501c9', 'MulticellularParasite', 'WesternConventional', 'WearableSizeSystemUK', 'WearableMeasurementOutsideLeg', 'FDAcategoryD', 'Nonprofit501c15', 'WearableSizeGroupRegular', 'Nonprofit501c10', 'URL', 'WearableMeasurementCup', 'WearableSizeSystemCN', 'SingleCenterTrial', 'PaymentComplete', 'CohortStudy', 'EnrollingByInvitation', 'WearableMeasurementLength', 'FrontWheelDriveConfiguration', 'Nonprofit501c3', 'WearableMeasurementChestOrBust', 'WearableSizeGroupHusky', 'NonprofitSBBI', 'RespiratoryTherapy', 'Surgical', 'RandomizedTrial', 'TraditionalChinese', 'WearableSizeGroupExtraTall', 'BodyMeasurementHeight', 'CompletedActionStatus', 'PronounceableText', 'NonprofitANBI', 'Nonprofit527', 'Bacteria', 'Hematologic', 'CreditCard', 'WearableMeasurementHeight', 'Pathology', 'Nonprofit501c23', 'PharmacySpecialty', 'EUEnergyEfficiencyCategoryA3Plus', 'OrderProblem', 'LimitedByGuaranteeCharity', 'CatholicChurch', 'DepositAccount', 'Recruiting', 'Nonprofit501n', 'Nonprofit501c19', 'PrescriptionOnly', 'WearableSizeGroupGirls', 'Nonprofit501c22', 'VideoGallery', 'ReservationConfirmed', 'Rheumatologic', 'OccupationalTherapy', 'OrderPickupAvailable', 'VitalSign', 'Pulmonary', 'MortgageLoan', 'ImageGallery', 'WearableMeasurementSleeve', 'Renal', 'CaseSeries', 'ResultsAvailable', 'FDAcategoryA', 'EventPostponed', 'WearableSizeGroupShort', 'ActiveNotRecruiting', 'MRI', 'WearableMeasurementWaist', 'Nonprofit501a', 'WearableSizeSystemJP', 'DoubleBlindedTrial', 'CT', 'BodyMeasurementArm', 'WearableMeasurementWidth', 'Prion', 'FailedActionStatus', 'OTC', 'PotentialActionStatus', 'BodyMeasurementHand', 'WearableSizeSystemDE', 'WearableSizeSystemAU', 'Toxicologic', 'OnlineFull', 'InternationalTrial', 'CssSelectorType', 'Neurologic', 'LaboratoryScience', 'ActiveActionStatus', 'Nonprofit501c6', 'Cardiovascular', 'OfflinePermanently', 'FDAcategoryC', 'FourWheelDriveConfiguration', 'WearableSizeGroupExtraShort', 'WearableSizeSystemEurope', 'Radiography', 'OrderReturned', 'WearableMeasurementInseam', 'Completed', 'False_', 'WearableSizeGroupBig', 'ResultsNotAvailable', 'Longitudinal', 'PET', 'MedicalResearcher', 'BodyMeasurementFoot', 'Homeopathic', 'EUEnergyEfficiencyCategoryF', 'NotInForce', 'WearableSizeSystemIT', 'EnergyStarCertified', 'BodyMeasurementNeck', 'BrokerageAccount', 'Nonprofit501e', 'EUEnergyEfficiencyCategoryC', 'CrossSectional', 'WearableSizeSystemFR', 'WearableSizeGroupPetite', 'WearableSizeGroupMisses', 'Nonprofit501c7', 'Nonprofit501c21', 'Nonprofit501c27', 'Fungus', 'RearWheelDriveConfiguration', 'Nonprofit501c24', 'OrderDelivered', 'InvestmentFund', 'OrderPaymentDue', 'Genetic', 'PaymentAutomaticallyApplied', 'PlaceboControlledTrial', 'EUEnergyEfficiencyCategoryG', 'PercutaneousProcedure', 'WearableSizeGroupTall', 'InForce', 'FDAnotEvaluated', 'FDAcategoryB', 'Nonprofit501d', 'WearableSizeGroupWomens', 'Infectious', 'EUEnergyEfficiencyCategoryD', 'Integer', 'Float', 'Registry', 'NoninvasiveProcedure', 'WearableSizeSystemMX', 'WearableSizeSystemGS1', 'ReservationPending', 'Suspended', 'Virus', 'EventMovedOnline', 'OrderCancelled', 'CharitableIncorporatedOrganization', 'RightHandDriving', 'BodyMeasurementUnderbust', 'RsvpAction', 'AllWheelDriveConfiguration', 'True_', 'UKTrust', 'Observational', 'Therapeutic', 'Nonprofit501c14', 'EUEnergyEfficiencyCategoryA', 'SingleBlindedTrial', 'EventScheduled', 'EvidenceLevelA'] +__all__= ['SchemaOrgBase','Thing', 'Organization', 'Action', 'Intangible', 'CreativeWork', 'Place', 'MedicalEntity', 'Person', 'Product', 'BioChemEntity', 'Event', 'Taxon', 'NewsMediaOrganization', 'OrganizeAction', 'Enumeration', 'ConsumeAction', 'TradeAction', 'DigitalDocument', 'Reservation', 'AlignmentObject', 'LocalBusiness', 'Audience', 'InteractAction', 'MedicalTest', 'MedicalIntangible', 'DefinedTerm', 'Review', 'CivicStructure', 'LearningResource', 'MedicalOrganization', 'Order', 'AssessAction', 'SomeProducts', 'MediaReviewItem', 'MedicalProcedure', 'Series', 'CreativeWorkSeries', 'TransferAction', 'DrugCost', 'Demand', 'StructuredValue', 'WebPage', 'Statement', 'Clip', 'Accommodation', 'OccupationalExperienceRequirements', 'MolecularEntity', 'Comment', 'Residence', 'Manuscript', 'WebPageElement', 'SheetMusic', 'Class', 'Episode', 'Season', 'Article', 'Quantity', 'ControlAction', 'MusicPlaylist', 'MoveAction', 'Permit', 'FundingScheme', 'MediaObject', 'AnatomicalStructure', 'Substance', 'Message', 'MedicalContraindication', 'AmpStory', 'LifestyleModification', 'ExercisePlan', 'Thesis', 'ShortStory', 'FindAction', 'MedicalCondition', 'MathSolver', 'Service', 'SoftwareApplication', 'ComicStory', 'VisualArtwork', 'ProductModel', 'MerchantReturnPolicy', 'MedicalStudy', 'Blog', 'WorkersUnion', 'MenuSection', 'MusicRecording', 'DanceEvent', 'Project', 'ScreeningEvent', 'MedicalCause', 'HealthPlanNetwork', 'SoftwareSourceCode', 'EducationalOccupationalProgram', 'DataFeedItem', 'MedicalIndication', 'ExhibitionEvent', 'ItemList', 'AdministrativeArea', 'PublicationIssue', 'ActionAccessSpecification', 'MedicalRiskEstimator', 'BroadcastChannel', 'MusicEvent', 'Painting', 'Grant', 'DefinedTermSet', 'HyperTocEntry', 'TVSeries', 'DataCatalog', 'SportsOrganization', 'ListItem', 'HowToSection', 'EducationalOrganization', 'Rating', 'PublicationEvent', 'Brand', 'PlayAction', 'UpdateAction', 'CreateAction', 'Vehicle', 'TheaterEvent', 'ArchiveComponent', 'EnergyConsumptionDetails', 'EducationalOccupationalCredential', 'Offer', 'Trip', 'JobPosting', 'Collection', 'Ticket', 'BroadcastFrequencySpecification', 'AchieveAction', 'Book', 'Occupation', 'UserInteraction', 'PerformingGroup', 'ChildrensEvent', 'VisualArtsEvent', 'MenuItem', 'Protein', 'HyperToc', 'Course', 'HowTo', 'Hackathon', 'HowToDirection', 'Quotation', 'EventSeries', 'MedicalRiskFactor', 'Movie', 'FoodEvent', 'MusicComposition', 'SaleEvent', 'SearchAction', 'SuperficialAnatomy', 'SolveMathAction', 'Game', 'Sculpture', 'Dataset', 'NGO', 'Airline', 'GeospatialGeometry', 'HowToTip', 'CreativeWorkSeason', 'TVSeason', 'BedDetails', 'WebContent', 'TouristAttraction', 'MediaSubscription', 'LiteraryEvent', 'Photograph', 'Role', 'Landform', 'Observation', 'Legislation', 'DrugClass', 'SpeakableSpecification', 'ServiceChannel', 'Festival', 'PublicationVolume', 'SpecialAnnouncement', 'Atlas', 'Drawing', 'ChemicalSubstance', 'ProductGroup', 'Claim', 'ProgramMembership', 'OrderItem', 'ResearchOrganization', 'Chapter', 'VirtualLocation', 'HealthInsurancePlan', 'StatisticalPopulation', 'TouristDestination', 'Property', 'SeekToAction', 'MedicalGuideline', 'Guide', 'IndividualProduct', 'Poster', 'CourseInstance', 'EducationEvent', 'PropertyValueSpecification', 'Language', 'ComputerLanguage', 'WebSite', 'Patient', 'MedicalDevice', 'FloorPlan', 'HealthPlanCostSharingSpecification', 'MerchantReturnPolicySeasonalOverride', 'Invoice', 'Consortium', 'SocialEvent', 'AnatomicalSystem', 'LandmarksOrHistoricalBuildings', 'Diet', 'BusinessEvent', 'Menu', 'Conversation', 'Corporation', 'GovernmentOrganization', 'DigitalDocumentPermission', 'Code', 'Map', 'Play', 'HealthPlanFormulary', 'EntryPoint', 'Schedule', 'DeliveryEvent', 'HowToStep', 'Gene', 'ParcelDelivery', 'LibrarySystem', 'SportsEvent', 'GameServer', 'Seat', 'ComedyEvent', 'ProductCollection', 'PlanAction', 'NonprofitType', 'StatusEnumeration', 'MeasurementTypeEnumeration', 'ListenAction', 'Specialty', 'MedicalEnumeration', 'PresentationDigitalDocument', 'LodgingBusiness', 'BusinessAudience', 'JoinAction', 'CategoryCode', 'MedicalCode', 'MusicAlbumReleaseType', 'HomeAndConstructionBusiness', 'PhysicalActivityCategory', 'MedicalBusiness', 'AllocateAction', 'MediaReview', 'Airport', 'Quiz', 'Dentist', 'PlaceOfWorship', 'Store', 'GovernmentBuilding', 'ChooseAction', 'GamePlayMode', 'PriceComponentTypeEnumeration', 'HealthAspectEnumeration', 'OfferItemCondition', 'PhysicalExam', 'BookmarkAction', 'ReturnLabelSourceEnumeration', 'DayOfWeek', 'Zoo', 'LegalValueLevel', 'BookSeries', 'Park', 'MapCategoryType', 'FoodEstablishment', 'LendAction', 'ItemAvailability', 'SportsActivityLocation', 'UserReview', 'BusinessEntityType', 'PropertyValue', 'TherapeuticProcedure', 'SizeSystemEnumeration', 'RestrictedDiet', 'SizeGroupEnumeration', 'Room', 'VideoGameSeries', 'GovernmentBenefitsType', 'CorrectionComment', 'ReturnMethodEnumeration', 'SiteNavigationElement', 'RsvpResponseType', 'DataType', 'AutomotiveBusiness', 'RadioEpisode', 'HealthAndBeautyBusiness', 'NewsArticle', 'MusicAlbumProductionType', 'ReturnFeesEnumeration', 'Energy', 'DeactivateAction', 'MusicAlbum', 'TravelAction', 'Recommendation', 'MarryAction', 'DataDownload', 'BoatReservation', 'Nerve', 'CarUsageType', 'TelevisionStation', 'CollectionPage', 'Question', 'ItemListOrderType', 'RegisterAction', 'PhysicalActivity', 'ChildCare', 'MediaManipulationRatingEnumeration', 'EntertainmentBusiness', 'SendAction', 'EnergyEfficiencyEnumeration', 'DiscoverAction', 'DoseSchedule', 'FinancialService', 'MedicalSignOrSymptom', 'MusicReleaseFormatType', 'Mass', 'FinancialProduct', 'PalliativeProcedure', 'TravelAgency', 'RecyclingCenter', 'TaxiReservation', 'CoverArt', 'ComicCoverArt', 'DeliveryMethod', 'DigitalDocumentPermissionType', 'Apartment', 'MedicalObservationalStudy', 'PriceSpecification', 'PayAction', 'CommunicateAction', 'DefinedRegion', 'PerformingArtsTheater', 'RealEstateAgent', 'ResearchProject', 'SocialMediaPosting', 'MobileApplication', 'Campground', 'DryCleaningOrLaundry', 'ScholarlyArticle', 'SelfStorage', 'Researcher', 'PriceTypeEnumeration', 'NutritionInformation', 'RadioClip', 'ApprovedIndication', 'SuspendAction', 'TakeAction', 'BreadcrumbList', 'UseAction', 'SchoolDistrict', 'ComicIssue', 'QuantitativeValueDistribution', 'MedicalWebPage', 'TrainReservation', 'EventAttendanceModeEnumeration', 'RadioChannel', 'Vessel', 'ReactAction', 'LegalService', 'DrinkAction', 'PaymentMethod', 'ProfilePage', 'MusicRelease', 'ArriveAction', 'Pharmacy', 'OwnershipInfo', 'MonetaryGrant', 'Periodical', 'ImageObject', 'QualitativeValue', 'MedicalTestPanel', 'WatchAction', 'Report', 'QuantitativeValue', 'QAPage', 'RentalCarReservation', 'EmployerReview', 'RefundTypeEnumeration', 'MerchantReturnEnumeration', 'TaxiService', 'School', 'EngineSpecification', 'InfectiousDisease', 'BusReservation', 'Country', 'DeliveryTimeSettings', 'WorkBasedProgram', 'ExerciseAction', 'AddAction', 'House', 'FlightReservation', 'StadiumOrArena', 'Physician', 'OfferForLease', 'TipAction', 'RadioSeries', 'TreatmentIndication', 'TrainTrip', 'BusStation', 'MiddleSchool', 'BookFormatType', 'PostalCodeRangeSpecification', 'AggregateRating', 'EmploymentAgency', 'RadioStation', 'GenderType', 'VeterinaryCare', 'WinAction', 'SatiricalArticle', 'BloodTest', 'GovernmentOffice', 'Preschool', 'DownloadAction', 'UserPlays', 'Drug', 'SurgicalProcedure', 'TheaterGroup', 'WebApplication', 'InteractionCounter', 'ReviewAction', 'BrainStructure', 'MusicVenue', 'SellAction', 'AudioObject', 'Audiobook', 'BoatTrip', 'EmergencyService', 'FireStation', 'ContactPointOption', 'OfferShippingDetails', 'Crematorium', 'TrackAction', 'Duration', 'ContactPoint', 'UserBlocks', 'UserPlusOnes', 'WPHeader', 'MusicVideoObject', 'Flight', 'LeaveAction', 'DiagnosticLab', 'FAQPage', 'Joint', 'DrugLegalStatus', 'DiagnosticProcedure', 'Car', 'VideoGameClip', 'FoodEstablishmentReservation', 'DataFeed', 'Distance', 'MedicalConditionStage', 'Muscle', 'HowToItem', 'BusOrCoach', 'ParkingFacility', 'VideoGame', 'RentAction', 'BusTrip', 'Suite', 'CategoryCodeSet', 'ProfessionalService', 'DrawAction', 'TVClip', 'OrganizationRole', 'Hospital', 'WPSideBar', 'BefriendAction', 'FilmAction', 'Continent', 'UserTweets', 'SubwayStation', 'BroadcastService', 'BoardingPolicyType', 'Motorcycle', 'MovieClip', 'FundingAgency', 'TypeAndQuantityNode', 'City', 'InternetCafe', 'GeoCoordinates', 'RepaymentSpecification', 'EventReservation', 'QuoteAction', 'RVPark', 'Ligament', 'AnimalShelter', 'ReturnAction', 'ShippingDeliveryTime', 'Table', 'BorrowAction', 'CriticReview', 'ArchiveOrganization', 'DatedMoneySpecification', 'OnDemandEvent', 'ShoppingCenter', 'GiveAction', 'EndorsementRating', 'BodyOfWater', 'TouristInformationCenter', 'TextDigitalDocument', 'LegislationObject', 'RealEstateListing', 'EducationalAudience', 'EventVenue', 'ContactPage', 'VideoObject', 'UserCheckins', 'EmailMessage', 'PeopleAudience', 'CollegeOrUniversity', 'ResumeAction', 'CheckAction', 'State', 'PodcastEpisode', 'UserLikes', 'WPAdBlock', 'Beach', 'TrainStation', 'CampingPitch', 'TieAction', 'MedicalRiskScore', 'PreOrderAction', 'NoteDigitalDocument', 'WarrantyScope', 'PodcastSeries', 'PublicToilet', 'MedicalAudience', 'UserPageVisits', 'ReplaceAction', 'ApplyAction', 'MusicGroup', 'ItemPage', 'MedicalRiskCalculator', 'MedicalGuidelineRecommendation', 'DonateAction', 'BoatTerminal', 'MotorizedBicycle', 'AggregateOffer', 'MedicalClinic', 'PodcastSeason', 'CDCPMDRecord', 'PaintAction', 'ExchangeRateSpecification', 'PoliceStation', 'DepartAction', 'ShippingRateSettings', 'WPFooter', 'DanceGroup', 'DDxElement', 'TaxiStand', 'DeleteAction', 'ReceiveAction', 'MovieSeries', 'LodgingReservation', 'ReservationPackage', 'GeoShape', 'WarrantyPromise', 'HighSchool', 'Museum', 'CheckoutPage', 'LoseAction', 'SpreadsheetDigitalDocument', 'IgnoreAction', 'OfferCatalog', 'SubscribeAction', 'PathologyTest', 'Mountain', 'TechArticle', 'CableOrSatelliteService', 'BusStop', 'Cemetery', 'CookAction', 'Recipe', 'MedicalGuidelineContraindication', 'ElementarySchool', 'RadioSeason', 'AboutPage', 'DrugStrength', 'Aquarium', 'Library', 'Taxi', 'AdvertiserContentArticle', 'Answer', 'DietarySupplement', 'BroadcastEvent', 'OpeningHoursSpecification', 'LinkRole', 'InstallAction', 'BuyAction', 'Bone', 'ViewAction', 'ClaimReview', 'PerformanceRole', 'UnRegisterAction', 'HealthTopicContent', 'OrderAction', 'ReadAction', 'SportsTeam', 'SearchResultsPage', 'WriteAction', 'PerformAction', 'WebAPI', 'EatAction', 'MoneyTransfer', 'ImagingTest', 'FoodService', 'GovernmentPermit', 'OfferForPurchase', 'FollowAction', 'TouristTrip', 'TVEpisode', 'ApartmentComplex', 'MovieTheater', 'TelevisionChannel', 'PreventionIndication', 'BusinessFunction', 'Volcano', 'UserDownloads', 'MonetaryAmount', 'Playground', 'GatedResidenceCommunity', 'GovernmentService', 'Bridge', 'UserComments', 'PhotographAction', 'ActivateAction', '_3DModel', 'MedicalTrial', 'USNonprofitType', 'EventStatusType', 'BodyMeasurementTypeEnumeration', 'MedicalSpecialty', 'MedicineSystem', 'WearableMeasurementTypeEnumeration', 'BedAndBreakfast', 'BroadcastRelease', 'Electrician', 'LeisureTimeActivity', 'Podiatric', 'CancelAction', 'MedicalStudyStatus', 'AssignAction', 'DrugCostCategory', 'Synagogue', 'BikeStore', 'Embassy', 'OccupationalActivity', 'DistanceFee', 'BenefitsHealthAspect', 'NewCondition', 'Nose', 'Head', 'ReturnLabelDownloadAndPrint', 'Saturday', 'GameServerStatus', 'UKNonprofitType', 'SeatingMap', 'InStoreOnly', 'LocationFeatureSpecification', 'BookStore', 'StagesHealthAspect', 'LegislativeBuilding', 'SizeSystemMetric', 'LowLactoseDiet', 'MedicalImagingTechnique', 'PaymentStatusType', 'SelfCareHealthAspect', 'WearableSizeGroupEnumeration', 'SideEffectsHealthAspect', 'StrengthTraining', 'BusinessSupport', 'ActivationFee', 'RsvpResponseNo', 'AutoPartsStore', 'HalalDiet', 'DaySpa', 'AnalysisNewsArticle', 'StudioAlbum', 'ReturnShippingFees', 'Gynecologic', 'EffectivenessHealthAspect', 'WholesaleStore', 'MedicalAudienceType', 'HinduTemple', 'MedicalDevicePurpose', 'DrivingSchoolVehicleUsage', 'OnlineOnly', 'GasStation', 'Pediatric', 'MedicalEvidenceLevel', 'MultiPlayer', 'ItemListUnordered', 'TennisComplex', 'MediaGallery', 'ComedyClub', 'ScheduleAction', 'MedicalTherapy', 'EUEnergyEfficiencyEnumeration', 'Monday', 'RecommendedDoseSchedule', 'LegalForceStatus', 'BankOrCreditUnion', 'MedicalSymptom', 'ReturnFeesCustomerResponsibility', 'VinylFormat', 'DigitalAudioTapeFormat', 'MedicalSign', 'WearableSizeSystemEnumeration', 'Flexibility', 'DietNutrition', 'WritePermission', 'BowlingAlley', 'MayTreatHealthAspect', 'DrugPregnancyCategory', 'DiabeticDiet', 'HinduDiet', 'InformAction', 'EnergyStarEnergyEfficiencyEnumeration', 'Number', 'ShareAction', 'AerobicActivity', 'BlogPosting', 'AnaerobicActivity', 'AutoRepair', 'LiquorStore', 'SizeSystemImperial', 'MedicalScholarlyArticle', 'DefenceEstablishment', 'TireShop', 'Hostel', 'FastFoodRestaurant', 'DVDFormat', 'ReadPermission', 'Neck', 'MedicalTrialDesign', 'AskPublicNewsArticle', 'ComputerStore', 'HealthClub', 'ReservationStatusType', 'Physiotherapy', 'RejectAction', 'Text', 'AMRadioChannel', 'Vein', 'PaidLeave', 'SalePrice', 'LikeAction', 'Resort', 'SkiResort', 'Nursing', 'PaymentCard', 'MixedEventAttendanceMode', 'BackOrder', 'CleaningFee', 'NightClub', 'ComicSeries', 'TaxiVehicleUsage', 'CardiovascularExam', 'SteeringPositionValue', 'OrderStatus', 'Notary', 'Distillery', 'DepartmentStore', 'ScreeningHealthAspect', 'OutOfStock', 'LockerDelivery', 'ParentalSupport', 'MerchantReturnNotPermitted', 'ClothingStore', 'AutoRental', 'RoofingContractor', 'LimitedAvailability', 'MusicStore', 'ExerciseGym', 'MixtapeAlbum', 'SafetyHealthAspect', 'LaserDiscFormat', 'DateTime', 'InfectiousAgentClass', 'EPRelease', 'CurrencyConversionService', 'DisagreeAction', 'PreSale', 'VenueMap', 'InsertAction', 'Brewery', 'SingleFamilyResidence', 'DemoAlbum', 'PublicHealth', 'ContagiousnessHealthAspect', 'MonetaryAmountDistribution', 'MeetingRoom', 'BarOrPub', 'ExchangeRefund', 'AskAction', 'HVACBusiness', 'Skin', 'GraphicNovel', 'Emergency', 'SingleRelease', 'EmployerAggregateRating', 'AutoBodyShop', 'SatireOrParodyContent', 'UnofficialLegalValue', 'GlutenFreeDiet', 'DisabilitySupport', 'Plumber', 'AuthoritativeLegalValue', 'CausesHealthAspect', 'Optician', 'Geriatric', 'HairSalon', 'AcceptAction', 'Abdomen', 'CoOp', 'OverviewHealthAspect', 'MotorcycleDealer', 'SymptomsHealthAspect', 'MedicalObservationalStudyDesign', 'PaymentService', 'PrimaryCare', 'CityHall', 'ShoeStore', 'ReturnLabelInBox', 'DriveWheelConfigurationValue', 'DigitalFormat', 'CheckOutAction', 'UnitPriceSpecification', 'HearingImpairedSupported', 'WantAction', 'CommunityHealth', 'OfficialLegalValue', 'Installment', 'NLNonprofitType', 'BackgroundNewsArticle', 'Bakery', 'ReturnAtKiosk', 'PostalAddress', 'Male', 'AuthorizeAction', 'UsedCondition', 'PlasticSurgery', 'Thursday', 'Newspaper', 'Obstetric', 'MovieRentalStore', 'BankAccount', 'ActionStatusType', 'GardenStore', 'PetStore', 'BeautySalon', 'SeeDoctorHealthAspect', 'DefinitiveLegalValue', 'SpokenWordAlbum', 'GettingAccessHealthAspect', 'LoanOrCredit', 'BuddhistTemple', 'DamagedCondition', 'Balance', 'DeliveryChargeSpecification', 'CompleteDataFeed', 'DiscussionForumPosting', 'PrognosisHealthAspect', 'MedicalProcedureType', 'LivingWithHealthAspect', 'OfflineEventAttendanceMode', 'RisksOrComplicationsHealthAspect', 'Church', 'OpinionNewsArticle', 'HowToTool', 'IceCreamShop', 'InvestmentOrDeposit', 'EditedOrCroppedContent', 'DJMixAlbum', 'AmusementPark', 'OriginalMediaContent', 'AudiobookFormat', 'PatientExperienceHealthAspect', 'DrugPrescriptionStatus', 'Time', 'Subscription', 'Lung', 'MerchantReturnFiniteReturnWindow', 'GroceryStore', 'CDFormat', 'WearAction', 'ItemListOrderDescending', 'PostOffice', 'Winery', 'MobilePhoneStore', 'RadioBroadcastService', 'GroupBoardingPolicy', 'LymphaticVessel', 'RestockingFees', 'AdultEntertainment', 'MotorcycleRepair', 'RsvpResponseYes', 'CommentAction', 'PreventionHealthAspect', 'TreatmentsHealthAspect', 'VegetarianDiet', 'Motel', 'ReportageNewsArticle', 'Optometric', 'Downpayment', 'StoreCreditRefund', 'AgreeAction', 'JewelryStore', 'TransitMap', 'Hardcover', 'Restaurant', 'MSRP', 'SoundtrackAlbum', 'ReviewNewsArticle', 'HotelRoom', 'Barcode', 'ArtGallery', 'HowToSupply', 'Sunday', 'PsychologicalTreatment', 'RiverBodyOfWater', 'HousePainter', 'DislikeAction', 'VoteAction', 'PreOrder', 'PawnShop', 'KosherDiet', 'SizeSpecification', 'Wednesday', 'PublicSwimmingPool', 'VideoObjectSnapshot', 'Pond', 'ListPrice', 'IngredientsHealthAspect', 'SeaBodyOfWater', 'HowItWorksHealthAspect', 'AutoDealer', 'MerchantReturnUnspecified', 'LowCalorieDiet', 'LakeBodyOfWater', 'DecontextualizedContent', 'CompilationAlbum', 'GeneralContractor', 'ItemListOrderAscending', 'AllergiesHealthAspect', 'ReplyAction', 'ConvenienceStore', 'OutletStore', 'AutomatedTeller', 'HardwareStore', 'UnemploymentSupport', 'Locksmith', 'AudioObjectSnapshot', 'ReturnInStore', 'TattooParlor', 'UsageOrScheduleHealthAspect', 'VeganDiet', 'PublicHolidays', 'MusculoskeletalExam', 'ReturnByMail', 'MisconceptionsHealthAspect', 'BedType', 'CovidTestingFacility', 'FurnitureStore', 'HobbyShop', 'Mosque', 'Midwifery', 'OnSitePickup', 'SinglePlayer', 'OnlineEventAttendanceMode', 'ReportedDoseSchedule', 'FullRefund', 'Boolean', 'ElectronicsStore', 'InStock', 'AccountingService', 'ParcelService', 'MerchantReturnUnlimitedWindow', 'Otolaryngologic', 'Neuro', 'EndorseAction', 'Tuesday', 'FMRadioChannel', 'HealthCare', 'Female', 'InsuranceAgency', 'ReturnLabelCustomerResponsibility', 'InviteAction', 'Genitourinary', 'EmployeeRole', 'PregnancyHealthAspect', 'Eye', 'Attorney', 'MensClothingStore', 'AutoWash', 'Discontinued', 'LiveAlbum', 'SportingGoodsStore', 'CafeOrCoffeeShop', 'AlbumRelease', 'GeoCircle', 'Date', 'LowFatDiet', 'ZoneBoardingPolicy', 'ToyStore', 'HowOrWhereHealthAspect', 'RentalVehicleUsage', 'APIReference', 'RemixAlbum', 'OriginalShippingFees', 'LowSaltDiet', 'ParentAudience', 'Courthouse', 'CheckInAction', 'Artery', 'TransformedContent', 'Friday', 'CommentPermission', 'StagedContent', 'TollFree', 'Canal', 'Appearance', 'OceanBodyOfWater', 'InvoicePrice', 'SRP', 'OneTimePayments', 'RelatedTopicsHealthAspect', 'CassetteFormat', 'Dermatology', 'SportsClub', 'FreeReturn', 'HomeGoodsStore', 'Hotel', 'TypesHealthAspect', 'Reservoir', 'SoldOut', 'Waterfall', 'MovingCompany', 'EBook', 'Florist', 'Psychiatric', 'MaximumDoseSchedule', 'Paperback', 'GolfCourse', 'Ear', 'BasicIncome', 'RefurbishedCondition', 'NailSalon', 'RsvpResponseMaybe', 'ImageObjectSnapshot', 'PaymentChargeSpecification', 'ReserveAction', 'Casino', 'ParkingMap', 'Oncologic', 'MinimumAdvertisedPrice', 'OfficeEquipmentStore', 'CompoundPriceSpecification', 'Throat', 'Nonprofit501c2', 'EventCancelled', 'BodyMeasurementHead', 'Urologic', 'Chiropractic', 'Anesthesia', 'WearableMeasurementHips', 'BodyMeasurementBust', 'Musculoskeletal', 'BodyMeasurementWaist', 'NotYetRecruiting', 'Retail', 'Nonprofit501c5', 'Nonprofit501c18', 'OfflineTemporarily', 'BodyMeasurementInsideLeg', 'UnincorporatedAssociationCharity', 'Nonprofit501f', 'XRay', 'PaymentPastDue', 'WearableSizeGroupPlus', 'SpeechPathology', 'Gastroenterologic', 'WearableMeasurementBack', 'ReimbursementCap', 'Clinician', 'Diagnostic', 'Osteopathic', 'WearableSizeGroupMens', 'EvidenceLevelC', 'Ayurvedic', 'Nonprofit501c26', 'RadiationTherapy', 'PartiallyInForce', 'BodyMeasurementWeight', 'WearableSizeSystemContinental', 'FDAcategoryX', 'ConfirmAction', 'WearableSizeGroupBoys', 'WearableSizeGroupInfants', 'Nonprofit501c4', 'Online', 'Nonprofit501c8', 'WearableSizeSystemBR', 'Nonprofit501q', 'BodyMeasurementHips', 'Nonprofit501c25', 'Nonprofit501c1', 'EUEnergyEfficiencyCategoryE', 'WearableSizeSystemEN13402', 'PaymentDeclined', 'Nonprofit501c28', 'Dermatologic', 'WearableSizeGroupJuniors', 'Ultrasound', 'Dentistry', 'TripleBlindedTrial', 'WearableSizeGroupMaternity', 'Withdrawn', 'Nonprofit501c16', 'Nonprofit501c11', 'OpenTrial', 'ReservationCancelled', 'XPathType', 'Nonprofit501c12', 'LiveBlogPosting', 'EUEnergyEfficiencyCategoryA2Plus', 'Nonprofit501k', 'Nonprofit501c17', 'PaymentDue', 'LeftHandDriving', 'OrderInTransit', 'WearableSizeSystemUS', 'EUEnergyEfficiencyCategoryB', 'Nonprofit501c20', 'Wholesale', 'Endocrine', 'Terminated', 'WearableMeasurementCollar', 'EvidenceLevelB', 'Protozoa', 'BodyMeasurementChest', 'ReservationHold', 'OrderProcessing', 'EUEnergyEfficiencyCategoryA1Plus', 'Nonprofit501c13', 'PhysicalTherapy', 'EventRescheduled', 'PrependAction', 'MultiCenterTrial', 'AppendAction', 'Nonprofit501c9', 'MulticellularParasite', 'WesternConventional', 'WearableSizeSystemUK', 'WearableMeasurementOutsideLeg', 'FDAcategoryD', 'Nonprofit501c15', 'WearableSizeGroupRegular', 'Nonprofit501c10', 'URL', 'WearableMeasurementCup', 'WearableSizeSystemCN', 'SingleCenterTrial', 'PaymentComplete', 'CohortStudy', 'EnrollingByInvitation', 'WearableMeasurementLength', 'FrontWheelDriveConfiguration', 'Nonprofit501c3', 'WearableMeasurementChestOrBust', 'WearableSizeGroupHusky', 'NonprofitSBBI', 'RespiratoryTherapy', 'Surgical', 'RandomizedTrial', 'TraditionalChinese', 'WearableSizeGroupExtraTall', 'BodyMeasurementHeight', 'CompletedActionStatus', 'PronounceableText', 'NonprofitANBI', 'Nonprofit527', 'Bacteria', 'Hematologic', 'CreditCard', 'WearableMeasurementHeight', 'Pathology', 'Nonprofit501c23', 'PharmacySpecialty', 'EUEnergyEfficiencyCategoryA3Plus', 'OrderProblem', 'LimitedByGuaranteeCharity', 'CatholicChurch', 'DepositAccount', 'Recruiting', 'Nonprofit501n', 'Nonprofit501c19', 'PrescriptionOnly', 'WearableSizeGroupGirls', 'Nonprofit501c22', 'VideoGallery', 'ReservationConfirmed', 'Rheumatologic', 'OccupationalTherapy', 'OrderPickupAvailable', 'VitalSign', 'Pulmonary', 'MortgageLoan', 'ImageGallery', 'WearableMeasurementSleeve', 'Renal', 'CaseSeries', 'ResultsAvailable', 'FDAcategoryA', 'EventPostponed', 'WearableSizeGroupShort', 'ActiveNotRecruiting', 'MRI', 'WearableMeasurementWaist', 'Nonprofit501a', 'WearableSizeSystemJP', 'DoubleBlindedTrial', 'CT', 'BodyMeasurementArm', 'WearableMeasurementWidth', 'Prion', 'FailedActionStatus', 'OTC', 'PotentialActionStatus', 'BodyMeasurementHand', 'WearableSizeSystemDE', 'WearableSizeSystemAU', 'Toxicologic', 'OnlineFull', 'InternationalTrial', 'CssSelectorType', 'Neurologic', 'LaboratoryScience', 'ActiveActionStatus', 'Nonprofit501c6', 'Cardiovascular', 'OfflinePermanently', 'FDAcategoryC', 'FourWheelDriveConfiguration', 'WearableSizeGroupExtraShort', 'WearableSizeSystemEurope', 'Radiography', 'OrderReturned', 'WearableMeasurementInseam', 'Completed', 'False_', 'WearableSizeGroupBig', 'ResultsNotAvailable', 'Longitudinal', 'PET', 'MedicalResearcher', 'BodyMeasurementFoot', 'Homeopathic', 'EUEnergyEfficiencyCategoryF', 'NotInForce', 'WearableSizeSystemIT', 'EnergyStarCertified', 'BodyMeasurementNeck', 'BrokerageAccount', 'Nonprofit501e', 'EUEnergyEfficiencyCategoryC', 'CrossSectional', 'WearableSizeSystemFR', 'WearableSizeGroupPetite', 'WearableSizeGroupMisses', 'Nonprofit501c7', 'Nonprofit501c21', 'Nonprofit501c27', 'Fungus', 'RearWheelDriveConfiguration', 'Nonprofit501c24', 'OrderDelivered', 'InvestmentFund', 'OrderPaymentDue', 'Genetic', 'PaymentAutomaticallyApplied', 'PlaceboControlledTrial', 'EUEnergyEfficiencyCategoryG', 'PercutaneousProcedure', 'WearableSizeGroupTall', 'InForce', 'FDAnotEvaluated', 'FDAcategoryB', 'Nonprofit501d', 'WearableSizeGroupWomens', 'Infectious', 'EUEnergyEfficiencyCategoryD', 'Integer', 'Float', 'Registry', 'NoninvasiveProcedure', 'WearableSizeSystemMX', 'WearableSizeSystemGS1', 'ReservationPending', 'Suspended', 'Virus', 'EventMovedOnline', 'OrderCancelled', 'CharitableIncorporatedOrganization', 'RightHandDriving', 'BodyMeasurementUnderbust', 'RsvpAction', 'AllWheelDriveConfiguration', 'True_', 'UKTrust', 'Observational', 'Therapeutic', 'Nonprofit501c14', 'EUEnergyEfficiencyCategoryA', 'SingleBlindedTrial', 'EventScheduled', 'EvidenceLevelA'] diff --git a/pydantic_schemaorg/__types__.py b/pydantic_schemaorg/__types__.py index 36953850..638aa289 100644 --- a/pydantic_schemaorg/__types__.py +++ b/pydantic_schemaorg/__types__.py @@ -46,9 +46,9 @@ 'MedicalTest': ('MedicalTest', 'pydantic_schemaorg.MedicalTest', 'MedicalTest'), 'Person': ('Person', 'pydantic_schemaorg.Person', 'Person'), 'BodyMeasurementBust': ('BodyMeasurementBust', 'pydantic_schemaorg.BodyMeasurementBust', 'BodyMeasurementBust'), +'MedicalIntangible': ('MedicalIntangible', 'pydantic_schemaorg.MedicalIntangible', 'MedicalIntangible'), 'DefinedTerm': ('DefinedTerm', 'pydantic_schemaorg.DefinedTerm', 'DefinedTerm'), 'CategoryCode': ('CategoryCode', 'pydantic_schemaorg.CategoryCode', 'CategoryCode'), -'MedicalIntangible': ('MedicalIntangible', 'pydantic_schemaorg.MedicalIntangible', 'MedicalIntangible'), 'MedicalCode': ('MedicalCode', 'pydantic_schemaorg.MedicalCode', 'MedicalCode'), 'Musculoskeletal': ('Musculoskeletal', 'pydantic_schemaorg.Musculoskeletal', 'Musculoskeletal'), 'MusicAlbumReleaseType': ('MusicAlbumReleaseType', 'pydantic_schemaorg.MusicAlbumReleaseType', 'MusicAlbumReleaseType'), diff --git a/src/constants.py b/src/constants.py index 50010577..77bcbe2f 100644 --- a/src/constants.py +++ b/src/constants.py @@ -8,7 +8,7 @@ "Date": ("ISO8601Date", f"{PACKAGE_NAME}.ISO8601.ISO8601Date", "ISO8601Date"), "DateTime": ("ISO8601Date", f"{PACKAGE_NAME}.ISO8601.ISO8601Date", "ISO8601Date"), "Time": ("time", "datetime", "time"), - "Number": ("Decimal", "decimal", "Decimal"), + "Number": ("int, float", "decimal", "Decimal"), "Float": ("float", "", ""), "Integer": ("int", "", ""), "Text": ("str", "", ""), @@ -16,7 +16,6 @@ "PronounceableText": ("str", "", ""), "URL": ("AnyUrl", "pydantic", "AnyUrl"), "XPathType": ("str", "", ""), - } data_type_specificity = { diff --git a/src/templates/model.py.tpl b/src/templates/model.py.tpl index 629b0f7e..e4b34352 100644 --- a/src/templates/model.py.tpl +++ b/src/templates/model.py.tpl @@ -18,7 +18,7 @@ class {{ model.valid_name }}({{model.parents| sort(attribute='depth', reverse=Tr See: https://schema.org/{{ model.name }} Model depth: {{model.depth}} """ - type_: str = Field(default="{{ model.name }}", alias='@type') + type_: str = Field(default="{{ model.name }}", alias='@type', constant=True) {% for field in model.fields -%} {{ field.valid_name }}: {{ field.type }} = Field( default=None,