diff --git a/pydantic_schemaorg/AMRadioChannel.py b/pydantic_schemaorg/AMRadioChannel.py index a848b598..f13e3e45 100644 --- a/pydantic_schemaorg/AMRadioChannel.py +++ b/pydantic_schemaorg/AMRadioChannel.py @@ -11,6 +11,5 @@ class AMRadioChannel(RadioChannel): See: https://schema.org/AMRadioChannel Model depth: 5 """ - type_: str = Field("AMRadioChannel", alias='@type') + type_: str = Field(default="AMRadioChannel", alias='@type') - diff --git a/pydantic_schemaorg/APIReference.py b/pydantic_schemaorg/APIReference.py index d92ffcdc..0b28c5b7 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("APIReference", alias='@type') + type_: str = Field(default="APIReference", alias='@type') assemblyVersion: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="Associated product/technology version. e.g., .NET Framework 4.5.", @@ -37,6 +37,5 @@ class APIReference(TechArticle): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text diff --git a/pydantic_schemaorg/Abdomen.py b/pydantic_schemaorg/Abdomen.py index 2e604b48..6bd78800 100644 --- a/pydantic_schemaorg/Abdomen.py +++ b/pydantic_schemaorg/Abdomen.py @@ -11,6 +11,5 @@ class Abdomen(PhysicalExam): See: https://schema.org/Abdomen Model depth: 5 """ - type_: str = Field("Abdomen", alias='@type') + type_: str = Field(default="Abdomen", alias='@type') - diff --git a/pydantic_schemaorg/AboutPage.py b/pydantic_schemaorg/AboutPage.py index 9b3521a5..93706610 100644 --- a/pydantic_schemaorg/AboutPage.py +++ b/pydantic_schemaorg/AboutPage.py @@ -11,6 +11,5 @@ class AboutPage(WebPage): See: https://schema.org/AboutPage Model depth: 4 """ - type_: str = Field("AboutPage", alias='@type') + type_: str = Field(default="AboutPage", alias='@type') - diff --git a/pydantic_schemaorg/AcceptAction.py b/pydantic_schemaorg/AcceptAction.py index b6617d52..122cb967 100644 --- a/pydantic_schemaorg/AcceptAction.py +++ b/pydantic_schemaorg/AcceptAction.py @@ -12,6 +12,5 @@ class AcceptAction(AllocateAction): See: https://schema.org/AcceptAction Model depth: 5 """ - type_: str = Field("AcceptAction", alias='@type') + type_: str = Field(default="AcceptAction", alias='@type') - diff --git a/pydantic_schemaorg/Accommodation.py b/pydantic_schemaorg/Accommodation.py index 2f5f5076..2c87c35f 100644 --- a/pydantic_schemaorg/Accommodation.py +++ b/pydantic_schemaorg/Accommodation.py @@ -20,7 +20,7 @@ class Accommodation(Place): See: https://schema.org/Accommodation Model depth: 3 """ - type_: str = Field("Accommodation", alias='@type') + type_: str = Field(default="Accommodation", alias='@type') numberOfBedrooms: Optional[Union[List[Union[Decimal, 'Number', 'QuantitativeValue', str]], Decimal, 'Number', 'QuantitativeValue', str]] = Field( default=None, description="The total integer number of bedrooms in a some [[Accommodation]], [[ApartmentComplex]]" @@ -47,7 +47,7 @@ class Accommodation(Place): 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.", diff --git a/pydantic_schemaorg/AccountingService.py b/pydantic_schemaorg/AccountingService.py index 8aaa75df..62a322a9 100644 --- a/pydantic_schemaorg/AccountingService.py +++ b/pydantic_schemaorg/AccountingService.py @@ -12,6 +12,5 @@ class AccountingService(FinancialService): See: https://schema.org/AccountingService Model depth: 5 """ - type_: str = Field("AccountingService", alias='@type') + type_: str = Field(default="AccountingService", alias='@type') - diff --git a/pydantic_schemaorg/AchieveAction.py b/pydantic_schemaorg/AchieveAction.py index aaf2f026..590951ea 100644 --- a/pydantic_schemaorg/AchieveAction.py +++ b/pydantic_schemaorg/AchieveAction.py @@ -12,6 +12,5 @@ class AchieveAction(Action): See: https://schema.org/AchieveAction Model depth: 3 """ - type_: str = Field("AchieveAction", alias='@type') + type_: str = Field(default="AchieveAction", alias='@type') - diff --git a/pydantic_schemaorg/Action.py b/pydantic_schemaorg/Action.py index d1a7b085..edae1ed5 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("Action", alias='@type') + type_: str = Field(default="Action", alias='@type') 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*.", @@ -40,7 +40,7 @@ class Action(Thing): default=None, description="For failed actions, more information on the cause of the failure.", ) - location: Optional[Union[List[Union[str, 'Text', 'Place', 'VirtualLocation', 'PostalAddress']], str, 'Text', 'Place', 'VirtualLocation', 'PostalAddress']] = Field( + location: Optional[Union[List[Union[str, 'Text', 'VirtualLocation', 'Place', 'PostalAddress']], str, 'Text', 'VirtualLocation', 'Place', 'PostalAddress']] = Field( default=None, description="The location of, for example, where an event is happening, where an organization is located," "or where an action takes place.", @@ -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.", @@ -85,11 +85,11 @@ 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.Place import Place from pydantic_schemaorg.VirtualLocation import VirtualLocation + from pydantic_schemaorg.Place import Place from pydantic_schemaorg.PostalAddress import PostalAddress from pydantic_schemaorg.DateTime import DateTime from pydantic_schemaorg.Time import Time diff --git a/pydantic_schemaorg/ActionAccessSpecification.py b/pydantic_schemaorg/ActionAccessSpecification.py index 1a5d540a..e5821b3c 100644 --- a/pydantic_schemaorg/ActionAccessSpecification.py +++ b/pydantic_schemaorg/ActionAccessSpecification.py @@ -17,7 +17,7 @@ class ActionAccessSpecification(Intangible): See: https://schema.org/ActionAccessSpecification Model depth: 3 """ - type_: str = Field("ActionAccessSpecification", alias='@type') + type_: str = Field(default="ActionAccessSpecification", alias='@type') category: Optional[Union[List[Union[AnyUrl, 'URL', str, 'Text', 'Thing', 'PhysicalActivityCategory']], AnyUrl, 'URL', str, 'Text', 'Thing', 'PhysicalActivityCategory']] = Field( default=None, description="A category for the item. Greater signs or slashes can be used to informally indicate a" @@ -27,7 +27,7 @@ class ActionAccessSpecification(Intangible): 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" @@ -47,7 +47,7 @@ class ActionAccessSpecification(Intangible): 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" @@ -55,7 +55,6 @@ class ActionAccessSpecification(Intangible): ) - if TYPE_CHECKING: from pydantic_schemaorg.URL import URL from pydantic_schemaorg.Text import Text @@ -64,8 +63,8 @@ class ActionAccessSpecification(Intangible): from pydantic_schemaorg.DateTime import DateTime from pydantic_schemaorg.Date import Date from pydantic_schemaorg.Time import Time - from pydantic_schemaorg.GeoShape import GeoShape 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 405c6b7b..233ea473 100644 --- a/pydantic_schemaorg/ActionStatusType.py +++ b/pydantic_schemaorg/ActionStatusType.py @@ -11,6 +11,5 @@ class ActionStatusType(StatusEnumeration): See: https://schema.org/ActionStatusType Model depth: 5 """ - type_: str = Field("ActionStatusType", alias='@type') + type_: str = Field(default="ActionStatusType", alias='@type') - diff --git a/pydantic_schemaorg/ActivateAction.py b/pydantic_schemaorg/ActivateAction.py index c9da055b..fdd99690 100644 --- a/pydantic_schemaorg/ActivateAction.py +++ b/pydantic_schemaorg/ActivateAction.py @@ -12,6 +12,5 @@ class ActivateAction(ControlAction): See: https://schema.org/ActivateAction Model depth: 4 """ - type_: str = Field("ActivateAction", alias='@type') + type_: str = Field(default="ActivateAction", alias='@type') - diff --git a/pydantic_schemaorg/ActivationFee.py b/pydantic_schemaorg/ActivationFee.py index 8d68e61a..4bccfb02 100644 --- a/pydantic_schemaorg/ActivationFee.py +++ b/pydantic_schemaorg/ActivationFee.py @@ -12,6 +12,6 @@ class ActivationFee(PriceComponentTypeEnumeration): See: https://schema.org/ActivationFee Model depth: 5 """ - type_: str = Field("ActivationFee", alias='@type') + type_: str = Field(default="ActivationFee", alias='@type') diff --git a/pydantic_schemaorg/ActiveActionStatus.py b/pydantic_schemaorg/ActiveActionStatus.py index e877391e..fee928fe 100644 --- a/pydantic_schemaorg/ActiveActionStatus.py +++ b/pydantic_schemaorg/ActiveActionStatus.py @@ -11,6 +11,5 @@ class ActiveActionStatus(ActionStatusType): See: https://schema.org/ActiveActionStatus Model depth: 6 """ - type_: str = Field("ActiveActionStatus", alias='@type') + type_: str = Field(default="ActiveActionStatus", alias='@type') - diff --git a/pydantic_schemaorg/ActiveNotRecruiting.py b/pydantic_schemaorg/ActiveNotRecruiting.py index 141dba9f..276f0e96 100644 --- a/pydantic_schemaorg/ActiveNotRecruiting.py +++ b/pydantic_schemaorg/ActiveNotRecruiting.py @@ -11,6 +11,5 @@ class ActiveNotRecruiting(MedicalStudyStatus): See: https://schema.org/ActiveNotRecruiting Model depth: 6 """ - type_: str = Field("ActiveNotRecruiting", alias='@type') + type_: str = Field(default="ActiveNotRecruiting", alias='@type') - diff --git a/pydantic_schemaorg/AddAction.py b/pydantic_schemaorg/AddAction.py index a5f1f24d..9e401da2 100644 --- a/pydantic_schemaorg/AddAction.py +++ b/pydantic_schemaorg/AddAction.py @@ -11,6 +11,5 @@ class AddAction(UpdateAction): See: https://schema.org/AddAction Model depth: 4 """ - type_: str = Field("AddAction", alias='@type') + type_: str = Field(default="AddAction", alias='@type') - diff --git a/pydantic_schemaorg/AdministrativeArea.py b/pydantic_schemaorg/AdministrativeArea.py index 75706c05..c5336914 100644 --- a/pydantic_schemaorg/AdministrativeArea.py +++ b/pydantic_schemaorg/AdministrativeArea.py @@ -11,6 +11,5 @@ class AdministrativeArea(Place): See: https://schema.org/AdministrativeArea Model depth: 3 """ - type_: str = Field("AdministrativeArea", alias='@type') + type_: str = Field(default="AdministrativeArea", alias='@type') - diff --git a/pydantic_schemaorg/AdultEntertainment.py b/pydantic_schemaorg/AdultEntertainment.py index 17221629..4d8d9e51 100644 --- a/pydantic_schemaorg/AdultEntertainment.py +++ b/pydantic_schemaorg/AdultEntertainment.py @@ -11,6 +11,5 @@ class AdultEntertainment(EntertainmentBusiness): See: https://schema.org/AdultEntertainment Model depth: 5 """ - type_: str = Field("AdultEntertainment", alias='@type') + type_: str = Field(default="AdultEntertainment", alias='@type') - diff --git a/pydantic_schemaorg/AdvertiserContentArticle.py b/pydantic_schemaorg/AdvertiserContentArticle.py index b2360b64..15463012 100644 --- a/pydantic_schemaorg/AdvertiserContentArticle.py +++ b/pydantic_schemaorg/AdvertiserContentArticle.py @@ -13,6 +13,5 @@ class AdvertiserContentArticle(Article): See: https://schema.org/AdvertiserContentArticle Model depth: 4 """ - type_: str = Field("AdvertiserContentArticle", alias='@type') + type_: str = Field(default="AdvertiserContentArticle", alias='@type') - diff --git a/pydantic_schemaorg/AerobicActivity.py b/pydantic_schemaorg/AerobicActivity.py index bf28f5ff..603bf019 100644 --- a/pydantic_schemaorg/AerobicActivity.py +++ b/pydantic_schemaorg/AerobicActivity.py @@ -13,6 +13,6 @@ class AerobicActivity(PhysicalActivityCategory): See: https://schema.org/AerobicActivity Model depth: 5 """ - type_: str = Field("AerobicActivity", alias='@type') + type_: str = Field(default="AerobicActivity", alias='@type') diff --git a/pydantic_schemaorg/AggregateOffer.py b/pydantic_schemaorg/AggregateOffer.py index 04382ce2..61d30297 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("AggregateOffer", alias='@type') - offers: Optional[Union[List[Union['Demand', 'Offer', str]], 'Demand', 'Offer', str]] = Field( + type_: str = Field(default="AggregateOffer", alias='@type') + offers: Optional[Union[List[Union['Offer', 'Demand', str]], 'Offer', 'Demand', 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]]" @@ -49,10 +49,9 @@ class AggregateOffer(Offer): ) - if TYPE_CHECKING: - from pydantic_schemaorg.Demand import Demand from pydantic_schemaorg.Offer import Offer + from pydantic_schemaorg.Demand import Demand 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 81f114d2..3e400786 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("AggregateRating", alias='@type') + type_: str = Field(default="AggregateRating", alias='@type') reviewCount: Optional[Union[List[Union[int, 'Integer', str]], int, 'Integer', str]] = Field( default=None, description="The count of total number of reviews.", @@ -29,7 +29,6 @@ class AggregateRating(Rating): ) - if TYPE_CHECKING: from pydantic_schemaorg.Integer import Integer from pydantic_schemaorg.Thing import Thing diff --git a/pydantic_schemaorg/AgreeAction.py b/pydantic_schemaorg/AgreeAction.py index b24a3b40..3885dfa6 100644 --- a/pydantic_schemaorg/AgreeAction.py +++ b/pydantic_schemaorg/AgreeAction.py @@ -12,6 +12,5 @@ class AgreeAction(ReactAction): See: https://schema.org/AgreeAction Model depth: 5 """ - type_: str = Field("AgreeAction", alias='@type') + type_: str = Field(default="AgreeAction", alias='@type') - diff --git a/pydantic_schemaorg/Airline.py b/pydantic_schemaorg/Airline.py index 40dc38e7..9eb47da2 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("Airline", alias='@type') + type_: str = Field(default="Airline", alias='@type') 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).", @@ -25,7 +25,6 @@ class Airline(Organization): ) - if TYPE_CHECKING: from pydantic_schemaorg.BoardingPolicyType import BoardingPolicyType from pydantic_schemaorg.Text import Text diff --git a/pydantic_schemaorg/Airport.py b/pydantic_schemaorg/Airport.py index d98dadd6..e1173315 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("Airport", alias='@type') + type_: str = Field(default="Airport", alias='@type') 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 51021ad7..9f0bda75 100644 --- a/pydantic_schemaorg/AlbumRelease.py +++ b/pydantic_schemaorg/AlbumRelease.py @@ -11,6 +11,5 @@ class AlbumRelease(MusicAlbumReleaseType): See: https://schema.org/AlbumRelease Model depth: 5 """ - type_: str = Field("AlbumRelease", alias='@type') + type_: str = Field(default="AlbumRelease", alias='@type') - diff --git a/pydantic_schemaorg/AlignmentObject.py b/pydantic_schemaorg/AlignmentObject.py index 85d2cd14..be10b159 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("AlignmentObject", alias='@type') + type_: str = Field(default="AlignmentObject", alias='@type') 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 b871b0d1..b94e7070 100644 --- a/pydantic_schemaorg/AllWheelDriveConfiguration.py +++ b/pydantic_schemaorg/AllWheelDriveConfiguration.py @@ -11,6 +11,5 @@ class AllWheelDriveConfiguration(DriveWheelConfigurationValue): See: https://schema.org/AllWheelDriveConfiguration Model depth: 6 """ - type_: str = Field("AllWheelDriveConfiguration", alias='@type') + type_: str = Field(default="AllWheelDriveConfiguration", alias='@type') - diff --git a/pydantic_schemaorg/AllergiesHealthAspect.py b/pydantic_schemaorg/AllergiesHealthAspect.py index 3c2697f0..fcafc961 100644 --- a/pydantic_schemaorg/AllergiesHealthAspect.py +++ b/pydantic_schemaorg/AllergiesHealthAspect.py @@ -11,6 +11,5 @@ class AllergiesHealthAspect(HealthAspectEnumeration): See: https://schema.org/AllergiesHealthAspect Model depth: 5 """ - type_: str = Field("AllergiesHealthAspect", alias='@type') + type_: str = Field(default="AllergiesHealthAspect", alias='@type') - diff --git a/pydantic_schemaorg/AllocateAction.py b/pydantic_schemaorg/AllocateAction.py index 4fc1c5e6..6a3cbb80 100644 --- a/pydantic_schemaorg/AllocateAction.py +++ b/pydantic_schemaorg/AllocateAction.py @@ -11,6 +11,6 @@ class AllocateAction(OrganizeAction): See: https://schema.org/AllocateAction Model depth: 4 """ - type_: str = Field("AllocateAction", alias='@type') + type_: str = Field(default="AllocateAction", alias='@type') diff --git a/pydantic_schemaorg/AmpStory.py b/pydantic_schemaorg/AmpStory.py index cf5180d4..15781cec 100644 --- a/pydantic_schemaorg/AmpStory.py +++ b/pydantic_schemaorg/AmpStory.py @@ -12,6 +12,6 @@ class AmpStory(CreativeWork): See: https://schema.org/AmpStory Model depth: 3 """ - type_: str = Field("AmpStory", alias='@type') + type_: str = Field(default="AmpStory", alias='@type') diff --git a/pydantic_schemaorg/AmusementPark.py b/pydantic_schemaorg/AmusementPark.py index e714b87a..b147883d 100644 --- a/pydantic_schemaorg/AmusementPark.py +++ b/pydantic_schemaorg/AmusementPark.py @@ -11,6 +11,5 @@ class AmusementPark(EntertainmentBusiness): See: https://schema.org/AmusementPark Model depth: 5 """ - type_: str = Field("AmusementPark", alias='@type') + type_: str = Field(default="AmusementPark", alias='@type') - diff --git a/pydantic_schemaorg/AnaerobicActivity.py b/pydantic_schemaorg/AnaerobicActivity.py index 88b71230..0cd996eb 100644 --- a/pydantic_schemaorg/AnaerobicActivity.py +++ b/pydantic_schemaorg/AnaerobicActivity.py @@ -12,6 +12,5 @@ class AnaerobicActivity(PhysicalActivityCategory): See: https://schema.org/AnaerobicActivity Model depth: 5 """ - type_: str = Field("AnaerobicActivity", alias='@type') + type_: str = Field(default="AnaerobicActivity", alias='@type') - diff --git a/pydantic_schemaorg/AnalysisNewsArticle.py b/pydantic_schemaorg/AnalysisNewsArticle.py index d7ae62dd..cb4c11ef 100644 --- a/pydantic_schemaorg/AnalysisNewsArticle.py +++ b/pydantic_schemaorg/AnalysisNewsArticle.py @@ -13,6 +13,6 @@ class AnalysisNewsArticle(NewsArticle): See: https://schema.org/AnalysisNewsArticle Model depth: 5 """ - type_: str = Field("AnalysisNewsArticle", alias='@type') + type_: str = Field(default="AnalysisNewsArticle", alias='@type') diff --git a/pydantic_schemaorg/AnatomicalStructure.py b/pydantic_schemaorg/AnatomicalStructure.py index 338aebff..b5866294 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("AnatomicalStructure", alias='@type') + type_: str = Field(default="AnatomicalStructure", alias='@type') 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 aa3ba69a..1889d5da 100644 --- a/pydantic_schemaorg/AnatomicalSystem.py +++ b/pydantic_schemaorg/AnatomicalSystem.py @@ -18,8 +18,8 @@ class AnatomicalSystem(MedicalEntity): See: https://schema.org/AnatomicalSystem Model depth: 3 """ - type_: str = Field("AnatomicalSystem", alias='@type') - comprisedOf: Optional[Union[List[Union['AnatomicalSystem', 'AnatomicalStructure', str]], 'AnatomicalSystem', 'AnatomicalStructure', str]] = Field( + type_: str = Field(default="AnatomicalSystem", alias='@type') + 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" "for the underlying anatomical structures, such as organs, that comprise the anatomical" @@ -46,7 +46,6 @@ class AnatomicalSystem(MedicalEntity): ) - if TYPE_CHECKING: from pydantic_schemaorg.AnatomicalStructure import AnatomicalStructure from pydantic_schemaorg.MedicalCondition import MedicalCondition diff --git a/pydantic_schemaorg/Anesthesia.py b/pydantic_schemaorg/Anesthesia.py index c6c094ef..155f14be 100644 --- a/pydantic_schemaorg/Anesthesia.py +++ b/pydantic_schemaorg/Anesthesia.py @@ -12,6 +12,6 @@ class Anesthesia(MedicalSpecialty): See: https://schema.org/Anesthesia Model depth: 6 """ - type_: str = Field("Anesthesia", alias='@type') + type_: str = Field(default="Anesthesia", alias='@type') diff --git a/pydantic_schemaorg/AnimalShelter.py b/pydantic_schemaorg/AnimalShelter.py index 206f0986..2deb6f03 100644 --- a/pydantic_schemaorg/AnimalShelter.py +++ b/pydantic_schemaorg/AnimalShelter.py @@ -11,6 +11,5 @@ class AnimalShelter(LocalBusiness): See: https://schema.org/AnimalShelter Model depth: 4 """ - type_: str = Field("AnimalShelter", alias='@type') + type_: str = Field(default="AnimalShelter", alias='@type') - diff --git a/pydantic_schemaorg/Answer.py b/pydantic_schemaorg/Answer.py index 49b5a2d5..85d506ba 100644 --- a/pydantic_schemaorg/Answer.py +++ b/pydantic_schemaorg/Answer.py @@ -14,15 +14,14 @@ class Answer(Comment): See: https://schema.org/Answer Model depth: 4 """ - type_: str = Field("Answer", alias='@type') - answerExplanation: Optional[Union[List[Union['WebContent', 'Comment', str]], 'WebContent', 'Comment', str]] = Field( + type_: str = Field(default="Answer", alias='@type') + 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" "or contain more broad clarification or statement about it.", ) - if TYPE_CHECKING: - from pydantic_schemaorg.WebContent import WebContent from pydantic_schemaorg.Comment import Comment + from pydantic_schemaorg.WebContent import WebContent diff --git a/pydantic_schemaorg/Apartment.py b/pydantic_schemaorg/Apartment.py index 66b0d9b9..30007c41 100644 --- a/pydantic_schemaorg/Apartment.py +++ b/pydantic_schemaorg/Apartment.py @@ -17,7 +17,7 @@ class Apartment(Accommodation): See: https://schema.org/Apartment Model depth: 4 """ - type_: str = Field("Apartment", alias='@type') + type_: str = Field(default="Apartment", alias='@type') numberOfRooms: Optional[Union[List[Union[Decimal, 'Number', 'QuantitativeValue', str]], Decimal, 'Number', 'QuantitativeValue', str]] = Field( default=None, description="The number of rooms (excluding bathrooms and closets) of the accommodation or lodging" diff --git a/pydantic_schemaorg/ApartmentComplex.py b/pydantic_schemaorg/ApartmentComplex.py index c33a6dc1..aa6f74c3 100644 --- a/pydantic_schemaorg/ApartmentComplex.py +++ b/pydantic_schemaorg/ApartmentComplex.py @@ -16,7 +16,7 @@ class ApartmentComplex(Residence): See: https://schema.org/ApartmentComplex Model depth: 4 """ - type_: str = Field("ApartmentComplex", alias='@type') + type_: str = Field(default="ApartmentComplex", alias='@type') numberOfBedrooms: Optional[Union[List[Union[Decimal, 'Number', 'QuantitativeValue', str]], Decimal, 'Number', 'QuantitativeValue', str]] = Field( default=None, description="The total integer number of bedrooms in a some [[Accommodation]], [[ApartmentComplex]]" @@ -46,7 +46,6 @@ class ApartmentComplex(Residence): ) - if TYPE_CHECKING: from pydantic_schemaorg.Number import Number from pydantic_schemaorg.QuantitativeValue import QuantitativeValue diff --git a/pydantic_schemaorg/Appearance.py b/pydantic_schemaorg/Appearance.py index fc814d15..91dd66a6 100644 --- a/pydantic_schemaorg/Appearance.py +++ b/pydantic_schemaorg/Appearance.py @@ -11,6 +11,5 @@ class Appearance(PhysicalExam): See: https://schema.org/Appearance Model depth: 5 """ - type_: str = Field("Appearance", alias='@type') + type_: str = Field(default="Appearance", alias='@type') - diff --git a/pydantic_schemaorg/AppendAction.py b/pydantic_schemaorg/AppendAction.py index 68e150eb..bb942c6c 100644 --- a/pydantic_schemaorg/AppendAction.py +++ b/pydantic_schemaorg/AppendAction.py @@ -11,6 +11,5 @@ class AppendAction(InsertAction): See: https://schema.org/AppendAction Model depth: 6 """ - type_: str = Field("AppendAction", alias='@type') + type_: str = Field(default="AppendAction", alias='@type') - diff --git a/pydantic_schemaorg/ApplyAction.py b/pydantic_schemaorg/ApplyAction.py index a4065c8e..2f26ff7b 100644 --- a/pydantic_schemaorg/ApplyAction.py +++ b/pydantic_schemaorg/ApplyAction.py @@ -13,6 +13,5 @@ class ApplyAction(OrganizeAction): See: https://schema.org/ApplyAction Model depth: 4 """ - type_: str = Field("ApplyAction", alias='@type') + type_: str = Field(default="ApplyAction", alias='@type') - diff --git a/pydantic_schemaorg/ApprovedIndication.py b/pydantic_schemaorg/ApprovedIndication.py index 38e7749c..6bba071e 100644 --- a/pydantic_schemaorg/ApprovedIndication.py +++ b/pydantic_schemaorg/ApprovedIndication.py @@ -13,6 +13,5 @@ class ApprovedIndication(MedicalIndication): See: https://schema.org/ApprovedIndication Model depth: 4 """ - type_: str = Field("ApprovedIndication", alias='@type') + type_: str = Field(default="ApprovedIndication", alias='@type') - diff --git a/pydantic_schemaorg/Aquarium.py b/pydantic_schemaorg/Aquarium.py index 4e3fdb74..9b2da30b 100644 --- a/pydantic_schemaorg/Aquarium.py +++ b/pydantic_schemaorg/Aquarium.py @@ -11,6 +11,5 @@ class Aquarium(CivicStructure): See: https://schema.org/Aquarium Model depth: 4 """ - type_: str = Field("Aquarium", alias='@type') + type_: str = Field(default="Aquarium", alias='@type') - diff --git a/pydantic_schemaorg/ArchiveComponent.py b/pydantic_schemaorg/ArchiveComponent.py index 0e2ea879..fd347433 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("ArchiveComponent", alias='@type') + type_: str = Field(default="ArchiveComponent", alias='@type') itemLocation: Optional[Union[List[Union[str, 'Text', 'Place', 'PostalAddress']], str, 'Text', 'Place', 'PostalAddress']] = Field( default=None, description="Current location of the item.", @@ -26,7 +26,6 @@ class ArchiveComponent(CreativeWork): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text from pydantic_schemaorg.Place import Place diff --git a/pydantic_schemaorg/ArchiveOrganization.py b/pydantic_schemaorg/ArchiveOrganization.py index 27c41939..50af2101 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("ArchiveOrganization", alias='@type') + type_: str = Field(default="ArchiveOrganization", alias='@type') 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" @@ -23,6 +23,5 @@ class ArchiveOrganization(LocalBusiness): ) - if TYPE_CHECKING: from pydantic_schemaorg.ArchiveComponent import ArchiveComponent diff --git a/pydantic_schemaorg/ArriveAction.py b/pydantic_schemaorg/ArriveAction.py index ddc2af8a..00ccf982 100644 --- a/pydantic_schemaorg/ArriveAction.py +++ b/pydantic_schemaorg/ArriveAction.py @@ -12,6 +12,5 @@ class ArriveAction(MoveAction): See: https://schema.org/ArriveAction Model depth: 4 """ - type_: str = Field("ArriveAction", alias='@type') + type_: str = Field(default="ArriveAction", alias='@type') - diff --git a/pydantic_schemaorg/ArtGallery.py b/pydantic_schemaorg/ArtGallery.py index 4e85f217..e4402c22 100644 --- a/pydantic_schemaorg/ArtGallery.py +++ b/pydantic_schemaorg/ArtGallery.py @@ -11,6 +11,5 @@ class ArtGallery(EntertainmentBusiness): See: https://schema.org/ArtGallery Model depth: 5 """ - type_: str = Field("ArtGallery", alias='@type') + type_: str = Field(default="ArtGallery", alias='@type') - diff --git a/pydantic_schemaorg/Artery.py b/pydantic_schemaorg/Artery.py index 8190d5c0..b4c59f05 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("Artery", alias='@type') + type_: str = Field(default="Artery", alias='@type') supplyTo: Optional[Union[List[Union['AnatomicalStructure', str]], 'AnatomicalStructure', str]] = Field( default=None, description="The area to which the artery supplies blood.", @@ -25,6 +25,5 @@ class Artery(Vessel): ) - if TYPE_CHECKING: from pydantic_schemaorg.AnatomicalStructure import AnatomicalStructure diff --git a/pydantic_schemaorg/Article.py b/pydantic_schemaorg/Article.py index 43667b2d..b4ecfe8c 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("Article", alias='@type') + type_: str = Field(default="Article", alias='@type') 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 6434f24a..6727b554 100644 --- a/pydantic_schemaorg/AskAction.py +++ b/pydantic_schemaorg/AskAction.py @@ -15,13 +15,12 @@ class AskAction(CommunicateAction): See: https://schema.org/AskAction Model depth: 5 """ - type_: str = Field("AskAction", alias='@type') + type_: str = Field(default="AskAction", alias='@type') question: Optional[Union[List[Union['Question', str]], 'Question', str]] = Field( default=None, description="A sub property of object. A question.", ) - if TYPE_CHECKING: from pydantic_schemaorg.Question import Question diff --git a/pydantic_schemaorg/AskPublicNewsArticle.py b/pydantic_schemaorg/AskPublicNewsArticle.py index 5990a0a3..86e225c1 100644 --- a/pydantic_schemaorg/AskPublicNewsArticle.py +++ b/pydantic_schemaorg/AskPublicNewsArticle.py @@ -13,6 +13,5 @@ class AskPublicNewsArticle(NewsArticle): See: https://schema.org/AskPublicNewsArticle Model depth: 5 """ - type_: str = Field("AskPublicNewsArticle", alias='@type') + type_: str = Field(default="AskPublicNewsArticle", alias='@type') - diff --git a/pydantic_schemaorg/AssessAction.py b/pydantic_schemaorg/AssessAction.py index ac89e627..0c7a38d2 100644 --- a/pydantic_schemaorg/AssessAction.py +++ b/pydantic_schemaorg/AssessAction.py @@ -11,6 +11,6 @@ class AssessAction(Action): See: https://schema.org/AssessAction Model depth: 3 """ - type_: str = Field("AssessAction", alias='@type') + type_: str = Field(default="AssessAction", alias='@type') diff --git a/pydantic_schemaorg/AssignAction.py b/pydantic_schemaorg/AssignAction.py index 309a67fc..fa13c7bd 100644 --- a/pydantic_schemaorg/AssignAction.py +++ b/pydantic_schemaorg/AssignAction.py @@ -11,6 +11,6 @@ class AssignAction(AllocateAction): See: https://schema.org/AssignAction Model depth: 5 """ - type_: str = Field("AssignAction", alias='@type') + type_: str = Field(default="AssignAction", alias='@type') diff --git a/pydantic_schemaorg/Atlas.py b/pydantic_schemaorg/Atlas.py index 3a4b2b82..05d1e7a2 100644 --- a/pydantic_schemaorg/Atlas.py +++ b/pydantic_schemaorg/Atlas.py @@ -12,6 +12,5 @@ class Atlas(CreativeWork): See: https://schema.org/Atlas Model depth: 3 """ - type_: str = Field("Atlas", alias='@type') + type_: str = Field(default="Atlas", alias='@type') - diff --git a/pydantic_schemaorg/Attorney.py b/pydantic_schemaorg/Attorney.py index 2e888d99..dfff6fd2 100644 --- a/pydantic_schemaorg/Attorney.py +++ b/pydantic_schemaorg/Attorney.py @@ -12,6 +12,5 @@ class Attorney(LegalService): See: https://schema.org/Attorney Model depth: 5 """ - type_: str = Field("Attorney", alias='@type') + type_: str = Field(default="Attorney", alias='@type') - diff --git a/pydantic_schemaorg/Audience.py b/pydantic_schemaorg/Audience.py index 20dba78d..0b1235af 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("Audience", alias='@type') + type_: str = Field(default="Audience", alias='@type') 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 9bcaadee..1c3f91a9 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("AudioObject", alias='@type') + type_: str = Field(default="AudioObject", alias='@type') 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'.", @@ -30,7 +30,6 @@ class AudioObject(MediaObject): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text from pydantic_schemaorg.MediaObject import MediaObject diff --git a/pydantic_schemaorg/AudioObjectSnapshot.py b/pydantic_schemaorg/AudioObjectSnapshot.py index e261305b..f34c14de 100644 --- a/pydantic_schemaorg/AudioObjectSnapshot.py +++ b/pydantic_schemaorg/AudioObjectSnapshot.py @@ -15,6 +15,5 @@ class AudioObjectSnapshot(AudioObject): See: https://schema.org/AudioObjectSnapshot Model depth: 5 """ - type_: str = Field("AudioObjectSnapshot", alias='@type') + type_: str = Field(default="AudioObjectSnapshot", alias='@type') - diff --git a/pydantic_schemaorg/Audiobook.py b/pydantic_schemaorg/Audiobook.py index 04ceed78..6cc0d718 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("Audiobook", alias='@type') + type_: str = Field(default="Audiobook", alias='@type') 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).", @@ -26,7 +26,6 @@ class Audiobook(AudioObject, Book): ) - if TYPE_CHECKING: from pydantic_schemaorg.Duration import Duration from pydantic_schemaorg.Person import Person diff --git a/pydantic_schemaorg/AudiobookFormat.py b/pydantic_schemaorg/AudiobookFormat.py index 1c178a99..5c2865f6 100644 --- a/pydantic_schemaorg/AudiobookFormat.py +++ b/pydantic_schemaorg/AudiobookFormat.py @@ -13,6 +13,5 @@ class AudiobookFormat(BookFormatType): See: https://schema.org/AudiobookFormat Model depth: 5 """ - type_: str = Field("AudiobookFormat", alias='@type') + type_: str = Field(default="AudiobookFormat", alias='@type') - diff --git a/pydantic_schemaorg/AuthoritativeLegalValue.py b/pydantic_schemaorg/AuthoritativeLegalValue.py index 53fcc5bb..60c969fb 100644 --- a/pydantic_schemaorg/AuthoritativeLegalValue.py +++ b/pydantic_schemaorg/AuthoritativeLegalValue.py @@ -14,6 +14,5 @@ class AuthoritativeLegalValue(LegalValueLevel): See: https://schema.org/AuthoritativeLegalValue Model depth: 5 """ - type_: str = Field("AuthoritativeLegalValue", alias='@type') + type_: str = Field(default="AuthoritativeLegalValue", alias='@type') - diff --git a/pydantic_schemaorg/AuthorizeAction.py b/pydantic_schemaorg/AuthorizeAction.py index 7943e2c1..301ece5a 100644 --- a/pydantic_schemaorg/AuthorizeAction.py +++ b/pydantic_schemaorg/AuthorizeAction.py @@ -14,16 +14,15 @@ class AuthorizeAction(AllocateAction): See: https://schema.org/AuthorizeAction Model depth: 5 """ - type_: str = Field("AuthorizeAction", alias='@type') - recipient: Optional[Union[List[Union['Person', 'Organization', 'Audience', 'ContactPoint', str]], 'Person', 'Organization', 'Audience', 'ContactPoint', str]] = Field( + type_: str = Field(default="AuthorizeAction", alias='@type') + recipient: Optional[Union[List[Union['Audience', 'ContactPoint', 'Organization', 'Person', str]], 'Audience', 'ContactPoint', '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.Organization import Organization from pydantic_schemaorg.Audience import Audience from pydantic_schemaorg.ContactPoint import ContactPoint + from pydantic_schemaorg.Organization import Organization + from pydantic_schemaorg.Person import Person diff --git a/pydantic_schemaorg/AutoBodyShop.py b/pydantic_schemaorg/AutoBodyShop.py index e2f8f8a2..fa1852c6 100644 --- a/pydantic_schemaorg/AutoBodyShop.py +++ b/pydantic_schemaorg/AutoBodyShop.py @@ -11,6 +11,5 @@ class AutoBodyShop(AutomotiveBusiness): See: https://schema.org/AutoBodyShop Model depth: 5 """ - type_: str = Field("AutoBodyShop", alias='@type') + type_: str = Field(default="AutoBodyShop", alias='@type') - diff --git a/pydantic_schemaorg/AutoDealer.py b/pydantic_schemaorg/AutoDealer.py index 029bb6c0..c3d3473c 100644 --- a/pydantic_schemaorg/AutoDealer.py +++ b/pydantic_schemaorg/AutoDealer.py @@ -11,6 +11,5 @@ class AutoDealer(AutomotiveBusiness): See: https://schema.org/AutoDealer Model depth: 5 """ - type_: str = Field("AutoDealer", alias='@type') + type_: str = Field(default="AutoDealer", alias='@type') - diff --git a/pydantic_schemaorg/AutoPartsStore.py b/pydantic_schemaorg/AutoPartsStore.py index 142cfe05..52f921c5 100644 --- a/pydantic_schemaorg/AutoPartsStore.py +++ b/pydantic_schemaorg/AutoPartsStore.py @@ -12,6 +12,6 @@ class AutoPartsStore(AutomotiveBusiness, Store): See: https://schema.org/AutoPartsStore Model depth: 5 """ - type_: str = Field("AutoPartsStore", alias='@type') + type_: str = Field(default="AutoPartsStore", alias='@type') diff --git a/pydantic_schemaorg/AutoRental.py b/pydantic_schemaorg/AutoRental.py index 4896ceee..99026847 100644 --- a/pydantic_schemaorg/AutoRental.py +++ b/pydantic_schemaorg/AutoRental.py @@ -11,6 +11,5 @@ class AutoRental(AutomotiveBusiness): See: https://schema.org/AutoRental Model depth: 5 """ - type_: str = Field("AutoRental", alias='@type') + type_: str = Field(default="AutoRental", alias='@type') - diff --git a/pydantic_schemaorg/AutoRepair.py b/pydantic_schemaorg/AutoRepair.py index 31063eba..9b2e18b4 100644 --- a/pydantic_schemaorg/AutoRepair.py +++ b/pydantic_schemaorg/AutoRepair.py @@ -11,6 +11,5 @@ class AutoRepair(AutomotiveBusiness): See: https://schema.org/AutoRepair Model depth: 5 """ - type_: str = Field("AutoRepair", alias='@type') + type_: str = Field(default="AutoRepair", alias='@type') - diff --git a/pydantic_schemaorg/AutoWash.py b/pydantic_schemaorg/AutoWash.py index 78b42d1a..a845cfe8 100644 --- a/pydantic_schemaorg/AutoWash.py +++ b/pydantic_schemaorg/AutoWash.py @@ -11,6 +11,5 @@ class AutoWash(AutomotiveBusiness): See: https://schema.org/AutoWash Model depth: 5 """ - type_: str = Field("AutoWash", alias='@type') + type_: str = Field(default="AutoWash", alias='@type') - diff --git a/pydantic_schemaorg/AutomatedTeller.py b/pydantic_schemaorg/AutomatedTeller.py index 01cca21e..c0304efe 100644 --- a/pydantic_schemaorg/AutomatedTeller.py +++ b/pydantic_schemaorg/AutomatedTeller.py @@ -11,6 +11,5 @@ class AutomatedTeller(FinancialService): See: https://schema.org/AutomatedTeller Model depth: 5 """ - type_: str = Field("AutomatedTeller", alias='@type') + type_: str = Field(default="AutomatedTeller", alias='@type') - diff --git a/pydantic_schemaorg/AutomotiveBusiness.py b/pydantic_schemaorg/AutomotiveBusiness.py index 51c7cfcc..6bf197b9 100644 --- a/pydantic_schemaorg/AutomotiveBusiness.py +++ b/pydantic_schemaorg/AutomotiveBusiness.py @@ -11,6 +11,6 @@ class AutomotiveBusiness(LocalBusiness): See: https://schema.org/AutomotiveBusiness Model depth: 4 """ - type_: str = Field("AutomotiveBusiness", alias='@type') + type_: str = Field(default="AutomotiveBusiness", alias='@type') diff --git a/pydantic_schemaorg/Ayurvedic.py b/pydantic_schemaorg/Ayurvedic.py index a3d4b475..915082b6 100644 --- a/pydantic_schemaorg/Ayurvedic.py +++ b/pydantic_schemaorg/Ayurvedic.py @@ -12,6 +12,6 @@ class Ayurvedic(MedicineSystem): See: https://schema.org/Ayurvedic Model depth: 6 """ - type_: str = Field("Ayurvedic", alias='@type') + type_: str = Field(default="Ayurvedic", alias='@type') diff --git a/pydantic_schemaorg/BackOrder.py b/pydantic_schemaorg/BackOrder.py index 512c0a05..873cef4b 100644 --- a/pydantic_schemaorg/BackOrder.py +++ b/pydantic_schemaorg/BackOrder.py @@ -11,6 +11,5 @@ class BackOrder(ItemAvailability): See: https://schema.org/BackOrder Model depth: 5 """ - type_: str = Field("BackOrder", alias='@type') + type_: str = Field(default="BackOrder", alias='@type') - diff --git a/pydantic_schemaorg/BackgroundNewsArticle.py b/pydantic_schemaorg/BackgroundNewsArticle.py index 651ced2f..32bf0d6e 100644 --- a/pydantic_schemaorg/BackgroundNewsArticle.py +++ b/pydantic_schemaorg/BackgroundNewsArticle.py @@ -17,6 +17,5 @@ class BackgroundNewsArticle(NewsArticle): See: https://schema.org/BackgroundNewsArticle Model depth: 5 """ - type_: str = Field("BackgroundNewsArticle", alias='@type') + type_: str = Field(default="BackgroundNewsArticle", alias='@type') - diff --git a/pydantic_schemaorg/Bacteria.py b/pydantic_schemaorg/Bacteria.py index 7d3b5369..8bb6b8a4 100644 --- a/pydantic_schemaorg/Bacteria.py +++ b/pydantic_schemaorg/Bacteria.py @@ -11,6 +11,5 @@ class Bacteria(InfectiousAgentClass): See: https://schema.org/Bacteria Model depth: 6 """ - type_: str = Field("Bacteria", alias='@type') + type_: str = Field(default="Bacteria", alias='@type') - diff --git a/pydantic_schemaorg/Bakery.py b/pydantic_schemaorg/Bakery.py index 05da59e5..9b9bd9dc 100644 --- a/pydantic_schemaorg/Bakery.py +++ b/pydantic_schemaorg/Bakery.py @@ -11,6 +11,5 @@ class Bakery(FoodEstablishment): See: https://schema.org/Bakery Model depth: 5 """ - type_: str = Field("Bakery", alias='@type') + type_: str = Field(default="Bakery", alias='@type') - diff --git a/pydantic_schemaorg/Balance.py b/pydantic_schemaorg/Balance.py index 567333db..49b71d5c 100644 --- a/pydantic_schemaorg/Balance.py +++ b/pydantic_schemaorg/Balance.py @@ -11,6 +11,5 @@ class Balance(PhysicalActivityCategory): See: https://schema.org/Balance Model depth: 5 """ - type_: str = Field("Balance", alias='@type') + type_: str = Field(default="Balance", alias='@type') - diff --git a/pydantic_schemaorg/BankAccount.py b/pydantic_schemaorg/BankAccount.py index 0798269b..109eab78 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("BankAccount", alias='@type') + type_: str = Field(default="BankAccount", alias='@type') accountMinimumInflow: Optional[Union[List[Union['MonetaryAmount', str]], 'MonetaryAmount', str]] = Field( default=None, description="A minimum amount that has to be paid in every month.", @@ -33,7 +33,6 @@ class BankAccount(FinancialProduct): ) - if TYPE_CHECKING: from pydantic_schemaorg.MonetaryAmount import MonetaryAmount from pydantic_schemaorg.URL import URL diff --git a/pydantic_schemaorg/BankOrCreditUnion.py b/pydantic_schemaorg/BankOrCreditUnion.py index c5d824c6..c0c6c955 100644 --- a/pydantic_schemaorg/BankOrCreditUnion.py +++ b/pydantic_schemaorg/BankOrCreditUnion.py @@ -11,6 +11,6 @@ class BankOrCreditUnion(FinancialService): See: https://schema.org/BankOrCreditUnion Model depth: 5 """ - type_: str = Field("BankOrCreditUnion", alias='@type') + type_: str = Field(default="BankOrCreditUnion", alias='@type') diff --git a/pydantic_schemaorg/BarOrPub.py b/pydantic_schemaorg/BarOrPub.py index ce096c7d..d6f73ea1 100644 --- a/pydantic_schemaorg/BarOrPub.py +++ b/pydantic_schemaorg/BarOrPub.py @@ -11,6 +11,5 @@ class BarOrPub(FoodEstablishment): See: https://schema.org/BarOrPub Model depth: 5 """ - type_: str = Field("BarOrPub", alias='@type') + type_: str = Field(default="BarOrPub", alias='@type') - diff --git a/pydantic_schemaorg/Barcode.py b/pydantic_schemaorg/Barcode.py index 129d7687..882933a0 100644 --- a/pydantic_schemaorg/Barcode.py +++ b/pydantic_schemaorg/Barcode.py @@ -11,6 +11,5 @@ class Barcode(ImageObject): See: https://schema.org/Barcode Model depth: 5 """ - type_: str = Field("Barcode", alias='@type') + type_: str = Field(default="Barcode", alias='@type') - diff --git a/pydantic_schemaorg/BasicIncome.py b/pydantic_schemaorg/BasicIncome.py index e9c55fda..b31d2dff 100644 --- a/pydantic_schemaorg/BasicIncome.py +++ b/pydantic_schemaorg/BasicIncome.py @@ -11,6 +11,5 @@ class BasicIncome(GovernmentBenefitsType): See: https://schema.org/BasicIncome Model depth: 5 """ - type_: str = Field("BasicIncome", alias='@type') + type_: str = Field(default="BasicIncome", alias='@type') - diff --git a/pydantic_schemaorg/Beach.py b/pydantic_schemaorg/Beach.py index c4ec1308..5434c3a4 100644 --- a/pydantic_schemaorg/Beach.py +++ b/pydantic_schemaorg/Beach.py @@ -11,6 +11,5 @@ class Beach(CivicStructure): See: https://schema.org/Beach Model depth: 4 """ - type_: str = Field("Beach", alias='@type') + type_: str = Field(default="Beach", alias='@type') - diff --git a/pydantic_schemaorg/BeautySalon.py b/pydantic_schemaorg/BeautySalon.py index 9b504386..f714d122 100644 --- a/pydantic_schemaorg/BeautySalon.py +++ b/pydantic_schemaorg/BeautySalon.py @@ -11,6 +11,5 @@ class BeautySalon(HealthAndBeautyBusiness): See: https://schema.org/BeautySalon Model depth: 5 """ - type_: str = Field("BeautySalon", alias='@type') + type_: str = Field(default="BeautySalon", alias='@type') - diff --git a/pydantic_schemaorg/BedAndBreakfast.py b/pydantic_schemaorg/BedAndBreakfast.py index 41c6a983..151fa7cc 100644 --- a/pydantic_schemaorg/BedAndBreakfast.py +++ b/pydantic_schemaorg/BedAndBreakfast.py @@ -12,6 +12,6 @@ class BedAndBreakfast(LodgingBusiness): See: https://schema.org/BedAndBreakfast Model depth: 5 """ - type_: str = Field("BedAndBreakfast", alias='@type') + type_: str = Field(default="BedAndBreakfast", alias='@type') diff --git a/pydantic_schemaorg/BedDetails.py b/pydantic_schemaorg/BedDetails.py index 6fb263bd..33409976 100644 --- a/pydantic_schemaorg/BedDetails.py +++ b/pydantic_schemaorg/BedDetails.py @@ -17,7 +17,7 @@ class BedDetails(Intangible): See: https://schema.org/BedDetails Model depth: 3 """ - type_: str = Field("BedDetails", alias='@type') + type_: str = Field(default="BedDetails", alias='@type') numberOfBeds: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( default=None, description="The quantity of the given bed type available in the HotelRoom, Suite, House, or Apartment.", @@ -29,7 +29,6 @@ class BedDetails(Intangible): ) - if TYPE_CHECKING: from pydantic_schemaorg.Number import Number from pydantic_schemaorg.Text import Text diff --git a/pydantic_schemaorg/BedType.py b/pydantic_schemaorg/BedType.py index 1e620ce5..dc158047 100644 --- a/pydantic_schemaorg/BedType.py +++ b/pydantic_schemaorg/BedType.py @@ -11,6 +11,5 @@ class BedType(QualitativeValue): See: https://schema.org/BedType Model depth: 5 """ - type_: str = Field("BedType", alias='@type') + type_: str = Field(default="BedType", alias='@type') - diff --git a/pydantic_schemaorg/BefriendAction.py b/pydantic_schemaorg/BefriendAction.py index 2343c9a8..e9e53a0f 100644 --- a/pydantic_schemaorg/BefriendAction.py +++ b/pydantic_schemaorg/BefriendAction.py @@ -13,6 +13,5 @@ class BefriendAction(InteractAction): See: https://schema.org/BefriendAction Model depth: 4 """ - type_: str = Field("BefriendAction", alias='@type') + type_: str = Field(default="BefriendAction", alias='@type') - diff --git a/pydantic_schemaorg/BenefitsHealthAspect.py b/pydantic_schemaorg/BenefitsHealthAspect.py index 1b468d11..ac1be750 100644 --- a/pydantic_schemaorg/BenefitsHealthAspect.py +++ b/pydantic_schemaorg/BenefitsHealthAspect.py @@ -11,6 +11,6 @@ class BenefitsHealthAspect(HealthAspectEnumeration): See: https://schema.org/BenefitsHealthAspect Model depth: 5 """ - type_: str = Field("BenefitsHealthAspect", alias='@type') + type_: str = Field(default="BenefitsHealthAspect", alias='@type') diff --git a/pydantic_schemaorg/BikeStore.py b/pydantic_schemaorg/BikeStore.py index 875732f5..a9ca8ca8 100644 --- a/pydantic_schemaorg/BikeStore.py +++ b/pydantic_schemaorg/BikeStore.py @@ -11,6 +11,6 @@ class BikeStore(Store): See: https://schema.org/BikeStore Model depth: 5 """ - type_: str = Field("BikeStore", alias='@type') + type_: str = Field(default="BikeStore", alias='@type') diff --git a/pydantic_schemaorg/BioChemEntity.py b/pydantic_schemaorg/BioChemEntity.py index c13ab808..9e3ec9e7 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("BioChemEntity", alias='@type') + type_: str = Field(default="BioChemEntity", alias='@type') bioChemSimilarity: Optional[Union[List[Union['BioChemEntity', str]], 'BioChemEntity', str]] = Field( default=None, description="A similar BioChemEntity, e.g., obtained by fingerprint similarity algorithms.", @@ -25,7 +25,7 @@ class BioChemEntity(Thing): default=None, description="Indicates a BioChemEntity that is (in some sense) a part of this BioChemEntity.", ) - hasMolecularFunction: Optional[Union[List[Union[AnyUrl, 'URL', 'DefinedTerm', 'PropertyValue', str]], AnyUrl, 'URL', 'DefinedTerm', 'PropertyValue', str]] = Field( + hasMolecularFunction: Optional[Union[List[Union[AnyUrl, 'URL', 'PropertyValue', 'DefinedTerm', str]], AnyUrl, 'URL', 'PropertyValue', 'DefinedTerm', str]] = Field( default=None, description="Molecular function performed by this BioChemEntity; please use PropertyValue if you" "want to include any evidence.", @@ -44,12 +44,12 @@ 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.", ) - isInvolvedInBiologicalProcess: Optional[Union[List[Union[AnyUrl, 'URL', 'DefinedTerm', 'PropertyValue', str]], AnyUrl, 'URL', 'DefinedTerm', 'PropertyValue', str]] = Field( + isInvolvedInBiologicalProcess: Optional[Union[List[Union[AnyUrl, 'URL', 'PropertyValue', 'DefinedTerm', str]], AnyUrl, 'URL', 'PropertyValue', 'DefinedTerm', str]] = Field( default=None, description="Biological process this BioChemEntity is involved in; please use PropertyValue if" "you want to include any evidence.", @@ -66,7 +66,7 @@ class BioChemEntity(Thing): default=None, description="Another BioChemEntity encoding by this one.", ) - isLocatedInSubcellularLocation: Optional[Union[List[Union[AnyUrl, 'URL', 'DefinedTerm', 'PropertyValue', str]], AnyUrl, 'URL', 'DefinedTerm', 'PropertyValue', str]] = Field( + isLocatedInSubcellularLocation: Optional[Union[List[Union[AnyUrl, 'URL', 'PropertyValue', 'DefinedTerm', str]], AnyUrl, 'URL', 'PropertyValue', 'DefinedTerm', str]] = Field( default=None, description="Subcellular location where this BioChemEntity is located; please use PropertyValue" "if you want to include any evidence.", @@ -76,8 +76,8 @@ class BioChemEntity(Thing): if TYPE_CHECKING: from pydantic_schemaorg.URL import URL - from pydantic_schemaorg.DefinedTerm import DefinedTerm from pydantic_schemaorg.PropertyValue import PropertyValue + from pydantic_schemaorg.DefinedTerm import DefinedTerm from pydantic_schemaorg.Text import Text from pydantic_schemaorg.MedicalCondition import MedicalCondition from pydantic_schemaorg.Taxon import Taxon diff --git a/pydantic_schemaorg/Blog.py b/pydantic_schemaorg/Blog.py index 14a269c1..f6510092 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("Blog", alias='@type') + type_: str = Field(default="Blog", alias='@type') 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 3f0533a0..ee5cb46f 100644 --- a/pydantic_schemaorg/BlogPosting.py +++ b/pydantic_schemaorg/BlogPosting.py @@ -11,6 +11,5 @@ class BlogPosting(SocialMediaPosting): See: https://schema.org/BlogPosting Model depth: 5 """ - type_: str = Field("BlogPosting", alias='@type') + type_: str = Field(default="BlogPosting", alias='@type') - diff --git a/pydantic_schemaorg/BloodTest.py b/pydantic_schemaorg/BloodTest.py index 53d0b854..7c28c532 100644 --- a/pydantic_schemaorg/BloodTest.py +++ b/pydantic_schemaorg/BloodTest.py @@ -11,6 +11,5 @@ class BloodTest(MedicalTest): See: https://schema.org/BloodTest Model depth: 4 """ - type_: str = Field("BloodTest", alias='@type') + type_: str = Field(default="BloodTest", alias='@type') - diff --git a/pydantic_schemaorg/BoardingPolicyType.py b/pydantic_schemaorg/BoardingPolicyType.py index ef98e50c..90332fee 100644 --- a/pydantic_schemaorg/BoardingPolicyType.py +++ b/pydantic_schemaorg/BoardingPolicyType.py @@ -11,6 +11,5 @@ class BoardingPolicyType(Enumeration): See: https://schema.org/BoardingPolicyType Model depth: 4 """ - type_: str = Field("BoardingPolicyType", alias='@type') + type_: str = Field(default="BoardingPolicyType", alias='@type') - diff --git a/pydantic_schemaorg/BoatReservation.py b/pydantic_schemaorg/BoatReservation.py index 0b22de48..7a76d80a 100644 --- a/pydantic_schemaorg/BoatReservation.py +++ b/pydantic_schemaorg/BoatReservation.py @@ -13,6 +13,6 @@ class BoatReservation(Reservation): See: https://schema.org/BoatReservation Model depth: 4 """ - type_: str = Field("BoatReservation", alias='@type') + type_: str = Field(default="BoatReservation", alias='@type') diff --git a/pydantic_schemaorg/BoatTerminal.py b/pydantic_schemaorg/BoatTerminal.py index bc5bce69..93f0692a 100644 --- a/pydantic_schemaorg/BoatTerminal.py +++ b/pydantic_schemaorg/BoatTerminal.py @@ -11,6 +11,5 @@ class BoatTerminal(CivicStructure): See: https://schema.org/BoatTerminal Model depth: 4 """ - type_: str = Field("BoatTerminal", alias='@type') + type_: str = Field(default="BoatTerminal", alias='@type') - diff --git a/pydantic_schemaorg/BoatTrip.py b/pydantic_schemaorg/BoatTrip.py index 1e6faa40..c4d7d21a 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("BoatTrip", alias='@type') + type_: str = Field(default="BoatTrip", alias='@type') arrivalBoatTerminal: Optional[Union[List[Union['BoatTerminal', str]], 'BoatTerminal', str]] = Field( default=None, description="The terminal or port from which the boat arrives.", @@ -25,6 +25,5 @@ class BoatTrip(Trip): ) - if TYPE_CHECKING: from pydantic_schemaorg.BoatTerminal import BoatTerminal diff --git a/pydantic_schemaorg/BodyMeasurementArm.py b/pydantic_schemaorg/BodyMeasurementArm.py index f527824a..55c9ab7f 100644 --- a/pydantic_schemaorg/BodyMeasurementArm.py +++ b/pydantic_schemaorg/BodyMeasurementArm.py @@ -12,6 +12,5 @@ class BodyMeasurementArm(BodyMeasurementTypeEnumeration): See: https://schema.org/BodyMeasurementArm Model depth: 6 """ - type_: str = Field("BodyMeasurementArm", alias='@type') + type_: str = Field(default="BodyMeasurementArm", alias='@type') - diff --git a/pydantic_schemaorg/BodyMeasurementBust.py b/pydantic_schemaorg/BodyMeasurementBust.py index a1a7940c..b63a6fac 100644 --- a/pydantic_schemaorg/BodyMeasurementBust.py +++ b/pydantic_schemaorg/BodyMeasurementBust.py @@ -11,6 +11,6 @@ class BodyMeasurementBust(BodyMeasurementTypeEnumeration): See: https://schema.org/BodyMeasurementBust Model depth: 6 """ - type_: str = Field("BodyMeasurementBust", alias='@type') + type_: str = Field(default="BodyMeasurementBust", alias='@type') diff --git a/pydantic_schemaorg/BodyMeasurementChest.py b/pydantic_schemaorg/BodyMeasurementChest.py index 4f5c4d95..0d77cab7 100644 --- a/pydantic_schemaorg/BodyMeasurementChest.py +++ b/pydantic_schemaorg/BodyMeasurementChest.py @@ -11,6 +11,5 @@ class BodyMeasurementChest(BodyMeasurementTypeEnumeration): See: https://schema.org/BodyMeasurementChest Model depth: 6 """ - type_: str = Field("BodyMeasurementChest", alias='@type') + type_: str = Field(default="BodyMeasurementChest", alias='@type') - diff --git a/pydantic_schemaorg/BodyMeasurementFoot.py b/pydantic_schemaorg/BodyMeasurementFoot.py index b2dc842a..3738cce3 100644 --- a/pydantic_schemaorg/BodyMeasurementFoot.py +++ b/pydantic_schemaorg/BodyMeasurementFoot.py @@ -12,6 +12,5 @@ class BodyMeasurementFoot(BodyMeasurementTypeEnumeration): See: https://schema.org/BodyMeasurementFoot Model depth: 6 """ - type_: str = Field("BodyMeasurementFoot", alias='@type') + type_: str = Field(default="BodyMeasurementFoot", alias='@type') - diff --git a/pydantic_schemaorg/BodyMeasurementHand.py b/pydantic_schemaorg/BodyMeasurementHand.py index 12e5fdbb..e16ebbb1 100644 --- a/pydantic_schemaorg/BodyMeasurementHand.py +++ b/pydantic_schemaorg/BodyMeasurementHand.py @@ -12,6 +12,5 @@ class BodyMeasurementHand(BodyMeasurementTypeEnumeration): See: https://schema.org/BodyMeasurementHand Model depth: 6 """ - type_: str = Field("BodyMeasurementHand", alias='@type') + type_: str = Field(default="BodyMeasurementHand", alias='@type') - diff --git a/pydantic_schemaorg/BodyMeasurementHead.py b/pydantic_schemaorg/BodyMeasurementHead.py index 9d34dc90..39a1343d 100644 --- a/pydantic_schemaorg/BodyMeasurementHead.py +++ b/pydantic_schemaorg/BodyMeasurementHead.py @@ -11,6 +11,6 @@ class BodyMeasurementHead(BodyMeasurementTypeEnumeration): See: https://schema.org/BodyMeasurementHead Model depth: 6 """ - type_: str = Field("BodyMeasurementHead", alias='@type') + type_: str = Field(default="BodyMeasurementHead", alias='@type') diff --git a/pydantic_schemaorg/BodyMeasurementHeight.py b/pydantic_schemaorg/BodyMeasurementHeight.py index 848d5c6a..9dfe3c53 100644 --- a/pydantic_schemaorg/BodyMeasurementHeight.py +++ b/pydantic_schemaorg/BodyMeasurementHeight.py @@ -12,6 +12,5 @@ class BodyMeasurementHeight(BodyMeasurementTypeEnumeration): See: https://schema.org/BodyMeasurementHeight Model depth: 6 """ - type_: str = Field("BodyMeasurementHeight", alias='@type') + type_: str = Field(default="BodyMeasurementHeight", alias='@type') - diff --git a/pydantic_schemaorg/BodyMeasurementHips.py b/pydantic_schemaorg/BodyMeasurementHips.py index 8dba20b4..7cb091d5 100644 --- a/pydantic_schemaorg/BodyMeasurementHips.py +++ b/pydantic_schemaorg/BodyMeasurementHips.py @@ -11,6 +11,5 @@ class BodyMeasurementHips(BodyMeasurementTypeEnumeration): See: https://schema.org/BodyMeasurementHips Model depth: 6 """ - type_: str = Field("BodyMeasurementHips", alias='@type') + type_: str = Field(default="BodyMeasurementHips", alias='@type') - diff --git a/pydantic_schemaorg/BodyMeasurementInsideLeg.py b/pydantic_schemaorg/BodyMeasurementInsideLeg.py index 79d20ab9..9882a027 100644 --- a/pydantic_schemaorg/BodyMeasurementInsideLeg.py +++ b/pydantic_schemaorg/BodyMeasurementInsideLeg.py @@ -11,6 +11,6 @@ class BodyMeasurementInsideLeg(BodyMeasurementTypeEnumeration): See: https://schema.org/BodyMeasurementInsideLeg Model depth: 6 """ - type_: str = Field("BodyMeasurementInsideLeg", alias='@type') + type_: str = Field(default="BodyMeasurementInsideLeg", alias='@type') diff --git a/pydantic_schemaorg/BodyMeasurementNeck.py b/pydantic_schemaorg/BodyMeasurementNeck.py index 9f2c1c49..cc0f9338 100644 --- a/pydantic_schemaorg/BodyMeasurementNeck.py +++ b/pydantic_schemaorg/BodyMeasurementNeck.py @@ -11,6 +11,5 @@ class BodyMeasurementNeck(BodyMeasurementTypeEnumeration): See: https://schema.org/BodyMeasurementNeck Model depth: 6 """ - type_: str = Field("BodyMeasurementNeck", alias='@type') + type_: str = Field(default="BodyMeasurementNeck", alias='@type') - diff --git a/pydantic_schemaorg/BodyMeasurementTypeEnumeration.py b/pydantic_schemaorg/BodyMeasurementTypeEnumeration.py index 57b4f841..79acefa2 100644 --- a/pydantic_schemaorg/BodyMeasurementTypeEnumeration.py +++ b/pydantic_schemaorg/BodyMeasurementTypeEnumeration.py @@ -12,6 +12,6 @@ class BodyMeasurementTypeEnumeration(MeasurementTypeEnumeration): See: https://schema.org/BodyMeasurementTypeEnumeration Model depth: 5 """ - type_: str = Field("BodyMeasurementTypeEnumeration", alias='@type') + type_: str = Field(default="BodyMeasurementTypeEnumeration", alias='@type') diff --git a/pydantic_schemaorg/BodyMeasurementUnderbust.py b/pydantic_schemaorg/BodyMeasurementUnderbust.py index a3b96417..e5cc96d8 100644 --- a/pydantic_schemaorg/BodyMeasurementUnderbust.py +++ b/pydantic_schemaorg/BodyMeasurementUnderbust.py @@ -11,6 +11,5 @@ class BodyMeasurementUnderbust(BodyMeasurementTypeEnumeration): See: https://schema.org/BodyMeasurementUnderbust Model depth: 6 """ - type_: str = Field("BodyMeasurementUnderbust", alias='@type') + type_: str = Field(default="BodyMeasurementUnderbust", alias='@type') - diff --git a/pydantic_schemaorg/BodyMeasurementWaist.py b/pydantic_schemaorg/BodyMeasurementWaist.py index 7b43babf..71aee8b8 100644 --- a/pydantic_schemaorg/BodyMeasurementWaist.py +++ b/pydantic_schemaorg/BodyMeasurementWaist.py @@ -12,6 +12,6 @@ class BodyMeasurementWaist(BodyMeasurementTypeEnumeration): See: https://schema.org/BodyMeasurementWaist Model depth: 6 """ - type_: str = Field("BodyMeasurementWaist", alias='@type') + type_: str = Field(default="BodyMeasurementWaist", alias='@type') diff --git a/pydantic_schemaorg/BodyMeasurementWeight.py b/pydantic_schemaorg/BodyMeasurementWeight.py index 6bfa9594..5affe84b 100644 --- a/pydantic_schemaorg/BodyMeasurementWeight.py +++ b/pydantic_schemaorg/BodyMeasurementWeight.py @@ -11,6 +11,6 @@ class BodyMeasurementWeight(BodyMeasurementTypeEnumeration): See: https://schema.org/BodyMeasurementWeight Model depth: 6 """ - type_: str = Field("BodyMeasurementWeight", alias='@type') + type_: str = Field(default="BodyMeasurementWeight", alias='@type') diff --git a/pydantic_schemaorg/BodyOfWater.py b/pydantic_schemaorg/BodyOfWater.py index 051d3c42..fc748b18 100644 --- a/pydantic_schemaorg/BodyOfWater.py +++ b/pydantic_schemaorg/BodyOfWater.py @@ -11,6 +11,5 @@ class BodyOfWater(Landform): See: https://schema.org/BodyOfWater Model depth: 4 """ - type_: str = Field("BodyOfWater", alias='@type') + type_: str = Field(default="BodyOfWater", alias='@type') - diff --git a/pydantic_schemaorg/Bone.py b/pydantic_schemaorg/Bone.py index 0ee97ae9..c1bcbd62 100644 --- a/pydantic_schemaorg/Bone.py +++ b/pydantic_schemaorg/Bone.py @@ -11,6 +11,5 @@ class Bone(AnatomicalStructure): See: https://schema.org/Bone Model depth: 4 """ - type_: str = Field("Bone", alias='@type') + type_: str = Field(default="Bone", alias='@type') - diff --git a/pydantic_schemaorg/Book.py b/pydantic_schemaorg/Book.py index 1b46e599..1669c7a3 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("Book", alias='@type') + type_: str = Field(default="Book", alias='@type') illustrator: Optional[Union[List[Union['Person', str]], 'Person', str]] = Field( default=None, description="The illustrator of the book.", @@ -42,7 +42,6 @@ class Book(CreativeWork): ) - if TYPE_CHECKING: from pydantic_schemaorg.Person import Person from pydantic_schemaorg.Boolean import Boolean diff --git a/pydantic_schemaorg/BookFormatType.py b/pydantic_schemaorg/BookFormatType.py index f1661f94..a539d965 100644 --- a/pydantic_schemaorg/BookFormatType.py +++ b/pydantic_schemaorg/BookFormatType.py @@ -11,6 +11,5 @@ class BookFormatType(Enumeration): See: https://schema.org/BookFormatType Model depth: 4 """ - type_: str = Field("BookFormatType", alias='@type') + type_: str = Field(default="BookFormatType", alias='@type') - diff --git a/pydantic_schemaorg/BookSeries.py b/pydantic_schemaorg/BookSeries.py index 99224e61..d76973db 100644 --- a/pydantic_schemaorg/BookSeries.py +++ b/pydantic_schemaorg/BookSeries.py @@ -11,6 +11,6 @@ class BookSeries(CreativeWorkSeries): See: https://schema.org/BookSeries Model depth: 4 """ - type_: str = Field("BookSeries", alias='@type') + type_: str = Field(default="BookSeries", alias='@type') diff --git a/pydantic_schemaorg/BookStore.py b/pydantic_schemaorg/BookStore.py index a976fbf3..b5fe8831 100644 --- a/pydantic_schemaorg/BookStore.py +++ b/pydantic_schemaorg/BookStore.py @@ -11,6 +11,6 @@ class BookStore(Store): See: https://schema.org/BookStore Model depth: 5 """ - type_: str = Field("BookStore", alias='@type') + type_: str = Field(default="BookStore", alias='@type') diff --git a/pydantic_schemaorg/BookmarkAction.py b/pydantic_schemaorg/BookmarkAction.py index 8022420e..f5f9d6fa 100644 --- a/pydantic_schemaorg/BookmarkAction.py +++ b/pydantic_schemaorg/BookmarkAction.py @@ -11,6 +11,6 @@ class BookmarkAction(OrganizeAction): See: https://schema.org/BookmarkAction Model depth: 4 """ - type_: str = Field("BookmarkAction", alias='@type') + type_: str = Field(default="BookmarkAction", alias='@type') diff --git a/pydantic_schemaorg/Boolean.py b/pydantic_schemaorg/Boolean.py index 29cefed3..acc0d962 100644 --- a/pydantic_schemaorg/Boolean.py +++ b/pydantic_schemaorg/Boolean.py @@ -11,6 +11,5 @@ class Boolean(DataType): See: https://schema.org/Boolean Model depth: 5 """ - type_: str = Field("Boolean", alias='@type') + type_: str = Field(default="Boolean", alias='@type') - diff --git a/pydantic_schemaorg/BorrowAction.py b/pydantic_schemaorg/BorrowAction.py index 8718d61c..4ac07aeb 100644 --- a/pydantic_schemaorg/BorrowAction.py +++ b/pydantic_schemaorg/BorrowAction.py @@ -15,14 +15,13 @@ class BorrowAction(TransferAction): See: https://schema.org/BorrowAction Model depth: 4 """ - type_: str = Field("BorrowAction", alias='@type') - lender: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + type_: str = Field(default="BorrowAction", alias='@type') + 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 86f8f4ad..789a24cf 100644 --- a/pydantic_schemaorg/BowlingAlley.py +++ b/pydantic_schemaorg/BowlingAlley.py @@ -11,6 +11,6 @@ class BowlingAlley(SportsActivityLocation): See: https://schema.org/BowlingAlley Model depth: 5 """ - type_: str = Field("BowlingAlley", alias='@type') + type_: str = Field(default="BowlingAlley", alias='@type') diff --git a/pydantic_schemaorg/BrainStructure.py b/pydantic_schemaorg/BrainStructure.py index ec47e6a1..f1457c36 100644 --- a/pydantic_schemaorg/BrainStructure.py +++ b/pydantic_schemaorg/BrainStructure.py @@ -12,6 +12,5 @@ class BrainStructure(AnatomicalStructure): See: https://schema.org/BrainStructure Model depth: 4 """ - type_: str = Field("BrainStructure", alias='@type') + type_: str = Field(default="BrainStructure", alias='@type') - diff --git a/pydantic_schemaorg/Brand.py b/pydantic_schemaorg/Brand.py index 180fc656..997a3be1 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("Brand", alias='@type') + type_: str = Field(default="Brand", alias='@type') 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.", @@ -35,7 +35,6 @@ class Brand(Intangible): ) - if TYPE_CHECKING: from pydantic_schemaorg.AggregateRating import AggregateRating from pydantic_schemaorg.Text import Text diff --git a/pydantic_schemaorg/BreadcrumbList.py b/pydantic_schemaorg/BreadcrumbList.py index 10acb67d..67704798 100644 --- a/pydantic_schemaorg/BreadcrumbList.py +++ b/pydantic_schemaorg/BreadcrumbList.py @@ -18,6 +18,5 @@ class BreadcrumbList(ItemList): See: https://schema.org/BreadcrumbList Model depth: 4 """ - type_: str = Field("BreadcrumbList", alias='@type') + type_: str = Field(default="BreadcrumbList", alias='@type') - diff --git a/pydantic_schemaorg/Brewery.py b/pydantic_schemaorg/Brewery.py index fb0c1102..4b288937 100644 --- a/pydantic_schemaorg/Brewery.py +++ b/pydantic_schemaorg/Brewery.py @@ -11,6 +11,5 @@ class Brewery(FoodEstablishment): See: https://schema.org/Brewery Model depth: 5 """ - type_: str = Field("Brewery", alias='@type') + type_: str = Field(default="Brewery", alias='@type') - diff --git a/pydantic_schemaorg/Bridge.py b/pydantic_schemaorg/Bridge.py index db6ef0fb..ab296c7a 100644 --- a/pydantic_schemaorg/Bridge.py +++ b/pydantic_schemaorg/Bridge.py @@ -11,6 +11,5 @@ class Bridge(CivicStructure): See: https://schema.org/Bridge Model depth: 4 """ - type_: str = Field("Bridge", alias='@type') + type_: str = Field(default="Bridge", alias='@type') - diff --git a/pydantic_schemaorg/BroadcastChannel.py b/pydantic_schemaorg/BroadcastChannel.py index 7a765459..22f93038 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("BroadcastChannel", alias='@type') + type_: str = Field(default="BroadcastChannel", alias='@type') 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." @@ -45,7 +45,6 @@ class BroadcastChannel(Intangible): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text from pydantic_schemaorg.BroadcastFrequencySpecification import BroadcastFrequencySpecification diff --git a/pydantic_schemaorg/BroadcastEvent.py b/pydantic_schemaorg/BroadcastEvent.py index b5959be1..490c3d37 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("BroadcastEvent", alias='@type') + type_: str = Field(default="BroadcastEvent", alias='@type') isLiveBroadcast: Optional[Union[List[Union[StrictBool, 'Boolean', str]], StrictBool, 'Boolean', str]] = Field( default=None, description="True if the broadcast is of a live event.", @@ -34,7 +34,6 @@ class BroadcastEvent(PublicationEvent): ) - if TYPE_CHECKING: from pydantic_schemaorg.Boolean import Boolean from pydantic_schemaorg.Text import Text diff --git a/pydantic_schemaorg/BroadcastFrequencySpecification.py b/pydantic_schemaorg/BroadcastFrequencySpecification.py index 6eedc396..4d2c464c 100644 --- a/pydantic_schemaorg/BroadcastFrequencySpecification.py +++ b/pydantic_schemaorg/BroadcastFrequencySpecification.py @@ -15,7 +15,7 @@ class BroadcastFrequencySpecification(Intangible): See: https://schema.org/BroadcastFrequencySpecification Model depth: 3 """ - type_: str = Field("BroadcastFrequencySpecification", alias='@type') + type_: str = Field(default="BroadcastFrequencySpecification", alias='@type') 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.", @@ -30,7 +30,6 @@ class BroadcastFrequencySpecification(Intangible): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text from pydantic_schemaorg.QualitativeValue import QualitativeValue diff --git a/pydantic_schemaorg/BroadcastRelease.py b/pydantic_schemaorg/BroadcastRelease.py index 83d673a8..94879aa2 100644 --- a/pydantic_schemaorg/BroadcastRelease.py +++ b/pydantic_schemaorg/BroadcastRelease.py @@ -11,6 +11,6 @@ class BroadcastRelease(MusicAlbumReleaseType): See: https://schema.org/BroadcastRelease Model depth: 5 """ - type_: str = Field("BroadcastRelease", alias='@type') + type_: str = Field(default="BroadcastRelease", alias='@type') diff --git a/pydantic_schemaorg/BroadcastService.py b/pydantic_schemaorg/BroadcastService.py index 1996b53a..a56a961a 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("BroadcastService", alias='@type') + type_: str = Field(default="BroadcastService", alias='@type') 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." @@ -68,7 +68,6 @@ class BroadcastService(Service): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text from pydantic_schemaorg.BroadcastFrequencySpecification import BroadcastFrequencySpecification diff --git a/pydantic_schemaorg/BrokerageAccount.py b/pydantic_schemaorg/BrokerageAccount.py index 2d44044d..f22f2027 100644 --- a/pydantic_schemaorg/BrokerageAccount.py +++ b/pydantic_schemaorg/BrokerageAccount.py @@ -12,6 +12,5 @@ class BrokerageAccount(InvestmentOrDeposit): See: https://schema.org/BrokerageAccount Model depth: 6 """ - type_: str = Field("BrokerageAccount", alias='@type') + type_: str = Field(default="BrokerageAccount", alias='@type') - diff --git a/pydantic_schemaorg/BuddhistTemple.py b/pydantic_schemaorg/BuddhistTemple.py index b68422bd..870ae6b8 100644 --- a/pydantic_schemaorg/BuddhistTemple.py +++ b/pydantic_schemaorg/BuddhistTemple.py @@ -11,6 +11,5 @@ class BuddhistTemple(PlaceOfWorship): See: https://schema.org/BuddhistTemple Model depth: 5 """ - type_: str = Field("BuddhistTemple", alias='@type') + type_: str = Field(default="BuddhistTemple", alias='@type') - diff --git a/pydantic_schemaorg/BusOrCoach.py b/pydantic_schemaorg/BusOrCoach.py index 4f2b4f41..ca850fe6 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("BusOrCoach", alias='@type') + type_: str = Field(default="BusOrCoach", alias='@type') 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" @@ -32,7 +32,6 @@ class BusOrCoach(Vehicle): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text from pydantic_schemaorg.QuantitativeValue import QuantitativeValue diff --git a/pydantic_schemaorg/BusReservation.py b/pydantic_schemaorg/BusReservation.py index f4cce3a2..50be5690 100644 --- a/pydantic_schemaorg/BusReservation.py +++ b/pydantic_schemaorg/BusReservation.py @@ -13,6 +13,5 @@ class BusReservation(Reservation): See: https://schema.org/BusReservation Model depth: 4 """ - type_: str = Field("BusReservation", alias='@type') + type_: str = Field(default="BusReservation", alias='@type') - diff --git a/pydantic_schemaorg/BusStation.py b/pydantic_schemaorg/BusStation.py index 625636e6..a1ac9855 100644 --- a/pydantic_schemaorg/BusStation.py +++ b/pydantic_schemaorg/BusStation.py @@ -11,6 +11,5 @@ class BusStation(CivicStructure): See: https://schema.org/BusStation Model depth: 4 """ - type_: str = Field("BusStation", alias='@type') + type_: str = Field(default="BusStation", alias='@type') - diff --git a/pydantic_schemaorg/BusStop.py b/pydantic_schemaorg/BusStop.py index 56cdccbb..8de0465f 100644 --- a/pydantic_schemaorg/BusStop.py +++ b/pydantic_schemaorg/BusStop.py @@ -11,6 +11,5 @@ class BusStop(CivicStructure): See: https://schema.org/BusStop Model depth: 4 """ - type_: str = Field("BusStop", alias='@type') + type_: str = Field(default="BusStop", alias='@type') - diff --git a/pydantic_schemaorg/BusTrip.py b/pydantic_schemaorg/BusTrip.py index a71b3a83..62dbaa23 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("BusTrip", alias='@type') + type_: str = Field(default="BusTrip", alias='@type') departureBusStop: Optional[Union[List[Union['BusStation', 'BusStop', str]], 'BusStation', 'BusStop', str]] = Field( default=None, description="The stop or station from which the bus departs.", @@ -33,7 +33,6 @@ class BusTrip(Trip): ) - if TYPE_CHECKING: from pydantic_schemaorg.BusStation import BusStation from pydantic_schemaorg.BusStop import BusStop diff --git a/pydantic_schemaorg/BusinessAudience.py b/pydantic_schemaorg/BusinessAudience.py index 660221b7..a47b086c 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("BusinessAudience", alias='@type') + type_: str = Field(default="BusinessAudience", alias='@type') 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 e18c5de4..f9965988 100644 --- a/pydantic_schemaorg/BusinessEntityType.py +++ b/pydantic_schemaorg/BusinessEntityType.py @@ -15,6 +15,6 @@ class BusinessEntityType(Enumeration): See: https://schema.org/BusinessEntityType Model depth: 4 """ - type_: str = Field("BusinessEntityType", alias='@type') + type_: str = Field(default="BusinessEntityType", alias='@type') diff --git a/pydantic_schemaorg/BusinessEvent.py b/pydantic_schemaorg/BusinessEvent.py index 19e9b29c..0295c9d5 100644 --- a/pydantic_schemaorg/BusinessEvent.py +++ b/pydantic_schemaorg/BusinessEvent.py @@ -11,6 +11,5 @@ class BusinessEvent(Event): See: https://schema.org/BusinessEvent Model depth: 3 """ - type_: str = Field("BusinessEvent", alias='@type') + type_: str = Field(default="BusinessEvent", alias='@type') - diff --git a/pydantic_schemaorg/BusinessFunction.py b/pydantic_schemaorg/BusinessFunction.py index 4ae946a8..b8dc1756 100644 --- a/pydantic_schemaorg/BusinessFunction.py +++ b/pydantic_schemaorg/BusinessFunction.py @@ -19,6 +19,5 @@ class BusinessFunction(Enumeration): See: https://schema.org/BusinessFunction Model depth: 4 """ - type_: str = Field("BusinessFunction", alias='@type') + type_: str = Field(default="BusinessFunction", alias='@type') - diff --git a/pydantic_schemaorg/BusinessSupport.py b/pydantic_schemaorg/BusinessSupport.py index 8de4062b..5065ed2f 100644 --- a/pydantic_schemaorg/BusinessSupport.py +++ b/pydantic_schemaorg/BusinessSupport.py @@ -11,6 +11,6 @@ class BusinessSupport(GovernmentBenefitsType): See: https://schema.org/BusinessSupport Model depth: 5 """ - type_: str = Field("BusinessSupport", alias='@type') + type_: str = Field(default="BusinessSupport", alias='@type') diff --git a/pydantic_schemaorg/BuyAction.py b/pydantic_schemaorg/BuyAction.py index af2d56c9..dc9643e0 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("BuyAction", alias='@type') - vendor: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + type_: str = Field(default="BuyAction", alias='@type') + 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.", @@ -31,8 +31,7 @@ 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 dfa33463..5874e7df 100644 --- a/pydantic_schemaorg/CDCPMDRecord.py +++ b/pydantic_schemaorg/CDCPMDRecord.py @@ -19,7 +19,7 @@ class CDCPMDRecord(StructuredValue): See: https://schema.org/CDCPMDRecord Model depth: 4 """ - type_: str = Field("CDCPMDRecord", alias='@type') + type_: str = Field(default="CDCPMDRecord", alias='@type') cvdNumVentUse: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( default=None, description="numventuse - MECHANICAL VENTILATORS IN USE: Total number of ventilators in use.", @@ -106,7 +106,6 @@ class CDCPMDRecord(StructuredValue): ) - if TYPE_CHECKING: from pydantic_schemaorg.Number import Number from pydantic_schemaorg.Text import Text diff --git a/pydantic_schemaorg/CDFormat.py b/pydantic_schemaorg/CDFormat.py index bc6101f6..f9c3f518 100644 --- a/pydantic_schemaorg/CDFormat.py +++ b/pydantic_schemaorg/CDFormat.py @@ -11,6 +11,5 @@ class CDFormat(MusicReleaseFormatType): See: https://schema.org/CDFormat Model depth: 5 """ - type_: str = Field("CDFormat", alias='@type') + type_: str = Field(default="CDFormat", alias='@type') - diff --git a/pydantic_schemaorg/CT.py b/pydantic_schemaorg/CT.py index baf2508e..5046d021 100644 --- a/pydantic_schemaorg/CT.py +++ b/pydantic_schemaorg/CT.py @@ -11,6 +11,5 @@ class CT(MedicalImagingTechnique): See: https://schema.org/CT Model depth: 6 """ - type_: str = Field("CT", alias='@type') + type_: str = Field(default="CT", alias='@type') - diff --git a/pydantic_schemaorg/CableOrSatelliteService.py b/pydantic_schemaorg/CableOrSatelliteService.py index ed924830..59a9d311 100644 --- a/pydantic_schemaorg/CableOrSatelliteService.py +++ b/pydantic_schemaorg/CableOrSatelliteService.py @@ -12,6 +12,5 @@ class CableOrSatelliteService(Service): See: https://schema.org/CableOrSatelliteService Model depth: 4 """ - type_: str = Field("CableOrSatelliteService", alias='@type') + type_: str = Field(default="CableOrSatelliteService", alias='@type') - diff --git a/pydantic_schemaorg/CafeOrCoffeeShop.py b/pydantic_schemaorg/CafeOrCoffeeShop.py index 92367613..c7b70f0d 100644 --- a/pydantic_schemaorg/CafeOrCoffeeShop.py +++ b/pydantic_schemaorg/CafeOrCoffeeShop.py @@ -11,6 +11,5 @@ class CafeOrCoffeeShop(FoodEstablishment): See: https://schema.org/CafeOrCoffeeShop Model depth: 5 """ - type_: str = Field("CafeOrCoffeeShop", alias='@type') + type_: str = Field(default="CafeOrCoffeeShop", alias='@type') - diff --git a/pydantic_schemaorg/Campground.py b/pydantic_schemaorg/Campground.py index 17a9d0a1..e6ba69d9 100644 --- a/pydantic_schemaorg/Campground.py +++ b/pydantic_schemaorg/Campground.py @@ -21,6 +21,5 @@ class Campground(LodgingBusiness, CivicStructure): See: https://schema.org/Campground Model depth: 4 """ - type_: str = Field("Campground", alias='@type') + type_: str = Field(default="Campground", alias='@type') - diff --git a/pydantic_schemaorg/CampingPitch.py b/pydantic_schemaorg/CampingPitch.py index a9004ea9..b36de199 100644 --- a/pydantic_schemaorg/CampingPitch.py +++ b/pydantic_schemaorg/CampingPitch.py @@ -20,6 +20,5 @@ class CampingPitch(Accommodation): See: https://schema.org/CampingPitch Model depth: 4 """ - type_: str = Field("CampingPitch", alias='@type') + type_: str = Field(default="CampingPitch", alias='@type') - diff --git a/pydantic_schemaorg/Canal.py b/pydantic_schemaorg/Canal.py index 84a61208..ba1ae86f 100644 --- a/pydantic_schemaorg/Canal.py +++ b/pydantic_schemaorg/Canal.py @@ -11,6 +11,5 @@ class Canal(BodyOfWater): See: https://schema.org/Canal Model depth: 5 """ - type_: str = Field("Canal", alias='@type') + type_: str = Field(default="Canal", alias='@type') - diff --git a/pydantic_schemaorg/CancelAction.py b/pydantic_schemaorg/CancelAction.py index b3e5d0af..eb4618c3 100644 --- a/pydantic_schemaorg/CancelAction.py +++ b/pydantic_schemaorg/CancelAction.py @@ -12,6 +12,6 @@ class CancelAction(PlanAction): See: https://schema.org/CancelAction Model depth: 5 """ - type_: str = Field("CancelAction", alias='@type') + type_: str = Field(default="CancelAction", alias='@type') diff --git a/pydantic_schemaorg/Car.py b/pydantic_schemaorg/Car.py index 7c7f89fa..f38787d0 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("Car", alias='@type') + type_: str = Field(default="Car", alias='@type') 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" @@ -31,7 +31,6 @@ class Car(Vehicle): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text from pydantic_schemaorg.QuantitativeValue import QuantitativeValue diff --git a/pydantic_schemaorg/CarUsageType.py b/pydantic_schemaorg/CarUsageType.py index 25cc3913..dd3bca47 100644 --- a/pydantic_schemaorg/CarUsageType.py +++ b/pydantic_schemaorg/CarUsageType.py @@ -12,6 +12,6 @@ class CarUsageType(Enumeration): See: https://schema.org/CarUsageType Model depth: 4 """ - type_: str = Field("CarUsageType", alias='@type') + type_: str = Field(default="CarUsageType", alias='@type') diff --git a/pydantic_schemaorg/Cardiovascular.py b/pydantic_schemaorg/Cardiovascular.py index 450659d6..d22ddc6f 100644 --- a/pydantic_schemaorg/Cardiovascular.py +++ b/pydantic_schemaorg/Cardiovascular.py @@ -12,6 +12,5 @@ class Cardiovascular(MedicalSpecialty): See: https://schema.org/Cardiovascular Model depth: 6 """ - type_: str = Field("Cardiovascular", alias='@type') + type_: str = Field(default="Cardiovascular", alias='@type') - diff --git a/pydantic_schemaorg/CardiovascularExam.py b/pydantic_schemaorg/CardiovascularExam.py index 97da6ce5..b30412bb 100644 --- a/pydantic_schemaorg/CardiovascularExam.py +++ b/pydantic_schemaorg/CardiovascularExam.py @@ -11,6 +11,5 @@ class CardiovascularExam(PhysicalExam): See: https://schema.org/CardiovascularExam Model depth: 5 """ - type_: str = Field("CardiovascularExam", alias='@type') + type_: str = Field(default="CardiovascularExam", alias='@type') - diff --git a/pydantic_schemaorg/CaseSeries.py b/pydantic_schemaorg/CaseSeries.py index 5c043abd..4918465f 100644 --- a/pydantic_schemaorg/CaseSeries.py +++ b/pydantic_schemaorg/CaseSeries.py @@ -17,6 +17,5 @@ class CaseSeries(MedicalObservationalStudyDesign): See: https://schema.org/CaseSeries Model depth: 6 """ - type_: str = Field("CaseSeries", alias='@type') + type_: str = Field(default="CaseSeries", alias='@type') - diff --git a/pydantic_schemaorg/Casino.py b/pydantic_schemaorg/Casino.py index e728f3c8..6a4a05a5 100644 --- a/pydantic_schemaorg/Casino.py +++ b/pydantic_schemaorg/Casino.py @@ -11,6 +11,5 @@ class Casino(EntertainmentBusiness): See: https://schema.org/Casino Model depth: 5 """ - type_: str = Field("Casino", alias='@type') + type_: str = Field(default="Casino", alias='@type') - diff --git a/pydantic_schemaorg/CassetteFormat.py b/pydantic_schemaorg/CassetteFormat.py index 38fc1ebd..29d5b8ef 100644 --- a/pydantic_schemaorg/CassetteFormat.py +++ b/pydantic_schemaorg/CassetteFormat.py @@ -11,6 +11,5 @@ class CassetteFormat(MusicReleaseFormatType): See: https://schema.org/CassetteFormat Model depth: 5 """ - type_: str = Field("CassetteFormat", alias='@type') + type_: str = Field(default="CassetteFormat", alias='@type') - diff --git a/pydantic_schemaorg/CategoryCode.py b/pydantic_schemaorg/CategoryCode.py index a61bd263..8483243a 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("CategoryCode", alias='@type') + type_: str = Field(default="CategoryCode", alias='@type') 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 ada0257a..c179f349 100644 --- a/pydantic_schemaorg/CategoryCodeSet.py +++ b/pydantic_schemaorg/CategoryCodeSet.py @@ -14,13 +14,12 @@ class CategoryCodeSet(DefinedTermSet): See: https://schema.org/CategoryCodeSet Model depth: 4 """ - type_: str = Field("CategoryCodeSet", alias='@type') + type_: str = Field(default="CategoryCodeSet", alias='@type') hasCategoryCode: Optional[Union[List[Union['CategoryCode', str]], 'CategoryCode', str]] = Field( default=None, description="A Category code contained in this code set.", ) - if TYPE_CHECKING: from pydantic_schemaorg.CategoryCode import CategoryCode diff --git a/pydantic_schemaorg/CatholicChurch.py b/pydantic_schemaorg/CatholicChurch.py index 859d4375..0322ac60 100644 --- a/pydantic_schemaorg/CatholicChurch.py +++ b/pydantic_schemaorg/CatholicChurch.py @@ -11,6 +11,5 @@ class CatholicChurch(Church): See: https://schema.org/CatholicChurch Model depth: 6 """ - type_: str = Field("CatholicChurch", alias='@type') + type_: str = Field(default="CatholicChurch", alias='@type') - diff --git a/pydantic_schemaorg/CausesHealthAspect.py b/pydantic_schemaorg/CausesHealthAspect.py index ba35c177..717d01a8 100644 --- a/pydantic_schemaorg/CausesHealthAspect.py +++ b/pydantic_schemaorg/CausesHealthAspect.py @@ -11,6 +11,5 @@ class CausesHealthAspect(HealthAspectEnumeration): See: https://schema.org/CausesHealthAspect Model depth: 5 """ - type_: str = Field("CausesHealthAspect", alias='@type') + type_: str = Field(default="CausesHealthAspect", alias='@type') - diff --git a/pydantic_schemaorg/Cemetery.py b/pydantic_schemaorg/Cemetery.py index e8bca752..9665ec23 100644 --- a/pydantic_schemaorg/Cemetery.py +++ b/pydantic_schemaorg/Cemetery.py @@ -11,6 +11,5 @@ class Cemetery(CivicStructure): See: https://schema.org/Cemetery Model depth: 4 """ - type_: str = Field("Cemetery", alias='@type') + type_: str = Field(default="Cemetery", alias='@type') - diff --git a/pydantic_schemaorg/Chapter.py b/pydantic_schemaorg/Chapter.py index 0da2fc3c..6e6bcd0c 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("Chapter", alias='@type') + type_: str = Field(default="Chapter", alias='@type') 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\".", @@ -31,7 +31,6 @@ class Chapter(CreativeWork): ) - if TYPE_CHECKING: from pydantic_schemaorg.Integer import Integer from pydantic_schemaorg.Text import Text diff --git a/pydantic_schemaorg/CharitableIncorporatedOrganization.py b/pydantic_schemaorg/CharitableIncorporatedOrganization.py index 3a697749..fd5f2fd8 100644 --- a/pydantic_schemaorg/CharitableIncorporatedOrganization.py +++ b/pydantic_schemaorg/CharitableIncorporatedOrganization.py @@ -12,6 +12,5 @@ class CharitableIncorporatedOrganization(UKNonprofitType): See: https://schema.org/CharitableIncorporatedOrganization Model depth: 6 """ - type_: str = Field("CharitableIncorporatedOrganization", alias='@type') + type_: str = Field(default="CharitableIncorporatedOrganization", alias='@type') - diff --git a/pydantic_schemaorg/CheckAction.py b/pydantic_schemaorg/CheckAction.py index 37b329a6..844bf990 100644 --- a/pydantic_schemaorg/CheckAction.py +++ b/pydantic_schemaorg/CheckAction.py @@ -12,6 +12,5 @@ class CheckAction(FindAction): See: https://schema.org/CheckAction Model depth: 4 """ - type_: str = Field("CheckAction", alias='@type') + type_: str = Field(default="CheckAction", alias='@type') - diff --git a/pydantic_schemaorg/CheckInAction.py b/pydantic_schemaorg/CheckInAction.py index d42ee966..60a818fc 100644 --- a/pydantic_schemaorg/CheckInAction.py +++ b/pydantic_schemaorg/CheckInAction.py @@ -18,6 +18,5 @@ class CheckInAction(CommunicateAction): See: https://schema.org/CheckInAction Model depth: 5 """ - type_: str = Field("CheckInAction", alias='@type') + type_: str = Field(default="CheckInAction", alias='@type') - diff --git a/pydantic_schemaorg/CheckOutAction.py b/pydantic_schemaorg/CheckOutAction.py index ff38bf08..42322e6e 100644 --- a/pydantic_schemaorg/CheckOutAction.py +++ b/pydantic_schemaorg/CheckOutAction.py @@ -17,6 +17,5 @@ class CheckOutAction(CommunicateAction): See: https://schema.org/CheckOutAction Model depth: 5 """ - type_: str = Field("CheckOutAction", alias='@type') + type_: str = Field(default="CheckOutAction", alias='@type') - diff --git a/pydantic_schemaorg/CheckoutPage.py b/pydantic_schemaorg/CheckoutPage.py index c53f3987..87e0c762 100644 --- a/pydantic_schemaorg/CheckoutPage.py +++ b/pydantic_schemaorg/CheckoutPage.py @@ -11,6 +11,5 @@ class CheckoutPage(WebPage): See: https://schema.org/CheckoutPage Model depth: 4 """ - type_: str = Field("CheckoutPage", alias='@type') + type_: str = Field(default="CheckoutPage", alias='@type') - diff --git a/pydantic_schemaorg/ChemicalSubstance.py b/pydantic_schemaorg/ChemicalSubstance.py index 2c780902..9900de49 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("ChemicalSubstance", alias='@type') + type_: str = Field(default="ChemicalSubstance", alias='@type') 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" @@ -31,7 +31,6 @@ class ChemicalSubstance(BioChemEntity): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text from pydantic_schemaorg.DefinedTerm import DefinedTerm diff --git a/pydantic_schemaorg/ChildCare.py b/pydantic_schemaorg/ChildCare.py index a59f9f48..9a4ad631 100644 --- a/pydantic_schemaorg/ChildCare.py +++ b/pydantic_schemaorg/ChildCare.py @@ -11,6 +11,6 @@ class ChildCare(LocalBusiness): See: https://schema.org/ChildCare Model depth: 4 """ - type_: str = Field("ChildCare", alias='@type') + type_: str = Field(default="ChildCare", alias='@type') diff --git a/pydantic_schemaorg/ChildrensEvent.py b/pydantic_schemaorg/ChildrensEvent.py index c41822e2..1cb0d110 100644 --- a/pydantic_schemaorg/ChildrensEvent.py +++ b/pydantic_schemaorg/ChildrensEvent.py @@ -11,6 +11,5 @@ class ChildrensEvent(Event): See: https://schema.org/ChildrensEvent Model depth: 3 """ - type_: str = Field("ChildrensEvent", alias='@type') + type_: str = Field(default="ChildrensEvent", alias='@type') - diff --git a/pydantic_schemaorg/Chiropractic.py b/pydantic_schemaorg/Chiropractic.py index 17fb9bea..b76ca028 100644 --- a/pydantic_schemaorg/Chiropractic.py +++ b/pydantic_schemaorg/Chiropractic.py @@ -12,6 +12,6 @@ class Chiropractic(MedicineSystem): See: https://schema.org/Chiropractic Model depth: 6 """ - type_: str = Field("Chiropractic", alias='@type') + type_: str = Field(default="Chiropractic", alias='@type') diff --git a/pydantic_schemaorg/ChooseAction.py b/pydantic_schemaorg/ChooseAction.py index a6566c1b..3d586db7 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("ChooseAction", alias='@type') + type_: str = Field(default="ChooseAction", alias='@type') 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 13ae25cc..f057b9fa 100644 --- a/pydantic_schemaorg/Church.py +++ b/pydantic_schemaorg/Church.py @@ -11,6 +11,5 @@ class Church(PlaceOfWorship): See: https://schema.org/Church Model depth: 5 """ - type_: str = Field("Church", alias='@type') + type_: str = Field(default="Church", alias='@type') - diff --git a/pydantic_schemaorg/City.py b/pydantic_schemaorg/City.py index 9cd95692..31e03c42 100644 --- a/pydantic_schemaorg/City.py +++ b/pydantic_schemaorg/City.py @@ -11,6 +11,5 @@ class City(AdministrativeArea): See: https://schema.org/City Model depth: 4 """ - type_: str = Field("City", alias='@type') + type_: str = Field(default="City", alias='@type') - diff --git a/pydantic_schemaorg/CityHall.py b/pydantic_schemaorg/CityHall.py index e387265d..931dbdbf 100644 --- a/pydantic_schemaorg/CityHall.py +++ b/pydantic_schemaorg/CityHall.py @@ -11,6 +11,5 @@ class CityHall(GovernmentBuilding): See: https://schema.org/CityHall Model depth: 5 """ - type_: str = Field("CityHall", alias='@type') + type_: str = Field(default="CityHall", alias='@type') - diff --git a/pydantic_schemaorg/CivicStructure.py b/pydantic_schemaorg/CivicStructure.py index 086fe6a8..8dea956c 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("CivicStructure", alias='@type') + type_: str = Field(default="CivicStructure", alias='@type') 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 ccf6ab1d..d8207526 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("Claim", alias='@type') + type_: str = Field(default="Claim", alias='@type') 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]].", @@ -39,8 +39,7 @@ 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 0bd5bc0d..0b936642 100644 --- a/pydantic_schemaorg/ClaimReview.py +++ b/pydantic_schemaorg/ClaimReview.py @@ -15,13 +15,12 @@ class ClaimReview(Review): See: https://schema.org/ClaimReview Model depth: 4 """ - type_: str = Field("ClaimReview", alias='@type') + type_: str = Field(default="ClaimReview", alias='@type') claimReviewed: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="A short summary of the specific claims reviewed in a ClaimReview.", ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text diff --git a/pydantic_schemaorg/Class.py b/pydantic_schemaorg/Class.py index deb9549d..75fea5e0 100644 --- a/pydantic_schemaorg/Class.py +++ b/pydantic_schemaorg/Class.py @@ -14,8 +14,8 @@ class Class(Intangible): See: https://schema.org/Class Model depth: 3 """ - type_: str = Field("Class", alias='@type') - supersededBy: Optional[Union[List[Union['Enumeration', 'Property', 'Class', str]], 'Enumeration', 'Property', 'Class', str]] = Field( + type_: str = Field(default="Class", alias='@type') + supersededBy: Optional[Union[List[Union['Class', 'Property', 'Enumeration', str]], 'Class', 'Property', 'Enumeration', str]] = Field( default=None, description="Relates a term (i.e. a property, class or enumeration) to one that supersedes it.", ) @@ -23,5 +23,5 @@ class Class(Intangible): if TYPE_CHECKING: - from pydantic_schemaorg.Enumeration import Enumeration from pydantic_schemaorg.Property import Property + from pydantic_schemaorg.Enumeration import Enumeration diff --git a/pydantic_schemaorg/CleaningFee.py b/pydantic_schemaorg/CleaningFee.py index 4bf78c53..29947c1a 100644 --- a/pydantic_schemaorg/CleaningFee.py +++ b/pydantic_schemaorg/CleaningFee.py @@ -12,6 +12,5 @@ class CleaningFee(PriceComponentTypeEnumeration): See: https://schema.org/CleaningFee Model depth: 5 """ - type_: str = Field("CleaningFee", alias='@type') + type_: str = Field(default="CleaningFee", alias='@type') - diff --git a/pydantic_schemaorg/Clinician.py b/pydantic_schemaorg/Clinician.py index 22f790dc..1750113a 100644 --- a/pydantic_schemaorg/Clinician.py +++ b/pydantic_schemaorg/Clinician.py @@ -12,6 +12,6 @@ class Clinician(MedicalAudienceType): See: https://schema.org/Clinician Model depth: 6 """ - type_: str = Field("Clinician", alias='@type') + type_: str = Field(default="Clinician", alias='@type') diff --git a/pydantic_schemaorg/Clip.py b/pydantic_schemaorg/Clip.py index 4bb3119d..a9c4fd60 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("Clip", alias='@type') + type_: str = Field(default="Clip", alias='@type') partOfSeason: Optional[Union[List[Union['CreativeWorkSeason', str]], 'CreativeWorkSeason', str]] = Field( default=None, description="The season to which this episode belongs.", @@ -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 f75d8696..a74a7924 100644 --- a/pydantic_schemaorg/ClothingStore.py +++ b/pydantic_schemaorg/ClothingStore.py @@ -11,6 +11,5 @@ class ClothingStore(Store): See: https://schema.org/ClothingStore Model depth: 5 """ - type_: str = Field("ClothingStore", alias='@type') + type_: str = Field(default="ClothingStore", alias='@type') - diff --git a/pydantic_schemaorg/CoOp.py b/pydantic_schemaorg/CoOp.py index 2c9fa4be..347a584a 100644 --- a/pydantic_schemaorg/CoOp.py +++ b/pydantic_schemaorg/CoOp.py @@ -11,6 +11,5 @@ class CoOp(GamePlayMode): See: https://schema.org/CoOp Model depth: 5 """ - type_: str = Field("CoOp", alias='@type') + type_: str = Field(default="CoOp", alias='@type') - diff --git a/pydantic_schemaorg/Code.py b/pydantic_schemaorg/Code.py index 8b5012d8..476c6630 100644 --- a/pydantic_schemaorg/Code.py +++ b/pydantic_schemaorg/Code.py @@ -12,6 +12,5 @@ class Code(CreativeWork): See: https://schema.org/Code Model depth: 3 """ - type_: str = Field("Code", alias='@type') + type_: str = Field(default="Code", alias='@type') - diff --git a/pydantic_schemaorg/CohortStudy.py b/pydantic_schemaorg/CohortStudy.py index 5211dbaa..80e037a6 100644 --- a/pydantic_schemaorg/CohortStudy.py +++ b/pydantic_schemaorg/CohortStudy.py @@ -18,6 +18,5 @@ class CohortStudy(MedicalObservationalStudyDesign): See: https://schema.org/CohortStudy Model depth: 6 """ - type_: str = Field("CohortStudy", alias='@type') + type_: str = Field(default="CohortStudy", alias='@type') - diff --git a/pydantic_schemaorg/Collection.py b/pydantic_schemaorg/Collection.py index c8f0a3dd..1a006452 100644 --- a/pydantic_schemaorg/Collection.py +++ b/pydantic_schemaorg/Collection.py @@ -14,13 +14,12 @@ class Collection(CreativeWork): See: https://schema.org/Collection Model depth: 3 """ - type_: str = Field("Collection", alias='@type') + type_: str = Field(default="Collection", alias='@type') collectionSize: Optional[Union[List[Union[int, 'Integer', str]], int, 'Integer', str]] = Field( default=None, description="The number of items in the [[Collection]].", ) - if TYPE_CHECKING: from pydantic_schemaorg.Integer import Integer diff --git a/pydantic_schemaorg/CollectionPage.py b/pydantic_schemaorg/CollectionPage.py index bef66971..67dfb511 100644 --- a/pydantic_schemaorg/CollectionPage.py +++ b/pydantic_schemaorg/CollectionPage.py @@ -11,6 +11,6 @@ class CollectionPage(WebPage): See: https://schema.org/CollectionPage Model depth: 4 """ - type_: str = Field("CollectionPage", alias='@type') + type_: str = Field(default="CollectionPage", alias='@type') diff --git a/pydantic_schemaorg/CollegeOrUniversity.py b/pydantic_schemaorg/CollegeOrUniversity.py index ad7626d0..90027e42 100644 --- a/pydantic_schemaorg/CollegeOrUniversity.py +++ b/pydantic_schemaorg/CollegeOrUniversity.py @@ -11,6 +11,5 @@ class CollegeOrUniversity(EducationalOrganization): See: https://schema.org/CollegeOrUniversity Model depth: 4 """ - type_: str = Field("CollegeOrUniversity", alias='@type') + type_: str = Field(default="CollegeOrUniversity", alias='@type') - diff --git a/pydantic_schemaorg/ComedyClub.py b/pydantic_schemaorg/ComedyClub.py index c92ec2e8..d7557172 100644 --- a/pydantic_schemaorg/ComedyClub.py +++ b/pydantic_schemaorg/ComedyClub.py @@ -11,6 +11,6 @@ class ComedyClub(EntertainmentBusiness): See: https://schema.org/ComedyClub Model depth: 5 """ - type_: str = Field("ComedyClub", alias='@type') + type_: str = Field(default="ComedyClub", alias='@type') diff --git a/pydantic_schemaorg/ComedyEvent.py b/pydantic_schemaorg/ComedyEvent.py index ed06c4e2..2e36fda8 100644 --- a/pydantic_schemaorg/ComedyEvent.py +++ b/pydantic_schemaorg/ComedyEvent.py @@ -11,6 +11,5 @@ class ComedyEvent(Event): See: https://schema.org/ComedyEvent Model depth: 3 """ - type_: str = Field("ComedyEvent", alias='@type') + type_: str = Field(default="ComedyEvent", alias='@type') - diff --git a/pydantic_schemaorg/ComicCoverArt.py b/pydantic_schemaorg/ComicCoverArt.py index 642e6e7f..4ebb47bf 100644 --- a/pydantic_schemaorg/ComicCoverArt.py +++ b/pydantic_schemaorg/ComicCoverArt.py @@ -12,6 +12,6 @@ class ComicCoverArt(CoverArt, ComicStory): See: https://schema.org/ComicCoverArt Model depth: 4 """ - type_: str = Field("ComicCoverArt", alias='@type') + type_: str = Field(default="ComicCoverArt", alias='@type') diff --git a/pydantic_schemaorg/ComicIssue.py b/pydantic_schemaorg/ComicIssue.py index eaa92ec0..82bcb5a3 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("ComicIssue", alias='@type') + type_: str = Field(default="ComicIssue", alias='@type') colorist: Optional[Union[List[Union['Person', str]], 'Person', str]] = Field( default=None, description="The individual who adds color to inked drawings.", @@ -48,7 +48,6 @@ class ComicIssue(PublicationIssue): ) - if TYPE_CHECKING: from pydantic_schemaorg.Person import Person from pydantic_schemaorg.Text import Text diff --git a/pydantic_schemaorg/ComicSeries.py b/pydantic_schemaorg/ComicSeries.py index 2f8c2612..fdaa70e4 100644 --- a/pydantic_schemaorg/ComicSeries.py +++ b/pydantic_schemaorg/ComicSeries.py @@ -12,6 +12,5 @@ class ComicSeries(Periodical): See: https://schema.org/ComicSeries Model depth: 5 """ - type_: str = Field("ComicSeries", alias='@type') + type_: str = Field(default="ComicSeries", alias='@type') - diff --git a/pydantic_schemaorg/ComicStory.py b/pydantic_schemaorg/ComicStory.py index af85fe4e..ddba8c56 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("ComicStory", alias='@type') + type_: str = Field(default="ComicStory", alias='@type') 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 4ebc5cb8..8ae75ff8 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("Comment", alias='@type') + type_: str = Field(default="Comment", alias='@type') 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 0255a9a9..e3acd112 100644 --- a/pydantic_schemaorg/CommentAction.py +++ b/pydantic_schemaorg/CommentAction.py @@ -14,13 +14,12 @@ class CommentAction(CommunicateAction): See: https://schema.org/CommentAction Model depth: 5 """ - type_: str = Field("CommentAction", alias='@type') + type_: str = Field(default="CommentAction", alias='@type') 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.", ) - if TYPE_CHECKING: from pydantic_schemaorg.Comment import Comment diff --git a/pydantic_schemaorg/CommentPermission.py b/pydantic_schemaorg/CommentPermission.py index ca59a9d1..fa961d2c 100644 --- a/pydantic_schemaorg/CommentPermission.py +++ b/pydantic_schemaorg/CommentPermission.py @@ -11,6 +11,5 @@ class CommentPermission(DigitalDocumentPermissionType): See: https://schema.org/CommentPermission Model depth: 5 """ - type_: str = Field("CommentPermission", alias='@type') + type_: str = Field(default="CommentPermission", alias='@type') - diff --git a/pydantic_schemaorg/CommunicateAction.py b/pydantic_schemaorg/CommunicateAction.py index eebd5d1b..0c885569 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("CommunicateAction", alias='@type') + type_: str = Field(default="CommunicateAction", alias='@type') 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', 'Organization', 'Audience', 'ContactPoint', str]], 'Person', 'Organization', 'Audience', 'ContactPoint', str]] = Field( + recipient: Optional[Union[List[Union['Audience', 'ContactPoint', 'Organization', 'Person', str]], 'Audience', 'ContactPoint', 'Organization', 'Person', str]] = Field( default=None, description="A sub property of participant. The participant who is at the receiving end of the action.", ) @@ -40,8 +40,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.Organization import Organization from pydantic_schemaorg.Audience import Audience from pydantic_schemaorg.ContactPoint import ContactPoint + from pydantic_schemaorg.Organization import Organization + 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 ca391976..0da76cb0 100644 --- a/pydantic_schemaorg/CommunityHealth.py +++ b/pydantic_schemaorg/CommunityHealth.py @@ -13,6 +13,5 @@ class CommunityHealth(MedicalSpecialty, MedicalBusiness): See: https://schema.org/CommunityHealth Model depth: 5 """ - type_: str = Field("CommunityHealth", alias='@type') + type_: str = Field(default="CommunityHealth", alias='@type') - diff --git a/pydantic_schemaorg/CompilationAlbum.py b/pydantic_schemaorg/CompilationAlbum.py index 6f53bd3a..e7e87c84 100644 --- a/pydantic_schemaorg/CompilationAlbum.py +++ b/pydantic_schemaorg/CompilationAlbum.py @@ -11,6 +11,5 @@ class CompilationAlbum(MusicAlbumProductionType): See: https://schema.org/CompilationAlbum Model depth: 5 """ - type_: str = Field("CompilationAlbum", alias='@type') + type_: str = Field(default="CompilationAlbum", alias='@type') - diff --git a/pydantic_schemaorg/CompleteDataFeed.py b/pydantic_schemaorg/CompleteDataFeed.py index 2e51370c..6b50a63d 100644 --- a/pydantic_schemaorg/CompleteDataFeed.py +++ b/pydantic_schemaorg/CompleteDataFeed.py @@ -18,6 +18,5 @@ class CompleteDataFeed(DataFeed): See: https://schema.org/CompleteDataFeed Model depth: 5 """ - type_: str = Field("CompleteDataFeed", alias='@type') + type_: str = Field(default="CompleteDataFeed", alias='@type') - diff --git a/pydantic_schemaorg/Completed.py b/pydantic_schemaorg/Completed.py index 087703db..8666a122 100644 --- a/pydantic_schemaorg/Completed.py +++ b/pydantic_schemaorg/Completed.py @@ -11,6 +11,5 @@ class Completed(MedicalStudyStatus): See: https://schema.org/Completed Model depth: 6 """ - type_: str = Field("Completed", alias='@type') + type_: str = Field(default="Completed", alias='@type') - diff --git a/pydantic_schemaorg/CompletedActionStatus.py b/pydantic_schemaorg/CompletedActionStatus.py index ff5c64e2..24e31d6b 100644 --- a/pydantic_schemaorg/CompletedActionStatus.py +++ b/pydantic_schemaorg/CompletedActionStatus.py @@ -11,6 +11,5 @@ class CompletedActionStatus(ActionStatusType): See: https://schema.org/CompletedActionStatus Model depth: 6 """ - type_: str = Field("CompletedActionStatus", alias='@type') + type_: str = Field(default="CompletedActionStatus", alias='@type') - diff --git a/pydantic_schemaorg/CompoundPriceSpecification.py b/pydantic_schemaorg/CompoundPriceSpecification.py index 42f49731..db4de011 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("CompoundPriceSpecification", alias='@type') + type_: str = Field(default="CompoundPriceSpecification", alias='@type') 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," @@ -34,7 +34,6 @@ class CompoundPriceSpecification(PriceSpecification): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text from pydantic_schemaorg.PriceTypeEnumeration import PriceTypeEnumeration diff --git a/pydantic_schemaorg/ComputerLanguage.py b/pydantic_schemaorg/ComputerLanguage.py index 82f466b0..970bdc21 100644 --- a/pydantic_schemaorg/ComputerLanguage.py +++ b/pydantic_schemaorg/ComputerLanguage.py @@ -13,6 +13,5 @@ class ComputerLanguage(Intangible): See: https://schema.org/ComputerLanguage Model depth: 3 """ - type_: str = Field("ComputerLanguage", alias='@type') + type_: str = Field(default="ComputerLanguage", alias='@type') - diff --git a/pydantic_schemaorg/ComputerStore.py b/pydantic_schemaorg/ComputerStore.py index 2bfc5879..82ac7c7e 100644 --- a/pydantic_schemaorg/ComputerStore.py +++ b/pydantic_schemaorg/ComputerStore.py @@ -11,6 +11,5 @@ class ComputerStore(Store): See: https://schema.org/ComputerStore Model depth: 5 """ - type_: str = Field("ComputerStore", alias='@type') + type_: str = Field(default="ComputerStore", alias='@type') - diff --git a/pydantic_schemaorg/ConfirmAction.py b/pydantic_schemaorg/ConfirmAction.py index 57f0cdb0..6f124180 100644 --- a/pydantic_schemaorg/ConfirmAction.py +++ b/pydantic_schemaorg/ConfirmAction.py @@ -12,6 +12,6 @@ class ConfirmAction(InformAction): See: https://schema.org/ConfirmAction Model depth: 6 """ - type_: str = Field("ConfirmAction", alias='@type') + type_: str = Field(default="ConfirmAction", alias='@type') diff --git a/pydantic_schemaorg/Consortium.py b/pydantic_schemaorg/Consortium.py index b307e7c1..af77170d 100644 --- a/pydantic_schemaorg/Consortium.py +++ b/pydantic_schemaorg/Consortium.py @@ -11,6 +11,5 @@ class Consortium(Organization): See: https://schema.org/Consortium Model depth: 3 """ - type_: str = Field("Consortium", alias='@type') + type_: str = Field(default="Consortium", alias='@type') - diff --git a/pydantic_schemaorg/ConsumeAction.py b/pydantic_schemaorg/ConsumeAction.py index 87869375..6ab15b6a 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("ConsumeAction", alias='@type') + type_: str = Field(default="ConsumeAction", alias='@type') 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 dbe9a271..5601cd52 100644 --- a/pydantic_schemaorg/ContactPage.py +++ b/pydantic_schemaorg/ContactPage.py @@ -11,6 +11,5 @@ class ContactPage(WebPage): See: https://schema.org/ContactPage Model depth: 4 """ - type_: str = Field("ContactPage", alias='@type') + type_: str = Field(default="ContactPage", alias='@type') - diff --git a/pydantic_schemaorg/ContactPoint.py b/pydantic_schemaorg/ContactPoint.py index 955977dc..b98bce0a 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("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') + 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['AdministrativeArea', 'GeoShape', 'Place', str]], 'AdministrativeArea', 'GeoShape', '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.", ) @@ -64,12 +64,11 @@ 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 83185874..11759842 100644 --- a/pydantic_schemaorg/ContactPointOption.py +++ b/pydantic_schemaorg/ContactPointOption.py @@ -11,6 +11,5 @@ class ContactPointOption(Enumeration): See: https://schema.org/ContactPointOption Model depth: 4 """ - type_: str = Field("ContactPointOption", alias='@type') + type_: str = Field(default="ContactPointOption", alias='@type') - diff --git a/pydantic_schemaorg/ContagiousnessHealthAspect.py b/pydantic_schemaorg/ContagiousnessHealthAspect.py index cd6aac32..eba02bff 100644 --- a/pydantic_schemaorg/ContagiousnessHealthAspect.py +++ b/pydantic_schemaorg/ContagiousnessHealthAspect.py @@ -11,6 +11,5 @@ class ContagiousnessHealthAspect(HealthAspectEnumeration): See: https://schema.org/ContagiousnessHealthAspect Model depth: 5 """ - type_: str = Field("ContagiousnessHealthAspect", alias='@type') + type_: str = Field(default="ContagiousnessHealthAspect", alias='@type') - diff --git a/pydantic_schemaorg/Continent.py b/pydantic_schemaorg/Continent.py index 6c9ce934..e3f8cbeb 100644 --- a/pydantic_schemaorg/Continent.py +++ b/pydantic_schemaorg/Continent.py @@ -11,6 +11,5 @@ class Continent(Landform): See: https://schema.org/Continent Model depth: 4 """ - type_: str = Field("Continent", alias='@type') + type_: str = Field(default="Continent", alias='@type') - diff --git a/pydantic_schemaorg/ControlAction.py b/pydantic_schemaorg/ControlAction.py index 5f10bbc5..c986d6bb 100644 --- a/pydantic_schemaorg/ControlAction.py +++ b/pydantic_schemaorg/ControlAction.py @@ -11,6 +11,6 @@ class ControlAction(Action): See: https://schema.org/ControlAction Model depth: 3 """ - type_: str = Field("ControlAction", alias='@type') + type_: str = Field(default="ControlAction", alias='@type') diff --git a/pydantic_schemaorg/ConvenienceStore.py b/pydantic_schemaorg/ConvenienceStore.py index 21027679..163c76ae 100644 --- a/pydantic_schemaorg/ConvenienceStore.py +++ b/pydantic_schemaorg/ConvenienceStore.py @@ -11,6 +11,5 @@ class ConvenienceStore(Store): See: https://schema.org/ConvenienceStore Model depth: 5 """ - type_: str = Field("ConvenienceStore", alias='@type') + type_: str = Field(default="ConvenienceStore", alias='@type') - diff --git a/pydantic_schemaorg/Conversation.py b/pydantic_schemaorg/Conversation.py index 266c0160..9cf662a1 100644 --- a/pydantic_schemaorg/Conversation.py +++ b/pydantic_schemaorg/Conversation.py @@ -12,6 +12,5 @@ class Conversation(CreativeWork): See: https://schema.org/Conversation Model depth: 3 """ - type_: str = Field("Conversation", alias='@type') + type_: str = Field(default="Conversation", alias='@type') - diff --git a/pydantic_schemaorg/CookAction.py b/pydantic_schemaorg/CookAction.py index c87da78e..ca89b06b 100644 --- a/pydantic_schemaorg/CookAction.py +++ b/pydantic_schemaorg/CookAction.py @@ -14,7 +14,7 @@ class CookAction(CreateAction): See: https://schema.org/CookAction Model depth: 4 """ - type_: str = Field("CookAction", alias='@type') + type_: str = Field(default="CookAction", alias='@type') 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.", @@ -29,7 +29,6 @@ class CookAction(CreateAction): ) - if TYPE_CHECKING: from pydantic_schemaorg.Recipe import Recipe from pydantic_schemaorg.FoodEstablishment import FoodEstablishment diff --git a/pydantic_schemaorg/Corporation.py b/pydantic_schemaorg/Corporation.py index 220c77a9..fa372b11 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("Corporation", alias='@type') + type_: str = Field(default="Corporation", alias='@type') tickerSymbol: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="The exchange traded instrument associated with a Corporation object. The tickerSymbol" @@ -24,6 +24,5 @@ class Corporation(Organization): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text diff --git a/pydantic_schemaorg/CorrectionComment.py b/pydantic_schemaorg/CorrectionComment.py index b0be3eec..862829f2 100644 --- a/pydantic_schemaorg/CorrectionComment.py +++ b/pydantic_schemaorg/CorrectionComment.py @@ -11,6 +11,6 @@ class CorrectionComment(Comment): See: https://schema.org/CorrectionComment Model depth: 4 """ - type_: str = Field("CorrectionComment", alias='@type') + type_: str = Field(default="CorrectionComment", alias='@type') diff --git a/pydantic_schemaorg/Country.py b/pydantic_schemaorg/Country.py index d05a37e7..ec002710 100644 --- a/pydantic_schemaorg/Country.py +++ b/pydantic_schemaorg/Country.py @@ -11,6 +11,5 @@ class Country(AdministrativeArea): See: https://schema.org/Country Model depth: 4 """ - type_: str = Field("Country", alias='@type') + type_: str = Field(default="Country", alias='@type') - diff --git a/pydantic_schemaorg/Course.py b/pydantic_schemaorg/Course.py index 718c5fde..93494dcc 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("Course", alias='@type') + type_: str = Field(default="Course", alias='@type') 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.", @@ -39,7 +39,7 @@ class Course(LearningResource, CreativeWork): description="An offering of the course at a specific time and place or through specific media or mode" "of study or to a specific section of students.", ) - coursePrerequisites: Optional[Union[List[Union[str, 'Text', 'AlignmentObject', 'Course']], str, 'Text', 'AlignmentObject', 'Course']] = Field( + coursePrerequisites: Optional[Union[List[Union[str, 'Text', 'Course', 'AlignmentObject']], str, 'Text', 'Course', 'AlignmentObject']] = Field( default=None, description="Requirements for taking the Course. May be completion of another [[Course]] or a textual" "description like \"permission of instructor\". Requirements may be a pre-requisite" @@ -52,7 +52,6 @@ class Course(LearningResource, CreativeWork): ) - if TYPE_CHECKING: from pydantic_schemaorg.Integer import Integer from pydantic_schemaorg.StructuredValue import StructuredValue diff --git a/pydantic_schemaorg/CourseInstance.py b/pydantic_schemaorg/CourseInstance.py index 7ec30607..ebb979b2 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("CourseInstance", alias='@type') + type_: str = Field(default="CourseInstance", alias='@type') 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" @@ -37,7 +37,6 @@ class CourseInstance(Event): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text from pydantic_schemaorg.Person import Person diff --git a/pydantic_schemaorg/Courthouse.py b/pydantic_schemaorg/Courthouse.py index 73e8e4ff..16575537 100644 --- a/pydantic_schemaorg/Courthouse.py +++ b/pydantic_schemaorg/Courthouse.py @@ -11,6 +11,5 @@ class Courthouse(GovernmentBuilding): See: https://schema.org/Courthouse Model depth: 5 """ - type_: str = Field("Courthouse", alias='@type') + type_: str = Field(default="Courthouse", alias='@type') - diff --git a/pydantic_schemaorg/CoverArt.py b/pydantic_schemaorg/CoverArt.py index 601d1a68..4901546c 100644 --- a/pydantic_schemaorg/CoverArt.py +++ b/pydantic_schemaorg/CoverArt.py @@ -11,6 +11,6 @@ class CoverArt(VisualArtwork): See: https://schema.org/CoverArt Model depth: 4 """ - type_: str = Field("CoverArt", alias='@type') + type_: str = Field(default="CoverArt", alias='@type') diff --git a/pydantic_schemaorg/CovidTestingFacility.py b/pydantic_schemaorg/CovidTestingFacility.py index 3d52f48d..e567b734 100644 --- a/pydantic_schemaorg/CovidTestingFacility.py +++ b/pydantic_schemaorg/CovidTestingFacility.py @@ -16,6 +16,5 @@ class CovidTestingFacility(MedicalClinic): See: https://schema.org/CovidTestingFacility Model depth: 5 """ - type_: str = Field("CovidTestingFacility", alias='@type') + type_: str = Field(default="CovidTestingFacility", alias='@type') - diff --git a/pydantic_schemaorg/CreateAction.py b/pydantic_schemaorg/CreateAction.py index c75b1d00..5caae6c7 100644 --- a/pydantic_schemaorg/CreateAction.py +++ b/pydantic_schemaorg/CreateAction.py @@ -12,6 +12,5 @@ class CreateAction(Action): See: https://schema.org/CreateAction Model depth: 3 """ - type_: str = Field("CreateAction", alias='@type') + type_: str = Field(default="CreateAction", alias='@type') - diff --git a/pydantic_schemaorg/CreativeWork.py b/pydantic_schemaorg/CreativeWork.py index 09bb235c..e75f51e4 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("CreativeWork", alias='@type') + type_: str = Field(default="CreativeWork", alias='@type') 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['Demand', 'Offer', str]], 'Demand', 'Offer', str]] = Field( + offers: Optional[Union[List[Union['Offer', 'Demand', str]], 'Offer', 'Demand', 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]]" @@ -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.", @@ -185,11 +185,11 @@ class CreativeWork(Thing): default=None, description="Comments, typically from users.", ) - audio: Optional[Union[List[Union['AudioObject', 'MusicRecording', 'Clip', str]], 'AudioObject', 'MusicRecording', 'Clip', str]] = Field( + audio: Optional[Union[List[Union['MusicRecording', 'Clip', 'AudioObject', str]], 'MusicRecording', 'Clip', 'AudioObject', str]] = Field( default=None, description="An embedded audio object.", ) - video: Optional[Union[List[Union['VideoObject', 'Clip', str]], 'VideoObject', 'Clip', str]] = Field( + video: Optional[Union[List[Union['Clip', 'VideoObject', str]], 'Clip', 'VideoObject', str]] = Field( default=None, description="An embedded video object.", ) @@ -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" @@ -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', 'SizeSpecification', 'DefinedTerm', 'QuantitativeValue']], str, 'Text', 'SizeSpecification', 'DefinedTerm', 'QuantitativeValue']] = 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," @@ -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.", @@ -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.", ) @@ -627,8 +627,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.Demand import Demand from pydantic_schemaorg.Offer import Offer + from pydantic_schemaorg.Demand import Demand from pydantic_schemaorg.Place import Place from pydantic_schemaorg.URL import URL from pydantic_schemaorg.Product import Product @@ -640,9 +640,9 @@ class CreativeWork(Thing): from pydantic_schemaorg.ItemList import ItemList from pydantic_schemaorg.AlignmentObject import AlignmentObject from pydantic_schemaorg.Comment import Comment - from pydantic_schemaorg.AudioObject import AudioObject from pydantic_schemaorg.MusicRecording import MusicRecording from pydantic_schemaorg.Clip import Clip + from pydantic_schemaorg.AudioObject import AudioObject from pydantic_schemaorg.VideoObject import VideoObject from pydantic_schemaorg.Integer import Integer from pydantic_schemaorg.Country import Country diff --git a/pydantic_schemaorg/CreativeWorkSeason.py b/pydantic_schemaorg/CreativeWorkSeason.py index 555f9cff..70778755 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("CreativeWorkSeason", alias='@type') + type_: str = Field(default="CreativeWorkSeason", alias='@type') 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.", @@ -65,7 +65,6 @@ class CreativeWorkSeason(CreativeWork): ) - if TYPE_CHECKING: from pydantic_schemaorg.VideoObject import VideoObject from pydantic_schemaorg.Episode import Episode diff --git a/pydantic_schemaorg/CreativeWorkSeries.py b/pydantic_schemaorg/CreativeWorkSeries.py index de09e9aa..47eaeae0 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("CreativeWorkSeries", alias='@type') + type_: str = Field(default="CreativeWorkSeries", alias='@type') 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 a89725ff..cedebe57 100644 --- a/pydantic_schemaorg/CreditCard.py +++ b/pydantic_schemaorg/CreditCard.py @@ -2,11 +2,11 @@ from pydantic import Field -from pydantic_schemaorg.LoanOrCredit import LoanOrCredit from pydantic_schemaorg.PaymentCard import PaymentCard +from pydantic_schemaorg.LoanOrCredit import LoanOrCredit -class CreditCard(LoanOrCredit, PaymentCard): +class CreditCard(PaymentCard, LoanOrCredit): """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,6 +16,5 @@ class CreditCard(LoanOrCredit, PaymentCard): See: https://schema.org/CreditCard Model depth: 6 """ - type_: str = Field("CreditCard", alias='@type') + type_: str = Field(default="CreditCard", alias='@type') - diff --git a/pydantic_schemaorg/Crematorium.py b/pydantic_schemaorg/Crematorium.py index 2098d566..06453b5c 100644 --- a/pydantic_schemaorg/Crematorium.py +++ b/pydantic_schemaorg/Crematorium.py @@ -11,6 +11,5 @@ class Crematorium(CivicStructure): See: https://schema.org/Crematorium Model depth: 4 """ - type_: str = Field("Crematorium", alias='@type') + type_: str = Field(default="Crematorium", alias='@type') - diff --git a/pydantic_schemaorg/CriticReview.py b/pydantic_schemaorg/CriticReview.py index b15cfb3b..8dca96df 100644 --- a/pydantic_schemaorg/CriticReview.py +++ b/pydantic_schemaorg/CriticReview.py @@ -17,6 +17,5 @@ class CriticReview(Review): See: https://schema.org/CriticReview Model depth: 4 """ - type_: str = Field("CriticReview", alias='@type') + type_: str = Field(default="CriticReview", alias='@type') - diff --git a/pydantic_schemaorg/CrossSectional.py b/pydantic_schemaorg/CrossSectional.py index ebd56c08..f8d035ad 100644 --- a/pydantic_schemaorg/CrossSectional.py +++ b/pydantic_schemaorg/CrossSectional.py @@ -12,6 +12,5 @@ class CrossSectional(MedicalObservationalStudyDesign): See: https://schema.org/CrossSectional Model depth: 6 """ - type_: str = Field("CrossSectional", alias='@type') + type_: str = Field(default="CrossSectional", alias='@type') - diff --git a/pydantic_schemaorg/CssSelectorType.py b/pydantic_schemaorg/CssSelectorType.py index b17e8d16..09813c3b 100644 --- a/pydantic_schemaorg/CssSelectorType.py +++ b/pydantic_schemaorg/CssSelectorType.py @@ -11,6 +11,5 @@ class CssSelectorType(Text): See: https://schema.org/CssSelectorType Model depth: 6 """ - type_: str = Field("CssSelectorType", alias='@type') + type_: str = Field(default="CssSelectorType", alias='@type') - diff --git a/pydantic_schemaorg/CurrencyConversionService.py b/pydantic_schemaorg/CurrencyConversionService.py index e1a8ef10..eeb4fa67 100644 --- a/pydantic_schemaorg/CurrencyConversionService.py +++ b/pydantic_schemaorg/CurrencyConversionService.py @@ -11,6 +11,5 @@ class CurrencyConversionService(FinancialProduct): See: https://schema.org/CurrencyConversionService Model depth: 5 """ - type_: str = Field("CurrencyConversionService", alias='@type') + type_: str = Field(default="CurrencyConversionService", alias='@type') - diff --git a/pydantic_schemaorg/DDxElement.py b/pydantic_schemaorg/DDxElement.py index 8d925717..3d44464a 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("DDxElement", alias='@type') + type_: str = Field(default="DDxElement", alias='@type') diagnosis: Optional[Union[List[Union['MedicalCondition', str]], 'MedicalCondition', str]] = Field( default=None, description="One or more alternative conditions considered in the differential diagnosis process" @@ -28,7 +28,6 @@ class DDxElement(MedicalIntangible): ) - if TYPE_CHECKING: from pydantic_schemaorg.MedicalCondition import MedicalCondition from pydantic_schemaorg.MedicalSignOrSymptom import MedicalSignOrSymptom diff --git a/pydantic_schemaorg/DJMixAlbum.py b/pydantic_schemaorg/DJMixAlbum.py index f37f3280..d1458be9 100644 --- a/pydantic_schemaorg/DJMixAlbum.py +++ b/pydantic_schemaorg/DJMixAlbum.py @@ -11,6 +11,5 @@ class DJMixAlbum(MusicAlbumProductionType): See: https://schema.org/DJMixAlbum Model depth: 5 """ - type_: str = Field("DJMixAlbum", alias='@type') + type_: str = Field(default="DJMixAlbum", alias='@type') - diff --git a/pydantic_schemaorg/DVDFormat.py b/pydantic_schemaorg/DVDFormat.py index 24825b98..51a244f2 100644 --- a/pydantic_schemaorg/DVDFormat.py +++ b/pydantic_schemaorg/DVDFormat.py @@ -11,6 +11,5 @@ class DVDFormat(MusicReleaseFormatType): See: https://schema.org/DVDFormat Model depth: 5 """ - type_: str = Field("DVDFormat", alias='@type') + type_: str = Field(default="DVDFormat", alias='@type') - diff --git a/pydantic_schemaorg/DamagedCondition.py b/pydantic_schemaorg/DamagedCondition.py index ac9892e6..db98d381 100644 --- a/pydantic_schemaorg/DamagedCondition.py +++ b/pydantic_schemaorg/DamagedCondition.py @@ -11,6 +11,5 @@ class DamagedCondition(OfferItemCondition): See: https://schema.org/DamagedCondition Model depth: 5 """ - type_: str = Field("DamagedCondition", alias='@type') + type_: str = Field(default="DamagedCondition", alias='@type') - diff --git a/pydantic_schemaorg/DanceEvent.py b/pydantic_schemaorg/DanceEvent.py index a68eb918..b8aa810a 100644 --- a/pydantic_schemaorg/DanceEvent.py +++ b/pydantic_schemaorg/DanceEvent.py @@ -11,6 +11,6 @@ class DanceEvent(Event): See: https://schema.org/DanceEvent Model depth: 3 """ - type_: str = Field("DanceEvent", alias='@type') + type_: str = Field(default="DanceEvent", alias='@type') diff --git a/pydantic_schemaorg/DanceGroup.py b/pydantic_schemaorg/DanceGroup.py index b5f07504..ae3043fe 100644 --- a/pydantic_schemaorg/DanceGroup.py +++ b/pydantic_schemaorg/DanceGroup.py @@ -11,6 +11,5 @@ class DanceGroup(PerformingGroup): See: https://schema.org/DanceGroup Model depth: 4 """ - type_: str = Field("DanceGroup", alias='@type') + type_: str = Field(default="DanceGroup", alias='@type') - diff --git a/pydantic_schemaorg/DataCatalog.py b/pydantic_schemaorg/DataCatalog.py index 0e2c1116..bb8903f0 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("DataCatalog", alias='@type') + type_: str = Field(default="DataCatalog", alias='@type') 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]])," @@ -36,7 +36,6 @@ class DataCatalog(CreativeWork): ) - if TYPE_CHECKING: from pydantic_schemaorg.URL import URL from pydantic_schemaorg.Text import Text diff --git a/pydantic_schemaorg/DataDownload.py b/pydantic_schemaorg/DataDownload.py index 29d69b41..7d264232 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("DataDownload", alias='@type') + type_: str = Field(default="DataDownload", alias='@type') 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 07cbec1c..c4030079 100644 --- a/pydantic_schemaorg/DataFeed.py +++ b/pydantic_schemaorg/DataFeed.py @@ -14,15 +14,14 @@ class DataFeed(Dataset): See: https://schema.org/DataFeed Model depth: 4 """ - type_: str = Field("DataFeed", alias='@type') - dataFeedElement: Optional[Union[List[Union[str, 'Text', 'Thing', 'DataFeedItem']], str, 'Text', 'Thing', 'DataFeedItem']] = Field( + type_: str = Field(default="DataFeed", alias='@type') + dataFeedElement: Optional[Union[List[Union[str, 'Text', 'DataFeedItem', 'Thing']], str, 'Text', 'DataFeedItem', 'Thing']] = Field( default=None, description="An item within in a data feed. Data feeds may have many elements.", ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text - from pydantic_schemaorg.Thing import Thing from pydantic_schemaorg.DataFeedItem import DataFeedItem + from pydantic_schemaorg.Thing import Thing diff --git a/pydantic_schemaorg/DataFeedItem.py b/pydantic_schemaorg/DataFeedItem.py index 8b40d424..35b3b026 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("DataFeedItem", alias='@type') + type_: str = Field(default="DataFeedItem", alias='@type') 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.", @@ -35,7 +35,6 @@ class DataFeedItem(Intangible): ) - if TYPE_CHECKING: from pydantic_schemaorg.DateTime import DateTime from pydantic_schemaorg.Date import Date diff --git a/pydantic_schemaorg/DataType.py b/pydantic_schemaorg/DataType.py index 07184f03..0adb1385 100644 --- a/pydantic_schemaorg/DataType.py +++ b/pydantic_schemaorg/DataType.py @@ -11,6 +11,6 @@ class DataType(Class): See: https://schema.org/DataType Model depth: 4 """ - type_: str = Field("DataType", alias='@type') + type_: str = Field(default="DataType", alias='@type') diff --git a/pydantic_schemaorg/Dataset.py b/pydantic_schemaorg/Dataset.py index cbcd562b..0069c451 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("Dataset", alias='@type') + type_: str = Field(default="Dataset", alias='@type') 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'," @@ -67,7 +67,6 @@ class Dataset(CreativeWork): ) - if TYPE_CHECKING: from pydantic_schemaorg.DataCatalog import DataCatalog from pydantic_schemaorg.DateTime import DateTime diff --git a/pydantic_schemaorg/Date.py b/pydantic_schemaorg/Date.py index 5697d4d2..9ebc572d 100644 --- a/pydantic_schemaorg/Date.py +++ b/pydantic_schemaorg/Date.py @@ -11,6 +11,5 @@ class Date(DataType): See: https://schema.org/Date Model depth: 5 """ - type_: str = Field("Date", alias='@type') + type_: str = Field(default="Date", alias='@type') - diff --git a/pydantic_schemaorg/DateTime.py b/pydantic_schemaorg/DateTime.py index 3e736cd1..00260807 100644 --- a/pydantic_schemaorg/DateTime.py +++ b/pydantic_schemaorg/DateTime.py @@ -12,6 +12,5 @@ class DateTime(DataType): See: https://schema.org/DateTime Model depth: 5 """ - type_: str = Field("DateTime", alias='@type') + type_: str = Field(default="DateTime", alias='@type') - diff --git a/pydantic_schemaorg/DatedMoneySpecification.py b/pydantic_schemaorg/DatedMoneySpecification.py index 2ab479ed..15faa989 100644 --- a/pydantic_schemaorg/DatedMoneySpecification.py +++ b/pydantic_schemaorg/DatedMoneySpecification.py @@ -19,7 +19,7 @@ class DatedMoneySpecification(StructuredValue): See: https://schema.org/DatedMoneySpecification Model depth: 4 """ - type_: str = Field("DatedMoneySpecification", alias='@type') + type_: str = Field(default="DatedMoneySpecification", alias='@type') amount: Optional[Union[List[Union[Decimal, 'Number', 'MonetaryAmount', str]], Decimal, 'Number', 'MonetaryAmount', str]] = Field( default=None, description="The amount of money.", @@ -42,7 +42,6 @@ class DatedMoneySpecification(StructuredValue): ) - if TYPE_CHECKING: from pydantic_schemaorg.Number import Number from pydantic_schemaorg.MonetaryAmount import MonetaryAmount diff --git a/pydantic_schemaorg/DayOfWeek.py b/pydantic_schemaorg/DayOfWeek.py index 9e3fe490..6d53a11d 100644 --- a/pydantic_schemaorg/DayOfWeek.py +++ b/pydantic_schemaorg/DayOfWeek.py @@ -15,6 +15,6 @@ class DayOfWeek(Enumeration): See: https://schema.org/DayOfWeek Model depth: 4 """ - type_: str = Field("DayOfWeek", alias='@type') + type_: str = Field(default="DayOfWeek", alias='@type') diff --git a/pydantic_schemaorg/DaySpa.py b/pydantic_schemaorg/DaySpa.py index 5729774b..c1869d38 100644 --- a/pydantic_schemaorg/DaySpa.py +++ b/pydantic_schemaorg/DaySpa.py @@ -11,6 +11,6 @@ class DaySpa(HealthAndBeautyBusiness): See: https://schema.org/DaySpa Model depth: 5 """ - type_: str = Field("DaySpa", alias='@type') + type_: str = Field(default="DaySpa", alias='@type') diff --git a/pydantic_schemaorg/DeactivateAction.py b/pydantic_schemaorg/DeactivateAction.py index d3d1e391..243a6ba1 100644 --- a/pydantic_schemaorg/DeactivateAction.py +++ b/pydantic_schemaorg/DeactivateAction.py @@ -12,6 +12,6 @@ class DeactivateAction(ControlAction): See: https://schema.org/DeactivateAction Model depth: 4 """ - type_: str = Field("DeactivateAction", alias='@type') + type_: str = Field(default="DeactivateAction", alias='@type') diff --git a/pydantic_schemaorg/DecontextualizedContent.py b/pydantic_schemaorg/DecontextualizedContent.py index a343e61b..a30d9c74 100644 --- a/pydantic_schemaorg/DecontextualizedContent.py +++ b/pydantic_schemaorg/DecontextualizedContent.py @@ -26,6 +26,5 @@ class DecontextualizedContent(MediaManipulationRatingEnumeration): See: https://schema.org/DecontextualizedContent Model depth: 5 """ - type_: str = Field("DecontextualizedContent", alias='@type') + type_: str = Field(default="DecontextualizedContent", alias='@type') - diff --git a/pydantic_schemaorg/DefenceEstablishment.py b/pydantic_schemaorg/DefenceEstablishment.py index 9ce3f359..974257e7 100644 --- a/pydantic_schemaorg/DefenceEstablishment.py +++ b/pydantic_schemaorg/DefenceEstablishment.py @@ -11,6 +11,5 @@ class DefenceEstablishment(GovernmentBuilding): See: https://schema.org/DefenceEstablishment Model depth: 5 """ - type_: str = Field("DefenceEstablishment", alias='@type') + type_: str = Field(default="DefenceEstablishment", alias='@type') - diff --git a/pydantic_schemaorg/DefinedRegion.py b/pydantic_schemaorg/DefinedRegion.py index 1ebbcbeb..de35beb0 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("DefinedRegion", alias='@type') + type_: str = Field(default="DefinedRegion", alias='@type') 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 b4e3bcce..f89cb523 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("DefinedTerm", alias='@type') + type_: str = Field(default="DefinedTerm", alias='@type') 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 3ab1a8a4..0426f0b9 100644 --- a/pydantic_schemaorg/DefinedTermSet.py +++ b/pydantic_schemaorg/DefinedTermSet.py @@ -15,13 +15,12 @@ class DefinedTermSet(CreativeWork): See: https://schema.org/DefinedTermSet Model depth: 3 """ - type_: str = Field("DefinedTermSet", alias='@type') + type_: str = Field(default="DefinedTermSet", alias='@type') hasDefinedTerm: Optional[Union[List[Union['DefinedTerm', str]], 'DefinedTerm', str]] = Field( default=None, description="A Defined Term contained in this term set.", ) - if TYPE_CHECKING: from pydantic_schemaorg.DefinedTerm import DefinedTerm diff --git a/pydantic_schemaorg/DefinitiveLegalValue.py b/pydantic_schemaorg/DefinitiveLegalValue.py index 157470bb..5affa1cd 100644 --- a/pydantic_schemaorg/DefinitiveLegalValue.py +++ b/pydantic_schemaorg/DefinitiveLegalValue.py @@ -13,6 +13,5 @@ class DefinitiveLegalValue(LegalValueLevel): See: https://schema.org/DefinitiveLegalValue Model depth: 5 """ - type_: str = Field("DefinitiveLegalValue", alias='@type') + type_: str = Field(default="DefinitiveLegalValue", alias='@type') - diff --git a/pydantic_schemaorg/DeleteAction.py b/pydantic_schemaorg/DeleteAction.py index ff89dfa5..0868a797 100644 --- a/pydantic_schemaorg/DeleteAction.py +++ b/pydantic_schemaorg/DeleteAction.py @@ -11,6 +11,5 @@ class DeleteAction(UpdateAction): See: https://schema.org/DeleteAction Model depth: 4 """ - type_: str = Field("DeleteAction", alias='@type') + type_: str = Field(default="DeleteAction", alias='@type') - diff --git a/pydantic_schemaorg/DeliveryChargeSpecification.py b/pydantic_schemaorg/DeliveryChargeSpecification.py index 41a20974..d353879f 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("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') + 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" @@ -38,10 +38,9 @@ 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 f2001233..e79b5485 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("DeliveryEvent", alias='@type') + type_: str = Field(default="DeliveryEvent", alias='@type') 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).", @@ -34,7 +34,6 @@ class DeliveryEvent(Event): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text from pydantic_schemaorg.DateTime import DateTime diff --git a/pydantic_schemaorg/DeliveryMethod.py b/pydantic_schemaorg/DeliveryMethod.py index cef5599d..4fa13b01 100644 --- a/pydantic_schemaorg/DeliveryMethod.py +++ b/pydantic_schemaorg/DeliveryMethod.py @@ -18,6 +18,6 @@ class DeliveryMethod(Enumeration): See: https://schema.org/DeliveryMethod Model depth: 4 """ - type_: str = Field("DeliveryMethod", alias='@type') + type_: str = Field(default="DeliveryMethod", alias='@type') diff --git a/pydantic_schemaorg/DeliveryTimeSettings.py b/pydantic_schemaorg/DeliveryTimeSettings.py index 256031ce..54b0e9ea 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("DeliveryTimeSettings", alias='@type') + type_: str = Field(default="DeliveryTimeSettings", alias='@type') shippingDestination: Optional[Union[List[Union['DefinedRegion', str]], 'DefinedRegion', str]] = Field( default=None, description="indicates (possibly multiple) shipping destinations. These can be defined in several" @@ -44,7 +44,6 @@ class DeliveryTimeSettings(StructuredValue): ) - if TYPE_CHECKING: from pydantic_schemaorg.DefinedRegion import DefinedRegion from pydantic_schemaorg.Boolean import Boolean diff --git a/pydantic_schemaorg/Demand.py b/pydantic_schemaorg/Demand.py index 412d9ded..f194d72a 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("Demand", alias='@type') + type_: str = Field(default="Demand", alias='@type') 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.", ) @@ -83,13 +83,13 @@ class Demand(Intangible): 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['CreativeWork', 'Trip', 'Event', 'Product', 'Service', 'MenuItem', 'AggregateOffer', str]], 'CreativeWork', 'Trip', 'Event', 'Product', 'Service', 'MenuItem', 'AggregateOffer', str]] = Field( + itemOffered: Optional[Union[List[Union['Event', 'AggregateOffer', 'Product', 'MenuItem', 'Service', 'CreativeWork', 'Trip', str]], 'Event', 'AggregateOffer', 'Product', 'MenuItem', 'Service', 'CreativeWork', 'Trip', 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" @@ -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" @@ -199,9 +199,9 @@ 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 @@ -213,14 +213,14 @@ class Demand(Intangible): from pydantic_schemaorg.DateTime import DateTime from pydantic_schemaorg.Date import Date from pydantic_schemaorg.Time import Time - 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.CreativeWork import CreativeWork - from pydantic_schemaorg.Trip import Trip from pydantic_schemaorg.Event import Event + from pydantic_schemaorg.AggregateOffer import AggregateOffer from pydantic_schemaorg.Product import Product - from pydantic_schemaorg.Service import Service from pydantic_schemaorg.MenuItem import MenuItem - from pydantic_schemaorg.AggregateOffer import AggregateOffer + from pydantic_schemaorg.Service import Service + from pydantic_schemaorg.CreativeWork import CreativeWork + from pydantic_schemaorg.Trip import Trip from pydantic_schemaorg.OfferItemCondition import OfferItemCondition diff --git a/pydantic_schemaorg/DemoAlbum.py b/pydantic_schemaorg/DemoAlbum.py index 570280b3..39fbe520 100644 --- a/pydantic_schemaorg/DemoAlbum.py +++ b/pydantic_schemaorg/DemoAlbum.py @@ -11,6 +11,5 @@ class DemoAlbum(MusicAlbumProductionType): See: https://schema.org/DemoAlbum Model depth: 5 """ - type_: str = Field("DemoAlbum", alias='@type') + type_: str = Field(default="DemoAlbum", alias='@type') - diff --git a/pydantic_schemaorg/Dentist.py b/pydantic_schemaorg/Dentist.py index 114b275f..86013a16 100644 --- a/pydantic_schemaorg/Dentist.py +++ b/pydantic_schemaorg/Dentist.py @@ -3,16 +3,16 @@ from pydantic import Field from pydantic_schemaorg.MedicalBusiness import MedicalBusiness -from pydantic_schemaorg.MedicalOrganization import MedicalOrganization from pydantic_schemaorg.LocalBusiness import LocalBusiness +from pydantic_schemaorg.MedicalOrganization import MedicalOrganization -class Dentist(MedicalBusiness, MedicalOrganization, LocalBusiness): +class Dentist(MedicalBusiness, LocalBusiness, MedicalOrganization): """A dentist. See: https://schema.org/Dentist Model depth: 4 """ - type_: str = Field("Dentist", alias='@type') + type_: str = Field(default="Dentist", alias='@type') diff --git a/pydantic_schemaorg/Dentistry.py b/pydantic_schemaorg/Dentistry.py index 7d050c37..548fee2f 100644 --- a/pydantic_schemaorg/Dentistry.py +++ b/pydantic_schemaorg/Dentistry.py @@ -11,6 +11,5 @@ class Dentistry(MedicalSpecialty): See: https://schema.org/Dentistry Model depth: 6 """ - type_: str = Field("Dentistry", alias='@type') + type_: str = Field(default="Dentistry", alias='@type') - diff --git a/pydantic_schemaorg/DepartAction.py b/pydantic_schemaorg/DepartAction.py index 2b34571d..71a9cc70 100644 --- a/pydantic_schemaorg/DepartAction.py +++ b/pydantic_schemaorg/DepartAction.py @@ -12,6 +12,5 @@ class DepartAction(MoveAction): See: https://schema.org/DepartAction Model depth: 4 """ - type_: str = Field("DepartAction", alias='@type') + type_: str = Field(default="DepartAction", alias='@type') - diff --git a/pydantic_schemaorg/DepartmentStore.py b/pydantic_schemaorg/DepartmentStore.py index 0dc35a74..aab29fcb 100644 --- a/pydantic_schemaorg/DepartmentStore.py +++ b/pydantic_schemaorg/DepartmentStore.py @@ -11,6 +11,5 @@ class DepartmentStore(Store): See: https://schema.org/DepartmentStore Model depth: 5 """ - type_: str = Field("DepartmentStore", alias='@type') + type_: str = Field(default="DepartmentStore", alias='@type') - diff --git a/pydantic_schemaorg/DepositAccount.py b/pydantic_schemaorg/DepositAccount.py index d7ab955e..b8f7a5a6 100644 --- a/pydantic_schemaorg/DepositAccount.py +++ b/pydantic_schemaorg/DepositAccount.py @@ -13,6 +13,5 @@ class DepositAccount(InvestmentOrDeposit, BankAccount): See: https://schema.org/DepositAccount Model depth: 6 """ - type_: str = Field("DepositAccount", alias='@type') + type_: str = Field(default="DepositAccount", alias='@type') - diff --git a/pydantic_schemaorg/Dermatologic.py b/pydantic_schemaorg/Dermatologic.py index 88ee3657..0707b8a3 100644 --- a/pydantic_schemaorg/Dermatologic.py +++ b/pydantic_schemaorg/Dermatologic.py @@ -11,6 +11,5 @@ class Dermatologic(MedicalSpecialty): See: https://schema.org/Dermatologic Model depth: 6 """ - type_: str = Field("Dermatologic", alias='@type') + type_: str = Field(default="Dermatologic", alias='@type') - diff --git a/pydantic_schemaorg/Dermatology.py b/pydantic_schemaorg/Dermatology.py index 584db72f..d7148fac 100644 --- a/pydantic_schemaorg/Dermatology.py +++ b/pydantic_schemaorg/Dermatology.py @@ -13,6 +13,5 @@ class Dermatology(MedicalSpecialty, MedicalBusiness): See: https://schema.org/Dermatology Model depth: 5 """ - type_: str = Field("Dermatology", alias='@type') + type_: str = Field(default="Dermatology", alias='@type') - diff --git a/pydantic_schemaorg/DiabeticDiet.py b/pydantic_schemaorg/DiabeticDiet.py index dfac3df8..f60069c1 100644 --- a/pydantic_schemaorg/DiabeticDiet.py +++ b/pydantic_schemaorg/DiabeticDiet.py @@ -11,6 +11,6 @@ class DiabeticDiet(RestrictedDiet): See: https://schema.org/DiabeticDiet Model depth: 5 """ - type_: str = Field("DiabeticDiet", alias='@type') + type_: str = Field(default="DiabeticDiet", alias='@type') diff --git a/pydantic_schemaorg/Diagnostic.py b/pydantic_schemaorg/Diagnostic.py index ff5adbdb..ecdc2c72 100644 --- a/pydantic_schemaorg/Diagnostic.py +++ b/pydantic_schemaorg/Diagnostic.py @@ -11,6 +11,6 @@ class Diagnostic(MedicalDevicePurpose): See: https://schema.org/Diagnostic Model depth: 6 """ - type_: str = Field("Diagnostic", alias='@type') + type_: str = Field(default="Diagnostic", alias='@type') diff --git a/pydantic_schemaorg/DiagnosticLab.py b/pydantic_schemaorg/DiagnosticLab.py index 9b78ce16..91bf0e35 100644 --- a/pydantic_schemaorg/DiagnosticLab.py +++ b/pydantic_schemaorg/DiagnosticLab.py @@ -14,13 +14,12 @@ class DiagnosticLab(MedicalOrganization): See: https://schema.org/DiagnosticLab Model depth: 4 """ - type_: str = Field("DiagnosticLab", alias='@type') + type_: str = Field(default="DiagnosticLab", alias='@type') availableTest: Optional[Union[List[Union['MedicalTest', str]], 'MedicalTest', str]] = Field( default=None, description="A diagnostic test or procedure offered by this lab.", ) - if TYPE_CHECKING: from pydantic_schemaorg.MedicalTest import MedicalTest diff --git a/pydantic_schemaorg/DiagnosticProcedure.py b/pydantic_schemaorg/DiagnosticProcedure.py index e0a4962b..7042bfc8 100644 --- a/pydantic_schemaorg/DiagnosticProcedure.py +++ b/pydantic_schemaorg/DiagnosticProcedure.py @@ -12,6 +12,5 @@ class DiagnosticProcedure(MedicalProcedure): See: https://schema.org/DiagnosticProcedure Model depth: 4 """ - type_: str = Field("DiagnosticProcedure", alias='@type') + type_: str = Field(default="DiagnosticProcedure", alias='@type') - diff --git a/pydantic_schemaorg/Diet.py b/pydantic_schemaorg/Diet.py index a83d13fa..c48a44ce 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("Diet", alias='@type') + type_: str = Field(default="Diet", alias='@type') 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.", ) @@ -41,8 +41,7 @@ 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 4c0383fe..85dbc10a 100644 --- a/pydantic_schemaorg/DietNutrition.py +++ b/pydantic_schemaorg/DietNutrition.py @@ -12,6 +12,6 @@ class DietNutrition(MedicalSpecialty, MedicalBusiness): See: https://schema.org/DietNutrition Model depth: 5 """ - type_: str = Field("DietNutrition", alias='@type') + type_: str = Field(default="DietNutrition", alias='@type') diff --git a/pydantic_schemaorg/DietarySupplement.py b/pydantic_schemaorg/DietarySupplement.py index 07d12adc..ccae3452 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("DietarySupplement", alias='@type') + type_: str = Field(default="DietarySupplement", alias='@type') safetyConsideration: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="Any potential safety concern associated with the supplement. May include interactions" @@ -71,7 +71,6 @@ class DietarySupplement(Substance): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text from pydantic_schemaorg.RecommendedDoseSchedule import RecommendedDoseSchedule diff --git a/pydantic_schemaorg/DigitalAudioTapeFormat.py b/pydantic_schemaorg/DigitalAudioTapeFormat.py index 886f1ecf..4a11d3bf 100644 --- a/pydantic_schemaorg/DigitalAudioTapeFormat.py +++ b/pydantic_schemaorg/DigitalAudioTapeFormat.py @@ -11,6 +11,6 @@ class DigitalAudioTapeFormat(MusicReleaseFormatType): See: https://schema.org/DigitalAudioTapeFormat Model depth: 5 """ - type_: str = Field("DigitalAudioTapeFormat", alias='@type') + type_: str = Field(default="DigitalAudioTapeFormat", alias='@type') diff --git a/pydantic_schemaorg/DigitalDocument.py b/pydantic_schemaorg/DigitalDocument.py index 090c6dba..7dd2368d 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("DigitalDocument", alias='@type') + type_: str = Field(default="DigitalDocument", alias='@type') 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 c4829d9a..29850037 100644 --- a/pydantic_schemaorg/DigitalDocumentPermission.py +++ b/pydantic_schemaorg/DigitalDocumentPermission.py @@ -14,21 +14,20 @@ class DigitalDocumentPermission(Intangible): See: https://schema.org/DigitalDocumentPermission Model depth: 3 """ - type_: str = Field("DigitalDocumentPermission", alias='@type') + type_: str = Field(default="DigitalDocumentPermission", alias='@type') 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', 'Organization', 'Audience', 'ContactPoint', str]], 'Person', 'Organization', 'Audience', 'ContactPoint', str]] = Field( + grantee: Optional[Union[List[Union['Audience', 'ContactPoint', 'Organization', 'Person', str]], 'Audience', 'ContactPoint', 'Organization', 'Person', str]] = Field( default=None, description="The person, organization, contact point, or audience that has been granted this permission.", ) - if TYPE_CHECKING: from pydantic_schemaorg.DigitalDocumentPermissionType import DigitalDocumentPermissionType - from pydantic_schemaorg.Person import Person - from pydantic_schemaorg.Organization import Organization from pydantic_schemaorg.Audience import Audience from pydantic_schemaorg.ContactPoint import ContactPoint + from pydantic_schemaorg.Organization import Organization + from pydantic_schemaorg.Person import Person diff --git a/pydantic_schemaorg/DigitalDocumentPermissionType.py b/pydantic_schemaorg/DigitalDocumentPermissionType.py index 739da06d..3aaf647b 100644 --- a/pydantic_schemaorg/DigitalDocumentPermissionType.py +++ b/pydantic_schemaorg/DigitalDocumentPermissionType.py @@ -11,6 +11,6 @@ class DigitalDocumentPermissionType(Enumeration): See: https://schema.org/DigitalDocumentPermissionType Model depth: 4 """ - type_: str = Field("DigitalDocumentPermissionType", alias='@type') + type_: str = Field(default="DigitalDocumentPermissionType", alias='@type') diff --git a/pydantic_schemaorg/DigitalFormat.py b/pydantic_schemaorg/DigitalFormat.py index 9e068fe8..e263f794 100644 --- a/pydantic_schemaorg/DigitalFormat.py +++ b/pydantic_schemaorg/DigitalFormat.py @@ -11,6 +11,5 @@ class DigitalFormat(MusicReleaseFormatType): See: https://schema.org/DigitalFormat Model depth: 5 """ - type_: str = Field("DigitalFormat", alias='@type') + type_: str = Field(default="DigitalFormat", alias='@type') - diff --git a/pydantic_schemaorg/DisabilitySupport.py b/pydantic_schemaorg/DisabilitySupport.py index e666cad8..780ebcee 100644 --- a/pydantic_schemaorg/DisabilitySupport.py +++ b/pydantic_schemaorg/DisabilitySupport.py @@ -11,6 +11,5 @@ class DisabilitySupport(GovernmentBenefitsType): See: https://schema.org/DisabilitySupport Model depth: 5 """ - type_: str = Field("DisabilitySupport", alias='@type') + type_: str = Field(default="DisabilitySupport", alias='@type') - diff --git a/pydantic_schemaorg/DisagreeAction.py b/pydantic_schemaorg/DisagreeAction.py index 4519034e..1b739d94 100644 --- a/pydantic_schemaorg/DisagreeAction.py +++ b/pydantic_schemaorg/DisagreeAction.py @@ -12,6 +12,5 @@ class DisagreeAction(ReactAction): See: https://schema.org/DisagreeAction Model depth: 5 """ - type_: str = Field("DisagreeAction", alias='@type') + type_: str = Field(default="DisagreeAction", alias='@type') - diff --git a/pydantic_schemaorg/Discontinued.py b/pydantic_schemaorg/Discontinued.py index e26ac449..9806627f 100644 --- a/pydantic_schemaorg/Discontinued.py +++ b/pydantic_schemaorg/Discontinued.py @@ -11,6 +11,5 @@ class Discontinued(ItemAvailability): See: https://schema.org/Discontinued Model depth: 5 """ - type_: str = Field("Discontinued", alias='@type') + type_: str = Field(default="Discontinued", alias='@type') - diff --git a/pydantic_schemaorg/DiscoverAction.py b/pydantic_schemaorg/DiscoverAction.py index 65ee8aa0..f59fe8a1 100644 --- a/pydantic_schemaorg/DiscoverAction.py +++ b/pydantic_schemaorg/DiscoverAction.py @@ -11,6 +11,6 @@ class DiscoverAction(FindAction): See: https://schema.org/DiscoverAction Model depth: 4 """ - type_: str = Field("DiscoverAction", alias='@type') + type_: str = Field(default="DiscoverAction", alias='@type') diff --git a/pydantic_schemaorg/DiscussionForumPosting.py b/pydantic_schemaorg/DiscussionForumPosting.py index 1de68493..900f3c5a 100644 --- a/pydantic_schemaorg/DiscussionForumPosting.py +++ b/pydantic_schemaorg/DiscussionForumPosting.py @@ -11,6 +11,5 @@ class DiscussionForumPosting(SocialMediaPosting): See: https://schema.org/DiscussionForumPosting Model depth: 5 """ - type_: str = Field("DiscussionForumPosting", alias='@type') + type_: str = Field(default="DiscussionForumPosting", alias='@type') - diff --git a/pydantic_schemaorg/DislikeAction.py b/pydantic_schemaorg/DislikeAction.py index d0170432..f393780c 100644 --- a/pydantic_schemaorg/DislikeAction.py +++ b/pydantic_schemaorg/DislikeAction.py @@ -12,6 +12,5 @@ class DislikeAction(ReactAction): See: https://schema.org/DislikeAction Model depth: 5 """ - type_: str = Field("DislikeAction", alias='@type') + type_: str = Field(default="DislikeAction", alias='@type') - diff --git a/pydantic_schemaorg/Distance.py b/pydantic_schemaorg/Distance.py index 69092236..164a8563 100644 --- a/pydantic_schemaorg/Distance.py +++ b/pydantic_schemaorg/Distance.py @@ -12,6 +12,5 @@ class Distance(Quantity): See: https://schema.org/Distance Model depth: 4 """ - type_: str = Field("Distance", alias='@type') + type_: str = Field(default="Distance", alias='@type') - diff --git a/pydantic_schemaorg/DistanceFee.py b/pydantic_schemaorg/DistanceFee.py index d9919275..963420e5 100644 --- a/pydantic_schemaorg/DistanceFee.py +++ b/pydantic_schemaorg/DistanceFee.py @@ -12,6 +12,6 @@ class DistanceFee(PriceComponentTypeEnumeration): See: https://schema.org/DistanceFee Model depth: 5 """ - type_: str = Field("DistanceFee", alias='@type') + type_: str = Field(default="DistanceFee", alias='@type') diff --git a/pydantic_schemaorg/Distillery.py b/pydantic_schemaorg/Distillery.py index bc44f3ec..aff92ad7 100644 --- a/pydantic_schemaorg/Distillery.py +++ b/pydantic_schemaorg/Distillery.py @@ -11,6 +11,5 @@ class Distillery(FoodEstablishment): See: https://schema.org/Distillery Model depth: 5 """ - type_: str = Field("Distillery", alias='@type') + type_: str = Field(default="Distillery", alias='@type') - diff --git a/pydantic_schemaorg/DonateAction.py b/pydantic_schemaorg/DonateAction.py index 8f2b83ba..962e31d7 100644 --- a/pydantic_schemaorg/DonateAction.py +++ b/pydantic_schemaorg/DonateAction.py @@ -15,16 +15,15 @@ class DonateAction(TradeAction): See: https://schema.org/DonateAction Model depth: 4 """ - type_: str = Field("DonateAction", alias='@type') - recipient: Optional[Union[List[Union['Person', 'Organization', 'Audience', 'ContactPoint', str]], 'Person', 'Organization', 'Audience', 'ContactPoint', str]] = Field( + type_: str = Field(default="DonateAction", alias='@type') + recipient: Optional[Union[List[Union['Audience', 'ContactPoint', 'Organization', 'Person', str]], 'Audience', 'ContactPoint', '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.Organization import Organization from pydantic_schemaorg.Audience import Audience from pydantic_schemaorg.ContactPoint import ContactPoint + from pydantic_schemaorg.Organization import Organization + from pydantic_schemaorg.Person import Person diff --git a/pydantic_schemaorg/DoseSchedule.py b/pydantic_schemaorg/DoseSchedule.py index e203bc13..f5b82f3b 100644 --- a/pydantic_schemaorg/DoseSchedule.py +++ b/pydantic_schemaorg/DoseSchedule.py @@ -15,7 +15,7 @@ class DoseSchedule(MedicalIntangible): See: https://schema.org/DoseSchedule Model depth: 4 """ - type_: str = Field("DoseSchedule", alias='@type') + type_: str = Field(default="DoseSchedule", alias='@type') 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" diff --git a/pydantic_schemaorg/DoubleBlindedTrial.py b/pydantic_schemaorg/DoubleBlindedTrial.py index a667197f..f5c345c9 100644 --- a/pydantic_schemaorg/DoubleBlindedTrial.py +++ b/pydantic_schemaorg/DoubleBlindedTrial.py @@ -12,6 +12,5 @@ class DoubleBlindedTrial(MedicalTrialDesign): See: https://schema.org/DoubleBlindedTrial Model depth: 6 """ - type_: str = Field("DoubleBlindedTrial", alias='@type') + type_: str = Field(default="DoubleBlindedTrial", alias='@type') - diff --git a/pydantic_schemaorg/DownloadAction.py b/pydantic_schemaorg/DownloadAction.py index b3f874cc..9ec5498f 100644 --- a/pydantic_schemaorg/DownloadAction.py +++ b/pydantic_schemaorg/DownloadAction.py @@ -11,6 +11,5 @@ class DownloadAction(TransferAction): See: https://schema.org/DownloadAction Model depth: 4 """ - type_: str = Field("DownloadAction", alias='@type') + type_: str = Field(default="DownloadAction", alias='@type') - diff --git a/pydantic_schemaorg/Downpayment.py b/pydantic_schemaorg/Downpayment.py index 49b101a4..a237a697 100644 --- a/pydantic_schemaorg/Downpayment.py +++ b/pydantic_schemaorg/Downpayment.py @@ -12,6 +12,5 @@ class Downpayment(PriceComponentTypeEnumeration): See: https://schema.org/Downpayment Model depth: 5 """ - type_: str = Field("Downpayment", alias='@type') + type_: str = Field(default="Downpayment", alias='@type') - diff --git a/pydantic_schemaorg/DrawAction.py b/pydantic_schemaorg/DrawAction.py index a2a98088..f5b3d64a 100644 --- a/pydantic_schemaorg/DrawAction.py +++ b/pydantic_schemaorg/DrawAction.py @@ -12,6 +12,5 @@ class DrawAction(CreateAction): See: https://schema.org/DrawAction Model depth: 4 """ - type_: str = Field("DrawAction", alias='@type') + type_: str = Field(default="DrawAction", alias='@type') - diff --git a/pydantic_schemaorg/Drawing.py b/pydantic_schemaorg/Drawing.py index 095b2b51..b33b6da6 100644 --- a/pydantic_schemaorg/Drawing.py +++ b/pydantic_schemaorg/Drawing.py @@ -11,6 +11,5 @@ class Drawing(CreativeWork): See: https://schema.org/Drawing Model depth: 3 """ - type_: str = Field("Drawing", alias='@type') + type_: str = Field(default="Drawing", alias='@type') - diff --git a/pydantic_schemaorg/DrinkAction.py b/pydantic_schemaorg/DrinkAction.py index 1298ce26..3f163dea 100644 --- a/pydantic_schemaorg/DrinkAction.py +++ b/pydantic_schemaorg/DrinkAction.py @@ -11,6 +11,5 @@ class DrinkAction(ConsumeAction): See: https://schema.org/DrinkAction Model depth: 4 """ - type_: str = Field("DrinkAction", alias='@type') + type_: str = Field(default="DrinkAction", alias='@type') - diff --git a/pydantic_schemaorg/DriveWheelConfigurationValue.py b/pydantic_schemaorg/DriveWheelConfigurationValue.py index c271a299..fdc17339 100644 --- a/pydantic_schemaorg/DriveWheelConfigurationValue.py +++ b/pydantic_schemaorg/DriveWheelConfigurationValue.py @@ -11,6 +11,5 @@ class DriveWheelConfigurationValue(QualitativeValue): See: https://schema.org/DriveWheelConfigurationValue Model depth: 5 """ - type_: str = Field("DriveWheelConfigurationValue", alias='@type') + type_: str = Field(default="DriveWheelConfigurationValue", alias='@type') - diff --git a/pydantic_schemaorg/DrivingSchoolVehicleUsage.py b/pydantic_schemaorg/DrivingSchoolVehicleUsage.py index 3174b2ec..9e99566e 100644 --- a/pydantic_schemaorg/DrivingSchoolVehicleUsage.py +++ b/pydantic_schemaorg/DrivingSchoolVehicleUsage.py @@ -11,6 +11,6 @@ class DrivingSchoolVehicleUsage(CarUsageType): See: https://schema.org/DrivingSchoolVehicleUsage Model depth: 5 """ - type_: str = Field("DrivingSchoolVehicleUsage", alias='@type') + type_: str = Field(default="DrivingSchoolVehicleUsage", alias='@type') diff --git a/pydantic_schemaorg/Drug.py b/pydantic_schemaorg/Drug.py index 5ef1bbed..06493253 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("Drug", alias='@type') + type_: str = Field(default="Drug", alias='@type') prescribingInfo: Optional[Union[List[Union[AnyUrl, 'URL', str]], AnyUrl, 'URL', str]] = Field( default=None, description="Link to prescribing information for the drug.", @@ -159,7 +159,6 @@ class Drug(Substance): ) - if TYPE_CHECKING: from pydantic_schemaorg.URL import URL from pydantic_schemaorg.Text import Text diff --git a/pydantic_schemaorg/DrugClass.py b/pydantic_schemaorg/DrugClass.py index 8788c6a7..acc60642 100644 --- a/pydantic_schemaorg/DrugClass.py +++ b/pydantic_schemaorg/DrugClass.py @@ -15,13 +15,12 @@ class DrugClass(MedicalEntity): See: https://schema.org/DrugClass Model depth: 3 """ - type_: str = Field("DrugClass", alias='@type') + type_: str = Field(default="DrugClass", alias='@type') drug: Optional[Union[List[Union['Drug', str]], 'Drug', str]] = Field( default=None, description="Specifying a drug or medicine used in a medication procedure.", ) - if TYPE_CHECKING: from pydantic_schemaorg.Drug import Drug diff --git a/pydantic_schemaorg/DrugCost.py b/pydantic_schemaorg/DrugCost.py index 1d4f040d..83108926 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("DrugCost", alias='@type') + type_: str = Field(default="DrugCost", alias='@type') costCategory: Optional[Union[List[Union['DrugCostCategory', str]], 'DrugCostCategory', str]] = Field( default=None, description="The category of cost, such as wholesale, retail, reimbursement cap, etc.", diff --git a/pydantic_schemaorg/DrugCostCategory.py b/pydantic_schemaorg/DrugCostCategory.py index 9fdae0d4..b922511f 100644 --- a/pydantic_schemaorg/DrugCostCategory.py +++ b/pydantic_schemaorg/DrugCostCategory.py @@ -11,6 +11,6 @@ class DrugCostCategory(MedicalEnumeration): See: https://schema.org/DrugCostCategory Model depth: 5 """ - type_: str = Field("DrugCostCategory", alias='@type') + type_: str = Field(default="DrugCostCategory", alias='@type') diff --git a/pydantic_schemaorg/DrugLegalStatus.py b/pydantic_schemaorg/DrugLegalStatus.py index ea87d999..2dd25b64 100644 --- a/pydantic_schemaorg/DrugLegalStatus.py +++ b/pydantic_schemaorg/DrugLegalStatus.py @@ -14,13 +14,12 @@ class DrugLegalStatus(MedicalIntangible): See: https://schema.org/DrugLegalStatus Model depth: 4 """ - type_: str = Field("DrugLegalStatus", alias='@type') + type_: str = Field(default="DrugLegalStatus", alias='@type') applicableLocation: Optional[Union[List[Union['AdministrativeArea', str]], 'AdministrativeArea', str]] = Field( default=None, description="The location in which the status applies.", ) - if TYPE_CHECKING: from pydantic_schemaorg.AdministrativeArea import AdministrativeArea diff --git a/pydantic_schemaorg/DrugPregnancyCategory.py b/pydantic_schemaorg/DrugPregnancyCategory.py index 068b1705..dfb4ac8e 100644 --- a/pydantic_schemaorg/DrugPregnancyCategory.py +++ b/pydantic_schemaorg/DrugPregnancyCategory.py @@ -12,6 +12,6 @@ class DrugPregnancyCategory(MedicalEnumeration): See: https://schema.org/DrugPregnancyCategory Model depth: 5 """ - type_: str = Field("DrugPregnancyCategory", alias='@type') + type_: str = Field(default="DrugPregnancyCategory", alias='@type') diff --git a/pydantic_schemaorg/DrugPrescriptionStatus.py b/pydantic_schemaorg/DrugPrescriptionStatus.py index 6721d998..28273a0e 100644 --- a/pydantic_schemaorg/DrugPrescriptionStatus.py +++ b/pydantic_schemaorg/DrugPrescriptionStatus.py @@ -11,6 +11,5 @@ class DrugPrescriptionStatus(MedicalEnumeration): See: https://schema.org/DrugPrescriptionStatus Model depth: 5 """ - type_: str = Field("DrugPrescriptionStatus", alias='@type') + type_: str = Field(default="DrugPrescriptionStatus", alias='@type') - diff --git a/pydantic_schemaorg/DrugStrength.py b/pydantic_schemaorg/DrugStrength.py index 3096c9b0..45f3a672 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("DrugStrength", alias='@type') + type_: str = Field(default="DrugStrength", alias='@type') activeIngredient: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="An active ingredient, typically chemical compounds and/or biologic substances.", @@ -39,7 +39,6 @@ class DrugStrength(MedicalIntangible): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text from pydantic_schemaorg.AdministrativeArea import AdministrativeArea diff --git a/pydantic_schemaorg/DryCleaningOrLaundry.py b/pydantic_schemaorg/DryCleaningOrLaundry.py index 3fe16a89..032ed1dc 100644 --- a/pydantic_schemaorg/DryCleaningOrLaundry.py +++ b/pydantic_schemaorg/DryCleaningOrLaundry.py @@ -11,6 +11,5 @@ class DryCleaningOrLaundry(LocalBusiness): See: https://schema.org/DryCleaningOrLaundry Model depth: 4 """ - type_: str = Field("DryCleaningOrLaundry", alias='@type') + type_: str = Field(default="DryCleaningOrLaundry", alias='@type') - diff --git a/pydantic_schemaorg/Duration.py b/pydantic_schemaorg/Duration.py index 9d75e8f3..73ab4015 100644 --- a/pydantic_schemaorg/Duration.py +++ b/pydantic_schemaorg/Duration.py @@ -11,6 +11,5 @@ class Duration(Quantity): See: https://schema.org/Duration Model depth: 4 """ - type_: str = Field("Duration", alias='@type') + type_: str = Field(default="Duration", alias='@type') - diff --git a/pydantic_schemaorg/EBook.py b/pydantic_schemaorg/EBook.py index 6d3f4c7d..a327de75 100644 --- a/pydantic_schemaorg/EBook.py +++ b/pydantic_schemaorg/EBook.py @@ -11,6 +11,5 @@ class EBook(BookFormatType): See: https://schema.org/EBook Model depth: 5 """ - type_: str = Field("EBook", alias='@type') + type_: str = Field(default="EBook", alias='@type') - diff --git a/pydantic_schemaorg/EPRelease.py b/pydantic_schemaorg/EPRelease.py index 78a2baaa..a31f0287 100644 --- a/pydantic_schemaorg/EPRelease.py +++ b/pydantic_schemaorg/EPRelease.py @@ -11,6 +11,5 @@ class EPRelease(MusicAlbumReleaseType): See: https://schema.org/EPRelease Model depth: 5 """ - type_: str = Field("EPRelease", alias='@type') + type_: str = Field(default="EPRelease", alias='@type') - diff --git a/pydantic_schemaorg/EUEnergyEfficiencyCategoryA.py b/pydantic_schemaorg/EUEnergyEfficiencyCategoryA.py index a20f7758..2b642796 100644 --- a/pydantic_schemaorg/EUEnergyEfficiencyCategoryA.py +++ b/pydantic_schemaorg/EUEnergyEfficiencyCategoryA.py @@ -11,6 +11,5 @@ class EUEnergyEfficiencyCategoryA(EUEnergyEfficiencyEnumeration): See: https://schema.org/EUEnergyEfficiencyCategoryA Model depth: 6 """ - type_: str = Field("EUEnergyEfficiencyCategoryA", alias='@type') + type_: str = Field(default="EUEnergyEfficiencyCategoryA", alias='@type') - diff --git a/pydantic_schemaorg/EUEnergyEfficiencyCategoryA1Plus.py b/pydantic_schemaorg/EUEnergyEfficiencyCategoryA1Plus.py index 7104c906..02b78c18 100644 --- a/pydantic_schemaorg/EUEnergyEfficiencyCategoryA1Plus.py +++ b/pydantic_schemaorg/EUEnergyEfficiencyCategoryA1Plus.py @@ -11,6 +11,5 @@ class EUEnergyEfficiencyCategoryA1Plus(EUEnergyEfficiencyEnumeration): See: https://schema.org/EUEnergyEfficiencyCategoryA1Plus Model depth: 6 """ - type_: str = Field("EUEnergyEfficiencyCategoryA1Plus", alias='@type') + type_: str = Field(default="EUEnergyEfficiencyCategoryA1Plus", alias='@type') - diff --git a/pydantic_schemaorg/EUEnergyEfficiencyCategoryA2Plus.py b/pydantic_schemaorg/EUEnergyEfficiencyCategoryA2Plus.py index f9fb3102..46673a13 100644 --- a/pydantic_schemaorg/EUEnergyEfficiencyCategoryA2Plus.py +++ b/pydantic_schemaorg/EUEnergyEfficiencyCategoryA2Plus.py @@ -11,6 +11,5 @@ class EUEnergyEfficiencyCategoryA2Plus(EUEnergyEfficiencyEnumeration): See: https://schema.org/EUEnergyEfficiencyCategoryA2Plus Model depth: 6 """ - type_: str = Field("EUEnergyEfficiencyCategoryA2Plus", alias='@type') + type_: str = Field(default="EUEnergyEfficiencyCategoryA2Plus", alias='@type') - diff --git a/pydantic_schemaorg/EUEnergyEfficiencyCategoryA3Plus.py b/pydantic_schemaorg/EUEnergyEfficiencyCategoryA3Plus.py index 458f103a..d3f62633 100644 --- a/pydantic_schemaorg/EUEnergyEfficiencyCategoryA3Plus.py +++ b/pydantic_schemaorg/EUEnergyEfficiencyCategoryA3Plus.py @@ -11,6 +11,5 @@ class EUEnergyEfficiencyCategoryA3Plus(EUEnergyEfficiencyEnumeration): See: https://schema.org/EUEnergyEfficiencyCategoryA3Plus Model depth: 6 """ - type_: str = Field("EUEnergyEfficiencyCategoryA3Plus", alias='@type') + type_: str = Field(default="EUEnergyEfficiencyCategoryA3Plus", alias='@type') - diff --git a/pydantic_schemaorg/EUEnergyEfficiencyCategoryB.py b/pydantic_schemaorg/EUEnergyEfficiencyCategoryB.py index 7bf757ae..3a1482c3 100644 --- a/pydantic_schemaorg/EUEnergyEfficiencyCategoryB.py +++ b/pydantic_schemaorg/EUEnergyEfficiencyCategoryB.py @@ -11,6 +11,5 @@ class EUEnergyEfficiencyCategoryB(EUEnergyEfficiencyEnumeration): See: https://schema.org/EUEnergyEfficiencyCategoryB Model depth: 6 """ - type_: str = Field("EUEnergyEfficiencyCategoryB", alias='@type') + type_: str = Field(default="EUEnergyEfficiencyCategoryB", alias='@type') - diff --git a/pydantic_schemaorg/EUEnergyEfficiencyCategoryC.py b/pydantic_schemaorg/EUEnergyEfficiencyCategoryC.py index 52a43662..4b564ad9 100644 --- a/pydantic_schemaorg/EUEnergyEfficiencyCategoryC.py +++ b/pydantic_schemaorg/EUEnergyEfficiencyCategoryC.py @@ -11,6 +11,5 @@ class EUEnergyEfficiencyCategoryC(EUEnergyEfficiencyEnumeration): See: https://schema.org/EUEnergyEfficiencyCategoryC Model depth: 6 """ - type_: str = Field("EUEnergyEfficiencyCategoryC", alias='@type') + type_: str = Field(default="EUEnergyEfficiencyCategoryC", alias='@type') - diff --git a/pydantic_schemaorg/EUEnergyEfficiencyCategoryD.py b/pydantic_schemaorg/EUEnergyEfficiencyCategoryD.py index 8edd4637..f71bded3 100644 --- a/pydantic_schemaorg/EUEnergyEfficiencyCategoryD.py +++ b/pydantic_schemaorg/EUEnergyEfficiencyCategoryD.py @@ -11,6 +11,5 @@ class EUEnergyEfficiencyCategoryD(EUEnergyEfficiencyEnumeration): See: https://schema.org/EUEnergyEfficiencyCategoryD Model depth: 6 """ - type_: str = Field("EUEnergyEfficiencyCategoryD", alias='@type') + type_: str = Field(default="EUEnergyEfficiencyCategoryD", alias='@type') - diff --git a/pydantic_schemaorg/EUEnergyEfficiencyCategoryE.py b/pydantic_schemaorg/EUEnergyEfficiencyCategoryE.py index 54ff3081..2299d2e7 100644 --- a/pydantic_schemaorg/EUEnergyEfficiencyCategoryE.py +++ b/pydantic_schemaorg/EUEnergyEfficiencyCategoryE.py @@ -11,6 +11,5 @@ class EUEnergyEfficiencyCategoryE(EUEnergyEfficiencyEnumeration): See: https://schema.org/EUEnergyEfficiencyCategoryE Model depth: 6 """ - type_: str = Field("EUEnergyEfficiencyCategoryE", alias='@type') + type_: str = Field(default="EUEnergyEfficiencyCategoryE", alias='@type') - diff --git a/pydantic_schemaorg/EUEnergyEfficiencyCategoryF.py b/pydantic_schemaorg/EUEnergyEfficiencyCategoryF.py index 514c7024..cd24f297 100644 --- a/pydantic_schemaorg/EUEnergyEfficiencyCategoryF.py +++ b/pydantic_schemaorg/EUEnergyEfficiencyCategoryF.py @@ -11,6 +11,5 @@ class EUEnergyEfficiencyCategoryF(EUEnergyEfficiencyEnumeration): See: https://schema.org/EUEnergyEfficiencyCategoryF Model depth: 6 """ - type_: str = Field("EUEnergyEfficiencyCategoryF", alias='@type') + type_: str = Field(default="EUEnergyEfficiencyCategoryF", alias='@type') - diff --git a/pydantic_schemaorg/EUEnergyEfficiencyCategoryG.py b/pydantic_schemaorg/EUEnergyEfficiencyCategoryG.py index b6b2542c..26144907 100644 --- a/pydantic_schemaorg/EUEnergyEfficiencyCategoryG.py +++ b/pydantic_schemaorg/EUEnergyEfficiencyCategoryG.py @@ -11,6 +11,5 @@ class EUEnergyEfficiencyCategoryG(EUEnergyEfficiencyEnumeration): See: https://schema.org/EUEnergyEfficiencyCategoryG Model depth: 6 """ - type_: str = Field("EUEnergyEfficiencyCategoryG", alias='@type') + type_: str = Field(default="EUEnergyEfficiencyCategoryG", alias='@type') - diff --git a/pydantic_schemaorg/EUEnergyEfficiencyEnumeration.py b/pydantic_schemaorg/EUEnergyEfficiencyEnumeration.py index 426f9256..f7adf606 100644 --- a/pydantic_schemaorg/EUEnergyEfficiencyEnumeration.py +++ b/pydantic_schemaorg/EUEnergyEfficiencyEnumeration.py @@ -12,6 +12,6 @@ class EUEnergyEfficiencyEnumeration(EnergyEfficiencyEnumeration): See: https://schema.org/EUEnergyEfficiencyEnumeration Model depth: 5 """ - type_: str = Field("EUEnergyEfficiencyEnumeration", alias='@type') + type_: str = Field(default="EUEnergyEfficiencyEnumeration", alias='@type') diff --git a/pydantic_schemaorg/Ear.py b/pydantic_schemaorg/Ear.py index aba916f6..a22d11b9 100644 --- a/pydantic_schemaorg/Ear.py +++ b/pydantic_schemaorg/Ear.py @@ -11,6 +11,5 @@ class Ear(PhysicalExam): See: https://schema.org/Ear Model depth: 5 """ - type_: str = Field("Ear", alias='@type') + type_: str = Field(default="Ear", alias='@type') - diff --git a/pydantic_schemaorg/EatAction.py b/pydantic_schemaorg/EatAction.py index 4e3028fa..e61491de 100644 --- a/pydantic_schemaorg/EatAction.py +++ b/pydantic_schemaorg/EatAction.py @@ -11,6 +11,5 @@ class EatAction(ConsumeAction): See: https://schema.org/EatAction Model depth: 4 """ - type_: str = Field("EatAction", alias='@type') + type_: str = Field(default="EatAction", alias='@type') - diff --git a/pydantic_schemaorg/EditedOrCroppedContent.py b/pydantic_schemaorg/EditedOrCroppedContent.py index 22340ea3..1ac2cc6d 100644 --- a/pydantic_schemaorg/EditedOrCroppedContent.py +++ b/pydantic_schemaorg/EditedOrCroppedContent.py @@ -21,6 +21,5 @@ class EditedOrCroppedContent(MediaManipulationRatingEnumeration): See: https://schema.org/EditedOrCroppedContent Model depth: 5 """ - type_: str = Field("EditedOrCroppedContent", alias='@type') + type_: str = Field(default="EditedOrCroppedContent", alias='@type') - diff --git a/pydantic_schemaorg/EducationEvent.py b/pydantic_schemaorg/EducationEvent.py index 6b64d360..3ae3fa1b 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("EducationEvent", alias='@type') + type_: str = Field(default="EducationEvent", alias='@type') 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" @@ -34,7 +34,6 @@ class EducationEvent(Event): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text from pydantic_schemaorg.DefinedTerm import DefinedTerm diff --git a/pydantic_schemaorg/EducationalAudience.py b/pydantic_schemaorg/EducationalAudience.py index 3c12f1a7..133b2b76 100644 --- a/pydantic_schemaorg/EducationalAudience.py +++ b/pydantic_schemaorg/EducationalAudience.py @@ -14,13 +14,12 @@ class EducationalAudience(Audience): See: https://schema.org/EducationalAudience Model depth: 4 """ - type_: str = Field("EducationalAudience", alias='@type') + type_: str = Field(default="EducationalAudience", alias='@type') educationalRole: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="An educationalRole of an EducationalAudience.", ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text diff --git a/pydantic_schemaorg/EducationalOccupationalCredential.py b/pydantic_schemaorg/EducationalOccupationalCredential.py index 19a3a886..531a3cfe 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("EducationalOccupationalCredential", alias='@type') + type_: str = Field(default="EducationalOccupationalCredential", alias='@type') validFor: Optional[Union[List[Union['Duration', str]], 'Duration', str]] = Field( default=None, description="The duration of validity of a permit or similar thing.", @@ -50,7 +50,6 @@ class EducationalOccupationalCredential(CreativeWork): ) - if TYPE_CHECKING: from pydantic_schemaorg.Duration import Duration from pydantic_schemaorg.URL import URL diff --git a/pydantic_schemaorg/EducationalOccupationalProgram.py b/pydantic_schemaorg/EducationalOccupationalProgram.py index e922d401..3af1008f 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("EducationalOccupationalProgram", alias='@type') + type_: str = Field(default="EducationalOccupationalProgram", alias='@type') 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['Demand', 'Offer', str]], 'Demand', 'Offer', str]] = Field( + offers: Optional[Union[List[Union['Offer', 'Demand', str]], 'Offer', 'Demand', 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', 'EducationalOccupationalCredential', 'AlignmentObject', 'Course']], str, 'Text', 'EducationalOccupationalCredential', 'AlignmentObject', 'Course']] = Field( + programPrerequisites: Optional[Union[List[Union[str, 'Text', 'Course', 'EducationalOccupationalCredential', 'AlignmentObject']], str, 'Text', 'Course', 'EducationalOccupationalCredential', 'AlignmentObject']] = Field( default=None, description="Prerequisites for enrolling in the program.", ) @@ -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." @@ -149,24 +149,23 @@ class EducationalOccupationalProgram(Intangible): ) - if TYPE_CHECKING: from pydantic_schemaorg.Duration import Duration - from pydantic_schemaorg.Demand import Demand from pydantic_schemaorg.Offer import Offer + from pydantic_schemaorg.Demand import Demand 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.AlignmentObject import AlignmentObject - from pydantic_schemaorg.Course import Course from pydantic_schemaorg.URL import URL from pydantic_schemaorg.DefinedTerm import DefinedTerm from pydantic_schemaorg.DateTime import DateTime 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 e33efbc2..406739de 100644 --- a/pydantic_schemaorg/EducationalOrganization.py +++ b/pydantic_schemaorg/EducationalOrganization.py @@ -15,13 +15,12 @@ class EducationalOrganization(CivicStructure, Organization): See: https://schema.org/EducationalOrganization Model depth: 3 """ - type_: str = Field("EducationalOrganization", alias='@type') + type_: str = Field(default="EducationalOrganization", alias='@type') alumni: Optional[Union[List[Union['Person', str]], 'Person', str]] = Field( default=None, description="Alumni of an organization.", ) - if TYPE_CHECKING: from pydantic_schemaorg.Person import Person diff --git a/pydantic_schemaorg/EffectivenessHealthAspect.py b/pydantic_schemaorg/EffectivenessHealthAspect.py index d99d4b2a..9b453d8a 100644 --- a/pydantic_schemaorg/EffectivenessHealthAspect.py +++ b/pydantic_schemaorg/EffectivenessHealthAspect.py @@ -11,6 +11,6 @@ class EffectivenessHealthAspect(HealthAspectEnumeration): See: https://schema.org/EffectivenessHealthAspect Model depth: 5 """ - type_: str = Field("EffectivenessHealthAspect", alias='@type') + type_: str = Field(default="EffectivenessHealthAspect", alias='@type') diff --git a/pydantic_schemaorg/Electrician.py b/pydantic_schemaorg/Electrician.py index 02450275..f7f3d4c3 100644 --- a/pydantic_schemaorg/Electrician.py +++ b/pydantic_schemaorg/Electrician.py @@ -11,6 +11,6 @@ class Electrician(HomeAndConstructionBusiness): See: https://schema.org/Electrician Model depth: 5 """ - type_: str = Field("Electrician", alias='@type') + type_: str = Field(default="Electrician", alias='@type') diff --git a/pydantic_schemaorg/ElectronicsStore.py b/pydantic_schemaorg/ElectronicsStore.py index 6910fe85..64a1953d 100644 --- a/pydantic_schemaorg/ElectronicsStore.py +++ b/pydantic_schemaorg/ElectronicsStore.py @@ -11,6 +11,5 @@ class ElectronicsStore(Store): See: https://schema.org/ElectronicsStore Model depth: 5 """ - type_: str = Field("ElectronicsStore", alias='@type') + type_: str = Field(default="ElectronicsStore", alias='@type') - diff --git a/pydantic_schemaorg/ElementarySchool.py b/pydantic_schemaorg/ElementarySchool.py index a84444b0..f4af68ba 100644 --- a/pydantic_schemaorg/ElementarySchool.py +++ b/pydantic_schemaorg/ElementarySchool.py @@ -11,6 +11,5 @@ class ElementarySchool(EducationalOrganization): See: https://schema.org/ElementarySchool Model depth: 4 """ - type_: str = Field("ElementarySchool", alias='@type') + type_: str = Field(default="ElementarySchool", alias='@type') - diff --git a/pydantic_schemaorg/EmailMessage.py b/pydantic_schemaorg/EmailMessage.py index 0639906b..ece4aabc 100644 --- a/pydantic_schemaorg/EmailMessage.py +++ b/pydantic_schemaorg/EmailMessage.py @@ -11,6 +11,5 @@ class EmailMessage(Message): See: https://schema.org/EmailMessage Model depth: 4 """ - type_: str = Field("EmailMessage", alias='@type') + type_: str = Field(default="EmailMessage", alias='@type') - diff --git a/pydantic_schemaorg/Embassy.py b/pydantic_schemaorg/Embassy.py index 48669e96..cb10df92 100644 --- a/pydantic_schemaorg/Embassy.py +++ b/pydantic_schemaorg/Embassy.py @@ -11,6 +11,6 @@ class Embassy(GovernmentBuilding): See: https://schema.org/Embassy Model depth: 5 """ - type_: str = Field("Embassy", alias='@type') + type_: str = Field(default="Embassy", alias='@type') diff --git a/pydantic_schemaorg/Emergency.py b/pydantic_schemaorg/Emergency.py index 18de666f..492fb547 100644 --- a/pydantic_schemaorg/Emergency.py +++ b/pydantic_schemaorg/Emergency.py @@ -13,6 +13,5 @@ class Emergency(MedicalSpecialty, MedicalBusiness): See: https://schema.org/Emergency Model depth: 5 """ - type_: str = Field("Emergency", alias='@type') + type_: str = Field(default="Emergency", alias='@type') - diff --git a/pydantic_schemaorg/EmergencyService.py b/pydantic_schemaorg/EmergencyService.py index c8ab0b8e..8f0a899f 100644 --- a/pydantic_schemaorg/EmergencyService.py +++ b/pydantic_schemaorg/EmergencyService.py @@ -11,6 +11,5 @@ class EmergencyService(LocalBusiness): See: https://schema.org/EmergencyService Model depth: 4 """ - type_: str = Field("EmergencyService", alias='@type') + type_: str = Field(default="EmergencyService", alias='@type') - diff --git a/pydantic_schemaorg/EmployeeRole.py b/pydantic_schemaorg/EmployeeRole.py index 18afea6f..0d6540db 100644 --- a/pydantic_schemaorg/EmployeeRole.py +++ b/pydantic_schemaorg/EmployeeRole.py @@ -15,7 +15,7 @@ class EmployeeRole(OrganizationRole): See: https://schema.org/EmployeeRole Model depth: 5 """ - type_: str = Field("EmployeeRole", alias='@type') + type_: str = Field(default="EmployeeRole", alias='@type') 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) )" @@ -27,7 +27,6 @@ class EmployeeRole(OrganizationRole): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text from pydantic_schemaorg.Number import Number diff --git a/pydantic_schemaorg/EmployerAggregateRating.py b/pydantic_schemaorg/EmployerAggregateRating.py index 9690bed9..0809d0dc 100644 --- a/pydantic_schemaorg/EmployerAggregateRating.py +++ b/pydantic_schemaorg/EmployerAggregateRating.py @@ -11,6 +11,5 @@ class EmployerAggregateRating(AggregateRating): See: https://schema.org/EmployerAggregateRating Model depth: 5 """ - type_: str = Field("EmployerAggregateRating", alias='@type') + type_: str = Field(default="EmployerAggregateRating", alias='@type') - diff --git a/pydantic_schemaorg/EmployerReview.py b/pydantic_schemaorg/EmployerReview.py index f137a08f..5fa34351 100644 --- a/pydantic_schemaorg/EmployerReview.py +++ b/pydantic_schemaorg/EmployerReview.py @@ -12,6 +12,5 @@ class EmployerReview(Review): See: https://schema.org/EmployerReview Model depth: 4 """ - type_: str = Field("EmployerReview", alias='@type') + type_: str = Field(default="EmployerReview", alias='@type') - diff --git a/pydantic_schemaorg/EmploymentAgency.py b/pydantic_schemaorg/EmploymentAgency.py index e88f4a59..2246ec89 100644 --- a/pydantic_schemaorg/EmploymentAgency.py +++ b/pydantic_schemaorg/EmploymentAgency.py @@ -11,6 +11,5 @@ class EmploymentAgency(LocalBusiness): See: https://schema.org/EmploymentAgency Model depth: 4 """ - type_: str = Field("EmploymentAgency", alias='@type') + type_: str = Field(default="EmploymentAgency", alias='@type') - diff --git a/pydantic_schemaorg/Endocrine.py b/pydantic_schemaorg/Endocrine.py index 0f3cd67f..41116407 100644 --- a/pydantic_schemaorg/Endocrine.py +++ b/pydantic_schemaorg/Endocrine.py @@ -12,6 +12,5 @@ class Endocrine(MedicalSpecialty): See: https://schema.org/Endocrine Model depth: 6 """ - type_: str = Field("Endocrine", alias='@type') + type_: str = Field(default="Endocrine", alias='@type') - diff --git a/pydantic_schemaorg/EndorseAction.py b/pydantic_schemaorg/EndorseAction.py index b6cc4177..ac4a5aff 100644 --- a/pydantic_schemaorg/EndorseAction.py +++ b/pydantic_schemaorg/EndorseAction.py @@ -14,14 +14,13 @@ class EndorseAction(ReactAction): See: https://schema.org/EndorseAction Model depth: 5 """ - type_: str = Field("EndorseAction", alias='@type') - endorsee: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + type_: str = Field(default="EndorseAction", alias='@type') + 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 b15c92b9..12d8917f 100644 --- a/pydantic_schemaorg/EndorsementRating.py +++ b/pydantic_schemaorg/EndorsementRating.py @@ -19,6 +19,5 @@ class EndorsementRating(Rating): See: https://schema.org/EndorsementRating Model depth: 4 """ - type_: str = Field("EndorsementRating", alias='@type') + type_: str = Field(default="EndorsementRating", alias='@type') - diff --git a/pydantic_schemaorg/Energy.py b/pydantic_schemaorg/Energy.py index 74ab836f..57f0e856 100644 --- a/pydantic_schemaorg/Energy.py +++ b/pydantic_schemaorg/Energy.py @@ -12,6 +12,6 @@ class Energy(Quantity): See: https://schema.org/Energy Model depth: 4 """ - type_: str = Field("Energy", alias='@type') + type_: str = Field(default="Energy", alias='@type') diff --git a/pydantic_schemaorg/EnergyConsumptionDetails.py b/pydantic_schemaorg/EnergyConsumptionDetails.py index 0305d7c5..068da658 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("EnergyConsumptionDetails", alias='@type') + type_: str = Field(default="EnergyConsumptionDetails", alias='@type') 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" @@ -39,7 +39,6 @@ class EnergyConsumptionDetails(Intangible): ) - if TYPE_CHECKING: from pydantic_schemaorg.EUEnergyEfficiencyEnumeration import EUEnergyEfficiencyEnumeration from pydantic_schemaorg.EnergyEfficiencyEnumeration import EnergyEfficiencyEnumeration diff --git a/pydantic_schemaorg/EnergyEfficiencyEnumeration.py b/pydantic_schemaorg/EnergyEfficiencyEnumeration.py index 6a3b0a0d..23b87c57 100644 --- a/pydantic_schemaorg/EnergyEfficiencyEnumeration.py +++ b/pydantic_schemaorg/EnergyEfficiencyEnumeration.py @@ -12,6 +12,6 @@ class EnergyEfficiencyEnumeration(Enumeration): See: https://schema.org/EnergyEfficiencyEnumeration Model depth: 4 """ - type_: str = Field("EnergyEfficiencyEnumeration", alias='@type') + type_: str = Field(default="EnergyEfficiencyEnumeration", alias='@type') diff --git a/pydantic_schemaorg/EnergyStarCertified.py b/pydantic_schemaorg/EnergyStarCertified.py index 3174217d..472733f0 100644 --- a/pydantic_schemaorg/EnergyStarCertified.py +++ b/pydantic_schemaorg/EnergyStarCertified.py @@ -11,6 +11,5 @@ class EnergyStarCertified(EnergyStarEnergyEfficiencyEnumeration): See: https://schema.org/EnergyStarCertified Model depth: 6 """ - type_: str = Field("EnergyStarCertified", alias='@type') + type_: str = Field(default="EnergyStarCertified", alias='@type') - diff --git a/pydantic_schemaorg/EnergyStarEnergyEfficiencyEnumeration.py b/pydantic_schemaorg/EnergyStarEnergyEfficiencyEnumeration.py index 94ba27b6..1c9e952c 100644 --- a/pydantic_schemaorg/EnergyStarEnergyEfficiencyEnumeration.py +++ b/pydantic_schemaorg/EnergyStarEnergyEfficiencyEnumeration.py @@ -11,6 +11,6 @@ class EnergyStarEnergyEfficiencyEnumeration(EnergyEfficiencyEnumeration): See: https://schema.org/EnergyStarEnergyEfficiencyEnumeration Model depth: 5 """ - type_: str = Field("EnergyStarEnergyEfficiencyEnumeration", alias='@type') + type_: str = Field(default="EnergyStarEnergyEfficiencyEnumeration", alias='@type') diff --git a/pydantic_schemaorg/EngineSpecification.py b/pydantic_schemaorg/EngineSpecification.py index e5ba62f5..858e67d0 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("EngineSpecification", alias='@type') + type_: str = Field(default="EngineSpecification", alias='@type') 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" @@ -53,7 +53,6 @@ class EngineSpecification(StructuredValue): ) - if TYPE_CHECKING: from pydantic_schemaorg.QuantitativeValue import QuantitativeValue from pydantic_schemaorg.URL import URL diff --git a/pydantic_schemaorg/EnrollingByInvitation.py b/pydantic_schemaorg/EnrollingByInvitation.py index aa30e6f1..a9967012 100644 --- a/pydantic_schemaorg/EnrollingByInvitation.py +++ b/pydantic_schemaorg/EnrollingByInvitation.py @@ -11,6 +11,5 @@ class EnrollingByInvitation(MedicalStudyStatus): See: https://schema.org/EnrollingByInvitation Model depth: 6 """ - type_: str = Field("EnrollingByInvitation", alias='@type') + type_: str = Field(default="EnrollingByInvitation", alias='@type') - diff --git a/pydantic_schemaorg/EntertainmentBusiness.py b/pydantic_schemaorg/EntertainmentBusiness.py index fc7f4aa7..617cbfb8 100644 --- a/pydantic_schemaorg/EntertainmentBusiness.py +++ b/pydantic_schemaorg/EntertainmentBusiness.py @@ -11,6 +11,6 @@ class EntertainmentBusiness(LocalBusiness): See: https://schema.org/EntertainmentBusiness Model depth: 4 """ - type_: str = Field("EntertainmentBusiness", alias='@type') + type_: str = Field(default="EntertainmentBusiness", alias='@type') diff --git a/pydantic_schemaorg/EntryPoint.py b/pydantic_schemaorg/EntryPoint.py index 6251cc4a..cec61979 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("EntryPoint", alias='@type') + type_: str = Field(default="EntryPoint", alias='@type') contentType: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="The supported content type(s) for an EntryPoint response.", @@ -49,7 +49,6 @@ class EntryPoint(Intangible): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text from pydantic_schemaorg.SoftwareApplication import SoftwareApplication diff --git a/pydantic_schemaorg/Enumeration.py b/pydantic_schemaorg/Enumeration.py index 6e2bfaf1..657ce76c 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("Enumeration", alias='@type') - supersededBy: Optional[Union[List[Union['Enumeration', 'Property', 'Class', str]], 'Enumeration', 'Property', 'Class', str]] = Field( + type_: str = Field(default="Enumeration", alias='@type') + supersededBy: Optional[Union[List[Union['Class', 'Property', 'Enumeration', str]], 'Class', 'Property', 'Enumeration', str]] = Field( default=None, description="Relates a term (i.e. a property, class or enumeration) to one that supersedes it.", ) @@ -23,5 +23,5 @@ class Enumeration(Intangible): if TYPE_CHECKING: - from pydantic_schemaorg.Property import Property from pydantic_schemaorg.Class import Class + from pydantic_schemaorg.Property import Property diff --git a/pydantic_schemaorg/Episode.py b/pydantic_schemaorg/Episode.py index c9c93d09..249b8196 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("Episode", alias='@type') + type_: str = Field(default="Episode", alias='@type') 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 b4a54b99..efb71011 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("Event", alias='@type') + type_: str = Field(default="Event", alias='@type') 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['Demand', 'Offer', str]], 'Demand', 'Offer', str]] = Field( + offers: Optional[Union[List[Union['Offer', 'Demand', str]], 'Offer', 'Demand', 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" @@ -90,7 +90,7 @@ class Event(Thing): 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.", ) - location: Optional[Union[List[Union[str, 'Text', 'Place', 'VirtualLocation', 'PostalAddress']], str, 'Text', 'Place', 'VirtualLocation', 'PostalAddress']] = Field( + location: Optional[Union[List[Union[str, 'Text', 'VirtualLocation', 'Place', 'PostalAddress']], str, 'Text', 'VirtualLocation', 'Place', 'PostalAddress']] = Field( default=None, description="The location of, for example, where an event is happening, where an organization is located," "or where an action takes place.", @@ -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.", ) @@ -217,19 +217,19 @@ class Event(Thing): if TYPE_CHECKING: from pydantic_schemaorg.Thing import Thing - from pydantic_schemaorg.Demand import Demand from pydantic_schemaorg.Offer import Offer + from pydantic_schemaorg.Demand import Demand 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 from pydantic_schemaorg.Date import Date - from pydantic_schemaorg.Place import Place from pydantic_schemaorg.VirtualLocation import VirtualLocation + from pydantic_schemaorg.Place import Place from pydantic_schemaorg.PostalAddress import PostalAddress from pydantic_schemaorg.EventStatusType import EventStatusType from pydantic_schemaorg.Audience import Audience diff --git a/pydantic_schemaorg/EventAttendanceModeEnumeration.py b/pydantic_schemaorg/EventAttendanceModeEnumeration.py index a5412127..d5cbdfde 100644 --- a/pydantic_schemaorg/EventAttendanceModeEnumeration.py +++ b/pydantic_schemaorg/EventAttendanceModeEnumeration.py @@ -12,6 +12,5 @@ class EventAttendanceModeEnumeration(Enumeration): See: https://schema.org/EventAttendanceModeEnumeration Model depth: 4 """ - type_: str = Field("EventAttendanceModeEnumeration", alias='@type') + type_: str = Field(default="EventAttendanceModeEnumeration", alias='@type') - diff --git a/pydantic_schemaorg/EventCancelled.py b/pydantic_schemaorg/EventCancelled.py index cfb9dbea..dbd524e9 100644 --- a/pydantic_schemaorg/EventCancelled.py +++ b/pydantic_schemaorg/EventCancelled.py @@ -13,6 +13,6 @@ class EventCancelled(EventStatusType): See: https://schema.org/EventCancelled Model depth: 6 """ - type_: str = Field("EventCancelled", alias='@type') + type_: str = Field(default="EventCancelled", alias='@type') diff --git a/pydantic_schemaorg/EventMovedOnline.py b/pydantic_schemaorg/EventMovedOnline.py index a7939e3e..650051e8 100644 --- a/pydantic_schemaorg/EventMovedOnline.py +++ b/pydantic_schemaorg/EventMovedOnline.py @@ -12,6 +12,5 @@ class EventMovedOnline(EventStatusType): See: https://schema.org/EventMovedOnline Model depth: 6 """ - type_: str = Field("EventMovedOnline", alias='@type') + type_: str = Field(default="EventMovedOnline", alias='@type') - diff --git a/pydantic_schemaorg/EventPostponed.py b/pydantic_schemaorg/EventPostponed.py index 327c70f3..c657424b 100644 --- a/pydantic_schemaorg/EventPostponed.py +++ b/pydantic_schemaorg/EventPostponed.py @@ -12,6 +12,5 @@ class EventPostponed(EventStatusType): See: https://schema.org/EventPostponed Model depth: 6 """ - type_: str = Field("EventPostponed", alias='@type') + type_: str = Field(default="EventPostponed", alias='@type') - diff --git a/pydantic_schemaorg/EventRescheduled.py b/pydantic_schemaorg/EventRescheduled.py index fe0e0d8a..7389987b 100644 --- a/pydantic_schemaorg/EventRescheduled.py +++ b/pydantic_schemaorg/EventRescheduled.py @@ -13,6 +13,5 @@ class EventRescheduled(EventStatusType): See: https://schema.org/EventRescheduled Model depth: 6 """ - type_: str = Field("EventRescheduled", alias='@type') + type_: str = Field(default="EventRescheduled", alias='@type') - diff --git a/pydantic_schemaorg/EventReservation.py b/pydantic_schemaorg/EventReservation.py index 05787472..0b8ce549 100644 --- a/pydantic_schemaorg/EventReservation.py +++ b/pydantic_schemaorg/EventReservation.py @@ -13,6 +13,5 @@ class EventReservation(Reservation): See: https://schema.org/EventReservation Model depth: 4 """ - type_: str = Field("EventReservation", alias='@type') + type_: str = Field(default="EventReservation", alias='@type') - diff --git a/pydantic_schemaorg/EventScheduled.py b/pydantic_schemaorg/EventScheduled.py index 8130266b..b8549dde 100644 --- a/pydantic_schemaorg/EventScheduled.py +++ b/pydantic_schemaorg/EventScheduled.py @@ -12,6 +12,5 @@ class EventScheduled(EventStatusType): See: https://schema.org/EventScheduled Model depth: 6 """ - type_: str = Field("EventScheduled", alias='@type') + type_: str = Field(default="EventScheduled", alias='@type') - diff --git a/pydantic_schemaorg/EventSeries.py b/pydantic_schemaorg/EventSeries.py index 97d6101d..f2329721 100644 --- a/pydantic_schemaorg/EventSeries.py +++ b/pydantic_schemaorg/EventSeries.py @@ -24,6 +24,5 @@ class EventSeries(Series, Event): See: https://schema.org/EventSeries Model depth: 3 """ - type_: str = Field("EventSeries", alias='@type') + type_: str = Field(default="EventSeries", alias='@type') - diff --git a/pydantic_schemaorg/EventStatusType.py b/pydantic_schemaorg/EventStatusType.py index b1c06e46..df7b732b 100644 --- a/pydantic_schemaorg/EventStatusType.py +++ b/pydantic_schemaorg/EventStatusType.py @@ -12,6 +12,6 @@ class EventStatusType(StatusEnumeration): See: https://schema.org/EventStatusType Model depth: 5 """ - type_: str = Field("EventStatusType", alias='@type') + type_: str = Field(default="EventStatusType", alias='@type') diff --git a/pydantic_schemaorg/EventVenue.py b/pydantic_schemaorg/EventVenue.py index 3a1662f2..dec67c6f 100644 --- a/pydantic_schemaorg/EventVenue.py +++ b/pydantic_schemaorg/EventVenue.py @@ -11,6 +11,5 @@ class EventVenue(CivicStructure): See: https://schema.org/EventVenue Model depth: 4 """ - type_: str = Field("EventVenue", alias='@type') + type_: str = Field(default="EventVenue", alias='@type') - diff --git a/pydantic_schemaorg/EvidenceLevelA.py b/pydantic_schemaorg/EvidenceLevelA.py index 90beb76c..7ab3138b 100644 --- a/pydantic_schemaorg/EvidenceLevelA.py +++ b/pydantic_schemaorg/EvidenceLevelA.py @@ -11,6 +11,5 @@ class EvidenceLevelA(MedicalEvidenceLevel): See: https://schema.org/EvidenceLevelA Model depth: 6 """ - type_: str = Field("EvidenceLevelA", alias='@type') + type_: str = Field(default="EvidenceLevelA", alias='@type') - diff --git a/pydantic_schemaorg/EvidenceLevelB.py b/pydantic_schemaorg/EvidenceLevelB.py index 977fab64..1a6c82ed 100644 --- a/pydantic_schemaorg/EvidenceLevelB.py +++ b/pydantic_schemaorg/EvidenceLevelB.py @@ -11,6 +11,5 @@ class EvidenceLevelB(MedicalEvidenceLevel): See: https://schema.org/EvidenceLevelB Model depth: 6 """ - type_: str = Field("EvidenceLevelB", alias='@type') + type_: str = Field(default="EvidenceLevelB", alias='@type') - diff --git a/pydantic_schemaorg/EvidenceLevelC.py b/pydantic_schemaorg/EvidenceLevelC.py index 97626c31..7877c952 100644 --- a/pydantic_schemaorg/EvidenceLevelC.py +++ b/pydantic_schemaorg/EvidenceLevelC.py @@ -11,6 +11,6 @@ class EvidenceLevelC(MedicalEvidenceLevel): See: https://schema.org/EvidenceLevelC Model depth: 6 """ - type_: str = Field("EvidenceLevelC", alias='@type') + type_: str = Field(default="EvidenceLevelC", alias='@type') diff --git a/pydantic_schemaorg/ExchangeRateSpecification.py b/pydantic_schemaorg/ExchangeRateSpecification.py index e4c33729..2b352877 100644 --- a/pydantic_schemaorg/ExchangeRateSpecification.py +++ b/pydantic_schemaorg/ExchangeRateSpecification.py @@ -15,7 +15,7 @@ class ExchangeRateSpecification(StructuredValue): See: https://schema.org/ExchangeRateSpecification Model depth: 4 """ - type_: str = Field("ExchangeRateSpecification", alias='@type') + type_: str = Field(default="ExchangeRateSpecification", alias='@type') exchangeRateSpread: Optional[Union[List[Union[Decimal, 'Number', 'MonetaryAmount', str]], Decimal, 'Number', 'MonetaryAmount', str]] = Field( default=None, description="The difference between the price at which a broker or other intermediary buys and sells" @@ -35,7 +35,6 @@ class ExchangeRateSpecification(StructuredValue): ) - if TYPE_CHECKING: from pydantic_schemaorg.Number import Number from pydantic_schemaorg.MonetaryAmount import MonetaryAmount diff --git a/pydantic_schemaorg/ExchangeRefund.py b/pydantic_schemaorg/ExchangeRefund.py index dec09ae2..d5937e6d 100644 --- a/pydantic_schemaorg/ExchangeRefund.py +++ b/pydantic_schemaorg/ExchangeRefund.py @@ -11,6 +11,5 @@ class ExchangeRefund(RefundTypeEnumeration): See: https://schema.org/ExchangeRefund Model depth: 5 """ - type_: str = Field("ExchangeRefund", alias='@type') + type_: str = Field(default="ExchangeRefund", alias='@type') - diff --git a/pydantic_schemaorg/ExerciseAction.py b/pydantic_schemaorg/ExerciseAction.py index 29dec14e..226413ff 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("ExerciseAction", alias='@type') + type_: str = Field(default="ExerciseAction", alias='@type') 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.", @@ -72,7 +72,6 @@ class ExerciseAction(PlayAction): ) - if TYPE_CHECKING: from pydantic_schemaorg.ExercisePlan import ExercisePlan from pydantic_schemaorg.Distance import Distance diff --git a/pydantic_schemaorg/ExerciseGym.py b/pydantic_schemaorg/ExerciseGym.py index 508d16fd..cbbb2f7a 100644 --- a/pydantic_schemaorg/ExerciseGym.py +++ b/pydantic_schemaorg/ExerciseGym.py @@ -11,6 +11,5 @@ class ExerciseGym(SportsActivityLocation): See: https://schema.org/ExerciseGym Model depth: 5 """ - type_: str = Field("ExerciseGym", alias='@type') + type_: str = Field(default="ExerciseGym", alias='@type') - diff --git a/pydantic_schemaorg/ExercisePlan.py b/pydantic_schemaorg/ExercisePlan.py index 129c50e1..c71eabf2 100644 --- a/pydantic_schemaorg/ExercisePlan.py +++ b/pydantic_schemaorg/ExercisePlan.py @@ -17,7 +17,7 @@ class ExercisePlan(PhysicalActivity, CreativeWork): See: https://schema.org/ExercisePlan Model depth: 3 """ - type_: str = Field("ExercisePlan", alias='@type') + type_: str = Field(default="ExercisePlan", alias='@type') repetitions: Optional[Union[List[Union[Decimal, 'Number', 'QuantitativeValue', str]], Decimal, 'Number', 'QuantitativeValue', str]] = Field( default=None, description="Number of times one should repeat the activity.", @@ -31,7 +31,7 @@ class ExercisePlan(PhysicalActivity, CreativeWork): description="Quantitative measure gauging the degree of force involved in the exercise, for example," "heartbeats per minute. May include the velocity of the movement.", ) - workload: Optional[Union[List[Union['QuantitativeValue', 'Energy', str]], 'QuantitativeValue', 'Energy', str]] = Field( + workload: Optional[Union[List[Union['Energy', 'QuantitativeValue', str]], 'Energy', 'QuantitativeValue', str]] = Field( default=None, description="Quantitative measure of the physiologic output of the exercise; also referred to as" "energy expenditure.", @@ -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 b4f27187..ac6abfda 100644 --- a/pydantic_schemaorg/ExhibitionEvent.py +++ b/pydantic_schemaorg/ExhibitionEvent.py @@ -11,6 +11,5 @@ class ExhibitionEvent(Event): See: https://schema.org/ExhibitionEvent Model depth: 3 """ - type_: str = Field("ExhibitionEvent", alias='@type') + type_: str = Field(default="ExhibitionEvent", alias='@type') - diff --git a/pydantic_schemaorg/Eye.py b/pydantic_schemaorg/Eye.py index 9c89c65f..7dfa3e33 100644 --- a/pydantic_schemaorg/Eye.py +++ b/pydantic_schemaorg/Eye.py @@ -11,6 +11,5 @@ class Eye(PhysicalExam): See: https://schema.org/Eye Model depth: 5 """ - type_: str = Field("Eye", alias='@type') + type_: str = Field(default="Eye", alias='@type') - diff --git a/pydantic_schemaorg/FAQPage.py b/pydantic_schemaorg/FAQPage.py index 88b5e1eb..412f547d 100644 --- a/pydantic_schemaorg/FAQPage.py +++ b/pydantic_schemaorg/FAQPage.py @@ -12,6 +12,5 @@ class FAQPage(WebPage): See: https://schema.org/FAQPage Model depth: 4 """ - type_: str = Field("FAQPage", alias='@type') + type_: str = Field(default="FAQPage", alias='@type') - diff --git a/pydantic_schemaorg/FDAcategoryA.py b/pydantic_schemaorg/FDAcategoryA.py index 0475215f..252782c0 100644 --- a/pydantic_schemaorg/FDAcategoryA.py +++ b/pydantic_schemaorg/FDAcategoryA.py @@ -13,6 +13,5 @@ class FDAcategoryA(DrugPregnancyCategory): See: https://schema.org/FDAcategoryA Model depth: 6 """ - type_: str = Field("FDAcategoryA", alias='@type') + type_: str = Field(default="FDAcategoryA", alias='@type') - diff --git a/pydantic_schemaorg/FDAcategoryB.py b/pydantic_schemaorg/FDAcategoryB.py index b7e17e5d..0bfba08c 100644 --- a/pydantic_schemaorg/FDAcategoryB.py +++ b/pydantic_schemaorg/FDAcategoryB.py @@ -13,6 +13,5 @@ class FDAcategoryB(DrugPregnancyCategory): See: https://schema.org/FDAcategoryB Model depth: 6 """ - type_: str = Field("FDAcategoryB", alias='@type') + type_: str = Field(default="FDAcategoryB", alias='@type') - diff --git a/pydantic_schemaorg/FDAcategoryC.py b/pydantic_schemaorg/FDAcategoryC.py index 5cc47ef2..f122aa5a 100644 --- a/pydantic_schemaorg/FDAcategoryC.py +++ b/pydantic_schemaorg/FDAcategoryC.py @@ -14,6 +14,5 @@ class FDAcategoryC(DrugPregnancyCategory): See: https://schema.org/FDAcategoryC Model depth: 6 """ - type_: str = Field("FDAcategoryC", alias='@type') + type_: str = Field(default="FDAcategoryC", alias='@type') - diff --git a/pydantic_schemaorg/FDAcategoryD.py b/pydantic_schemaorg/FDAcategoryD.py index 54d81cd8..31cfba15 100644 --- a/pydantic_schemaorg/FDAcategoryD.py +++ b/pydantic_schemaorg/FDAcategoryD.py @@ -14,6 +14,5 @@ class FDAcategoryD(DrugPregnancyCategory): See: https://schema.org/FDAcategoryD Model depth: 6 """ - type_: str = Field("FDAcategoryD", alias='@type') + type_: str = Field(default="FDAcategoryD", alias='@type') - diff --git a/pydantic_schemaorg/FDAcategoryX.py b/pydantic_schemaorg/FDAcategoryX.py index 54e5000b..20fdd09b 100644 --- a/pydantic_schemaorg/FDAcategoryX.py +++ b/pydantic_schemaorg/FDAcategoryX.py @@ -14,6 +14,6 @@ class FDAcategoryX(DrugPregnancyCategory): See: https://schema.org/FDAcategoryX Model depth: 6 """ - type_: str = Field("FDAcategoryX", alias='@type') + type_: str = Field(default="FDAcategoryX", alias='@type') diff --git a/pydantic_schemaorg/FDAnotEvaluated.py b/pydantic_schemaorg/FDAnotEvaluated.py index cf88326d..b8761b2d 100644 --- a/pydantic_schemaorg/FDAnotEvaluated.py +++ b/pydantic_schemaorg/FDAnotEvaluated.py @@ -12,6 +12,5 @@ class FDAnotEvaluated(DrugPregnancyCategory): See: https://schema.org/FDAnotEvaluated Model depth: 6 """ - type_: str = Field("FDAnotEvaluated", alias='@type') + type_: str = Field(default="FDAnotEvaluated", alias='@type') - diff --git a/pydantic_schemaorg/FMRadioChannel.py b/pydantic_schemaorg/FMRadioChannel.py index 33cfdda6..8441ffc2 100644 --- a/pydantic_schemaorg/FMRadioChannel.py +++ b/pydantic_schemaorg/FMRadioChannel.py @@ -11,6 +11,5 @@ class FMRadioChannel(RadioChannel): See: https://schema.org/FMRadioChannel Model depth: 5 """ - type_: str = Field("FMRadioChannel", alias='@type') + type_: str = Field(default="FMRadioChannel", alias='@type') - diff --git a/pydantic_schemaorg/FailedActionStatus.py b/pydantic_schemaorg/FailedActionStatus.py index cde1d11a..14b26276 100644 --- a/pydantic_schemaorg/FailedActionStatus.py +++ b/pydantic_schemaorg/FailedActionStatus.py @@ -12,6 +12,5 @@ class FailedActionStatus(ActionStatusType): See: https://schema.org/FailedActionStatus Model depth: 6 """ - type_: str = Field("FailedActionStatus", alias='@type') + type_: str = Field(default="FailedActionStatus", alias='@type') - diff --git a/pydantic_schemaorg/False_.py b/pydantic_schemaorg/False_.py index 856f0572..626e5b63 100644 --- a/pydantic_schemaorg/False_.py +++ b/pydantic_schemaorg/False_.py @@ -11,6 +11,5 @@ class False_(Boolean): See: https://schema.org/False Model depth: 6 """ - type_: str = Field("False", alias='@type') + type_: str = Field(default="False", alias='@type') - diff --git a/pydantic_schemaorg/FastFoodRestaurant.py b/pydantic_schemaorg/FastFoodRestaurant.py index b67030c8..b7191a88 100644 --- a/pydantic_schemaorg/FastFoodRestaurant.py +++ b/pydantic_schemaorg/FastFoodRestaurant.py @@ -11,6 +11,5 @@ class FastFoodRestaurant(FoodEstablishment): See: https://schema.org/FastFoodRestaurant Model depth: 5 """ - type_: str = Field("FastFoodRestaurant", alias='@type') + type_: str = Field(default="FastFoodRestaurant", alias='@type') - diff --git a/pydantic_schemaorg/Female.py b/pydantic_schemaorg/Female.py index aea9e4c6..0ef25d99 100644 --- a/pydantic_schemaorg/Female.py +++ b/pydantic_schemaorg/Female.py @@ -11,6 +11,5 @@ class Female(GenderType): See: https://schema.org/Female Model depth: 5 """ - type_: str = Field("Female", alias='@type') + type_: str = Field(default="Female", alias='@type') - diff --git a/pydantic_schemaorg/Festival.py b/pydantic_schemaorg/Festival.py index c9460bbf..1cc7e384 100644 --- a/pydantic_schemaorg/Festival.py +++ b/pydantic_schemaorg/Festival.py @@ -11,6 +11,5 @@ class Festival(Event): See: https://schema.org/Festival Model depth: 3 """ - type_: str = Field("Festival", alias='@type') + type_: str = Field(default="Festival", alias='@type') - diff --git a/pydantic_schemaorg/FilmAction.py b/pydantic_schemaorg/FilmAction.py index 63047e37..1335c799 100644 --- a/pydantic_schemaorg/FilmAction.py +++ b/pydantic_schemaorg/FilmAction.py @@ -11,6 +11,5 @@ class FilmAction(CreateAction): See: https://schema.org/FilmAction Model depth: 4 """ - type_: str = Field("FilmAction", alias='@type') + type_: str = Field(default="FilmAction", alias='@type') - diff --git a/pydantic_schemaorg/FinancialProduct.py b/pydantic_schemaorg/FinancialProduct.py index 3877abee..ef269986 100644 --- a/pydantic_schemaorg/FinancialProduct.py +++ b/pydantic_schemaorg/FinancialProduct.py @@ -18,7 +18,7 @@ class FinancialProduct(Service): See: https://schema.org/FinancialProduct Model depth: 4 """ - type_: str = Field("FinancialProduct", alias='@type') + type_: str = Field(default="FinancialProduct", alias='@type') annualPercentageRate: Optional[Union[List[Union[Decimal, 'Number', 'QuantitativeValue', str]], Decimal, 'Number', 'QuantitativeValue', str]] = Field( default=None, description="The annual rate that is charged for borrowing (or made by investing), expressed as a single" diff --git a/pydantic_schemaorg/FinancialService.py b/pydantic_schemaorg/FinancialService.py index e0f06fb9..c09a5e73 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("FinancialService", alias='@type') + type_: str = Field(default="FinancialService", alias='@type') 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 36dff50f..f4f7fc6d 100644 --- a/pydantic_schemaorg/FindAction.py +++ b/pydantic_schemaorg/FindAction.py @@ -12,6 +12,6 @@ class FindAction(Action): See: https://schema.org/FindAction Model depth: 3 """ - type_: str = Field("FindAction", alias='@type') + type_: str = Field(default="FindAction", alias='@type') diff --git a/pydantic_schemaorg/FireStation.py b/pydantic_schemaorg/FireStation.py index eb1b48f8..5ecc7b65 100644 --- a/pydantic_schemaorg/FireStation.py +++ b/pydantic_schemaorg/FireStation.py @@ -12,6 +12,5 @@ class FireStation(EmergencyService, CivicStructure): See: https://schema.org/FireStation Model depth: 4 """ - type_: str = Field("FireStation", alias='@type') + type_: str = Field(default="FireStation", alias='@type') - diff --git a/pydantic_schemaorg/Flexibility.py b/pydantic_schemaorg/Flexibility.py index 4ce6b898..d169cf52 100644 --- a/pydantic_schemaorg/Flexibility.py +++ b/pydantic_schemaorg/Flexibility.py @@ -11,6 +11,6 @@ class Flexibility(PhysicalActivityCategory): See: https://schema.org/Flexibility Model depth: 5 """ - type_: str = Field("Flexibility", alias='@type') + type_: str = Field(default="Flexibility", alias='@type') diff --git a/pydantic_schemaorg/Flight.py b/pydantic_schemaorg/Flight.py index 8eb1386a..c5c1e9df 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("Flight", alias='@type') + type_: str = Field(default="Flight", alias='@type') 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.", @@ -80,13 +80,12 @@ class Flight(Trip): ) - if TYPE_CHECKING: 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 db303a1e..42688457 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("FlightReservation", alias='@type') + type_: str = Field(default="FlightReservation", alias='@type') passengerSequenceNumber: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="The passenger's sequence number as assigned by the airline.", @@ -36,7 +36,6 @@ class FlightReservation(Reservation): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text from pydantic_schemaorg.QualitativeValue import QualitativeValue diff --git a/pydantic_schemaorg/Float.py b/pydantic_schemaorg/Float.py index c8ba77ca..8852a6da 100644 --- a/pydantic_schemaorg/Float.py +++ b/pydantic_schemaorg/Float.py @@ -11,6 +11,5 @@ class Float(Number): See: https://schema.org/Float Model depth: 6 """ - type_: str = Field("Float", alias='@type') + type_: str = Field(default="Float", alias='@type') - diff --git a/pydantic_schemaorg/FloorPlan.py b/pydantic_schemaorg/FloorPlan.py index ffd2fc49..9ac02c1a 100644 --- a/pydantic_schemaorg/FloorPlan.py +++ b/pydantic_schemaorg/FloorPlan.py @@ -22,7 +22,7 @@ class FloorPlan(Intangible): See: https://schema.org/FloorPlan Model depth: 3 """ - type_: str = Field("FloorPlan", alias='@type') + type_: str = Field(default="FloorPlan", alias='@type') numberOfBedrooms: Optional[Union[List[Union[Decimal, 'Number', 'QuantitativeValue', str]], Decimal, 'Number', 'QuantitativeValue', str]] = Field( default=None, description="The total integer number of bedrooms in a some [[Accommodation]], [[ApartmentComplex]]" @@ -89,7 +89,6 @@ class FloorPlan(Intangible): ) - if TYPE_CHECKING: from pydantic_schemaorg.Number import Number from pydantic_schemaorg.QuantitativeValue import QuantitativeValue diff --git a/pydantic_schemaorg/Florist.py b/pydantic_schemaorg/Florist.py index 9aa6a9d6..ac03152a 100644 --- a/pydantic_schemaorg/Florist.py +++ b/pydantic_schemaorg/Florist.py @@ -11,6 +11,5 @@ class Florist(Store): See: https://schema.org/Florist Model depth: 5 """ - type_: str = Field("Florist", alias='@type') + type_: str = Field(default="Florist", alias='@type') - diff --git a/pydantic_schemaorg/FollowAction.py b/pydantic_schemaorg/FollowAction.py index ecb9bf29..54c28794 100644 --- a/pydantic_schemaorg/FollowAction.py +++ b/pydantic_schemaorg/FollowAction.py @@ -24,14 +24,13 @@ class FollowAction(InteractAction): See: https://schema.org/FollowAction Model depth: 4 """ - type_: str = Field("FollowAction", alias='@type') - followee: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + type_: str = Field(default="FollowAction", alias='@type') + 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 c394d08c..9eb9dae7 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("FoodEstablishment", alias='@type') + type_: str = Field(default="FoodEstablishment", alias='@type') 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.", diff --git a/pydantic_schemaorg/FoodEstablishmentReservation.py b/pydantic_schemaorg/FoodEstablishmentReservation.py index 85b4800f..7743d0e9 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("FoodEstablishmentReservation", alias='@type') + type_: str = Field(default="FoodEstablishmentReservation", alias='@type') partySize: Optional[Union[List[Union[int, 'Integer', 'QuantitativeValue', str]], int, 'Integer', 'QuantitativeValue', str]] = Field( default=None, description="Number of people the reservation should accommodate.", @@ -43,7 +43,6 @@ class FoodEstablishmentReservation(Reservation): ) - if TYPE_CHECKING: from pydantic_schemaorg.Integer import Integer from pydantic_schemaorg.QuantitativeValue import QuantitativeValue diff --git a/pydantic_schemaorg/FoodEvent.py b/pydantic_schemaorg/FoodEvent.py index 23d93f7b..15f3f711 100644 --- a/pydantic_schemaorg/FoodEvent.py +++ b/pydantic_schemaorg/FoodEvent.py @@ -11,6 +11,5 @@ class FoodEvent(Event): See: https://schema.org/FoodEvent Model depth: 3 """ - type_: str = Field("FoodEvent", alias='@type') + type_: str = Field(default="FoodEvent", alias='@type') - diff --git a/pydantic_schemaorg/FoodService.py b/pydantic_schemaorg/FoodService.py index b81b7e16..4cd18976 100644 --- a/pydantic_schemaorg/FoodService.py +++ b/pydantic_schemaorg/FoodService.py @@ -11,6 +11,5 @@ class FoodService(Service): See: https://schema.org/FoodService Model depth: 4 """ - type_: str = Field("FoodService", alias='@type') + type_: str = Field(default="FoodService", alias='@type') - diff --git a/pydantic_schemaorg/FourWheelDriveConfiguration.py b/pydantic_schemaorg/FourWheelDriveConfiguration.py index 82623373..bd09aa75 100644 --- a/pydantic_schemaorg/FourWheelDriveConfiguration.py +++ b/pydantic_schemaorg/FourWheelDriveConfiguration.py @@ -12,6 +12,5 @@ class FourWheelDriveConfiguration(DriveWheelConfigurationValue): See: https://schema.org/FourWheelDriveConfiguration Model depth: 6 """ - type_: str = Field("FourWheelDriveConfiguration", alias='@type') + type_: str = Field(default="FourWheelDriveConfiguration", alias='@type') - diff --git a/pydantic_schemaorg/FreeReturn.py b/pydantic_schemaorg/FreeReturn.py index f8bff6ea..61f49fa4 100644 --- a/pydantic_schemaorg/FreeReturn.py +++ b/pydantic_schemaorg/FreeReturn.py @@ -11,6 +11,5 @@ class FreeReturn(ReturnFeesEnumeration): See: https://schema.org/FreeReturn Model depth: 5 """ - type_: str = Field("FreeReturn", alias='@type') + type_: str = Field(default="FreeReturn", alias='@type') - diff --git a/pydantic_schemaorg/Friday.py b/pydantic_schemaorg/Friday.py index d7521013..4d5bc390 100644 --- a/pydantic_schemaorg/Friday.py +++ b/pydantic_schemaorg/Friday.py @@ -11,6 +11,5 @@ class Friday(DayOfWeek): See: https://schema.org/Friday Model depth: 5 """ - type_: str = Field("Friday", alias='@type') + type_: str = Field(default="Friday", alias='@type') - diff --git a/pydantic_schemaorg/FrontWheelDriveConfiguration.py b/pydantic_schemaorg/FrontWheelDriveConfiguration.py index a27940c2..a3e214b8 100644 --- a/pydantic_schemaorg/FrontWheelDriveConfiguration.py +++ b/pydantic_schemaorg/FrontWheelDriveConfiguration.py @@ -11,6 +11,5 @@ class FrontWheelDriveConfiguration(DriveWheelConfigurationValue): See: https://schema.org/FrontWheelDriveConfiguration Model depth: 6 """ - type_: str = Field("FrontWheelDriveConfiguration", alias='@type') + type_: str = Field(default="FrontWheelDriveConfiguration", alias='@type') - diff --git a/pydantic_schemaorg/FullRefund.py b/pydantic_schemaorg/FullRefund.py index 437cb0a3..c26e5324 100644 --- a/pydantic_schemaorg/FullRefund.py +++ b/pydantic_schemaorg/FullRefund.py @@ -11,6 +11,5 @@ class FullRefund(RefundTypeEnumeration): See: https://schema.org/FullRefund Model depth: 5 """ - type_: str = Field("FullRefund", alias='@type') + type_: str = Field(default="FullRefund", alias='@type') - diff --git a/pydantic_schemaorg/FundingAgency.py b/pydantic_schemaorg/FundingAgency.py index e146a2a0..6203897f 100644 --- a/pydantic_schemaorg/FundingAgency.py +++ b/pydantic_schemaorg/FundingAgency.py @@ -15,6 +15,5 @@ class FundingAgency(Project): See: https://schema.org/FundingAgency Model depth: 4 """ - type_: str = Field("FundingAgency", alias='@type') + type_: str = Field(default="FundingAgency", alias='@type') - diff --git a/pydantic_schemaorg/FundingScheme.py b/pydantic_schemaorg/FundingScheme.py index 4d0a40aa..7d9f464f 100644 --- a/pydantic_schemaorg/FundingScheme.py +++ b/pydantic_schemaorg/FundingScheme.py @@ -18,6 +18,6 @@ class FundingScheme(Organization): See: https://schema.org/FundingScheme Model depth: 3 """ - type_: str = Field("FundingScheme", alias='@type') + type_: str = Field(default="FundingScheme", alias='@type') diff --git a/pydantic_schemaorg/Fungus.py b/pydantic_schemaorg/Fungus.py index 71fb0d90..273c6f4b 100644 --- a/pydantic_schemaorg/Fungus.py +++ b/pydantic_schemaorg/Fungus.py @@ -11,6 +11,5 @@ class Fungus(InfectiousAgentClass): See: https://schema.org/Fungus Model depth: 6 """ - type_: str = Field("Fungus", alias='@type') + type_: str = Field(default="Fungus", alias='@type') - diff --git a/pydantic_schemaorg/FurnitureStore.py b/pydantic_schemaorg/FurnitureStore.py index 4fef7804..e1c34d98 100644 --- a/pydantic_schemaorg/FurnitureStore.py +++ b/pydantic_schemaorg/FurnitureStore.py @@ -11,6 +11,5 @@ class FurnitureStore(Store): See: https://schema.org/FurnitureStore Model depth: 5 """ - type_: str = Field("FurnitureStore", alias='@type') + type_: str = Field(default="FurnitureStore", alias='@type') - diff --git a/pydantic_schemaorg/Game.py b/pydantic_schemaorg/Game.py index cc5efcb9..fa3924af 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("Game", alias='@type') + type_: str = Field(default="Game", alias='@type') gameLocation: Optional[Union[List[Union[AnyUrl, 'URL', 'Place', 'PostalAddress', str]], AnyUrl, 'URL', 'Place', 'PostalAddress', str]] = Field( default=None, description="Real or fictional location of the game (or part of game).", @@ -43,7 +43,6 @@ class Game(CreativeWork): ) - if TYPE_CHECKING: from pydantic_schemaorg.URL import URL from pydantic_schemaorg.Place import Place diff --git a/pydantic_schemaorg/GamePlayMode.py b/pydantic_schemaorg/GamePlayMode.py index 56e5acf2..72644a81 100644 --- a/pydantic_schemaorg/GamePlayMode.py +++ b/pydantic_schemaorg/GamePlayMode.py @@ -11,6 +11,6 @@ class GamePlayMode(Enumeration): See: https://schema.org/GamePlayMode Model depth: 4 """ - type_: str = Field("GamePlayMode", alias='@type') + type_: str = Field(default="GamePlayMode", alias='@type') diff --git a/pydantic_schemaorg/GameServer.py b/pydantic_schemaorg/GameServer.py index 2691df78..30d8d752 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("GameServer", alias='@type') + type_: str = Field(default="GameServer", alias='@type') serverStatus: Optional[Union[List[Union['GameServerStatus', str]], 'GameServerStatus', str]] = Field( default=None, description="Status of a game server.", @@ -29,7 +29,6 @@ class GameServer(Intangible): ) - if TYPE_CHECKING: from pydantic_schemaorg.GameServerStatus import GameServerStatus from pydantic_schemaorg.Integer import Integer diff --git a/pydantic_schemaorg/GameServerStatus.py b/pydantic_schemaorg/GameServerStatus.py index 9bebe60a..265bf05f 100644 --- a/pydantic_schemaorg/GameServerStatus.py +++ b/pydantic_schemaorg/GameServerStatus.py @@ -11,6 +11,6 @@ class GameServerStatus(StatusEnumeration): See: https://schema.org/GameServerStatus Model depth: 5 """ - type_: str = Field("GameServerStatus", alias='@type') + type_: str = Field(default="GameServerStatus", alias='@type') diff --git a/pydantic_schemaorg/GardenStore.py b/pydantic_schemaorg/GardenStore.py index 9ea8e0b0..8b1f45a9 100644 --- a/pydantic_schemaorg/GardenStore.py +++ b/pydantic_schemaorg/GardenStore.py @@ -11,6 +11,5 @@ class GardenStore(Store): See: https://schema.org/GardenStore Model depth: 5 """ - type_: str = Field("GardenStore", alias='@type') + type_: str = Field(default="GardenStore", alias='@type') - diff --git a/pydantic_schemaorg/GasStation.py b/pydantic_schemaorg/GasStation.py index 2015b65d..94850431 100644 --- a/pydantic_schemaorg/GasStation.py +++ b/pydantic_schemaorg/GasStation.py @@ -11,6 +11,6 @@ class GasStation(AutomotiveBusiness): See: https://schema.org/GasStation Model depth: 5 """ - type_: str = Field("GasStation", alias='@type') + type_: str = Field(default="GasStation", alias='@type') diff --git a/pydantic_schemaorg/Gastroenterologic.py b/pydantic_schemaorg/Gastroenterologic.py index cbe29849..bcad6a17 100644 --- a/pydantic_schemaorg/Gastroenterologic.py +++ b/pydantic_schemaorg/Gastroenterologic.py @@ -12,6 +12,6 @@ class Gastroenterologic(MedicalSpecialty): See: https://schema.org/Gastroenterologic Model depth: 6 """ - type_: str = Field("Gastroenterologic", alias='@type') + type_: str = Field(default="Gastroenterologic", alias='@type') diff --git a/pydantic_schemaorg/GatedResidenceCommunity.py b/pydantic_schemaorg/GatedResidenceCommunity.py index 5c76cb46..e7577984 100644 --- a/pydantic_schemaorg/GatedResidenceCommunity.py +++ b/pydantic_schemaorg/GatedResidenceCommunity.py @@ -11,6 +11,5 @@ class GatedResidenceCommunity(Residence): See: https://schema.org/GatedResidenceCommunity Model depth: 4 """ - type_: str = Field("GatedResidenceCommunity", alias='@type') + type_: str = Field(default="GatedResidenceCommunity", alias='@type') - diff --git a/pydantic_schemaorg/GenderType.py b/pydantic_schemaorg/GenderType.py index 6cdf138e..6dad4e3e 100644 --- a/pydantic_schemaorg/GenderType.py +++ b/pydantic_schemaorg/GenderType.py @@ -11,6 +11,5 @@ class GenderType(Enumeration): See: https://schema.org/GenderType Model depth: 4 """ - type_: str = Field("GenderType", alias='@type') + type_: str = Field(default="GenderType", alias='@type') - diff --git a/pydantic_schemaorg/Gene.py b/pydantic_schemaorg/Gene.py index 73b0e462..d28a7ea4 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("Gene", alias='@type') + type_: str = Field(default="Gene", alias='@type') 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,17 +31,16 @@ class Gene(BioChemEntity): default=None, description="Another gene which is a variation of this one.", ) - expressedIn: Optional[Union[List[Union['BioChemEntity', 'DefinedTerm', 'AnatomicalStructure', 'AnatomicalSystem', str]], 'BioChemEntity', 'DefinedTerm', 'AnatomicalStructure', 'AnatomicalSystem', str]] = Field( + expressedIn: Optional[Union[List[Union['BioChemEntity', 'AnatomicalStructure', 'AnatomicalSystem', 'DefinedTerm', str]], 'BioChemEntity', 'AnatomicalStructure', 'AnatomicalSystem', 'DefinedTerm', 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.", ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text from pydantic_schemaorg.BioChemEntity import BioChemEntity - from pydantic_schemaorg.DefinedTerm import DefinedTerm from pydantic_schemaorg.AnatomicalStructure import AnatomicalStructure from pydantic_schemaorg.AnatomicalSystem import AnatomicalSystem + from pydantic_schemaorg.DefinedTerm import DefinedTerm diff --git a/pydantic_schemaorg/GeneralContractor.py b/pydantic_schemaorg/GeneralContractor.py index 35d2dfbd..e51b28fd 100644 --- a/pydantic_schemaorg/GeneralContractor.py +++ b/pydantic_schemaorg/GeneralContractor.py @@ -11,6 +11,5 @@ class GeneralContractor(HomeAndConstructionBusiness): See: https://schema.org/GeneralContractor Model depth: 5 """ - type_: str = Field("GeneralContractor", alias='@type') + type_: str = Field(default="GeneralContractor", alias='@type') - diff --git a/pydantic_schemaorg/Genetic.py b/pydantic_schemaorg/Genetic.py index 2acc969b..dc23819d 100644 --- a/pydantic_schemaorg/Genetic.py +++ b/pydantic_schemaorg/Genetic.py @@ -12,6 +12,5 @@ class Genetic(MedicalSpecialty): See: https://schema.org/Genetic Model depth: 6 """ - type_: str = Field("Genetic", alias='@type') + type_: str = Field(default="Genetic", alias='@type') - diff --git a/pydantic_schemaorg/Genitourinary.py b/pydantic_schemaorg/Genitourinary.py index e4c9577a..1d9156a8 100644 --- a/pydantic_schemaorg/Genitourinary.py +++ b/pydantic_schemaorg/Genitourinary.py @@ -11,6 +11,5 @@ class Genitourinary(PhysicalExam): See: https://schema.org/Genitourinary Model depth: 5 """ - type_: str = Field("Genitourinary", alias='@type') + type_: str = Field(default="Genitourinary", alias='@type') - diff --git a/pydantic_schemaorg/GeoCircle.py b/pydantic_schemaorg/GeoCircle.py index ff83d9b6..60a3f57c 100644 --- a/pydantic_schemaorg/GeoCircle.py +++ b/pydantic_schemaorg/GeoCircle.py @@ -18,7 +18,7 @@ class GeoCircle(GeoShape): See: https://schema.org/GeoCircle Model depth: 5 """ - type_: str = Field("GeoCircle", alias='@type') + type_: str = Field(default="GeoCircle", alias='@type') 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.", @@ -30,7 +30,6 @@ class GeoCircle(GeoShape): ) - if TYPE_CHECKING: from pydantic_schemaorg.GeoCoordinates import GeoCoordinates from pydantic_schemaorg.Number import Number diff --git a/pydantic_schemaorg/GeoCoordinates.py b/pydantic_schemaorg/GeoCoordinates.py index 8ca57dae..a186d3c5 100644 --- a/pydantic_schemaorg/GeoCoordinates.py +++ b/pydantic_schemaorg/GeoCoordinates.py @@ -15,7 +15,7 @@ class GeoCoordinates(StructuredValue): See: https://schema.org/GeoCoordinates Model depth: 4 """ - type_: str = Field("GeoCoordinates", alias='@type') + type_: str = Field(default="GeoCoordinates", alias='@type') postalCode: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="The postal code. For example, 94043.", @@ -45,7 +45,6 @@ class GeoCoordinates(StructuredValue): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text from pydantic_schemaorg.Number import Number diff --git a/pydantic_schemaorg/GeoShape.py b/pydantic_schemaorg/GeoShape.py index d5b421f7..7e4150eb 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("GeoShape", alias='@type') + type_: str = Field(default="GeoShape", alias='@type') 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" @@ -62,7 +62,6 @@ class GeoShape(StructuredValue): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text from pydantic_schemaorg.Number import Number diff --git a/pydantic_schemaorg/GeospatialGeometry.py b/pydantic_schemaorg/GeospatialGeometry.py index 5550d295..74c428f6 100644 --- a/pydantic_schemaorg/GeospatialGeometry.py +++ b/pydantic_schemaorg/GeospatialGeometry.py @@ -15,7 +15,7 @@ class GeospatialGeometry(Intangible): See: https://schema.org/GeospatialGeometry Model depth: 3 """ - type_: str = Field("GeospatialGeometry", alias='@type') + type_: str = Field(default="GeospatialGeometry", alias='@type') geoEquals: Optional[Union[List[Union['GeospatialGeometry', 'Place', str]], 'GeospatialGeometry', 'Place', str]] = Field( default=None, description="Represents spatial relations in which two geometries (or the places they represent)" @@ -80,6 +80,5 @@ class GeospatialGeometry(Intangible): ) - if TYPE_CHECKING: from pydantic_schemaorg.Place import Place diff --git a/pydantic_schemaorg/Geriatric.py b/pydantic_schemaorg/Geriatric.py index a683e2c3..200daef6 100644 --- a/pydantic_schemaorg/Geriatric.py +++ b/pydantic_schemaorg/Geriatric.py @@ -13,6 +13,5 @@ class Geriatric(MedicalSpecialty, MedicalBusiness): See: https://schema.org/Geriatric Model depth: 5 """ - type_: str = Field("Geriatric", alias='@type') + type_: str = Field(default="Geriatric", alias='@type') - diff --git a/pydantic_schemaorg/GettingAccessHealthAspect.py b/pydantic_schemaorg/GettingAccessHealthAspect.py index 6a739711..53a60d17 100644 --- a/pydantic_schemaorg/GettingAccessHealthAspect.py +++ b/pydantic_schemaorg/GettingAccessHealthAspect.py @@ -12,6 +12,5 @@ class GettingAccessHealthAspect(HealthAspectEnumeration): See: https://schema.org/GettingAccessHealthAspect Model depth: 5 """ - type_: str = Field("GettingAccessHealthAspect", alias='@type') + type_: str = Field(default="GettingAccessHealthAspect", alias='@type') - diff --git a/pydantic_schemaorg/GiveAction.py b/pydantic_schemaorg/GiveAction.py index fc3fab6c..a8c1d5fb 100644 --- a/pydantic_schemaorg/GiveAction.py +++ b/pydantic_schemaorg/GiveAction.py @@ -17,16 +17,15 @@ class GiveAction(TransferAction): See: https://schema.org/GiveAction Model depth: 4 """ - type_: str = Field("GiveAction", alias='@type') - recipient: Optional[Union[List[Union['Person', 'Organization', 'Audience', 'ContactPoint', str]], 'Person', 'Organization', 'Audience', 'ContactPoint', str]] = Field( + type_: str = Field(default="GiveAction", alias='@type') + recipient: Optional[Union[List[Union['Audience', 'ContactPoint', 'Organization', 'Person', str]], 'Audience', 'ContactPoint', '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.Organization import Organization from pydantic_schemaorg.Audience import Audience from pydantic_schemaorg.ContactPoint import ContactPoint + from pydantic_schemaorg.Organization import Organization + from pydantic_schemaorg.Person import Person diff --git a/pydantic_schemaorg/GlutenFreeDiet.py b/pydantic_schemaorg/GlutenFreeDiet.py index ac65a5d2..e1008348 100644 --- a/pydantic_schemaorg/GlutenFreeDiet.py +++ b/pydantic_schemaorg/GlutenFreeDiet.py @@ -11,6 +11,5 @@ class GlutenFreeDiet(RestrictedDiet): See: https://schema.org/GlutenFreeDiet Model depth: 5 """ - type_: str = Field("GlutenFreeDiet", alias='@type') + type_: str = Field(default="GlutenFreeDiet", alias='@type') - diff --git a/pydantic_schemaorg/GolfCourse.py b/pydantic_schemaorg/GolfCourse.py index 3a85fab2..8260afea 100644 --- a/pydantic_schemaorg/GolfCourse.py +++ b/pydantic_schemaorg/GolfCourse.py @@ -11,6 +11,5 @@ class GolfCourse(SportsActivityLocation): See: https://schema.org/GolfCourse Model depth: 5 """ - type_: str = Field("GolfCourse", alias='@type') + type_: str = Field(default="GolfCourse", alias='@type') - diff --git a/pydantic_schemaorg/GovernmentBenefitsType.py b/pydantic_schemaorg/GovernmentBenefitsType.py index b2cb81f8..1e39c419 100644 --- a/pydantic_schemaorg/GovernmentBenefitsType.py +++ b/pydantic_schemaorg/GovernmentBenefitsType.py @@ -12,6 +12,6 @@ class GovernmentBenefitsType(Enumeration): See: https://schema.org/GovernmentBenefitsType Model depth: 4 """ - type_: str = Field("GovernmentBenefitsType", alias='@type') + type_: str = Field(default="GovernmentBenefitsType", alias='@type') diff --git a/pydantic_schemaorg/GovernmentBuilding.py b/pydantic_schemaorg/GovernmentBuilding.py index 85dc4ebe..22ebf6f0 100644 --- a/pydantic_schemaorg/GovernmentBuilding.py +++ b/pydantic_schemaorg/GovernmentBuilding.py @@ -11,6 +11,6 @@ class GovernmentBuilding(CivicStructure): See: https://schema.org/GovernmentBuilding Model depth: 4 """ - type_: str = Field("GovernmentBuilding", alias='@type') + type_: str = Field(default="GovernmentBuilding", alias='@type') diff --git a/pydantic_schemaorg/GovernmentOffice.py b/pydantic_schemaorg/GovernmentOffice.py index a446b864..14549cb6 100644 --- a/pydantic_schemaorg/GovernmentOffice.py +++ b/pydantic_schemaorg/GovernmentOffice.py @@ -11,6 +11,5 @@ class GovernmentOffice(LocalBusiness): See: https://schema.org/GovernmentOffice Model depth: 4 """ - type_: str = Field("GovernmentOffice", alias='@type') + type_: str = Field(default="GovernmentOffice", alias='@type') - diff --git a/pydantic_schemaorg/GovernmentOrganization.py b/pydantic_schemaorg/GovernmentOrganization.py index 2dced87a..45483326 100644 --- a/pydantic_schemaorg/GovernmentOrganization.py +++ b/pydantic_schemaorg/GovernmentOrganization.py @@ -11,6 +11,5 @@ class GovernmentOrganization(Organization): See: https://schema.org/GovernmentOrganization Model depth: 3 """ - type_: str = Field("GovernmentOrganization", alias='@type') + type_: str = Field(default="GovernmentOrganization", alias='@type') - diff --git a/pydantic_schemaorg/GovernmentPermit.py b/pydantic_schemaorg/GovernmentPermit.py index 82aa1704..a3fb6036 100644 --- a/pydantic_schemaorg/GovernmentPermit.py +++ b/pydantic_schemaorg/GovernmentPermit.py @@ -11,6 +11,5 @@ class GovernmentPermit(Permit): See: https://schema.org/GovernmentPermit Model depth: 4 """ - type_: str = Field("GovernmentPermit", alias='@type') + type_: str = Field(default="GovernmentPermit", alias='@type') - diff --git a/pydantic_schemaorg/GovernmentService.py b/pydantic_schemaorg/GovernmentService.py index 816050d1..67bb4e7f 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("GovernmentService", alias='@type') + type_: str = Field(default="GovernmentService", alias='@type') 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" @@ -29,7 +29,6 @@ class GovernmentService(Service): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text from pydantic_schemaorg.AdministrativeArea import AdministrativeArea diff --git a/pydantic_schemaorg/Grant.py b/pydantic_schemaorg/Grant.py index 613d6ce3..1159dbcd 100644 --- a/pydantic_schemaorg/Grant.py +++ b/pydantic_schemaorg/Grant.py @@ -23,20 +23,19 @@ class Grant(Intangible): See: https://schema.org/Grant Model depth: 3 """ - type_: str = Field("Grant", alias='@type') + type_: str = Field(default="Grant", alias='@type') 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.", ) - 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 55e010c3..580e2a03 100644 --- a/pydantic_schemaorg/GraphicNovel.py +++ b/pydantic_schemaorg/GraphicNovel.py @@ -11,6 +11,5 @@ class GraphicNovel(BookFormatType): See: https://schema.org/GraphicNovel Model depth: 5 """ - type_: str = Field("GraphicNovel", alias='@type') + type_: str = Field(default="GraphicNovel", alias='@type') - diff --git a/pydantic_schemaorg/GroceryStore.py b/pydantic_schemaorg/GroceryStore.py index 4d60b2d9..b37a332d 100644 --- a/pydantic_schemaorg/GroceryStore.py +++ b/pydantic_schemaorg/GroceryStore.py @@ -11,6 +11,5 @@ class GroceryStore(Store): See: https://schema.org/GroceryStore Model depth: 5 """ - type_: str = Field("GroceryStore", alias='@type') + type_: str = Field(default="GroceryStore", alias='@type') - diff --git a/pydantic_schemaorg/GroupBoardingPolicy.py b/pydantic_schemaorg/GroupBoardingPolicy.py index 75d238b9..aa9efddf 100644 --- a/pydantic_schemaorg/GroupBoardingPolicy.py +++ b/pydantic_schemaorg/GroupBoardingPolicy.py @@ -11,6 +11,5 @@ class GroupBoardingPolicy(BoardingPolicyType): See: https://schema.org/GroupBoardingPolicy Model depth: 5 """ - type_: str = Field("GroupBoardingPolicy", alias='@type') + type_: str = Field(default="GroupBoardingPolicy", alias='@type') - diff --git a/pydantic_schemaorg/Guide.py b/pydantic_schemaorg/Guide.py index 5331304b..9cc3897e 100644 --- a/pydantic_schemaorg/Guide.py +++ b/pydantic_schemaorg/Guide.py @@ -18,13 +18,12 @@ class Guide(CreativeWork): See: https://schema.org/Guide Model depth: 3 """ - type_: str = Field("Guide", alias='@type') + type_: str = Field(default="Guide", alias='@type') 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.", ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text diff --git a/pydantic_schemaorg/Gynecologic.py b/pydantic_schemaorg/Gynecologic.py index 27f655c4..a204c853 100644 --- a/pydantic_schemaorg/Gynecologic.py +++ b/pydantic_schemaorg/Gynecologic.py @@ -13,6 +13,6 @@ class Gynecologic(MedicalSpecialty, MedicalBusiness): See: https://schema.org/Gynecologic Model depth: 5 """ - type_: str = Field("Gynecologic", alias='@type') + type_: str = Field(default="Gynecologic", alias='@type') diff --git a/pydantic_schemaorg/HVACBusiness.py b/pydantic_schemaorg/HVACBusiness.py index 31f58863..f74c9148 100644 --- a/pydantic_schemaorg/HVACBusiness.py +++ b/pydantic_schemaorg/HVACBusiness.py @@ -11,6 +11,5 @@ class HVACBusiness(HomeAndConstructionBusiness): See: https://schema.org/HVACBusiness Model depth: 5 """ - type_: str = Field("HVACBusiness", alias='@type') + type_: str = Field(default="HVACBusiness", alias='@type') - diff --git a/pydantic_schemaorg/Hackathon.py b/pydantic_schemaorg/Hackathon.py index ad4cd550..9dc894ad 100644 --- a/pydantic_schemaorg/Hackathon.py +++ b/pydantic_schemaorg/Hackathon.py @@ -11,6 +11,5 @@ class Hackathon(Event): See: https://schema.org/Hackathon Model depth: 3 """ - type_: str = Field("Hackathon", alias='@type') + type_: str = Field(default="Hackathon", alias='@type') - diff --git a/pydantic_schemaorg/HairSalon.py b/pydantic_schemaorg/HairSalon.py index 90d63025..7bfdfee2 100644 --- a/pydantic_schemaorg/HairSalon.py +++ b/pydantic_schemaorg/HairSalon.py @@ -11,6 +11,5 @@ class HairSalon(HealthAndBeautyBusiness): See: https://schema.org/HairSalon Model depth: 5 """ - type_: str = Field("HairSalon", alias='@type') + type_: str = Field(default="HairSalon", alias='@type') - diff --git a/pydantic_schemaorg/HalalDiet.py b/pydantic_schemaorg/HalalDiet.py index 3ee7d540..7127f59e 100644 --- a/pydantic_schemaorg/HalalDiet.py +++ b/pydantic_schemaorg/HalalDiet.py @@ -11,6 +11,6 @@ class HalalDiet(RestrictedDiet): See: https://schema.org/HalalDiet Model depth: 5 """ - type_: str = Field("HalalDiet", alias='@type') + type_: str = Field(default="HalalDiet", alias='@type') diff --git a/pydantic_schemaorg/Hardcover.py b/pydantic_schemaorg/Hardcover.py index 4de51be5..266ec32e 100644 --- a/pydantic_schemaorg/Hardcover.py +++ b/pydantic_schemaorg/Hardcover.py @@ -11,6 +11,5 @@ class Hardcover(BookFormatType): See: https://schema.org/Hardcover Model depth: 5 """ - type_: str = Field("Hardcover", alias='@type') + type_: str = Field(default="Hardcover", alias='@type') - diff --git a/pydantic_schemaorg/HardwareStore.py b/pydantic_schemaorg/HardwareStore.py index 484a8a9b..ecfcca38 100644 --- a/pydantic_schemaorg/HardwareStore.py +++ b/pydantic_schemaorg/HardwareStore.py @@ -11,6 +11,5 @@ class HardwareStore(Store): See: https://schema.org/HardwareStore Model depth: 5 """ - type_: str = Field("HardwareStore", alias='@type') + type_: str = Field(default="HardwareStore", alias='@type') - diff --git a/pydantic_schemaorg/Head.py b/pydantic_schemaorg/Head.py index 552e436e..13b03e0e 100644 --- a/pydantic_schemaorg/Head.py +++ b/pydantic_schemaorg/Head.py @@ -11,6 +11,6 @@ class Head(PhysicalExam): See: https://schema.org/Head Model depth: 5 """ - type_: str = Field("Head", alias='@type') + type_: str = Field(default="Head", alias='@type') diff --git a/pydantic_schemaorg/HealthAndBeautyBusiness.py b/pydantic_schemaorg/HealthAndBeautyBusiness.py index ef399585..8beea52b 100644 --- a/pydantic_schemaorg/HealthAndBeautyBusiness.py +++ b/pydantic_schemaorg/HealthAndBeautyBusiness.py @@ -11,6 +11,6 @@ class HealthAndBeautyBusiness(LocalBusiness): See: https://schema.org/HealthAndBeautyBusiness Model depth: 4 """ - type_: str = Field("HealthAndBeautyBusiness", alias='@type') + type_: str = Field(default="HealthAndBeautyBusiness", alias='@type') diff --git a/pydantic_schemaorg/HealthAspectEnumeration.py b/pydantic_schemaorg/HealthAspectEnumeration.py index 1421afd3..1dd9997d 100644 --- a/pydantic_schemaorg/HealthAspectEnumeration.py +++ b/pydantic_schemaorg/HealthAspectEnumeration.py @@ -12,6 +12,6 @@ class HealthAspectEnumeration(Enumeration): See: https://schema.org/HealthAspectEnumeration Model depth: 4 """ - type_: str = Field("HealthAspectEnumeration", alias='@type') + type_: str = Field(default="HealthAspectEnumeration", alias='@type') diff --git a/pydantic_schemaorg/HealthCare.py b/pydantic_schemaorg/HealthCare.py index 2c2df298..c75d1d24 100644 --- a/pydantic_schemaorg/HealthCare.py +++ b/pydantic_schemaorg/HealthCare.py @@ -11,6 +11,5 @@ class HealthCare(GovernmentBenefitsType): See: https://schema.org/HealthCare Model depth: 5 """ - type_: str = Field("HealthCare", alias='@type') + type_: str = Field(default="HealthCare", alias='@type') - diff --git a/pydantic_schemaorg/HealthClub.py b/pydantic_schemaorg/HealthClub.py index a2ad908a..c611ea3e 100644 --- a/pydantic_schemaorg/HealthClub.py +++ b/pydantic_schemaorg/HealthClub.py @@ -2,16 +2,15 @@ from pydantic import Field -from pydantic_schemaorg.HealthAndBeautyBusiness import HealthAndBeautyBusiness from pydantic_schemaorg.SportsActivityLocation import SportsActivityLocation +from pydantic_schemaorg.HealthAndBeautyBusiness import HealthAndBeautyBusiness -class HealthClub(HealthAndBeautyBusiness, SportsActivityLocation): +class HealthClub(SportsActivityLocation, HealthAndBeautyBusiness): """A health club. See: https://schema.org/HealthClub Model depth: 5 """ - type_: str = Field("HealthClub", alias='@type') + type_: str = Field(default="HealthClub", alias='@type') - diff --git a/pydantic_schemaorg/HealthInsurancePlan.py b/pydantic_schemaorg/HealthInsurancePlan.py index b7261032..23e57e6a 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("HealthInsurancePlan", alias='@type') + type_: str = Field(default="HealthInsurancePlan", alias='@type') contactPoint: Optional[Union[List[Union['ContactPoint', str]], 'ContactPoint', str]] = Field( default=None, description="A contact point for a person or organization.", @@ -58,7 +58,6 @@ class HealthInsurancePlan(Intangible): ) - if TYPE_CHECKING: from pydantic_schemaorg.ContactPoint import ContactPoint from pydantic_schemaorg.Text import Text diff --git a/pydantic_schemaorg/HealthPlanCostSharingSpecification.py b/pydantic_schemaorg/HealthPlanCostSharingSpecification.py index 9418462d..28ca5ced 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("HealthPlanCostSharingSpecification", alias='@type') + type_: str = Field(default="HealthPlanCostSharingSpecification", alias='@type') 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" @@ -39,7 +39,6 @@ class HealthPlanCostSharingSpecification(Intangible): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text from pydantic_schemaorg.PriceSpecification import PriceSpecification diff --git a/pydantic_schemaorg/HealthPlanFormulary.py b/pydantic_schemaorg/HealthPlanFormulary.py index 851d482c..f8de2aab 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("HealthPlanFormulary", alias='@type') + type_: str = Field(default="HealthPlanFormulary", alias='@type') offersPrescriptionByMail: Optional[Union[List[Union[StrictBool, 'Boolean', str]], StrictBool, 'Boolean', str]] = Field( default=None, description="Whether prescriptions can be delivered by mail.", @@ -31,7 +31,6 @@ class HealthPlanFormulary(Intangible): ) - if TYPE_CHECKING: from pydantic_schemaorg.Boolean import Boolean from pydantic_schemaorg.Text import Text diff --git a/pydantic_schemaorg/HealthPlanNetwork.py b/pydantic_schemaorg/HealthPlanNetwork.py index c884c720..2d7b8ac2 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("HealthPlanNetwork", alias='@type') + type_: str = Field(default="HealthPlanNetwork", alias='@type') healthPlanNetworkTier: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="The tier(s) for this network.", @@ -31,7 +31,6 @@ class HealthPlanNetwork(Intangible): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text from pydantic_schemaorg.Boolean import Boolean diff --git a/pydantic_schemaorg/HealthTopicContent.py b/pydantic_schemaorg/HealthTopicContent.py index 01eb2d2f..afe342a0 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("HealthTopicContent", alias='@type') + type_: str = Field(default="HealthTopicContent", alias='@type') hasHealthAspect: Optional[Union[List[Union['HealthAspectEnumeration', str]], 'HealthAspectEnumeration', str]] = Field( default=None, description="Indicates the aspect or aspects specifically addressed in some [[HealthTopicContent]]." @@ -28,6 +28,5 @@ class HealthTopicContent(WebContent): ) - if TYPE_CHECKING: from pydantic_schemaorg.HealthAspectEnumeration import HealthAspectEnumeration diff --git a/pydantic_schemaorg/HearingImpairedSupported.py b/pydantic_schemaorg/HearingImpairedSupported.py index 70fa3a5c..4eea9738 100644 --- a/pydantic_schemaorg/HearingImpairedSupported.py +++ b/pydantic_schemaorg/HearingImpairedSupported.py @@ -11,6 +11,5 @@ class HearingImpairedSupported(ContactPointOption): See: https://schema.org/HearingImpairedSupported Model depth: 5 """ - type_: str = Field("HearingImpairedSupported", alias='@type') + type_: str = Field(default="HearingImpairedSupported", alias='@type') - diff --git a/pydantic_schemaorg/Hematologic.py b/pydantic_schemaorg/Hematologic.py index 8f162693..384ab24d 100644 --- a/pydantic_schemaorg/Hematologic.py +++ b/pydantic_schemaorg/Hematologic.py @@ -12,6 +12,5 @@ class Hematologic(MedicalSpecialty): See: https://schema.org/Hematologic Model depth: 6 """ - type_: str = Field("Hematologic", alias='@type') + type_: str = Field(default="Hematologic", alias='@type') - diff --git a/pydantic_schemaorg/HighSchool.py b/pydantic_schemaorg/HighSchool.py index f0e276a9..f7886265 100644 --- a/pydantic_schemaorg/HighSchool.py +++ b/pydantic_schemaorg/HighSchool.py @@ -11,6 +11,5 @@ class HighSchool(EducationalOrganization): See: https://schema.org/HighSchool Model depth: 4 """ - type_: str = Field("HighSchool", alias='@type') + type_: str = Field(default="HighSchool", alias='@type') - diff --git a/pydantic_schemaorg/HinduDiet.py b/pydantic_schemaorg/HinduDiet.py index 8234f3b2..1d162ef2 100644 --- a/pydantic_schemaorg/HinduDiet.py +++ b/pydantic_schemaorg/HinduDiet.py @@ -11,6 +11,6 @@ class HinduDiet(RestrictedDiet): See: https://schema.org/HinduDiet Model depth: 5 """ - type_: str = Field("HinduDiet", alias='@type') + type_: str = Field(default="HinduDiet", alias='@type') diff --git a/pydantic_schemaorg/HinduTemple.py b/pydantic_schemaorg/HinduTemple.py index d0e268d5..f7e9da05 100644 --- a/pydantic_schemaorg/HinduTemple.py +++ b/pydantic_schemaorg/HinduTemple.py @@ -11,6 +11,6 @@ class HinduTemple(PlaceOfWorship): See: https://schema.org/HinduTemple Model depth: 5 """ - type_: str = Field("HinduTemple", alias='@type') + type_: str = Field(default="HinduTemple", alias='@type') diff --git a/pydantic_schemaorg/HobbyShop.py b/pydantic_schemaorg/HobbyShop.py index 62a02084..09ffeaf7 100644 --- a/pydantic_schemaorg/HobbyShop.py +++ b/pydantic_schemaorg/HobbyShop.py @@ -11,6 +11,5 @@ class HobbyShop(Store): See: https://schema.org/HobbyShop Model depth: 5 """ - type_: str = Field("HobbyShop", alias='@type') + type_: str = Field(default="HobbyShop", alias='@type') - diff --git a/pydantic_schemaorg/HomeAndConstructionBusiness.py b/pydantic_schemaorg/HomeAndConstructionBusiness.py index 7049226c..91d5b635 100644 --- a/pydantic_schemaorg/HomeAndConstructionBusiness.py +++ b/pydantic_schemaorg/HomeAndConstructionBusiness.py @@ -13,6 +13,6 @@ class HomeAndConstructionBusiness(LocalBusiness): See: https://schema.org/HomeAndConstructionBusiness Model depth: 4 """ - type_: str = Field("HomeAndConstructionBusiness", alias='@type') + type_: str = Field(default="HomeAndConstructionBusiness", alias='@type') diff --git a/pydantic_schemaorg/HomeGoodsStore.py b/pydantic_schemaorg/HomeGoodsStore.py index ea6171be..79dafbc8 100644 --- a/pydantic_schemaorg/HomeGoodsStore.py +++ b/pydantic_schemaorg/HomeGoodsStore.py @@ -11,6 +11,5 @@ class HomeGoodsStore(Store): See: https://schema.org/HomeGoodsStore Model depth: 5 """ - type_: str = Field("HomeGoodsStore", alias='@type') + type_: str = Field(default="HomeGoodsStore", alias='@type') - diff --git a/pydantic_schemaorg/Homeopathic.py b/pydantic_schemaorg/Homeopathic.py index 11f6d4d3..50debe20 100644 --- a/pydantic_schemaorg/Homeopathic.py +++ b/pydantic_schemaorg/Homeopathic.py @@ -12,6 +12,5 @@ class Homeopathic(MedicineSystem): See: https://schema.org/Homeopathic Model depth: 6 """ - type_: str = Field("Homeopathic", alias='@type') + type_: str = Field(default="Homeopathic", alias='@type') - diff --git a/pydantic_schemaorg/Hospital.py b/pydantic_schemaorg/Hospital.py index ccca4203..38f90765 100644 --- a/pydantic_schemaorg/Hospital.py +++ b/pydantic_schemaorg/Hospital.py @@ -6,8 +6,8 @@ from pydantic import Field from pydantic_schemaorg.EmergencyService import EmergencyService -from pydantic_schemaorg.CivicStructure import CivicStructure from pydantic_schemaorg.MedicalOrganization import MedicalOrganization +from pydantic_schemaorg.CivicStructure import CivicStructure class Hospital(MedicalOrganization, EmergencyService, CivicStructure): @@ -16,7 +16,7 @@ class Hospital(MedicalOrganization, EmergencyService, CivicStructure): See: https://schema.org/Hospital Model depth: 4 """ - type_: str = Field("Hospital", alias='@type') + type_: str = Field(default="Hospital", alias='@type') medicalSpecialty: Optional[Union[List[Union['MedicalSpecialty', str]], 'MedicalSpecialty', str]] = Field( default=None, description="A medical specialty of the provider.", @@ -26,17 +26,16 @@ 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', 'MedicalProcedure', 'MedicalTherapy', str]], 'MedicalTest', 'MedicalProcedure', 'MedicalTherapy', 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.", ) - if TYPE_CHECKING: from pydantic_schemaorg.MedicalSpecialty import MedicalSpecialty from pydantic_schemaorg.CDCPMDRecord import CDCPMDRecord from pydantic_schemaorg.Dataset import Dataset + from pydantic_schemaorg.MedicalTherapy import MedicalTherapy from pydantic_schemaorg.MedicalTest import MedicalTest from pydantic_schemaorg.MedicalProcedure import MedicalProcedure - from pydantic_schemaorg.MedicalTherapy import MedicalTherapy diff --git a/pydantic_schemaorg/Hostel.py b/pydantic_schemaorg/Hostel.py index bc135bea..2d5c5b2c 100644 --- a/pydantic_schemaorg/Hostel.py +++ b/pydantic_schemaorg/Hostel.py @@ -13,6 +13,5 @@ class Hostel(LodgingBusiness): See: https://schema.org/Hostel Model depth: 5 """ - type_: str = Field("Hostel", alias='@type') + type_: str = Field(default="Hostel", alias='@type') - diff --git a/pydantic_schemaorg/Hotel.py b/pydantic_schemaorg/Hotel.py index 2a2e7d73..48330a77 100644 --- a/pydantic_schemaorg/Hotel.py +++ b/pydantic_schemaorg/Hotel.py @@ -14,6 +14,5 @@ class Hotel(LodgingBusiness): See: https://schema.org/Hotel Model depth: 5 """ - type_: str = Field("Hotel", alias='@type') + type_: str = Field(default="Hotel", alias='@type') - diff --git a/pydantic_schemaorg/HotelRoom.py b/pydantic_schemaorg/HotelRoom.py index 8737b592..10cbd73c 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("HotelRoom", alias='@type') + type_: str = Field(default="HotelRoom", alias='@type') 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" @@ -32,7 +32,6 @@ class HotelRoom(Room): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text from pydantic_schemaorg.BedDetails import BedDetails diff --git a/pydantic_schemaorg/House.py b/pydantic_schemaorg/House.py index 3ec654bb..964cf5e9 100644 --- a/pydantic_schemaorg/House.py +++ b/pydantic_schemaorg/House.py @@ -16,7 +16,7 @@ class House(Accommodation): See: https://schema.org/House Model depth: 4 """ - type_: str = Field("House", alias='@type') + type_: str = Field(default="House", alias='@type') numberOfRooms: Optional[Union[List[Union[Decimal, 'Number', 'QuantitativeValue', str]], Decimal, 'Number', 'QuantitativeValue', str]] = Field( default=None, description="The number of rooms (excluding bathrooms and closets) of the accommodation or lodging" @@ -25,7 +25,6 @@ class House(Accommodation): ) - if TYPE_CHECKING: from pydantic_schemaorg.Number import Number from pydantic_schemaorg.QuantitativeValue import QuantitativeValue diff --git a/pydantic_schemaorg/HousePainter.py b/pydantic_schemaorg/HousePainter.py index 777cce52..107789b5 100644 --- a/pydantic_schemaorg/HousePainter.py +++ b/pydantic_schemaorg/HousePainter.py @@ -11,6 +11,5 @@ class HousePainter(HomeAndConstructionBusiness): See: https://schema.org/HousePainter Model depth: 5 """ - type_: str = Field("HousePainter", alias='@type') + type_: str = Field(default="HousePainter", alias='@type') - diff --git a/pydantic_schemaorg/HowItWorksHealthAspect.py b/pydantic_schemaorg/HowItWorksHealthAspect.py index a94d7f3f..7922bdf5 100644 --- a/pydantic_schemaorg/HowItWorksHealthAspect.py +++ b/pydantic_schemaorg/HowItWorksHealthAspect.py @@ -12,6 +12,5 @@ class HowItWorksHealthAspect(HealthAspectEnumeration): See: https://schema.org/HowItWorksHealthAspect Model depth: 5 """ - type_: str = Field("HowItWorksHealthAspect", alias='@type') + type_: str = Field(default="HowItWorksHealthAspect", alias='@type') - diff --git a/pydantic_schemaorg/HowOrWhereHealthAspect.py b/pydantic_schemaorg/HowOrWhereHealthAspect.py index a08a6b7b..db2b157c 100644 --- a/pydantic_schemaorg/HowOrWhereHealthAspect.py +++ b/pydantic_schemaorg/HowOrWhereHealthAspect.py @@ -12,6 +12,5 @@ class HowOrWhereHealthAspect(HealthAspectEnumeration): See: https://schema.org/HowOrWhereHealthAspect Model depth: 5 """ - type_: str = Field("HowOrWhereHealthAspect", alias='@type') + type_: str = Field(default="HowOrWhereHealthAspect", alias='@type') - diff --git a/pydantic_schemaorg/HowTo.py b/pydantic_schemaorg/HowTo.py index afedb8d3..d877498f 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("HowTo", alias='@type') + type_: str = Field(default="HowTo", alias='@type') 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', 'CreativeWork', 'HowToStep', 'HowToSection']], str, 'Text', 'CreativeWork', 'HowToStep', 'HowToSection']] = Field( default=None, description="A single step item (as HowToStep, text, document, video, etc.) or a HowToSection.", ) @@ -48,7 +48,7 @@ class HowTo(CreativeWork): description="A sub property of instrument. An object used (but not consumed) when performing instructions" "or a direction.", ) - steps: Optional[Union[List[Union[str, 'Text', 'ItemList', 'CreativeWork']], str, 'Text', 'ItemList', 'CreativeWork']] = Field( + 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" "misnamed 'steps'; 'step' is preferred).", @@ -59,15 +59,14 @@ class HowTo(CreativeWork): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text from pydantic_schemaorg.QuantitativeValue import QuantitativeValue 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.HowToSection import HowToSection 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 5de69f1d..42cc33fe 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("HowToDirection", alias='@type') + type_: str = Field(default="HowToDirection", alias='@type') 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.", @@ -55,7 +55,6 @@ class HowToDirection(ListItem, CreativeWork): ) - if TYPE_CHECKING: from pydantic_schemaorg.URL import URL from pydantic_schemaorg.MediaObject import MediaObject diff --git a/pydantic_schemaorg/HowToItem.py b/pydantic_schemaorg/HowToItem.py index f0020176..4b54b99b 100644 --- a/pydantic_schemaorg/HowToItem.py +++ b/pydantic_schemaorg/HowToItem.py @@ -16,14 +16,13 @@ class HowToItem(ListItem): See: https://schema.org/HowToItem Model depth: 4 """ - type_: str = Field("HowToItem", alias='@type') + type_: str = Field(default="HowToItem", alias='@type') requiredQuantity: Optional[Union[List[Union[Decimal, 'Number', str, 'Text', 'QuantitativeValue']], Decimal, 'Number', str, 'Text', 'QuantitativeValue']] = Field( default=None, description="The required quantity of the item(s).", ) - if TYPE_CHECKING: from pydantic_schemaorg.Number import Number from pydantic_schemaorg.Text import Text diff --git a/pydantic_schemaorg/HowToSection.py b/pydantic_schemaorg/HowToSection.py index af0a5888..08c0447b 100644 --- a/pydantic_schemaorg/HowToSection.py +++ b/pydantic_schemaorg/HowToSection.py @@ -5,28 +5,27 @@ 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("HowToSection", alias='@type') - steps: Optional[Union[List[Union[str, 'Text', 'ItemList', 'CreativeWork']], str, 'Text', 'ItemList', 'CreativeWork']] = Field( + type_: str = Field(default="HowToSection", alias='@type') + 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" "misnamed 'steps'; 'step' is preferred).", ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text - from pydantic_schemaorg.ItemList import ItemList from pydantic_schemaorg.CreativeWork import CreativeWork + from pydantic_schemaorg.ItemList import ItemList diff --git a/pydantic_schemaorg/HowToStep.py b/pydantic_schemaorg/HowToStep.py index 40ef0b3a..36dd1ee9 100644 --- a/pydantic_schemaorg/HowToStep.py +++ b/pydantic_schemaorg/HowToStep.py @@ -2,18 +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("HowToStep", alias='@type') + type_: str = Field(default="HowToStep", alias='@type') - diff --git a/pydantic_schemaorg/HowToSupply.py b/pydantic_schemaorg/HowToSupply.py index d750dc9e..fecfce6f 100644 --- a/pydantic_schemaorg/HowToSupply.py +++ b/pydantic_schemaorg/HowToSupply.py @@ -14,14 +14,13 @@ class HowToSupply(HowToItem): See: https://schema.org/HowToSupply Model depth: 5 """ - type_: str = Field("HowToSupply", alias='@type') + type_: str = Field(default="HowToSupply", alias='@type') 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.", ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text from pydantic_schemaorg.MonetaryAmount import MonetaryAmount diff --git a/pydantic_schemaorg/HowToTip.py b/pydantic_schemaorg/HowToTip.py index d1322df5..c19f606f 100644 --- a/pydantic_schemaorg/HowToTip.py +++ b/pydantic_schemaorg/HowToTip.py @@ -15,6 +15,5 @@ class HowToTip(ListItem, CreativeWork): See: https://schema.org/HowToTip Model depth: 3 """ - type_: str = Field("HowToTip", alias='@type') + type_: str = Field(default="HowToTip", alias='@type') - diff --git a/pydantic_schemaorg/HowToTool.py b/pydantic_schemaorg/HowToTool.py index 637ed444..93809ae3 100644 --- a/pydantic_schemaorg/HowToTool.py +++ b/pydantic_schemaorg/HowToTool.py @@ -11,6 +11,5 @@ class HowToTool(HowToItem): See: https://schema.org/HowToTool Model depth: 5 """ - type_: str = Field("HowToTool", alias='@type') + type_: str = Field(default="HowToTool", alias='@type') - diff --git a/pydantic_schemaorg/HyperToc.py b/pydantic_schemaorg/HyperToc.py index df733ff7..15c3d29f 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("HyperToc", alias='@type') + type_: str = Field(default="HyperToc", alias='@type') 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.", @@ -29,7 +29,6 @@ class HyperToc(CreativeWork): ) - if TYPE_CHECKING: from pydantic_schemaorg.MediaObject import MediaObject from pydantic_schemaorg.HyperTocEntry import HyperTocEntry diff --git a/pydantic_schemaorg/HyperTocEntry.py b/pydantic_schemaorg/HyperTocEntry.py index 44075b6e..0f17e31b 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("HyperTocEntry", alias='@type') + type_: str = Field(default="HyperTocEntry", alias='@type') 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" @@ -37,7 +37,6 @@ class HyperTocEntry(CreativeWork): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text from pydantic_schemaorg.MediaObject import MediaObject diff --git a/pydantic_schemaorg/IceCreamShop.py b/pydantic_schemaorg/IceCreamShop.py index 0c8446e5..f44a8b7c 100644 --- a/pydantic_schemaorg/IceCreamShop.py +++ b/pydantic_schemaorg/IceCreamShop.py @@ -11,6 +11,5 @@ class IceCreamShop(FoodEstablishment): See: https://schema.org/IceCreamShop Model depth: 5 """ - type_: str = Field("IceCreamShop", alias='@type') + type_: str = Field(default="IceCreamShop", alias='@type') - diff --git a/pydantic_schemaorg/IgnoreAction.py b/pydantic_schemaorg/IgnoreAction.py index ab152262..0f9af28c 100644 --- a/pydantic_schemaorg/IgnoreAction.py +++ b/pydantic_schemaorg/IgnoreAction.py @@ -11,6 +11,5 @@ class IgnoreAction(AssessAction): See: https://schema.org/IgnoreAction Model depth: 4 """ - type_: str = Field("IgnoreAction", alias='@type') + type_: str = Field(default="IgnoreAction", alias='@type') - diff --git a/pydantic_schemaorg/ImageGallery.py b/pydantic_schemaorg/ImageGallery.py index ab58d91d..cf9bbf8c 100644 --- a/pydantic_schemaorg/ImageGallery.py +++ b/pydantic_schemaorg/ImageGallery.py @@ -11,6 +11,5 @@ class ImageGallery(MediaGallery): See: https://schema.org/ImageGallery Model depth: 6 """ - type_: str = Field("ImageGallery", alias='@type') + type_: str = Field(default="ImageGallery", alias='@type') - diff --git a/pydantic_schemaorg/ImageObject.py b/pydantic_schemaorg/ImageObject.py index 3e22cf94..9c8b5a5a 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("ImageObject", alias='@type') + type_: str = Field(default="ImageObject", alias='@type') thumbnail: Optional[Union[List[Union['ImageObject', str]], 'ImageObject', str]] = Field( default=None, description="Thumbnail image for an image or video.", @@ -39,7 +39,6 @@ class ImageObject(MediaObject): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text from pydantic_schemaorg.Boolean import Boolean diff --git a/pydantic_schemaorg/ImageObjectSnapshot.py b/pydantic_schemaorg/ImageObjectSnapshot.py index 61b46bf2..b8debcc0 100644 --- a/pydantic_schemaorg/ImageObjectSnapshot.py +++ b/pydantic_schemaorg/ImageObjectSnapshot.py @@ -15,6 +15,5 @@ class ImageObjectSnapshot(ImageObject): See: https://schema.org/ImageObjectSnapshot Model depth: 5 """ - type_: str = Field("ImageObjectSnapshot", alias='@type') + type_: str = Field(default="ImageObjectSnapshot", alias='@type') - diff --git a/pydantic_schemaorg/ImagingTest.py b/pydantic_schemaorg/ImagingTest.py index 88eadb20..7fb3264d 100644 --- a/pydantic_schemaorg/ImagingTest.py +++ b/pydantic_schemaorg/ImagingTest.py @@ -14,13 +14,12 @@ class ImagingTest(MedicalTest): See: https://schema.org/ImagingTest Model depth: 4 """ - type_: str = Field("ImagingTest", alias='@type') + type_: str = Field(default="ImagingTest", alias='@type') imagingTechnique: Optional[Union[List[Union['MedicalImagingTechnique', str]], 'MedicalImagingTechnique', str]] = Field( default=None, description="Imaging technique used.", ) - if TYPE_CHECKING: from pydantic_schemaorg.MedicalImagingTechnique import MedicalImagingTechnique diff --git a/pydantic_schemaorg/InForce.py b/pydantic_schemaorg/InForce.py index 70daa85c..adf71c87 100644 --- a/pydantic_schemaorg/InForce.py +++ b/pydantic_schemaorg/InForce.py @@ -11,6 +11,5 @@ class InForce(LegalForceStatus): See: https://schema.org/InForce Model depth: 6 """ - type_: str = Field("InForce", alias='@type') + type_: str = Field(default="InForce", alias='@type') - diff --git a/pydantic_schemaorg/InStock.py b/pydantic_schemaorg/InStock.py index 7bc348f6..2474df98 100644 --- a/pydantic_schemaorg/InStock.py +++ b/pydantic_schemaorg/InStock.py @@ -11,6 +11,5 @@ class InStock(ItemAvailability): See: https://schema.org/InStock Model depth: 5 """ - type_: str = Field("InStock", alias='@type') + type_: str = Field(default="InStock", alias='@type') - diff --git a/pydantic_schemaorg/InStoreOnly.py b/pydantic_schemaorg/InStoreOnly.py index 292f2cfc..7547af56 100644 --- a/pydantic_schemaorg/InStoreOnly.py +++ b/pydantic_schemaorg/InStoreOnly.py @@ -11,6 +11,6 @@ class InStoreOnly(ItemAvailability): See: https://schema.org/InStoreOnly Model depth: 5 """ - type_: str = Field("InStoreOnly", alias='@type') + type_: str = Field(default="InStoreOnly", alias='@type') diff --git a/pydantic_schemaorg/IndividualProduct.py b/pydantic_schemaorg/IndividualProduct.py index e315d9ae..b76fd8e5 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("IndividualProduct", alias='@type') + type_: str = Field(default="IndividualProduct", alias='@type') 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" @@ -22,6 +22,5 @@ class IndividualProduct(Product): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text diff --git a/pydantic_schemaorg/Infectious.py b/pydantic_schemaorg/Infectious.py index be49468f..3a8a7edd 100644 --- a/pydantic_schemaorg/Infectious.py +++ b/pydantic_schemaorg/Infectious.py @@ -12,6 +12,5 @@ class Infectious(MedicalSpecialty): See: https://schema.org/Infectious Model depth: 6 """ - type_: str = Field("Infectious", alias='@type') + type_: str = Field(default="Infectious", alias='@type') - diff --git a/pydantic_schemaorg/InfectiousAgentClass.py b/pydantic_schemaorg/InfectiousAgentClass.py index 4cb3a51c..4fbb3a9f 100644 --- a/pydantic_schemaorg/InfectiousAgentClass.py +++ b/pydantic_schemaorg/InfectiousAgentClass.py @@ -11,6 +11,5 @@ class InfectiousAgentClass(MedicalEnumeration): See: https://schema.org/InfectiousAgentClass Model depth: 5 """ - type_: str = Field("InfectiousAgentClass", alias='@type') + type_: str = Field(default="InfectiousAgentClass", alias='@type') - diff --git a/pydantic_schemaorg/InfectiousDisease.py b/pydantic_schemaorg/InfectiousDisease.py index 2f7dec64..07bac5b6 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("InfectiousDisease", alias='@type') + type_: str = Field(default="InfectiousDisease", alias='@type') 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" @@ -33,7 +33,6 @@ class InfectiousDisease(MedicalCondition): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text from pydantic_schemaorg.InfectiousAgentClass import InfectiousAgentClass diff --git a/pydantic_schemaorg/InformAction.py b/pydantic_schemaorg/InformAction.py index 2bb8de4b..79946472 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("InformAction", alias='@type') + type_: str = Field(default="InformAction", alias='@type') 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 c7d25420..a1b6e5b1 100644 --- a/pydantic_schemaorg/IngredientsHealthAspect.py +++ b/pydantic_schemaorg/IngredientsHealthAspect.py @@ -11,6 +11,5 @@ class IngredientsHealthAspect(HealthAspectEnumeration): See: https://schema.org/IngredientsHealthAspect Model depth: 5 """ - type_: str = Field("IngredientsHealthAspect", alias='@type') + type_: str = Field(default="IngredientsHealthAspect", alias='@type') - diff --git a/pydantic_schemaorg/InsertAction.py b/pydantic_schemaorg/InsertAction.py index c3bf4566..26680a32 100644 --- a/pydantic_schemaorg/InsertAction.py +++ b/pydantic_schemaorg/InsertAction.py @@ -14,13 +14,12 @@ class InsertAction(AddAction): See: https://schema.org/InsertAction Model depth: 5 """ - type_: str = Field("InsertAction", alias='@type') + type_: str = Field(default="InsertAction", alias='@type') 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.", ) - if TYPE_CHECKING: from pydantic_schemaorg.Place import Place diff --git a/pydantic_schemaorg/InstallAction.py b/pydantic_schemaorg/InstallAction.py index 8100136a..0918a751 100644 --- a/pydantic_schemaorg/InstallAction.py +++ b/pydantic_schemaorg/InstallAction.py @@ -11,6 +11,5 @@ class InstallAction(ConsumeAction): See: https://schema.org/InstallAction Model depth: 4 """ - type_: str = Field("InstallAction", alias='@type') + type_: str = Field(default="InstallAction", alias='@type') - diff --git a/pydantic_schemaorg/Installment.py b/pydantic_schemaorg/Installment.py index 72bade79..c3be056c 100644 --- a/pydantic_schemaorg/Installment.py +++ b/pydantic_schemaorg/Installment.py @@ -11,6 +11,5 @@ class Installment(PriceComponentTypeEnumeration): See: https://schema.org/Installment Model depth: 5 """ - type_: str = Field("Installment", alias='@type') + type_: str = Field(default="Installment", alias='@type') - diff --git a/pydantic_schemaorg/InsuranceAgency.py b/pydantic_schemaorg/InsuranceAgency.py index 64bdd6eb..a60bb4e4 100644 --- a/pydantic_schemaorg/InsuranceAgency.py +++ b/pydantic_schemaorg/InsuranceAgency.py @@ -11,6 +11,5 @@ class InsuranceAgency(FinancialService): See: https://schema.org/InsuranceAgency Model depth: 5 """ - type_: str = Field("InsuranceAgency", alias='@type') + type_: str = Field(default="InsuranceAgency", alias='@type') - diff --git a/pydantic_schemaorg/Intangible.py b/pydantic_schemaorg/Intangible.py index 7efffd62..b739ad42 100644 --- a/pydantic_schemaorg/Intangible.py +++ b/pydantic_schemaorg/Intangible.py @@ -12,6 +12,6 @@ class Intangible(Thing): See: https://schema.org/Intangible Model depth: 2 """ - type_: str = Field("Intangible", alias='@type') + type_: str = Field(default="Intangible", alias='@type') diff --git a/pydantic_schemaorg/Integer.py b/pydantic_schemaorg/Integer.py index adeb217c..5853bd46 100644 --- a/pydantic_schemaorg/Integer.py +++ b/pydantic_schemaorg/Integer.py @@ -11,6 +11,5 @@ class Integer(Number): See: https://schema.org/Integer Model depth: 6 """ - type_: str = Field("Integer", alias='@type') + type_: str = Field(default="Integer", alias='@type') - diff --git a/pydantic_schemaorg/InteractAction.py b/pydantic_schemaorg/InteractAction.py index d6706143..7ea30589 100644 --- a/pydantic_schemaorg/InteractAction.py +++ b/pydantic_schemaorg/InteractAction.py @@ -11,6 +11,6 @@ class InteractAction(Action): See: https://schema.org/InteractAction Model depth: 3 """ - type_: str = Field("InteractAction", alias='@type') + type_: str = Field(default="InteractAction", alias='@type') diff --git a/pydantic_schemaorg/InteractionCounter.py b/pydantic_schemaorg/InteractionCounter.py index 06ab5b64..684e54e6 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("InteractionCounter", alias='@type') + type_: str = Field(default="InteractionCounter", alias='@type') 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.", @@ -27,7 +27,7 @@ class InteractionCounter(StructuredValue): description="The Action representing the type of interaction. For up votes, +1s, etc. use [[LikeAction]]." "For down votes use [[DislikeAction]]. Otherwise, use the most specific Action.", ) - location: Optional[Union[List[Union[str, 'Text', 'Place', 'VirtualLocation', 'PostalAddress']], str, 'Text', 'Place', 'VirtualLocation', 'PostalAddress']] = Field( + location: Optional[Union[List[Union[str, 'Text', 'VirtualLocation', 'Place', 'PostalAddress']], str, 'Text', 'VirtualLocation', 'Place', 'PostalAddress']] = Field( default=None, description="The location of, for example, where an event is happening, where an organization is located," "or where an action takes place.", @@ -56,13 +56,12 @@ class InteractionCounter(StructuredValue): ) - if TYPE_CHECKING: from pydantic_schemaorg.Integer import Integer from pydantic_schemaorg.Action import Action from pydantic_schemaorg.Text import Text - from pydantic_schemaorg.Place import Place from pydantic_schemaorg.VirtualLocation import VirtualLocation + from pydantic_schemaorg.Place import Place from pydantic_schemaorg.PostalAddress import PostalAddress from pydantic_schemaorg.DateTime import DateTime from pydantic_schemaorg.Time import Time diff --git a/pydantic_schemaorg/InternationalTrial.py b/pydantic_schemaorg/InternationalTrial.py index ebeeb4bc..ecd4999e 100644 --- a/pydantic_schemaorg/InternationalTrial.py +++ b/pydantic_schemaorg/InternationalTrial.py @@ -11,6 +11,5 @@ class InternationalTrial(MedicalTrialDesign): See: https://schema.org/InternationalTrial Model depth: 6 """ - type_: str = Field("InternationalTrial", alias='@type') + type_: str = Field(default="InternationalTrial", alias='@type') - diff --git a/pydantic_schemaorg/InternetCafe.py b/pydantic_schemaorg/InternetCafe.py index 99da0d30..72b31e7e 100644 --- a/pydantic_schemaorg/InternetCafe.py +++ b/pydantic_schemaorg/InternetCafe.py @@ -11,6 +11,5 @@ class InternetCafe(LocalBusiness): See: https://schema.org/InternetCafe Model depth: 4 """ - type_: str = Field("InternetCafe", alias='@type') + type_: str = Field(default="InternetCafe", alias='@type') - diff --git a/pydantic_schemaorg/InvestmentFund.py b/pydantic_schemaorg/InvestmentFund.py index 2c943d10..82cce822 100644 --- a/pydantic_schemaorg/InvestmentFund.py +++ b/pydantic_schemaorg/InvestmentFund.py @@ -12,6 +12,5 @@ class InvestmentFund(InvestmentOrDeposit): See: https://schema.org/InvestmentFund Model depth: 6 """ - type_: str = Field("InvestmentFund", alias='@type') + type_: str = Field(default="InvestmentFund", alias='@type') - diff --git a/pydantic_schemaorg/InvestmentOrDeposit.py b/pydantic_schemaorg/InvestmentOrDeposit.py index 326453d2..b3d1246a 100644 --- a/pydantic_schemaorg/InvestmentOrDeposit.py +++ b/pydantic_schemaorg/InvestmentOrDeposit.py @@ -16,14 +16,13 @@ class InvestmentOrDeposit(FinancialProduct): See: https://schema.org/InvestmentOrDeposit Model depth: 5 """ - type_: str = Field("InvestmentOrDeposit", alias='@type') + type_: str = Field(default="InvestmentOrDeposit", alias='@type') amount: Optional[Union[List[Union[Decimal, 'Number', 'MonetaryAmount', str]], Decimal, 'Number', 'MonetaryAmount', str]] = Field( default=None, description="The amount of money.", ) - if TYPE_CHECKING: from pydantic_schemaorg.Number import Number from pydantic_schemaorg.MonetaryAmount import MonetaryAmount diff --git a/pydantic_schemaorg/InviteAction.py b/pydantic_schemaorg/InviteAction.py index 6a6ed436..cc6dd1c3 100644 --- a/pydantic_schemaorg/InviteAction.py +++ b/pydantic_schemaorg/InviteAction.py @@ -14,13 +14,12 @@ class InviteAction(CommunicateAction): See: https://schema.org/InviteAction Model depth: 5 """ - type_: str = Field("InviteAction", alias='@type') + type_: str = Field(default="InviteAction", alias='@type') event: Optional[Union[List[Union['Event', str]], 'Event', str]] = Field( default=None, description="Upcoming or past event associated with this place, organization, or action.", ) - if TYPE_CHECKING: from pydantic_schemaorg.Event import Event diff --git a/pydantic_schemaorg/Invoice.py b/pydantic_schemaorg/Invoice.py index 4dff4f88..e82f4ffa 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("Invoice", alias='@type') + type_: str = Field(default="Invoice", alias='@type') 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." @@ -90,7 +90,6 @@ class Invoice(Intangible): ) - if TYPE_CHECKING: from pydantic_schemaorg.DateTime import DateTime from pydantic_schemaorg.Text import Text @@ -99,8 +98,8 @@ class Invoice(Intangible): from pydantic_schemaorg.Thing import Thing from pydantic_schemaorg.PhysicalActivityCategory import PhysicalActivityCategory 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.PriceSpecification import PriceSpecification from pydantic_schemaorg.MonetaryAmount import MonetaryAmount from pydantic_schemaorg.Date import Date diff --git a/pydantic_schemaorg/InvoicePrice.py b/pydantic_schemaorg/InvoicePrice.py index 458c2791..d1217c03 100644 --- a/pydantic_schemaorg/InvoicePrice.py +++ b/pydantic_schemaorg/InvoicePrice.py @@ -11,6 +11,5 @@ class InvoicePrice(PriceTypeEnumeration): See: https://schema.org/InvoicePrice Model depth: 5 """ - type_: str = Field("InvoicePrice", alias='@type') + type_: str = Field(default="InvoicePrice", alias='@type') - diff --git a/pydantic_schemaorg/ItemAvailability.py b/pydantic_schemaorg/ItemAvailability.py index ae2db78d..7413a57d 100644 --- a/pydantic_schemaorg/ItemAvailability.py +++ b/pydantic_schemaorg/ItemAvailability.py @@ -11,6 +11,6 @@ class ItemAvailability(Enumeration): See: https://schema.org/ItemAvailability Model depth: 4 """ - type_: str = Field("ItemAvailability", alias='@type') + type_: str = Field(default="ItemAvailability", alias='@type') diff --git a/pydantic_schemaorg/ItemList.py b/pydantic_schemaorg/ItemList.py index 1f24fc7b..f3ff38af 100644 --- a/pydantic_schemaorg/ItemList.py +++ b/pydantic_schemaorg/ItemList.py @@ -15,8 +15,8 @@ class ItemList(Intangible): See: https://schema.org/ItemList Model depth: 3 """ - type_: str = Field("ItemList", alias='@type') - itemListElement: Optional[Union[List[Union[str, 'Text', 'Thing', 'ListItem']], str, 'Text', 'Thing', 'ListItem']] = Field( + type_: str = Field(default="ItemList", alias='@type') + itemListElement: Optional[Union[List[Union[str, 'Text', 'ListItem', 'Thing']], str, 'Text', 'ListItem', 'Thing']] = Field( default=None, description="For itemListElement values, you can use simple strings (e.g. \"Peter\", \"Paul\"," "\"Mary\"), existing entities, or use ListItem. Text values are best if the elements" @@ -39,10 +39,9 @@ class ItemList(Intangible): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text - from pydantic_schemaorg.Thing import Thing from pydantic_schemaorg.ListItem import ListItem + from pydantic_schemaorg.Thing import Thing from pydantic_schemaorg.Integer import Integer from pydantic_schemaorg.ItemListOrderType import ItemListOrderType diff --git a/pydantic_schemaorg/ItemListOrderAscending.py b/pydantic_schemaorg/ItemListOrderAscending.py index 823bef2b..b328b50d 100644 --- a/pydantic_schemaorg/ItemListOrderAscending.py +++ b/pydantic_schemaorg/ItemListOrderAscending.py @@ -11,6 +11,5 @@ class ItemListOrderAscending(ItemListOrderType): See: https://schema.org/ItemListOrderAscending Model depth: 5 """ - type_: str = Field("ItemListOrderAscending", alias='@type') + type_: str = Field(default="ItemListOrderAscending", alias='@type') - diff --git a/pydantic_schemaorg/ItemListOrderDescending.py b/pydantic_schemaorg/ItemListOrderDescending.py index 6135fb97..4d247f19 100644 --- a/pydantic_schemaorg/ItemListOrderDescending.py +++ b/pydantic_schemaorg/ItemListOrderDescending.py @@ -11,6 +11,5 @@ class ItemListOrderDescending(ItemListOrderType): See: https://schema.org/ItemListOrderDescending Model depth: 5 """ - type_: str = Field("ItemListOrderDescending", alias='@type') + type_: str = Field(default="ItemListOrderDescending", alias='@type') - diff --git a/pydantic_schemaorg/ItemListOrderType.py b/pydantic_schemaorg/ItemListOrderType.py index 50136895..fb7ae0b5 100644 --- a/pydantic_schemaorg/ItemListOrderType.py +++ b/pydantic_schemaorg/ItemListOrderType.py @@ -11,6 +11,6 @@ class ItemListOrderType(Enumeration): See: https://schema.org/ItemListOrderType Model depth: 4 """ - type_: str = Field("ItemListOrderType", alias='@type') + type_: str = Field(default="ItemListOrderType", alias='@type') diff --git a/pydantic_schemaorg/ItemListUnordered.py b/pydantic_schemaorg/ItemListUnordered.py index 6b4afb6e..fc1e4669 100644 --- a/pydantic_schemaorg/ItemListUnordered.py +++ b/pydantic_schemaorg/ItemListUnordered.py @@ -11,6 +11,6 @@ class ItemListUnordered(ItemListOrderType): See: https://schema.org/ItemListUnordered Model depth: 5 """ - type_: str = Field("ItemListUnordered", alias='@type') + type_: str = Field(default="ItemListUnordered", alias='@type') diff --git a/pydantic_schemaorg/ItemPage.py b/pydantic_schemaorg/ItemPage.py index c56120d4..58d3d96a 100644 --- a/pydantic_schemaorg/ItemPage.py +++ b/pydantic_schemaorg/ItemPage.py @@ -11,6 +11,5 @@ class ItemPage(WebPage): See: https://schema.org/ItemPage Model depth: 4 """ - type_: str = Field("ItemPage", alias='@type') + type_: str = Field(default="ItemPage", alias='@type') - diff --git a/pydantic_schemaorg/JewelryStore.py b/pydantic_schemaorg/JewelryStore.py index 05a0845b..2508eb6d 100644 --- a/pydantic_schemaorg/JewelryStore.py +++ b/pydantic_schemaorg/JewelryStore.py @@ -11,6 +11,5 @@ class JewelryStore(Store): See: https://schema.org/JewelryStore Model depth: 5 """ - type_: str = Field("JewelryStore", alias='@type') + type_: str = Field(default="JewelryStore", alias='@type') - diff --git a/pydantic_schemaorg/JobPosting.py b/pydantic_schemaorg/JobPosting.py index 89f5670b..86226403 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("JobPosting", alias='@type') + type_: str = Field(default="JobPosting", alias='@type') 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.", @@ -200,7 +200,6 @@ class JobPosting(Intangible): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text from pydantic_schemaorg.OccupationalExperienceRequirements import OccupationalExperienceRequirements diff --git a/pydantic_schemaorg/JoinAction.py b/pydantic_schemaorg/JoinAction.py index baaff837..c92d11e8 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("JoinAction", alias='@type') + type_: str = Field(default="JoinAction", alias='@type') 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 f3783809..6e7490e2 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("Joint", alias='@type') + type_: str = Field(default="Joint", alias='@type') functionalClass: Optional[Union[List[Union[str, 'Text', 'MedicalEntity']], str, 'Text', 'MedicalEntity']] = Field( default=None, description="The degree of mobility the joint allows.", @@ -29,7 +29,6 @@ class Joint(AnatomicalStructure): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text from pydantic_schemaorg.MedicalEntity import MedicalEntity diff --git a/pydantic_schemaorg/KosherDiet.py b/pydantic_schemaorg/KosherDiet.py index 7f245774..453f9329 100644 --- a/pydantic_schemaorg/KosherDiet.py +++ b/pydantic_schemaorg/KosherDiet.py @@ -11,6 +11,5 @@ class KosherDiet(RestrictedDiet): See: https://schema.org/KosherDiet Model depth: 5 """ - type_: str = Field("KosherDiet", alias='@type') + type_: str = Field(default="KosherDiet", alias='@type') - diff --git a/pydantic_schemaorg/LaboratoryScience.py b/pydantic_schemaorg/LaboratoryScience.py index 63fd9323..8f617a00 100644 --- a/pydantic_schemaorg/LaboratoryScience.py +++ b/pydantic_schemaorg/LaboratoryScience.py @@ -12,6 +12,5 @@ class LaboratoryScience(MedicalSpecialty): See: https://schema.org/LaboratoryScience Model depth: 6 """ - type_: str = Field("LaboratoryScience", alias='@type') + type_: str = Field(default="LaboratoryScience", alias='@type') - diff --git a/pydantic_schemaorg/LakeBodyOfWater.py b/pydantic_schemaorg/LakeBodyOfWater.py index f1314243..0a6c90c1 100644 --- a/pydantic_schemaorg/LakeBodyOfWater.py +++ b/pydantic_schemaorg/LakeBodyOfWater.py @@ -11,6 +11,5 @@ class LakeBodyOfWater(BodyOfWater): See: https://schema.org/LakeBodyOfWater Model depth: 5 """ - type_: str = Field("LakeBodyOfWater", alias='@type') + type_: str = Field(default="LakeBodyOfWater", alias='@type') - diff --git a/pydantic_schemaorg/Landform.py b/pydantic_schemaorg/Landform.py index 2e62e3f9..a574ebec 100644 --- a/pydantic_schemaorg/Landform.py +++ b/pydantic_schemaorg/Landform.py @@ -14,6 +14,5 @@ class Landform(Place): See: https://schema.org/Landform Model depth: 3 """ - type_: str = Field("Landform", alias='@type') + type_: str = Field(default="Landform", alias='@type') - diff --git a/pydantic_schemaorg/LandmarksOrHistoricalBuildings.py b/pydantic_schemaorg/LandmarksOrHistoricalBuildings.py index 44ed8ea3..7ebfc63c 100644 --- a/pydantic_schemaorg/LandmarksOrHistoricalBuildings.py +++ b/pydantic_schemaorg/LandmarksOrHistoricalBuildings.py @@ -11,6 +11,5 @@ class LandmarksOrHistoricalBuildings(Place): See: https://schema.org/LandmarksOrHistoricalBuildings Model depth: 3 """ - type_: str = Field("LandmarksOrHistoricalBuildings", alias='@type') + type_: str = Field(default="LandmarksOrHistoricalBuildings", alias='@type') - diff --git a/pydantic_schemaorg/Language.py b/pydantic_schemaorg/Language.py index 237ed64c..c17918af 100644 --- a/pydantic_schemaorg/Language.py +++ b/pydantic_schemaorg/Language.py @@ -15,6 +15,5 @@ class Language(Intangible): See: https://schema.org/Language Model depth: 3 """ - type_: str = Field("Language", alias='@type') + type_: str = Field(default="Language", alias='@type') - diff --git a/pydantic_schemaorg/LaserDiscFormat.py b/pydantic_schemaorg/LaserDiscFormat.py index 7929595e..1f452890 100644 --- a/pydantic_schemaorg/LaserDiscFormat.py +++ b/pydantic_schemaorg/LaserDiscFormat.py @@ -11,6 +11,5 @@ class LaserDiscFormat(MusicReleaseFormatType): See: https://schema.org/LaserDiscFormat Model depth: 5 """ - type_: str = Field("LaserDiscFormat", alias='@type') + type_: str = Field(default="LaserDiscFormat", alias='@type') - diff --git a/pydantic_schemaorg/LearningResource.py b/pydantic_schemaorg/LearningResource.py index a71b337b..76a98273 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("LearningResource", alias='@type') + type_: str = Field(default="LearningResource", alias='@type') 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 934ddd9c..d504dc5b 100644 --- a/pydantic_schemaorg/LeaveAction.py +++ b/pydantic_schemaorg/LeaveAction.py @@ -16,13 +16,12 @@ class LeaveAction(InteractAction): See: https://schema.org/LeaveAction Model depth: 4 """ - type_: str = Field("LeaveAction", alias='@type') + type_: str = Field(default="LeaveAction", alias='@type') event: Optional[Union[List[Union['Event', str]], 'Event', str]] = Field( default=None, description="Upcoming or past event associated with this place, organization, or action.", ) - if TYPE_CHECKING: from pydantic_schemaorg.Event import Event diff --git a/pydantic_schemaorg/LeftHandDriving.py b/pydantic_schemaorg/LeftHandDriving.py index 60086bee..dc91f776 100644 --- a/pydantic_schemaorg/LeftHandDriving.py +++ b/pydantic_schemaorg/LeftHandDriving.py @@ -12,6 +12,5 @@ class LeftHandDriving(SteeringPositionValue): See: https://schema.org/LeftHandDriving Model depth: 6 """ - type_: str = Field("LeftHandDriving", alias='@type') + type_: str = Field(default="LeftHandDriving", alias='@type') - diff --git a/pydantic_schemaorg/LegalForceStatus.py b/pydantic_schemaorg/LegalForceStatus.py index 854bf391..2b8b621f 100644 --- a/pydantic_schemaorg/LegalForceStatus.py +++ b/pydantic_schemaorg/LegalForceStatus.py @@ -11,6 +11,6 @@ class LegalForceStatus(StatusEnumeration): See: https://schema.org/LegalForceStatus Model depth: 5 """ - type_: str = Field("LegalForceStatus", alias='@type') + type_: str = Field(default="LegalForceStatus", alias='@type') diff --git a/pydantic_schemaorg/LegalService.py b/pydantic_schemaorg/LegalService.py index bd897499..974adad3 100644 --- a/pydantic_schemaorg/LegalService.py +++ b/pydantic_schemaorg/LegalService.py @@ -13,6 +13,5 @@ class LegalService(LocalBusiness): See: https://schema.org/LegalService Model depth: 4 """ - type_: str = Field("LegalService", alias='@type') + type_: str = Field(default="LegalService", alias='@type') - diff --git a/pydantic_schemaorg/LegalValueLevel.py b/pydantic_schemaorg/LegalValueLevel.py index dae9c4dc..8e880a35 100644 --- a/pydantic_schemaorg/LegalValueLevel.py +++ b/pydantic_schemaorg/LegalValueLevel.py @@ -11,6 +11,6 @@ class LegalValueLevel(Enumeration): See: https://schema.org/LegalValueLevel Model depth: 4 """ - type_: str = Field("LegalValueLevel", alias='@type') + type_: str = Field(default="LegalValueLevel", alias='@type') diff --git a/pydantic_schemaorg/Legislation.py b/pydantic_schemaorg/Legislation.py index 76b5ca94..75b15a4d 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("Legislation", alias='@type') - legislationPassedBy: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + type_: str = Field(default="Legislation", alias='@type') + 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" @@ -102,10 +102,9 @@ 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 c6553518..13779d0a 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("LegislationObject", alias='@type') + type_: str = Field(default="LegislationObject", alias='@type') 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" @@ -26,6 +26,5 @@ class LegislationObject(MediaObject, Legislation): ) - if TYPE_CHECKING: from pydantic_schemaorg.LegalValueLevel import LegalValueLevel diff --git a/pydantic_schemaorg/LegislativeBuilding.py b/pydantic_schemaorg/LegislativeBuilding.py index 10f48b0e..b8654296 100644 --- a/pydantic_schemaorg/LegislativeBuilding.py +++ b/pydantic_schemaorg/LegislativeBuilding.py @@ -11,6 +11,6 @@ class LegislativeBuilding(GovernmentBuilding): See: https://schema.org/LegislativeBuilding Model depth: 5 """ - type_: str = Field("LegislativeBuilding", alias='@type') + type_: str = Field(default="LegislativeBuilding", alias='@type') diff --git a/pydantic_schemaorg/LeisureTimeActivity.py b/pydantic_schemaorg/LeisureTimeActivity.py index 898cd468..eea3db54 100644 --- a/pydantic_schemaorg/LeisureTimeActivity.py +++ b/pydantic_schemaorg/LeisureTimeActivity.py @@ -12,6 +12,6 @@ class LeisureTimeActivity(PhysicalActivityCategory): See: https://schema.org/LeisureTimeActivity Model depth: 5 """ - type_: str = Field("LeisureTimeActivity", alias='@type') + type_: str = Field(default="LeisureTimeActivity", alias='@type') diff --git a/pydantic_schemaorg/LendAction.py b/pydantic_schemaorg/LendAction.py index 480041c3..81787744 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("LendAction", alias='@type') + type_: str = Field(default="LendAction", alias='@type') 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 ec87fb2c..57d85869 100644 --- a/pydantic_schemaorg/Library.py +++ b/pydantic_schemaorg/Library.py @@ -11,6 +11,5 @@ class Library(LocalBusiness): See: https://schema.org/Library Model depth: 4 """ - type_: str = Field("Library", alias='@type') + type_: str = Field(default="Library", alias='@type') - diff --git a/pydantic_schemaorg/LibrarySystem.py b/pydantic_schemaorg/LibrarySystem.py index 0f30b16e..b87de93d 100644 --- a/pydantic_schemaorg/LibrarySystem.py +++ b/pydantic_schemaorg/LibrarySystem.py @@ -11,6 +11,5 @@ class LibrarySystem(Organization): See: https://schema.org/LibrarySystem Model depth: 3 """ - type_: str = Field("LibrarySystem", alias='@type') + type_: str = Field(default="LibrarySystem", alias='@type') - diff --git a/pydantic_schemaorg/LifestyleModification.py b/pydantic_schemaorg/LifestyleModification.py index 9e37c9ec..e1d79417 100644 --- a/pydantic_schemaorg/LifestyleModification.py +++ b/pydantic_schemaorg/LifestyleModification.py @@ -12,6 +12,6 @@ class LifestyleModification(MedicalEntity): See: https://schema.org/LifestyleModification Model depth: 3 """ - type_: str = Field("LifestyleModification", alias='@type') + type_: str = Field(default="LifestyleModification", alias='@type') diff --git a/pydantic_schemaorg/Ligament.py b/pydantic_schemaorg/Ligament.py index 40d55242..f2464157 100644 --- a/pydantic_schemaorg/Ligament.py +++ b/pydantic_schemaorg/Ligament.py @@ -12,6 +12,5 @@ class Ligament(AnatomicalStructure): See: https://schema.org/Ligament Model depth: 4 """ - type_: str = Field("Ligament", alias='@type') + type_: str = Field(default="Ligament", alias='@type') - diff --git a/pydantic_schemaorg/LikeAction.py b/pydantic_schemaorg/LikeAction.py index 8db2b6aa..e9cb797b 100644 --- a/pydantic_schemaorg/LikeAction.py +++ b/pydantic_schemaorg/LikeAction.py @@ -12,6 +12,5 @@ class LikeAction(ReactAction): See: https://schema.org/LikeAction Model depth: 5 """ - type_: str = Field("LikeAction", alias='@type') + type_: str = Field(default="LikeAction", alias='@type') - diff --git a/pydantic_schemaorg/LimitedAvailability.py b/pydantic_schemaorg/LimitedAvailability.py index d2e37ef4..ef03a4f4 100644 --- a/pydantic_schemaorg/LimitedAvailability.py +++ b/pydantic_schemaorg/LimitedAvailability.py @@ -11,6 +11,5 @@ class LimitedAvailability(ItemAvailability): See: https://schema.org/LimitedAvailability Model depth: 5 """ - type_: str = Field("LimitedAvailability", alias='@type') + type_: str = Field(default="LimitedAvailability", alias='@type') - diff --git a/pydantic_schemaorg/LimitedByGuaranteeCharity.py b/pydantic_schemaorg/LimitedByGuaranteeCharity.py index 9f2936d5..c95ec56a 100644 --- a/pydantic_schemaorg/LimitedByGuaranteeCharity.py +++ b/pydantic_schemaorg/LimitedByGuaranteeCharity.py @@ -12,6 +12,5 @@ class LimitedByGuaranteeCharity(UKNonprofitType): See: https://schema.org/LimitedByGuaranteeCharity Model depth: 6 """ - type_: str = Field("LimitedByGuaranteeCharity", alias='@type') + type_: str = Field(default="LimitedByGuaranteeCharity", alias='@type') - diff --git a/pydantic_schemaorg/LinkRole.py b/pydantic_schemaorg/LinkRole.py index a1aede63..788184c1 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("LinkRole", alias='@type') + type_: str = Field(default="LinkRole", alias='@type') linkRelationship: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="Indicates the relationship type of a Web link.", @@ -30,7 +30,6 @@ class LinkRole(Role): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text from pydantic_schemaorg.Language import Language diff --git a/pydantic_schemaorg/LiquorStore.py b/pydantic_schemaorg/LiquorStore.py index e1f712a3..93e8227d 100644 --- a/pydantic_schemaorg/LiquorStore.py +++ b/pydantic_schemaorg/LiquorStore.py @@ -11,6 +11,5 @@ class LiquorStore(Store): See: https://schema.org/LiquorStore Model depth: 5 """ - type_: str = Field("LiquorStore", alias='@type') + type_: str = Field(default="LiquorStore", alias='@type') - diff --git a/pydantic_schemaorg/ListItem.py b/pydantic_schemaorg/ListItem.py index 5c121586..ab1f998b 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("ListItem", alias='@type') + type_: str = Field(default="ListItem", alias='@type') 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.", @@ -33,7 +33,6 @@ class ListItem(Intangible): ) - if TYPE_CHECKING: from pydantic_schemaorg.Integer import Integer from pydantic_schemaorg.Text import Text diff --git a/pydantic_schemaorg/ListPrice.py b/pydantic_schemaorg/ListPrice.py index 26aaf5aa..2e55f76e 100644 --- a/pydantic_schemaorg/ListPrice.py +++ b/pydantic_schemaorg/ListPrice.py @@ -12,6 +12,5 @@ class ListPrice(PriceTypeEnumeration): See: https://schema.org/ListPrice Model depth: 5 """ - type_: str = Field("ListPrice", alias='@type') + type_: str = Field(default="ListPrice", alias='@type') - diff --git a/pydantic_schemaorg/ListenAction.py b/pydantic_schemaorg/ListenAction.py index 03a81e9e..06d3428a 100644 --- a/pydantic_schemaorg/ListenAction.py +++ b/pydantic_schemaorg/ListenAction.py @@ -11,6 +11,6 @@ class ListenAction(ConsumeAction): See: https://schema.org/ListenAction Model depth: 4 """ - type_: str = Field("ListenAction", alias='@type') + type_: str = Field(default="ListenAction", alias='@type') diff --git a/pydantic_schemaorg/LiteraryEvent.py b/pydantic_schemaorg/LiteraryEvent.py index f6f81130..3a375657 100644 --- a/pydantic_schemaorg/LiteraryEvent.py +++ b/pydantic_schemaorg/LiteraryEvent.py @@ -11,6 +11,5 @@ class LiteraryEvent(Event): See: https://schema.org/LiteraryEvent Model depth: 3 """ - type_: str = Field("LiteraryEvent", alias='@type') + type_: str = Field(default="LiteraryEvent", alias='@type') - diff --git a/pydantic_schemaorg/LiveAlbum.py b/pydantic_schemaorg/LiveAlbum.py index 1e1a30aa..b5edef0c 100644 --- a/pydantic_schemaorg/LiveAlbum.py +++ b/pydantic_schemaorg/LiveAlbum.py @@ -11,6 +11,5 @@ class LiveAlbum(MusicAlbumProductionType): See: https://schema.org/LiveAlbum Model depth: 5 """ - type_: str = Field("LiveAlbum", alias='@type') + type_: str = Field(default="LiveAlbum", alias='@type') - diff --git a/pydantic_schemaorg/LiveBlogPosting.py b/pydantic_schemaorg/LiveBlogPosting.py index 17a9d525..c949c9c5 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("LiveBlogPosting", alias='@type') + type_: str = Field(default="LiveBlogPosting", alias='@type') 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" @@ -34,7 +34,6 @@ class LiveBlogPosting(BlogPosting): ) - if TYPE_CHECKING: from pydantic_schemaorg.DateTime import DateTime from pydantic_schemaorg.BlogPosting import BlogPosting diff --git a/pydantic_schemaorg/LivingWithHealthAspect.py b/pydantic_schemaorg/LivingWithHealthAspect.py index 2aa83ea7..a5681962 100644 --- a/pydantic_schemaorg/LivingWithHealthAspect.py +++ b/pydantic_schemaorg/LivingWithHealthAspect.py @@ -11,6 +11,5 @@ class LivingWithHealthAspect(HealthAspectEnumeration): See: https://schema.org/LivingWithHealthAspect Model depth: 5 """ - type_: str = Field("LivingWithHealthAspect", alias='@type') + type_: str = Field(default="LivingWithHealthAspect", alias='@type') - diff --git a/pydantic_schemaorg/LoanOrCredit.py b/pydantic_schemaorg/LoanOrCredit.py index 89866a01..7bbaccdb 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("LoanOrCredit", alias='@type') + type_: str = Field(default="LoanOrCredit", alias='@type') 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" @@ -65,7 +65,6 @@ class LoanOrCredit(FinancialProduct): ) - if TYPE_CHECKING: from pydantic_schemaorg.RepaymentSpecification import RepaymentSpecification from pydantic_schemaorg.Text import Text diff --git a/pydantic_schemaorg/LocalBusiness.py b/pydantic_schemaorg/LocalBusiness.py index 3d442a0a..bb95b1d4 100644 --- a/pydantic_schemaorg/LocalBusiness.py +++ b/pydantic_schemaorg/LocalBusiness.py @@ -5,11 +5,11 @@ from pydantic import Field -from pydantic_schemaorg.Organization import Organization from pydantic_schemaorg.Place import Place +from pydantic_schemaorg.Organization import Organization -class LocalBusiness(Organization, Place): +class LocalBusiness(Place, Organization): """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(Organization, Place): See: https://schema.org/LocalBusiness Model depth: 3 """ - type_: str = Field("LocalBusiness", alias='@type') + type_: str = Field(default="LocalBusiness", alias='@type') 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 3630cbb4..78139321 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("LocationFeatureSpecification", alias='@type') + type_: str = Field(default="LocationFeatureSpecification", alias='@type') 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 67ad269e..03fa303e 100644 --- a/pydantic_schemaorg/LockerDelivery.py +++ b/pydantic_schemaorg/LockerDelivery.py @@ -11,6 +11,5 @@ class LockerDelivery(DeliveryMethod): See: https://schema.org/LockerDelivery Model depth: 5 """ - type_: str = Field("LockerDelivery", alias='@type') + type_: str = Field(default="LockerDelivery", alias='@type') - diff --git a/pydantic_schemaorg/Locksmith.py b/pydantic_schemaorg/Locksmith.py index bd46764d..3e5ba3e8 100644 --- a/pydantic_schemaorg/Locksmith.py +++ b/pydantic_schemaorg/Locksmith.py @@ -11,6 +11,5 @@ class Locksmith(HomeAndConstructionBusiness): See: https://schema.org/Locksmith Model depth: 5 """ - type_: str = Field("Locksmith", alias='@type') + type_: str = Field(default="Locksmith", alias='@type') - diff --git a/pydantic_schemaorg/LodgingBusiness.py b/pydantic_schemaorg/LodgingBusiness.py index 6957ce62..032aa874 100644 --- a/pydantic_schemaorg/LodgingBusiness.py +++ b/pydantic_schemaorg/LodgingBusiness.py @@ -18,7 +18,7 @@ class LodgingBusiness(LocalBusiness): See: https://schema.org/LodgingBusiness Model depth: 4 """ - type_: str = Field("LodgingBusiness", alias='@type') + type_: str = Field(default="LodgingBusiness", alias='@type') 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" diff --git a/pydantic_schemaorg/LodgingReservation.py b/pydantic_schemaorg/LodgingReservation.py index 813fc146..a3e004cb 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("LodgingReservation", alias='@type') + type_: str = Field(default="LodgingReservation", alias='@type') lodgingUnitDescription: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="A full description of the lodging unit.", @@ -45,7 +45,6 @@ class LodgingReservation(Reservation): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text from pydantic_schemaorg.Integer import Integer diff --git a/pydantic_schemaorg/Longitudinal.py b/pydantic_schemaorg/Longitudinal.py index bec4f4a9..0f238531 100644 --- a/pydantic_schemaorg/Longitudinal.py +++ b/pydantic_schemaorg/Longitudinal.py @@ -14,6 +14,5 @@ class Longitudinal(MedicalObservationalStudyDesign): See: https://schema.org/Longitudinal Model depth: 6 """ - type_: str = Field("Longitudinal", alias='@type') + type_: str = Field(default="Longitudinal", alias='@type') - diff --git a/pydantic_schemaorg/LoseAction.py b/pydantic_schemaorg/LoseAction.py index 5a6774ea..5b0c59a7 100644 --- a/pydantic_schemaorg/LoseAction.py +++ b/pydantic_schemaorg/LoseAction.py @@ -14,13 +14,12 @@ class LoseAction(AchieveAction): See: https://schema.org/LoseAction Model depth: 4 """ - type_: str = Field("LoseAction", alias='@type') + type_: str = Field(default="LoseAction", alias='@type') winner: Optional[Union[List[Union['Person', str]], 'Person', str]] = Field( default=None, description="A sub property of participant. The winner of the action.", ) - if TYPE_CHECKING: from pydantic_schemaorg.Person import Person diff --git a/pydantic_schemaorg/LowCalorieDiet.py b/pydantic_schemaorg/LowCalorieDiet.py index fc42ec1a..a740439c 100644 --- a/pydantic_schemaorg/LowCalorieDiet.py +++ b/pydantic_schemaorg/LowCalorieDiet.py @@ -11,6 +11,5 @@ class LowCalorieDiet(RestrictedDiet): See: https://schema.org/LowCalorieDiet Model depth: 5 """ - type_: str = Field("LowCalorieDiet", alias='@type') + type_: str = Field(default="LowCalorieDiet", alias='@type') - diff --git a/pydantic_schemaorg/LowFatDiet.py b/pydantic_schemaorg/LowFatDiet.py index 58664e4c..ce26f7b6 100644 --- a/pydantic_schemaorg/LowFatDiet.py +++ b/pydantic_schemaorg/LowFatDiet.py @@ -11,6 +11,5 @@ class LowFatDiet(RestrictedDiet): See: https://schema.org/LowFatDiet Model depth: 5 """ - type_: str = Field("LowFatDiet", alias='@type') + type_: str = Field(default="LowFatDiet", alias='@type') - diff --git a/pydantic_schemaorg/LowLactoseDiet.py b/pydantic_schemaorg/LowLactoseDiet.py index 29c1d9b1..a6a35ca4 100644 --- a/pydantic_schemaorg/LowLactoseDiet.py +++ b/pydantic_schemaorg/LowLactoseDiet.py @@ -11,6 +11,6 @@ class LowLactoseDiet(RestrictedDiet): See: https://schema.org/LowLactoseDiet Model depth: 5 """ - type_: str = Field("LowLactoseDiet", alias='@type') + type_: str = Field(default="LowLactoseDiet", alias='@type') diff --git a/pydantic_schemaorg/LowSaltDiet.py b/pydantic_schemaorg/LowSaltDiet.py index 59e38a76..a52ed11a 100644 --- a/pydantic_schemaorg/LowSaltDiet.py +++ b/pydantic_schemaorg/LowSaltDiet.py @@ -11,6 +11,5 @@ class LowSaltDiet(RestrictedDiet): See: https://schema.org/LowSaltDiet Model depth: 5 """ - type_: str = Field("LowSaltDiet", alias='@type') + type_: str = Field(default="LowSaltDiet", alias='@type') - diff --git a/pydantic_schemaorg/Lung.py b/pydantic_schemaorg/Lung.py index 2c142bd2..71433e3b 100644 --- a/pydantic_schemaorg/Lung.py +++ b/pydantic_schemaorg/Lung.py @@ -11,6 +11,5 @@ class Lung(PhysicalExam): See: https://schema.org/Lung Model depth: 5 """ - type_: str = Field("Lung", alias='@type') + type_: str = Field(default="Lung", alias='@type') - diff --git a/pydantic_schemaorg/LymphaticVessel.py b/pydantic_schemaorg/LymphaticVessel.py index e9a600d3..8ed03593 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("LymphaticVessel", alias='@type') + type_: str = Field(default="LymphaticVessel", alias='@type') originatesFrom: Optional[Union[List[Union['Vessel', str]], 'Vessel', str]] = Field( default=None, description="The vasculature the lymphatic structure originates, or afferents, from.", @@ -31,7 +31,6 @@ class LymphaticVessel(Vessel): ) - if TYPE_CHECKING: from pydantic_schemaorg.Vessel import Vessel from pydantic_schemaorg.AnatomicalSystem import AnatomicalSystem diff --git a/pydantic_schemaorg/MRI.py b/pydantic_schemaorg/MRI.py index ce2ae347..22ff270c 100644 --- a/pydantic_schemaorg/MRI.py +++ b/pydantic_schemaorg/MRI.py @@ -11,6 +11,5 @@ class MRI(MedicalImagingTechnique): See: https://schema.org/MRI Model depth: 6 """ - type_: str = Field("MRI", alias='@type') + type_: str = Field(default="MRI", alias='@type') - diff --git a/pydantic_schemaorg/MSRP.py b/pydantic_schemaorg/MSRP.py index b817b864..b5de8527 100644 --- a/pydantic_schemaorg/MSRP.py +++ b/pydantic_schemaorg/MSRP.py @@ -11,6 +11,5 @@ class MSRP(PriceTypeEnumeration): See: https://schema.org/MSRP Model depth: 5 """ - type_: str = Field("MSRP", alias='@type') + type_: str = Field(default="MSRP", alias='@type') - diff --git a/pydantic_schemaorg/Male.py b/pydantic_schemaorg/Male.py index 8bf36254..6032c347 100644 --- a/pydantic_schemaorg/Male.py +++ b/pydantic_schemaorg/Male.py @@ -11,6 +11,5 @@ class Male(GenderType): See: https://schema.org/Male Model depth: 5 """ - type_: str = Field("Male", alias='@type') + type_: str = Field(default="Male", alias='@type') - diff --git a/pydantic_schemaorg/Manuscript.py b/pydantic_schemaorg/Manuscript.py index 0940bd24..9074e408 100644 --- a/pydantic_schemaorg/Manuscript.py +++ b/pydantic_schemaorg/Manuscript.py @@ -11,6 +11,6 @@ class Manuscript(CreativeWork): See: https://schema.org/Manuscript Model depth: 3 """ - type_: str = Field("Manuscript", alias='@type') + type_: str = Field(default="Manuscript", alias='@type') diff --git a/pydantic_schemaorg/Map.py b/pydantic_schemaorg/Map.py index 88f812bd..09727ba7 100644 --- a/pydantic_schemaorg/Map.py +++ b/pydantic_schemaorg/Map.py @@ -14,13 +14,12 @@ class Map(CreativeWork): See: https://schema.org/Map Model depth: 3 """ - type_: str = Field("Map", alias='@type') + type_: str = Field(default="Map", alias='@type') mapType: Optional[Union[List[Union['MapCategoryType', str]], 'MapCategoryType', str]] = Field( default=None, description="Indicates the kind of Map, from the MapCategoryType Enumeration.", ) - if TYPE_CHECKING: from pydantic_schemaorg.MapCategoryType import MapCategoryType diff --git a/pydantic_schemaorg/MapCategoryType.py b/pydantic_schemaorg/MapCategoryType.py index a577c6a9..9dd45caf 100644 --- a/pydantic_schemaorg/MapCategoryType.py +++ b/pydantic_schemaorg/MapCategoryType.py @@ -11,6 +11,6 @@ class MapCategoryType(Enumeration): See: https://schema.org/MapCategoryType Model depth: 4 """ - type_: str = Field("MapCategoryType", alias='@type') + type_: str = Field(default="MapCategoryType", alias='@type') diff --git a/pydantic_schemaorg/MarryAction.py b/pydantic_schemaorg/MarryAction.py index f2c478d0..34e32c47 100644 --- a/pydantic_schemaorg/MarryAction.py +++ b/pydantic_schemaorg/MarryAction.py @@ -11,6 +11,6 @@ class MarryAction(InteractAction): See: https://schema.org/MarryAction Model depth: 4 """ - type_: str = Field("MarryAction", alias='@type') + type_: str = Field(default="MarryAction", alias='@type') diff --git a/pydantic_schemaorg/Mass.py b/pydantic_schemaorg/Mass.py index c2be6049..46e6feee 100644 --- a/pydantic_schemaorg/Mass.py +++ b/pydantic_schemaorg/Mass.py @@ -12,6 +12,6 @@ class Mass(Quantity): See: https://schema.org/Mass Model depth: 4 """ - type_: str = Field("Mass", alias='@type') + type_: str = Field(default="Mass", alias='@type') diff --git a/pydantic_schemaorg/MathSolver.py b/pydantic_schemaorg/MathSolver.py index 740abb55..f3a38680 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("MathSolver", alias='@type') + type_: str = Field(default="MathSolver", alias='@type') 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 eb57d011..9d5c8f79 100644 --- a/pydantic_schemaorg/MaximumDoseSchedule.py +++ b/pydantic_schemaorg/MaximumDoseSchedule.py @@ -13,6 +13,5 @@ class MaximumDoseSchedule(DoseSchedule): See: https://schema.org/MaximumDoseSchedule Model depth: 5 """ - type_: str = Field("MaximumDoseSchedule", alias='@type') + type_: str = Field(default="MaximumDoseSchedule", alias='@type') - diff --git a/pydantic_schemaorg/MayTreatHealthAspect.py b/pydantic_schemaorg/MayTreatHealthAspect.py index 2664ee3a..82ba870a 100644 --- a/pydantic_schemaorg/MayTreatHealthAspect.py +++ b/pydantic_schemaorg/MayTreatHealthAspect.py @@ -11,6 +11,6 @@ class MayTreatHealthAspect(HealthAspectEnumeration): See: https://schema.org/MayTreatHealthAspect Model depth: 5 """ - type_: str = Field("MayTreatHealthAspect", alias='@type') + type_: str = Field(default="MayTreatHealthAspect", alias='@type') diff --git a/pydantic_schemaorg/MeasurementTypeEnumeration.py b/pydantic_schemaorg/MeasurementTypeEnumeration.py index ce761533..56f6df50 100644 --- a/pydantic_schemaorg/MeasurementTypeEnumeration.py +++ b/pydantic_schemaorg/MeasurementTypeEnumeration.py @@ -12,6 +12,6 @@ class MeasurementTypeEnumeration(Enumeration): See: https://schema.org/MeasurementTypeEnumeration Model depth: 4 """ - type_: str = Field("MeasurementTypeEnumeration", alias='@type') + type_: str = Field(default="MeasurementTypeEnumeration", alias='@type') diff --git a/pydantic_schemaorg/MediaGallery.py b/pydantic_schemaorg/MediaGallery.py index f9633be6..a1b6493f 100644 --- a/pydantic_schemaorg/MediaGallery.py +++ b/pydantic_schemaorg/MediaGallery.py @@ -12,6 +12,6 @@ class MediaGallery(CollectionPage): See: https://schema.org/MediaGallery Model depth: 5 """ - type_: str = Field("MediaGallery", alias='@type') + type_: str = Field(default="MediaGallery", alias='@type') diff --git a/pydantic_schemaorg/MediaManipulationRatingEnumeration.py b/pydantic_schemaorg/MediaManipulationRatingEnumeration.py index a4aad4e6..bf912559 100644 --- a/pydantic_schemaorg/MediaManipulationRatingEnumeration.py +++ b/pydantic_schemaorg/MediaManipulationRatingEnumeration.py @@ -16,6 +16,6 @@ class MediaManipulationRatingEnumeration(Enumeration): See: https://schema.org/MediaManipulationRatingEnumeration Model depth: 4 """ - type_: str = Field("MediaManipulationRatingEnumeration", alias='@type') + type_: str = Field(default="MediaManipulationRatingEnumeration", alias='@type') diff --git a/pydantic_schemaorg/MediaObject.py b/pydantic_schemaorg/MediaObject.py index c1c820e2..ab2c3d7c 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("MediaObject", alias='@type') + type_: str = Field(default="MediaObject", alias='@type') 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" @@ -139,8 +139,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 dfc824ac..0f464e6b 100644 --- a/pydantic_schemaorg/MediaReview.py +++ b/pydantic_schemaorg/MediaReview.py @@ -23,7 +23,7 @@ class MediaReview(Review): See: https://schema.org/MediaReview Model depth: 4 """ - type_: str = Field("MediaReview", alias='@type') + type_: str = Field(default="MediaReview", alias='@type') 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" diff --git a/pydantic_schemaorg/MediaReviewItem.py b/pydantic_schemaorg/MediaReviewItem.py index d15f946c..7c2051f6 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("MediaReviewItem", alias='@type') + type_: str = Field(default="MediaReviewItem", alias='@type') 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 13909921..345b1203 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("MediaSubscription", alias='@type') + type_: str = Field(default="MediaSubscription", alias='@type') 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" @@ -28,7 +28,6 @@ class MediaSubscription(Intangible): ) - if TYPE_CHECKING: from pydantic_schemaorg.Offer import Offer from pydantic_schemaorg.Organization import Organization diff --git a/pydantic_schemaorg/MedicalAudience.py b/pydantic_schemaorg/MedicalAudience.py index 6220b2ad..33090822 100644 --- a/pydantic_schemaorg/MedicalAudience.py +++ b/pydantic_schemaorg/MedicalAudience.py @@ -12,6 +12,5 @@ class MedicalAudience(PeopleAudience, Audience): See: https://schema.org/MedicalAudience Model depth: 4 """ - type_: str = Field("MedicalAudience", alias='@type') + type_: str = Field(default="MedicalAudience", alias='@type') - diff --git a/pydantic_schemaorg/MedicalAudienceType.py b/pydantic_schemaorg/MedicalAudienceType.py index c597a967..d44d8758 100644 --- a/pydantic_schemaorg/MedicalAudienceType.py +++ b/pydantic_schemaorg/MedicalAudienceType.py @@ -11,6 +11,6 @@ class MedicalAudienceType(MedicalEnumeration): See: https://schema.org/MedicalAudienceType Model depth: 5 """ - type_: str = Field("MedicalAudienceType", alias='@type') + type_: str = Field(default="MedicalAudienceType", alias='@type') diff --git a/pydantic_schemaorg/MedicalBusiness.py b/pydantic_schemaorg/MedicalBusiness.py index 91ffecb5..e716c851 100644 --- a/pydantic_schemaorg/MedicalBusiness.py +++ b/pydantic_schemaorg/MedicalBusiness.py @@ -12,6 +12,6 @@ class MedicalBusiness(LocalBusiness): See: https://schema.org/MedicalBusiness Model depth: 4 """ - type_: str = Field("MedicalBusiness", alias='@type') + type_: str = Field(default="MedicalBusiness", alias='@type') diff --git a/pydantic_schemaorg/MedicalCause.py b/pydantic_schemaorg/MedicalCause.py index acbf37dd..fdc631e1 100644 --- a/pydantic_schemaorg/MedicalCause.py +++ b/pydantic_schemaorg/MedicalCause.py @@ -26,13 +26,12 @@ class MedicalCause(MedicalEntity): See: https://schema.org/MedicalCause Model depth: 3 """ - type_: str = Field("MedicalCause", alias='@type') + type_: str = Field(default="MedicalCause", alias='@type') causeOf: Optional[Union[List[Union['MedicalEntity', str]], 'MedicalEntity', str]] = Field( default=None, description="The condition, complication, symptom, sign, etc. caused.", ) - if TYPE_CHECKING: from pydantic_schemaorg.MedicalEntity import MedicalEntity diff --git a/pydantic_schemaorg/MedicalClinic.py b/pydantic_schemaorg/MedicalClinic.py index b2a945f3..780c6f59 100644 --- a/pydantic_schemaorg/MedicalClinic.py +++ b/pydantic_schemaorg/MedicalClinic.py @@ -17,20 +17,19 @@ class MedicalClinic(MedicalBusiness, MedicalOrganization): See: https://schema.org/MedicalClinic Model depth: 4 """ - type_: str = Field("MedicalClinic", alias='@type') + type_: str = Field(default="MedicalClinic", alias='@type') 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', 'MedicalProcedure', 'MedicalTherapy', str]], 'MedicalTest', 'MedicalProcedure', 'MedicalTherapy', 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.", ) - if TYPE_CHECKING: from pydantic_schemaorg.MedicalSpecialty import MedicalSpecialty + from pydantic_schemaorg.MedicalTherapy import MedicalTherapy from pydantic_schemaorg.MedicalTest import MedicalTest from pydantic_schemaorg.MedicalProcedure import MedicalProcedure - from pydantic_schemaorg.MedicalTherapy import MedicalTherapy diff --git a/pydantic_schemaorg/MedicalCode.py b/pydantic_schemaorg/MedicalCode.py index 0f23b450..eb8e733d 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("MedicalCode", alias='@type') + type_: str = Field(default="MedicalCode", alias='@type') 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 0e332274..730a3f17 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("MedicalCondition", alias='@type') + type_: str = Field(default="MedicalCondition", alias='@type') epidemiology: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="The characteristics of associated patients, such as age, gender, race etc.", @@ -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', 'AnatomicalSystem', 'AnatomicalStructure', str]], 'SuperficialAnatomy', 'AnatomicalSystem', 'AnatomicalStructure', str]] = Field( + associatedAnatomy: Optional[Union[List[Union['SuperficialAnatomy', 'AnatomicalStructure', 'AnatomicalSystem', str]], 'SuperficialAnatomy', 'AnatomicalStructure', 'AnatomicalSystem', str]] = Field( default=None, description="The anatomy of the underlying organ system or structures associated with this entity.", ) @@ -108,6 +108,6 @@ class MedicalCondition(MedicalEntity): from pydantic_schemaorg.EventStatusType import EventStatusType from pydantic_schemaorg.Drug import Drug from pydantic_schemaorg.SuperficialAnatomy import SuperficialAnatomy - from pydantic_schemaorg.AnatomicalSystem import AnatomicalSystem from pydantic_schemaorg.AnatomicalStructure import AnatomicalStructure + from pydantic_schemaorg.AnatomicalSystem import AnatomicalSystem from pydantic_schemaorg.MedicalSignOrSymptom import MedicalSignOrSymptom diff --git a/pydantic_schemaorg/MedicalConditionStage.py b/pydantic_schemaorg/MedicalConditionStage.py index 2e0736a0..93e23606 100644 --- a/pydantic_schemaorg/MedicalConditionStage.py +++ b/pydantic_schemaorg/MedicalConditionStage.py @@ -15,7 +15,7 @@ class MedicalConditionStage(MedicalIntangible): See: https://schema.org/MedicalConditionStage Model depth: 4 """ - type_: str = Field("MedicalConditionStage", alias='@type') + type_: str = Field(default="MedicalConditionStage", alias='@type') stageAsNumber: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( default=None, description="The stage represented as a number, e.g. 3.", @@ -26,7 +26,6 @@ class MedicalConditionStage(MedicalIntangible): ) - if TYPE_CHECKING: from pydantic_schemaorg.Number import Number from pydantic_schemaorg.Text import Text diff --git a/pydantic_schemaorg/MedicalContraindication.py b/pydantic_schemaorg/MedicalContraindication.py index 54dfc5c3..ef0e7b88 100644 --- a/pydantic_schemaorg/MedicalContraindication.py +++ b/pydantic_schemaorg/MedicalContraindication.py @@ -14,6 +14,6 @@ class MedicalContraindication(MedicalEntity): See: https://schema.org/MedicalContraindication Model depth: 3 """ - type_: str = Field("MedicalContraindication", alias='@type') + type_: str = Field(default="MedicalContraindication", alias='@type') diff --git a/pydantic_schemaorg/MedicalDevice.py b/pydantic_schemaorg/MedicalDevice.py index 95efab40..d07972e4 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("MedicalDevice", alias='@type') + type_: str = Field(default="MedicalDevice", alias='@type') 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.", @@ -50,7 +50,6 @@ class MedicalDevice(MedicalEntity): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text from pydantic_schemaorg.MedicalEntity import MedicalEntity diff --git a/pydantic_schemaorg/MedicalDevicePurpose.py b/pydantic_schemaorg/MedicalDevicePurpose.py index 87e10262..f50bc260 100644 --- a/pydantic_schemaorg/MedicalDevicePurpose.py +++ b/pydantic_schemaorg/MedicalDevicePurpose.py @@ -11,6 +11,6 @@ class MedicalDevicePurpose(MedicalEnumeration): See: https://schema.org/MedicalDevicePurpose Model depth: 5 """ - type_: str = Field("MedicalDevicePurpose", alias='@type') + type_: str = Field(default="MedicalDevicePurpose", alias='@type') diff --git a/pydantic_schemaorg/MedicalEntity.py b/pydantic_schemaorg/MedicalEntity.py index e4d9cbac..c6d20d4e 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("MedicalEntity", alias='@type') + type_: str = Field(default="MedicalEntity", alias='@type') 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 86c4eff8..1f81573e 100644 --- a/pydantic_schemaorg/MedicalEnumeration.py +++ b/pydantic_schemaorg/MedicalEnumeration.py @@ -13,6 +13,6 @@ class MedicalEnumeration(Enumeration): See: https://schema.org/MedicalEnumeration Model depth: 4 """ - type_: str = Field("MedicalEnumeration", alias='@type') + type_: str = Field(default="MedicalEnumeration", alias='@type') diff --git a/pydantic_schemaorg/MedicalEvidenceLevel.py b/pydantic_schemaorg/MedicalEvidenceLevel.py index 158657c8..c5798c7f 100644 --- a/pydantic_schemaorg/MedicalEvidenceLevel.py +++ b/pydantic_schemaorg/MedicalEvidenceLevel.py @@ -11,6 +11,6 @@ class MedicalEvidenceLevel(MedicalEnumeration): See: https://schema.org/MedicalEvidenceLevel Model depth: 5 """ - type_: str = Field("MedicalEvidenceLevel", alias='@type') + type_: str = Field(default="MedicalEvidenceLevel", alias='@type') diff --git a/pydantic_schemaorg/MedicalGuideline.py b/pydantic_schemaorg/MedicalGuideline.py index ac23f17f..7084de8d 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("MedicalGuideline", alias='@type') + type_: str = Field(default="MedicalGuideline", alias='@type') 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.", @@ -39,7 +39,6 @@ class MedicalGuideline(MedicalEntity): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text from pydantic_schemaorg.MedicalEvidenceLevel import MedicalEvidenceLevel diff --git a/pydantic_schemaorg/MedicalGuidelineContraindication.py b/pydantic_schemaorg/MedicalGuidelineContraindication.py index 8624cdb6..b065099a 100644 --- a/pydantic_schemaorg/MedicalGuidelineContraindication.py +++ b/pydantic_schemaorg/MedicalGuidelineContraindication.py @@ -12,6 +12,5 @@ class MedicalGuidelineContraindication(MedicalGuideline): See: https://schema.org/MedicalGuidelineContraindication Model depth: 4 """ - type_: str = Field("MedicalGuidelineContraindication", alias='@type') + type_: str = Field(default="MedicalGuidelineContraindication", alias='@type') - diff --git a/pydantic_schemaorg/MedicalGuidelineRecommendation.py b/pydantic_schemaorg/MedicalGuidelineRecommendation.py index a18333e0..c51e8560 100644 --- a/pydantic_schemaorg/MedicalGuidelineRecommendation.py +++ b/pydantic_schemaorg/MedicalGuidelineRecommendation.py @@ -15,13 +15,12 @@ class MedicalGuidelineRecommendation(MedicalGuideline): See: https://schema.org/MedicalGuidelineRecommendation Model depth: 4 """ - type_: str = Field("MedicalGuidelineRecommendation", alias='@type') + type_: str = Field(default="MedicalGuidelineRecommendation", alias='@type') recommendationStrength: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="Strength of the guideline's recommendation (e.g. 'class I').", ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text diff --git a/pydantic_schemaorg/MedicalImagingTechnique.py b/pydantic_schemaorg/MedicalImagingTechnique.py index 603b0825..9b4f0a3b 100644 --- a/pydantic_schemaorg/MedicalImagingTechnique.py +++ b/pydantic_schemaorg/MedicalImagingTechnique.py @@ -11,6 +11,6 @@ class MedicalImagingTechnique(MedicalEnumeration): See: https://schema.org/MedicalImagingTechnique Model depth: 5 """ - type_: str = Field("MedicalImagingTechnique", alias='@type') + type_: str = Field(default="MedicalImagingTechnique", alias='@type') diff --git a/pydantic_schemaorg/MedicalIndication.py b/pydantic_schemaorg/MedicalIndication.py index 6657820b..5e6de56c 100644 --- a/pydantic_schemaorg/MedicalIndication.py +++ b/pydantic_schemaorg/MedicalIndication.py @@ -12,6 +12,5 @@ class MedicalIndication(MedicalEntity): See: https://schema.org/MedicalIndication Model depth: 3 """ - type_: str = Field("MedicalIndication", alias='@type') + type_: str = Field(default="MedicalIndication", alias='@type') - diff --git a/pydantic_schemaorg/MedicalIntangible.py b/pydantic_schemaorg/MedicalIntangible.py index 5b6356a9..d9dc33f8 100644 --- a/pydantic_schemaorg/MedicalIntangible.py +++ b/pydantic_schemaorg/MedicalIntangible.py @@ -12,6 +12,6 @@ class MedicalIntangible(MedicalEntity): See: https://schema.org/MedicalIntangible Model depth: 3 """ - type_: str = Field("MedicalIntangible", alias='@type') + type_: str = Field(default="MedicalIntangible", alias='@type') diff --git a/pydantic_schemaorg/MedicalObservationalStudy.py b/pydantic_schemaorg/MedicalObservationalStudy.py index 59462a07..55b5add5 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("MedicalObservationalStudy", alias='@type') + type_: str = Field(default="MedicalObservationalStudy", alias='@type') 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 7d947f7a..6648b7d0 100644 --- a/pydantic_schemaorg/MedicalObservationalStudyDesign.py +++ b/pydantic_schemaorg/MedicalObservationalStudyDesign.py @@ -11,6 +11,5 @@ class MedicalObservationalStudyDesign(MedicalEnumeration): See: https://schema.org/MedicalObservationalStudyDesign Model depth: 5 """ - type_: str = Field("MedicalObservationalStudyDesign", alias='@type') + type_: str = Field(default="MedicalObservationalStudyDesign", alias='@type') - diff --git a/pydantic_schemaorg/MedicalOrganization.py b/pydantic_schemaorg/MedicalOrganization.py index adbf78c6..0cf28517 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("MedicalOrganization", alias='@type') + type_: str = Field(default="MedicalOrganization", alias='@type') 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 eec2efc8..2ac5ef58 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("MedicalProcedure", alias='@type') + type_: str = Field(default="MedicalProcedure", alias='@type') procedureType: Optional[Union[List[Union['MedicalProcedureType', str]], 'MedicalProcedureType', str]] = Field( default=None, description="The type of procedure, for example Surgical, Noninvasive, or Percutaneous.", diff --git a/pydantic_schemaorg/MedicalProcedureType.py b/pydantic_schemaorg/MedicalProcedureType.py index cb5e1078..ed4aa5f8 100644 --- a/pydantic_schemaorg/MedicalProcedureType.py +++ b/pydantic_schemaorg/MedicalProcedureType.py @@ -11,6 +11,5 @@ class MedicalProcedureType(MedicalEnumeration): See: https://schema.org/MedicalProcedureType Model depth: 5 """ - type_: str = Field("MedicalProcedureType", alias='@type') + type_: str = Field(default="MedicalProcedureType", alias='@type') - diff --git a/pydantic_schemaorg/MedicalResearcher.py b/pydantic_schemaorg/MedicalResearcher.py index 628ca9ec..552d6683 100644 --- a/pydantic_schemaorg/MedicalResearcher.py +++ b/pydantic_schemaorg/MedicalResearcher.py @@ -11,6 +11,5 @@ class MedicalResearcher(MedicalAudienceType): See: https://schema.org/MedicalResearcher Model depth: 6 """ - type_: str = Field("MedicalResearcher", alias='@type') + type_: str = Field(default="MedicalResearcher", alias='@type') - diff --git a/pydantic_schemaorg/MedicalRiskCalculator.py b/pydantic_schemaorg/MedicalRiskCalculator.py index c3b23b2e..36152690 100644 --- a/pydantic_schemaorg/MedicalRiskCalculator.py +++ b/pydantic_schemaorg/MedicalRiskCalculator.py @@ -12,6 +12,5 @@ class MedicalRiskCalculator(MedicalRiskEstimator): See: https://schema.org/MedicalRiskCalculator Model depth: 4 """ - type_: str = Field("MedicalRiskCalculator", alias='@type') + type_: str = Field(default="MedicalRiskCalculator", alias='@type') - diff --git a/pydantic_schemaorg/MedicalRiskEstimator.py b/pydantic_schemaorg/MedicalRiskEstimator.py index 3e10e623..fe7ad8a7 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("MedicalRiskEstimator", alias='@type') + type_: str = Field(default="MedicalRiskEstimator", alias='@type') estimatesRiskOf: Optional[Union[List[Union['MedicalEntity', str]], 'MedicalEntity', str]] = Field( default=None, description="The condition, complication, or symptom whose risk is being estimated.", @@ -27,7 +27,6 @@ class MedicalRiskEstimator(MedicalEntity): ) - if TYPE_CHECKING: from pydantic_schemaorg.MedicalEntity import MedicalEntity from pydantic_schemaorg.MedicalRiskFactor import MedicalRiskFactor diff --git a/pydantic_schemaorg/MedicalRiskFactor.py b/pydantic_schemaorg/MedicalRiskFactor.py index 53db6892..44bac9e6 100644 --- a/pydantic_schemaorg/MedicalRiskFactor.py +++ b/pydantic_schemaorg/MedicalRiskFactor.py @@ -15,13 +15,12 @@ class MedicalRiskFactor(MedicalEntity): See: https://schema.org/MedicalRiskFactor Model depth: 3 """ - type_: str = Field("MedicalRiskFactor", alias='@type') + type_: str = Field(default="MedicalRiskFactor", alias='@type') increasesRiskOf: Optional[Union[List[Union['MedicalEntity', str]], 'MedicalEntity', str]] = Field( default=None, description="The condition, complication, etc. influenced by this factor.", ) - if TYPE_CHECKING: from pydantic_schemaorg.MedicalEntity import MedicalEntity diff --git a/pydantic_schemaorg/MedicalRiskScore.py b/pydantic_schemaorg/MedicalRiskScore.py index a0d11436..f102c7d8 100644 --- a/pydantic_schemaorg/MedicalRiskScore.py +++ b/pydantic_schemaorg/MedicalRiskScore.py @@ -15,13 +15,12 @@ class MedicalRiskScore(MedicalRiskEstimator): See: https://schema.org/MedicalRiskScore Model depth: 4 """ - type_: str = Field("MedicalRiskScore", alias='@type') + type_: str = Field(default="MedicalRiskScore", alias='@type') algorithm: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="The algorithm or rules to follow to compute the score.", ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text diff --git a/pydantic_schemaorg/MedicalScholarlyArticle.py b/pydantic_schemaorg/MedicalScholarlyArticle.py index d725628f..4d96b252 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("MedicalScholarlyArticle", alias='@type') + type_: str = Field(default="MedicalScholarlyArticle", alias='@type') 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." @@ -22,6 +22,5 @@ class MedicalScholarlyArticle(ScholarlyArticle): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text diff --git a/pydantic_schemaorg/MedicalSign.py b/pydantic_schemaorg/MedicalSign.py index 278f753a..dc841954 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("MedicalSign", alias='@type') + type_: str = Field(default="MedicalSign", alias='@type') 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 19c0b155..d0f58de6 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("MedicalSignOrSymptom", alias='@type') + type_: str = Field(default="MedicalSignOrSymptom", alias='@type') 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 7982c5db..6005ef53 100644 --- a/pydantic_schemaorg/MedicalSpecialty.py +++ b/pydantic_schemaorg/MedicalSpecialty.py @@ -2,11 +2,11 @@ from pydantic import Field -from pydantic_schemaorg.Specialty import Specialty from pydantic_schemaorg.MedicalEnumeration import MedicalEnumeration +from pydantic_schemaorg.Specialty import Specialty -class MedicalSpecialty(Specialty, MedicalEnumeration): +class MedicalSpecialty(MedicalEnumeration, Specialty): """Any specific branch of medical science or practice. Medical specialities include clinical" "specialties that pertain to particular organ systems and their respective disease" "states, as well as allied health specialties. Enumerated type. @@ -14,6 +14,6 @@ class MedicalSpecialty(Specialty, MedicalEnumeration): See: https://schema.org/MedicalSpecialty Model depth: 5 """ - type_: str = Field("MedicalSpecialty", alias='@type') + type_: str = Field(default="MedicalSpecialty", alias='@type') diff --git a/pydantic_schemaorg/MedicalStudy.py b/pydantic_schemaorg/MedicalStudy.py index 0835c475..73ab6ad0 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("MedicalStudy", alias='@type') + type_: str = Field(default="MedicalStudy", alias='@type') studyLocation: Optional[Union[List[Union['AdministrativeArea', str]], 'AdministrativeArea', str]] = Field( default=None, description="The location in which the study is taking/took place.", @@ -35,7 +35,7 @@ class MedicalStudy(MedicalEntity): 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.", @@ -53,6 +53,6 @@ class MedicalStudy(MedicalEntity): from pydantic_schemaorg.Text import Text from pydantic_schemaorg.MedicalStudyStatus import MedicalStudyStatus from pydantic_schemaorg.EventStatusType import EventStatusType - from pydantic_schemaorg.Person import Person 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 65a474fe..c2cc73f0 100644 --- a/pydantic_schemaorg/MedicalStudyStatus.py +++ b/pydantic_schemaorg/MedicalStudyStatus.py @@ -11,6 +11,6 @@ class MedicalStudyStatus(MedicalEnumeration): See: https://schema.org/MedicalStudyStatus Model depth: 5 """ - type_: str = Field("MedicalStudyStatus", alias='@type') + type_: str = Field(default="MedicalStudyStatus", alias='@type') diff --git a/pydantic_schemaorg/MedicalSymptom.py b/pydantic_schemaorg/MedicalSymptom.py index 3439129c..a12f581d 100644 --- a/pydantic_schemaorg/MedicalSymptom.py +++ b/pydantic_schemaorg/MedicalSymptom.py @@ -12,6 +12,6 @@ class MedicalSymptom(MedicalSignOrSymptom): See: https://schema.org/MedicalSymptom Model depth: 5 """ - type_: str = Field("MedicalSymptom", alias='@type') + type_: str = Field(default="MedicalSymptom", alias='@type') diff --git a/pydantic_schemaorg/MedicalTest.py b/pydantic_schemaorg/MedicalTest.py index 8abd223e..fcf3ae39 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("MedicalTest", alias='@type') + type_: str = Field(default="MedicalTest", alias='@type') 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 fafc0b61..9267abc3 100644 --- a/pydantic_schemaorg/MedicalTestPanel.py +++ b/pydantic_schemaorg/MedicalTestPanel.py @@ -14,13 +14,12 @@ class MedicalTestPanel(MedicalTest): See: https://schema.org/MedicalTestPanel Model depth: 4 """ - type_: str = Field("MedicalTestPanel", alias='@type') + type_: str = Field(default="MedicalTestPanel", alias='@type') subTest: Optional[Union[List[Union['MedicalTest', str]], 'MedicalTest', str]] = Field( default=None, description="A component test of the panel.", ) - if TYPE_CHECKING: from pydantic_schemaorg.MedicalTest import MedicalTest diff --git a/pydantic_schemaorg/MedicalTherapy.py b/pydantic_schemaorg/MedicalTherapy.py index da9b1745..a294eac9 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("MedicalTherapy", alias='@type') + type_: str = Field(default="MedicalTherapy", alias='@type') 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 0fb16ceb..dd4d6fb3 100644 --- a/pydantic_schemaorg/MedicalTrial.py +++ b/pydantic_schemaorg/MedicalTrial.py @@ -17,13 +17,12 @@ class MedicalTrial(MedicalStudy): See: https://schema.org/MedicalTrial Model depth: 4 """ - type_: str = Field("MedicalTrial", alias='@type') + type_: str = Field(default="MedicalTrial", alias='@type') trialDesign: Optional[Union[List[Union['MedicalTrialDesign', str]], 'MedicalTrialDesign', str]] = Field( default=None, description="Specifics about the trial design (enumerated).", ) - if TYPE_CHECKING: from pydantic_schemaorg.MedicalTrialDesign import MedicalTrialDesign diff --git a/pydantic_schemaorg/MedicalTrialDesign.py b/pydantic_schemaorg/MedicalTrialDesign.py index 6e529a93..c2326336 100644 --- a/pydantic_schemaorg/MedicalTrialDesign.py +++ b/pydantic_schemaorg/MedicalTrialDesign.py @@ -11,6 +11,5 @@ class MedicalTrialDesign(MedicalEnumeration): See: https://schema.org/MedicalTrialDesign Model depth: 5 """ - type_: str = Field("MedicalTrialDesign", alias='@type') + type_: str = Field(default="MedicalTrialDesign", alias='@type') - diff --git a/pydantic_schemaorg/MedicalWebPage.py b/pydantic_schemaorg/MedicalWebPage.py index a8fbcfd8..5007f0af 100644 --- a/pydantic_schemaorg/MedicalWebPage.py +++ b/pydantic_schemaorg/MedicalWebPage.py @@ -14,7 +14,7 @@ class MedicalWebPage(WebPage): See: https://schema.org/MedicalWebPage Model depth: 4 """ - type_: str = Field("MedicalWebPage", alias='@type') + type_: str = Field(default="MedicalWebPage", alias='@type') medicalAudience: Optional[Union[List[Union['MedicalAudience', 'MedicalAudienceType', str]], 'MedicalAudience', 'MedicalAudienceType', str]] = Field( default=None, description="Medical audience for page.", @@ -26,7 +26,6 @@ class MedicalWebPage(WebPage): ) - if TYPE_CHECKING: from pydantic_schemaorg.MedicalAudience import MedicalAudience from pydantic_schemaorg.MedicalAudienceType import MedicalAudienceType diff --git a/pydantic_schemaorg/MedicineSystem.py b/pydantic_schemaorg/MedicineSystem.py index 381eb9f3..8484b302 100644 --- a/pydantic_schemaorg/MedicineSystem.py +++ b/pydantic_schemaorg/MedicineSystem.py @@ -11,6 +11,6 @@ class MedicineSystem(MedicalEnumeration): See: https://schema.org/MedicineSystem Model depth: 5 """ - type_: str = Field("MedicineSystem", alias='@type') + type_: str = Field(default="MedicineSystem", alias='@type') diff --git a/pydantic_schemaorg/MeetingRoom.py b/pydantic_schemaorg/MeetingRoom.py index 65a3d6ad..47dd8d0e 100644 --- a/pydantic_schemaorg/MeetingRoom.py +++ b/pydantic_schemaorg/MeetingRoom.py @@ -15,6 +15,5 @@ class MeetingRoom(Room): See: https://schema.org/MeetingRoom Model depth: 5 """ - type_: str = Field("MeetingRoom", alias='@type') + type_: str = Field(default="MeetingRoom", alias='@type') - diff --git a/pydantic_schemaorg/MensClothingStore.py b/pydantic_schemaorg/MensClothingStore.py index 9dec816b..abcd38e7 100644 --- a/pydantic_schemaorg/MensClothingStore.py +++ b/pydantic_schemaorg/MensClothingStore.py @@ -11,6 +11,5 @@ class MensClothingStore(Store): See: https://schema.org/MensClothingStore Model depth: 5 """ - type_: str = Field("MensClothingStore", alias='@type') + type_: str = Field(default="MensClothingStore", alias='@type') - diff --git a/pydantic_schemaorg/Menu.py b/pydantic_schemaorg/Menu.py index c57a4298..a6b81287 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("Menu", alias='@type') + type_: str = Field(default="Menu", alias='@type') 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.).", @@ -25,7 +25,6 @@ class Menu(CreativeWork): ) - if TYPE_CHECKING: from pydantic_schemaorg.MenuSection import MenuSection from pydantic_schemaorg.MenuItem import MenuItem diff --git a/pydantic_schemaorg/MenuItem.py b/pydantic_schemaorg/MenuItem.py index 4fa3a9d4..e4c08614 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("MenuItem", alias='@type') + type_: str = Field(default="MenuItem", alias='@type') menuAddOn: Optional[Union[List[Union['MenuItem', 'MenuSection', str]], 'MenuItem', 'MenuSection', 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['Demand', 'Offer', str]], 'Demand', 'Offer', str]] = Field( + offers: Optional[Union[List[Union['Offer', 'Demand', str]], 'Offer', 'Demand', 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]]" @@ -41,10 +41,9 @@ class MenuItem(Intangible): ) - if TYPE_CHECKING: from pydantic_schemaorg.MenuSection import MenuSection - from pydantic_schemaorg.Demand import Demand from pydantic_schemaorg.Offer import Offer + from pydantic_schemaorg.Demand import Demand 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 bc9471c3..abb923dc 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("MenuSection", alias='@type') + type_: str = Field(default="MenuSection", alias='@type') 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 fc57a823..80922af9 100644 --- a/pydantic_schemaorg/MerchantReturnEnumeration.py +++ b/pydantic_schemaorg/MerchantReturnEnumeration.py @@ -11,6 +11,5 @@ class MerchantReturnEnumeration(Enumeration): See: https://schema.org/MerchantReturnEnumeration Model depth: 4 """ - type_: str = Field("MerchantReturnEnumeration", alias='@type') + type_: str = Field(default="MerchantReturnEnumeration", alias='@type') - diff --git a/pydantic_schemaorg/MerchantReturnFiniteReturnWindow.py b/pydantic_schemaorg/MerchantReturnFiniteReturnWindow.py index d59915cc..06ff1f7e 100644 --- a/pydantic_schemaorg/MerchantReturnFiniteReturnWindow.py +++ b/pydantic_schemaorg/MerchantReturnFiniteReturnWindow.py @@ -11,6 +11,5 @@ class MerchantReturnFiniteReturnWindow(MerchantReturnEnumeration): See: https://schema.org/MerchantReturnFiniteReturnWindow Model depth: 5 """ - type_: str = Field("MerchantReturnFiniteReturnWindow", alias='@type') + type_: str = Field(default="MerchantReturnFiniteReturnWindow", alias='@type') - diff --git a/pydantic_schemaorg/MerchantReturnNotPermitted.py b/pydantic_schemaorg/MerchantReturnNotPermitted.py index efe201e8..acfcda1c 100644 --- a/pydantic_schemaorg/MerchantReturnNotPermitted.py +++ b/pydantic_schemaorg/MerchantReturnNotPermitted.py @@ -11,6 +11,5 @@ class MerchantReturnNotPermitted(MerchantReturnEnumeration): See: https://schema.org/MerchantReturnNotPermitted Model depth: 5 """ - type_: str = Field("MerchantReturnNotPermitted", alias='@type') + type_: str = Field(default="MerchantReturnNotPermitted", alias='@type') - diff --git a/pydantic_schemaorg/MerchantReturnPolicy.py b/pydantic_schemaorg/MerchantReturnPolicy.py index c6944e68..9eb68178 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("MerchantReturnPolicy", alias='@type') + type_: str = Field(default="MerchantReturnPolicy", alias='@type') 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.", diff --git a/pydantic_schemaorg/MerchantReturnPolicySeasonalOverride.py b/pydantic_schemaorg/MerchantReturnPolicySeasonalOverride.py index b2e536e8..6c5ce42b 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("MerchantReturnPolicySeasonalOverride", alias='@type') + type_: str = Field(default="MerchantReturnPolicySeasonalOverride", alias='@type') merchantReturnDays: Optional[Union[List[Union[int, 'Integer', ISO8601Date, 'DateTime', ISO8601Date, 'Date', str]], int, 'Integer', ISO8601Date, 'DateTime', ISO8601Date, 'Date', str]] = Field( default=None, description="Specifies either a fixed return date or the number of days (from the delivery date) that" @@ -36,7 +36,6 @@ class MerchantReturnPolicySeasonalOverride(Intangible): ) - if TYPE_CHECKING: from pydantic_schemaorg.Integer import Integer from pydantic_schemaorg.DateTime import DateTime diff --git a/pydantic_schemaorg/MerchantReturnUnlimitedWindow.py b/pydantic_schemaorg/MerchantReturnUnlimitedWindow.py index 4e4af024..e62830e1 100644 --- a/pydantic_schemaorg/MerchantReturnUnlimitedWindow.py +++ b/pydantic_schemaorg/MerchantReturnUnlimitedWindow.py @@ -11,6 +11,5 @@ class MerchantReturnUnlimitedWindow(MerchantReturnEnumeration): See: https://schema.org/MerchantReturnUnlimitedWindow Model depth: 5 """ - type_: str = Field("MerchantReturnUnlimitedWindow", alias='@type') + type_: str = Field(default="MerchantReturnUnlimitedWindow", alias='@type') - diff --git a/pydantic_schemaorg/MerchantReturnUnspecified.py b/pydantic_schemaorg/MerchantReturnUnspecified.py index 55d0a19a..da827045 100644 --- a/pydantic_schemaorg/MerchantReturnUnspecified.py +++ b/pydantic_schemaorg/MerchantReturnUnspecified.py @@ -11,6 +11,5 @@ class MerchantReturnUnspecified(MerchantReturnEnumeration): See: https://schema.org/MerchantReturnUnspecified Model depth: 5 """ - type_: str = Field("MerchantReturnUnspecified", alias='@type') + type_: str = Field(default="MerchantReturnUnspecified", alias='@type') - diff --git a/pydantic_schemaorg/Message.py b/pydantic_schemaorg/Message.py index db6deced..0b052fa0 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("Message", alias='@type') - sender: Optional[Union[List[Union['Person', 'Organization', 'Audience', str]], 'Person', 'Organization', 'Audience', str]] = Field( + type_: str = Field(default="Message", alias='@type') + 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', 'Organization', 'Audience', 'ContactPoint', str]], 'Person', 'Organization', 'Audience', 'ContactPoint', str]] = Field( + toRecipient: Optional[Union[List[Union['Audience', 'ContactPoint', 'Organization', 'Person', str]], 'Audience', 'ContactPoint', 'Organization', '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', 'Organization', 'Audience', 'ContactPoint', str]], 'Person', 'Organization', 'Audience', 'ContactPoint', str]] = Field( + recipient: Optional[Union[List[Union['Audience', 'ContactPoint', 'Organization', 'Person', str]], 'Audience', 'ContactPoint', 'Organization', 'Person', str]] = Field( default=None, description="A sub property of participant. The participant who is at the receiving end of the action.", ) @@ -49,7 +49,7 @@ 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.", ) @@ -57,9 +57,9 @@ class Message(CreativeWork): if TYPE_CHECKING: - from pydantic_schemaorg.Person import Person - from pydantic_schemaorg.Organization import Organization 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 218a7f81..afd1fb09 100644 --- a/pydantic_schemaorg/MiddleSchool.py +++ b/pydantic_schemaorg/MiddleSchool.py @@ -11,6 +11,5 @@ class MiddleSchool(EducationalOrganization): See: https://schema.org/MiddleSchool Model depth: 4 """ - type_: str = Field("MiddleSchool", alias='@type') + type_: str = Field(default="MiddleSchool", alias='@type') - diff --git a/pydantic_schemaorg/Midwifery.py b/pydantic_schemaorg/Midwifery.py index a7b873b5..82f25255 100644 --- a/pydantic_schemaorg/Midwifery.py +++ b/pydantic_schemaorg/Midwifery.py @@ -14,6 +14,5 @@ class Midwifery(MedicalSpecialty, MedicalBusiness): See: https://schema.org/Midwifery Model depth: 5 """ - type_: str = Field("Midwifery", alias='@type') + type_: str = Field(default="Midwifery", alias='@type') - diff --git a/pydantic_schemaorg/MinimumAdvertisedPrice.py b/pydantic_schemaorg/MinimumAdvertisedPrice.py index 36e70d2c..99f845ce 100644 --- a/pydantic_schemaorg/MinimumAdvertisedPrice.py +++ b/pydantic_schemaorg/MinimumAdvertisedPrice.py @@ -12,6 +12,5 @@ class MinimumAdvertisedPrice(PriceTypeEnumeration): See: https://schema.org/MinimumAdvertisedPrice Model depth: 5 """ - type_: str = Field("MinimumAdvertisedPrice", alias='@type') + type_: str = Field(default="MinimumAdvertisedPrice", alias='@type') - diff --git a/pydantic_schemaorg/MisconceptionsHealthAspect.py b/pydantic_schemaorg/MisconceptionsHealthAspect.py index fc63d987..9ed2cf25 100644 --- a/pydantic_schemaorg/MisconceptionsHealthAspect.py +++ b/pydantic_schemaorg/MisconceptionsHealthAspect.py @@ -11,6 +11,5 @@ class MisconceptionsHealthAspect(HealthAspectEnumeration): See: https://schema.org/MisconceptionsHealthAspect Model depth: 5 """ - type_: str = Field("MisconceptionsHealthAspect", alias='@type') + type_: str = Field(default="MisconceptionsHealthAspect", alias='@type') - diff --git a/pydantic_schemaorg/MixedEventAttendanceMode.py b/pydantic_schemaorg/MixedEventAttendanceMode.py index 611e7b51..c3386adb 100644 --- a/pydantic_schemaorg/MixedEventAttendanceMode.py +++ b/pydantic_schemaorg/MixedEventAttendanceMode.py @@ -12,6 +12,5 @@ class MixedEventAttendanceMode(EventAttendanceModeEnumeration): See: https://schema.org/MixedEventAttendanceMode Model depth: 5 """ - type_: str = Field("MixedEventAttendanceMode", alias='@type') + type_: str = Field(default="MixedEventAttendanceMode", alias='@type') - diff --git a/pydantic_schemaorg/MixtapeAlbum.py b/pydantic_schemaorg/MixtapeAlbum.py index f2842c02..5a7d7bdb 100644 --- a/pydantic_schemaorg/MixtapeAlbum.py +++ b/pydantic_schemaorg/MixtapeAlbum.py @@ -11,6 +11,5 @@ class MixtapeAlbum(MusicAlbumProductionType): See: https://schema.org/MixtapeAlbum Model depth: 5 """ - type_: str = Field("MixtapeAlbum", alias='@type') + type_: str = Field(default="MixtapeAlbum", alias='@type') - diff --git a/pydantic_schemaorg/MobileApplication.py b/pydantic_schemaorg/MobileApplication.py index 0867ce5b..61625e07 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("MobileApplication", alias='@type') + type_: str = Field(default="MobileApplication", alias='@type') 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" @@ -23,6 +23,5 @@ class MobileApplication(SoftwareApplication): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text diff --git a/pydantic_schemaorg/MobilePhoneStore.py b/pydantic_schemaorg/MobilePhoneStore.py index 305e9029..7e04aae6 100644 --- a/pydantic_schemaorg/MobilePhoneStore.py +++ b/pydantic_schemaorg/MobilePhoneStore.py @@ -11,6 +11,5 @@ class MobilePhoneStore(Store): See: https://schema.org/MobilePhoneStore Model depth: 5 """ - type_: str = Field("MobilePhoneStore", alias='@type') + type_: str = Field(default="MobilePhoneStore", alias='@type') - diff --git a/pydantic_schemaorg/MolecularEntity.py b/pydantic_schemaorg/MolecularEntity.py index 12c15814..061a8b56 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("MolecularEntity", alias='@type') + type_: str = Field(default="MolecularEntity", alias='@type') 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 bd26298d..c77d73d2 100644 --- a/pydantic_schemaorg/Monday.py +++ b/pydantic_schemaorg/Monday.py @@ -11,6 +11,6 @@ class Monday(DayOfWeek): See: https://schema.org/Monday Model depth: 5 """ - type_: str = Field("Monday", alias='@type') + type_: str = Field(default="Monday", alias='@type') diff --git a/pydantic_schemaorg/MonetaryAmount.py b/pydantic_schemaorg/MonetaryAmount.py index a41aa592..ae162ed1 100644 --- a/pydantic_schemaorg/MonetaryAmount.py +++ b/pydantic_schemaorg/MonetaryAmount.py @@ -20,7 +20,7 @@ class MonetaryAmount(StructuredValue): See: https://schema.org/MonetaryAmount Model depth: 4 """ - type_: str = Field("MonetaryAmount", alias='@type') + type_: str = Field(default="MonetaryAmount", alias='@type') minValue: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( default=None, description="The lower value of some characteristic or property.", @@ -57,7 +57,6 @@ class MonetaryAmount(StructuredValue): ) - if TYPE_CHECKING: from pydantic_schemaorg.Number import Number from pydantic_schemaorg.DateTime import DateTime diff --git a/pydantic_schemaorg/MonetaryAmountDistribution.py b/pydantic_schemaorg/MonetaryAmountDistribution.py index 0a86fba3..6335322e 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("MonetaryAmountDistribution", alias='@type') + type_: str = Field(default="MonetaryAmountDistribution", alias='@type') 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" @@ -25,6 +25,5 @@ class MonetaryAmountDistribution(QuantitativeValueDistribution): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text diff --git a/pydantic_schemaorg/MonetaryGrant.py b/pydantic_schemaorg/MonetaryGrant.py index 9086dda7..1bd38b2b 100644 --- a/pydantic_schemaorg/MonetaryGrant.py +++ b/pydantic_schemaorg/MonetaryGrant.py @@ -15,8 +15,8 @@ class MonetaryGrant(Grant): See: https://schema.org/MonetaryGrant Model depth: 4 """ - type_: str = Field("MonetaryGrant", alias='@type') - funder: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + type_: str = Field(default="MonetaryGrant", alias='@type') + 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.", @@ -27,9 +27,8 @@ class MonetaryGrant(Grant): ) - 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 b7ba40cd..e9f37176 100644 --- a/pydantic_schemaorg/MoneyTransfer.py +++ b/pydantic_schemaorg/MoneyTransfer.py @@ -16,7 +16,7 @@ class MoneyTransfer(TransferAction): See: https://schema.org/MoneyTransfer Model depth: 4 """ - type_: str = Field("MoneyTransfer", alias='@type') + type_: str = Field(default="MoneyTransfer", alias='@type') amount: Optional[Union[List[Union[Decimal, 'Number', 'MonetaryAmount', str]], Decimal, 'Number', 'MonetaryAmount', str]] = Field( default=None, description="The amount of money.", @@ -28,7 +28,6 @@ class MoneyTransfer(TransferAction): ) - if TYPE_CHECKING: from pydantic_schemaorg.Number import Number from pydantic_schemaorg.MonetaryAmount import MonetaryAmount diff --git a/pydantic_schemaorg/MortgageLoan.py b/pydantic_schemaorg/MortgageLoan.py index f011f1c7..084ddfa9 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("MortgageLoan", alias='@type') + type_: str = Field(default="MortgageLoan", alias='@type') 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.", @@ -27,7 +27,6 @@ class MortgageLoan(LoanOrCredit): ) - if TYPE_CHECKING: from pydantic_schemaorg.Boolean import Boolean from pydantic_schemaorg.MonetaryAmount import MonetaryAmount diff --git a/pydantic_schemaorg/Mosque.py b/pydantic_schemaorg/Mosque.py index b27b20cd..2533e632 100644 --- a/pydantic_schemaorg/Mosque.py +++ b/pydantic_schemaorg/Mosque.py @@ -11,6 +11,5 @@ class Mosque(PlaceOfWorship): See: https://schema.org/Mosque Model depth: 5 """ - type_: str = Field("Mosque", alias='@type') + type_: str = Field(default="Mosque", alias='@type') - diff --git a/pydantic_schemaorg/Motel.py b/pydantic_schemaorg/Motel.py index dee70c56..b9e07efa 100644 --- a/pydantic_schemaorg/Motel.py +++ b/pydantic_schemaorg/Motel.py @@ -12,6 +12,5 @@ class Motel(LodgingBusiness): See: https://schema.org/Motel Model depth: 5 """ - type_: str = Field("Motel", alias='@type') + type_: str = Field(default="Motel", alias='@type') - diff --git a/pydantic_schemaorg/Motorcycle.py b/pydantic_schemaorg/Motorcycle.py index 9e0dda9e..6c11f66f 100644 --- a/pydantic_schemaorg/Motorcycle.py +++ b/pydantic_schemaorg/Motorcycle.py @@ -11,6 +11,5 @@ class Motorcycle(Vehicle): See: https://schema.org/Motorcycle Model depth: 4 """ - type_: str = Field("Motorcycle", alias='@type') + type_: str = Field(default="Motorcycle", alias='@type') - diff --git a/pydantic_schemaorg/MotorcycleDealer.py b/pydantic_schemaorg/MotorcycleDealer.py index a59e83d0..f0763c73 100644 --- a/pydantic_schemaorg/MotorcycleDealer.py +++ b/pydantic_schemaorg/MotorcycleDealer.py @@ -11,6 +11,5 @@ class MotorcycleDealer(AutomotiveBusiness): See: https://schema.org/MotorcycleDealer Model depth: 5 """ - type_: str = Field("MotorcycleDealer", alias='@type') + type_: str = Field(default="MotorcycleDealer", alias='@type') - diff --git a/pydantic_schemaorg/MotorcycleRepair.py b/pydantic_schemaorg/MotorcycleRepair.py index 890fdcf4..1516fdfa 100644 --- a/pydantic_schemaorg/MotorcycleRepair.py +++ b/pydantic_schemaorg/MotorcycleRepair.py @@ -11,6 +11,5 @@ class MotorcycleRepair(AutomotiveBusiness): See: https://schema.org/MotorcycleRepair Model depth: 5 """ - type_: str = Field("MotorcycleRepair", alias='@type') + type_: str = Field(default="MotorcycleRepair", alias='@type') - diff --git a/pydantic_schemaorg/MotorizedBicycle.py b/pydantic_schemaorg/MotorizedBicycle.py index e4c89871..609473d2 100644 --- a/pydantic_schemaorg/MotorizedBicycle.py +++ b/pydantic_schemaorg/MotorizedBicycle.py @@ -12,6 +12,5 @@ class MotorizedBicycle(Vehicle): See: https://schema.org/MotorizedBicycle Model depth: 4 """ - type_: str = Field("MotorizedBicycle", alias='@type') + type_: str = Field(default="MotorizedBicycle", alias='@type') - diff --git a/pydantic_schemaorg/Mountain.py b/pydantic_schemaorg/Mountain.py index 28e4646d..144194d9 100644 --- a/pydantic_schemaorg/Mountain.py +++ b/pydantic_schemaorg/Mountain.py @@ -11,6 +11,5 @@ class Mountain(Landform): See: https://schema.org/Mountain Model depth: 4 """ - type_: str = Field("Mountain", alias='@type') + type_: str = Field(default="Mountain", alias='@type') - diff --git a/pydantic_schemaorg/MoveAction.py b/pydantic_schemaorg/MoveAction.py index 6b990935..1d383070 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("MoveAction", alias='@type') + type_: str = Field(default="MoveAction", alias='@type') 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 23b467d5..2b4aa2c3 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("Movie", alias='@type') + type_: str = Field(default="Movie", alias='@type') 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,13 +73,12 @@ 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.", ) - if TYPE_CHECKING: from pydantic_schemaorg.Person import Person from pydantic_schemaorg.VideoObject import VideoObject diff --git a/pydantic_schemaorg/MovieClip.py b/pydantic_schemaorg/MovieClip.py index 5379d720..de9cbf29 100644 --- a/pydantic_schemaorg/MovieClip.py +++ b/pydantic_schemaorg/MovieClip.py @@ -11,6 +11,5 @@ class MovieClip(Clip): See: https://schema.org/MovieClip Model depth: 4 """ - type_: str = Field("MovieClip", alias='@type') + type_: str = Field(default="MovieClip", alias='@type') - diff --git a/pydantic_schemaorg/MovieRentalStore.py b/pydantic_schemaorg/MovieRentalStore.py index 02de9637..9ec0fad0 100644 --- a/pydantic_schemaorg/MovieRentalStore.py +++ b/pydantic_schemaorg/MovieRentalStore.py @@ -11,6 +11,5 @@ class MovieRentalStore(Store): See: https://schema.org/MovieRentalStore Model depth: 5 """ - type_: str = Field("MovieRentalStore", alias='@type') + type_: str = Field(default="MovieRentalStore", alias='@type') - diff --git a/pydantic_schemaorg/MovieSeries.py b/pydantic_schemaorg/MovieSeries.py index b0fea1f0..06112f42 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("MovieSeries", alias='@type') + type_: str = Field(default="MovieSeries", alias='@type') 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,13 +44,12 @@ 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.", ) - if TYPE_CHECKING: from pydantic_schemaorg.Person import Person from pydantic_schemaorg.VideoObject import VideoObject diff --git a/pydantic_schemaorg/MovieTheater.py b/pydantic_schemaorg/MovieTheater.py index 58bdbf91..92c3de72 100644 --- a/pydantic_schemaorg/MovieTheater.py +++ b/pydantic_schemaorg/MovieTheater.py @@ -16,13 +16,12 @@ class MovieTheater(EntertainmentBusiness, CivicStructure): See: https://schema.org/MovieTheater Model depth: 4 """ - type_: str = Field("MovieTheater", alias='@type') + type_: str = Field(default="MovieTheater", alias='@type') screenCount: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( default=None, description="The number of screens in the movie theater.", ) - if TYPE_CHECKING: from pydantic_schemaorg.Number import Number diff --git a/pydantic_schemaorg/MovingCompany.py b/pydantic_schemaorg/MovingCompany.py index 77821ab7..e15358e7 100644 --- a/pydantic_schemaorg/MovingCompany.py +++ b/pydantic_schemaorg/MovingCompany.py @@ -11,6 +11,5 @@ class MovingCompany(HomeAndConstructionBusiness): See: https://schema.org/MovingCompany Model depth: 5 """ - type_: str = Field("MovingCompany", alias='@type') + type_: str = Field(default="MovingCompany", alias='@type') - diff --git a/pydantic_schemaorg/MultiCenterTrial.py b/pydantic_schemaorg/MultiCenterTrial.py index 0a121cd0..3708e829 100644 --- a/pydantic_schemaorg/MultiCenterTrial.py +++ b/pydantic_schemaorg/MultiCenterTrial.py @@ -11,6 +11,5 @@ class MultiCenterTrial(MedicalTrialDesign): See: https://schema.org/MultiCenterTrial Model depth: 6 """ - type_: str = Field("MultiCenterTrial", alias='@type') + type_: str = Field(default="MultiCenterTrial", alias='@type') - diff --git a/pydantic_schemaorg/MultiPlayer.py b/pydantic_schemaorg/MultiPlayer.py index 2324ba6f..cc72bed4 100644 --- a/pydantic_schemaorg/MultiPlayer.py +++ b/pydantic_schemaorg/MultiPlayer.py @@ -11,6 +11,6 @@ class MultiPlayer(GamePlayMode): See: https://schema.org/MultiPlayer Model depth: 5 """ - type_: str = Field("MultiPlayer", alias='@type') + type_: str = Field(default="MultiPlayer", alias='@type') diff --git a/pydantic_schemaorg/MulticellularParasite.py b/pydantic_schemaorg/MulticellularParasite.py index fc4d11fe..cc05c061 100644 --- a/pydantic_schemaorg/MulticellularParasite.py +++ b/pydantic_schemaorg/MulticellularParasite.py @@ -11,6 +11,5 @@ class MulticellularParasite(InfectiousAgentClass): See: https://schema.org/MulticellularParasite Model depth: 6 """ - type_: str = Field("MulticellularParasite", alias='@type') + type_: str = Field(default="MulticellularParasite", alias='@type') - diff --git a/pydantic_schemaorg/Muscle.py b/pydantic_schemaorg/Muscle.py index 089bbe9c..358aa597 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("Muscle", alias='@type') + type_: str = Field(default="Muscle", alias='@type') nerve: Optional[Union[List[Union['Nerve', str]], 'Nerve', str]] = Field( default=None, description="The underlying innervation associated with the muscle.", @@ -38,7 +38,6 @@ class Muscle(AnatomicalStructure): ) - if TYPE_CHECKING: from pydantic_schemaorg.Nerve import Nerve from pydantic_schemaorg.Text import Text diff --git a/pydantic_schemaorg/Musculoskeletal.py b/pydantic_schemaorg/Musculoskeletal.py index 46a1bdf1..d430abaa 100644 --- a/pydantic_schemaorg/Musculoskeletal.py +++ b/pydantic_schemaorg/Musculoskeletal.py @@ -12,6 +12,6 @@ class Musculoskeletal(MedicalSpecialty): See: https://schema.org/Musculoskeletal Model depth: 6 """ - type_: str = Field("Musculoskeletal", alias='@type') + type_: str = Field(default="Musculoskeletal", alias='@type') diff --git a/pydantic_schemaorg/MusculoskeletalExam.py b/pydantic_schemaorg/MusculoskeletalExam.py index b5582fe0..51b11c16 100644 --- a/pydantic_schemaorg/MusculoskeletalExam.py +++ b/pydantic_schemaorg/MusculoskeletalExam.py @@ -11,6 +11,5 @@ class MusculoskeletalExam(PhysicalExam): See: https://schema.org/MusculoskeletalExam Model depth: 5 """ - type_: str = Field("MusculoskeletalExam", alias='@type') + type_: str = Field(default="MusculoskeletalExam", alias='@type') - diff --git a/pydantic_schemaorg/Museum.py b/pydantic_schemaorg/Museum.py index 66a78da7..1f6a8413 100644 --- a/pydantic_schemaorg/Museum.py +++ b/pydantic_schemaorg/Museum.py @@ -11,6 +11,5 @@ class Museum(CivicStructure): See: https://schema.org/Museum Model depth: 4 """ - type_: str = Field("Museum", alias='@type') + type_: str = Field(default="Museum", alias='@type') - diff --git a/pydantic_schemaorg/MusicAlbum.py b/pydantic_schemaorg/MusicAlbum.py index 1331b55a..65b01bb4 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("MusicAlbum", alias='@type') + type_: str = Field(default="MusicAlbum", alias='@type') 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.", ) @@ -38,6 +38,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 c6e5f6dc..7a7e4419 100644 --- a/pydantic_schemaorg/MusicAlbumProductionType.py +++ b/pydantic_schemaorg/MusicAlbumProductionType.py @@ -12,6 +12,6 @@ class MusicAlbumProductionType(Enumeration): See: https://schema.org/MusicAlbumProductionType Model depth: 4 """ - type_: str = Field("MusicAlbumProductionType", alias='@type') + type_: str = Field(default="MusicAlbumProductionType", alias='@type') diff --git a/pydantic_schemaorg/MusicAlbumReleaseType.py b/pydantic_schemaorg/MusicAlbumReleaseType.py index 26f26680..2291afff 100644 --- a/pydantic_schemaorg/MusicAlbumReleaseType.py +++ b/pydantic_schemaorg/MusicAlbumReleaseType.py @@ -11,6 +11,6 @@ class MusicAlbumReleaseType(Enumeration): See: https://schema.org/MusicAlbumReleaseType Model depth: 4 """ - type_: str = Field("MusicAlbumReleaseType", alias='@type') + type_: str = Field(default="MusicAlbumReleaseType", alias='@type') diff --git a/pydantic_schemaorg/MusicComposition.py b/pydantic_schemaorg/MusicComposition.py index 5eec1a1a..ce149f70 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("MusicComposition", alias='@type') - composer: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + type_: str = Field(default="MusicComposition", alias='@type') + 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.", @@ -58,10 +58,9 @@ 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 eb088e61..2e3e43a6 100644 --- a/pydantic_schemaorg/MusicEvent.py +++ b/pydantic_schemaorg/MusicEvent.py @@ -11,6 +11,5 @@ class MusicEvent(Event): See: https://schema.org/MusicEvent Model depth: 3 """ - type_: str = Field("MusicEvent", alias='@type') + type_: str = Field(default="MusicEvent", alias='@type') - diff --git a/pydantic_schemaorg/MusicGroup.py b/pydantic_schemaorg/MusicGroup.py index b4749716..015457d9 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("MusicGroup", alias='@type') + type_: str = Field(default="MusicGroup", alias='@type') 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.", @@ -28,7 +28,7 @@ class MusicGroup(PerformingGroup): default=None, description="A music recording (track)—usually a single song.", ) - track: Optional[Union[List[Union['ItemList', 'MusicRecording', str]], 'ItemList', 'MusicRecording', str]] = Field( + track: Optional[Union[List[Union['MusicRecording', 'ItemList', str]], 'MusicRecording', 'ItemList', str]] = Field( default=None, description="A music recording (track)—usually a single song. If an ItemList is given, the" "list should contain items of type MusicRecording.", @@ -43,7 +43,6 @@ class MusicGroup(PerformingGroup): ) - if TYPE_CHECKING: from pydantic_schemaorg.URL import URL from pydantic_schemaorg.Text import Text diff --git a/pydantic_schemaorg/MusicPlaylist.py b/pydantic_schemaorg/MusicPlaylist.py index 54a6c6e5..eaf06bba 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("MusicPlaylist", alias='@type') + type_: str = Field(default="MusicPlaylist", alias='@type') numTracks: Optional[Union[List[Union[int, 'Integer', str]], int, 'Integer', str]] = Field( default=None, description="The number of tracks in this album or playlist.", @@ -23,7 +23,7 @@ class MusicPlaylist(CreativeWork): default=None, description="A music recording (track)—usually a single song.", ) - track: Optional[Union[List[Union['ItemList', 'MusicRecording', str]], 'ItemList', 'MusicRecording', str]] = Field( + track: Optional[Union[List[Union['MusicRecording', 'ItemList', str]], 'MusicRecording', 'ItemList', str]] = Field( default=None, description="A music recording (track)—usually a single song. If an ItemList is given, the" "list should contain items of type MusicRecording.", diff --git a/pydantic_schemaorg/MusicRecording.py b/pydantic_schemaorg/MusicRecording.py index 788eacb7..30802462 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("MusicRecording", alias='@type') + type_: str = Field(default="MusicRecording", alias='@type') 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.", ) @@ -45,8 +45,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 8d04d415..4a757d6a 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("MusicRelease", alias='@type') + type_: str = Field(default="MusicRelease", alias='@type') 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.", @@ -43,11 +43,10 @@ class MusicRelease(MusicPlaylist): ) - if TYPE_CHECKING: from pydantic_schemaorg.MusicAlbum import MusicAlbum 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 ba9860db..bf3c025d 100644 --- a/pydantic_schemaorg/MusicReleaseFormatType.py +++ b/pydantic_schemaorg/MusicReleaseFormatType.py @@ -12,6 +12,6 @@ class MusicReleaseFormatType(Enumeration): See: https://schema.org/MusicReleaseFormatType Model depth: 4 """ - type_: str = Field("MusicReleaseFormatType", alias='@type') + type_: str = Field(default="MusicReleaseFormatType", alias='@type') diff --git a/pydantic_schemaorg/MusicStore.py b/pydantic_schemaorg/MusicStore.py index 9044e181..f2cce01b 100644 --- a/pydantic_schemaorg/MusicStore.py +++ b/pydantic_schemaorg/MusicStore.py @@ -11,6 +11,5 @@ class MusicStore(Store): See: https://schema.org/MusicStore Model depth: 5 """ - type_: str = Field("MusicStore", alias='@type') + type_: str = Field(default="MusicStore", alias='@type') - diff --git a/pydantic_schemaorg/MusicVenue.py b/pydantic_schemaorg/MusicVenue.py index 81b9dee7..01847fea 100644 --- a/pydantic_schemaorg/MusicVenue.py +++ b/pydantic_schemaorg/MusicVenue.py @@ -11,6 +11,5 @@ class MusicVenue(CivicStructure): See: https://schema.org/MusicVenue Model depth: 4 """ - type_: str = Field("MusicVenue", alias='@type') + type_: str = Field(default="MusicVenue", alias='@type') - diff --git a/pydantic_schemaorg/MusicVideoObject.py b/pydantic_schemaorg/MusicVideoObject.py index 35f7a938..c1d31d26 100644 --- a/pydantic_schemaorg/MusicVideoObject.py +++ b/pydantic_schemaorg/MusicVideoObject.py @@ -11,6 +11,5 @@ class MusicVideoObject(MediaObject): See: https://schema.org/MusicVideoObject Model depth: 4 """ - type_: str = Field("MusicVideoObject", alias='@type') + type_: str = Field(default="MusicVideoObject", alias='@type') - diff --git a/pydantic_schemaorg/NGO.py b/pydantic_schemaorg/NGO.py index 847cd6de..9524e460 100644 --- a/pydantic_schemaorg/NGO.py +++ b/pydantic_schemaorg/NGO.py @@ -11,6 +11,5 @@ class NGO(Organization): See: https://schema.org/NGO Model depth: 3 """ - type_: str = Field("NGO", alias='@type') + type_: str = Field(default="NGO", alias='@type') - diff --git a/pydantic_schemaorg/NLNonprofitType.py b/pydantic_schemaorg/NLNonprofitType.py index e13bf477..1da4cc47 100644 --- a/pydantic_schemaorg/NLNonprofitType.py +++ b/pydantic_schemaorg/NLNonprofitType.py @@ -11,6 +11,5 @@ class NLNonprofitType(NonprofitType): See: https://schema.org/NLNonprofitType Model depth: 5 """ - type_: str = Field("NLNonprofitType", alias='@type') + type_: str = Field(default="NLNonprofitType", alias='@type') - diff --git a/pydantic_schemaorg/NailSalon.py b/pydantic_schemaorg/NailSalon.py index fd576c77..120f5ce0 100644 --- a/pydantic_schemaorg/NailSalon.py +++ b/pydantic_schemaorg/NailSalon.py @@ -11,6 +11,5 @@ class NailSalon(HealthAndBeautyBusiness): See: https://schema.org/NailSalon Model depth: 5 """ - type_: str = Field("NailSalon", alias='@type') + type_: str = Field(default="NailSalon", alias='@type') - diff --git a/pydantic_schemaorg/Neck.py b/pydantic_schemaorg/Neck.py index 10db59fb..00f6a29e 100644 --- a/pydantic_schemaorg/Neck.py +++ b/pydantic_schemaorg/Neck.py @@ -11,6 +11,5 @@ class Neck(PhysicalExam): See: https://schema.org/Neck Model depth: 5 """ - type_: str = Field("Neck", alias='@type') + type_: str = Field(default="Neck", alias='@type') - diff --git a/pydantic_schemaorg/Nerve.py b/pydantic_schemaorg/Nerve.py index 2fed4e02..fc6c427a 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("Nerve", alias='@type') + type_: str = Field(default="Nerve", alias='@type') 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 ad41a7f7..c91f3c97 100644 --- a/pydantic_schemaorg/Neuro.py +++ b/pydantic_schemaorg/Neuro.py @@ -11,6 +11,5 @@ class Neuro(PhysicalExam): See: https://schema.org/Neuro Model depth: 5 """ - type_: str = Field("Neuro", alias='@type') + type_: str = Field(default="Neuro", alias='@type') - diff --git a/pydantic_schemaorg/Neurologic.py b/pydantic_schemaorg/Neurologic.py index d9e95814..b6fc8936 100644 --- a/pydantic_schemaorg/Neurologic.py +++ b/pydantic_schemaorg/Neurologic.py @@ -12,6 +12,5 @@ class Neurologic(MedicalSpecialty): See: https://schema.org/Neurologic Model depth: 6 """ - type_: str = Field("Neurologic", alias='@type') + type_: str = Field(default="Neurologic", alias='@type') - diff --git a/pydantic_schemaorg/NewCondition.py b/pydantic_schemaorg/NewCondition.py index 48f1f5ba..10ce7308 100644 --- a/pydantic_schemaorg/NewCondition.py +++ b/pydantic_schemaorg/NewCondition.py @@ -11,6 +11,6 @@ class NewCondition(OfferItemCondition): See: https://schema.org/NewCondition Model depth: 5 """ - type_: str = Field("NewCondition", alias='@type') + type_: str = Field(default="NewCondition", alias='@type') diff --git a/pydantic_schemaorg/NewsArticle.py b/pydantic_schemaorg/NewsArticle.py index 474c4a7b..15b9ae7a 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("NewsArticle", alias='@type') + type_: str = Field(default="NewsArticle", alias='@type') 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 d473afc9..cfc6d161 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("NewsMediaOrganization", alias='@type') + type_: str = Field(default="NewsMediaOrganization", alias='@type') 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 0bfe2968..ecb4b386 100644 --- a/pydantic_schemaorg/Newspaper.py +++ b/pydantic_schemaorg/Newspaper.py @@ -13,6 +13,5 @@ class Newspaper(Periodical): See: https://schema.org/Newspaper Model depth: 5 """ - type_: str = Field("Newspaper", alias='@type') + type_: str = Field(default="Newspaper", alias='@type') - diff --git a/pydantic_schemaorg/NightClub.py b/pydantic_schemaorg/NightClub.py index 4ba10056..d9fc854f 100644 --- a/pydantic_schemaorg/NightClub.py +++ b/pydantic_schemaorg/NightClub.py @@ -11,6 +11,5 @@ class NightClub(EntertainmentBusiness): See: https://schema.org/NightClub Model depth: 5 """ - type_: str = Field("NightClub", alias='@type') + type_: str = Field(default="NightClub", alias='@type') - diff --git a/pydantic_schemaorg/NoninvasiveProcedure.py b/pydantic_schemaorg/NoninvasiveProcedure.py index b6d22b52..c3e9ffe0 100644 --- a/pydantic_schemaorg/NoninvasiveProcedure.py +++ b/pydantic_schemaorg/NoninvasiveProcedure.py @@ -11,6 +11,5 @@ class NoninvasiveProcedure(MedicalProcedureType): See: https://schema.org/NoninvasiveProcedure Model depth: 6 """ - type_: str = Field("NoninvasiveProcedure", alias='@type') + type_: str = Field(default="NoninvasiveProcedure", alias='@type') - diff --git a/pydantic_schemaorg/Nonprofit501a.py b/pydantic_schemaorg/Nonprofit501a.py index a6aec50a..0c0231d0 100644 --- a/pydantic_schemaorg/Nonprofit501a.py +++ b/pydantic_schemaorg/Nonprofit501a.py @@ -11,6 +11,5 @@ class Nonprofit501a(USNonprofitType): See: https://schema.org/Nonprofit501a Model depth: 6 """ - type_: str = Field("Nonprofit501a", alias='@type') + type_: str = Field(default="Nonprofit501a", alias='@type') - diff --git a/pydantic_schemaorg/Nonprofit501c1.py b/pydantic_schemaorg/Nonprofit501c1.py index c03cc2d7..42d6c31f 100644 --- a/pydantic_schemaorg/Nonprofit501c1.py +++ b/pydantic_schemaorg/Nonprofit501c1.py @@ -12,6 +12,5 @@ class Nonprofit501c1(USNonprofitType): See: https://schema.org/Nonprofit501c1 Model depth: 6 """ - type_: str = Field("Nonprofit501c1", alias='@type') + type_: str = Field(default="Nonprofit501c1", alias='@type') - diff --git a/pydantic_schemaorg/Nonprofit501c10.py b/pydantic_schemaorg/Nonprofit501c10.py index 02d307c8..65ead0ae 100644 --- a/pydantic_schemaorg/Nonprofit501c10.py +++ b/pydantic_schemaorg/Nonprofit501c10.py @@ -11,6 +11,5 @@ class Nonprofit501c10(USNonprofitType): See: https://schema.org/Nonprofit501c10 Model depth: 6 """ - type_: str = Field("Nonprofit501c10", alias='@type') + type_: str = Field(default="Nonprofit501c10", alias='@type') - diff --git a/pydantic_schemaorg/Nonprofit501c11.py b/pydantic_schemaorg/Nonprofit501c11.py index bc131bae..81a26a04 100644 --- a/pydantic_schemaorg/Nonprofit501c11.py +++ b/pydantic_schemaorg/Nonprofit501c11.py @@ -11,6 +11,5 @@ class Nonprofit501c11(USNonprofitType): See: https://schema.org/Nonprofit501c11 Model depth: 6 """ - type_: str = Field("Nonprofit501c11", alias='@type') + type_: str = Field(default="Nonprofit501c11", alias='@type') - diff --git a/pydantic_schemaorg/Nonprofit501c12.py b/pydantic_schemaorg/Nonprofit501c12.py index 0b89fc54..c0b6dbb2 100644 --- a/pydantic_schemaorg/Nonprofit501c12.py +++ b/pydantic_schemaorg/Nonprofit501c12.py @@ -12,6 +12,5 @@ class Nonprofit501c12(USNonprofitType): See: https://schema.org/Nonprofit501c12 Model depth: 6 """ - type_: str = Field("Nonprofit501c12", alias='@type') + type_: str = Field(default="Nonprofit501c12", alias='@type') - diff --git a/pydantic_schemaorg/Nonprofit501c13.py b/pydantic_schemaorg/Nonprofit501c13.py index 7f050e07..7ee83d6b 100644 --- a/pydantic_schemaorg/Nonprofit501c13.py +++ b/pydantic_schemaorg/Nonprofit501c13.py @@ -11,6 +11,5 @@ class Nonprofit501c13(USNonprofitType): See: https://schema.org/Nonprofit501c13 Model depth: 6 """ - type_: str = Field("Nonprofit501c13", alias='@type') + type_: str = Field(default="Nonprofit501c13", alias='@type') - diff --git a/pydantic_schemaorg/Nonprofit501c14.py b/pydantic_schemaorg/Nonprofit501c14.py index 624f0aff..7e3694b2 100644 --- a/pydantic_schemaorg/Nonprofit501c14.py +++ b/pydantic_schemaorg/Nonprofit501c14.py @@ -12,6 +12,5 @@ class Nonprofit501c14(USNonprofitType): See: https://schema.org/Nonprofit501c14 Model depth: 6 """ - type_: str = Field("Nonprofit501c14", alias='@type') + type_: str = Field(default="Nonprofit501c14", alias='@type') - diff --git a/pydantic_schemaorg/Nonprofit501c15.py b/pydantic_schemaorg/Nonprofit501c15.py index 391ee54f..097580ee 100644 --- a/pydantic_schemaorg/Nonprofit501c15.py +++ b/pydantic_schemaorg/Nonprofit501c15.py @@ -11,6 +11,5 @@ class Nonprofit501c15(USNonprofitType): See: https://schema.org/Nonprofit501c15 Model depth: 6 """ - type_: str = Field("Nonprofit501c15", alias='@type') + type_: str = Field(default="Nonprofit501c15", alias='@type') - diff --git a/pydantic_schemaorg/Nonprofit501c16.py b/pydantic_schemaorg/Nonprofit501c16.py index 27809148..5a4fa6d4 100644 --- a/pydantic_schemaorg/Nonprofit501c16.py +++ b/pydantic_schemaorg/Nonprofit501c16.py @@ -12,6 +12,5 @@ class Nonprofit501c16(USNonprofitType): See: https://schema.org/Nonprofit501c16 Model depth: 6 """ - type_: str = Field("Nonprofit501c16", alias='@type') + type_: str = Field(default="Nonprofit501c16", alias='@type') - diff --git a/pydantic_schemaorg/Nonprofit501c17.py b/pydantic_schemaorg/Nonprofit501c17.py index d75b7a27..8fcd1f36 100644 --- a/pydantic_schemaorg/Nonprofit501c17.py +++ b/pydantic_schemaorg/Nonprofit501c17.py @@ -12,6 +12,5 @@ class Nonprofit501c17(USNonprofitType): See: https://schema.org/Nonprofit501c17 Model depth: 6 """ - type_: str = Field("Nonprofit501c17", alias='@type') + type_: str = Field(default="Nonprofit501c17", alias='@type') - diff --git a/pydantic_schemaorg/Nonprofit501c18.py b/pydantic_schemaorg/Nonprofit501c18.py index ffbcaa74..0ba7aca3 100644 --- a/pydantic_schemaorg/Nonprofit501c18.py +++ b/pydantic_schemaorg/Nonprofit501c18.py @@ -12,6 +12,6 @@ class Nonprofit501c18(USNonprofitType): See: https://schema.org/Nonprofit501c18 Model depth: 6 """ - type_: str = Field("Nonprofit501c18", alias='@type') + type_: str = Field(default="Nonprofit501c18", alias='@type') diff --git a/pydantic_schemaorg/Nonprofit501c19.py b/pydantic_schemaorg/Nonprofit501c19.py index fbca6387..56a2f099 100644 --- a/pydantic_schemaorg/Nonprofit501c19.py +++ b/pydantic_schemaorg/Nonprofit501c19.py @@ -12,6 +12,5 @@ class Nonprofit501c19(USNonprofitType): See: https://schema.org/Nonprofit501c19 Model depth: 6 """ - type_: str = Field("Nonprofit501c19", alias='@type') + type_: str = Field(default="Nonprofit501c19", alias='@type') - diff --git a/pydantic_schemaorg/Nonprofit501c2.py b/pydantic_schemaorg/Nonprofit501c2.py index 79d7ffd7..10994b07 100644 --- a/pydantic_schemaorg/Nonprofit501c2.py +++ b/pydantic_schemaorg/Nonprofit501c2.py @@ -12,6 +12,6 @@ class Nonprofit501c2(USNonprofitType): See: https://schema.org/Nonprofit501c2 Model depth: 6 """ - type_: str = Field("Nonprofit501c2", alias='@type') + type_: str = Field(default="Nonprofit501c2", alias='@type') diff --git a/pydantic_schemaorg/Nonprofit501c20.py b/pydantic_schemaorg/Nonprofit501c20.py index 0d5e004b..f83e815d 100644 --- a/pydantic_schemaorg/Nonprofit501c20.py +++ b/pydantic_schemaorg/Nonprofit501c20.py @@ -11,6 +11,5 @@ class Nonprofit501c20(USNonprofitType): See: https://schema.org/Nonprofit501c20 Model depth: 6 """ - type_: str = Field("Nonprofit501c20", alias='@type') + type_: str = Field(default="Nonprofit501c20", alias='@type') - diff --git a/pydantic_schemaorg/Nonprofit501c21.py b/pydantic_schemaorg/Nonprofit501c21.py index 62ac0d6b..acaf7cfc 100644 --- a/pydantic_schemaorg/Nonprofit501c21.py +++ b/pydantic_schemaorg/Nonprofit501c21.py @@ -11,6 +11,5 @@ class Nonprofit501c21(USNonprofitType): See: https://schema.org/Nonprofit501c21 Model depth: 6 """ - type_: str = Field("Nonprofit501c21", alias='@type') + type_: str = Field(default="Nonprofit501c21", alias='@type') - diff --git a/pydantic_schemaorg/Nonprofit501c22.py b/pydantic_schemaorg/Nonprofit501c22.py index f331cdd1..c8c5bfd7 100644 --- a/pydantic_schemaorg/Nonprofit501c22.py +++ b/pydantic_schemaorg/Nonprofit501c22.py @@ -11,6 +11,5 @@ class Nonprofit501c22(USNonprofitType): See: https://schema.org/Nonprofit501c22 Model depth: 6 """ - type_: str = Field("Nonprofit501c22", alias='@type') + type_: str = Field(default="Nonprofit501c22", alias='@type') - diff --git a/pydantic_schemaorg/Nonprofit501c23.py b/pydantic_schemaorg/Nonprofit501c23.py index 3667427b..d914f725 100644 --- a/pydantic_schemaorg/Nonprofit501c23.py +++ b/pydantic_schemaorg/Nonprofit501c23.py @@ -11,6 +11,5 @@ class Nonprofit501c23(USNonprofitType): See: https://schema.org/Nonprofit501c23 Model depth: 6 """ - type_: str = Field("Nonprofit501c23", alias='@type') + type_: str = Field(default="Nonprofit501c23", alias='@type') - diff --git a/pydantic_schemaorg/Nonprofit501c24.py b/pydantic_schemaorg/Nonprofit501c24.py index 138c3596..de0d0c93 100644 --- a/pydantic_schemaorg/Nonprofit501c24.py +++ b/pydantic_schemaorg/Nonprofit501c24.py @@ -11,6 +11,5 @@ class Nonprofit501c24(USNonprofitType): See: https://schema.org/Nonprofit501c24 Model depth: 6 """ - type_: str = Field("Nonprofit501c24", alias='@type') + type_: str = Field(default="Nonprofit501c24", alias='@type') - diff --git a/pydantic_schemaorg/Nonprofit501c25.py b/pydantic_schemaorg/Nonprofit501c25.py index fda9a259..8df892fb 100644 --- a/pydantic_schemaorg/Nonprofit501c25.py +++ b/pydantic_schemaorg/Nonprofit501c25.py @@ -12,6 +12,5 @@ class Nonprofit501c25(USNonprofitType): See: https://schema.org/Nonprofit501c25 Model depth: 6 """ - type_: str = Field("Nonprofit501c25", alias='@type') + type_: str = Field(default="Nonprofit501c25", alias='@type') - diff --git a/pydantic_schemaorg/Nonprofit501c26.py b/pydantic_schemaorg/Nonprofit501c26.py index ef7b5558..1796697a 100644 --- a/pydantic_schemaorg/Nonprofit501c26.py +++ b/pydantic_schemaorg/Nonprofit501c26.py @@ -12,6 +12,6 @@ class Nonprofit501c26(USNonprofitType): See: https://schema.org/Nonprofit501c26 Model depth: 6 """ - type_: str = Field("Nonprofit501c26", alias='@type') + type_: str = Field(default="Nonprofit501c26", alias='@type') diff --git a/pydantic_schemaorg/Nonprofit501c27.py b/pydantic_schemaorg/Nonprofit501c27.py index ee5230c1..9488abac 100644 --- a/pydantic_schemaorg/Nonprofit501c27.py +++ b/pydantic_schemaorg/Nonprofit501c27.py @@ -12,6 +12,5 @@ class Nonprofit501c27(USNonprofitType): See: https://schema.org/Nonprofit501c27 Model depth: 6 """ - type_: str = Field("Nonprofit501c27", alias='@type') + type_: str = Field(default="Nonprofit501c27", alias='@type') - diff --git a/pydantic_schemaorg/Nonprofit501c28.py b/pydantic_schemaorg/Nonprofit501c28.py index fef2cf9b..a66939f4 100644 --- a/pydantic_schemaorg/Nonprofit501c28.py +++ b/pydantic_schemaorg/Nonprofit501c28.py @@ -12,6 +12,5 @@ class Nonprofit501c28(USNonprofitType): See: https://schema.org/Nonprofit501c28 Model depth: 6 """ - type_: str = Field("Nonprofit501c28", alias='@type') + type_: str = Field(default="Nonprofit501c28", alias='@type') - diff --git a/pydantic_schemaorg/Nonprofit501c3.py b/pydantic_schemaorg/Nonprofit501c3.py index 02fa820d..a7ddbf59 100644 --- a/pydantic_schemaorg/Nonprofit501c3.py +++ b/pydantic_schemaorg/Nonprofit501c3.py @@ -13,6 +13,5 @@ class Nonprofit501c3(USNonprofitType): See: https://schema.org/Nonprofit501c3 Model depth: 6 """ - type_: str = Field("Nonprofit501c3", alias='@type') + type_: str = Field(default="Nonprofit501c3", alias='@type') - diff --git a/pydantic_schemaorg/Nonprofit501c4.py b/pydantic_schemaorg/Nonprofit501c4.py index 605684bc..0644a466 100644 --- a/pydantic_schemaorg/Nonprofit501c4.py +++ b/pydantic_schemaorg/Nonprofit501c4.py @@ -12,6 +12,5 @@ class Nonprofit501c4(USNonprofitType): See: https://schema.org/Nonprofit501c4 Model depth: 6 """ - type_: str = Field("Nonprofit501c4", alias='@type') + type_: str = Field(default="Nonprofit501c4", alias='@type') - diff --git a/pydantic_schemaorg/Nonprofit501c5.py b/pydantic_schemaorg/Nonprofit501c5.py index 761b61d0..198e6d03 100644 --- a/pydantic_schemaorg/Nonprofit501c5.py +++ b/pydantic_schemaorg/Nonprofit501c5.py @@ -12,6 +12,6 @@ class Nonprofit501c5(USNonprofitType): See: https://schema.org/Nonprofit501c5 Model depth: 6 """ - type_: str = Field("Nonprofit501c5", alias='@type') + type_: str = Field(default="Nonprofit501c5", alias='@type') diff --git a/pydantic_schemaorg/Nonprofit501c6.py b/pydantic_schemaorg/Nonprofit501c6.py index b3545f18..1e757b77 100644 --- a/pydantic_schemaorg/Nonprofit501c6.py +++ b/pydantic_schemaorg/Nonprofit501c6.py @@ -12,6 +12,5 @@ class Nonprofit501c6(USNonprofitType): See: https://schema.org/Nonprofit501c6 Model depth: 6 """ - type_: str = Field("Nonprofit501c6", alias='@type') + type_: str = Field(default="Nonprofit501c6", alias='@type') - diff --git a/pydantic_schemaorg/Nonprofit501c7.py b/pydantic_schemaorg/Nonprofit501c7.py index ba37a988..51b18b33 100644 --- a/pydantic_schemaorg/Nonprofit501c7.py +++ b/pydantic_schemaorg/Nonprofit501c7.py @@ -11,6 +11,5 @@ class Nonprofit501c7(USNonprofitType): See: https://schema.org/Nonprofit501c7 Model depth: 6 """ - type_: str = Field("Nonprofit501c7", alias='@type') + type_: str = Field(default="Nonprofit501c7", alias='@type') - diff --git a/pydantic_schemaorg/Nonprofit501c8.py b/pydantic_schemaorg/Nonprofit501c8.py index 25122f5d..4e5da426 100644 --- a/pydantic_schemaorg/Nonprofit501c8.py +++ b/pydantic_schemaorg/Nonprofit501c8.py @@ -12,6 +12,5 @@ class Nonprofit501c8(USNonprofitType): See: https://schema.org/Nonprofit501c8 Model depth: 6 """ - type_: str = Field("Nonprofit501c8", alias='@type') + type_: str = Field(default="Nonprofit501c8", alias='@type') - diff --git a/pydantic_schemaorg/Nonprofit501c9.py b/pydantic_schemaorg/Nonprofit501c9.py index 7bb232eb..17c58bf5 100644 --- a/pydantic_schemaorg/Nonprofit501c9.py +++ b/pydantic_schemaorg/Nonprofit501c9.py @@ -11,6 +11,5 @@ class Nonprofit501c9(USNonprofitType): See: https://schema.org/Nonprofit501c9 Model depth: 6 """ - type_: str = Field("Nonprofit501c9", alias='@type') + type_: str = Field(default="Nonprofit501c9", alias='@type') - diff --git a/pydantic_schemaorg/Nonprofit501d.py b/pydantic_schemaorg/Nonprofit501d.py index c0747305..3f8db8b2 100644 --- a/pydantic_schemaorg/Nonprofit501d.py +++ b/pydantic_schemaorg/Nonprofit501d.py @@ -11,6 +11,5 @@ class Nonprofit501d(USNonprofitType): See: https://schema.org/Nonprofit501d Model depth: 6 """ - type_: str = Field("Nonprofit501d", alias='@type') + type_: str = Field(default="Nonprofit501d", alias='@type') - diff --git a/pydantic_schemaorg/Nonprofit501e.py b/pydantic_schemaorg/Nonprofit501e.py index 53076cf7..7edce78f 100644 --- a/pydantic_schemaorg/Nonprofit501e.py +++ b/pydantic_schemaorg/Nonprofit501e.py @@ -11,6 +11,5 @@ class Nonprofit501e(USNonprofitType): See: https://schema.org/Nonprofit501e Model depth: 6 """ - type_: str = Field("Nonprofit501e", alias='@type') + type_: str = Field(default="Nonprofit501e", alias='@type') - diff --git a/pydantic_schemaorg/Nonprofit501f.py b/pydantic_schemaorg/Nonprofit501f.py index 87539110..ce7d98de 100644 --- a/pydantic_schemaorg/Nonprofit501f.py +++ b/pydantic_schemaorg/Nonprofit501f.py @@ -11,6 +11,6 @@ class Nonprofit501f(USNonprofitType): See: https://schema.org/Nonprofit501f Model depth: 6 """ - type_: str = Field("Nonprofit501f", alias='@type') + type_: str = Field(default="Nonprofit501f", alias='@type') diff --git a/pydantic_schemaorg/Nonprofit501k.py b/pydantic_schemaorg/Nonprofit501k.py index c0d72382..348ec53e 100644 --- a/pydantic_schemaorg/Nonprofit501k.py +++ b/pydantic_schemaorg/Nonprofit501k.py @@ -11,6 +11,5 @@ class Nonprofit501k(USNonprofitType): See: https://schema.org/Nonprofit501k Model depth: 6 """ - type_: str = Field("Nonprofit501k", alias='@type') + type_: str = Field(default="Nonprofit501k", alias='@type') - diff --git a/pydantic_schemaorg/Nonprofit501n.py b/pydantic_schemaorg/Nonprofit501n.py index 5069cced..01add189 100644 --- a/pydantic_schemaorg/Nonprofit501n.py +++ b/pydantic_schemaorg/Nonprofit501n.py @@ -11,6 +11,5 @@ class Nonprofit501n(USNonprofitType): See: https://schema.org/Nonprofit501n Model depth: 6 """ - type_: str = Field("Nonprofit501n", alias='@type') + type_: str = Field(default="Nonprofit501n", alias='@type') - diff --git a/pydantic_schemaorg/Nonprofit501q.py b/pydantic_schemaorg/Nonprofit501q.py index 7e692373..ba8dda62 100644 --- a/pydantic_schemaorg/Nonprofit501q.py +++ b/pydantic_schemaorg/Nonprofit501q.py @@ -11,6 +11,5 @@ class Nonprofit501q(USNonprofitType): See: https://schema.org/Nonprofit501q Model depth: 6 """ - type_: str = Field("Nonprofit501q", alias='@type') + type_: str = Field(default="Nonprofit501q", alias='@type') - diff --git a/pydantic_schemaorg/Nonprofit527.py b/pydantic_schemaorg/Nonprofit527.py index c4889ec2..76f8e058 100644 --- a/pydantic_schemaorg/Nonprofit527.py +++ b/pydantic_schemaorg/Nonprofit527.py @@ -11,6 +11,5 @@ class Nonprofit527(USNonprofitType): See: https://schema.org/Nonprofit527 Model depth: 6 """ - type_: str = Field("Nonprofit527", alias='@type') + type_: str = Field(default="Nonprofit527", alias='@type') - diff --git a/pydantic_schemaorg/NonprofitANBI.py b/pydantic_schemaorg/NonprofitANBI.py index 530596e9..cb4df016 100644 --- a/pydantic_schemaorg/NonprofitANBI.py +++ b/pydantic_schemaorg/NonprofitANBI.py @@ -11,6 +11,5 @@ class NonprofitANBI(NLNonprofitType): See: https://schema.org/NonprofitANBI Model depth: 6 """ - type_: str = Field("NonprofitANBI", alias='@type') + type_: str = Field(default="NonprofitANBI", alias='@type') - diff --git a/pydantic_schemaorg/NonprofitSBBI.py b/pydantic_schemaorg/NonprofitSBBI.py index 89ee15d5..aa337143 100644 --- a/pydantic_schemaorg/NonprofitSBBI.py +++ b/pydantic_schemaorg/NonprofitSBBI.py @@ -12,6 +12,5 @@ class NonprofitSBBI(NLNonprofitType): See: https://schema.org/NonprofitSBBI Model depth: 6 """ - type_: str = Field("NonprofitSBBI", alias='@type') + type_: str = Field(default="NonprofitSBBI", alias='@type') - diff --git a/pydantic_schemaorg/NonprofitType.py b/pydantic_schemaorg/NonprofitType.py index 1a4546b1..ffda13ca 100644 --- a/pydantic_schemaorg/NonprofitType.py +++ b/pydantic_schemaorg/NonprofitType.py @@ -12,6 +12,6 @@ class NonprofitType(Enumeration): See: https://schema.org/NonprofitType Model depth: 4 """ - type_: str = Field("NonprofitType", alias='@type') + type_: str = Field(default="NonprofitType", alias='@type') diff --git a/pydantic_schemaorg/Nose.py b/pydantic_schemaorg/Nose.py index c8821a34..0a7de6f0 100644 --- a/pydantic_schemaorg/Nose.py +++ b/pydantic_schemaorg/Nose.py @@ -11,6 +11,6 @@ class Nose(PhysicalExam): See: https://schema.org/Nose Model depth: 5 """ - type_: str = Field("Nose", alias='@type') + type_: str = Field(default="Nose", alias='@type') diff --git a/pydantic_schemaorg/NotInForce.py b/pydantic_schemaorg/NotInForce.py index 8873b4f5..33173ae3 100644 --- a/pydantic_schemaorg/NotInForce.py +++ b/pydantic_schemaorg/NotInForce.py @@ -11,6 +11,5 @@ class NotInForce(LegalForceStatus): See: https://schema.org/NotInForce Model depth: 6 """ - type_: str = Field("NotInForce", alias='@type') + type_: str = Field(default="NotInForce", alias='@type') - diff --git a/pydantic_schemaorg/NotYetRecruiting.py b/pydantic_schemaorg/NotYetRecruiting.py index c8b3765a..35d4dc39 100644 --- a/pydantic_schemaorg/NotYetRecruiting.py +++ b/pydantic_schemaorg/NotYetRecruiting.py @@ -11,6 +11,6 @@ class NotYetRecruiting(MedicalStudyStatus): See: https://schema.org/NotYetRecruiting Model depth: 6 """ - type_: str = Field("NotYetRecruiting", alias='@type') + type_: str = Field(default="NotYetRecruiting", alias='@type') diff --git a/pydantic_schemaorg/Notary.py b/pydantic_schemaorg/Notary.py index bc6dfbe5..91d618fa 100644 --- a/pydantic_schemaorg/Notary.py +++ b/pydantic_schemaorg/Notary.py @@ -11,6 +11,5 @@ class Notary(LegalService): See: https://schema.org/Notary Model depth: 5 """ - type_: str = Field("Notary", alias='@type') + type_: str = Field(default="Notary", alias='@type') - diff --git a/pydantic_schemaorg/NoteDigitalDocument.py b/pydantic_schemaorg/NoteDigitalDocument.py index 94496d38..82922dbd 100644 --- a/pydantic_schemaorg/NoteDigitalDocument.py +++ b/pydantic_schemaorg/NoteDigitalDocument.py @@ -11,6 +11,5 @@ class NoteDigitalDocument(DigitalDocument): See: https://schema.org/NoteDigitalDocument Model depth: 4 """ - type_: str = Field("NoteDigitalDocument", alias='@type') + type_: str = Field(default="NoteDigitalDocument", alias='@type') - diff --git a/pydantic_schemaorg/Number.py b/pydantic_schemaorg/Number.py index 129c16ae..62bc62e9 100644 --- a/pydantic_schemaorg/Number.py +++ b/pydantic_schemaorg/Number.py @@ -14,6 +14,6 @@ class Number(DataType): See: https://schema.org/Number Model depth: 5 """ - type_: str = Field("Number", alias='@type') + type_: str = Field(default="Number", alias='@type') diff --git a/pydantic_schemaorg/Nursing.py b/pydantic_schemaorg/Nursing.py index d81ad74e..b9d5f782 100644 --- a/pydantic_schemaorg/Nursing.py +++ b/pydantic_schemaorg/Nursing.py @@ -13,6 +13,5 @@ class Nursing(MedicalSpecialty, MedicalBusiness): See: https://schema.org/Nursing Model depth: 5 """ - type_: str = Field("Nursing", alias='@type') + type_: str = Field(default="Nursing", alias='@type') - diff --git a/pydantic_schemaorg/NutritionInformation.py b/pydantic_schemaorg/NutritionInformation.py index f486b80c..3ab3b025 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("NutritionInformation", alias='@type') + type_: str = Field(default="NutritionInformation", alias='@type') calories: Optional[Union[List[Union['Energy', str]], 'Energy', str]] = Field( default=None, description="The number of calories.", @@ -65,7 +65,6 @@ class NutritionInformation(StructuredValue): ) - if TYPE_CHECKING: from pydantic_schemaorg.Energy import Energy from pydantic_schemaorg.Mass import Mass diff --git a/pydantic_schemaorg/OTC.py b/pydantic_schemaorg/OTC.py index 6898bac3..faae5ccc 100644 --- a/pydantic_schemaorg/OTC.py +++ b/pydantic_schemaorg/OTC.py @@ -12,6 +12,5 @@ class OTC(DrugPrescriptionStatus): See: https://schema.org/OTC Model depth: 6 """ - type_: str = Field("OTC", alias='@type') + type_: str = Field(default="OTC", alias='@type') - diff --git a/pydantic_schemaorg/Observation.py b/pydantic_schemaorg/Observation.py index 25f55f02..4818142a 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("Observation", alias='@type') + type_: str = Field(default="Observation", alias='@type') 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" @@ -47,7 +47,6 @@ class Observation(Intangible): ) - if TYPE_CHECKING: from pydantic_schemaorg.Property import Property from pydantic_schemaorg.DateTime import DateTime diff --git a/pydantic_schemaorg/Observational.py b/pydantic_schemaorg/Observational.py index 8f3c9f90..db8e6e93 100644 --- a/pydantic_schemaorg/Observational.py +++ b/pydantic_schemaorg/Observational.py @@ -11,6 +11,5 @@ class Observational(MedicalObservationalStudyDesign): See: https://schema.org/Observational Model depth: 6 """ - type_: str = Field("Observational", alias='@type') + type_: str = Field(default="Observational", alias='@type') - diff --git a/pydantic_schemaorg/Obstetric.py b/pydantic_schemaorg/Obstetric.py index b6bfc237..22811b13 100644 --- a/pydantic_schemaorg/Obstetric.py +++ b/pydantic_schemaorg/Obstetric.py @@ -13,6 +13,5 @@ class Obstetric(MedicalSpecialty, MedicalBusiness): See: https://schema.org/Obstetric Model depth: 5 """ - type_: str = Field("Obstetric", alias='@type') + type_: str = Field(default="Obstetric", alias='@type') - diff --git a/pydantic_schemaorg/Occupation.py b/pydantic_schemaorg/Occupation.py index 75babee6..95231bbe 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("Occupation", alias='@type') + type_: str = Field(default="Occupation", alias='@type') 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.", @@ -60,7 +60,6 @@ class Occupation(Intangible): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text from pydantic_schemaorg.OccupationalExperienceRequirements import OccupationalExperienceRequirements diff --git a/pydantic_schemaorg/OccupationalActivity.py b/pydantic_schemaorg/OccupationalActivity.py index db74b80f..23ebdb37 100644 --- a/pydantic_schemaorg/OccupationalActivity.py +++ b/pydantic_schemaorg/OccupationalActivity.py @@ -13,6 +13,6 @@ class OccupationalActivity(PhysicalActivityCategory): See: https://schema.org/OccupationalActivity Model depth: 5 """ - type_: str = Field("OccupationalActivity", alias='@type') + type_: str = Field(default="OccupationalActivity", alias='@type') diff --git a/pydantic_schemaorg/OccupationalExperienceRequirements.py b/pydantic_schemaorg/OccupationalExperienceRequirements.py index a6a91f48..712464f1 100644 --- a/pydantic_schemaorg/OccupationalExperienceRequirements.py +++ b/pydantic_schemaorg/OccupationalExperienceRequirements.py @@ -15,7 +15,7 @@ class OccupationalExperienceRequirements(Intangible): See: https://schema.org/OccupationalExperienceRequirements Model depth: 3 """ - type_: str = Field("OccupationalExperienceRequirements", alias='@type') + type_: str = Field(default="OccupationalExperienceRequirements", alias='@type') monthsOfExperience: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, '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 0b9916db..ab76cd94 100644 --- a/pydantic_schemaorg/OccupationalTherapy.py +++ b/pydantic_schemaorg/OccupationalTherapy.py @@ -12,6 +12,5 @@ class OccupationalTherapy(MedicalTherapy): See: https://schema.org/OccupationalTherapy Model depth: 6 """ - type_: str = Field("OccupationalTherapy", alias='@type') + type_: str = Field(default="OccupationalTherapy", alias='@type') - diff --git a/pydantic_schemaorg/OceanBodyOfWater.py b/pydantic_schemaorg/OceanBodyOfWater.py index e2b4bb8d..b775ddac 100644 --- a/pydantic_schemaorg/OceanBodyOfWater.py +++ b/pydantic_schemaorg/OceanBodyOfWater.py @@ -11,6 +11,5 @@ class OceanBodyOfWater(BodyOfWater): See: https://schema.org/OceanBodyOfWater Model depth: 5 """ - type_: str = Field("OceanBodyOfWater", alias='@type') + type_: str = Field(default="OceanBodyOfWater", alias='@type') - diff --git a/pydantic_schemaorg/Offer.py b/pydantic_schemaorg/Offer.py index 34ec092b..0398af1f 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("Offer", alias='@type') + type_: str = Field(default="Offer", alias='@type') 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.", @@ -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['CreativeWork', 'Trip', 'Event', 'Product', 'Service', 'MenuItem', 'AggregateOffer', str]], 'CreativeWork', 'Trip', 'Event', 'Product', 'Service', 'MenuItem', 'AggregateOffer', str]] = Field( + itemOffered: Optional[Union[List[Union['Event', 'AggregateOffer', 'Product', 'MenuItem', 'Service', 'CreativeWork', 'Trip', str]], 'Event', 'AggregateOffer', 'Product', 'MenuItem', 'Service', 'CreativeWork', 'Trip', 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" @@ -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" @@ -277,14 +277,13 @@ class Offer(Intangible): ) - if TYPE_CHECKING: 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 @@ -302,16 +301,16 @@ 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.CreativeWork import CreativeWork - from pydantic_schemaorg.Trip import Trip from pydantic_schemaorg.Event import Event + from pydantic_schemaorg.AggregateOffer import AggregateOffer from pydantic_schemaorg.Product import Product - from pydantic_schemaorg.Service import Service from pydantic_schemaorg.MenuItem import MenuItem - from pydantic_schemaorg.AggregateOffer import AggregateOffer + from pydantic_schemaorg.Service import Service + from pydantic_schemaorg.CreativeWork import CreativeWork + from pydantic_schemaorg.Trip import Trip from pydantic_schemaorg.Review import Review from pydantic_schemaorg.OfferItemCondition import OfferItemCondition from pydantic_schemaorg.OfferShippingDetails import OfferShippingDetails diff --git a/pydantic_schemaorg/OfferCatalog.py b/pydantic_schemaorg/OfferCatalog.py index 73ab7a31..c9f4ad61 100644 --- a/pydantic_schemaorg/OfferCatalog.py +++ b/pydantic_schemaorg/OfferCatalog.py @@ -12,6 +12,5 @@ class OfferCatalog(ItemList): See: https://schema.org/OfferCatalog Model depth: 4 """ - type_: str = Field("OfferCatalog", alias='@type') + type_: str = Field(default="OfferCatalog", alias='@type') - diff --git a/pydantic_schemaorg/OfferForLease.py b/pydantic_schemaorg/OfferForLease.py index 53d88baa..b9fd2571 100644 --- a/pydantic_schemaorg/OfferForLease.py +++ b/pydantic_schemaorg/OfferForLease.py @@ -14,6 +14,5 @@ class OfferForLease(Offer): See: https://schema.org/OfferForLease Model depth: 4 """ - type_: str = Field("OfferForLease", alias='@type') + type_: str = Field(default="OfferForLease", alias='@type') - diff --git a/pydantic_schemaorg/OfferForPurchase.py b/pydantic_schemaorg/OfferForPurchase.py index ab5059d9..fcf503d2 100644 --- a/pydantic_schemaorg/OfferForPurchase.py +++ b/pydantic_schemaorg/OfferForPurchase.py @@ -14,6 +14,5 @@ class OfferForPurchase(Offer): See: https://schema.org/OfferForPurchase Model depth: 4 """ - type_: str = Field("OfferForPurchase", alias='@type') + type_: str = Field(default="OfferForPurchase", alias='@type') - diff --git a/pydantic_schemaorg/OfferItemCondition.py b/pydantic_schemaorg/OfferItemCondition.py index 9ae74cb2..1d9bb323 100644 --- a/pydantic_schemaorg/OfferItemCondition.py +++ b/pydantic_schemaorg/OfferItemCondition.py @@ -11,6 +11,6 @@ class OfferItemCondition(Enumeration): See: https://schema.org/OfferItemCondition Model depth: 4 """ - type_: str = Field("OfferItemCondition", alias='@type') + type_: str = Field(default="OfferItemCondition", alias='@type') diff --git a/pydantic_schemaorg/OfferShippingDetails.py b/pydantic_schemaorg/OfferShippingDetails.py index d51a4cfb..db9c36d8 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("OfferShippingDetails", alias='@type') + type_: str = Field(default="OfferShippingDetails", alias='@type') shippingLabel: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="Label to match an [[OfferShippingDetails]] with a [[ShippingRateSettings]] (within" @@ -56,7 +56,6 @@ class OfferShippingDetails(StructuredValue): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text from pydantic_schemaorg.Boolean import Boolean diff --git a/pydantic_schemaorg/OfficeEquipmentStore.py b/pydantic_schemaorg/OfficeEquipmentStore.py index a4120c29..2e157c88 100644 --- a/pydantic_schemaorg/OfficeEquipmentStore.py +++ b/pydantic_schemaorg/OfficeEquipmentStore.py @@ -11,6 +11,5 @@ class OfficeEquipmentStore(Store): See: https://schema.org/OfficeEquipmentStore Model depth: 5 """ - type_: str = Field("OfficeEquipmentStore", alias='@type') + type_: str = Field(default="OfficeEquipmentStore", alias='@type') - diff --git a/pydantic_schemaorg/OfficialLegalValue.py b/pydantic_schemaorg/OfficialLegalValue.py index 07e10377..6f69d585 100644 --- a/pydantic_schemaorg/OfficialLegalValue.py +++ b/pydantic_schemaorg/OfficialLegalValue.py @@ -14,6 +14,5 @@ class OfficialLegalValue(LegalValueLevel): See: https://schema.org/OfficialLegalValue Model depth: 5 """ - type_: str = Field("OfficialLegalValue", alias='@type') + type_: str = Field(default="OfficialLegalValue", alias='@type') - diff --git a/pydantic_schemaorg/OfflineEventAttendanceMode.py b/pydantic_schemaorg/OfflineEventAttendanceMode.py index 787195bd..5baa0f30 100644 --- a/pydantic_schemaorg/OfflineEventAttendanceMode.py +++ b/pydantic_schemaorg/OfflineEventAttendanceMode.py @@ -11,6 +11,5 @@ class OfflineEventAttendanceMode(EventAttendanceModeEnumeration): See: https://schema.org/OfflineEventAttendanceMode Model depth: 5 """ - type_: str = Field("OfflineEventAttendanceMode", alias='@type') + type_: str = Field(default="OfflineEventAttendanceMode", alias='@type') - diff --git a/pydantic_schemaorg/OfflinePermanently.py b/pydantic_schemaorg/OfflinePermanently.py index 1be68b6a..28b6abb7 100644 --- a/pydantic_schemaorg/OfflinePermanently.py +++ b/pydantic_schemaorg/OfflinePermanently.py @@ -11,6 +11,5 @@ class OfflinePermanently(GameServerStatus): See: https://schema.org/OfflinePermanently Model depth: 6 """ - type_: str = Field("OfflinePermanently", alias='@type') + type_: str = Field(default="OfflinePermanently", alias='@type') - diff --git a/pydantic_schemaorg/OfflineTemporarily.py b/pydantic_schemaorg/OfflineTemporarily.py index 7ec1267c..af53c6ad 100644 --- a/pydantic_schemaorg/OfflineTemporarily.py +++ b/pydantic_schemaorg/OfflineTemporarily.py @@ -11,6 +11,6 @@ class OfflineTemporarily(GameServerStatus): See: https://schema.org/OfflineTemporarily Model depth: 6 """ - type_: str = Field("OfflineTemporarily", alias='@type') + type_: str = Field(default="OfflineTemporarily", alias='@type') diff --git a/pydantic_schemaorg/OnDemandEvent.py b/pydantic_schemaorg/OnDemandEvent.py index 2f74ffd4..021eb1cd 100644 --- a/pydantic_schemaorg/OnDemandEvent.py +++ b/pydantic_schemaorg/OnDemandEvent.py @@ -12,6 +12,5 @@ class OnDemandEvent(PublicationEvent): See: https://schema.org/OnDemandEvent Model depth: 4 """ - type_: str = Field("OnDemandEvent", alias='@type') + type_: str = Field(default="OnDemandEvent", alias='@type') - diff --git a/pydantic_schemaorg/OnSitePickup.py b/pydantic_schemaorg/OnSitePickup.py index 4f2ea559..d949cb0b 100644 --- a/pydantic_schemaorg/OnSitePickup.py +++ b/pydantic_schemaorg/OnSitePickup.py @@ -11,6 +11,5 @@ class OnSitePickup(DeliveryMethod): See: https://schema.org/OnSitePickup Model depth: 5 """ - type_: str = Field("OnSitePickup", alias='@type') + type_: str = Field(default="OnSitePickup", alias='@type') - diff --git a/pydantic_schemaorg/Oncologic.py b/pydantic_schemaorg/Oncologic.py index 613a9405..ccd07c81 100644 --- a/pydantic_schemaorg/Oncologic.py +++ b/pydantic_schemaorg/Oncologic.py @@ -13,6 +13,5 @@ class Oncologic(MedicalSpecialty, MedicalBusiness): See: https://schema.org/Oncologic Model depth: 5 """ - type_: str = Field("Oncologic", alias='@type') + type_: str = Field(default="Oncologic", alias='@type') - diff --git a/pydantic_schemaorg/OneTimePayments.py b/pydantic_schemaorg/OneTimePayments.py index 6bcb779b..050ecb74 100644 --- a/pydantic_schemaorg/OneTimePayments.py +++ b/pydantic_schemaorg/OneTimePayments.py @@ -11,6 +11,5 @@ class OneTimePayments(GovernmentBenefitsType): See: https://schema.org/OneTimePayments Model depth: 5 """ - type_: str = Field("OneTimePayments", alias='@type') + type_: str = Field(default="OneTimePayments", alias='@type') - diff --git a/pydantic_schemaorg/Online.py b/pydantic_schemaorg/Online.py index 405f235a..31c97e52 100644 --- a/pydantic_schemaorg/Online.py +++ b/pydantic_schemaorg/Online.py @@ -11,6 +11,5 @@ class Online(GameServerStatus): See: https://schema.org/Online Model depth: 6 """ - type_: str = Field("Online", alias='@type') + type_: str = Field(default="Online", alias='@type') - diff --git a/pydantic_schemaorg/OnlineEventAttendanceMode.py b/pydantic_schemaorg/OnlineEventAttendanceMode.py index 962d9286..1a12558f 100644 --- a/pydantic_schemaorg/OnlineEventAttendanceMode.py +++ b/pydantic_schemaorg/OnlineEventAttendanceMode.py @@ -11,6 +11,5 @@ class OnlineEventAttendanceMode(EventAttendanceModeEnumeration): See: https://schema.org/OnlineEventAttendanceMode Model depth: 5 """ - type_: str = Field("OnlineEventAttendanceMode", alias='@type') + type_: str = Field(default="OnlineEventAttendanceMode", alias='@type') - diff --git a/pydantic_schemaorg/OnlineFull.py b/pydantic_schemaorg/OnlineFull.py index 010f1d27..1a6367d6 100644 --- a/pydantic_schemaorg/OnlineFull.py +++ b/pydantic_schemaorg/OnlineFull.py @@ -12,6 +12,5 @@ class OnlineFull(GameServerStatus): See: https://schema.org/OnlineFull Model depth: 6 """ - type_: str = Field("OnlineFull", alias='@type') + type_: str = Field(default="OnlineFull", alias='@type') - diff --git a/pydantic_schemaorg/OnlineOnly.py b/pydantic_schemaorg/OnlineOnly.py index 6fdb17d8..5ed102c6 100644 --- a/pydantic_schemaorg/OnlineOnly.py +++ b/pydantic_schemaorg/OnlineOnly.py @@ -11,6 +11,6 @@ class OnlineOnly(ItemAvailability): See: https://schema.org/OnlineOnly Model depth: 5 """ - type_: str = Field("OnlineOnly", alias='@type') + type_: str = Field(default="OnlineOnly", alias='@type') diff --git a/pydantic_schemaorg/OpenTrial.py b/pydantic_schemaorg/OpenTrial.py index 73999409..950bde58 100644 --- a/pydantic_schemaorg/OpenTrial.py +++ b/pydantic_schemaorg/OpenTrial.py @@ -12,6 +12,5 @@ class OpenTrial(MedicalTrialDesign): See: https://schema.org/OpenTrial Model depth: 6 """ - type_: str = Field("OpenTrial", alias='@type') + type_: str = Field(default="OpenTrial", alias='@type') - diff --git a/pydantic_schemaorg/OpeningHoursSpecification.py b/pydantic_schemaorg/OpeningHoursSpecification.py index 119ee60c..ef6a4712 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("OpeningHoursSpecification", alias='@type') + type_: str = Field(default="OpeningHoursSpecification", alias='@type') 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.", @@ -43,7 +43,6 @@ class OpeningHoursSpecification(StructuredValue): ) - if TYPE_CHECKING: from pydantic_schemaorg.Time import Time from pydantic_schemaorg.DateTime import DateTime diff --git a/pydantic_schemaorg/OpinionNewsArticle.py b/pydantic_schemaorg/OpinionNewsArticle.py index 65600d76..a7f9716b 100644 --- a/pydantic_schemaorg/OpinionNewsArticle.py +++ b/pydantic_schemaorg/OpinionNewsArticle.py @@ -14,6 +14,5 @@ class OpinionNewsArticle(NewsArticle): See: https://schema.org/OpinionNewsArticle Model depth: 5 """ - type_: str = Field("OpinionNewsArticle", alias='@type') + type_: str = Field(default="OpinionNewsArticle", alias='@type') - diff --git a/pydantic_schemaorg/Optician.py b/pydantic_schemaorg/Optician.py index 800fc241..b96e6547 100644 --- a/pydantic_schemaorg/Optician.py +++ b/pydantic_schemaorg/Optician.py @@ -11,6 +11,5 @@ class Optician(MedicalBusiness): See: https://schema.org/Optician Model depth: 5 """ - type_: str = Field("Optician", alias='@type') + type_: str = Field(default="Optician", alias='@type') - diff --git a/pydantic_schemaorg/Optometric.py b/pydantic_schemaorg/Optometric.py index 16826a13..0eb5383f 100644 --- a/pydantic_schemaorg/Optometric.py +++ b/pydantic_schemaorg/Optometric.py @@ -12,6 +12,5 @@ class Optometric(MedicalSpecialty, MedicalBusiness): See: https://schema.org/Optometric Model depth: 5 """ - type_: str = Field("Optometric", alias='@type') + type_: str = Field(default="Optometric", alias='@type') - diff --git a/pydantic_schemaorg/Order.py b/pydantic_schemaorg/Order.py index 4c869b26..26f96ad6 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("Order", alias='@type') + type_: str = Field(default="Order", alias='@type') orderDate: Optional[Union[List[Union[ISO8601Date, 'DateTime', ISO8601Date, 'Date', str]], ISO8601Date, 'DateTime', ISO8601Date, 'Date', str]] = Field( default=None, description="Date order was placed.", @@ -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." @@ -128,8 +128,8 @@ class Order(Intangible): from pydantic_schemaorg.OrderItem import OrderItem from pydantic_schemaorg.Service import Service 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 97013af6..e559776e 100644 --- a/pydantic_schemaorg/OrderAction.py +++ b/pydantic_schemaorg/OrderAction.py @@ -14,13 +14,12 @@ class OrderAction(TradeAction): See: https://schema.org/OrderAction Model depth: 4 """ - type_: str = Field("OrderAction", alias='@type') + type_: str = Field(default="OrderAction", alias='@type') deliveryMethod: Optional[Union[List[Union['DeliveryMethod', str]], 'DeliveryMethod', str]] = Field( default=None, description="A sub property of instrument. The method of delivery.", ) - if TYPE_CHECKING: from pydantic_schemaorg.DeliveryMethod import DeliveryMethod diff --git a/pydantic_schemaorg/OrderCancelled.py b/pydantic_schemaorg/OrderCancelled.py index e53934a2..88515847 100644 --- a/pydantic_schemaorg/OrderCancelled.py +++ b/pydantic_schemaorg/OrderCancelled.py @@ -11,6 +11,5 @@ class OrderCancelled(OrderStatus): See: https://schema.org/OrderCancelled Model depth: 6 """ - type_: str = Field("OrderCancelled", alias='@type') + type_: str = Field(default="OrderCancelled", alias='@type') - diff --git a/pydantic_schemaorg/OrderDelivered.py b/pydantic_schemaorg/OrderDelivered.py index 0f448bec..ac83eaf0 100644 --- a/pydantic_schemaorg/OrderDelivered.py +++ b/pydantic_schemaorg/OrderDelivered.py @@ -11,6 +11,5 @@ class OrderDelivered(OrderStatus): See: https://schema.org/OrderDelivered Model depth: 6 """ - type_: str = Field("OrderDelivered", alias='@type') + type_: str = Field(default="OrderDelivered", alias='@type') - diff --git a/pydantic_schemaorg/OrderInTransit.py b/pydantic_schemaorg/OrderInTransit.py index b24bb7c3..597a24f9 100644 --- a/pydantic_schemaorg/OrderInTransit.py +++ b/pydantic_schemaorg/OrderInTransit.py @@ -11,6 +11,5 @@ class OrderInTransit(OrderStatus): See: https://schema.org/OrderInTransit Model depth: 6 """ - type_: str = Field("OrderInTransit", alias='@type') + type_: str = Field(default="OrderInTransit", alias='@type') - diff --git a/pydantic_schemaorg/OrderItem.py b/pydantic_schemaorg/OrderItem.py index 540f5324..21936af9 100644 --- a/pydantic_schemaorg/OrderItem.py +++ b/pydantic_schemaorg/OrderItem.py @@ -16,7 +16,7 @@ class OrderItem(Intangible): See: https://schema.org/OrderItem Model depth: 3 """ - type_: str = Field("OrderItem", alias='@type') + type_: str = Field(default="OrderItem", alias='@type') 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.", @@ -39,7 +39,6 @@ class OrderItem(Intangible): ) - if TYPE_CHECKING: from pydantic_schemaorg.ParcelDelivery import ParcelDelivery from pydantic_schemaorg.Product import Product diff --git a/pydantic_schemaorg/OrderPaymentDue.py b/pydantic_schemaorg/OrderPaymentDue.py index 12bcff5a..40b6f370 100644 --- a/pydantic_schemaorg/OrderPaymentDue.py +++ b/pydantic_schemaorg/OrderPaymentDue.py @@ -11,6 +11,5 @@ class OrderPaymentDue(OrderStatus): See: https://schema.org/OrderPaymentDue Model depth: 6 """ - type_: str = Field("OrderPaymentDue", alias='@type') + type_: str = Field(default="OrderPaymentDue", alias='@type') - diff --git a/pydantic_schemaorg/OrderPickupAvailable.py b/pydantic_schemaorg/OrderPickupAvailable.py index 58b0e48b..f1050b20 100644 --- a/pydantic_schemaorg/OrderPickupAvailable.py +++ b/pydantic_schemaorg/OrderPickupAvailable.py @@ -11,6 +11,5 @@ class OrderPickupAvailable(OrderStatus): See: https://schema.org/OrderPickupAvailable Model depth: 6 """ - type_: str = Field("OrderPickupAvailable", alias='@type') + type_: str = Field(default="OrderPickupAvailable", alias='@type') - diff --git a/pydantic_schemaorg/OrderProblem.py b/pydantic_schemaorg/OrderProblem.py index a9c5afe0..480cce14 100644 --- a/pydantic_schemaorg/OrderProblem.py +++ b/pydantic_schemaorg/OrderProblem.py @@ -11,6 +11,5 @@ class OrderProblem(OrderStatus): See: https://schema.org/OrderProblem Model depth: 6 """ - type_: str = Field("OrderProblem", alias='@type') + type_: str = Field(default="OrderProblem", alias='@type') - diff --git a/pydantic_schemaorg/OrderProcessing.py b/pydantic_schemaorg/OrderProcessing.py index b72d6e9f..6628a640 100644 --- a/pydantic_schemaorg/OrderProcessing.py +++ b/pydantic_schemaorg/OrderProcessing.py @@ -11,6 +11,5 @@ class OrderProcessing(OrderStatus): See: https://schema.org/OrderProcessing Model depth: 6 """ - type_: str = Field("OrderProcessing", alias='@type') + type_: str = Field(default="OrderProcessing", alias='@type') - diff --git a/pydantic_schemaorg/OrderReturned.py b/pydantic_schemaorg/OrderReturned.py index e421f4cf..9bb9f95b 100644 --- a/pydantic_schemaorg/OrderReturned.py +++ b/pydantic_schemaorg/OrderReturned.py @@ -11,6 +11,5 @@ class OrderReturned(OrderStatus): See: https://schema.org/OrderReturned Model depth: 6 """ - type_: str = Field("OrderReturned", alias='@type') + type_: str = Field(default="OrderReturned", alias='@type') - diff --git a/pydantic_schemaorg/OrderStatus.py b/pydantic_schemaorg/OrderStatus.py index e8070807..85edeb19 100644 --- a/pydantic_schemaorg/OrderStatus.py +++ b/pydantic_schemaorg/OrderStatus.py @@ -11,6 +11,5 @@ class OrderStatus(StatusEnumeration): See: https://schema.org/OrderStatus Model depth: 5 """ - type_: str = Field("OrderStatus", alias='@type') + type_: str = Field(default="OrderStatus", alias='@type') - diff --git a/pydantic_schemaorg/Organization.py b/pydantic_schemaorg/Organization.py index 3ed092a5..b6b61c48 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("Organization", alias='@type') + type_: str = Field(default="Organization", alias='@type') 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.", @@ -122,7 +122,7 @@ class Organization(Thing): default=None, description="Specifies a MerchantReturnPolicy that may be applicable.", ) - location: Optional[Union[List[Union[str, 'Text', 'Place', 'VirtualLocation', 'PostalAddress']], str, 'Text', 'Place', 'VirtualLocation', 'PostalAddress']] = Field( + location: Optional[Union[List[Union[str, 'Text', 'VirtualLocation', 'Place', 'PostalAddress']], str, 'Text', 'VirtualLocation', 'Place', 'PostalAddress']] = Field( default=None, description="The location of, for example, where an event is happening, where an organization is located," "or where an action takes place.", @@ -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['AdministrativeArea', 'GeoShape', 'Place', str]], 'AdministrativeArea', 'GeoShape', '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" @@ -318,9 +318,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 diff --git a/pydantic_schemaorg/OrganizationRole.py b/pydantic_schemaorg/OrganizationRole.py index 7f4855ba..139890f9 100644 --- a/pydantic_schemaorg/OrganizationRole.py +++ b/pydantic_schemaorg/OrganizationRole.py @@ -15,7 +15,7 @@ class OrganizationRole(Role): See: https://schema.org/OrganizationRole Model depth: 4 """ - type_: str = Field("OrganizationRole", alias='@type') + type_: str = Field(default="OrganizationRole", alias='@type') numberedPosition: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( default=None, description="A number associated with a role in an organization, for example, the number on an athlete's" @@ -23,6 +23,5 @@ class OrganizationRole(Role): ) - if TYPE_CHECKING: from pydantic_schemaorg.Number import Number diff --git a/pydantic_schemaorg/OrganizeAction.py b/pydantic_schemaorg/OrganizeAction.py index bc3743c1..57e730fe 100644 --- a/pydantic_schemaorg/OrganizeAction.py +++ b/pydantic_schemaorg/OrganizeAction.py @@ -11,6 +11,6 @@ class OrganizeAction(Action): See: https://schema.org/OrganizeAction Model depth: 3 """ - type_: str = Field("OrganizeAction", alias='@type') + type_: str = Field(default="OrganizeAction", alias='@type') diff --git a/pydantic_schemaorg/OriginalMediaContent.py b/pydantic_schemaorg/OriginalMediaContent.py index 46803bd0..c906c13e 100644 --- a/pydantic_schemaorg/OriginalMediaContent.py +++ b/pydantic_schemaorg/OriginalMediaContent.py @@ -20,6 +20,5 @@ class OriginalMediaContent(MediaManipulationRatingEnumeration): See: https://schema.org/OriginalMediaContent Model depth: 5 """ - type_: str = Field("OriginalMediaContent", alias='@type') + type_: str = Field(default="OriginalMediaContent", alias='@type') - diff --git a/pydantic_schemaorg/OriginalShippingFees.py b/pydantic_schemaorg/OriginalShippingFees.py index 14441e81..98e14f96 100644 --- a/pydantic_schemaorg/OriginalShippingFees.py +++ b/pydantic_schemaorg/OriginalShippingFees.py @@ -11,6 +11,5 @@ class OriginalShippingFees(ReturnFeesEnumeration): See: https://schema.org/OriginalShippingFees Model depth: 5 """ - type_: str = Field("OriginalShippingFees", alias='@type') + type_: str = Field(default="OriginalShippingFees", alias='@type') - diff --git a/pydantic_schemaorg/Osteopathic.py b/pydantic_schemaorg/Osteopathic.py index 5f742766..4b62bdd5 100644 --- a/pydantic_schemaorg/Osteopathic.py +++ b/pydantic_schemaorg/Osteopathic.py @@ -11,6 +11,6 @@ class Osteopathic(MedicineSystem): See: https://schema.org/Osteopathic Model depth: 6 """ - type_: str = Field("Osteopathic", alias='@type') + type_: str = Field(default="Osteopathic", alias='@type') diff --git a/pydantic_schemaorg/Otolaryngologic.py b/pydantic_schemaorg/Otolaryngologic.py index 69468de9..b93aceba 100644 --- a/pydantic_schemaorg/Otolaryngologic.py +++ b/pydantic_schemaorg/Otolaryngologic.py @@ -13,6 +13,5 @@ class Otolaryngologic(MedicalSpecialty, MedicalBusiness): See: https://schema.org/Otolaryngologic Model depth: 5 """ - type_: str = Field("Otolaryngologic", alias='@type') + type_: str = Field(default="Otolaryngologic", alias='@type') - diff --git a/pydantic_schemaorg/OutOfStock.py b/pydantic_schemaorg/OutOfStock.py index d99f592b..59a01339 100644 --- a/pydantic_schemaorg/OutOfStock.py +++ b/pydantic_schemaorg/OutOfStock.py @@ -11,6 +11,5 @@ class OutOfStock(ItemAvailability): See: https://schema.org/OutOfStock Model depth: 5 """ - type_: str = Field("OutOfStock", alias='@type') + type_: str = Field(default="OutOfStock", alias='@type') - diff --git a/pydantic_schemaorg/OutletStore.py b/pydantic_schemaorg/OutletStore.py index 2f317447..2fb6755f 100644 --- a/pydantic_schemaorg/OutletStore.py +++ b/pydantic_schemaorg/OutletStore.py @@ -11,6 +11,5 @@ class OutletStore(Store): See: https://schema.org/OutletStore Model depth: 5 """ - type_: str = Field("OutletStore", alias='@type') + type_: str = Field(default="OutletStore", alias='@type') - diff --git a/pydantic_schemaorg/OverviewHealthAspect.py b/pydantic_schemaorg/OverviewHealthAspect.py index 85f0cb91..62cc2507 100644 --- a/pydantic_schemaorg/OverviewHealthAspect.py +++ b/pydantic_schemaorg/OverviewHealthAspect.py @@ -12,6 +12,5 @@ class OverviewHealthAspect(HealthAspectEnumeration): See: https://schema.org/OverviewHealthAspect Model depth: 5 """ - type_: str = Field("OverviewHealthAspect", alias='@type') + type_: str = Field(default="OverviewHealthAspect", alias='@type') - diff --git a/pydantic_schemaorg/OwnershipInfo.py b/pydantic_schemaorg/OwnershipInfo.py index 83eb9a00..677f337d 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("OwnershipInfo", alias='@type') - acquiredFrom: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + type_: str = Field(default="OwnershipInfo", alias='@type') + 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.", ) @@ -35,10 +35,9 @@ 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.Product import Product from pydantic_schemaorg.Service import Service from pydantic_schemaorg.DateTime import DateTime diff --git a/pydantic_schemaorg/PET.py b/pydantic_schemaorg/PET.py index 8380a8d8..dce97d3c 100644 --- a/pydantic_schemaorg/PET.py +++ b/pydantic_schemaorg/PET.py @@ -11,6 +11,5 @@ class PET(MedicalImagingTechnique): See: https://schema.org/PET Model depth: 6 """ - type_: str = Field("PET", alias='@type') + type_: str = Field(default="PET", alias='@type') - diff --git a/pydantic_schemaorg/PaidLeave.py b/pydantic_schemaorg/PaidLeave.py index 6e440506..3a27950b 100644 --- a/pydantic_schemaorg/PaidLeave.py +++ b/pydantic_schemaorg/PaidLeave.py @@ -11,6 +11,5 @@ class PaidLeave(GovernmentBenefitsType): See: https://schema.org/PaidLeave Model depth: 5 """ - type_: str = Field("PaidLeave", alias='@type') + type_: str = Field(default="PaidLeave", alias='@type') - diff --git a/pydantic_schemaorg/PaintAction.py b/pydantic_schemaorg/PaintAction.py index 96d25910..a2c93a3a 100644 --- a/pydantic_schemaorg/PaintAction.py +++ b/pydantic_schemaorg/PaintAction.py @@ -11,6 +11,5 @@ class PaintAction(CreateAction): See: https://schema.org/PaintAction Model depth: 4 """ - type_: str = Field("PaintAction", alias='@type') + type_: str = Field(default="PaintAction", alias='@type') - diff --git a/pydantic_schemaorg/Painting.py b/pydantic_schemaorg/Painting.py index d5cd0225..dc9aabc0 100644 --- a/pydantic_schemaorg/Painting.py +++ b/pydantic_schemaorg/Painting.py @@ -11,6 +11,5 @@ class Painting(CreativeWork): See: https://schema.org/Painting Model depth: 3 """ - type_: str = Field("Painting", alias='@type') + type_: str = Field(default="Painting", alias='@type') - diff --git a/pydantic_schemaorg/PalliativeProcedure.py b/pydantic_schemaorg/PalliativeProcedure.py index e975a5bd..84feb09f 100644 --- a/pydantic_schemaorg/PalliativeProcedure.py +++ b/pydantic_schemaorg/PalliativeProcedure.py @@ -13,6 +13,6 @@ class PalliativeProcedure(MedicalTherapy, MedicalProcedure): See: https://schema.org/PalliativeProcedure Model depth: 4 """ - type_: str = Field("PalliativeProcedure", alias='@type') + type_: str = Field(default="PalliativeProcedure", alias='@type') diff --git a/pydantic_schemaorg/Paperback.py b/pydantic_schemaorg/Paperback.py index 6aee7ce6..4f23d4c8 100644 --- a/pydantic_schemaorg/Paperback.py +++ b/pydantic_schemaorg/Paperback.py @@ -11,6 +11,5 @@ class Paperback(BookFormatType): See: https://schema.org/Paperback Model depth: 5 """ - type_: str = Field("Paperback", alias='@type') + type_: str = Field(default="Paperback", alias='@type') - diff --git a/pydantic_schemaorg/ParcelDelivery.py b/pydantic_schemaorg/ParcelDelivery.py index 2377cd2f..0edc458f 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("ParcelDelivery", alias='@type') + type_: str = Field(default="ParcelDelivery", alias='@type') 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." @@ -70,7 +70,6 @@ class ParcelDelivery(Intangible): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text from pydantic_schemaorg.Product import Product diff --git a/pydantic_schemaorg/ParcelService.py b/pydantic_schemaorg/ParcelService.py index f1a06530..17cb68cf 100644 --- a/pydantic_schemaorg/ParcelService.py +++ b/pydantic_schemaorg/ParcelService.py @@ -13,6 +13,5 @@ class ParcelService(DeliveryMethod): See: https://schema.org/ParcelService Model depth: 5 """ - type_: str = Field("ParcelService", alias='@type') + type_: str = Field(default="ParcelService", alias='@type') - diff --git a/pydantic_schemaorg/ParentAudience.py b/pydantic_schemaorg/ParentAudience.py index 0d53bdc8..0808c996 100644 --- a/pydantic_schemaorg/ParentAudience.py +++ b/pydantic_schemaorg/ParentAudience.py @@ -15,7 +15,7 @@ class ParentAudience(PeopleAudience): See: https://schema.org/ParentAudience Model depth: 5 """ - type_: str = Field("ParentAudience", alias='@type') + type_: str = Field(default="ParentAudience", alias='@type') childMinAge: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( default=None, description="Minimal age of the child.", @@ -26,6 +26,5 @@ class ParentAudience(PeopleAudience): ) - if TYPE_CHECKING: from pydantic_schemaorg.Number import Number diff --git a/pydantic_schemaorg/ParentalSupport.py b/pydantic_schemaorg/ParentalSupport.py index 510f1d70..c6bd86a4 100644 --- a/pydantic_schemaorg/ParentalSupport.py +++ b/pydantic_schemaorg/ParentalSupport.py @@ -11,6 +11,5 @@ class ParentalSupport(GovernmentBenefitsType): See: https://schema.org/ParentalSupport Model depth: 5 """ - type_: str = Field("ParentalSupport", alias='@type') + type_: str = Field(default="ParentalSupport", alias='@type') - diff --git a/pydantic_schemaorg/Park.py b/pydantic_schemaorg/Park.py index 9b0bf153..6808fc16 100644 --- a/pydantic_schemaorg/Park.py +++ b/pydantic_schemaorg/Park.py @@ -11,6 +11,6 @@ class Park(CivicStructure): See: https://schema.org/Park Model depth: 4 """ - type_: str = Field("Park", alias='@type') + type_: str = Field(default="Park", alias='@type') diff --git a/pydantic_schemaorg/ParkingFacility.py b/pydantic_schemaorg/ParkingFacility.py index 2cb6ecf3..1e6e4522 100644 --- a/pydantic_schemaorg/ParkingFacility.py +++ b/pydantic_schemaorg/ParkingFacility.py @@ -11,6 +11,5 @@ class ParkingFacility(CivicStructure): See: https://schema.org/ParkingFacility Model depth: 4 """ - type_: str = Field("ParkingFacility", alias='@type') + type_: str = Field(default="ParkingFacility", alias='@type') - diff --git a/pydantic_schemaorg/ParkingMap.py b/pydantic_schemaorg/ParkingMap.py index 5807d4f8..40810a5f 100644 --- a/pydantic_schemaorg/ParkingMap.py +++ b/pydantic_schemaorg/ParkingMap.py @@ -11,6 +11,5 @@ class ParkingMap(MapCategoryType): See: https://schema.org/ParkingMap Model depth: 5 """ - type_: str = Field("ParkingMap", alias='@type') + type_: str = Field(default="ParkingMap", alias='@type') - diff --git a/pydantic_schemaorg/PartiallyInForce.py b/pydantic_schemaorg/PartiallyInForce.py index d08875b5..146953ce 100644 --- a/pydantic_schemaorg/PartiallyInForce.py +++ b/pydantic_schemaorg/PartiallyInForce.py @@ -11,6 +11,6 @@ class PartiallyInForce(LegalForceStatus): See: https://schema.org/PartiallyInForce Model depth: 6 """ - type_: str = Field("PartiallyInForce", alias='@type') + type_: str = Field(default="PartiallyInForce", alias='@type') diff --git a/pydantic_schemaorg/Pathology.py b/pydantic_schemaorg/Pathology.py index 80b64573..3da91358 100644 --- a/pydantic_schemaorg/Pathology.py +++ b/pydantic_schemaorg/Pathology.py @@ -14,6 +14,5 @@ class Pathology(MedicalSpecialty): See: https://schema.org/Pathology Model depth: 6 """ - type_: str = Field("Pathology", alias='@type') + type_: str = Field(default="Pathology", alias='@type') - diff --git a/pydantic_schemaorg/PathologyTest.py b/pydantic_schemaorg/PathologyTest.py index dca4c614..c6f5105a 100644 --- a/pydantic_schemaorg/PathologyTest.py +++ b/pydantic_schemaorg/PathologyTest.py @@ -15,13 +15,12 @@ class PathologyTest(MedicalTest): See: https://schema.org/PathologyTest Model depth: 4 """ - type_: str = Field("PathologyTest", alias='@type') + type_: str = Field(default="PathologyTest", alias='@type') tissueSample: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="The type of tissue sample required for the test.", ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text diff --git a/pydantic_schemaorg/Patient.py b/pydantic_schemaorg/Patient.py index 11511805..14cb111f 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("Patient", alias='@type') + type_: str = Field(default="Patient", alias='@type') diagnosis: Optional[Union[List[Union['MedicalCondition', str]], 'MedicalCondition', str]] = Field( default=None, description="One or more alternative conditions considered in the differential diagnosis process" @@ -31,7 +31,6 @@ class Patient(MedicalAudience, Person): ) - if TYPE_CHECKING: from pydantic_schemaorg.MedicalCondition import MedicalCondition from pydantic_schemaorg.Drug import Drug diff --git a/pydantic_schemaorg/PatientExperienceHealthAspect.py b/pydantic_schemaorg/PatientExperienceHealthAspect.py index aa115b02..42b4a645 100644 --- a/pydantic_schemaorg/PatientExperienceHealthAspect.py +++ b/pydantic_schemaorg/PatientExperienceHealthAspect.py @@ -12,6 +12,5 @@ class PatientExperienceHealthAspect(HealthAspectEnumeration): See: https://schema.org/PatientExperienceHealthAspect Model depth: 5 """ - type_: str = Field("PatientExperienceHealthAspect", alias='@type') + type_: str = Field(default="PatientExperienceHealthAspect", alias='@type') - diff --git a/pydantic_schemaorg/PawnShop.py b/pydantic_schemaorg/PawnShop.py index 187f20af..b7817686 100644 --- a/pydantic_schemaorg/PawnShop.py +++ b/pydantic_schemaorg/PawnShop.py @@ -11,6 +11,5 @@ class PawnShop(Store): See: https://schema.org/PawnShop Model depth: 5 """ - type_: str = Field("PawnShop", alias='@type') + type_: str = Field(default="PawnShop", alias='@type') - diff --git a/pydantic_schemaorg/PayAction.py b/pydantic_schemaorg/PayAction.py index 5aa62822..e3cec3fc 100644 --- a/pydantic_schemaorg/PayAction.py +++ b/pydantic_schemaorg/PayAction.py @@ -14,8 +14,8 @@ class PayAction(TradeAction): See: https://schema.org/PayAction Model depth: 4 """ - type_: str = Field("PayAction", alias='@type') - recipient: Optional[Union[List[Union['Person', 'Organization', 'Audience', 'ContactPoint', str]], 'Person', 'Organization', 'Audience', 'ContactPoint', str]] = Field( + type_: str = Field(default="PayAction", alias='@type') + recipient: Optional[Union[List[Union['Audience', 'ContactPoint', 'Organization', 'Person', str]], 'Audience', 'ContactPoint', 'Organization', 'Person', str]] = Field( default=None, description="A sub property of participant. The participant who is at the receiving end of the action.", ) @@ -23,7 +23,7 @@ class PayAction(TradeAction): if TYPE_CHECKING: - from pydantic_schemaorg.Person import Person - from pydantic_schemaorg.Organization import Organization from pydantic_schemaorg.Audience import Audience from pydantic_schemaorg.ContactPoint import ContactPoint + from pydantic_schemaorg.Organization import Organization + from pydantic_schemaorg.Person import Person diff --git a/pydantic_schemaorg/PaymentAutomaticallyApplied.py b/pydantic_schemaorg/PaymentAutomaticallyApplied.py index 4936e3c9..6015c1e8 100644 --- a/pydantic_schemaorg/PaymentAutomaticallyApplied.py +++ b/pydantic_schemaorg/PaymentAutomaticallyApplied.py @@ -11,6 +11,5 @@ class PaymentAutomaticallyApplied(PaymentStatusType): See: https://schema.org/PaymentAutomaticallyApplied Model depth: 6 """ - type_: str = Field("PaymentAutomaticallyApplied", alias='@type') + type_: str = Field(default="PaymentAutomaticallyApplied", alias='@type') - diff --git a/pydantic_schemaorg/PaymentCard.py b/pydantic_schemaorg/PaymentCard.py index 7686a35c..833c270c 100644 --- a/pydantic_schemaorg/PaymentCard.py +++ b/pydantic_schemaorg/PaymentCard.py @@ -7,18 +7,18 @@ from pydantic import Field -from pydantic_schemaorg.FinancialProduct import FinancialProduct from pydantic_schemaorg.PaymentMethod import PaymentMethod +from pydantic_schemaorg.FinancialProduct import FinancialProduct -class PaymentCard(FinancialProduct, PaymentMethod): +class PaymentCard(PaymentMethod, FinancialProduct): """A payment method using a credit, debit, store or other card to associate the payment with" "an account. See: https://schema.org/PaymentCard Model depth: 5 """ - type_: str = Field("PaymentCard", alias='@type') + type_: str = Field(default="PaymentCard", alias='@type') 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" @@ -39,7 +39,6 @@ class PaymentCard(FinancialProduct, PaymentMethod): ) - if TYPE_CHECKING: from pydantic_schemaorg.Boolean import Boolean from pydantic_schemaorg.Number import Number diff --git a/pydantic_schemaorg/PaymentChargeSpecification.py b/pydantic_schemaorg/PaymentChargeSpecification.py index 7c509747..e539e5a8 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("PaymentChargeSpecification", alias='@type') + type_: str = Field(default="PaymentChargeSpecification", alias='@type') 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" @@ -26,7 +26,6 @@ class PaymentChargeSpecification(PriceSpecification): ) - if TYPE_CHECKING: from pydantic_schemaorg.DeliveryMethod import DeliveryMethod from pydantic_schemaorg.PaymentMethod import PaymentMethod diff --git a/pydantic_schemaorg/PaymentComplete.py b/pydantic_schemaorg/PaymentComplete.py index 669710b0..34c93dab 100644 --- a/pydantic_schemaorg/PaymentComplete.py +++ b/pydantic_schemaorg/PaymentComplete.py @@ -11,6 +11,5 @@ class PaymentComplete(PaymentStatusType): See: https://schema.org/PaymentComplete Model depth: 6 """ - type_: str = Field("PaymentComplete", alias='@type') + type_: str = Field(default="PaymentComplete", alias='@type') - diff --git a/pydantic_schemaorg/PaymentDeclined.py b/pydantic_schemaorg/PaymentDeclined.py index bc920eac..77f4c3f7 100644 --- a/pydantic_schemaorg/PaymentDeclined.py +++ b/pydantic_schemaorg/PaymentDeclined.py @@ -11,6 +11,5 @@ class PaymentDeclined(PaymentStatusType): See: https://schema.org/PaymentDeclined Model depth: 6 """ - type_: str = Field("PaymentDeclined", alias='@type') + type_: str = Field(default="PaymentDeclined", alias='@type') - diff --git a/pydantic_schemaorg/PaymentDue.py b/pydantic_schemaorg/PaymentDue.py index 49437b5f..9efee834 100644 --- a/pydantic_schemaorg/PaymentDue.py +++ b/pydantic_schemaorg/PaymentDue.py @@ -11,6 +11,5 @@ class PaymentDue(PaymentStatusType): See: https://schema.org/PaymentDue Model depth: 6 """ - type_: str = Field("PaymentDue", alias='@type') + type_: str = Field(default="PaymentDue", alias='@type') - diff --git a/pydantic_schemaorg/PaymentMethod.py b/pydantic_schemaorg/PaymentMethod.py index ccb78d81..0b299acb 100644 --- a/pydantic_schemaorg/PaymentMethod.py +++ b/pydantic_schemaorg/PaymentMethod.py @@ -18,6 +18,5 @@ class PaymentMethod(Enumeration): See: https://schema.org/PaymentMethod Model depth: 4 """ - type_: str = Field("PaymentMethod", alias='@type') + type_: str = Field(default="PaymentMethod", alias='@type') - diff --git a/pydantic_schemaorg/PaymentPastDue.py b/pydantic_schemaorg/PaymentPastDue.py index 98a24e16..c3fe86d5 100644 --- a/pydantic_schemaorg/PaymentPastDue.py +++ b/pydantic_schemaorg/PaymentPastDue.py @@ -11,6 +11,6 @@ class PaymentPastDue(PaymentStatusType): See: https://schema.org/PaymentPastDue Model depth: 6 """ - type_: str = Field("PaymentPastDue", alias='@type') + type_: str = Field(default="PaymentPastDue", alias='@type') diff --git a/pydantic_schemaorg/PaymentService.py b/pydantic_schemaorg/PaymentService.py index a253e770..d6372eac 100644 --- a/pydantic_schemaorg/PaymentService.py +++ b/pydantic_schemaorg/PaymentService.py @@ -11,6 +11,5 @@ class PaymentService(FinancialProduct): See: https://schema.org/PaymentService Model depth: 5 """ - type_: str = Field("PaymentService", alias='@type') + type_: str = Field(default="PaymentService", alias='@type') - diff --git a/pydantic_schemaorg/PaymentStatusType.py b/pydantic_schemaorg/PaymentStatusType.py index 06892e32..55a57622 100644 --- a/pydantic_schemaorg/PaymentStatusType.py +++ b/pydantic_schemaorg/PaymentStatusType.py @@ -11,6 +11,6 @@ class PaymentStatusType(StatusEnumeration): See: https://schema.org/PaymentStatusType Model depth: 5 """ - type_: str = Field("PaymentStatusType", alias='@type') + type_: str = Field(default="PaymentStatusType", alias='@type') diff --git a/pydantic_schemaorg/Pediatric.py b/pydantic_schemaorg/Pediatric.py index d193df88..6707f711 100644 --- a/pydantic_schemaorg/Pediatric.py +++ b/pydantic_schemaorg/Pediatric.py @@ -13,6 +13,6 @@ class Pediatric(MedicalSpecialty, MedicalBusiness): See: https://schema.org/Pediatric Model depth: 5 """ - type_: str = Field("Pediatric", alias='@type') + type_: str = Field(default="Pediatric", alias='@type') diff --git a/pydantic_schemaorg/PeopleAudience.py b/pydantic_schemaorg/PeopleAudience.py index 30835988..53597606 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("PeopleAudience", alias='@type') + type_: str = Field(default="PeopleAudience", alias='@type') 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\"," @@ -58,7 +58,6 @@ class PeopleAudience(Audience): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text from pydantic_schemaorg.GenderType import GenderType diff --git a/pydantic_schemaorg/PercutaneousProcedure.py b/pydantic_schemaorg/PercutaneousProcedure.py index ac4754a7..21ca73f5 100644 --- a/pydantic_schemaorg/PercutaneousProcedure.py +++ b/pydantic_schemaorg/PercutaneousProcedure.py @@ -13,6 +13,5 @@ class PercutaneousProcedure(MedicalProcedureType): See: https://schema.org/PercutaneousProcedure Model depth: 6 """ - type_: str = Field("PercutaneousProcedure", alias='@type') + type_: str = Field(default="PercutaneousProcedure", alias='@type') - diff --git a/pydantic_schemaorg/PerformAction.py b/pydantic_schemaorg/PerformAction.py index f477f3f7..9165c9e3 100644 --- a/pydantic_schemaorg/PerformAction.py +++ b/pydantic_schemaorg/PerformAction.py @@ -14,13 +14,12 @@ class PerformAction(PlayAction): See: https://schema.org/PerformAction Model depth: 4 """ - type_: str = Field("PerformAction", alias='@type') + type_: str = Field(default="PerformAction", alias='@type') 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.", ) - if TYPE_CHECKING: from pydantic_schemaorg.EntertainmentBusiness import EntertainmentBusiness diff --git a/pydantic_schemaorg/PerformanceRole.py b/pydantic_schemaorg/PerformanceRole.py index a8c212ee..325d6071 100644 --- a/pydantic_schemaorg/PerformanceRole.py +++ b/pydantic_schemaorg/PerformanceRole.py @@ -15,13 +15,12 @@ class PerformanceRole(Role): See: https://schema.org/PerformanceRole Model depth: 4 """ - type_: str = Field("PerformanceRole", alias='@type') + type_: str = Field(default="PerformanceRole", alias='@type') 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.", ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text diff --git a/pydantic_schemaorg/PerformingArtsTheater.py b/pydantic_schemaorg/PerformingArtsTheater.py index ad186f6f..61b039c8 100644 --- a/pydantic_schemaorg/PerformingArtsTheater.py +++ b/pydantic_schemaorg/PerformingArtsTheater.py @@ -11,6 +11,6 @@ class PerformingArtsTheater(CivicStructure): See: https://schema.org/PerformingArtsTheater Model depth: 4 """ - type_: str = Field("PerformingArtsTheater", alias='@type') + type_: str = Field(default="PerformingArtsTheater", alias='@type') diff --git a/pydantic_schemaorg/PerformingGroup.py b/pydantic_schemaorg/PerformingGroup.py index a636588b..94cd7194 100644 --- a/pydantic_schemaorg/PerformingGroup.py +++ b/pydantic_schemaorg/PerformingGroup.py @@ -11,6 +11,5 @@ class PerformingGroup(Organization): See: https://schema.org/PerformingGroup Model depth: 3 """ - type_: str = Field("PerformingGroup", alias='@type') + type_: str = Field(default="PerformingGroup", alias='@type') - diff --git a/pydantic_schemaorg/Periodical.py b/pydantic_schemaorg/Periodical.py index 837df882..ea8ae927 100644 --- a/pydantic_schemaorg/Periodical.py +++ b/pydantic_schemaorg/Periodical.py @@ -13,6 +13,5 @@ class Periodical(CreativeWorkSeries): See: https://schema.org/Periodical Model depth: 4 """ - type_: str = Field("Periodical", alias='@type') + type_: str = Field(default="Periodical", alias='@type') - diff --git a/pydantic_schemaorg/Permit.py b/pydantic_schemaorg/Permit.py index c6718e36..c71d1408 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("Permit", alias='@type') + type_: str = Field(default="Permit", alias='@type') 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 782911cd..d1eea0c3 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("Person", alias='@type') + type_: str = Field(default="Person", alias='@type') contactPoint: Optional[Union[List[Union['ContactPoint', str]], 'ContactPoint', str]] = Field( default=None, description="A contact point for a person or organization.", @@ -41,11 +41,11 @@ class Person(Thing): default=None, description="A contact location for a person's place of work.", ) - alumniOf: Optional[Union[List[Union['Organization', 'EducationalOrganization', str]], 'Organization', 'EducationalOrganization', str]] = Field( + alumniOf: Optional[Union[List[Union['EducationalOrganization', 'Organization', str]], 'EducationalOrganization', 'Organization', str]] = Field( 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.", @@ -301,8 +301,8 @@ class Person(Thing): from pydantic_schemaorg.DefinedTerm import DefinedTerm from pydantic_schemaorg.Country import Country from pydantic_schemaorg.Place import Place - from pydantic_schemaorg.Organization import Organization from pydantic_schemaorg.EducationalOrganization import EducationalOrganization + from pydantic_schemaorg.Organization import Organization from pydantic_schemaorg.QuantitativeValue import QuantitativeValue from pydantic_schemaorg.Language import Language from pydantic_schemaorg.PriceSpecification import PriceSpecification diff --git a/pydantic_schemaorg/PetStore.py b/pydantic_schemaorg/PetStore.py index a5a4634c..3b9c22b6 100644 --- a/pydantic_schemaorg/PetStore.py +++ b/pydantic_schemaorg/PetStore.py @@ -11,6 +11,5 @@ class PetStore(Store): See: https://schema.org/PetStore Model depth: 5 """ - type_: str = Field("PetStore", alias='@type') + type_: str = Field(default="PetStore", alias='@type') - diff --git a/pydantic_schemaorg/Pharmacy.py b/pydantic_schemaorg/Pharmacy.py index 4b17a6ff..83f6c485 100644 --- a/pydantic_schemaorg/Pharmacy.py +++ b/pydantic_schemaorg/Pharmacy.py @@ -12,6 +12,5 @@ class Pharmacy(MedicalBusiness, MedicalOrganization): See: https://schema.org/Pharmacy Model depth: 4 """ - type_: str = Field("Pharmacy", alias='@type') + type_: str = Field(default="Pharmacy", alias='@type') - diff --git a/pydantic_schemaorg/PharmacySpecialty.py b/pydantic_schemaorg/PharmacySpecialty.py index d04925c8..2e2d7039 100644 --- a/pydantic_schemaorg/PharmacySpecialty.py +++ b/pydantic_schemaorg/PharmacySpecialty.py @@ -11,6 +11,5 @@ class PharmacySpecialty(MedicalSpecialty): See: https://schema.org/PharmacySpecialty Model depth: 6 """ - type_: str = Field("PharmacySpecialty", alias='@type') + type_: str = Field(default="PharmacySpecialty", alias='@type') - diff --git a/pydantic_schemaorg/Photograph.py b/pydantic_schemaorg/Photograph.py index 8623aec5..8f4442c9 100644 --- a/pydantic_schemaorg/Photograph.py +++ b/pydantic_schemaorg/Photograph.py @@ -11,6 +11,5 @@ class Photograph(CreativeWork): See: https://schema.org/Photograph Model depth: 3 """ - type_: str = Field("Photograph", alias='@type') + type_: str = Field(default="Photograph", alias='@type') - diff --git a/pydantic_schemaorg/PhotographAction.py b/pydantic_schemaorg/PhotographAction.py index 0dd2925a..81a0cba1 100644 --- a/pydantic_schemaorg/PhotographAction.py +++ b/pydantic_schemaorg/PhotographAction.py @@ -11,6 +11,5 @@ class PhotographAction(CreateAction): See: https://schema.org/PhotographAction Model depth: 4 """ - type_: str = Field("PhotographAction", alias='@type') + type_: str = Field(default="PhotographAction", alias='@type') - diff --git a/pydantic_schemaorg/PhysicalActivity.py b/pydantic_schemaorg/PhysicalActivity.py index b008d8ab..5a15de0d 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("PhysicalActivity", alias='@type') + type_: str = Field(default="PhysicalActivity", alias='@type') 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', 'AnatomicalSystem', 'AnatomicalStructure', str]], 'SuperficialAnatomy', 'AnatomicalSystem', 'AnatomicalStructure', str]] = Field( + associatedAnatomy: Optional[Union[List[Union['SuperficialAnatomy', 'AnatomicalStructure', 'AnatomicalSystem', str]], 'SuperficialAnatomy', 'AnatomicalStructure', 'AnatomicalSystem', str]] = Field( default=None, description="The anatomy of the underlying organ system or structures associated with this entity.", ) @@ -45,5 +45,5 @@ class PhysicalActivity(LifestyleModification): from pydantic_schemaorg.Thing import Thing from pydantic_schemaorg.PhysicalActivityCategory import PhysicalActivityCategory from pydantic_schemaorg.SuperficialAnatomy import SuperficialAnatomy - from pydantic_schemaorg.AnatomicalSystem import AnatomicalSystem from pydantic_schemaorg.AnatomicalStructure import AnatomicalStructure + from pydantic_schemaorg.AnatomicalSystem import AnatomicalSystem diff --git a/pydantic_schemaorg/PhysicalActivityCategory.py b/pydantic_schemaorg/PhysicalActivityCategory.py index bb79f1b9..deeec749 100644 --- a/pydantic_schemaorg/PhysicalActivityCategory.py +++ b/pydantic_schemaorg/PhysicalActivityCategory.py @@ -11,6 +11,6 @@ class PhysicalActivityCategory(Enumeration): See: https://schema.org/PhysicalActivityCategory Model depth: 4 """ - type_: str = Field("PhysicalActivityCategory", alias='@type') + type_: str = Field(default="PhysicalActivityCategory", alias='@type') diff --git a/pydantic_schemaorg/PhysicalExam.py b/pydantic_schemaorg/PhysicalExam.py index 3d50f181..7f90e73e 100644 --- a/pydantic_schemaorg/PhysicalExam.py +++ b/pydantic_schemaorg/PhysicalExam.py @@ -12,6 +12,6 @@ class PhysicalExam(MedicalEnumeration, MedicalProcedure): See: https://schema.org/PhysicalExam Model depth: 4 """ - type_: str = Field("PhysicalExam", alias='@type') + type_: str = Field(default="PhysicalExam", alias='@type') diff --git a/pydantic_schemaorg/PhysicalTherapy.py b/pydantic_schemaorg/PhysicalTherapy.py index f9f73bdd..0df172cd 100644 --- a/pydantic_schemaorg/PhysicalTherapy.py +++ b/pydantic_schemaorg/PhysicalTherapy.py @@ -12,6 +12,5 @@ class PhysicalTherapy(MedicalTherapy): See: https://schema.org/PhysicalTherapy Model depth: 6 """ - type_: str = Field("PhysicalTherapy", alias='@type') + type_: str = Field(default="PhysicalTherapy", alias='@type') - diff --git a/pydantic_schemaorg/Physician.py b/pydantic_schemaorg/Physician.py index fbea136a..6ef18019 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("Physician", alias='@type') + type_: str = Field(default="Physician", alias='@type') medicalSpecialty: Optional[Union[List[Union['MedicalSpecialty', str]], 'MedicalSpecialty', str]] = Field( default=None, description="A medical specialty of the provider.", @@ -24,16 +24,15 @@ class Physician(MedicalBusiness, MedicalOrganization): default=None, description="A hospital with which the physician or office is affiliated.", ) - availableService: Optional[Union[List[Union['MedicalTest', 'MedicalProcedure', 'MedicalTherapy', str]], 'MedicalTest', 'MedicalProcedure', 'MedicalTherapy', 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.", ) - if TYPE_CHECKING: from pydantic_schemaorg.MedicalSpecialty import MedicalSpecialty from pydantic_schemaorg.Hospital import Hospital + from pydantic_schemaorg.MedicalTherapy import MedicalTherapy from pydantic_schemaorg.MedicalTest import MedicalTest from pydantic_schemaorg.MedicalProcedure import MedicalProcedure - from pydantic_schemaorg.MedicalTherapy import MedicalTherapy diff --git a/pydantic_schemaorg/Physiotherapy.py b/pydantic_schemaorg/Physiotherapy.py index 1207acc9..c87ed1c3 100644 --- a/pydantic_schemaorg/Physiotherapy.py +++ b/pydantic_schemaorg/Physiotherapy.py @@ -13,6 +13,5 @@ class Physiotherapy(MedicalSpecialty, MedicalBusiness): See: https://schema.org/Physiotherapy Model depth: 5 """ - type_: str = Field("Physiotherapy", alias='@type') + type_: str = Field(default="Physiotherapy", alias='@type') - diff --git a/pydantic_schemaorg/Place.py b/pydantic_schemaorg/Place.py index b05f8a6f..60900ef4 100644 --- a/pydantic_schemaorg/Place.py +++ b/pydantic_schemaorg/Place.py @@ -16,8 +16,8 @@ class Place(Thing): See: https://schema.org/Place Model depth: 2 """ - type_: str = Field("Place", alias='@type') - geo: Optional[Union[List[Union['GeoShape', 'GeoCoordinates', str]], 'GeoShape', 'GeoCoordinates', str]] = Field( + type_: str = Field(default="Place", alias='@type') + geo: Optional[Union[List[Union['GeoCoordinates', 'GeoShape', str]], 'GeoCoordinates', 'GeoShape', str]] = Field( default=None, description="The geo coordinates of the place.", ) @@ -239,8 +239,8 @@ class Place(Thing): if TYPE_CHECKING: - from pydantic_schemaorg.GeoShape import GeoShape from pydantic_schemaorg.GeoCoordinates import GeoCoordinates + from pydantic_schemaorg.GeoShape import GeoShape from pydantic_schemaorg.GeospatialGeometry import GeospatialGeometry from pydantic_schemaorg.Boolean import Boolean from pydantic_schemaorg.OpeningHoursSpecification import OpeningHoursSpecification diff --git a/pydantic_schemaorg/PlaceOfWorship.py b/pydantic_schemaorg/PlaceOfWorship.py index 7a42660c..5a28df2a 100644 --- a/pydantic_schemaorg/PlaceOfWorship.py +++ b/pydantic_schemaorg/PlaceOfWorship.py @@ -11,6 +11,6 @@ class PlaceOfWorship(CivicStructure): See: https://schema.org/PlaceOfWorship Model depth: 4 """ - type_: str = Field("PlaceOfWorship", alias='@type') + type_: str = Field(default="PlaceOfWorship", alias='@type') diff --git a/pydantic_schemaorg/PlaceboControlledTrial.py b/pydantic_schemaorg/PlaceboControlledTrial.py index b73e9394..429ca2ed 100644 --- a/pydantic_schemaorg/PlaceboControlledTrial.py +++ b/pydantic_schemaorg/PlaceboControlledTrial.py @@ -11,6 +11,5 @@ class PlaceboControlledTrial(MedicalTrialDesign): See: https://schema.org/PlaceboControlledTrial Model depth: 6 """ - type_: str = Field("PlaceboControlledTrial", alias='@type') + type_: str = Field(default="PlaceboControlledTrial", alias='@type') - diff --git a/pydantic_schemaorg/PlanAction.py b/pydantic_schemaorg/PlanAction.py index e096d3b9..38889e4b 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("PlanAction", alias='@type') + type_: str = Field(default="PlanAction", alias='@type') 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 b7dcf363..2ca88c2c 100644 --- a/pydantic_schemaorg/PlasticSurgery.py +++ b/pydantic_schemaorg/PlasticSurgery.py @@ -14,6 +14,5 @@ class PlasticSurgery(MedicalSpecialty, MedicalBusiness): See: https://schema.org/PlasticSurgery Model depth: 5 """ - type_: str = Field("PlasticSurgery", alias='@type') + type_: str = Field(default="PlasticSurgery", alias='@type') - diff --git a/pydantic_schemaorg/Play.py b/pydantic_schemaorg/Play.py index 4315c392..126d421d 100644 --- a/pydantic_schemaorg/Play.py +++ b/pydantic_schemaorg/Play.py @@ -13,6 +13,5 @@ class Play(CreativeWork): See: https://schema.org/Play Model depth: 3 """ - type_: str = Field("Play", alias='@type') + type_: str = Field(default="Play", alias='@type') - diff --git a/pydantic_schemaorg/PlayAction.py b/pydantic_schemaorg/PlayAction.py index 37fc4876..2d8e286c 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("PlayAction", alias='@type') + type_: str = Field(default="PlayAction", alias='@type') 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.", @@ -30,7 +30,6 @@ class PlayAction(Action): ) - if TYPE_CHECKING: from pydantic_schemaorg.Audience import Audience from pydantic_schemaorg.Event import Event diff --git a/pydantic_schemaorg/Playground.py b/pydantic_schemaorg/Playground.py index 412c6f60..af223e7d 100644 --- a/pydantic_schemaorg/Playground.py +++ b/pydantic_schemaorg/Playground.py @@ -11,6 +11,5 @@ class Playground(CivicStructure): See: https://schema.org/Playground Model depth: 4 """ - type_: str = Field("Playground", alias='@type') + type_: str = Field(default="Playground", alias='@type') - diff --git a/pydantic_schemaorg/Plumber.py b/pydantic_schemaorg/Plumber.py index 11089ba2..bd7709a7 100644 --- a/pydantic_schemaorg/Plumber.py +++ b/pydantic_schemaorg/Plumber.py @@ -11,6 +11,5 @@ class Plumber(HomeAndConstructionBusiness): See: https://schema.org/Plumber Model depth: 5 """ - type_: str = Field("Plumber", alias='@type') + type_: str = Field(default="Plumber", alias='@type') - diff --git a/pydantic_schemaorg/PodcastEpisode.py b/pydantic_schemaorg/PodcastEpisode.py index ef317c56..9a0b83c2 100644 --- a/pydantic_schemaorg/PodcastEpisode.py +++ b/pydantic_schemaorg/PodcastEpisode.py @@ -11,6 +11,5 @@ class PodcastEpisode(Episode): See: https://schema.org/PodcastEpisode Model depth: 4 """ - type_: str = Field("PodcastEpisode", alias='@type') + type_: str = Field(default="PodcastEpisode", alias='@type') - diff --git a/pydantic_schemaorg/PodcastSeason.py b/pydantic_schemaorg/PodcastSeason.py index 80d714be..8fba3e25 100644 --- a/pydantic_schemaorg/PodcastSeason.py +++ b/pydantic_schemaorg/PodcastSeason.py @@ -12,6 +12,5 @@ class PodcastSeason(CreativeWorkSeason): See: https://schema.org/PodcastSeason Model depth: 4 """ - type_: str = Field("PodcastSeason", alias='@type') + type_: str = Field(default="PodcastSeason", alias='@type') - diff --git a/pydantic_schemaorg/PodcastSeries.py b/pydantic_schemaorg/PodcastSeries.py index fefe69f4..b80e7c93 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("PodcastSeries", alias='@type') + type_: str = Field(default="PodcastSeries", alias='@type') 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" @@ -29,7 +29,6 @@ class PodcastSeries(CreativeWorkSeries): ) - if TYPE_CHECKING: from pydantic_schemaorg.URL import URL from pydantic_schemaorg.DataFeed import DataFeed diff --git a/pydantic_schemaorg/Podiatric.py b/pydantic_schemaorg/Podiatric.py index 0eee2be3..d935a8f1 100644 --- a/pydantic_schemaorg/Podiatric.py +++ b/pydantic_schemaorg/Podiatric.py @@ -13,6 +13,6 @@ class Podiatric(MedicalSpecialty, MedicalBusiness): See: https://schema.org/Podiatric Model depth: 5 """ - type_: str = Field("Podiatric", alias='@type') + type_: str = Field(default="Podiatric", alias='@type') diff --git a/pydantic_schemaorg/PoliceStation.py b/pydantic_schemaorg/PoliceStation.py index 60d6c947..036037c3 100644 --- a/pydantic_schemaorg/PoliceStation.py +++ b/pydantic_schemaorg/PoliceStation.py @@ -12,6 +12,5 @@ class PoliceStation(EmergencyService, CivicStructure): See: https://schema.org/PoliceStation Model depth: 4 """ - type_: str = Field("PoliceStation", alias='@type') + type_: str = Field(default="PoliceStation", alias='@type') - diff --git a/pydantic_schemaorg/Pond.py b/pydantic_schemaorg/Pond.py index 10cc56bb..07219314 100644 --- a/pydantic_schemaorg/Pond.py +++ b/pydantic_schemaorg/Pond.py @@ -11,6 +11,5 @@ class Pond(BodyOfWater): See: https://schema.org/Pond Model depth: 5 """ - type_: str = Field("Pond", alias='@type') + type_: str = Field(default="Pond", alias='@type') - diff --git a/pydantic_schemaorg/PostOffice.py b/pydantic_schemaorg/PostOffice.py index 2454b1c5..37340525 100644 --- a/pydantic_schemaorg/PostOffice.py +++ b/pydantic_schemaorg/PostOffice.py @@ -11,6 +11,5 @@ class PostOffice(GovernmentOffice): See: https://schema.org/PostOffice Model depth: 5 """ - type_: str = Field("PostOffice", alias='@type') + type_: str = Field(default="PostOffice", alias='@type') - diff --git a/pydantic_schemaorg/PostalAddress.py b/pydantic_schemaorg/PostalAddress.py index d8f59c16..a6984267 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("PostalAddress", alias='@type') + type_: str = Field(default="PostalAddress", alias='@type') postalCode: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="The postal code. For example, 94043.", @@ -44,7 +44,6 @@ class PostalAddress(ContactPoint): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text from pydantic_schemaorg.Country import Country diff --git a/pydantic_schemaorg/PostalCodeRangeSpecification.py b/pydantic_schemaorg/PostalCodeRangeSpecification.py index 1787e3bc..40f8c870 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("PostalCodeRangeSpecification", alias='@type') + type_: str = Field(default="PostalCodeRangeSpecification", alias='@type') 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]].", @@ -26,6 +26,5 @@ class PostalCodeRangeSpecification(StructuredValue): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text diff --git a/pydantic_schemaorg/Poster.py b/pydantic_schemaorg/Poster.py index 2ac0918a..db628f2b 100644 --- a/pydantic_schemaorg/Poster.py +++ b/pydantic_schemaorg/Poster.py @@ -12,6 +12,5 @@ class Poster(CreativeWork): See: https://schema.org/Poster Model depth: 3 """ - type_: str = Field("Poster", alias='@type') + type_: str = Field(default="Poster", alias='@type') - diff --git a/pydantic_schemaorg/PotentialActionStatus.py b/pydantic_schemaorg/PotentialActionStatus.py index 86ef3b85..84118500 100644 --- a/pydantic_schemaorg/PotentialActionStatus.py +++ b/pydantic_schemaorg/PotentialActionStatus.py @@ -11,6 +11,5 @@ class PotentialActionStatus(ActionStatusType): See: https://schema.org/PotentialActionStatus Model depth: 6 """ - type_: str = Field("PotentialActionStatus", alias='@type') + type_: str = Field(default="PotentialActionStatus", alias='@type') - diff --git a/pydantic_schemaorg/PreOrder.py b/pydantic_schemaorg/PreOrder.py index f17f8f8f..2e75acba 100644 --- a/pydantic_schemaorg/PreOrder.py +++ b/pydantic_schemaorg/PreOrder.py @@ -11,6 +11,5 @@ class PreOrder(ItemAvailability): See: https://schema.org/PreOrder Model depth: 5 """ - type_: str = Field("PreOrder", alias='@type') + type_: str = Field(default="PreOrder", alias='@type') - diff --git a/pydantic_schemaorg/PreOrderAction.py b/pydantic_schemaorg/PreOrderAction.py index f1264a9b..e7b7c7a4 100644 --- a/pydantic_schemaorg/PreOrderAction.py +++ b/pydantic_schemaorg/PreOrderAction.py @@ -11,6 +11,5 @@ class PreOrderAction(TradeAction): See: https://schema.org/PreOrderAction Model depth: 4 """ - type_: str = Field("PreOrderAction", alias='@type') + type_: str = Field(default="PreOrderAction", alias='@type') - diff --git a/pydantic_schemaorg/PreSale.py b/pydantic_schemaorg/PreSale.py index 23b38f85..cf5a574c 100644 --- a/pydantic_schemaorg/PreSale.py +++ b/pydantic_schemaorg/PreSale.py @@ -11,6 +11,5 @@ class PreSale(ItemAvailability): See: https://schema.org/PreSale Model depth: 5 """ - type_: str = Field("PreSale", alias='@type') + type_: str = Field(default="PreSale", alias='@type') - diff --git a/pydantic_schemaorg/PregnancyHealthAspect.py b/pydantic_schemaorg/PregnancyHealthAspect.py index 12eb8eff..070b1d4b 100644 --- a/pydantic_schemaorg/PregnancyHealthAspect.py +++ b/pydantic_schemaorg/PregnancyHealthAspect.py @@ -11,6 +11,5 @@ class PregnancyHealthAspect(HealthAspectEnumeration): See: https://schema.org/PregnancyHealthAspect Model depth: 5 """ - type_: str = Field("PregnancyHealthAspect", alias='@type') + type_: str = Field(default="PregnancyHealthAspect", alias='@type') - diff --git a/pydantic_schemaorg/PrependAction.py b/pydantic_schemaorg/PrependAction.py index c2d62de8..11b62322 100644 --- a/pydantic_schemaorg/PrependAction.py +++ b/pydantic_schemaorg/PrependAction.py @@ -11,6 +11,5 @@ class PrependAction(InsertAction): See: https://schema.org/PrependAction Model depth: 6 """ - type_: str = Field("PrependAction", alias='@type') + type_: str = Field(default="PrependAction", alias='@type') - diff --git a/pydantic_schemaorg/Preschool.py b/pydantic_schemaorg/Preschool.py index 0dc2569e..a12ba445 100644 --- a/pydantic_schemaorg/Preschool.py +++ b/pydantic_schemaorg/Preschool.py @@ -11,6 +11,5 @@ class Preschool(EducationalOrganization): See: https://schema.org/Preschool Model depth: 4 """ - type_: str = Field("Preschool", alias='@type') + type_: str = Field(default="Preschool", alias='@type') - diff --git a/pydantic_schemaorg/PrescriptionOnly.py b/pydantic_schemaorg/PrescriptionOnly.py index f2ded31c..8cfbe47e 100644 --- a/pydantic_schemaorg/PrescriptionOnly.py +++ b/pydantic_schemaorg/PrescriptionOnly.py @@ -11,6 +11,5 @@ class PrescriptionOnly(DrugPrescriptionStatus): See: https://schema.org/PrescriptionOnly Model depth: 6 """ - type_: str = Field("PrescriptionOnly", alias='@type') + type_: str = Field(default="PrescriptionOnly", alias='@type') - diff --git a/pydantic_schemaorg/PresentationDigitalDocument.py b/pydantic_schemaorg/PresentationDigitalDocument.py index 0fed25b9..3af77b18 100644 --- a/pydantic_schemaorg/PresentationDigitalDocument.py +++ b/pydantic_schemaorg/PresentationDigitalDocument.py @@ -11,6 +11,6 @@ class PresentationDigitalDocument(DigitalDocument): See: https://schema.org/PresentationDigitalDocument Model depth: 4 """ - type_: str = Field("PresentationDigitalDocument", alias='@type') + type_: str = Field(default="PresentationDigitalDocument", alias='@type') diff --git a/pydantic_schemaorg/PreventionHealthAspect.py b/pydantic_schemaorg/PreventionHealthAspect.py index 920cea5b..f9437c8e 100644 --- a/pydantic_schemaorg/PreventionHealthAspect.py +++ b/pydantic_schemaorg/PreventionHealthAspect.py @@ -12,6 +12,5 @@ class PreventionHealthAspect(HealthAspectEnumeration): See: https://schema.org/PreventionHealthAspect Model depth: 5 """ - type_: str = Field("PreventionHealthAspect", alias='@type') + type_: str = Field(default="PreventionHealthAspect", alias='@type') - diff --git a/pydantic_schemaorg/PreventionIndication.py b/pydantic_schemaorg/PreventionIndication.py index 567930b0..e5a58216 100644 --- a/pydantic_schemaorg/PreventionIndication.py +++ b/pydantic_schemaorg/PreventionIndication.py @@ -11,6 +11,5 @@ class PreventionIndication(MedicalIndication): See: https://schema.org/PreventionIndication Model depth: 4 """ - type_: str = Field("PreventionIndication", alias='@type') + type_: str = Field(default="PreventionIndication", alias='@type') - diff --git a/pydantic_schemaorg/PriceComponentTypeEnumeration.py b/pydantic_schemaorg/PriceComponentTypeEnumeration.py index 0b63d87d..d2c3d41b 100644 --- a/pydantic_schemaorg/PriceComponentTypeEnumeration.py +++ b/pydantic_schemaorg/PriceComponentTypeEnumeration.py @@ -12,6 +12,6 @@ class PriceComponentTypeEnumeration(Enumeration): See: https://schema.org/PriceComponentTypeEnumeration Model depth: 4 """ - type_: str = Field("PriceComponentTypeEnumeration", alias='@type') + type_: str = Field(default="PriceComponentTypeEnumeration", alias='@type') diff --git a/pydantic_schemaorg/PriceSpecification.py b/pydantic_schemaorg/PriceSpecification.py index 13c2809d..247bbbd0 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("PriceSpecification", alias='@type') + type_: str = Field(default="PriceSpecification", alias='@type') 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" diff --git a/pydantic_schemaorg/PriceTypeEnumeration.py b/pydantic_schemaorg/PriceTypeEnumeration.py index 7d541d63..f4cb0931 100644 --- a/pydantic_schemaorg/PriceTypeEnumeration.py +++ b/pydantic_schemaorg/PriceTypeEnumeration.py @@ -11,6 +11,5 @@ class PriceTypeEnumeration(Enumeration): See: https://schema.org/PriceTypeEnumeration Model depth: 4 """ - type_: str = Field("PriceTypeEnumeration", alias='@type') + type_: str = Field(default="PriceTypeEnumeration", alias='@type') - diff --git a/pydantic_schemaorg/PrimaryCare.py b/pydantic_schemaorg/PrimaryCare.py index fb69a44d..0f8d32a8 100644 --- a/pydantic_schemaorg/PrimaryCare.py +++ b/pydantic_schemaorg/PrimaryCare.py @@ -13,6 +13,5 @@ class PrimaryCare(MedicalSpecialty, MedicalBusiness): See: https://schema.org/PrimaryCare Model depth: 5 """ - type_: str = Field("PrimaryCare", alias='@type') + type_: str = Field(default="PrimaryCare", alias='@type') - diff --git a/pydantic_schemaorg/Prion.py b/pydantic_schemaorg/Prion.py index f5ddbbf8..2241e2df 100644 --- a/pydantic_schemaorg/Prion.py +++ b/pydantic_schemaorg/Prion.py @@ -11,6 +11,5 @@ class Prion(InfectiousAgentClass): See: https://schema.org/Prion Model depth: 6 """ - type_: str = Field("Prion", alias='@type') + type_: str = Field(default="Prion", alias='@type') - diff --git a/pydantic_schemaorg/Product.py b/pydantic_schemaorg/Product.py index b108a92d..c1d44874 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("Product", alias='@type') + type_: str = Field(default="Product", alias='@type') 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['Demand', 'Offer', str]], 'Demand', 'Offer', str]] = Field( + offers: Optional[Union[List[Union['Offer', 'Demand', str]], 'Offer', 'Demand', 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', 'SizeSpecification', 'DefinedTerm', 'QuantitativeValue']], str, 'Text', 'SizeSpecification', 'DefinedTerm', 'QuantitativeValue']] = 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." @@ -275,8 +275,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.Demand import Demand from pydantic_schemaorg.Offer import Offer + from pydantic_schemaorg.Demand import Demand 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 7f4a6bd0..6f3086a4 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("ProductCollection", alias='@type') + type_: str = Field(default="ProductCollection", alias='@type') 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" @@ -24,6 +24,5 @@ class ProductCollection(Collection, Product): ) - if TYPE_CHECKING: from pydantic_schemaorg.TypeAndQuantityNode import TypeAndQuantityNode diff --git a/pydantic_schemaorg/ProductGroup.py b/pydantic_schemaorg/ProductGroup.py index eb92b04a..9ce20389 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("ProductGroup", alias='@type') + type_: str = Field(default="ProductGroup", alias='@type') 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," @@ -39,7 +39,6 @@ class ProductGroup(Product): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text from pydantic_schemaorg.DefinedTerm import DefinedTerm diff --git a/pydantic_schemaorg/ProductModel.py b/pydantic_schemaorg/ProductModel.py index 9d54b02d..ca6c6ec3 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("ProductModel", alias='@type') + type_: str = Field(default="ProductModel", alias='@type') 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 ca225291..fee963f1 100644 --- a/pydantic_schemaorg/ProfessionalService.py +++ b/pydantic_schemaorg/ProfessionalService.py @@ -17,6 +17,5 @@ class ProfessionalService(LocalBusiness): See: https://schema.org/ProfessionalService Model depth: 4 """ - type_: str = Field("ProfessionalService", alias='@type') + type_: str = Field(default="ProfessionalService", alias='@type') - diff --git a/pydantic_schemaorg/ProfilePage.py b/pydantic_schemaorg/ProfilePage.py index 2f625689..49845ba2 100644 --- a/pydantic_schemaorg/ProfilePage.py +++ b/pydantic_schemaorg/ProfilePage.py @@ -11,6 +11,5 @@ class ProfilePage(WebPage): See: https://schema.org/ProfilePage Model depth: 4 """ - type_: str = Field("ProfilePage", alias='@type') + type_: str = Field(default="ProfilePage", alias='@type') - diff --git a/pydantic_schemaorg/PrognosisHealthAspect.py b/pydantic_schemaorg/PrognosisHealthAspect.py index 9ba514fc..6d356054 100644 --- a/pydantic_schemaorg/PrognosisHealthAspect.py +++ b/pydantic_schemaorg/PrognosisHealthAspect.py @@ -11,6 +11,5 @@ class PrognosisHealthAspect(HealthAspectEnumeration): See: https://schema.org/PrognosisHealthAspect Model depth: 5 """ - type_: str = Field("PrognosisHealthAspect", alias='@type') + type_: str = Field(default="PrognosisHealthAspect", alias='@type') - diff --git a/pydantic_schemaorg/ProgramMembership.py b/pydantic_schemaorg/ProgramMembership.py index 0a1fb612..249cac9b 100644 --- a/pydantic_schemaorg/ProgramMembership.py +++ b/pydantic_schemaorg/ProgramMembership.py @@ -16,7 +16,7 @@ class ProgramMembership(Intangible): See: https://schema.org/ProgramMembership Model depth: 3 """ - type_: str = Field("ProgramMembership", alias='@type') + type_: str = Field(default="ProgramMembership", alias='@type') membershipNumber: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="A unique identifier for the membership.", @@ -26,12 +26,12 @@ class ProgramMembership(Intangible): 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.", ) @@ -45,10 +45,9 @@ class ProgramMembership(Intangible): ) - if TYPE_CHECKING: 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 6ef87ce9..1b22a7e3 100644 --- a/pydantic_schemaorg/Project.py +++ b/pydantic_schemaorg/Project.py @@ -13,6 +13,6 @@ class Project(Organization): See: https://schema.org/Project Model depth: 3 """ - type_: str = Field("Project", alias='@type') + type_: str = Field(default="Project", alias='@type') diff --git a/pydantic_schemaorg/PronounceableText.py b/pydantic_schemaorg/PronounceableText.py index b7f4dc36..c67638af 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("PronounceableText", alias='@type') + type_: str = Field(default="PronounceableText", alias='@type') textValue: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="Text value being annotated.", @@ -36,7 +36,6 @@ class PronounceableText(Text): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text from pydantic_schemaorg.Language import Language diff --git a/pydantic_schemaorg/Property.py b/pydantic_schemaorg/Property.py index fb48a21e..6fdbd51f 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("Property", alias='@type') + type_: str = Field(default="Property", alias='@type') 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,13 +34,12 @@ class Property(Intangible): "inverses; in these situations RDFa and JSON-LD syntax for reverse properties can be" "used.", ) - supersededBy: Optional[Union[List[Union['Enumeration', 'Property', 'Class', str]], 'Enumeration', 'Property', 'Class', str]] = Field( + supersededBy: Optional[Union[List[Union['Class', 'Property', 'Enumeration', str]], 'Class', 'Property', 'Enumeration', 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.Class import Class from pydantic_schemaorg.Enumeration import Enumeration diff --git a/pydantic_schemaorg/PropertyValue.py b/pydantic_schemaorg/PropertyValue.py index 6c732cbd..547ae0ea 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("PropertyValue", alias='@type') + type_: str = Field(default="PropertyValue", alias='@type') 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]])," @@ -73,7 +73,7 @@ class PropertyValue(StructuredValue): default=None, description="The upper value of some characteristic or property.", ) - valueReference: Optional[Union[List[Union[str, 'Text', 'PropertyValue', 'StructuredValue', 'Enumeration', 'QualitativeValue', 'DefinedTerm', 'MeasurementTypeEnumeration', 'QuantitativeValue']], str, 'Text', 'PropertyValue', 'StructuredValue', 'Enumeration', 'QualitativeValue', 'DefinedTerm', 'MeasurementTypeEnumeration', 'QuantitativeValue']] = Field( + valueReference: Optional[Union[List[Union[str, 'Text', 'StructuredValue', 'QualitativeValue', 'PropertyValue', 'Enumeration', 'MeasurementTypeEnumeration', 'DefinedTerm', 'QuantitativeValue']], str, 'Text', 'StructuredValue', 'QualitativeValue', 'PropertyValue', 'Enumeration', 'MeasurementTypeEnumeration', 'DefinedTerm', '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.", @@ -87,8 +87,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.Enumeration import Enumeration from pydantic_schemaorg.QualitativeValue import QualitativeValue - from pydantic_schemaorg.DefinedTerm import DefinedTerm + from pydantic_schemaorg.Enumeration import Enumeration from pydantic_schemaorg.MeasurementTypeEnumeration import MeasurementTypeEnumeration + from pydantic_schemaorg.DefinedTerm import DefinedTerm from pydantic_schemaorg.QuantitativeValue import QuantitativeValue diff --git a/pydantic_schemaorg/PropertyValueSpecification.py b/pydantic_schemaorg/PropertyValueSpecification.py index 29370c56..ec39b109 100644 --- a/pydantic_schemaorg/PropertyValueSpecification.py +++ b/pydantic_schemaorg/PropertyValueSpecification.py @@ -16,7 +16,7 @@ class PropertyValueSpecification(Intangible): See: https://schema.org/PropertyValueSpecification Model depth: 3 """ - type_: str = Field("PropertyValueSpecification", alias='@type') + type_: str = Field(default="PropertyValueSpecification", alias='@type') 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.", @@ -68,7 +68,6 @@ class PropertyValueSpecification(Intangible): ) - if TYPE_CHECKING: from pydantic_schemaorg.Boolean import Boolean from pydantic_schemaorg.Number import Number diff --git a/pydantic_schemaorg/Protein.py b/pydantic_schemaorg/Protein.py index 4e5bc1d7..ba04c897 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("Protein", alias='@type') + type_: str = Field(default="Protein", alias='@type') 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" @@ -27,6 +27,5 @@ class Protein(BioChemEntity): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text diff --git a/pydantic_schemaorg/Protozoa.py b/pydantic_schemaorg/Protozoa.py index 5081d54c..92df1abf 100644 --- a/pydantic_schemaorg/Protozoa.py +++ b/pydantic_schemaorg/Protozoa.py @@ -11,6 +11,5 @@ class Protozoa(InfectiousAgentClass): See: https://schema.org/Protozoa Model depth: 6 """ - type_: str = Field("Protozoa", alias='@type') + type_: str = Field(default="Protozoa", alias='@type') - diff --git a/pydantic_schemaorg/Psychiatric.py b/pydantic_schemaorg/Psychiatric.py index 363a4120..22ec25fa 100644 --- a/pydantic_schemaorg/Psychiatric.py +++ b/pydantic_schemaorg/Psychiatric.py @@ -13,6 +13,5 @@ class Psychiatric(MedicalSpecialty, MedicalBusiness): See: https://schema.org/Psychiatric Model depth: 5 """ - type_: str = Field("Psychiatric", alias='@type') + type_: str = Field(default="Psychiatric", alias='@type') - diff --git a/pydantic_schemaorg/PsychologicalTreatment.py b/pydantic_schemaorg/PsychologicalTreatment.py index 6abf5c98..f5a9b94a 100644 --- a/pydantic_schemaorg/PsychologicalTreatment.py +++ b/pydantic_schemaorg/PsychologicalTreatment.py @@ -12,6 +12,5 @@ class PsychologicalTreatment(TherapeuticProcedure): See: https://schema.org/PsychologicalTreatment Model depth: 5 """ - type_: str = Field("PsychologicalTreatment", alias='@type') + type_: str = Field(default="PsychologicalTreatment", alias='@type') - diff --git a/pydantic_schemaorg/PublicHealth.py b/pydantic_schemaorg/PublicHealth.py index cb3968cf..1bcbd1aa 100644 --- a/pydantic_schemaorg/PublicHealth.py +++ b/pydantic_schemaorg/PublicHealth.py @@ -13,6 +13,5 @@ class PublicHealth(MedicalSpecialty, MedicalBusiness): See: https://schema.org/PublicHealth Model depth: 5 """ - type_: str = Field("PublicHealth", alias='@type') + type_: str = Field(default="PublicHealth", alias='@type') - diff --git a/pydantic_schemaorg/PublicHolidays.py b/pydantic_schemaorg/PublicHolidays.py index 28cfb900..6030781a 100644 --- a/pydantic_schemaorg/PublicHolidays.py +++ b/pydantic_schemaorg/PublicHolidays.py @@ -15,6 +15,5 @@ class PublicHolidays(DayOfWeek): See: https://schema.org/PublicHolidays Model depth: 5 """ - type_: str = Field("PublicHolidays", alias='@type') + type_: str = Field(default="PublicHolidays", alias='@type') - diff --git a/pydantic_schemaorg/PublicSwimmingPool.py b/pydantic_schemaorg/PublicSwimmingPool.py index 74121854..a66a3937 100644 --- a/pydantic_schemaorg/PublicSwimmingPool.py +++ b/pydantic_schemaorg/PublicSwimmingPool.py @@ -11,6 +11,5 @@ class PublicSwimmingPool(SportsActivityLocation): See: https://schema.org/PublicSwimmingPool Model depth: 5 """ - type_: str = Field("PublicSwimmingPool", alias='@type') + type_: str = Field(default="PublicSwimmingPool", alias='@type') - diff --git a/pydantic_schemaorg/PublicToilet.py b/pydantic_schemaorg/PublicToilet.py index f7bf51b6..e3c43d27 100644 --- a/pydantic_schemaorg/PublicToilet.py +++ b/pydantic_schemaorg/PublicToilet.py @@ -13,6 +13,5 @@ class PublicToilet(CivicStructure): See: https://schema.org/PublicToilet Model depth: 4 """ - type_: str = Field("PublicToilet", alias='@type') + type_: str = Field(default="PublicToilet", alias='@type') - diff --git a/pydantic_schemaorg/PublicationEvent.py b/pydantic_schemaorg/PublicationEvent.py index 6aba2eb2..f8f25be5 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("PublicationEvent", alias='@type') - publishedBy: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + type_: str = Field(default="PublicationEvent", alias='@type') + publishedBy: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field( default=None, description="An agent associated with the publication event.", ) @@ -32,9 +32,8 @@ 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 c42afada..a32d4ddd 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("PublicationIssue", alias='@type') + type_: str = Field(default="PublicationIssue", alias='@type') 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\".", @@ -36,7 +36,6 @@ class PublicationIssue(CreativeWork): ) - if TYPE_CHECKING: from pydantic_schemaorg.Integer import Integer from pydantic_schemaorg.Text import Text diff --git a/pydantic_schemaorg/PublicationVolume.py b/pydantic_schemaorg/PublicationVolume.py index a7b013b7..24f3d786 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("PublicationVolume", alias='@type') + type_: str = Field(default="PublicationVolume", alias='@type') 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\".", @@ -35,7 +35,6 @@ class PublicationVolume(CreativeWork): ) - if TYPE_CHECKING: from pydantic_schemaorg.Integer import Integer from pydantic_schemaorg.Text import Text diff --git a/pydantic_schemaorg/Pulmonary.py b/pydantic_schemaorg/Pulmonary.py index 202755cc..375c6bec 100644 --- a/pydantic_schemaorg/Pulmonary.py +++ b/pydantic_schemaorg/Pulmonary.py @@ -12,6 +12,5 @@ class Pulmonary(MedicalSpecialty): See: https://schema.org/Pulmonary Model depth: 6 """ - type_: str = Field("Pulmonary", alias='@type') + type_: str = Field(default="Pulmonary", alias='@type') - diff --git a/pydantic_schemaorg/QAPage.py b/pydantic_schemaorg/QAPage.py index e4b0c6aa..0e398cd0 100644 --- a/pydantic_schemaorg/QAPage.py +++ b/pydantic_schemaorg/QAPage.py @@ -12,6 +12,5 @@ class QAPage(WebPage): See: https://schema.org/QAPage Model depth: 4 """ - type_: str = Field("QAPage", alias='@type') + type_: str = Field(default="QAPage", alias='@type') - diff --git a/pydantic_schemaorg/QualitativeValue.py b/pydantic_schemaorg/QualitativeValue.py index 3b924baa..567bb2ad 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("QualitativeValue", alias='@type') + type_: str = Field(default="QualitativeValue", alias='@type') 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,19 +55,18 @@ 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', 'StructuredValue', 'Enumeration', 'QualitativeValue', 'DefinedTerm', 'MeasurementTypeEnumeration', 'QuantitativeValue']], str, 'Text', 'PropertyValue', 'StructuredValue', 'Enumeration', 'QualitativeValue', 'DefinedTerm', 'MeasurementTypeEnumeration', 'QuantitativeValue']] = Field( + valueReference: Optional[Union[List[Union[str, 'Text', 'StructuredValue', 'QualitativeValue', 'PropertyValue', 'Enumeration', 'MeasurementTypeEnumeration', 'DefinedTerm', 'QuantitativeValue']], str, 'Text', 'StructuredValue', 'QualitativeValue', 'PropertyValue', 'Enumeration', 'MeasurementTypeEnumeration', 'DefinedTerm', '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.", ) - if TYPE_CHECKING: from pydantic_schemaorg.PropertyValue import PropertyValue from pydantic_schemaorg.Text import Text from pydantic_schemaorg.StructuredValue import StructuredValue from pydantic_schemaorg.Enumeration import Enumeration - from pydantic_schemaorg.DefinedTerm import DefinedTerm from pydantic_schemaorg.MeasurementTypeEnumeration import MeasurementTypeEnumeration + 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 804e7d35..a1ce7577 100644 --- a/pydantic_schemaorg/QuantitativeValue.py +++ b/pydantic_schemaorg/QuantitativeValue.py @@ -16,7 +16,7 @@ class QuantitativeValue(StructuredValue): See: https://schema.org/QuantitativeValue Model depth: 4 """ - type_: str = Field("QuantitativeValue", alias='@type') + type_: str = Field(default="QuantitativeValue", alias='@type') minValue: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( default=None, description="The lower value of some characteristic or property.", @@ -53,14 +53,13 @@ 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', 'StructuredValue', 'Enumeration', 'QualitativeValue', 'DefinedTerm', 'MeasurementTypeEnumeration', 'QuantitativeValue']], str, 'Text', 'PropertyValue', 'StructuredValue', 'Enumeration', 'QualitativeValue', 'DefinedTerm', 'MeasurementTypeEnumeration', 'QuantitativeValue']] = Field( + valueReference: Optional[Union[List[Union[str, 'Text', 'StructuredValue', 'QualitativeValue', 'PropertyValue', 'Enumeration', 'MeasurementTypeEnumeration', 'DefinedTerm', 'QuantitativeValue']], str, 'Text', 'StructuredValue', 'QualitativeValue', 'PropertyValue', 'Enumeration', 'MeasurementTypeEnumeration', 'DefinedTerm', '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.", ) - if TYPE_CHECKING: from pydantic_schemaorg.Number import Number from pydantic_schemaorg.Text import Text @@ -68,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.Enumeration import Enumeration from pydantic_schemaorg.QualitativeValue import QualitativeValue - from pydantic_schemaorg.DefinedTerm import DefinedTerm + from pydantic_schemaorg.Enumeration import Enumeration from pydantic_schemaorg.MeasurementTypeEnumeration import MeasurementTypeEnumeration + from pydantic_schemaorg.DefinedTerm import DefinedTerm diff --git a/pydantic_schemaorg/QuantitativeValueDistribution.py b/pydantic_schemaorg/QuantitativeValueDistribution.py index 9d2c6e9c..053cddee 100644 --- a/pydantic_schemaorg/QuantitativeValueDistribution.py +++ b/pydantic_schemaorg/QuantitativeValueDistribution.py @@ -15,7 +15,7 @@ class QuantitativeValueDistribution(StructuredValue): See: https://schema.org/QuantitativeValueDistribution Model depth: 4 """ - type_: str = Field("QuantitativeValueDistribution", alias='@type') + type_: str = Field(default="QuantitativeValueDistribution", alias='@type') percentile75: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( default=None, description="The 75th percentile value.", @@ -42,7 +42,6 @@ class QuantitativeValueDistribution(StructuredValue): ) - if TYPE_CHECKING: from pydantic_schemaorg.Number import Number from pydantic_schemaorg.Duration import Duration diff --git a/pydantic_schemaorg/Quantity.py b/pydantic_schemaorg/Quantity.py index 67102ec2..a4726049 100644 --- a/pydantic_schemaorg/Quantity.py +++ b/pydantic_schemaorg/Quantity.py @@ -12,6 +12,6 @@ class Quantity(Intangible): See: https://schema.org/Quantity Model depth: 3 """ - type_: str = Field("Quantity", alias='@type') + type_: str = Field(default="Quantity", alias='@type') diff --git a/pydantic_schemaorg/Question.py b/pydantic_schemaorg/Question.py index b7905e7a..50aebdda 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("Question", alias='@type') + type_: str = Field(default="Question", alias='@type') 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['ItemList', 'Answer', str]], 'ItemList', 'Answer', str]] = Field( + suggestedAnswer: Optional[Union[List[Union['Answer', 'ItemList', str]], 'Answer', 'ItemList', 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['ItemList', 'Answer', str]], 'ItemList', 'Answer', str]] = Field( + acceptedAnswer: Optional[Union[List[Union['Answer', 'ItemList', str]], 'Answer', 'ItemList', 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" @@ -43,5 +43,5 @@ class Question(Comment): if TYPE_CHECKING: from pydantic_schemaorg.Text import Text from pydantic_schemaorg.Integer import Integer - from pydantic_schemaorg.ItemList import ItemList from pydantic_schemaorg.Answer import Answer + from pydantic_schemaorg.ItemList import ItemList diff --git a/pydantic_schemaorg/Quiz.py b/pydantic_schemaorg/Quiz.py index ea8a33ea..2f29a976 100644 --- a/pydantic_schemaorg/Quiz.py +++ b/pydantic_schemaorg/Quiz.py @@ -11,6 +11,6 @@ class Quiz(LearningResource): See: https://schema.org/Quiz Model depth: 4 """ - type_: str = Field("Quiz", alias='@type') + type_: str = Field(default="Quiz", alias='@type') diff --git a/pydantic_schemaorg/Quotation.py b/pydantic_schemaorg/Quotation.py index 4921d3e5..e0b144a7 100644 --- a/pydantic_schemaorg/Quotation.py +++ b/pydantic_schemaorg/Quotation.py @@ -17,15 +17,14 @@ class Quotation(CreativeWork): See: https://schema.org/Quotation Model depth: 3 """ - type_: str = Field("Quotation", alias='@type') - spokenByCharacter: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + type_: str = Field(default="Quotation", alias='@type') + 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.", ) - 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 f47fce9c..0fafbffa 100644 --- a/pydantic_schemaorg/QuoteAction.py +++ b/pydantic_schemaorg/QuoteAction.py @@ -11,6 +11,5 @@ class QuoteAction(TradeAction): See: https://schema.org/QuoteAction Model depth: 4 """ - type_: str = Field("QuoteAction", alias='@type') + type_: str = Field(default="QuoteAction", alias='@type') - diff --git a/pydantic_schemaorg/RVPark.py b/pydantic_schemaorg/RVPark.py index 50b0d22e..58dbb313 100644 --- a/pydantic_schemaorg/RVPark.py +++ b/pydantic_schemaorg/RVPark.py @@ -12,6 +12,5 @@ class RVPark(CivicStructure): See: https://schema.org/RVPark Model depth: 4 """ - type_: str = Field("RVPark", alias='@type') + type_: str = Field(default="RVPark", alias='@type') - diff --git a/pydantic_schemaorg/RadiationTherapy.py b/pydantic_schemaorg/RadiationTherapy.py index 70be6cc1..b7343f53 100644 --- a/pydantic_schemaorg/RadiationTherapy.py +++ b/pydantic_schemaorg/RadiationTherapy.py @@ -11,6 +11,6 @@ class RadiationTherapy(MedicalTherapy): See: https://schema.org/RadiationTherapy Model depth: 6 """ - type_: str = Field("RadiationTherapy", alias='@type') + type_: str = Field(default="RadiationTherapy", alias='@type') diff --git a/pydantic_schemaorg/RadioBroadcastService.py b/pydantic_schemaorg/RadioBroadcastService.py index 6cde533e..ea2fa491 100644 --- a/pydantic_schemaorg/RadioBroadcastService.py +++ b/pydantic_schemaorg/RadioBroadcastService.py @@ -12,6 +12,5 @@ class RadioBroadcastService(BroadcastService): See: https://schema.org/RadioBroadcastService Model depth: 5 """ - type_: str = Field("RadioBroadcastService", alias='@type') + type_: str = Field(default="RadioBroadcastService", alias='@type') - diff --git a/pydantic_schemaorg/RadioChannel.py b/pydantic_schemaorg/RadioChannel.py index 6bdb23ff..6631f073 100644 --- a/pydantic_schemaorg/RadioChannel.py +++ b/pydantic_schemaorg/RadioChannel.py @@ -11,6 +11,5 @@ class RadioChannel(BroadcastChannel): See: https://schema.org/RadioChannel Model depth: 4 """ - type_: str = Field("RadioChannel", alias='@type') + type_: str = Field(default="RadioChannel", alias='@type') - diff --git a/pydantic_schemaorg/RadioClip.py b/pydantic_schemaorg/RadioClip.py index 8c2649c6..e1dc2a0c 100644 --- a/pydantic_schemaorg/RadioClip.py +++ b/pydantic_schemaorg/RadioClip.py @@ -11,6 +11,5 @@ class RadioClip(Clip): See: https://schema.org/RadioClip Model depth: 4 """ - type_: str = Field("RadioClip", alias='@type') + type_: str = Field(default="RadioClip", alias='@type') - diff --git a/pydantic_schemaorg/RadioEpisode.py b/pydantic_schemaorg/RadioEpisode.py index 79ef7882..a0fc6e62 100644 --- a/pydantic_schemaorg/RadioEpisode.py +++ b/pydantic_schemaorg/RadioEpisode.py @@ -11,6 +11,6 @@ class RadioEpisode(Episode): See: https://schema.org/RadioEpisode Model depth: 4 """ - type_: str = Field("RadioEpisode", alias='@type') + type_: str = Field(default="RadioEpisode", alias='@type') diff --git a/pydantic_schemaorg/RadioSeason.py b/pydantic_schemaorg/RadioSeason.py index 4d35264c..47ec60d1 100644 --- a/pydantic_schemaorg/RadioSeason.py +++ b/pydantic_schemaorg/RadioSeason.py @@ -11,6 +11,5 @@ class RadioSeason(CreativeWorkSeason): See: https://schema.org/RadioSeason Model depth: 4 """ - type_: str = Field("RadioSeason", alias='@type') + type_: str = Field(default="RadioSeason", alias='@type') - diff --git a/pydantic_schemaorg/RadioSeries.py b/pydantic_schemaorg/RadioSeries.py index 93733038..84a8360c 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("RadioSeries", alias='@type') + type_: str = Field(default="RadioSeries", alias='@type') 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,13 +73,12 @@ 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.", ) - if TYPE_CHECKING: from pydantic_schemaorg.Person import Person from pydantic_schemaorg.CreativeWorkSeason import CreativeWorkSeason diff --git a/pydantic_schemaorg/RadioStation.py b/pydantic_schemaorg/RadioStation.py index 5444a1cc..27be5ebf 100644 --- a/pydantic_schemaorg/RadioStation.py +++ b/pydantic_schemaorg/RadioStation.py @@ -11,6 +11,5 @@ class RadioStation(LocalBusiness): See: https://schema.org/RadioStation Model depth: 4 """ - type_: str = Field("RadioStation", alias='@type') + type_: str = Field(default="RadioStation", alias='@type') - diff --git a/pydantic_schemaorg/Radiography.py b/pydantic_schemaorg/Radiography.py index d5560ad1..1c5501f9 100644 --- a/pydantic_schemaorg/Radiography.py +++ b/pydantic_schemaorg/Radiography.py @@ -14,6 +14,5 @@ class Radiography(MedicalImagingTechnique, MedicalSpecialty): See: https://schema.org/Radiography Model depth: 6 """ - type_: str = Field("Radiography", alias='@type') + type_: str = Field(default="Radiography", alias='@type') - diff --git a/pydantic_schemaorg/RandomizedTrial.py b/pydantic_schemaorg/RandomizedTrial.py index 3ac3027d..ea232890 100644 --- a/pydantic_schemaorg/RandomizedTrial.py +++ b/pydantic_schemaorg/RandomizedTrial.py @@ -11,6 +11,5 @@ class RandomizedTrial(MedicalTrialDesign): See: https://schema.org/RandomizedTrial Model depth: 6 """ - type_: str = Field("RandomizedTrial", alias='@type') + type_: str = Field(default="RandomizedTrial", alias='@type') - diff --git a/pydantic_schemaorg/Rating.py b/pydantic_schemaorg/Rating.py index 7c5abb07..de7ec2ac 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("Rating", alias='@type') + type_: str = Field(default="Rating", alias='@type') worstRating: Optional[Union[List[Union[Decimal, 'Number', str, 'Text']], Decimal, '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" @@ -49,9 +49,8 @@ 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 de1441a8..b48a1e99 100644 --- a/pydantic_schemaorg/ReactAction.py +++ b/pydantic_schemaorg/ReactAction.py @@ -11,6 +11,5 @@ class ReactAction(AssessAction): See: https://schema.org/ReactAction Model depth: 4 """ - type_: str = Field("ReactAction", alias='@type') + type_: str = Field(default="ReactAction", alias='@type') - diff --git a/pydantic_schemaorg/ReadAction.py b/pydantic_schemaorg/ReadAction.py index 6ed9a8c1..6fca6af4 100644 --- a/pydantic_schemaorg/ReadAction.py +++ b/pydantic_schemaorg/ReadAction.py @@ -11,6 +11,5 @@ class ReadAction(ConsumeAction): See: https://schema.org/ReadAction Model depth: 4 """ - type_: str = Field("ReadAction", alias='@type') + type_: str = Field(default="ReadAction", alias='@type') - diff --git a/pydantic_schemaorg/ReadPermission.py b/pydantic_schemaorg/ReadPermission.py index 9da8fe8c..19b89e9a 100644 --- a/pydantic_schemaorg/ReadPermission.py +++ b/pydantic_schemaorg/ReadPermission.py @@ -11,6 +11,5 @@ class ReadPermission(DigitalDocumentPermissionType): See: https://schema.org/ReadPermission Model depth: 5 """ - type_: str = Field("ReadPermission", alias='@type') + type_: str = Field(default="ReadPermission", alias='@type') - diff --git a/pydantic_schemaorg/RealEstateAgent.py b/pydantic_schemaorg/RealEstateAgent.py index f1a8698e..c2c84e71 100644 --- a/pydantic_schemaorg/RealEstateAgent.py +++ b/pydantic_schemaorg/RealEstateAgent.py @@ -11,6 +11,6 @@ class RealEstateAgent(LocalBusiness): See: https://schema.org/RealEstateAgent Model depth: 4 """ - type_: str = Field("RealEstateAgent", alias='@type') + type_: str = Field(default="RealEstateAgent", alias='@type') diff --git a/pydantic_schemaorg/RealEstateListing.py b/pydantic_schemaorg/RealEstateListing.py index 855958af..81255f7e 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("RealEstateListing", alias='@type') - leaseLength: Optional[Union[List[Union['QuantitativeValue', 'Duration', str]], 'QuantitativeValue', 'Duration', str]] = Field( + type_: str = Field(default="RealEstateListing", alias='@type') + 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.", @@ -29,9 +29,8 @@ 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 9263323d..67b0eef1 100644 --- a/pydantic_schemaorg/RearWheelDriveConfiguration.py +++ b/pydantic_schemaorg/RearWheelDriveConfiguration.py @@ -11,6 +11,5 @@ class RearWheelDriveConfiguration(DriveWheelConfigurationValue): See: https://schema.org/RearWheelDriveConfiguration Model depth: 6 """ - type_: str = Field("RearWheelDriveConfiguration", alias='@type') + type_: str = Field(default="RearWheelDriveConfiguration", alias='@type') - diff --git a/pydantic_schemaorg/ReceiveAction.py b/pydantic_schemaorg/ReceiveAction.py index f0cadb4d..f9367fb5 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("ReceiveAction", alias='@type') - sender: Optional[Union[List[Union['Person', 'Organization', 'Audience', str]], 'Person', 'Organization', 'Audience', str]] = Field( + type_: str = Field(default="ReceiveAction", alias='@type') + 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.", ) @@ -29,9 +29,8 @@ class ReceiveAction(TransferAction): ) - if TYPE_CHECKING: - from pydantic_schemaorg.Person import Person - from pydantic_schemaorg.Organization import Organization 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 585c081c..49b2b99d 100644 --- a/pydantic_schemaorg/Recipe.py +++ b/pydantic_schemaorg/Recipe.py @@ -16,8 +16,8 @@ class Recipe(HowTo): See: https://schema.org/Recipe Model depth: 4 """ - type_: str = Field("Recipe", alias='@type') - recipeInstructions: Optional[Union[List[Union[str, 'Text', 'ItemList', 'CreativeWork']], str, 'Text', 'ItemList', 'CreativeWork']] = Field( + type_: str = Field(default="Recipe", alias='@type') + 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" "list with HowToStep and/or HowToSection items.", @@ -62,11 +62,10 @@ class Recipe(HowTo): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text - from pydantic_schemaorg.ItemList import ItemList from pydantic_schemaorg.CreativeWork import CreativeWork + from pydantic_schemaorg.ItemList import ItemList from pydantic_schemaorg.Duration import Duration from pydantic_schemaorg.NutritionInformation import NutritionInformation from pydantic_schemaorg.RestrictedDiet import RestrictedDiet diff --git a/pydantic_schemaorg/Recommendation.py b/pydantic_schemaorg/Recommendation.py index f52a9262..fa82710c 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("Recommendation", alias='@type') + type_: str = Field(default="Recommendation", alias='@type') category: Optional[Union[List[Union[AnyUrl, 'URL', str, 'Text', 'Thing', 'PhysicalActivityCategory']], AnyUrl, 'URL', str, 'Text', 'Thing', 'PhysicalActivityCategory']] = 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 ed5f9bae..117864b7 100644 --- a/pydantic_schemaorg/RecommendedDoseSchedule.py +++ b/pydantic_schemaorg/RecommendedDoseSchedule.py @@ -13,6 +13,6 @@ class RecommendedDoseSchedule(DoseSchedule): See: https://schema.org/RecommendedDoseSchedule Model depth: 5 """ - type_: str = Field("RecommendedDoseSchedule", alias='@type') + type_: str = Field(default="RecommendedDoseSchedule", alias='@type') diff --git a/pydantic_schemaorg/Recruiting.py b/pydantic_schemaorg/Recruiting.py index b3f5da37..919168db 100644 --- a/pydantic_schemaorg/Recruiting.py +++ b/pydantic_schemaorg/Recruiting.py @@ -11,6 +11,5 @@ class Recruiting(MedicalStudyStatus): See: https://schema.org/Recruiting Model depth: 6 """ - type_: str = Field("Recruiting", alias='@type') + type_: str = Field(default="Recruiting", alias='@type') - diff --git a/pydantic_schemaorg/RecyclingCenter.py b/pydantic_schemaorg/RecyclingCenter.py index 6d614461..29b7c0e0 100644 --- a/pydantic_schemaorg/RecyclingCenter.py +++ b/pydantic_schemaorg/RecyclingCenter.py @@ -11,6 +11,6 @@ class RecyclingCenter(LocalBusiness): See: https://schema.org/RecyclingCenter Model depth: 4 """ - type_: str = Field("RecyclingCenter", alias='@type') + type_: str = Field(default="RecyclingCenter", alias='@type') diff --git a/pydantic_schemaorg/RefundTypeEnumeration.py b/pydantic_schemaorg/RefundTypeEnumeration.py index 813b2296..f577247b 100644 --- a/pydantic_schemaorg/RefundTypeEnumeration.py +++ b/pydantic_schemaorg/RefundTypeEnumeration.py @@ -11,6 +11,5 @@ class RefundTypeEnumeration(Enumeration): See: https://schema.org/RefundTypeEnumeration Model depth: 4 """ - type_: str = Field("RefundTypeEnumeration", alias='@type') + type_: str = Field(default="RefundTypeEnumeration", alias='@type') - diff --git a/pydantic_schemaorg/RefurbishedCondition.py b/pydantic_schemaorg/RefurbishedCondition.py index 4f93f3c1..21bf226d 100644 --- a/pydantic_schemaorg/RefurbishedCondition.py +++ b/pydantic_schemaorg/RefurbishedCondition.py @@ -11,6 +11,5 @@ class RefurbishedCondition(OfferItemCondition): See: https://schema.org/RefurbishedCondition Model depth: 5 """ - type_: str = Field("RefurbishedCondition", alias='@type') + type_: str = Field(default="RefurbishedCondition", alias='@type') - diff --git a/pydantic_schemaorg/RegisterAction.py b/pydantic_schemaorg/RegisterAction.py index b171f182..bc25ac6f 100644 --- a/pydantic_schemaorg/RegisterAction.py +++ b/pydantic_schemaorg/RegisterAction.py @@ -16,6 +16,6 @@ class RegisterAction(InteractAction): See: https://schema.org/RegisterAction Model depth: 4 """ - type_: str = Field("RegisterAction", alias='@type') + type_: str = Field(default="RegisterAction", alias='@type') diff --git a/pydantic_schemaorg/Registry.py b/pydantic_schemaorg/Registry.py index 8709d12b..e7ae2bc2 100644 --- a/pydantic_schemaorg/Registry.py +++ b/pydantic_schemaorg/Registry.py @@ -11,6 +11,5 @@ class Registry(MedicalObservationalStudyDesign): See: https://schema.org/Registry Model depth: 6 """ - type_: str = Field("Registry", alias='@type') + type_: str = Field(default="Registry", alias='@type') - diff --git a/pydantic_schemaorg/ReimbursementCap.py b/pydantic_schemaorg/ReimbursementCap.py index 682e7d59..427ebbad 100644 --- a/pydantic_schemaorg/ReimbursementCap.py +++ b/pydantic_schemaorg/ReimbursementCap.py @@ -11,6 +11,6 @@ class ReimbursementCap(DrugCostCategory): See: https://schema.org/ReimbursementCap Model depth: 6 """ - type_: str = Field("ReimbursementCap", alias='@type') + type_: str = Field(default="ReimbursementCap", alias='@type') diff --git a/pydantic_schemaorg/RejectAction.py b/pydantic_schemaorg/RejectAction.py index 2e42eada..7817d2cb 100644 --- a/pydantic_schemaorg/RejectAction.py +++ b/pydantic_schemaorg/RejectAction.py @@ -12,6 +12,5 @@ class RejectAction(AllocateAction): See: https://schema.org/RejectAction Model depth: 5 """ - type_: str = Field("RejectAction", alias='@type') + type_: str = Field(default="RejectAction", alias='@type') - diff --git a/pydantic_schemaorg/RelatedTopicsHealthAspect.py b/pydantic_schemaorg/RelatedTopicsHealthAspect.py index 8ef345f2..ac258509 100644 --- a/pydantic_schemaorg/RelatedTopicsHealthAspect.py +++ b/pydantic_schemaorg/RelatedTopicsHealthAspect.py @@ -11,6 +11,5 @@ class RelatedTopicsHealthAspect(HealthAspectEnumeration): See: https://schema.org/RelatedTopicsHealthAspect Model depth: 5 """ - type_: str = Field("RelatedTopicsHealthAspect", alias='@type') + type_: str = Field(default="RelatedTopicsHealthAspect", alias='@type') - diff --git a/pydantic_schemaorg/RemixAlbum.py b/pydantic_schemaorg/RemixAlbum.py index cd49bc58..f0df25d4 100644 --- a/pydantic_schemaorg/RemixAlbum.py +++ b/pydantic_schemaorg/RemixAlbum.py @@ -11,6 +11,5 @@ class RemixAlbum(MusicAlbumProductionType): See: https://schema.org/RemixAlbum Model depth: 5 """ - type_: str = Field("RemixAlbum", alias='@type') + type_: str = Field(default="RemixAlbum", alias='@type') - diff --git a/pydantic_schemaorg/Renal.py b/pydantic_schemaorg/Renal.py index 100e6d69..a1289e86 100644 --- a/pydantic_schemaorg/Renal.py +++ b/pydantic_schemaorg/Renal.py @@ -12,6 +12,5 @@ class Renal(MedicalSpecialty): See: https://schema.org/Renal Model depth: 6 """ - type_: str = Field("Renal", alias='@type') + type_: str = Field(default="Renal", alias='@type') - diff --git a/pydantic_schemaorg/RentAction.py b/pydantic_schemaorg/RentAction.py index 2425e6e9..1df2bfbb 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("RentAction", alias='@type') - landlord: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + type_: str = Field(default="RentAction", alias='@type') + 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.", ) @@ -27,8 +27,7 @@ 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 b93bed18..5ca2ab36 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("RentalCarReservation", alias='@type') + type_: str = Field(default="RentalCarReservation", alias='@type') 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.", @@ -35,7 +35,6 @@ class RentalCarReservation(Reservation): ) - if TYPE_CHECKING: from pydantic_schemaorg.Place import Place from pydantic_schemaorg.DateTime import DateTime diff --git a/pydantic_schemaorg/RentalVehicleUsage.py b/pydantic_schemaorg/RentalVehicleUsage.py index e1fbe314..0ee49208 100644 --- a/pydantic_schemaorg/RentalVehicleUsage.py +++ b/pydantic_schemaorg/RentalVehicleUsage.py @@ -11,6 +11,5 @@ class RentalVehicleUsage(CarUsageType): See: https://schema.org/RentalVehicleUsage Model depth: 5 """ - type_: str = Field("RentalVehicleUsage", alias='@type') + type_: str = Field(default="RentalVehicleUsage", alias='@type') - diff --git a/pydantic_schemaorg/RepaymentSpecification.py b/pydantic_schemaorg/RepaymentSpecification.py index 9c8d52a1..07629b82 100644 --- a/pydantic_schemaorg/RepaymentSpecification.py +++ b/pydantic_schemaorg/RepaymentSpecification.py @@ -15,7 +15,7 @@ class RepaymentSpecification(StructuredValue): See: https://schema.org/RepaymentSpecification Model depth: 4 """ - type_: str = Field("RepaymentSpecification", alias='@type') + type_: str = Field(default="RepaymentSpecification", alias='@type') loanPaymentAmount: Optional[Union[List[Union['MonetaryAmount', str]], 'MonetaryAmount', str]] = Field( default=None, description="The amount of money to pay in a single payment.", @@ -42,7 +42,6 @@ class RepaymentSpecification(StructuredValue): ) - if TYPE_CHECKING: from pydantic_schemaorg.MonetaryAmount import MonetaryAmount from pydantic_schemaorg.Number import Number diff --git a/pydantic_schemaorg/ReplaceAction.py b/pydantic_schemaorg/ReplaceAction.py index 6b1c6184..efc115f5 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("ReplaceAction", alias='@type') + type_: str = Field(default="ReplaceAction", alias='@type') replacer: Optional[Union[List[Union['Thing', str]], 'Thing', str]] = Field( default=None, description="A sub property of object. The object that replaces.", @@ -25,6 +25,5 @@ class ReplaceAction(UpdateAction): ) - if TYPE_CHECKING: from pydantic_schemaorg.Thing import Thing diff --git a/pydantic_schemaorg/ReplyAction.py b/pydantic_schemaorg/ReplyAction.py index c051faa6..ce65a6d2 100644 --- a/pydantic_schemaorg/ReplyAction.py +++ b/pydantic_schemaorg/ReplyAction.py @@ -15,13 +15,12 @@ class ReplyAction(CommunicateAction): See: https://schema.org/ReplyAction Model depth: 5 """ - type_: str = Field("ReplyAction", alias='@type') + type_: str = Field(default="ReplyAction", alias='@type') 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.", ) - if TYPE_CHECKING: from pydantic_schemaorg.Comment import Comment diff --git a/pydantic_schemaorg/Report.py b/pydantic_schemaorg/Report.py index 0803e8a3..f91991ff 100644 --- a/pydantic_schemaorg/Report.py +++ b/pydantic_schemaorg/Report.py @@ -14,13 +14,12 @@ class Report(Article): See: https://schema.org/Report Model depth: 4 """ - type_: str = Field("Report", alias='@type') + type_: str = Field(default="Report", alias='@type') 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.", ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text diff --git a/pydantic_schemaorg/ReportageNewsArticle.py b/pydantic_schemaorg/ReportageNewsArticle.py index ff00f8f6..561ddf4e 100644 --- a/pydantic_schemaorg/ReportageNewsArticle.py +++ b/pydantic_schemaorg/ReportageNewsArticle.py @@ -23,6 +23,5 @@ class ReportageNewsArticle(NewsArticle): See: https://schema.org/ReportageNewsArticle Model depth: 5 """ - type_: str = Field("ReportageNewsArticle", alias='@type') + type_: str = Field(default="ReportageNewsArticle", alias='@type') - diff --git a/pydantic_schemaorg/ReportedDoseSchedule.py b/pydantic_schemaorg/ReportedDoseSchedule.py index 9cb65a31..b5d49ab8 100644 --- a/pydantic_schemaorg/ReportedDoseSchedule.py +++ b/pydantic_schemaorg/ReportedDoseSchedule.py @@ -11,6 +11,5 @@ class ReportedDoseSchedule(DoseSchedule): See: https://schema.org/ReportedDoseSchedule Model depth: 5 """ - type_: str = Field("ReportedDoseSchedule", alias='@type') + type_: str = Field(default="ReportedDoseSchedule", alias='@type') - diff --git a/pydantic_schemaorg/ResearchOrganization.py b/pydantic_schemaorg/ResearchOrganization.py index a7c2b2ce..f444aa1b 100644 --- a/pydantic_schemaorg/ResearchOrganization.py +++ b/pydantic_schemaorg/ResearchOrganization.py @@ -11,6 +11,5 @@ class ResearchOrganization(Organization): See: https://schema.org/ResearchOrganization Model depth: 3 """ - type_: str = Field("ResearchOrganization", alias='@type') + type_: str = Field(default="ResearchOrganization", alias='@type') - diff --git a/pydantic_schemaorg/ResearchProject.py b/pydantic_schemaorg/ResearchProject.py index 2ff71b17..18e6980c 100644 --- a/pydantic_schemaorg/ResearchProject.py +++ b/pydantic_schemaorg/ResearchProject.py @@ -11,6 +11,5 @@ class ResearchProject(Project): See: https://schema.org/ResearchProject Model depth: 4 """ - type_: str = Field("ResearchProject", alias='@type') + type_: str = Field(default="ResearchProject", alias='@type') - diff --git a/pydantic_schemaorg/Researcher.py b/pydantic_schemaorg/Researcher.py index aa3caea0..bc191f0a 100644 --- a/pydantic_schemaorg/Researcher.py +++ b/pydantic_schemaorg/Researcher.py @@ -11,6 +11,5 @@ class Researcher(Audience): See: https://schema.org/Researcher Model depth: 4 """ - type_: str = Field("Researcher", alias='@type') + type_: str = Field(default="Researcher", alias='@type') - diff --git a/pydantic_schemaorg/Reservation.py b/pydantic_schemaorg/Reservation.py index ade0775b..669f8cea 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("Reservation", alias='@type') + type_: str = Field(default="Reservation", alias='@type') 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.", ) @@ -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." @@ -92,8 +92,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 f7e0cb5d..25df4d13 100644 --- a/pydantic_schemaorg/ReservationCancelled.py +++ b/pydantic_schemaorg/ReservationCancelled.py @@ -11,6 +11,5 @@ class ReservationCancelled(ReservationStatusType): See: https://schema.org/ReservationCancelled Model depth: 6 """ - type_: str = Field("ReservationCancelled", alias='@type') + type_: str = Field(default="ReservationCancelled", alias='@type') - diff --git a/pydantic_schemaorg/ReservationConfirmed.py b/pydantic_schemaorg/ReservationConfirmed.py index 7f9b0841..6738d090 100644 --- a/pydantic_schemaorg/ReservationConfirmed.py +++ b/pydantic_schemaorg/ReservationConfirmed.py @@ -11,6 +11,5 @@ class ReservationConfirmed(ReservationStatusType): See: https://schema.org/ReservationConfirmed Model depth: 6 """ - type_: str = Field("ReservationConfirmed", alias='@type') + type_: str = Field(default="ReservationConfirmed", alias='@type') - diff --git a/pydantic_schemaorg/ReservationHold.py b/pydantic_schemaorg/ReservationHold.py index ea87c8ff..8b7b4b3f 100644 --- a/pydantic_schemaorg/ReservationHold.py +++ b/pydantic_schemaorg/ReservationHold.py @@ -12,6 +12,5 @@ class ReservationHold(ReservationStatusType): See: https://schema.org/ReservationHold Model depth: 6 """ - type_: str = Field("ReservationHold", alias='@type') + type_: str = Field(default="ReservationHold", alias='@type') - diff --git a/pydantic_schemaorg/ReservationPackage.py b/pydantic_schemaorg/ReservationPackage.py index 2359cee6..131e92bb 100644 --- a/pydantic_schemaorg/ReservationPackage.py +++ b/pydantic_schemaorg/ReservationPackage.py @@ -14,13 +14,12 @@ class ReservationPackage(Reservation): See: https://schema.org/ReservationPackage Model depth: 4 """ - type_: str = Field("ReservationPackage", alias='@type') + type_: str = Field(default="ReservationPackage", alias='@type') subReservation: Optional[Union[List[Union['Reservation', str]], 'Reservation', str]] = Field( default=None, description="The individual reservations included in the package. Typically a repeated property.", ) - if TYPE_CHECKING: from pydantic_schemaorg.Reservation import Reservation diff --git a/pydantic_schemaorg/ReservationPending.py b/pydantic_schemaorg/ReservationPending.py index ee7ce456..7422c454 100644 --- a/pydantic_schemaorg/ReservationPending.py +++ b/pydantic_schemaorg/ReservationPending.py @@ -11,6 +11,5 @@ class ReservationPending(ReservationStatusType): See: https://schema.org/ReservationPending Model depth: 6 """ - type_: str = Field("ReservationPending", alias='@type') + type_: str = Field(default="ReservationPending", alias='@type') - diff --git a/pydantic_schemaorg/ReservationStatusType.py b/pydantic_schemaorg/ReservationStatusType.py index bbda8251..97231495 100644 --- a/pydantic_schemaorg/ReservationStatusType.py +++ b/pydantic_schemaorg/ReservationStatusType.py @@ -11,6 +11,5 @@ class ReservationStatusType(StatusEnumeration): See: https://schema.org/ReservationStatusType Model depth: 5 """ - type_: str = Field("ReservationStatusType", alias='@type') + type_: str = Field(default="ReservationStatusType", alias='@type') - diff --git a/pydantic_schemaorg/ReserveAction.py b/pydantic_schemaorg/ReserveAction.py index db0255db..4d1d1b03 100644 --- a/pydantic_schemaorg/ReserveAction.py +++ b/pydantic_schemaorg/ReserveAction.py @@ -13,6 +13,5 @@ class ReserveAction(PlanAction): See: https://schema.org/ReserveAction Model depth: 5 """ - type_: str = Field("ReserveAction", alias='@type') + type_: str = Field(default="ReserveAction", alias='@type') - diff --git a/pydantic_schemaorg/Reservoir.py b/pydantic_schemaorg/Reservoir.py index ccd1ea9b..aca39908 100644 --- a/pydantic_schemaorg/Reservoir.py +++ b/pydantic_schemaorg/Reservoir.py @@ -11,6 +11,5 @@ class Reservoir(BodyOfWater): See: https://schema.org/Reservoir Model depth: 5 """ - type_: str = Field("Reservoir", alias='@type') + type_: str = Field(default="Reservoir", alias='@type') - diff --git a/pydantic_schemaorg/Residence.py b/pydantic_schemaorg/Residence.py index 936f6747..8b59a377 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("Residence", alias='@type') + type_: str = Field(default="Residence", alias='@type') 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 503ac387..2f92f4fe 100644 --- a/pydantic_schemaorg/Resort.py +++ b/pydantic_schemaorg/Resort.py @@ -15,6 +15,5 @@ class Resort(LodgingBusiness): See: https://schema.org/Resort Model depth: 5 """ - type_: str = Field("Resort", alias='@type') + type_: str = Field(default="Resort", alias='@type') - diff --git a/pydantic_schemaorg/RespiratoryTherapy.py b/pydantic_schemaorg/RespiratoryTherapy.py index 68e1f6e6..f6c17420 100644 --- a/pydantic_schemaorg/RespiratoryTherapy.py +++ b/pydantic_schemaorg/RespiratoryTherapy.py @@ -2,17 +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("RespiratoryTherapy", alias='@type') + type_: str = Field(default="RespiratoryTherapy", alias='@type') - diff --git a/pydantic_schemaorg/Restaurant.py b/pydantic_schemaorg/Restaurant.py index ea53ce55..b7ce832b 100644 --- a/pydantic_schemaorg/Restaurant.py +++ b/pydantic_schemaorg/Restaurant.py @@ -11,6 +11,5 @@ class Restaurant(FoodEstablishment): See: https://schema.org/Restaurant Model depth: 5 """ - type_: str = Field("Restaurant", alias='@type') + type_: str = Field(default="Restaurant", alias='@type') - diff --git a/pydantic_schemaorg/RestockingFees.py b/pydantic_schemaorg/RestockingFees.py index 2a49ef29..893e9909 100644 --- a/pydantic_schemaorg/RestockingFees.py +++ b/pydantic_schemaorg/RestockingFees.py @@ -11,6 +11,5 @@ class RestockingFees(ReturnFeesEnumeration): See: https://schema.org/RestockingFees Model depth: 5 """ - type_: str = Field("RestockingFees", alias='@type') + type_: str = Field(default="RestockingFees", alias='@type') - diff --git a/pydantic_schemaorg/RestrictedDiet.py b/pydantic_schemaorg/RestrictedDiet.py index cba8ed10..6534afcd 100644 --- a/pydantic_schemaorg/RestrictedDiet.py +++ b/pydantic_schemaorg/RestrictedDiet.py @@ -12,6 +12,6 @@ class RestrictedDiet(Enumeration): See: https://schema.org/RestrictedDiet Model depth: 4 """ - type_: str = Field("RestrictedDiet", alias='@type') + type_: str = Field(default="RestrictedDiet", alias='@type') diff --git a/pydantic_schemaorg/ResultsAvailable.py b/pydantic_schemaorg/ResultsAvailable.py index 4fe121d3..04b4bb40 100644 --- a/pydantic_schemaorg/ResultsAvailable.py +++ b/pydantic_schemaorg/ResultsAvailable.py @@ -11,6 +11,5 @@ class ResultsAvailable(MedicalStudyStatus): See: https://schema.org/ResultsAvailable Model depth: 6 """ - type_: str = Field("ResultsAvailable", alias='@type') + type_: str = Field(default="ResultsAvailable", alias='@type') - diff --git a/pydantic_schemaorg/ResultsNotAvailable.py b/pydantic_schemaorg/ResultsNotAvailable.py index 181bf82c..84a59223 100644 --- a/pydantic_schemaorg/ResultsNotAvailable.py +++ b/pydantic_schemaorg/ResultsNotAvailable.py @@ -11,6 +11,5 @@ class ResultsNotAvailable(MedicalStudyStatus): See: https://schema.org/ResultsNotAvailable Model depth: 6 """ - type_: str = Field("ResultsNotAvailable", alias='@type') + type_: str = Field(default="ResultsNotAvailable", alias='@type') - diff --git a/pydantic_schemaorg/ResumeAction.py b/pydantic_schemaorg/ResumeAction.py index 61783829..a7053c7f 100644 --- a/pydantic_schemaorg/ResumeAction.py +++ b/pydantic_schemaorg/ResumeAction.py @@ -12,6 +12,5 @@ class ResumeAction(ControlAction): See: https://schema.org/ResumeAction Model depth: 4 """ - type_: str = Field("ResumeAction", alias='@type') + type_: str = Field(default="ResumeAction", alias='@type') - diff --git a/pydantic_schemaorg/Retail.py b/pydantic_schemaorg/Retail.py index 8d7656a4..82b73c9e 100644 --- a/pydantic_schemaorg/Retail.py +++ b/pydantic_schemaorg/Retail.py @@ -11,6 +11,6 @@ class Retail(DrugCostCategory): See: https://schema.org/Retail Model depth: 6 """ - type_: str = Field("Retail", alias='@type') + type_: str = Field(default="Retail", alias='@type') diff --git a/pydantic_schemaorg/ReturnAction.py b/pydantic_schemaorg/ReturnAction.py index ae07ac3a..59cebd02 100644 --- a/pydantic_schemaorg/ReturnAction.py +++ b/pydantic_schemaorg/ReturnAction.py @@ -15,16 +15,15 @@ class ReturnAction(TransferAction): See: https://schema.org/ReturnAction Model depth: 4 """ - type_: str = Field("ReturnAction", alias='@type') - recipient: Optional[Union[List[Union['Person', 'Organization', 'Audience', 'ContactPoint', str]], 'Person', 'Organization', 'Audience', 'ContactPoint', str]] = Field( + type_: str = Field(default="ReturnAction", alias='@type') + recipient: Optional[Union[List[Union['Audience', 'ContactPoint', 'Organization', 'Person', str]], 'Audience', 'ContactPoint', '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.Organization import Organization from pydantic_schemaorg.Audience import Audience from pydantic_schemaorg.ContactPoint import ContactPoint + from pydantic_schemaorg.Organization import Organization + from pydantic_schemaorg.Person import Person diff --git a/pydantic_schemaorg/ReturnAtKiosk.py b/pydantic_schemaorg/ReturnAtKiosk.py index 6ae5ba24..d23aa1ab 100644 --- a/pydantic_schemaorg/ReturnAtKiosk.py +++ b/pydantic_schemaorg/ReturnAtKiosk.py @@ -11,6 +11,5 @@ class ReturnAtKiosk(ReturnMethodEnumeration): See: https://schema.org/ReturnAtKiosk Model depth: 5 """ - type_: str = Field("ReturnAtKiosk", alias='@type') + type_: str = Field(default="ReturnAtKiosk", alias='@type') - diff --git a/pydantic_schemaorg/ReturnByMail.py b/pydantic_schemaorg/ReturnByMail.py index 21e7a2ff..f33dfad2 100644 --- a/pydantic_schemaorg/ReturnByMail.py +++ b/pydantic_schemaorg/ReturnByMail.py @@ -11,6 +11,5 @@ class ReturnByMail(ReturnMethodEnumeration): See: https://schema.org/ReturnByMail Model depth: 5 """ - type_: str = Field("ReturnByMail", alias='@type') + type_: str = Field(default="ReturnByMail", alias='@type') - diff --git a/pydantic_schemaorg/ReturnFeesCustomerResponsibility.py b/pydantic_schemaorg/ReturnFeesCustomerResponsibility.py index 0c1a1c4c..0bc699e0 100644 --- a/pydantic_schemaorg/ReturnFeesCustomerResponsibility.py +++ b/pydantic_schemaorg/ReturnFeesCustomerResponsibility.py @@ -11,6 +11,6 @@ class ReturnFeesCustomerResponsibility(ReturnFeesEnumeration): See: https://schema.org/ReturnFeesCustomerResponsibility Model depth: 5 """ - type_: str = Field("ReturnFeesCustomerResponsibility", alias='@type') + type_: str = Field(default="ReturnFeesCustomerResponsibility", alias='@type') diff --git a/pydantic_schemaorg/ReturnFeesEnumeration.py b/pydantic_schemaorg/ReturnFeesEnumeration.py index 7b5f5f5c..1c05877c 100644 --- a/pydantic_schemaorg/ReturnFeesEnumeration.py +++ b/pydantic_schemaorg/ReturnFeesEnumeration.py @@ -11,6 +11,6 @@ class ReturnFeesEnumeration(Enumeration): See: https://schema.org/ReturnFeesEnumeration Model depth: 4 """ - type_: str = Field("ReturnFeesEnumeration", alias='@type') + type_: str = Field(default="ReturnFeesEnumeration", alias='@type') diff --git a/pydantic_schemaorg/ReturnInStore.py b/pydantic_schemaorg/ReturnInStore.py index c5367c20..f134c445 100644 --- a/pydantic_schemaorg/ReturnInStore.py +++ b/pydantic_schemaorg/ReturnInStore.py @@ -11,6 +11,5 @@ class ReturnInStore(ReturnMethodEnumeration): See: https://schema.org/ReturnInStore Model depth: 5 """ - type_: str = Field("ReturnInStore", alias='@type') + type_: str = Field(default="ReturnInStore", alias='@type') - diff --git a/pydantic_schemaorg/ReturnLabelCustomerResponsibility.py b/pydantic_schemaorg/ReturnLabelCustomerResponsibility.py index 8aeff041..7d1bd28e 100644 --- a/pydantic_schemaorg/ReturnLabelCustomerResponsibility.py +++ b/pydantic_schemaorg/ReturnLabelCustomerResponsibility.py @@ -11,6 +11,5 @@ class ReturnLabelCustomerResponsibility(ReturnLabelSourceEnumeration): See: https://schema.org/ReturnLabelCustomerResponsibility Model depth: 5 """ - type_: str = Field("ReturnLabelCustomerResponsibility", alias='@type') + type_: str = Field(default="ReturnLabelCustomerResponsibility", alias='@type') - diff --git a/pydantic_schemaorg/ReturnLabelDownloadAndPrint.py b/pydantic_schemaorg/ReturnLabelDownloadAndPrint.py index db3daac9..ebdf1c5f 100644 --- a/pydantic_schemaorg/ReturnLabelDownloadAndPrint.py +++ b/pydantic_schemaorg/ReturnLabelDownloadAndPrint.py @@ -11,6 +11,6 @@ class ReturnLabelDownloadAndPrint(ReturnLabelSourceEnumeration): See: https://schema.org/ReturnLabelDownloadAndPrint Model depth: 5 """ - type_: str = Field("ReturnLabelDownloadAndPrint", alias='@type') + type_: str = Field(default="ReturnLabelDownloadAndPrint", alias='@type') diff --git a/pydantic_schemaorg/ReturnLabelInBox.py b/pydantic_schemaorg/ReturnLabelInBox.py index a9fba12b..4cf8c3f8 100644 --- a/pydantic_schemaorg/ReturnLabelInBox.py +++ b/pydantic_schemaorg/ReturnLabelInBox.py @@ -11,6 +11,5 @@ class ReturnLabelInBox(ReturnLabelSourceEnumeration): See: https://schema.org/ReturnLabelInBox Model depth: 5 """ - type_: str = Field("ReturnLabelInBox", alias='@type') + type_: str = Field(default="ReturnLabelInBox", alias='@type') - diff --git a/pydantic_schemaorg/ReturnLabelSourceEnumeration.py b/pydantic_schemaorg/ReturnLabelSourceEnumeration.py index c4f43e8e..6e604ad2 100644 --- a/pydantic_schemaorg/ReturnLabelSourceEnumeration.py +++ b/pydantic_schemaorg/ReturnLabelSourceEnumeration.py @@ -11,6 +11,6 @@ class ReturnLabelSourceEnumeration(Enumeration): See: https://schema.org/ReturnLabelSourceEnumeration Model depth: 4 """ - type_: str = Field("ReturnLabelSourceEnumeration", alias='@type') + type_: str = Field(default="ReturnLabelSourceEnumeration", alias='@type') diff --git a/pydantic_schemaorg/ReturnMethodEnumeration.py b/pydantic_schemaorg/ReturnMethodEnumeration.py index 3270fc79..70f42fb2 100644 --- a/pydantic_schemaorg/ReturnMethodEnumeration.py +++ b/pydantic_schemaorg/ReturnMethodEnumeration.py @@ -11,6 +11,6 @@ class ReturnMethodEnumeration(Enumeration): See: https://schema.org/ReturnMethodEnumeration Model depth: 4 """ - type_: str = Field("ReturnMethodEnumeration", alias='@type') + type_: str = Field(default="ReturnMethodEnumeration", alias='@type') diff --git a/pydantic_schemaorg/ReturnShippingFees.py b/pydantic_schemaorg/ReturnShippingFees.py index f4425312..e7df5e42 100644 --- a/pydantic_schemaorg/ReturnShippingFees.py +++ b/pydantic_schemaorg/ReturnShippingFees.py @@ -11,6 +11,6 @@ class ReturnShippingFees(ReturnFeesEnumeration): See: https://schema.org/ReturnShippingFees Model depth: 5 """ - type_: str = Field("ReturnShippingFees", alias='@type') + type_: str = Field(default="ReturnShippingFees", alias='@type') diff --git a/pydantic_schemaorg/Review.py b/pydantic_schemaorg/Review.py index 216bcf7f..201d3e58 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("Review", alias='@type') + type_: str = Field(default="Review", alias='@type') 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', 'ItemList', 'WebContent']], str, 'Text', 'ListItem', 'ItemList', 'WebContent']] = 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.", @@ -54,7 +54,7 @@ class Review(CreativeWork): default=None, description="The actual body of the review.", ) - negativeNotes: Optional[Union[List[Union[str, 'Text', 'WebContent', 'ItemList', 'ListItem']], str, 'Text', 'WebContent', 'ItemList', 'ListItem']] = Field( + negativeNotes: 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)," "negative considerations - either as unstructured text, or a list.", @@ -68,8 +68,8 @@ class Review(CreativeWork): if TYPE_CHECKING: from pydantic_schemaorg.Text import Text + from pydantic_schemaorg.ListItem import ListItem from pydantic_schemaorg.ItemList import ItemList from pydantic_schemaorg.WebContent import WebContent - from pydantic_schemaorg.ListItem import ListItem 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 1a7bd2d4..85cf53fe 100644 --- a/pydantic_schemaorg/ReviewAction.py +++ b/pydantic_schemaorg/ReviewAction.py @@ -15,13 +15,12 @@ class ReviewAction(AssessAction): See: https://schema.org/ReviewAction Model depth: 4 """ - type_: str = Field("ReviewAction", alias='@type') + type_: str = Field(default="ReviewAction", alias='@type') 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.", ) - if TYPE_CHECKING: from pydantic_schemaorg.Review import Review diff --git a/pydantic_schemaorg/ReviewNewsArticle.py b/pydantic_schemaorg/ReviewNewsArticle.py index 3f176fc7..b81df6ad 100644 --- a/pydantic_schemaorg/ReviewNewsArticle.py +++ b/pydantic_schemaorg/ReviewNewsArticle.py @@ -13,6 +13,5 @@ class ReviewNewsArticle(NewsArticle, CriticReview): See: https://schema.org/ReviewNewsArticle Model depth: 5 """ - type_: str = Field("ReviewNewsArticle", alias='@type') + type_: str = Field(default="ReviewNewsArticle", alias='@type') - diff --git a/pydantic_schemaorg/Rheumatologic.py b/pydantic_schemaorg/Rheumatologic.py index b8be96ee..453daba4 100644 --- a/pydantic_schemaorg/Rheumatologic.py +++ b/pydantic_schemaorg/Rheumatologic.py @@ -12,6 +12,5 @@ class Rheumatologic(MedicalSpecialty): See: https://schema.org/Rheumatologic Model depth: 6 """ - type_: str = Field("Rheumatologic", alias='@type') + type_: str = Field(default="Rheumatologic", alias='@type') - diff --git a/pydantic_schemaorg/RightHandDriving.py b/pydantic_schemaorg/RightHandDriving.py index 2610c706..e67bc754 100644 --- a/pydantic_schemaorg/RightHandDriving.py +++ b/pydantic_schemaorg/RightHandDriving.py @@ -12,6 +12,5 @@ class RightHandDriving(SteeringPositionValue): See: https://schema.org/RightHandDriving Model depth: 6 """ - type_: str = Field("RightHandDriving", alias='@type') + type_: str = Field(default="RightHandDriving", alias='@type') - diff --git a/pydantic_schemaorg/RisksOrComplicationsHealthAspect.py b/pydantic_schemaorg/RisksOrComplicationsHealthAspect.py index f7f6b6ae..88fad34d 100644 --- a/pydantic_schemaorg/RisksOrComplicationsHealthAspect.py +++ b/pydantic_schemaorg/RisksOrComplicationsHealthAspect.py @@ -11,6 +11,5 @@ class RisksOrComplicationsHealthAspect(HealthAspectEnumeration): See: https://schema.org/RisksOrComplicationsHealthAspect Model depth: 5 """ - type_: str = Field("RisksOrComplicationsHealthAspect", alias='@type') + type_: str = Field(default="RisksOrComplicationsHealthAspect", alias='@type') - diff --git a/pydantic_schemaorg/RiverBodyOfWater.py b/pydantic_schemaorg/RiverBodyOfWater.py index 77419e95..d1b8d79c 100644 --- a/pydantic_schemaorg/RiverBodyOfWater.py +++ b/pydantic_schemaorg/RiverBodyOfWater.py @@ -11,6 +11,5 @@ class RiverBodyOfWater(BodyOfWater): See: https://schema.org/RiverBodyOfWater Model depth: 5 """ - type_: str = Field("RiverBodyOfWater", alias='@type') + type_: str = Field(default="RiverBodyOfWater", alias='@type') - diff --git a/pydantic_schemaorg/Role.py b/pydantic_schemaorg/Role.py index f347f7cb..e607a211 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("Role", alias='@type') + type_: str = Field(default="Role", alias='@type') 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" @@ -43,7 +43,6 @@ class Role(Intangible): ) - if TYPE_CHECKING: from pydantic_schemaorg.URL import URL from pydantic_schemaorg.Text import Text diff --git a/pydantic_schemaorg/RoofingContractor.py b/pydantic_schemaorg/RoofingContractor.py index bffb7d27..890feeff 100644 --- a/pydantic_schemaorg/RoofingContractor.py +++ b/pydantic_schemaorg/RoofingContractor.py @@ -11,6 +11,5 @@ class RoofingContractor(HomeAndConstructionBusiness): See: https://schema.org/RoofingContractor Model depth: 5 """ - type_: str = Field("RoofingContractor", alias='@type') + type_: str = Field(default="RoofingContractor", alias='@type') - diff --git a/pydantic_schemaorg/Room.py b/pydantic_schemaorg/Room.py index ad2edce0..f9a38883 100644 --- a/pydantic_schemaorg/Room.py +++ b/pydantic_schemaorg/Room.py @@ -14,6 +14,6 @@ class Room(Accommodation): See: https://schema.org/Room Model depth: 4 """ - type_: str = Field("Room", alias='@type') + type_: str = Field(default="Room", alias='@type') diff --git a/pydantic_schemaorg/RsvpAction.py b/pydantic_schemaorg/RsvpAction.py index bc5753ab..a48fb325 100644 --- a/pydantic_schemaorg/RsvpAction.py +++ b/pydantic_schemaorg/RsvpAction.py @@ -15,7 +15,7 @@ class RsvpAction(InformAction): See: https://schema.org/RsvpAction Model depth: 6 """ - type_: str = Field("RsvpAction", alias='@type') + type_: str = Field(default="RsvpAction", alias='@type') additionalNumberOfGuests: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( default=None, description="If responding yes, the number of guests who will attend in addition to the invitee.", @@ -30,7 +30,6 @@ class RsvpAction(InformAction): ) - if TYPE_CHECKING: from pydantic_schemaorg.Number import Number from pydantic_schemaorg.Comment import Comment diff --git a/pydantic_schemaorg/RsvpResponseMaybe.py b/pydantic_schemaorg/RsvpResponseMaybe.py index 2e0f20d8..d18c2d34 100644 --- a/pydantic_schemaorg/RsvpResponseMaybe.py +++ b/pydantic_schemaorg/RsvpResponseMaybe.py @@ -11,6 +11,5 @@ class RsvpResponseMaybe(RsvpResponseType): See: https://schema.org/RsvpResponseMaybe Model depth: 5 """ - type_: str = Field("RsvpResponseMaybe", alias='@type') + type_: str = Field(default="RsvpResponseMaybe", alias='@type') - diff --git a/pydantic_schemaorg/RsvpResponseNo.py b/pydantic_schemaorg/RsvpResponseNo.py index 267000c0..97d0bad5 100644 --- a/pydantic_schemaorg/RsvpResponseNo.py +++ b/pydantic_schemaorg/RsvpResponseNo.py @@ -11,6 +11,6 @@ class RsvpResponseNo(RsvpResponseType): See: https://schema.org/RsvpResponseNo Model depth: 5 """ - type_: str = Field("RsvpResponseNo", alias='@type') + type_: str = Field(default="RsvpResponseNo", alias='@type') diff --git a/pydantic_schemaorg/RsvpResponseType.py b/pydantic_schemaorg/RsvpResponseType.py index d7fbdba7..d6c6fe47 100644 --- a/pydantic_schemaorg/RsvpResponseType.py +++ b/pydantic_schemaorg/RsvpResponseType.py @@ -12,6 +12,6 @@ class RsvpResponseType(Enumeration): See: https://schema.org/RsvpResponseType Model depth: 4 """ - type_: str = Field("RsvpResponseType", alias='@type') + type_: str = Field(default="RsvpResponseType", alias='@type') diff --git a/pydantic_schemaorg/RsvpResponseYes.py b/pydantic_schemaorg/RsvpResponseYes.py index b03c75c6..0ebd89fc 100644 --- a/pydantic_schemaorg/RsvpResponseYes.py +++ b/pydantic_schemaorg/RsvpResponseYes.py @@ -11,6 +11,5 @@ class RsvpResponseYes(RsvpResponseType): See: https://schema.org/RsvpResponseYes Model depth: 5 """ - type_: str = Field("RsvpResponseYes", alias='@type') + type_: str = Field(default="RsvpResponseYes", alias='@type') - diff --git a/pydantic_schemaorg/SRP.py b/pydantic_schemaorg/SRP.py index 90d5a868..f4800004 100644 --- a/pydantic_schemaorg/SRP.py +++ b/pydantic_schemaorg/SRP.py @@ -11,6 +11,5 @@ class SRP(PriceTypeEnumeration): See: https://schema.org/SRP Model depth: 5 """ - type_: str = Field("SRP", alias='@type') + type_: str = Field(default="SRP", alias='@type') - diff --git a/pydantic_schemaorg/SafetyHealthAspect.py b/pydantic_schemaorg/SafetyHealthAspect.py index 77999636..f9458968 100644 --- a/pydantic_schemaorg/SafetyHealthAspect.py +++ b/pydantic_schemaorg/SafetyHealthAspect.py @@ -11,6 +11,5 @@ class SafetyHealthAspect(HealthAspectEnumeration): See: https://schema.org/SafetyHealthAspect Model depth: 5 """ - type_: str = Field("SafetyHealthAspect", alias='@type') + type_: str = Field(default="SafetyHealthAspect", alias='@type') - diff --git a/pydantic_schemaorg/SaleEvent.py b/pydantic_schemaorg/SaleEvent.py index 9140c3c6..ab03719b 100644 --- a/pydantic_schemaorg/SaleEvent.py +++ b/pydantic_schemaorg/SaleEvent.py @@ -11,6 +11,5 @@ class SaleEvent(Event): See: https://schema.org/SaleEvent Model depth: 3 """ - type_: str = Field("SaleEvent", alias='@type') + type_: str = Field(default="SaleEvent", alias='@type') - diff --git a/pydantic_schemaorg/SalePrice.py b/pydantic_schemaorg/SalePrice.py index 870de57c..22661ee8 100644 --- a/pydantic_schemaorg/SalePrice.py +++ b/pydantic_schemaorg/SalePrice.py @@ -11,6 +11,5 @@ class SalePrice(PriceTypeEnumeration): See: https://schema.org/SalePrice Model depth: 5 """ - type_: str = Field("SalePrice", alias='@type') + type_: str = Field(default="SalePrice", alias='@type') - diff --git a/pydantic_schemaorg/SatireOrParodyContent.py b/pydantic_schemaorg/SatireOrParodyContent.py index 01ee3a6c..cff1b7ba 100644 --- a/pydantic_schemaorg/SatireOrParodyContent.py +++ b/pydantic_schemaorg/SatireOrParodyContent.py @@ -25,6 +25,5 @@ class SatireOrParodyContent(MediaManipulationRatingEnumeration): See: https://schema.org/SatireOrParodyContent Model depth: 5 """ - type_: str = Field("SatireOrParodyContent", alias='@type') + type_: str = Field(default="SatireOrParodyContent", alias='@type') - diff --git a/pydantic_schemaorg/SatiricalArticle.py b/pydantic_schemaorg/SatiricalArticle.py index b0ba548e..4263b10b 100644 --- a/pydantic_schemaorg/SatiricalArticle.py +++ b/pydantic_schemaorg/SatiricalArticle.py @@ -13,6 +13,5 @@ class SatiricalArticle(Article): See: https://schema.org/SatiricalArticle Model depth: 4 """ - type_: str = Field("SatiricalArticle", alias='@type') + type_: str = Field(default="SatiricalArticle", alias='@type') - diff --git a/pydantic_schemaorg/Saturday.py b/pydantic_schemaorg/Saturday.py index 5bab819f..f0c258dc 100644 --- a/pydantic_schemaorg/Saturday.py +++ b/pydantic_schemaorg/Saturday.py @@ -11,6 +11,6 @@ class Saturday(DayOfWeek): See: https://schema.org/Saturday Model depth: 5 """ - type_: str = Field("Saturday", alias='@type') + type_: str = Field(default="Saturday", alias='@type') diff --git a/pydantic_schemaorg/Schedule.py b/pydantic_schemaorg/Schedule.py index f4701f8c..105d6900 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("Schedule", alias='@type') + type_: str = Field(default="Schedule", alias='@type') 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" @@ -101,7 +101,6 @@ class Schedule(Intangible): ) - if TYPE_CHECKING: from pydantic_schemaorg.DateTime import DateTime from pydantic_schemaorg.Date import Date diff --git a/pydantic_schemaorg/ScheduleAction.py b/pydantic_schemaorg/ScheduleAction.py index 2316aff5..eaea4720 100644 --- a/pydantic_schemaorg/ScheduleAction.py +++ b/pydantic_schemaorg/ScheduleAction.py @@ -13,6 +13,6 @@ class ScheduleAction(PlanAction): See: https://schema.org/ScheduleAction Model depth: 5 """ - type_: str = Field("ScheduleAction", alias='@type') + type_: str = Field(default="ScheduleAction", alias='@type') diff --git a/pydantic_schemaorg/SchemaOrgBase.py b/pydantic_schemaorg/SchemaOrgBase.py index d97b592d..c7333cf2 100644 --- a/pydantic_schemaorg/SchemaOrgBase.py +++ b/pydantic_schemaorg/SchemaOrgBase.py @@ -12,10 +12,10 @@ class SchemaOrgBase(BaseModel): #JSON-LD fields - reverse_ : Optional[Any] = Field(default=None,alias='@reverse') - id_ : Optional[Any] = Field(default=None,alias='@id') - context_ : Optional[Any] = Field(default=None,alias='@context') - graph_ : Optional[Any] = Field(default=None,alias='@graph') + reverse_ : Optional[Any] = Field(None,alias='@reverse') + id_ : Optional[Any] = Field(None,alias='@id') + context_ : Optional[Any] = Field(None,alias='@context') + graph_ : Optional[Any] = Field(None,alias='@graph') def dict(self, *args, **kwargs): defaults = { diff --git a/pydantic_schemaorg/ScholarlyArticle.py b/pydantic_schemaorg/ScholarlyArticle.py index da7cb4cd..1eeee967 100644 --- a/pydantic_schemaorg/ScholarlyArticle.py +++ b/pydantic_schemaorg/ScholarlyArticle.py @@ -11,6 +11,5 @@ class ScholarlyArticle(Article): See: https://schema.org/ScholarlyArticle Model depth: 4 """ - type_: str = Field("ScholarlyArticle", alias='@type') + type_: str = Field(default="ScholarlyArticle", alias='@type') - diff --git a/pydantic_schemaorg/School.py b/pydantic_schemaorg/School.py index 6439ad9f..e084a02a 100644 --- a/pydantic_schemaorg/School.py +++ b/pydantic_schemaorg/School.py @@ -11,6 +11,5 @@ class School(EducationalOrganization): See: https://schema.org/School Model depth: 4 """ - type_: str = Field("School", alias='@type') + type_: str = Field(default="School", alias='@type') - diff --git a/pydantic_schemaorg/SchoolDistrict.py b/pydantic_schemaorg/SchoolDistrict.py index 62b48e71..bf1c8faa 100644 --- a/pydantic_schemaorg/SchoolDistrict.py +++ b/pydantic_schemaorg/SchoolDistrict.py @@ -11,6 +11,5 @@ class SchoolDistrict(AdministrativeArea): See: https://schema.org/SchoolDistrict Model depth: 4 """ - type_: str = Field("SchoolDistrict", alias='@type') + type_: str = Field(default="SchoolDistrict", alias='@type') - diff --git a/pydantic_schemaorg/ScreeningEvent.py b/pydantic_schemaorg/ScreeningEvent.py index 53bc301c..d8400d6b 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("ScreeningEvent", alias='@type') + type_: str = Field(default="ScreeningEvent", alias='@type') workPresented: Optional[Union[List[Union['Movie', str]], 'Movie', str]] = Field( default=None, description="The movie presented during this event.", @@ -29,7 +29,6 @@ class ScreeningEvent(Event): ) - if TYPE_CHECKING: from pydantic_schemaorg.Movie import Movie from pydantic_schemaorg.Text import Text diff --git a/pydantic_schemaorg/ScreeningHealthAspect.py b/pydantic_schemaorg/ScreeningHealthAspect.py index 3534591d..d5aed96f 100644 --- a/pydantic_schemaorg/ScreeningHealthAspect.py +++ b/pydantic_schemaorg/ScreeningHealthAspect.py @@ -11,6 +11,5 @@ class ScreeningHealthAspect(HealthAspectEnumeration): See: https://schema.org/ScreeningHealthAspect Model depth: 5 """ - type_: str = Field("ScreeningHealthAspect", alias='@type') + type_: str = Field(default="ScreeningHealthAspect", alias='@type') - diff --git a/pydantic_schemaorg/Sculpture.py b/pydantic_schemaorg/Sculpture.py index 640d0f04..b0acbed5 100644 --- a/pydantic_schemaorg/Sculpture.py +++ b/pydantic_schemaorg/Sculpture.py @@ -11,6 +11,5 @@ class Sculpture(CreativeWork): See: https://schema.org/Sculpture Model depth: 3 """ - type_: str = Field("Sculpture", alias='@type') + type_: str = Field(default="Sculpture", alias='@type') - diff --git a/pydantic_schemaorg/SeaBodyOfWater.py b/pydantic_schemaorg/SeaBodyOfWater.py index 742a3731..c097d933 100644 --- a/pydantic_schemaorg/SeaBodyOfWater.py +++ b/pydantic_schemaorg/SeaBodyOfWater.py @@ -11,6 +11,5 @@ class SeaBodyOfWater(BodyOfWater): See: https://schema.org/SeaBodyOfWater Model depth: 5 """ - type_: str = Field("SeaBodyOfWater", alias='@type') + type_: str = Field(default="SeaBodyOfWater", alias='@type') - diff --git a/pydantic_schemaorg/SearchAction.py b/pydantic_schemaorg/SearchAction.py index 87bb7cd8..df703358 100644 --- a/pydantic_schemaorg/SearchAction.py +++ b/pydantic_schemaorg/SearchAction.py @@ -15,13 +15,12 @@ class SearchAction(Action): See: https://schema.org/SearchAction Model depth: 3 """ - type_: str = Field("SearchAction", alias='@type') + type_: str = Field(default="SearchAction", alias='@type') query: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="A sub property of instrument. The query used on this action.", ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text diff --git a/pydantic_schemaorg/SearchResultsPage.py b/pydantic_schemaorg/SearchResultsPage.py index 2d6f16f8..fff861ef 100644 --- a/pydantic_schemaorg/SearchResultsPage.py +++ b/pydantic_schemaorg/SearchResultsPage.py @@ -11,6 +11,5 @@ class SearchResultsPage(WebPage): See: https://schema.org/SearchResultsPage Model depth: 4 """ - type_: str = Field("SearchResultsPage", alias='@type') + type_: str = Field(default="SearchResultsPage", alias='@type') - diff --git a/pydantic_schemaorg/Season.py b/pydantic_schemaorg/Season.py index a2fe1601..bd78c4c0 100644 --- a/pydantic_schemaorg/Season.py +++ b/pydantic_schemaorg/Season.py @@ -11,6 +11,6 @@ class Season(CreativeWork): See: https://schema.org/Season Model depth: 3 """ - type_: str = Field("Season", alias='@type') + type_: str = Field(default="Season", alias='@type') diff --git a/pydantic_schemaorg/Seat.py b/pydantic_schemaorg/Seat.py index a4355ec7..3b633e26 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("Seat", alias='@type') + type_: str = Field(default="Seat", alias='@type') seatNumber: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="The location of the reserved seat (e.g., 27).", @@ -33,7 +33,6 @@ class Seat(Intangible): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text from pydantic_schemaorg.QualitativeValue import QualitativeValue diff --git a/pydantic_schemaorg/SeatingMap.py b/pydantic_schemaorg/SeatingMap.py index 49155935..91961469 100644 --- a/pydantic_schemaorg/SeatingMap.py +++ b/pydantic_schemaorg/SeatingMap.py @@ -11,6 +11,6 @@ class SeatingMap(MapCategoryType): See: https://schema.org/SeatingMap Model depth: 5 """ - type_: str = Field("SeatingMap", alias='@type') + type_: str = Field(default="SeatingMap", alias='@type') diff --git a/pydantic_schemaorg/SeeDoctorHealthAspect.py b/pydantic_schemaorg/SeeDoctorHealthAspect.py index 9d865f74..1bfa0e4e 100644 --- a/pydantic_schemaorg/SeeDoctorHealthAspect.py +++ b/pydantic_schemaorg/SeeDoctorHealthAspect.py @@ -12,6 +12,5 @@ class SeeDoctorHealthAspect(HealthAspectEnumeration): See: https://schema.org/SeeDoctorHealthAspect Model depth: 5 """ - type_: str = Field("SeeDoctorHealthAspect", alias='@type') + type_: str = Field(default="SeeDoctorHealthAspect", alias='@type') - diff --git a/pydantic_schemaorg/SeekToAction.py b/pydantic_schemaorg/SeekToAction.py index 3174ed23..3985b6eb 100644 --- a/pydantic_schemaorg/SeekToAction.py +++ b/pydantic_schemaorg/SeekToAction.py @@ -16,7 +16,7 @@ class SeekToAction(Action): See: https://schema.org/SeekToAction Model depth: 3 """ - type_: str = Field("SeekToAction", alias='@type') + type_: str = Field(default="SeekToAction", alias='@type') startOffset: Optional[Union[List[Union[Decimal, 'Number', 'HyperTocEntry', str]], Decimal, 'Number', 'HyperTocEntry', str]] = Field( default=None, description="The start time of the clip expressed as the number of seconds from the beginning of the" @@ -24,7 +24,6 @@ class SeekToAction(Action): ) - if TYPE_CHECKING: from pydantic_schemaorg.Number import Number from pydantic_schemaorg.HyperTocEntry import HyperTocEntry diff --git a/pydantic_schemaorg/SelfCareHealthAspect.py b/pydantic_schemaorg/SelfCareHealthAspect.py index c0ec02ec..63483e3f 100644 --- a/pydantic_schemaorg/SelfCareHealthAspect.py +++ b/pydantic_schemaorg/SelfCareHealthAspect.py @@ -12,6 +12,6 @@ class SelfCareHealthAspect(HealthAspectEnumeration): See: https://schema.org/SelfCareHealthAspect Model depth: 5 """ - type_: str = Field("SelfCareHealthAspect", alias='@type') + type_: str = Field(default="SelfCareHealthAspect", alias='@type') diff --git a/pydantic_schemaorg/SelfStorage.py b/pydantic_schemaorg/SelfStorage.py index ec0100c8..f91f4a0e 100644 --- a/pydantic_schemaorg/SelfStorage.py +++ b/pydantic_schemaorg/SelfStorage.py @@ -11,6 +11,5 @@ class SelfStorage(LocalBusiness): See: https://schema.org/SelfStorage Model depth: 4 """ - type_: str = Field("SelfStorage", alias='@type') + type_: str = Field(default="SelfStorage", alias='@type') - diff --git a/pydantic_schemaorg/SellAction.py b/pydantic_schemaorg/SellAction.py index 1bcab3ea..47755dac 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("SellAction", alias='@type') - buyer: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + type_: str = Field(default="SellAction", alias='@type') + 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.", @@ -27,8 +27,7 @@ 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 2c60588f..8426f8bc 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("SendAction", alias='@type') - recipient: Optional[Union[List[Union['Person', 'Organization', 'Audience', 'ContactPoint', str]], 'Person', 'Organization', 'Audience', 'ContactPoint', str]] = Field( + type_: str = Field(default="SendAction", alias='@type') + recipient: Optional[Union[List[Union['Audience', 'ContactPoint', 'Organization', 'Person', str]], 'Audience', 'ContactPoint', 'Organization', 'Person', str]] = Field( default=None, description="A sub property of participant. The participant who is at the receiving end of the action.", ) @@ -30,8 +30,8 @@ class SendAction(TransferAction): if TYPE_CHECKING: - from pydantic_schemaorg.Person import Person - from pydantic_schemaorg.Organization import Organization from pydantic_schemaorg.Audience import Audience from pydantic_schemaorg.ContactPoint import ContactPoint + from pydantic_schemaorg.Organization import Organization + 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 1e0fff79..6db15517 100644 --- a/pydantic_schemaorg/Series.py +++ b/pydantic_schemaorg/Series.py @@ -12,6 +12,6 @@ class Series(Intangible): See: https://schema.org/Series Model depth: 3 """ - type_: str = Field("Series", alias='@type') + type_: str = Field(default="Series", alias='@type') diff --git a/pydantic_schemaorg/Service.py b/pydantic_schemaorg/Service.py index acd0b5a8..dc6690c5 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("Service", alias='@type') - offers: Optional[Union[List[Union['Demand', 'Offer', str]], 'Demand', 'Offer', str]] = Field( + type_: str = Field(default="Service", alias='@type') + offers: Optional[Union[List[Union['Offer', 'Demand', str]], 'Offer', 'Demand', 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['AdministrativeArea', 'GeoShape', 'Place', str]], 'AdministrativeArea', 'GeoShape', '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." @@ -128,17 +128,17 @@ class Service(Intangible): if TYPE_CHECKING: - from pydantic_schemaorg.Demand import Demand from pydantic_schemaorg.Offer import Offer + from pydantic_schemaorg.Demand import Demand 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 2787aecd..e208d7ce 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("ServiceChannel", alias='@type') + type_: str = Field(default="ServiceChannel", alias='@type') processingTime: Optional[Union[List[Union['Duration', str]], 'Duration', str]] = Field( default=None, description="Estimated processing time for the service using this channel.", @@ -54,7 +54,6 @@ class ServiceChannel(Intangible): ) - if TYPE_CHECKING: from pydantic_schemaorg.Duration import Duration from pydantic_schemaorg.Place import Place diff --git a/pydantic_schemaorg/ShareAction.py b/pydantic_schemaorg/ShareAction.py index 5910841c..abd9ccd0 100644 --- a/pydantic_schemaorg/ShareAction.py +++ b/pydantic_schemaorg/ShareAction.py @@ -11,6 +11,6 @@ class ShareAction(CommunicateAction): See: https://schema.org/ShareAction Model depth: 5 """ - type_: str = Field("ShareAction", alias='@type') + type_: str = Field(default="ShareAction", alias='@type') diff --git a/pydantic_schemaorg/SheetMusic.py b/pydantic_schemaorg/SheetMusic.py index d5550632..2d95986c 100644 --- a/pydantic_schemaorg/SheetMusic.py +++ b/pydantic_schemaorg/SheetMusic.py @@ -11,6 +11,6 @@ class SheetMusic(CreativeWork): See: https://schema.org/SheetMusic Model depth: 3 """ - type_: str = Field("SheetMusic", alias='@type') + type_: str = Field(default="SheetMusic", alias='@type') diff --git a/pydantic_schemaorg/ShippingDeliveryTime.py b/pydantic_schemaorg/ShippingDeliveryTime.py index 1fbbf750..ff010d19 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("ShippingDeliveryTime", alias='@type') + type_: str = Field(default="ShippingDeliveryTime", alias='@type') 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." @@ -45,7 +45,6 @@ class ShippingDeliveryTime(StructuredValue): ) - if TYPE_CHECKING: from pydantic_schemaorg.QuantitativeValue import QuantitativeValue from pydantic_schemaorg.Time import Time diff --git a/pydantic_schemaorg/ShippingRateSettings.py b/pydantic_schemaorg/ShippingRateSettings.py index 5d6d3ec4..efae582c 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("ShippingRateSettings", alias='@type') + type_: str = Field(default="ShippingRateSettings", alias='@type') shippingLabel: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="Label to match an [[OfferShippingDetails]] with a [[ShippingRateSettings]] (within" @@ -55,7 +55,6 @@ class ShippingRateSettings(StructuredValue): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text from pydantic_schemaorg.Boolean import Boolean diff --git a/pydantic_schemaorg/ShoeStore.py b/pydantic_schemaorg/ShoeStore.py index 5aab81b6..102b487f 100644 --- a/pydantic_schemaorg/ShoeStore.py +++ b/pydantic_schemaorg/ShoeStore.py @@ -11,6 +11,5 @@ class ShoeStore(Store): See: https://schema.org/ShoeStore Model depth: 5 """ - type_: str = Field("ShoeStore", alias='@type') + type_: str = Field(default="ShoeStore", alias='@type') - diff --git a/pydantic_schemaorg/ShoppingCenter.py b/pydantic_schemaorg/ShoppingCenter.py index 98f58444..953a0d66 100644 --- a/pydantic_schemaorg/ShoppingCenter.py +++ b/pydantic_schemaorg/ShoppingCenter.py @@ -11,6 +11,5 @@ class ShoppingCenter(LocalBusiness): See: https://schema.org/ShoppingCenter Model depth: 4 """ - type_: str = Field("ShoppingCenter", alias='@type') + type_: str = Field(default="ShoppingCenter", alias='@type') - diff --git a/pydantic_schemaorg/ShortStory.py b/pydantic_schemaorg/ShortStory.py index e5c12798..98471233 100644 --- a/pydantic_schemaorg/ShortStory.py +++ b/pydantic_schemaorg/ShortStory.py @@ -11,6 +11,6 @@ class ShortStory(CreativeWork): See: https://schema.org/ShortStory Model depth: 3 """ - type_: str = Field("ShortStory", alias='@type') + type_: str = Field(default="ShortStory", alias='@type') diff --git a/pydantic_schemaorg/SideEffectsHealthAspect.py b/pydantic_schemaorg/SideEffectsHealthAspect.py index d77175fa..592bc93a 100644 --- a/pydantic_schemaorg/SideEffectsHealthAspect.py +++ b/pydantic_schemaorg/SideEffectsHealthAspect.py @@ -11,6 +11,6 @@ class SideEffectsHealthAspect(HealthAspectEnumeration): See: https://schema.org/SideEffectsHealthAspect Model depth: 5 """ - type_: str = Field("SideEffectsHealthAspect", alias='@type') + type_: str = Field(default="SideEffectsHealthAspect", alias='@type') diff --git a/pydantic_schemaorg/SingleBlindedTrial.py b/pydantic_schemaorg/SingleBlindedTrial.py index 9106f0d8..23ed10ca 100644 --- a/pydantic_schemaorg/SingleBlindedTrial.py +++ b/pydantic_schemaorg/SingleBlindedTrial.py @@ -12,6 +12,5 @@ class SingleBlindedTrial(MedicalTrialDesign): See: https://schema.org/SingleBlindedTrial Model depth: 6 """ - type_: str = Field("SingleBlindedTrial", alias='@type') + type_: str = Field(default="SingleBlindedTrial", alias='@type') - diff --git a/pydantic_schemaorg/SingleCenterTrial.py b/pydantic_schemaorg/SingleCenterTrial.py index 9e575e56..2356f1d6 100644 --- a/pydantic_schemaorg/SingleCenterTrial.py +++ b/pydantic_schemaorg/SingleCenterTrial.py @@ -11,6 +11,5 @@ class SingleCenterTrial(MedicalTrialDesign): See: https://schema.org/SingleCenterTrial Model depth: 6 """ - type_: str = Field("SingleCenterTrial", alias='@type') + type_: str = Field(default="SingleCenterTrial", alias='@type') - diff --git a/pydantic_schemaorg/SingleFamilyResidence.py b/pydantic_schemaorg/SingleFamilyResidence.py index 9ac424ef..f37c9608 100644 --- a/pydantic_schemaorg/SingleFamilyResidence.py +++ b/pydantic_schemaorg/SingleFamilyResidence.py @@ -15,7 +15,7 @@ class SingleFamilyResidence(House): See: https://schema.org/SingleFamilyResidence Model depth: 5 """ - type_: str = Field("SingleFamilyResidence", alias='@type') + type_: str = Field(default="SingleFamilyResidence", alias='@type') numberOfRooms: Optional[Union[List[Union[Decimal, 'Number', 'QuantitativeValue', str]], Decimal, 'Number', 'QuantitativeValue', str]] = Field( default=None, description="The number of rooms (excluding bathrooms and closets) of the accommodation or lodging" @@ -31,7 +31,6 @@ class SingleFamilyResidence(House): ) - if TYPE_CHECKING: from pydantic_schemaorg.Number import Number from pydantic_schemaorg.QuantitativeValue import QuantitativeValue diff --git a/pydantic_schemaorg/SinglePlayer.py b/pydantic_schemaorg/SinglePlayer.py index a7108ee7..cfec8b64 100644 --- a/pydantic_schemaorg/SinglePlayer.py +++ b/pydantic_schemaorg/SinglePlayer.py @@ -11,6 +11,5 @@ class SinglePlayer(GamePlayMode): See: https://schema.org/SinglePlayer Model depth: 5 """ - type_: str = Field("SinglePlayer", alias='@type') + type_: str = Field(default="SinglePlayer", alias='@type') - diff --git a/pydantic_schemaorg/SingleRelease.py b/pydantic_schemaorg/SingleRelease.py index 545fa359..062d6967 100644 --- a/pydantic_schemaorg/SingleRelease.py +++ b/pydantic_schemaorg/SingleRelease.py @@ -11,6 +11,5 @@ class SingleRelease(MusicAlbumReleaseType): See: https://schema.org/SingleRelease Model depth: 5 """ - type_: str = Field("SingleRelease", alias='@type') + type_: str = Field(default="SingleRelease", alias='@type') - diff --git a/pydantic_schemaorg/SiteNavigationElement.py b/pydantic_schemaorg/SiteNavigationElement.py index 9de745a4..4a034a77 100644 --- a/pydantic_schemaorg/SiteNavigationElement.py +++ b/pydantic_schemaorg/SiteNavigationElement.py @@ -11,6 +11,6 @@ class SiteNavigationElement(WebPageElement): See: https://schema.org/SiteNavigationElement Model depth: 4 """ - type_: str = Field("SiteNavigationElement", alias='@type') + type_: str = Field(default="SiteNavigationElement", alias='@type') diff --git a/pydantic_schemaorg/SizeGroupEnumeration.py b/pydantic_schemaorg/SizeGroupEnumeration.py index f3023257..87e3048f 100644 --- a/pydantic_schemaorg/SizeGroupEnumeration.py +++ b/pydantic_schemaorg/SizeGroupEnumeration.py @@ -11,6 +11,6 @@ class SizeGroupEnumeration(Enumeration): See: https://schema.org/SizeGroupEnumeration Model depth: 4 """ - type_: str = Field("SizeGroupEnumeration", alias='@type') + type_: str = Field(default="SizeGroupEnumeration", alias='@type') diff --git a/pydantic_schemaorg/SizeSpecification.py b/pydantic_schemaorg/SizeSpecification.py index 820282ba..ce443994 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("SizeSpecification", alias='@type') + type_: str = Field(default="SizeSpecification", alias='@type') 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," @@ -55,7 +55,6 @@ class SizeSpecification(QualitativeValue): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text from pydantic_schemaorg.SizeSystemEnumeration import SizeSystemEnumeration diff --git a/pydantic_schemaorg/SizeSystemEnumeration.py b/pydantic_schemaorg/SizeSystemEnumeration.py index 806779f3..8e2da191 100644 --- a/pydantic_schemaorg/SizeSystemEnumeration.py +++ b/pydantic_schemaorg/SizeSystemEnumeration.py @@ -12,6 +12,6 @@ class SizeSystemEnumeration(Enumeration): See: https://schema.org/SizeSystemEnumeration Model depth: 4 """ - type_: str = Field("SizeSystemEnumeration", alias='@type') + type_: str = Field(default="SizeSystemEnumeration", alias='@type') diff --git a/pydantic_schemaorg/SizeSystemImperial.py b/pydantic_schemaorg/SizeSystemImperial.py index 39ed37fa..01e38538 100644 --- a/pydantic_schemaorg/SizeSystemImperial.py +++ b/pydantic_schemaorg/SizeSystemImperial.py @@ -11,6 +11,5 @@ class SizeSystemImperial(SizeSystemEnumeration): See: https://schema.org/SizeSystemImperial Model depth: 5 """ - type_: str = Field("SizeSystemImperial", alias='@type') + type_: str = Field(default="SizeSystemImperial", alias='@type') - diff --git a/pydantic_schemaorg/SizeSystemMetric.py b/pydantic_schemaorg/SizeSystemMetric.py index ab27720e..b8d04667 100644 --- a/pydantic_schemaorg/SizeSystemMetric.py +++ b/pydantic_schemaorg/SizeSystemMetric.py @@ -11,6 +11,6 @@ class SizeSystemMetric(SizeSystemEnumeration): See: https://schema.org/SizeSystemMetric Model depth: 5 """ - type_: str = Field("SizeSystemMetric", alias='@type') + type_: str = Field(default="SizeSystemMetric", alias='@type') diff --git a/pydantic_schemaorg/SkiResort.py b/pydantic_schemaorg/SkiResort.py index 917923ad..7d7db7a1 100644 --- a/pydantic_schemaorg/SkiResort.py +++ b/pydantic_schemaorg/SkiResort.py @@ -12,6 +12,5 @@ class SkiResort(Resort, SportsActivityLocation): See: https://schema.org/SkiResort Model depth: 5 """ - type_: str = Field("SkiResort", alias='@type') + type_: str = Field(default="SkiResort", alias='@type') - diff --git a/pydantic_schemaorg/Skin.py b/pydantic_schemaorg/Skin.py index 515e0f9d..7af0702a 100644 --- a/pydantic_schemaorg/Skin.py +++ b/pydantic_schemaorg/Skin.py @@ -11,6 +11,5 @@ class Skin(PhysicalExam): See: https://schema.org/Skin Model depth: 5 """ - type_: str = Field("Skin", alias='@type') + type_: str = Field(default="Skin", alias='@type') - diff --git a/pydantic_schemaorg/SocialEvent.py b/pydantic_schemaorg/SocialEvent.py index e813f558..f545d1f4 100644 --- a/pydantic_schemaorg/SocialEvent.py +++ b/pydantic_schemaorg/SocialEvent.py @@ -11,6 +11,5 @@ class SocialEvent(Event): See: https://schema.org/SocialEvent Model depth: 3 """ - type_: str = Field("SocialEvent", alias='@type') + type_: str = Field(default="SocialEvent", alias='@type') - diff --git a/pydantic_schemaorg/SocialMediaPosting.py b/pydantic_schemaorg/SocialMediaPosting.py index 8650439d..e56e960f 100644 --- a/pydantic_schemaorg/SocialMediaPosting.py +++ b/pydantic_schemaorg/SocialMediaPosting.py @@ -14,13 +14,12 @@ class SocialMediaPosting(Article): See: https://schema.org/SocialMediaPosting Model depth: 4 """ - type_: str = Field("SocialMediaPosting", alias='@type') + type_: str = Field(default="SocialMediaPosting", alias='@type') 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.", ) - if TYPE_CHECKING: from pydantic_schemaorg.CreativeWork import CreativeWork diff --git a/pydantic_schemaorg/SoftwareApplication.py b/pydantic_schemaorg/SoftwareApplication.py index cf686a0b..2236209d 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("SoftwareApplication", alias='@type') + type_: str = Field(default="SoftwareApplication", alias='@type') 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 463821e9..d2331a08 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("SoftwareSourceCode", alias='@type') + type_: str = Field(default="SoftwareSourceCode", alias='@type') 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" @@ -53,7 +53,6 @@ class SoftwareSourceCode(CreativeWork): ) - if TYPE_CHECKING: from pydantic_schemaorg.URL import URL from pydantic_schemaorg.Text import Text diff --git a/pydantic_schemaorg/SoldOut.py b/pydantic_schemaorg/SoldOut.py index 97822ede..38e57bb5 100644 --- a/pydantic_schemaorg/SoldOut.py +++ b/pydantic_schemaorg/SoldOut.py @@ -11,6 +11,5 @@ class SoldOut(ItemAvailability): See: https://schema.org/SoldOut Model depth: 5 """ - type_: str = Field("SoldOut", alias='@type') + type_: str = Field(default="SoldOut", alias='@type') - diff --git a/pydantic_schemaorg/SolveMathAction.py b/pydantic_schemaorg/SolveMathAction.py index 3f2d338e..105b4720 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("SolveMathAction", alias='@type') + type_: str = Field(default="SolveMathAction", alias='@type') 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" @@ -24,6 +24,5 @@ class SolveMathAction(Action): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text diff --git a/pydantic_schemaorg/SomeProducts.py b/pydantic_schemaorg/SomeProducts.py index ae52a161..33c1c6a3 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("SomeProducts", alias='@type') + type_: str = Field(default="SomeProducts", alias='@type') 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 4a2184cb..dcea0466 100644 --- a/pydantic_schemaorg/SoundtrackAlbum.py +++ b/pydantic_schemaorg/SoundtrackAlbum.py @@ -11,6 +11,5 @@ class SoundtrackAlbum(MusicAlbumProductionType): See: https://schema.org/SoundtrackAlbum Model depth: 5 """ - type_: str = Field("SoundtrackAlbum", alias='@type') + type_: str = Field(default="SoundtrackAlbum", alias='@type') - diff --git a/pydantic_schemaorg/SpeakableSpecification.py b/pydantic_schemaorg/SpeakableSpecification.py index 0a5cac39..d1195449 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("SpeakableSpecification", alias='@type') + type_: str = Field(default="SpeakableSpecification", alias='@type') 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" @@ -30,7 +30,6 @@ class SpeakableSpecification(Intangible): ) - if TYPE_CHECKING: from pydantic_schemaorg.XPathType import XPathType from pydantic_schemaorg.CssSelectorType import CssSelectorType diff --git a/pydantic_schemaorg/SpecialAnnouncement.py b/pydantic_schemaorg/SpecialAnnouncement.py index 3878f760..3c74fbf2 100644 --- a/pydantic_schemaorg/SpecialAnnouncement.py +++ b/pydantic_schemaorg/SpecialAnnouncement.py @@ -61,7 +61,7 @@ class SpecialAnnouncement(CreativeWork): See: https://schema.org/SpecialAnnouncement Model depth: 3 """ - type_: str = Field("SpecialAnnouncement", alias='@type') + type_: str = Field(default="SpecialAnnouncement", alias='@type') announcementLocation: Optional[Union[List[Union['CivicStructure', 'LocalBusiness', str]], 'CivicStructure', 'LocalBusiness', str]] = Field( default=None, description="Indicates a specific [[CivicStructure]] or [[LocalBusiness]] associated with the" @@ -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', 'Dataset', 'WebContent', 'Observation', str]], AnyUrl, 'URL', 'Dataset', 'WebContent', 'Observation', str]] = Field( + diseaseSpreadStatistics: Optional[Union[List[Union[AnyUrl, 'URL', 'Observation', 'WebContent', 'Dataset', str]], AnyUrl, 'URL', 'Observation', 'WebContent', 'Dataset', 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." @@ -127,15 +127,14 @@ class SpecialAnnouncement(CreativeWork): ) - if TYPE_CHECKING: 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.Dataset import Dataset from pydantic_schemaorg.Observation import Observation + from pydantic_schemaorg.Dataset import Dataset from pydantic_schemaorg.Text import Text from pydantic_schemaorg.Thing import Thing from pydantic_schemaorg.PhysicalActivityCategory import PhysicalActivityCategory diff --git a/pydantic_schemaorg/Specialty.py b/pydantic_schemaorg/Specialty.py index e4e6633d..922e6029 100644 --- a/pydantic_schemaorg/Specialty.py +++ b/pydantic_schemaorg/Specialty.py @@ -12,6 +12,6 @@ class Specialty(Enumeration): See: https://schema.org/Specialty Model depth: 4 """ - type_: str = Field("Specialty", alias='@type') + type_: str = Field(default="Specialty", alias='@type') diff --git a/pydantic_schemaorg/SpeechPathology.py b/pydantic_schemaorg/SpeechPathology.py index aa2d3ef0..f0ac693d 100644 --- a/pydantic_schemaorg/SpeechPathology.py +++ b/pydantic_schemaorg/SpeechPathology.py @@ -13,6 +13,6 @@ class SpeechPathology(MedicalSpecialty): See: https://schema.org/SpeechPathology Model depth: 6 """ - type_: str = Field("SpeechPathology", alias='@type') + type_: str = Field(default="SpeechPathology", alias='@type') diff --git a/pydantic_schemaorg/SpokenWordAlbum.py b/pydantic_schemaorg/SpokenWordAlbum.py index 65c869af..9672b8e3 100644 --- a/pydantic_schemaorg/SpokenWordAlbum.py +++ b/pydantic_schemaorg/SpokenWordAlbum.py @@ -11,6 +11,5 @@ class SpokenWordAlbum(MusicAlbumProductionType): See: https://schema.org/SpokenWordAlbum Model depth: 5 """ - type_: str = Field("SpokenWordAlbum", alias='@type') + type_: str = Field(default="SpokenWordAlbum", alias='@type') - diff --git a/pydantic_schemaorg/SportingGoodsStore.py b/pydantic_schemaorg/SportingGoodsStore.py index 33ff5617..ecd3bcdf 100644 --- a/pydantic_schemaorg/SportingGoodsStore.py +++ b/pydantic_schemaorg/SportingGoodsStore.py @@ -11,6 +11,5 @@ class SportingGoodsStore(Store): See: https://schema.org/SportingGoodsStore Model depth: 5 """ - type_: str = Field("SportingGoodsStore", alias='@type') + type_: str = Field(default="SportingGoodsStore", alias='@type') - diff --git a/pydantic_schemaorg/SportsActivityLocation.py b/pydantic_schemaorg/SportsActivityLocation.py index 80991c9b..49932231 100644 --- a/pydantic_schemaorg/SportsActivityLocation.py +++ b/pydantic_schemaorg/SportsActivityLocation.py @@ -11,6 +11,6 @@ class SportsActivityLocation(LocalBusiness): See: https://schema.org/SportsActivityLocation Model depth: 4 """ - type_: str = Field("SportsActivityLocation", alias='@type') + type_: str = Field(default="SportsActivityLocation", alias='@type') diff --git a/pydantic_schemaorg/SportsClub.py b/pydantic_schemaorg/SportsClub.py index fb456b28..6ee634e2 100644 --- a/pydantic_schemaorg/SportsClub.py +++ b/pydantic_schemaorg/SportsClub.py @@ -11,6 +11,5 @@ class SportsClub(SportsActivityLocation): See: https://schema.org/SportsClub Model depth: 5 """ - type_: str = Field("SportsClub", alias='@type') + type_: str = Field(default="SportsClub", alias='@type') - diff --git a/pydantic_schemaorg/SportsEvent.py b/pydantic_schemaorg/SportsEvent.py index 800d6e31..1dbf1cc5 100644 --- a/pydantic_schemaorg/SportsEvent.py +++ b/pydantic_schemaorg/SportsEvent.py @@ -15,28 +15,27 @@ class SportsEvent(Event): See: https://schema.org/SportsEvent Model depth: 3 """ - type_: str = Field("SportsEvent", alias='@type') + type_: str = Field(default="SportsEvent", alias='@type') 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.", ) - homeTeam: Optional[Union[List[Union['Person', 'SportsTeam', str]], 'Person', 'SportsTeam', str]] = Field( + homeTeam: Optional[Union[List[Union['SportsTeam', 'Person', str]], 'SportsTeam', 'Person', str]] = Field( 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.", ) - 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 5c243cfd..75895e95 100644 --- a/pydantic_schemaorg/SportsOrganization.py +++ b/pydantic_schemaorg/SportsOrganization.py @@ -16,14 +16,13 @@ class SportsOrganization(Organization): See: https://schema.org/SportsOrganization Model depth: 3 """ - type_: str = Field("SportsOrganization", alias='@type') + type_: str = Field(default="SportsOrganization", alias='@type') sport: Optional[Union[List[Union[AnyUrl, 'URL', str, 'Text']], AnyUrl, 'URL', str, 'Text']] = Field( default=None, description="A type of sport (e.g. Baseball).", ) - if TYPE_CHECKING: from pydantic_schemaorg.URL import URL from pydantic_schemaorg.Text import Text diff --git a/pydantic_schemaorg/SportsTeam.py b/pydantic_schemaorg/SportsTeam.py index 87e142e6..fd6d6282 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("SportsTeam", alias='@type') + type_: str = Field(default="SportsTeam", alias='@type') 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," @@ -34,7 +34,6 @@ class SportsTeam(SportsOrganization): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text from pydantic_schemaorg.GenderType import GenderType diff --git a/pydantic_schemaorg/SpreadsheetDigitalDocument.py b/pydantic_schemaorg/SpreadsheetDigitalDocument.py index eab18788..56d6dc8b 100644 --- a/pydantic_schemaorg/SpreadsheetDigitalDocument.py +++ b/pydantic_schemaorg/SpreadsheetDigitalDocument.py @@ -11,6 +11,5 @@ class SpreadsheetDigitalDocument(DigitalDocument): See: https://schema.org/SpreadsheetDigitalDocument Model depth: 4 """ - type_: str = Field("SpreadsheetDigitalDocument", alias='@type') + type_: str = Field(default="SpreadsheetDigitalDocument", alias='@type') - diff --git a/pydantic_schemaorg/StadiumOrArena.py b/pydantic_schemaorg/StadiumOrArena.py index 6608523d..5f303864 100644 --- a/pydantic_schemaorg/StadiumOrArena.py +++ b/pydantic_schemaorg/StadiumOrArena.py @@ -12,6 +12,5 @@ class StadiumOrArena(SportsActivityLocation, CivicStructure): See: https://schema.org/StadiumOrArena Model depth: 4 """ - type_: str = Field("StadiumOrArena", alias='@type') + type_: str = Field(default="StadiumOrArena", alias='@type') - diff --git a/pydantic_schemaorg/StagedContent.py b/pydantic_schemaorg/StagedContent.py index d58005ef..a0b5a510 100644 --- a/pydantic_schemaorg/StagedContent.py +++ b/pydantic_schemaorg/StagedContent.py @@ -18,6 +18,5 @@ class StagedContent(MediaManipulationRatingEnumeration): See: https://schema.org/StagedContent Model depth: 5 """ - type_: str = Field("StagedContent", alias='@type') + type_: str = Field(default="StagedContent", alias='@type') - diff --git a/pydantic_schemaorg/StagesHealthAspect.py b/pydantic_schemaorg/StagesHealthAspect.py index 663bcaae..88da03c0 100644 --- a/pydantic_schemaorg/StagesHealthAspect.py +++ b/pydantic_schemaorg/StagesHealthAspect.py @@ -11,6 +11,6 @@ class StagesHealthAspect(HealthAspectEnumeration): See: https://schema.org/StagesHealthAspect Model depth: 5 """ - type_: str = Field("StagesHealthAspect", alias='@type') + type_: str = Field(default="StagesHealthAspect", alias='@type') diff --git a/pydantic_schemaorg/State.py b/pydantic_schemaorg/State.py index 5b6399d1..52dde985 100644 --- a/pydantic_schemaorg/State.py +++ b/pydantic_schemaorg/State.py @@ -11,6 +11,5 @@ class State(AdministrativeArea): See: https://schema.org/State Model depth: 4 """ - type_: str = Field("State", alias='@type') + type_: str = Field(default="State", alias='@type') - diff --git a/pydantic_schemaorg/Statement.py b/pydantic_schemaorg/Statement.py index 95ff607a..cbf42232 100644 --- a/pydantic_schemaorg/Statement.py +++ b/pydantic_schemaorg/Statement.py @@ -14,6 +14,6 @@ class Statement(CreativeWork): See: https://schema.org/Statement Model depth: 3 """ - type_: str = Field("Statement", alias='@type') + type_: str = Field(default="Statement", alias='@type') diff --git a/pydantic_schemaorg/StatisticalPopulation.py b/pydantic_schemaorg/StatisticalPopulation.py index 90e9d0e4..044bb0e9 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("StatisticalPopulation", alias='@type') + type_: str = Field(default="StatisticalPopulation", alias='@type') 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" @@ -43,7 +43,6 @@ class StatisticalPopulation(Intangible): ) - if TYPE_CHECKING: from pydantic_schemaorg.Integer import Integer from pydantic_schemaorg.Class import Class diff --git a/pydantic_schemaorg/StatusEnumeration.py b/pydantic_schemaorg/StatusEnumeration.py index 658d8226..b269e713 100644 --- a/pydantic_schemaorg/StatusEnumeration.py +++ b/pydantic_schemaorg/StatusEnumeration.py @@ -11,6 +11,6 @@ class StatusEnumeration(Enumeration): See: https://schema.org/StatusEnumeration Model depth: 4 """ - type_: str = Field("StatusEnumeration", alias='@type') + type_: str = Field(default="StatusEnumeration", alias='@type') diff --git a/pydantic_schemaorg/SteeringPositionValue.py b/pydantic_schemaorg/SteeringPositionValue.py index 84f99f56..24503c4c 100644 --- a/pydantic_schemaorg/SteeringPositionValue.py +++ b/pydantic_schemaorg/SteeringPositionValue.py @@ -11,6 +11,5 @@ class SteeringPositionValue(QualitativeValue): See: https://schema.org/SteeringPositionValue Model depth: 5 """ - type_: str = Field("SteeringPositionValue", alias='@type') + type_: str = Field(default="SteeringPositionValue", alias='@type') - diff --git a/pydantic_schemaorg/Store.py b/pydantic_schemaorg/Store.py index f7e7e9c6..9fb3bc06 100644 --- a/pydantic_schemaorg/Store.py +++ b/pydantic_schemaorg/Store.py @@ -11,6 +11,6 @@ class Store(LocalBusiness): See: https://schema.org/Store Model depth: 4 """ - type_: str = Field("Store", alias='@type') + type_: str = Field(default="Store", alias='@type') diff --git a/pydantic_schemaorg/StoreCreditRefund.py b/pydantic_schemaorg/StoreCreditRefund.py index f310001b..525d054f 100644 --- a/pydantic_schemaorg/StoreCreditRefund.py +++ b/pydantic_schemaorg/StoreCreditRefund.py @@ -11,6 +11,5 @@ class StoreCreditRefund(RefundTypeEnumeration): See: https://schema.org/StoreCreditRefund Model depth: 5 """ - type_: str = Field("StoreCreditRefund", alias='@type') + type_: str = Field(default="StoreCreditRefund", alias='@type') - diff --git a/pydantic_schemaorg/StrengthTraining.py b/pydantic_schemaorg/StrengthTraining.py index 04a95a85..10f91a7f 100644 --- a/pydantic_schemaorg/StrengthTraining.py +++ b/pydantic_schemaorg/StrengthTraining.py @@ -12,6 +12,6 @@ class StrengthTraining(PhysicalActivityCategory): See: https://schema.org/StrengthTraining Model depth: 5 """ - type_: str = Field("StrengthTraining", alias='@type') + type_: str = Field(default="StrengthTraining", alias='@type') diff --git a/pydantic_schemaorg/StructuredValue.py b/pydantic_schemaorg/StructuredValue.py index 2032b297..456bd9bb 100644 --- a/pydantic_schemaorg/StructuredValue.py +++ b/pydantic_schemaorg/StructuredValue.py @@ -12,6 +12,6 @@ class StructuredValue(Intangible): See: https://schema.org/StructuredValue Model depth: 3 """ - type_: str = Field("StructuredValue", alias='@type') + type_: str = Field(default="StructuredValue", alias='@type') diff --git a/pydantic_schemaorg/StudioAlbum.py b/pydantic_schemaorg/StudioAlbum.py index 0fda1598..a0e33a89 100644 --- a/pydantic_schemaorg/StudioAlbum.py +++ b/pydantic_schemaorg/StudioAlbum.py @@ -11,6 +11,6 @@ class StudioAlbum(MusicAlbumProductionType): See: https://schema.org/StudioAlbum Model depth: 5 """ - type_: str = Field("StudioAlbum", alias='@type') + type_: str = Field(default="StudioAlbum", alias='@type') diff --git a/pydantic_schemaorg/SubscribeAction.py b/pydantic_schemaorg/SubscribeAction.py index 20d939a4..1a227d0d 100644 --- a/pydantic_schemaorg/SubscribeAction.py +++ b/pydantic_schemaorg/SubscribeAction.py @@ -17,6 +17,5 @@ class SubscribeAction(InteractAction): See: https://schema.org/SubscribeAction Model depth: 4 """ - type_: str = Field("SubscribeAction", alias='@type') + type_: str = Field(default="SubscribeAction", alias='@type') - diff --git a/pydantic_schemaorg/Subscription.py b/pydantic_schemaorg/Subscription.py index f62bf086..f4836a42 100644 --- a/pydantic_schemaorg/Subscription.py +++ b/pydantic_schemaorg/Subscription.py @@ -11,6 +11,5 @@ class Subscription(PriceComponentTypeEnumeration): See: https://schema.org/Subscription Model depth: 5 """ - type_: str = Field("Subscription", alias='@type') + type_: str = Field(default="Subscription", alias='@type') - diff --git a/pydantic_schemaorg/Substance.py b/pydantic_schemaorg/Substance.py index 5c3307e8..3c58a93c 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("Substance", alias='@type') + type_: str = Field(default="Substance", alias='@type') 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 d91e62e4..21aac65f 100644 --- a/pydantic_schemaorg/SubwayStation.py +++ b/pydantic_schemaorg/SubwayStation.py @@ -11,6 +11,5 @@ class SubwayStation(CivicStructure): See: https://schema.org/SubwayStation Model depth: 4 """ - type_: str = Field("SubwayStation", alias='@type') + type_: str = Field(default="SubwayStation", alias='@type') - diff --git a/pydantic_schemaorg/Suite.py b/pydantic_schemaorg/Suite.py index e352395c..37d2d703 100644 --- a/pydantic_schemaorg/Suite.py +++ b/pydantic_schemaorg/Suite.py @@ -19,7 +19,7 @@ class Suite(Accommodation): See: https://schema.org/Suite Model depth: 4 """ - type_: str = Field("Suite", alias='@type') + type_: str = Field(default="Suite", alias='@type') numberOfRooms: Optional[Union[List[Union[Decimal, 'Number', 'QuantitativeValue', str]], Decimal, 'Number', 'QuantitativeValue', str]] = Field( default=None, description="The number of rooms (excluding bathrooms and closets) of the accommodation or lodging" @@ -42,7 +42,6 @@ class Suite(Accommodation): ) - if TYPE_CHECKING: from pydantic_schemaorg.Number import Number from pydantic_schemaorg.QuantitativeValue import QuantitativeValue diff --git a/pydantic_schemaorg/Sunday.py b/pydantic_schemaorg/Sunday.py index 84385676..5a3e85a7 100644 --- a/pydantic_schemaorg/Sunday.py +++ b/pydantic_schemaorg/Sunday.py @@ -11,6 +11,5 @@ class Sunday(DayOfWeek): See: https://schema.org/Sunday Model depth: 5 """ - type_: str = Field("Sunday", alias='@type') + type_: str = Field(default="Sunday", alias='@type') - diff --git a/pydantic_schemaorg/SuperficialAnatomy.py b/pydantic_schemaorg/SuperficialAnatomy.py index 35d70843..bf1ca5b3 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("SuperficialAnatomy", alias='@type') + type_: str = Field(default="SuperficialAnatomy", alias='@type') 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" @@ -55,7 +55,6 @@ class SuperficialAnatomy(MedicalEntity): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text from pydantic_schemaorg.AnatomicalSystem import AnatomicalSystem diff --git a/pydantic_schemaorg/Surgical.py b/pydantic_schemaorg/Surgical.py index c79381fa..0d784667 100644 --- a/pydantic_schemaorg/Surgical.py +++ b/pydantic_schemaorg/Surgical.py @@ -12,6 +12,5 @@ class Surgical(MedicalSpecialty): See: https://schema.org/Surgical Model depth: 6 """ - type_: str = Field("Surgical", alias='@type') + type_: str = Field(default="Surgical", alias='@type') - diff --git a/pydantic_schemaorg/SurgicalProcedure.py b/pydantic_schemaorg/SurgicalProcedure.py index 1312619e..2e69b967 100644 --- a/pydantic_schemaorg/SurgicalProcedure.py +++ b/pydantic_schemaorg/SurgicalProcedure.py @@ -12,6 +12,5 @@ class SurgicalProcedure(MedicalProcedure): See: https://schema.org/SurgicalProcedure Model depth: 4 """ - type_: str = Field("SurgicalProcedure", alias='@type') + type_: str = Field(default="SurgicalProcedure", alias='@type') - diff --git a/pydantic_schemaorg/SuspendAction.py b/pydantic_schemaorg/SuspendAction.py index 87d088fb..26464fed 100644 --- a/pydantic_schemaorg/SuspendAction.py +++ b/pydantic_schemaorg/SuspendAction.py @@ -12,6 +12,5 @@ class SuspendAction(ControlAction): See: https://schema.org/SuspendAction Model depth: 4 """ - type_: str = Field("SuspendAction", alias='@type') + type_: str = Field(default="SuspendAction", alias='@type') - diff --git a/pydantic_schemaorg/Suspended.py b/pydantic_schemaorg/Suspended.py index 478a761a..36555d01 100644 --- a/pydantic_schemaorg/Suspended.py +++ b/pydantic_schemaorg/Suspended.py @@ -11,6 +11,5 @@ class Suspended(MedicalStudyStatus): See: https://schema.org/Suspended Model depth: 6 """ - type_: str = Field("Suspended", alias='@type') + type_: str = Field(default="Suspended", alias='@type') - diff --git a/pydantic_schemaorg/SymptomsHealthAspect.py b/pydantic_schemaorg/SymptomsHealthAspect.py index e9a3ce5b..ba56048d 100644 --- a/pydantic_schemaorg/SymptomsHealthAspect.py +++ b/pydantic_schemaorg/SymptomsHealthAspect.py @@ -11,6 +11,5 @@ class SymptomsHealthAspect(HealthAspectEnumeration): See: https://schema.org/SymptomsHealthAspect Model depth: 5 """ - type_: str = Field("SymptomsHealthAspect", alias='@type') + type_: str = Field(default="SymptomsHealthAspect", alias='@type') - diff --git a/pydantic_schemaorg/Synagogue.py b/pydantic_schemaorg/Synagogue.py index f64f6c6d..86fd649a 100644 --- a/pydantic_schemaorg/Synagogue.py +++ b/pydantic_schemaorg/Synagogue.py @@ -11,6 +11,6 @@ class Synagogue(PlaceOfWorship): See: https://schema.org/Synagogue Model depth: 5 """ - type_: str = Field("Synagogue", alias='@type') + type_: str = Field(default="Synagogue", alias='@type') diff --git a/pydantic_schemaorg/TVClip.py b/pydantic_schemaorg/TVClip.py index c1048d57..c004b42d 100644 --- a/pydantic_schemaorg/TVClip.py +++ b/pydantic_schemaorg/TVClip.py @@ -14,13 +14,12 @@ class TVClip(Clip): See: https://schema.org/TVClip Model depth: 4 """ - type_: str = Field("TVClip", alias='@type') + type_: str = Field(default="TVClip", alias='@type') partOfTVSeries: Optional[Union[List[Union['TVSeries', str]], 'TVSeries', str]] = Field( default=None, description="The TV series to which this episode or season belongs.", ) - if TYPE_CHECKING: from pydantic_schemaorg.TVSeries import TVSeries diff --git a/pydantic_schemaorg/TVEpisode.py b/pydantic_schemaorg/TVEpisode.py index 0c60082b..5db83efb 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("TVEpisode", alias='@type') + type_: str = Field(default="TVEpisode", alias='@type') 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).", @@ -46,7 +46,6 @@ class TVEpisode(Episode): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text from pydantic_schemaorg.Language import Language diff --git a/pydantic_schemaorg/TVSeason.py b/pydantic_schemaorg/TVSeason.py index bff5c543..4dea56af 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("TVSeason", alias='@type') + type_: str = Field(default="TVSeason", alias='@type') 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" @@ -32,7 +32,6 @@ class TVSeason(CreativeWorkSeason, CreativeWork): ) - if TYPE_CHECKING: from pydantic_schemaorg.Country import Country from pydantic_schemaorg.TVSeries import TVSeries diff --git a/pydantic_schemaorg/TVSeries.py b/pydantic_schemaorg/TVSeries.py index f42c139a..f5cc9c30 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("TVSeries", alias='@type') + type_: str = Field(default="TVSeries", alias='@type') 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,13 +84,12 @@ 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.", ) - if TYPE_CHECKING: from pydantic_schemaorg.Person import Person from pydantic_schemaorg.CreativeWorkSeason import CreativeWorkSeason diff --git a/pydantic_schemaorg/Table.py b/pydantic_schemaorg/Table.py index 0a4020dc..01eb6696 100644 --- a/pydantic_schemaorg/Table.py +++ b/pydantic_schemaorg/Table.py @@ -11,6 +11,5 @@ class Table(WebPageElement): See: https://schema.org/Table Model depth: 4 """ - type_: str = Field("Table", alias='@type') + type_: str = Field(default="Table", alias='@type') - diff --git a/pydantic_schemaorg/TakeAction.py b/pydantic_schemaorg/TakeAction.py index 304ee1d4..a73388b1 100644 --- a/pydantic_schemaorg/TakeAction.py +++ b/pydantic_schemaorg/TakeAction.py @@ -13,6 +13,5 @@ class TakeAction(TransferAction): See: https://schema.org/TakeAction Model depth: 4 """ - type_: str = Field("TakeAction", alias='@type') + type_: str = Field(default="TakeAction", alias='@type') - diff --git a/pydantic_schemaorg/TattooParlor.py b/pydantic_schemaorg/TattooParlor.py index 5c0146d9..1810c8a3 100644 --- a/pydantic_schemaorg/TattooParlor.py +++ b/pydantic_schemaorg/TattooParlor.py @@ -11,6 +11,5 @@ class TattooParlor(HealthAndBeautyBusiness): See: https://schema.org/TattooParlor Model depth: 5 """ - type_: str = Field("TattooParlor", alias='@type') + type_: str = Field(default="TattooParlor", alias='@type') - diff --git a/pydantic_schemaorg/Taxi.py b/pydantic_schemaorg/Taxi.py index 1fb2fb25..7eb0beea 100644 --- a/pydantic_schemaorg/Taxi.py +++ b/pydantic_schemaorg/Taxi.py @@ -11,6 +11,5 @@ class Taxi(Service): See: https://schema.org/Taxi Model depth: 4 """ - type_: str = Field("Taxi", alias='@type') + type_: str = Field(default="Taxi", alias='@type') - diff --git a/pydantic_schemaorg/TaxiReservation.py b/pydantic_schemaorg/TaxiReservation.py index 3e93d2c6..674b6cfb 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("TaxiReservation", alias='@type') + type_: str = Field(default="TaxiReservation", alias='@type') 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 0591b23e..dc1e0a35 100644 --- a/pydantic_schemaorg/TaxiService.py +++ b/pydantic_schemaorg/TaxiService.py @@ -12,6 +12,5 @@ class TaxiService(Service): See: https://schema.org/TaxiService Model depth: 4 """ - type_: str = Field("TaxiService", alias='@type') + type_: str = Field(default="TaxiService", alias='@type') - diff --git a/pydantic_schemaorg/TaxiStand.py b/pydantic_schemaorg/TaxiStand.py index 9a73dbee..7c625c7a 100644 --- a/pydantic_schemaorg/TaxiStand.py +++ b/pydantic_schemaorg/TaxiStand.py @@ -11,6 +11,5 @@ class TaxiStand(CivicStructure): See: https://schema.org/TaxiStand Model depth: 4 """ - type_: str = Field("TaxiStand", alias='@type') + type_: str = Field(default="TaxiStand", alias='@type') - diff --git a/pydantic_schemaorg/TaxiVehicleUsage.py b/pydantic_schemaorg/TaxiVehicleUsage.py index 5e450297..b1ca664a 100644 --- a/pydantic_schemaorg/TaxiVehicleUsage.py +++ b/pydantic_schemaorg/TaxiVehicleUsage.py @@ -11,6 +11,5 @@ class TaxiVehicleUsage(CarUsageType): See: https://schema.org/TaxiVehicleUsage Model depth: 5 """ - type_: str = Field("TaxiVehicleUsage", alias='@type') + type_: str = Field(default="TaxiVehicleUsage", alias='@type') - diff --git a/pydantic_schemaorg/Taxon.py b/pydantic_schemaorg/Taxon.py index 12e15cff..4b763128 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("Taxon", alias='@type') + type_: str = Field(default="Taxon", alias='@type') hasDefinedTerm: Optional[Union[List[Union['DefinedTerm', str]], 'DefinedTerm', str]] = Field( default=None, description="A Defined Term contained in this term set.", @@ -35,7 +35,6 @@ class Taxon(Thing): ) - if TYPE_CHECKING: from pydantic_schemaorg.DefinedTerm import DefinedTerm from pydantic_schemaorg.URL import URL diff --git a/pydantic_schemaorg/TechArticle.py b/pydantic_schemaorg/TechArticle.py index 7954ca8e..085f9d64 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("TechArticle", alias='@type') + type_: str = Field(default="TechArticle", alias='@type') proficiencyLevel: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="Proficiency needed for this content; expected values: 'Beginner', 'Expert'.", @@ -26,6 +26,5 @@ class TechArticle(Article): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text diff --git a/pydantic_schemaorg/TelevisionChannel.py b/pydantic_schemaorg/TelevisionChannel.py index c46c22b2..d22b66fb 100644 --- a/pydantic_schemaorg/TelevisionChannel.py +++ b/pydantic_schemaorg/TelevisionChannel.py @@ -11,6 +11,5 @@ class TelevisionChannel(BroadcastChannel): See: https://schema.org/TelevisionChannel Model depth: 4 """ - type_: str = Field("TelevisionChannel", alias='@type') + type_: str = Field(default="TelevisionChannel", alias='@type') - diff --git a/pydantic_schemaorg/TelevisionStation.py b/pydantic_schemaorg/TelevisionStation.py index 61f02470..772718ca 100644 --- a/pydantic_schemaorg/TelevisionStation.py +++ b/pydantic_schemaorg/TelevisionStation.py @@ -11,6 +11,6 @@ class TelevisionStation(LocalBusiness): See: https://schema.org/TelevisionStation Model depth: 4 """ - type_: str = Field("TelevisionStation", alias='@type') + type_: str = Field(default="TelevisionStation", alias='@type') diff --git a/pydantic_schemaorg/TennisComplex.py b/pydantic_schemaorg/TennisComplex.py index 90071f44..541b6f82 100644 --- a/pydantic_schemaorg/TennisComplex.py +++ b/pydantic_schemaorg/TennisComplex.py @@ -11,6 +11,6 @@ class TennisComplex(SportsActivityLocation): See: https://schema.org/TennisComplex Model depth: 5 """ - type_: str = Field("TennisComplex", alias='@type') + type_: str = Field(default="TennisComplex", alias='@type') diff --git a/pydantic_schemaorg/Terminated.py b/pydantic_schemaorg/Terminated.py index 2f068366..69e8c9ca 100644 --- a/pydantic_schemaorg/Terminated.py +++ b/pydantic_schemaorg/Terminated.py @@ -11,6 +11,5 @@ class Terminated(MedicalStudyStatus): See: https://schema.org/Terminated Model depth: 6 """ - type_: str = Field("Terminated", alias='@type') + type_: str = Field(default="Terminated", alias='@type') - diff --git a/pydantic_schemaorg/Text.py b/pydantic_schemaorg/Text.py index 07543b7a..b4bec926 100644 --- a/pydantic_schemaorg/Text.py +++ b/pydantic_schemaorg/Text.py @@ -11,6 +11,5 @@ class Text(DataType): See: https://schema.org/Text Model depth: 5 """ - type_: str = Field("Text", alias='@type') + type_: str = Field(default="Text", alias='@type') - diff --git a/pydantic_schemaorg/TextDigitalDocument.py b/pydantic_schemaorg/TextDigitalDocument.py index 79571ea4..5c0fcda8 100644 --- a/pydantic_schemaorg/TextDigitalDocument.py +++ b/pydantic_schemaorg/TextDigitalDocument.py @@ -11,6 +11,5 @@ class TextDigitalDocument(DigitalDocument): See: https://schema.org/TextDigitalDocument Model depth: 4 """ - type_: str = Field("TextDigitalDocument", alias='@type') + type_: str = Field(default="TextDigitalDocument", alias='@type') - diff --git a/pydantic_schemaorg/TheaterEvent.py b/pydantic_schemaorg/TheaterEvent.py index 4537f104..d7a67744 100644 --- a/pydantic_schemaorg/TheaterEvent.py +++ b/pydantic_schemaorg/TheaterEvent.py @@ -11,6 +11,5 @@ class TheaterEvent(Event): See: https://schema.org/TheaterEvent Model depth: 3 """ - type_: str = Field("TheaterEvent", alias='@type') + type_: str = Field(default="TheaterEvent", alias='@type') - diff --git a/pydantic_schemaorg/TheaterGroup.py b/pydantic_schemaorg/TheaterGroup.py index 8556a6ac..4f98f968 100644 --- a/pydantic_schemaorg/TheaterGroup.py +++ b/pydantic_schemaorg/TheaterGroup.py @@ -11,6 +11,5 @@ class TheaterGroup(PerformingGroup): See: https://schema.org/TheaterGroup Model depth: 4 """ - type_: str = Field("TheaterGroup", alias='@type') + type_: str = Field(default="TheaterGroup", alias='@type') - diff --git a/pydantic_schemaorg/Therapeutic.py b/pydantic_schemaorg/Therapeutic.py index 520fed22..6817c628 100644 --- a/pydantic_schemaorg/Therapeutic.py +++ b/pydantic_schemaorg/Therapeutic.py @@ -11,6 +11,5 @@ class Therapeutic(MedicalDevicePurpose): See: https://schema.org/Therapeutic Model depth: 6 """ - type_: str = Field("Therapeutic", alias='@type') + type_: str = Field(default="Therapeutic", alias='@type') - diff --git a/pydantic_schemaorg/TherapeuticProcedure.py b/pydantic_schemaorg/TherapeuticProcedure.py index 2633d126..839c386a 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("TherapeuticProcedure", alias='@type') + type_: str = Field(default="TherapeuticProcedure", alias='@type') 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 22a12a4e..8196c468 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("Thesis", alias='@type') + type_: str = Field(default="Thesis", alias='@type') 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 96662c67..663a82e4 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("Thing", alias='@type') + type_: str = Field(default="Thing", alias='@type') 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 62c6f441..f8cde025 100644 --- a/pydantic_schemaorg/Throat.py +++ b/pydantic_schemaorg/Throat.py @@ -11,6 +11,5 @@ class Throat(PhysicalExam): See: https://schema.org/Throat Model depth: 5 """ - type_: str = Field("Throat", alias='@type') + type_: str = Field(default="Throat", alias='@type') - diff --git a/pydantic_schemaorg/Thursday.py b/pydantic_schemaorg/Thursday.py index 2bc155fd..e2b51986 100644 --- a/pydantic_schemaorg/Thursday.py +++ b/pydantic_schemaorg/Thursday.py @@ -11,6 +11,5 @@ class Thursday(DayOfWeek): See: https://schema.org/Thursday Model depth: 5 """ - type_: str = Field("Thursday", alias='@type') + type_: str = Field(default="Thursday", alias='@type') - diff --git a/pydantic_schemaorg/Ticket.py b/pydantic_schemaorg/Ticket.py index 463969d9..0fb7b2e7 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("Ticket", alias='@type') - underName: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field( + type_: str = Field(default="Ticket", alias='@type') + 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.", ) @@ -60,10 +60,9 @@ 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 c73e104d..756e858c 100644 --- a/pydantic_schemaorg/TieAction.py +++ b/pydantic_schemaorg/TieAction.py @@ -11,6 +11,5 @@ class TieAction(AchieveAction): See: https://schema.org/TieAction Model depth: 4 """ - type_: str = Field("TieAction", alias='@type') + type_: str = Field(default="TieAction", alias='@type') - diff --git a/pydantic_schemaorg/Time.py b/pydantic_schemaorg/Time.py index 6406b9e7..8defe005 100644 --- a/pydantic_schemaorg/Time.py +++ b/pydantic_schemaorg/Time.py @@ -12,6 +12,5 @@ class Time(DataType): See: https://schema.org/Time Model depth: 5 """ - type_: str = Field("Time", alias='@type') + type_: str = Field(default="Time", alias='@type') - diff --git a/pydantic_schemaorg/TipAction.py b/pydantic_schemaorg/TipAction.py index 1416a26e..6fd23dcb 100644 --- a/pydantic_schemaorg/TipAction.py +++ b/pydantic_schemaorg/TipAction.py @@ -14,16 +14,15 @@ class TipAction(TradeAction): See: https://schema.org/TipAction Model depth: 4 """ - type_: str = Field("TipAction", alias='@type') - recipient: Optional[Union[List[Union['Person', 'Organization', 'Audience', 'ContactPoint', str]], 'Person', 'Organization', 'Audience', 'ContactPoint', str]] = Field( + type_: str = Field(default="TipAction", alias='@type') + recipient: Optional[Union[List[Union['Audience', 'ContactPoint', 'Organization', 'Person', str]], 'Audience', 'ContactPoint', '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.Organization import Organization from pydantic_schemaorg.Audience import Audience from pydantic_schemaorg.ContactPoint import ContactPoint + from pydantic_schemaorg.Organization import Organization + from pydantic_schemaorg.Person import Person diff --git a/pydantic_schemaorg/TireShop.py b/pydantic_schemaorg/TireShop.py index d128d337..fe62a8d5 100644 --- a/pydantic_schemaorg/TireShop.py +++ b/pydantic_schemaorg/TireShop.py @@ -11,6 +11,5 @@ class TireShop(Store): See: https://schema.org/TireShop Model depth: 5 """ - type_: str = Field("TireShop", alias='@type') + type_: str = Field(default="TireShop", alias='@type') - diff --git a/pydantic_schemaorg/TollFree.py b/pydantic_schemaorg/TollFree.py index 57c35f45..04c9fdae 100644 --- a/pydantic_schemaorg/TollFree.py +++ b/pydantic_schemaorg/TollFree.py @@ -11,6 +11,5 @@ class TollFree(ContactPointOption): See: https://schema.org/TollFree Model depth: 5 """ - type_: str = Field("TollFree", alias='@type') + type_: str = Field(default="TollFree", alias='@type') - diff --git a/pydantic_schemaorg/TouristAttraction.py b/pydantic_schemaorg/TouristAttraction.py index e5945d56..56404f0a 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("TouristAttraction", alias='@type') + type_: str = Field(default="TouristAttraction", alias='@type') 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" @@ -32,7 +32,6 @@ class TouristAttraction(Place): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text from pydantic_schemaorg.Language import Language diff --git a/pydantic_schemaorg/TouristDestination.py b/pydantic_schemaorg/TouristDestination.py index ad822f49..6ce6bef1 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("TouristDestination", alias='@type') + type_: str = Field(default="TouristDestination", alias='@type') includesAttraction: Optional[Union[List[Union['TouristAttraction', str]], 'TouristAttraction', str]] = Field( default=None, description="Attraction located at destination.", @@ -33,7 +33,6 @@ class TouristDestination(Place): ) - if TYPE_CHECKING: from pydantic_schemaorg.TouristAttraction import TouristAttraction from pydantic_schemaorg.Text import Text diff --git a/pydantic_schemaorg/TouristInformationCenter.py b/pydantic_schemaorg/TouristInformationCenter.py index 8f5139c9..76a2bed9 100644 --- a/pydantic_schemaorg/TouristInformationCenter.py +++ b/pydantic_schemaorg/TouristInformationCenter.py @@ -11,6 +11,5 @@ class TouristInformationCenter(LocalBusiness): See: https://schema.org/TouristInformationCenter Model depth: 4 """ - type_: str = Field("TouristInformationCenter", alias='@type') + type_: str = Field(default="TouristInformationCenter", alias='@type') - diff --git a/pydantic_schemaorg/TouristTrip.py b/pydantic_schemaorg/TouristTrip.py index 9537a8bc..ae18d6ee 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("TouristTrip", alias='@type') + type_: str = Field(default="TouristTrip", alias='@type') 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" @@ -25,7 +25,6 @@ class TouristTrip(Trip): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text from pydantic_schemaorg.Audience import Audience diff --git a/pydantic_schemaorg/Toxicologic.py b/pydantic_schemaorg/Toxicologic.py index 1676c24c..60bac1f9 100644 --- a/pydantic_schemaorg/Toxicologic.py +++ b/pydantic_schemaorg/Toxicologic.py @@ -12,6 +12,5 @@ class Toxicologic(MedicalSpecialty): See: https://schema.org/Toxicologic Model depth: 6 """ - type_: str = Field("Toxicologic", alias='@type') + type_: str = Field(default="Toxicologic", alias='@type') - diff --git a/pydantic_schemaorg/ToyStore.py b/pydantic_schemaorg/ToyStore.py index 664c7e66..dba7f5c0 100644 --- a/pydantic_schemaorg/ToyStore.py +++ b/pydantic_schemaorg/ToyStore.py @@ -11,6 +11,5 @@ class ToyStore(Store): See: https://schema.org/ToyStore Model depth: 5 """ - type_: str = Field("ToyStore", alias='@type') + type_: str = Field(default="ToyStore", alias='@type') - diff --git a/pydantic_schemaorg/TrackAction.py b/pydantic_schemaorg/TrackAction.py index 40608584..4c17814c 100644 --- a/pydantic_schemaorg/TrackAction.py +++ b/pydantic_schemaorg/TrackAction.py @@ -17,13 +17,12 @@ class TrackAction(FindAction): See: https://schema.org/TrackAction Model depth: 4 """ - type_: str = Field("TrackAction", alias='@type') + type_: str = Field(default="TrackAction", alias='@type') deliveryMethod: Optional[Union[List[Union['DeliveryMethod', str]], 'DeliveryMethod', str]] = Field( default=None, description="A sub property of instrument. The method of delivery.", ) - if TYPE_CHECKING: from pydantic_schemaorg.DeliveryMethod import DeliveryMethod diff --git a/pydantic_schemaorg/TradeAction.py b/pydantic_schemaorg/TradeAction.py index 2e8acf94..7a656db8 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("TradeAction", alias='@type') + type_: str = Field(default="TradeAction", alias='@type') 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]]" diff --git a/pydantic_schemaorg/TraditionalChinese.py b/pydantic_schemaorg/TraditionalChinese.py index db10d3e7..c511f1fd 100644 --- a/pydantic_schemaorg/TraditionalChinese.py +++ b/pydantic_schemaorg/TraditionalChinese.py @@ -13,6 +13,5 @@ class TraditionalChinese(MedicineSystem): See: https://schema.org/TraditionalChinese Model depth: 6 """ - type_: str = Field("TraditionalChinese", alias='@type') + type_: str = Field(default="TraditionalChinese", alias='@type') - diff --git a/pydantic_schemaorg/TrainReservation.py b/pydantic_schemaorg/TrainReservation.py index 395a5c5d..107312bf 100644 --- a/pydantic_schemaorg/TrainReservation.py +++ b/pydantic_schemaorg/TrainReservation.py @@ -13,6 +13,5 @@ class TrainReservation(Reservation): See: https://schema.org/TrainReservation Model depth: 4 """ - type_: str = Field("TrainReservation", alias='@type') + type_: str = Field(default="TrainReservation", alias='@type') - diff --git a/pydantic_schemaorg/TrainStation.py b/pydantic_schemaorg/TrainStation.py index 1740e166..d1cfa3a4 100644 --- a/pydantic_schemaorg/TrainStation.py +++ b/pydantic_schemaorg/TrainStation.py @@ -11,6 +11,5 @@ class TrainStation(CivicStructure): See: https://schema.org/TrainStation Model depth: 4 """ - type_: str = Field("TrainStation", alias='@type') + type_: str = Field(default="TrainStation", alias='@type') - diff --git a/pydantic_schemaorg/TrainTrip.py b/pydantic_schemaorg/TrainTrip.py index b0662e17..9ba4b171 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("TrainTrip", alias='@type') + type_: str = Field(default="TrainTrip", alias='@type') arrivalStation: Optional[Union[List[Union['TrainStation', str]], 'TrainStation', str]] = Field( default=None, description="The station where the train trip ends.", @@ -41,7 +41,6 @@ class TrainTrip(Trip): ) - if TYPE_CHECKING: from pydantic_schemaorg.TrainStation import TrainStation from pydantic_schemaorg.Text import Text diff --git a/pydantic_schemaorg/TransferAction.py b/pydantic_schemaorg/TransferAction.py index beb95b5e..0c8f282f 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("TransferAction", alias='@type') + type_: str = Field(default="TransferAction", alias='@type') 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 d7ae642d..e23df674 100644 --- a/pydantic_schemaorg/TransformedContent.py +++ b/pydantic_schemaorg/TransformedContent.py @@ -21,6 +21,5 @@ class TransformedContent(MediaManipulationRatingEnumeration): See: https://schema.org/TransformedContent Model depth: 5 """ - type_: str = Field("TransformedContent", alias='@type') + type_: str = Field(default="TransformedContent", alias='@type') - diff --git a/pydantic_schemaorg/TransitMap.py b/pydantic_schemaorg/TransitMap.py index ef1e40ab..eeb24b14 100644 --- a/pydantic_schemaorg/TransitMap.py +++ b/pydantic_schemaorg/TransitMap.py @@ -11,6 +11,5 @@ class TransitMap(MapCategoryType): See: https://schema.org/TransitMap Model depth: 5 """ - type_: str = Field("TransitMap", alias='@type') + type_: str = Field(default="TransitMap", alias='@type') - diff --git a/pydantic_schemaorg/TravelAction.py b/pydantic_schemaorg/TravelAction.py index 1776d77c..01614a1c 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("TravelAction", alias='@type') + type_: str = Field(default="TravelAction", alias='@type') 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 9a21c7dc..3f823a1c 100644 --- a/pydantic_schemaorg/TravelAgency.py +++ b/pydantic_schemaorg/TravelAgency.py @@ -11,6 +11,6 @@ class TravelAgency(LocalBusiness): See: https://schema.org/TravelAgency Model depth: 4 """ - type_: str = Field("TravelAgency", alias='@type') + type_: str = Field(default="TravelAgency", alias='@type') diff --git a/pydantic_schemaorg/TreatmentIndication.py b/pydantic_schemaorg/TreatmentIndication.py index c8448fbe..4069f705 100644 --- a/pydantic_schemaorg/TreatmentIndication.py +++ b/pydantic_schemaorg/TreatmentIndication.py @@ -11,6 +11,5 @@ class TreatmentIndication(MedicalIndication): See: https://schema.org/TreatmentIndication Model depth: 4 """ - type_: str = Field("TreatmentIndication", alias='@type') + type_: str = Field(default="TreatmentIndication", alias='@type') - diff --git a/pydantic_schemaorg/TreatmentsHealthAspect.py b/pydantic_schemaorg/TreatmentsHealthAspect.py index bb1b3b08..f19a534e 100644 --- a/pydantic_schemaorg/TreatmentsHealthAspect.py +++ b/pydantic_schemaorg/TreatmentsHealthAspect.py @@ -11,6 +11,5 @@ class TreatmentsHealthAspect(HealthAspectEnumeration): See: https://schema.org/TreatmentsHealthAspect Model depth: 5 """ - type_: str = Field("TreatmentsHealthAspect", alias='@type') + type_: str = Field(default="TreatmentsHealthAspect", alias='@type') - diff --git a/pydantic_schemaorg/Trip.py b/pydantic_schemaorg/Trip.py index fd0ce24c..756fcc89 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("Trip", alias='@type') - offers: Optional[Union[List[Union['Demand', 'Offer', str]], 'Demand', 'Offer', str]] = Field( + type_: str = Field(default="Trip", alias='@type') + offers: Optional[Union[List[Union['Offer', 'Demand', str]], 'Offer', 'Demand', 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]]" @@ -30,7 +30,7 @@ class Trip(Intangible): default=None, description="The expected departure time.", ) - itinerary: Optional[Union[List[Union['ItemList', 'Place', str]], 'ItemList', 'Place', str]] = Field( + itinerary: Optional[Union[List[Union['Place', 'ItemList', str]], 'Place', 'ItemList', str]] = Field( default=None, description="Destination(s) ( [[Place]] ) that make up a trip. For a trip where destination order is" "important use [[ItemList]] to specify that order (see examples).", @@ -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." @@ -57,13 +57,12 @@ class Trip(Intangible): ) - if TYPE_CHECKING: - from pydantic_schemaorg.Demand import Demand from pydantic_schemaorg.Offer import Offer + from pydantic_schemaorg.Demand import Demand from pydantic_schemaorg.DateTime import DateTime from pydantic_schemaorg.Time import Time - from pydantic_schemaorg.ItemList import ItemList from pydantic_schemaorg.Place import Place - from pydantic_schemaorg.Person import Person + from pydantic_schemaorg.ItemList import ItemList 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 69a8b49e..e5819636 100644 --- a/pydantic_schemaorg/TripleBlindedTrial.py +++ b/pydantic_schemaorg/TripleBlindedTrial.py @@ -13,6 +13,5 @@ class TripleBlindedTrial(MedicalTrialDesign): See: https://schema.org/TripleBlindedTrial Model depth: 6 """ - type_: str = Field("TripleBlindedTrial", alias='@type') + type_: str = Field(default="TripleBlindedTrial", alias='@type') - diff --git a/pydantic_schemaorg/True_.py b/pydantic_schemaorg/True_.py index 334ef255..c402d21e 100644 --- a/pydantic_schemaorg/True_.py +++ b/pydantic_schemaorg/True_.py @@ -11,6 +11,5 @@ class True_(Boolean): See: https://schema.org/True Model depth: 6 """ - type_: str = Field("True", alias='@type') + type_: str = Field(default="True", alias='@type') - diff --git a/pydantic_schemaorg/Tuesday.py b/pydantic_schemaorg/Tuesday.py index d95ba1b9..c68c5508 100644 --- a/pydantic_schemaorg/Tuesday.py +++ b/pydantic_schemaorg/Tuesday.py @@ -11,6 +11,5 @@ class Tuesday(DayOfWeek): See: https://schema.org/Tuesday Model depth: 5 """ - type_: str = Field("Tuesday", alias='@type') + type_: str = Field(default="Tuesday", alias='@type') - diff --git a/pydantic_schemaorg/TypeAndQuantityNode.py b/pydantic_schemaorg/TypeAndQuantityNode.py index 794ce12b..a1e11df4 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("TypeAndQuantityNode", alias='@type') + type_: str = Field(default="TypeAndQuantityNode", alias='@type') 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" @@ -43,7 +43,6 @@ class TypeAndQuantityNode(StructuredValue): ) - if TYPE_CHECKING: from pydantic_schemaorg.BusinessFunction import BusinessFunction from pydantic_schemaorg.Product import Product diff --git a/pydantic_schemaorg/TypesHealthAspect.py b/pydantic_schemaorg/TypesHealthAspect.py index c8750002..08814e11 100644 --- a/pydantic_schemaorg/TypesHealthAspect.py +++ b/pydantic_schemaorg/TypesHealthAspect.py @@ -11,6 +11,5 @@ class TypesHealthAspect(HealthAspectEnumeration): See: https://schema.org/TypesHealthAspect Model depth: 5 """ - type_: str = Field("TypesHealthAspect", alias='@type') + type_: str = Field(default="TypesHealthAspect", alias='@type') - diff --git a/pydantic_schemaorg/UKNonprofitType.py b/pydantic_schemaorg/UKNonprofitType.py index 1b76a58c..75fa9fbc 100644 --- a/pydantic_schemaorg/UKNonprofitType.py +++ b/pydantic_schemaorg/UKNonprofitType.py @@ -11,6 +11,6 @@ class UKNonprofitType(NonprofitType): See: https://schema.org/UKNonprofitType Model depth: 5 """ - type_: str = Field("UKNonprofitType", alias='@type') + type_: str = Field(default="UKNonprofitType", alias='@type') diff --git a/pydantic_schemaorg/UKTrust.py b/pydantic_schemaorg/UKTrust.py index fc2f409c..a91c0a8c 100644 --- a/pydantic_schemaorg/UKTrust.py +++ b/pydantic_schemaorg/UKTrust.py @@ -11,6 +11,5 @@ class UKTrust(UKNonprofitType): See: https://schema.org/UKTrust Model depth: 6 """ - type_: str = Field("UKTrust", alias='@type') + type_: str = Field(default="UKTrust", alias='@type') - diff --git a/pydantic_schemaorg/URL.py b/pydantic_schemaorg/URL.py index 8f194f6a..0b666d50 100644 --- a/pydantic_schemaorg/URL.py +++ b/pydantic_schemaorg/URL.py @@ -11,6 +11,5 @@ class URL(Text): See: https://schema.org/URL Model depth: 6 """ - type_: str = Field("URL", alias='@type') + type_: str = Field(default="URL", alias='@type') - diff --git a/pydantic_schemaorg/USNonprofitType.py b/pydantic_schemaorg/USNonprofitType.py index 7c474d06..3fd8de99 100644 --- a/pydantic_schemaorg/USNonprofitType.py +++ b/pydantic_schemaorg/USNonprofitType.py @@ -11,6 +11,6 @@ class USNonprofitType(NonprofitType): See: https://schema.org/USNonprofitType Model depth: 5 """ - type_: str = Field("USNonprofitType", alias='@type') + type_: str = Field(default="USNonprofitType", alias='@type') diff --git a/pydantic_schemaorg/Ultrasound.py b/pydantic_schemaorg/Ultrasound.py index a4b5a66c..fecbc1fe 100644 --- a/pydantic_schemaorg/Ultrasound.py +++ b/pydantic_schemaorg/Ultrasound.py @@ -11,6 +11,5 @@ class Ultrasound(MedicalImagingTechnique): See: https://schema.org/Ultrasound Model depth: 6 """ - type_: str = Field("Ultrasound", alias='@type') + type_: str = Field(default="Ultrasound", alias='@type') - diff --git a/pydantic_schemaorg/UnRegisterAction.py b/pydantic_schemaorg/UnRegisterAction.py index 93ded22d..2bce8b83 100644 --- a/pydantic_schemaorg/UnRegisterAction.py +++ b/pydantic_schemaorg/UnRegisterAction.py @@ -14,6 +14,5 @@ class UnRegisterAction(InteractAction): See: https://schema.org/UnRegisterAction Model depth: 4 """ - type_: str = Field("UnRegisterAction", alias='@type') + type_: str = Field(default="UnRegisterAction", alias='@type') - diff --git a/pydantic_schemaorg/UnemploymentSupport.py b/pydantic_schemaorg/UnemploymentSupport.py index 92b104a1..a13b11e0 100644 --- a/pydantic_schemaorg/UnemploymentSupport.py +++ b/pydantic_schemaorg/UnemploymentSupport.py @@ -11,6 +11,5 @@ class UnemploymentSupport(GovernmentBenefitsType): See: https://schema.org/UnemploymentSupport Model depth: 5 """ - type_: str = Field("UnemploymentSupport", alias='@type') + type_: str = Field(default="UnemploymentSupport", alias='@type') - diff --git a/pydantic_schemaorg/UnincorporatedAssociationCharity.py b/pydantic_schemaorg/UnincorporatedAssociationCharity.py index c430ab41..9d37dc4e 100644 --- a/pydantic_schemaorg/UnincorporatedAssociationCharity.py +++ b/pydantic_schemaorg/UnincorporatedAssociationCharity.py @@ -12,6 +12,6 @@ class UnincorporatedAssociationCharity(UKNonprofitType): See: https://schema.org/UnincorporatedAssociationCharity Model depth: 6 """ - type_: str = Field("UnincorporatedAssociationCharity", alias='@type') + type_: str = Field(default="UnincorporatedAssociationCharity", alias='@type') diff --git a/pydantic_schemaorg/UnitPriceSpecification.py b/pydantic_schemaorg/UnitPriceSpecification.py index eda4114b..91bdb024 100644 --- a/pydantic_schemaorg/UnitPriceSpecification.py +++ b/pydantic_schemaorg/UnitPriceSpecification.py @@ -16,7 +16,7 @@ class UnitPriceSpecification(PriceSpecification): See: https://schema.org/UnitPriceSpecification Model depth: 5 """ - type_: str = Field("UnitPriceSpecification", alias='@type') + type_: str = Field(default="UnitPriceSpecification", alias='@type') billingStart: Optional[Union[List[Union[Decimal, 'Number', str]], Decimal, 'Number', str]] = Field( default=None, description="Specifies after how much time this price (or price component) becomes valid and billing" @@ -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[Decimal, 'Number', 'Duration', 'QuantitativeValue', str]], Decimal, '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" @@ -67,12 +67,11 @@ class UnitPriceSpecification(PriceSpecification): ) - if TYPE_CHECKING: 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 1f6d7913..5f6969a3 100644 --- a/pydantic_schemaorg/UnofficialLegalValue.py +++ b/pydantic_schemaorg/UnofficialLegalValue.py @@ -12,6 +12,5 @@ class UnofficialLegalValue(LegalValueLevel): See: https://schema.org/UnofficialLegalValue Model depth: 5 """ - type_: str = Field("UnofficialLegalValue", alias='@type') + type_: str = Field(default="UnofficialLegalValue", alias='@type') - diff --git a/pydantic_schemaorg/UpdateAction.py b/pydantic_schemaorg/UpdateAction.py index 4abfd545..6acb060c 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("UpdateAction", alias='@type') + type_: str = Field(default="UpdateAction", alias='@type') collection: Optional[Union[List[Union['Thing', str]], 'Thing', str]] = Field( default=None, description="A sub property of object. The collection target of the action.", @@ -25,6 +25,5 @@ class UpdateAction(Action): ) - if TYPE_CHECKING: from pydantic_schemaorg.Thing import Thing diff --git a/pydantic_schemaorg/Urologic.py b/pydantic_schemaorg/Urologic.py index 578deb56..a8e185dc 100644 --- a/pydantic_schemaorg/Urologic.py +++ b/pydantic_schemaorg/Urologic.py @@ -12,6 +12,6 @@ class Urologic(MedicalSpecialty): See: https://schema.org/Urologic Model depth: 6 """ - type_: str = Field("Urologic", alias='@type') + type_: str = Field(default="Urologic", alias='@type') diff --git a/pydantic_schemaorg/UsageOrScheduleHealthAspect.py b/pydantic_schemaorg/UsageOrScheduleHealthAspect.py index f4ae3331..d5d7dd7f 100644 --- a/pydantic_schemaorg/UsageOrScheduleHealthAspect.py +++ b/pydantic_schemaorg/UsageOrScheduleHealthAspect.py @@ -11,6 +11,5 @@ class UsageOrScheduleHealthAspect(HealthAspectEnumeration): See: https://schema.org/UsageOrScheduleHealthAspect Model depth: 5 """ - type_: str = Field("UsageOrScheduleHealthAspect", alias='@type') + type_: str = Field(default="UsageOrScheduleHealthAspect", alias='@type') - diff --git a/pydantic_schemaorg/UseAction.py b/pydantic_schemaorg/UseAction.py index 1a0df4f6..4d32172f 100644 --- a/pydantic_schemaorg/UseAction.py +++ b/pydantic_schemaorg/UseAction.py @@ -11,6 +11,5 @@ class UseAction(ConsumeAction): See: https://schema.org/UseAction Model depth: 4 """ - type_: str = Field("UseAction", alias='@type') + type_: str = Field(default="UseAction", alias='@type') - diff --git a/pydantic_schemaorg/UsedCondition.py b/pydantic_schemaorg/UsedCondition.py index 4a76bc3a..28757c29 100644 --- a/pydantic_schemaorg/UsedCondition.py +++ b/pydantic_schemaorg/UsedCondition.py @@ -11,6 +11,5 @@ class UsedCondition(OfferItemCondition): See: https://schema.org/UsedCondition Model depth: 5 """ - type_: str = Field("UsedCondition", alias='@type') + type_: str = Field(default="UsedCondition", alias='@type') - diff --git a/pydantic_schemaorg/UserBlocks.py b/pydantic_schemaorg/UserBlocks.py index 15336c4c..52f65cf3 100644 --- a/pydantic_schemaorg/UserBlocks.py +++ b/pydantic_schemaorg/UserBlocks.py @@ -13,6 +13,5 @@ class UserBlocks(UserInteraction): See: https://schema.org/UserBlocks Model depth: 4 """ - type_: str = Field("UserBlocks", alias='@type') + type_: str = Field(default="UserBlocks", alias='@type') - diff --git a/pydantic_schemaorg/UserCheckins.py b/pydantic_schemaorg/UserCheckins.py index ac546931..628086fe 100644 --- a/pydantic_schemaorg/UserCheckins.py +++ b/pydantic_schemaorg/UserCheckins.py @@ -13,6 +13,5 @@ class UserCheckins(UserInteraction): See: https://schema.org/UserCheckins Model depth: 4 """ - type_: str = Field("UserCheckins", alias='@type') + type_: str = Field(default="UserCheckins", alias='@type') - diff --git a/pydantic_schemaorg/UserComments.py b/pydantic_schemaorg/UserComments.py index 010d528a..c540e1a0 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("UserComments", alias='@type') + type_: str = Field(default="UserComments", alias='@type') discusses: Optional[Union[List[Union['CreativeWork', str]], 'CreativeWork', str]] = Field( default=None, description="Specifies the CreativeWork associated with the UserComment.", @@ -35,19 +35,18 @@ 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.", ) - if TYPE_CHECKING: from pydantic_schemaorg.CreativeWork import CreativeWork from pydantic_schemaorg.Text import Text 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 8cd11aff..94177fe4 100644 --- a/pydantic_schemaorg/UserDownloads.py +++ b/pydantic_schemaorg/UserDownloads.py @@ -13,6 +13,5 @@ class UserDownloads(UserInteraction): See: https://schema.org/UserDownloads Model depth: 4 """ - type_: str = Field("UserDownloads", alias='@type') + type_: str = Field(default="UserDownloads", alias='@type') - diff --git a/pydantic_schemaorg/UserInteraction.py b/pydantic_schemaorg/UserInteraction.py index bd2bccac..16262ed2 100644 --- a/pydantic_schemaorg/UserInteraction.py +++ b/pydantic_schemaorg/UserInteraction.py @@ -13,6 +13,5 @@ class UserInteraction(Event): See: https://schema.org/UserInteraction Model depth: 3 """ - type_: str = Field("UserInteraction", alias='@type') + type_: str = Field(default="UserInteraction", alias='@type') - diff --git a/pydantic_schemaorg/UserLikes.py b/pydantic_schemaorg/UserLikes.py index 46873cb7..bbe3a1b0 100644 --- a/pydantic_schemaorg/UserLikes.py +++ b/pydantic_schemaorg/UserLikes.py @@ -13,6 +13,5 @@ class UserLikes(UserInteraction): See: https://schema.org/UserLikes Model depth: 4 """ - type_: str = Field("UserLikes", alias='@type') + type_: str = Field(default="UserLikes", alias='@type') - diff --git a/pydantic_schemaorg/UserPageVisits.py b/pydantic_schemaorg/UserPageVisits.py index edd71c71..ba5f7cd4 100644 --- a/pydantic_schemaorg/UserPageVisits.py +++ b/pydantic_schemaorg/UserPageVisits.py @@ -13,6 +13,5 @@ class UserPageVisits(UserInteraction): See: https://schema.org/UserPageVisits Model depth: 4 """ - type_: str = Field("UserPageVisits", alias='@type') + type_: str = Field(default="UserPageVisits", alias='@type') - diff --git a/pydantic_schemaorg/UserPlays.py b/pydantic_schemaorg/UserPlays.py index 4559bd05..49f87e9b 100644 --- a/pydantic_schemaorg/UserPlays.py +++ b/pydantic_schemaorg/UserPlays.py @@ -13,6 +13,5 @@ class UserPlays(UserInteraction): See: https://schema.org/UserPlays Model depth: 4 """ - type_: str = Field("UserPlays", alias='@type') + type_: str = Field(default="UserPlays", alias='@type') - diff --git a/pydantic_schemaorg/UserPlusOnes.py b/pydantic_schemaorg/UserPlusOnes.py index 22b87caf..128d6c70 100644 --- a/pydantic_schemaorg/UserPlusOnes.py +++ b/pydantic_schemaorg/UserPlusOnes.py @@ -13,6 +13,5 @@ class UserPlusOnes(UserInteraction): See: https://schema.org/UserPlusOnes Model depth: 4 """ - type_: str = Field("UserPlusOnes", alias='@type') + type_: str = Field(default="UserPlusOnes", alias='@type') - diff --git a/pydantic_schemaorg/UserReview.py b/pydantic_schemaorg/UserReview.py index 1f192e2d..ceb4c2c2 100644 --- a/pydantic_schemaorg/UserReview.py +++ b/pydantic_schemaorg/UserReview.py @@ -12,6 +12,6 @@ class UserReview(Review): See: https://schema.org/UserReview Model depth: 4 """ - type_: str = Field("UserReview", alias='@type') + type_: str = Field(default="UserReview", alias='@type') diff --git a/pydantic_schemaorg/UserTweets.py b/pydantic_schemaorg/UserTweets.py index f3367e39..0bb593f6 100644 --- a/pydantic_schemaorg/UserTweets.py +++ b/pydantic_schemaorg/UserTweets.py @@ -13,6 +13,5 @@ class UserTweets(UserInteraction): See: https://schema.org/UserTweets Model depth: 4 """ - type_: str = Field("UserTweets", alias='@type') + type_: str = Field(default="UserTweets", alias='@type') - diff --git a/pydantic_schemaorg/VeganDiet.py b/pydantic_schemaorg/VeganDiet.py index b53d74d9..6748b22c 100644 --- a/pydantic_schemaorg/VeganDiet.py +++ b/pydantic_schemaorg/VeganDiet.py @@ -11,6 +11,5 @@ class VeganDiet(RestrictedDiet): See: https://schema.org/VeganDiet Model depth: 5 """ - type_: str = Field("VeganDiet", alias='@type') + type_: str = Field(default="VeganDiet", alias='@type') - diff --git a/pydantic_schemaorg/VegetarianDiet.py b/pydantic_schemaorg/VegetarianDiet.py index 2f25b13b..450932f1 100644 --- a/pydantic_schemaorg/VegetarianDiet.py +++ b/pydantic_schemaorg/VegetarianDiet.py @@ -11,6 +11,5 @@ class VegetarianDiet(RestrictedDiet): See: https://schema.org/VegetarianDiet Model depth: 5 """ - type_: str = Field("VegetarianDiet", alias='@type') + type_: str = Field(default="VegetarianDiet", alias='@type') - diff --git a/pydantic_schemaorg/Vehicle.py b/pydantic_schemaorg/Vehicle.py index 49a06c16..60be3feb 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("Vehicle", alias='@type') + type_: str = Field(default="Vehicle", alias='@type') 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.", @@ -249,7 +249,6 @@ class Vehicle(Product): ) - if TYPE_CHECKING: from pydantic_schemaorg.URL import URL from pydantic_schemaorg.Text import Text diff --git a/pydantic_schemaorg/Vein.py b/pydantic_schemaorg/Vein.py index a46286c3..585355d0 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("Vein", alias='@type') + type_: str = Field(default="Vein", alias='@type') 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" @@ -31,7 +31,6 @@ class Vein(Vessel): ) - if TYPE_CHECKING: from pydantic_schemaorg.AnatomicalStructure import AnatomicalStructure from pydantic_schemaorg.Vessel import Vessel diff --git a/pydantic_schemaorg/VenueMap.py b/pydantic_schemaorg/VenueMap.py index 47bca66a..bdb1f174 100644 --- a/pydantic_schemaorg/VenueMap.py +++ b/pydantic_schemaorg/VenueMap.py @@ -11,6 +11,5 @@ class VenueMap(MapCategoryType): See: https://schema.org/VenueMap Model depth: 5 """ - type_: str = Field("VenueMap", alias='@type') + type_: str = Field(default="VenueMap", alias='@type') - diff --git a/pydantic_schemaorg/Vessel.py b/pydantic_schemaorg/Vessel.py index c7e0bd45..b1835511 100644 --- a/pydantic_schemaorg/Vessel.py +++ b/pydantic_schemaorg/Vessel.py @@ -12,6 +12,5 @@ class Vessel(AnatomicalStructure): See: https://schema.org/Vessel Model depth: 4 """ - type_: str = Field("Vessel", alias='@type') + type_: str = Field(default="Vessel", alias='@type') - diff --git a/pydantic_schemaorg/VeterinaryCare.py b/pydantic_schemaorg/VeterinaryCare.py index bd16faae..e1f94098 100644 --- a/pydantic_schemaorg/VeterinaryCare.py +++ b/pydantic_schemaorg/VeterinaryCare.py @@ -11,6 +11,5 @@ class VeterinaryCare(MedicalOrganization): See: https://schema.org/VeterinaryCare Model depth: 4 """ - type_: str = Field("VeterinaryCare", alias='@type') + type_: str = Field(default="VeterinaryCare", alias='@type') - diff --git a/pydantic_schemaorg/VideoGallery.py b/pydantic_schemaorg/VideoGallery.py index 3c83cb9c..4d7d84e1 100644 --- a/pydantic_schemaorg/VideoGallery.py +++ b/pydantic_schemaorg/VideoGallery.py @@ -11,6 +11,5 @@ class VideoGallery(MediaGallery): See: https://schema.org/VideoGallery Model depth: 6 """ - type_: str = Field("VideoGallery", alias='@type') + type_: str = Field(default="VideoGallery", alias='@type') - diff --git a/pydantic_schemaorg/VideoGame.py b/pydantic_schemaorg/VideoGame.py index ff6a43e6..f92a0928 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("VideoGame", alias='@type') + type_: str = Field(default="VideoGame", alias='@type') 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,13 +64,12 @@ 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.", ) - if TYPE_CHECKING: from pydantic_schemaorg.Person import Person from pydantic_schemaorg.VideoObject import VideoObject diff --git a/pydantic_schemaorg/VideoGameClip.py b/pydantic_schemaorg/VideoGameClip.py index 8b21fd71..e594c622 100644 --- a/pydantic_schemaorg/VideoGameClip.py +++ b/pydantic_schemaorg/VideoGameClip.py @@ -11,6 +11,5 @@ class VideoGameClip(Clip): See: https://schema.org/VideoGameClip Model depth: 4 """ - type_: str = Field("VideoGameClip", alias='@type') + type_: str = Field(default="VideoGameClip", alias='@type') - diff --git a/pydantic_schemaorg/VideoGameSeries.py b/pydantic_schemaorg/VideoGameSeries.py index 80211f91..51ab0d30 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("VideoGameSeries", alias='@type') + type_: str = Field(default="VideoGameSeries", alias='@type') 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 418a1ba4..3ff744fe 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("VideoObject", alias='@type') + type_: str = Field(default="VideoObject", alias='@type') 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,13 +60,12 @@ 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.", ) - if TYPE_CHECKING: from pydantic_schemaorg.Person import Person from pydantic_schemaorg.ImageObject import ImageObject diff --git a/pydantic_schemaorg/VideoObjectSnapshot.py b/pydantic_schemaorg/VideoObjectSnapshot.py index 48e502db..0d2c3592 100644 --- a/pydantic_schemaorg/VideoObjectSnapshot.py +++ b/pydantic_schemaorg/VideoObjectSnapshot.py @@ -15,6 +15,5 @@ class VideoObjectSnapshot(VideoObject): See: https://schema.org/VideoObjectSnapshot Model depth: 5 """ - type_: str = Field("VideoObjectSnapshot", alias='@type') + type_: str = Field(default="VideoObjectSnapshot", alias='@type') - diff --git a/pydantic_schemaorg/ViewAction.py b/pydantic_schemaorg/ViewAction.py index 4cc25723..cbf1da50 100644 --- a/pydantic_schemaorg/ViewAction.py +++ b/pydantic_schemaorg/ViewAction.py @@ -11,6 +11,5 @@ class ViewAction(ConsumeAction): See: https://schema.org/ViewAction Model depth: 4 """ - type_: str = Field("ViewAction", alias='@type') + type_: str = Field(default="ViewAction", alias='@type') - diff --git a/pydantic_schemaorg/VinylFormat.py b/pydantic_schemaorg/VinylFormat.py index bc00d837..4a9eb2ed 100644 --- a/pydantic_schemaorg/VinylFormat.py +++ b/pydantic_schemaorg/VinylFormat.py @@ -11,6 +11,6 @@ class VinylFormat(MusicReleaseFormatType): See: https://schema.org/VinylFormat Model depth: 5 """ - type_: str = Field("VinylFormat", alias='@type') + type_: str = Field(default="VinylFormat", alias='@type') diff --git a/pydantic_schemaorg/VirtualLocation.py b/pydantic_schemaorg/VirtualLocation.py index 5bfb94df..d022b35d 100644 --- a/pydantic_schemaorg/VirtualLocation.py +++ b/pydantic_schemaorg/VirtualLocation.py @@ -14,6 +14,5 @@ class VirtualLocation(Intangible): See: https://schema.org/VirtualLocation Model depth: 3 """ - type_: str = Field("VirtualLocation", alias='@type') + type_: str = Field(default="VirtualLocation", alias='@type') - diff --git a/pydantic_schemaorg/Virus.py b/pydantic_schemaorg/Virus.py index dcccb545..9b41afd7 100644 --- a/pydantic_schemaorg/Virus.py +++ b/pydantic_schemaorg/Virus.py @@ -11,6 +11,5 @@ class Virus(InfectiousAgentClass): See: https://schema.org/Virus Model depth: 6 """ - type_: str = Field("Virus", alias='@type') + type_: str = Field(default="Virus", alias='@type') - diff --git a/pydantic_schemaorg/VisualArtsEvent.py b/pydantic_schemaorg/VisualArtsEvent.py index 0f74c659..639cec4d 100644 --- a/pydantic_schemaorg/VisualArtsEvent.py +++ b/pydantic_schemaorg/VisualArtsEvent.py @@ -11,6 +11,5 @@ class VisualArtsEvent(Event): See: https://schema.org/VisualArtsEvent Model depth: 3 """ - type_: str = Field("VisualArtsEvent", alias='@type') + type_: str = Field(default="VisualArtsEvent", alias='@type') - diff --git a/pydantic_schemaorg/VisualArtwork.py b/pydantic_schemaorg/VisualArtwork.py index e11607ac..ae3d3b4f 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("VisualArtwork", alias='@type') + type_: str = Field(default="VisualArtwork", alias='@type') 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 1a32641b..3c186ecc 100644 --- a/pydantic_schemaorg/VitalSign.py +++ b/pydantic_schemaorg/VitalSign.py @@ -12,6 +12,5 @@ class VitalSign(MedicalSign): See: https://schema.org/VitalSign Model depth: 6 """ - type_: str = Field("VitalSign", alias='@type') + type_: str = Field(default="VitalSign", alias='@type') - diff --git a/pydantic_schemaorg/Volcano.py b/pydantic_schemaorg/Volcano.py index 4887bad1..2f8e1aae 100644 --- a/pydantic_schemaorg/Volcano.py +++ b/pydantic_schemaorg/Volcano.py @@ -11,6 +11,5 @@ class Volcano(Landform): See: https://schema.org/Volcano Model depth: 4 """ - type_: str = Field("Volcano", alias='@type') + type_: str = Field(default="Volcano", alias='@type') - diff --git a/pydantic_schemaorg/VoteAction.py b/pydantic_schemaorg/VoteAction.py index b89e83ee..3e8d1a0a 100644 --- a/pydantic_schemaorg/VoteAction.py +++ b/pydantic_schemaorg/VoteAction.py @@ -14,13 +14,12 @@ class VoteAction(ChooseAction): See: https://schema.org/VoteAction Model depth: 5 """ - type_: str = Field("VoteAction", alias='@type') + type_: str = Field(default="VoteAction", alias='@type') candidate: Optional[Union[List[Union['Person', str]], 'Person', str]] = Field( default=None, description="A sub property of object. The candidate subject of this action.", ) - if TYPE_CHECKING: from pydantic_schemaorg.Person import Person diff --git a/pydantic_schemaorg/WPAdBlock.py b/pydantic_schemaorg/WPAdBlock.py index 61faef27..d1c5dd87 100644 --- a/pydantic_schemaorg/WPAdBlock.py +++ b/pydantic_schemaorg/WPAdBlock.py @@ -11,6 +11,5 @@ class WPAdBlock(WebPageElement): See: https://schema.org/WPAdBlock Model depth: 4 """ - type_: str = Field("WPAdBlock", alias='@type') + type_: str = Field(default="WPAdBlock", alias='@type') - diff --git a/pydantic_schemaorg/WPFooter.py b/pydantic_schemaorg/WPFooter.py index daf9ceea..43e37032 100644 --- a/pydantic_schemaorg/WPFooter.py +++ b/pydantic_schemaorg/WPFooter.py @@ -11,6 +11,5 @@ class WPFooter(WebPageElement): See: https://schema.org/WPFooter Model depth: 4 """ - type_: str = Field("WPFooter", alias='@type') + type_: str = Field(default="WPFooter", alias='@type') - diff --git a/pydantic_schemaorg/WPHeader.py b/pydantic_schemaorg/WPHeader.py index 9a8a5485..703931c0 100644 --- a/pydantic_schemaorg/WPHeader.py +++ b/pydantic_schemaorg/WPHeader.py @@ -11,6 +11,5 @@ class WPHeader(WebPageElement): See: https://schema.org/WPHeader Model depth: 4 """ - type_: str = Field("WPHeader", alias='@type') + type_: str = Field(default="WPHeader", alias='@type') - diff --git a/pydantic_schemaorg/WPSideBar.py b/pydantic_schemaorg/WPSideBar.py index a1c3d976..0d7cf2e6 100644 --- a/pydantic_schemaorg/WPSideBar.py +++ b/pydantic_schemaorg/WPSideBar.py @@ -11,6 +11,5 @@ class WPSideBar(WebPageElement): See: https://schema.org/WPSideBar Model depth: 4 """ - type_: str = Field("WPSideBar", alias='@type') + type_: str = Field(default="WPSideBar", alias='@type') - diff --git a/pydantic_schemaorg/WantAction.py b/pydantic_schemaorg/WantAction.py index 7258f8e0..c47ab943 100644 --- a/pydantic_schemaorg/WantAction.py +++ b/pydantic_schemaorg/WantAction.py @@ -11,6 +11,5 @@ class WantAction(ReactAction): See: https://schema.org/WantAction Model depth: 5 """ - type_: str = Field("WantAction", alias='@type') + type_: str = Field(default="WantAction", alias='@type') - diff --git a/pydantic_schemaorg/WarrantyPromise.py b/pydantic_schemaorg/WarrantyPromise.py index 9d0bbdf5..e5160189 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("WarrantyPromise", alias='@type') + type_: str = Field(default="WarrantyPromise", alias='@type') warrantyScope: Optional[Union[List[Union['WarrantyScope', str]], 'WarrantyScope', str]] = Field( default=None, description="The scope of the warranty promise.", @@ -27,7 +27,6 @@ class WarrantyPromise(StructuredValue): ) - if TYPE_CHECKING: from pydantic_schemaorg.WarrantyScope import WarrantyScope from pydantic_schemaorg.QuantitativeValue import QuantitativeValue diff --git a/pydantic_schemaorg/WarrantyScope.py b/pydantic_schemaorg/WarrantyScope.py index 613a9a61..3d9fd9d2 100644 --- a/pydantic_schemaorg/WarrantyScope.py +++ b/pydantic_schemaorg/WarrantyScope.py @@ -13,6 +13,5 @@ class WarrantyScope(Enumeration): See: https://schema.org/WarrantyScope Model depth: 4 """ - type_: str = Field("WarrantyScope", alias='@type') + type_: str = Field(default="WarrantyScope", alias='@type') - diff --git a/pydantic_schemaorg/WatchAction.py b/pydantic_schemaorg/WatchAction.py index 8e1297cc..7aef3c52 100644 --- a/pydantic_schemaorg/WatchAction.py +++ b/pydantic_schemaorg/WatchAction.py @@ -11,6 +11,5 @@ class WatchAction(ConsumeAction): See: https://schema.org/WatchAction Model depth: 4 """ - type_: str = Field("WatchAction", alias='@type') + type_: str = Field(default="WatchAction", alias='@type') - diff --git a/pydantic_schemaorg/Waterfall.py b/pydantic_schemaorg/Waterfall.py index 40faadc5..ea683dc7 100644 --- a/pydantic_schemaorg/Waterfall.py +++ b/pydantic_schemaorg/Waterfall.py @@ -11,6 +11,5 @@ class Waterfall(BodyOfWater): See: https://schema.org/Waterfall Model depth: 5 """ - type_: str = Field("Waterfall", alias='@type') + type_: str = Field(default="Waterfall", alias='@type') - diff --git a/pydantic_schemaorg/WearAction.py b/pydantic_schemaorg/WearAction.py index b93c5684..169ba16d 100644 --- a/pydantic_schemaorg/WearAction.py +++ b/pydantic_schemaorg/WearAction.py @@ -11,6 +11,5 @@ class WearAction(UseAction): See: https://schema.org/WearAction Model depth: 5 """ - type_: str = Field("WearAction", alias='@type') + type_: str = Field(default="WearAction", alias='@type') - diff --git a/pydantic_schemaorg/WearableMeasurementBack.py b/pydantic_schemaorg/WearableMeasurementBack.py index 80df64f0..5e950e15 100644 --- a/pydantic_schemaorg/WearableMeasurementBack.py +++ b/pydantic_schemaorg/WearableMeasurementBack.py @@ -11,6 +11,6 @@ class WearableMeasurementBack(WearableMeasurementTypeEnumeration): See: https://schema.org/WearableMeasurementBack Model depth: 6 """ - type_: str = Field("WearableMeasurementBack", alias='@type') + type_: str = Field(default="WearableMeasurementBack", alias='@type') diff --git a/pydantic_schemaorg/WearableMeasurementChestOrBust.py b/pydantic_schemaorg/WearableMeasurementChestOrBust.py index a2d9649a..5ba38a50 100644 --- a/pydantic_schemaorg/WearableMeasurementChestOrBust.py +++ b/pydantic_schemaorg/WearableMeasurementChestOrBust.py @@ -11,6 +11,5 @@ class WearableMeasurementChestOrBust(WearableMeasurementTypeEnumeration): See: https://schema.org/WearableMeasurementChestOrBust Model depth: 6 """ - type_: str = Field("WearableMeasurementChestOrBust", alias='@type') + type_: str = Field(default="WearableMeasurementChestOrBust", alias='@type') - diff --git a/pydantic_schemaorg/WearableMeasurementCollar.py b/pydantic_schemaorg/WearableMeasurementCollar.py index bcc8248d..cd9be17f 100644 --- a/pydantic_schemaorg/WearableMeasurementCollar.py +++ b/pydantic_schemaorg/WearableMeasurementCollar.py @@ -11,6 +11,5 @@ class WearableMeasurementCollar(WearableMeasurementTypeEnumeration): See: https://schema.org/WearableMeasurementCollar Model depth: 6 """ - type_: str = Field("WearableMeasurementCollar", alias='@type') + type_: str = Field(default="WearableMeasurementCollar", alias='@type') - diff --git a/pydantic_schemaorg/WearableMeasurementCup.py b/pydantic_schemaorg/WearableMeasurementCup.py index 75aa1fb6..72260adc 100644 --- a/pydantic_schemaorg/WearableMeasurementCup.py +++ b/pydantic_schemaorg/WearableMeasurementCup.py @@ -11,6 +11,5 @@ class WearableMeasurementCup(WearableMeasurementTypeEnumeration): See: https://schema.org/WearableMeasurementCup Model depth: 6 """ - type_: str = Field("WearableMeasurementCup", alias='@type') + type_: str = Field(default="WearableMeasurementCup", alias='@type') - diff --git a/pydantic_schemaorg/WearableMeasurementHeight.py b/pydantic_schemaorg/WearableMeasurementHeight.py index e45bd38d..2fc6122a 100644 --- a/pydantic_schemaorg/WearableMeasurementHeight.py +++ b/pydantic_schemaorg/WearableMeasurementHeight.py @@ -11,6 +11,5 @@ class WearableMeasurementHeight(WearableMeasurementTypeEnumeration): See: https://schema.org/WearableMeasurementHeight Model depth: 6 """ - type_: str = Field("WearableMeasurementHeight", alias='@type') + type_: str = Field(default="WearableMeasurementHeight", alias='@type') - diff --git a/pydantic_schemaorg/WearableMeasurementHips.py b/pydantic_schemaorg/WearableMeasurementHips.py index 6becf67f..870ba627 100644 --- a/pydantic_schemaorg/WearableMeasurementHips.py +++ b/pydantic_schemaorg/WearableMeasurementHips.py @@ -11,6 +11,6 @@ class WearableMeasurementHips(WearableMeasurementTypeEnumeration): See: https://schema.org/WearableMeasurementHips Model depth: 6 """ - type_: str = Field("WearableMeasurementHips", alias='@type') + type_: str = Field(default="WearableMeasurementHips", alias='@type') diff --git a/pydantic_schemaorg/WearableMeasurementInseam.py b/pydantic_schemaorg/WearableMeasurementInseam.py index d10df599..468e6b36 100644 --- a/pydantic_schemaorg/WearableMeasurementInseam.py +++ b/pydantic_schemaorg/WearableMeasurementInseam.py @@ -11,6 +11,5 @@ class WearableMeasurementInseam(WearableMeasurementTypeEnumeration): See: https://schema.org/WearableMeasurementInseam Model depth: 6 """ - type_: str = Field("WearableMeasurementInseam", alias='@type') + type_: str = Field(default="WearableMeasurementInseam", alias='@type') - diff --git a/pydantic_schemaorg/WearableMeasurementLength.py b/pydantic_schemaorg/WearableMeasurementLength.py index 121c7c5d..a556ef58 100644 --- a/pydantic_schemaorg/WearableMeasurementLength.py +++ b/pydantic_schemaorg/WearableMeasurementLength.py @@ -11,6 +11,5 @@ class WearableMeasurementLength(WearableMeasurementTypeEnumeration): See: https://schema.org/WearableMeasurementLength Model depth: 6 """ - type_: str = Field("WearableMeasurementLength", alias='@type') + type_: str = Field(default="WearableMeasurementLength", alias='@type') - diff --git a/pydantic_schemaorg/WearableMeasurementOutsideLeg.py b/pydantic_schemaorg/WearableMeasurementOutsideLeg.py index a7c773f3..8513f194 100644 --- a/pydantic_schemaorg/WearableMeasurementOutsideLeg.py +++ b/pydantic_schemaorg/WearableMeasurementOutsideLeg.py @@ -11,6 +11,5 @@ class WearableMeasurementOutsideLeg(WearableMeasurementTypeEnumeration): See: https://schema.org/WearableMeasurementOutsideLeg Model depth: 6 """ - type_: str = Field("WearableMeasurementOutsideLeg", alias='@type') + type_: str = Field(default="WearableMeasurementOutsideLeg", alias='@type') - diff --git a/pydantic_schemaorg/WearableMeasurementSleeve.py b/pydantic_schemaorg/WearableMeasurementSleeve.py index 772fbf1a..2c8df8b0 100644 --- a/pydantic_schemaorg/WearableMeasurementSleeve.py +++ b/pydantic_schemaorg/WearableMeasurementSleeve.py @@ -11,6 +11,5 @@ class WearableMeasurementSleeve(WearableMeasurementTypeEnumeration): See: https://schema.org/WearableMeasurementSleeve Model depth: 6 """ - type_: str = Field("WearableMeasurementSleeve", alias='@type') + type_: str = Field(default="WearableMeasurementSleeve", alias='@type') - diff --git a/pydantic_schemaorg/WearableMeasurementTypeEnumeration.py b/pydantic_schemaorg/WearableMeasurementTypeEnumeration.py index 5aa0eeaf..5be6d582 100644 --- a/pydantic_schemaorg/WearableMeasurementTypeEnumeration.py +++ b/pydantic_schemaorg/WearableMeasurementTypeEnumeration.py @@ -11,6 +11,6 @@ class WearableMeasurementTypeEnumeration(MeasurementTypeEnumeration): See: https://schema.org/WearableMeasurementTypeEnumeration Model depth: 5 """ - type_: str = Field("WearableMeasurementTypeEnumeration", alias='@type') + type_: str = Field(default="WearableMeasurementTypeEnumeration", alias='@type') diff --git a/pydantic_schemaorg/WearableMeasurementWaist.py b/pydantic_schemaorg/WearableMeasurementWaist.py index a19e8547..09e10a2b 100644 --- a/pydantic_schemaorg/WearableMeasurementWaist.py +++ b/pydantic_schemaorg/WearableMeasurementWaist.py @@ -11,6 +11,5 @@ class WearableMeasurementWaist(WearableMeasurementTypeEnumeration): See: https://schema.org/WearableMeasurementWaist Model depth: 6 """ - type_: str = Field("WearableMeasurementWaist", alias='@type') + type_: str = Field(default="WearableMeasurementWaist", alias='@type') - diff --git a/pydantic_schemaorg/WearableMeasurementWidth.py b/pydantic_schemaorg/WearableMeasurementWidth.py index 30e596b9..7337ed7f 100644 --- a/pydantic_schemaorg/WearableMeasurementWidth.py +++ b/pydantic_schemaorg/WearableMeasurementWidth.py @@ -11,6 +11,5 @@ class WearableMeasurementWidth(WearableMeasurementTypeEnumeration): See: https://schema.org/WearableMeasurementWidth Model depth: 6 """ - type_: str = Field("WearableMeasurementWidth", alias='@type') + type_: str = Field(default="WearableMeasurementWidth", alias='@type') - diff --git a/pydantic_schemaorg/WearableSizeGroupBig.py b/pydantic_schemaorg/WearableSizeGroupBig.py index 24e8b62f..2693ce94 100644 --- a/pydantic_schemaorg/WearableSizeGroupBig.py +++ b/pydantic_schemaorg/WearableSizeGroupBig.py @@ -11,6 +11,5 @@ class WearableSizeGroupBig(WearableSizeGroupEnumeration): See: https://schema.org/WearableSizeGroupBig Model depth: 6 """ - type_: str = Field("WearableSizeGroupBig", alias='@type') + type_: str = Field(default="WearableSizeGroupBig", alias='@type') - diff --git a/pydantic_schemaorg/WearableSizeGroupBoys.py b/pydantic_schemaorg/WearableSizeGroupBoys.py index db3824c3..d9efc0e9 100644 --- a/pydantic_schemaorg/WearableSizeGroupBoys.py +++ b/pydantic_schemaorg/WearableSizeGroupBoys.py @@ -11,6 +11,6 @@ class WearableSizeGroupBoys(WearableSizeGroupEnumeration): See: https://schema.org/WearableSizeGroupBoys Model depth: 6 """ - type_: str = Field("WearableSizeGroupBoys", alias='@type') + type_: str = Field(default="WearableSizeGroupBoys", alias='@type') diff --git a/pydantic_schemaorg/WearableSizeGroupEnumeration.py b/pydantic_schemaorg/WearableSizeGroupEnumeration.py index 6b9ca7a0..e50735a8 100644 --- a/pydantic_schemaorg/WearableSizeGroupEnumeration.py +++ b/pydantic_schemaorg/WearableSizeGroupEnumeration.py @@ -11,6 +11,6 @@ class WearableSizeGroupEnumeration(SizeGroupEnumeration): See: https://schema.org/WearableSizeGroupEnumeration Model depth: 5 """ - type_: str = Field("WearableSizeGroupEnumeration", alias='@type') + type_: str = Field(default="WearableSizeGroupEnumeration", alias='@type') diff --git a/pydantic_schemaorg/WearableSizeGroupExtraShort.py b/pydantic_schemaorg/WearableSizeGroupExtraShort.py index 06ab4e7d..fc43abaf 100644 --- a/pydantic_schemaorg/WearableSizeGroupExtraShort.py +++ b/pydantic_schemaorg/WearableSizeGroupExtraShort.py @@ -11,6 +11,5 @@ class WearableSizeGroupExtraShort(WearableSizeGroupEnumeration): See: https://schema.org/WearableSizeGroupExtraShort Model depth: 6 """ - type_: str = Field("WearableSizeGroupExtraShort", alias='@type') + type_: str = Field(default="WearableSizeGroupExtraShort", alias='@type') - diff --git a/pydantic_schemaorg/WearableSizeGroupExtraTall.py b/pydantic_schemaorg/WearableSizeGroupExtraTall.py index c51f2fc6..f767bd5c 100644 --- a/pydantic_schemaorg/WearableSizeGroupExtraTall.py +++ b/pydantic_schemaorg/WearableSizeGroupExtraTall.py @@ -11,6 +11,5 @@ class WearableSizeGroupExtraTall(WearableSizeGroupEnumeration): See: https://schema.org/WearableSizeGroupExtraTall Model depth: 6 """ - type_: str = Field("WearableSizeGroupExtraTall", alias='@type') + type_: str = Field(default="WearableSizeGroupExtraTall", alias='@type') - diff --git a/pydantic_schemaorg/WearableSizeGroupGirls.py b/pydantic_schemaorg/WearableSizeGroupGirls.py index f22dca9e..ade84f38 100644 --- a/pydantic_schemaorg/WearableSizeGroupGirls.py +++ b/pydantic_schemaorg/WearableSizeGroupGirls.py @@ -11,6 +11,5 @@ class WearableSizeGroupGirls(WearableSizeGroupEnumeration): See: https://schema.org/WearableSizeGroupGirls Model depth: 6 """ - type_: str = Field("WearableSizeGroupGirls", alias='@type') + type_: str = Field(default="WearableSizeGroupGirls", alias='@type') - diff --git a/pydantic_schemaorg/WearableSizeGroupHusky.py b/pydantic_schemaorg/WearableSizeGroupHusky.py index 16298cc4..43afd153 100644 --- a/pydantic_schemaorg/WearableSizeGroupHusky.py +++ b/pydantic_schemaorg/WearableSizeGroupHusky.py @@ -11,6 +11,5 @@ class WearableSizeGroupHusky(WearableSizeGroupEnumeration): See: https://schema.org/WearableSizeGroupHusky Model depth: 6 """ - type_: str = Field("WearableSizeGroupHusky", alias='@type') + type_: str = Field(default="WearableSizeGroupHusky", alias='@type') - diff --git a/pydantic_schemaorg/WearableSizeGroupInfants.py b/pydantic_schemaorg/WearableSizeGroupInfants.py index 3ed5ebd1..38546567 100644 --- a/pydantic_schemaorg/WearableSizeGroupInfants.py +++ b/pydantic_schemaorg/WearableSizeGroupInfants.py @@ -11,6 +11,5 @@ class WearableSizeGroupInfants(WearableSizeGroupEnumeration): See: https://schema.org/WearableSizeGroupInfants Model depth: 6 """ - type_: str = Field("WearableSizeGroupInfants", alias='@type') + type_: str = Field(default="WearableSizeGroupInfants", alias='@type') - diff --git a/pydantic_schemaorg/WearableSizeGroupJuniors.py b/pydantic_schemaorg/WearableSizeGroupJuniors.py index 0a6f10aa..26818637 100644 --- a/pydantic_schemaorg/WearableSizeGroupJuniors.py +++ b/pydantic_schemaorg/WearableSizeGroupJuniors.py @@ -11,6 +11,5 @@ class WearableSizeGroupJuniors(WearableSizeGroupEnumeration): See: https://schema.org/WearableSizeGroupJuniors Model depth: 6 """ - type_: str = Field("WearableSizeGroupJuniors", alias='@type') + type_: str = Field(default="WearableSizeGroupJuniors", alias='@type') - diff --git a/pydantic_schemaorg/WearableSizeGroupMaternity.py b/pydantic_schemaorg/WearableSizeGroupMaternity.py index c1bceafa..24a24ae8 100644 --- a/pydantic_schemaorg/WearableSizeGroupMaternity.py +++ b/pydantic_schemaorg/WearableSizeGroupMaternity.py @@ -11,6 +11,5 @@ class WearableSizeGroupMaternity(WearableSizeGroupEnumeration): See: https://schema.org/WearableSizeGroupMaternity Model depth: 6 """ - type_: str = Field("WearableSizeGroupMaternity", alias='@type') + type_: str = Field(default="WearableSizeGroupMaternity", alias='@type') - diff --git a/pydantic_schemaorg/WearableSizeGroupMens.py b/pydantic_schemaorg/WearableSizeGroupMens.py index 33ad73d7..28ee67de 100644 --- a/pydantic_schemaorg/WearableSizeGroupMens.py +++ b/pydantic_schemaorg/WearableSizeGroupMens.py @@ -11,6 +11,6 @@ class WearableSizeGroupMens(WearableSizeGroupEnumeration): See: https://schema.org/WearableSizeGroupMens Model depth: 6 """ - type_: str = Field("WearableSizeGroupMens", alias='@type') + type_: str = Field(default="WearableSizeGroupMens", alias='@type') diff --git a/pydantic_schemaorg/WearableSizeGroupMisses.py b/pydantic_schemaorg/WearableSizeGroupMisses.py index fea2b13c..1c82db44 100644 --- a/pydantic_schemaorg/WearableSizeGroupMisses.py +++ b/pydantic_schemaorg/WearableSizeGroupMisses.py @@ -11,6 +11,5 @@ class WearableSizeGroupMisses(WearableSizeGroupEnumeration): See: https://schema.org/WearableSizeGroupMisses Model depth: 6 """ - type_: str = Field("WearableSizeGroupMisses", alias='@type') + type_: str = Field(default="WearableSizeGroupMisses", alias='@type') - diff --git a/pydantic_schemaorg/WearableSizeGroupPetite.py b/pydantic_schemaorg/WearableSizeGroupPetite.py index ebbddabf..bb6651ea 100644 --- a/pydantic_schemaorg/WearableSizeGroupPetite.py +++ b/pydantic_schemaorg/WearableSizeGroupPetite.py @@ -11,6 +11,5 @@ class WearableSizeGroupPetite(WearableSizeGroupEnumeration): See: https://schema.org/WearableSizeGroupPetite Model depth: 6 """ - type_: str = Field("WearableSizeGroupPetite", alias='@type') + type_: str = Field(default="WearableSizeGroupPetite", alias='@type') - diff --git a/pydantic_schemaorg/WearableSizeGroupPlus.py b/pydantic_schemaorg/WearableSizeGroupPlus.py index ca814a94..f596694d 100644 --- a/pydantic_schemaorg/WearableSizeGroupPlus.py +++ b/pydantic_schemaorg/WearableSizeGroupPlus.py @@ -11,6 +11,6 @@ class WearableSizeGroupPlus(WearableSizeGroupEnumeration): See: https://schema.org/WearableSizeGroupPlus Model depth: 6 """ - type_: str = Field("WearableSizeGroupPlus", alias='@type') + type_: str = Field(default="WearableSizeGroupPlus", alias='@type') diff --git a/pydantic_schemaorg/WearableSizeGroupRegular.py b/pydantic_schemaorg/WearableSizeGroupRegular.py index 86d7c7f9..9724fa88 100644 --- a/pydantic_schemaorg/WearableSizeGroupRegular.py +++ b/pydantic_schemaorg/WearableSizeGroupRegular.py @@ -11,6 +11,5 @@ class WearableSizeGroupRegular(WearableSizeGroupEnumeration): See: https://schema.org/WearableSizeGroupRegular Model depth: 6 """ - type_: str = Field("WearableSizeGroupRegular", alias='@type') + type_: str = Field(default="WearableSizeGroupRegular", alias='@type') - diff --git a/pydantic_schemaorg/WearableSizeGroupShort.py b/pydantic_schemaorg/WearableSizeGroupShort.py index c4fce99c..d33cd4dd 100644 --- a/pydantic_schemaorg/WearableSizeGroupShort.py +++ b/pydantic_schemaorg/WearableSizeGroupShort.py @@ -11,6 +11,5 @@ class WearableSizeGroupShort(WearableSizeGroupEnumeration): See: https://schema.org/WearableSizeGroupShort Model depth: 6 """ - type_: str = Field("WearableSizeGroupShort", alias='@type') + type_: str = Field(default="WearableSizeGroupShort", alias='@type') - diff --git a/pydantic_schemaorg/WearableSizeGroupTall.py b/pydantic_schemaorg/WearableSizeGroupTall.py index 7efae079..91a659d0 100644 --- a/pydantic_schemaorg/WearableSizeGroupTall.py +++ b/pydantic_schemaorg/WearableSizeGroupTall.py @@ -11,6 +11,5 @@ class WearableSizeGroupTall(WearableSizeGroupEnumeration): See: https://schema.org/WearableSizeGroupTall Model depth: 6 """ - type_: str = Field("WearableSizeGroupTall", alias='@type') + type_: str = Field(default="WearableSizeGroupTall", alias='@type') - diff --git a/pydantic_schemaorg/WearableSizeGroupWomens.py b/pydantic_schemaorg/WearableSizeGroupWomens.py index 766ed9e9..c2347cc3 100644 --- a/pydantic_schemaorg/WearableSizeGroupWomens.py +++ b/pydantic_schemaorg/WearableSizeGroupWomens.py @@ -11,6 +11,5 @@ class WearableSizeGroupWomens(WearableSizeGroupEnumeration): See: https://schema.org/WearableSizeGroupWomens Model depth: 6 """ - type_: str = Field("WearableSizeGroupWomens", alias='@type') + type_: str = Field(default="WearableSizeGroupWomens", alias='@type') - diff --git a/pydantic_schemaorg/WearableSizeSystemAU.py b/pydantic_schemaorg/WearableSizeSystemAU.py index 922ccfd4..6b822cf8 100644 --- a/pydantic_schemaorg/WearableSizeSystemAU.py +++ b/pydantic_schemaorg/WearableSizeSystemAU.py @@ -11,6 +11,5 @@ class WearableSizeSystemAU(WearableSizeSystemEnumeration): See: https://schema.org/WearableSizeSystemAU Model depth: 6 """ - type_: str = Field("WearableSizeSystemAU", alias='@type') + type_: str = Field(default="WearableSizeSystemAU", alias='@type') - diff --git a/pydantic_schemaorg/WearableSizeSystemBR.py b/pydantic_schemaorg/WearableSizeSystemBR.py index d45f5f1c..8b44a353 100644 --- a/pydantic_schemaorg/WearableSizeSystemBR.py +++ b/pydantic_schemaorg/WearableSizeSystemBR.py @@ -11,6 +11,5 @@ class WearableSizeSystemBR(WearableSizeSystemEnumeration): See: https://schema.org/WearableSizeSystemBR Model depth: 6 """ - type_: str = Field("WearableSizeSystemBR", alias='@type') + type_: str = Field(default="WearableSizeSystemBR", alias='@type') - diff --git a/pydantic_schemaorg/WearableSizeSystemCN.py b/pydantic_schemaorg/WearableSizeSystemCN.py index 9afd90a3..11f9aec0 100644 --- a/pydantic_schemaorg/WearableSizeSystemCN.py +++ b/pydantic_schemaorg/WearableSizeSystemCN.py @@ -11,6 +11,5 @@ class WearableSizeSystemCN(WearableSizeSystemEnumeration): See: https://schema.org/WearableSizeSystemCN Model depth: 6 """ - type_: str = Field("WearableSizeSystemCN", alias='@type') + type_: str = Field(default="WearableSizeSystemCN", alias='@type') - diff --git a/pydantic_schemaorg/WearableSizeSystemContinental.py b/pydantic_schemaorg/WearableSizeSystemContinental.py index fe4873f6..c1addff9 100644 --- a/pydantic_schemaorg/WearableSizeSystemContinental.py +++ b/pydantic_schemaorg/WearableSizeSystemContinental.py @@ -11,6 +11,6 @@ class WearableSizeSystemContinental(WearableSizeSystemEnumeration): See: https://schema.org/WearableSizeSystemContinental Model depth: 6 """ - type_: str = Field("WearableSizeSystemContinental", alias='@type') + type_: str = Field(default="WearableSizeSystemContinental", alias='@type') diff --git a/pydantic_schemaorg/WearableSizeSystemDE.py b/pydantic_schemaorg/WearableSizeSystemDE.py index 5380fc41..7e51d0f0 100644 --- a/pydantic_schemaorg/WearableSizeSystemDE.py +++ b/pydantic_schemaorg/WearableSizeSystemDE.py @@ -11,6 +11,5 @@ class WearableSizeSystemDE(WearableSizeSystemEnumeration): See: https://schema.org/WearableSizeSystemDE Model depth: 6 """ - type_: str = Field("WearableSizeSystemDE", alias='@type') + type_: str = Field(default="WearableSizeSystemDE", alias='@type') - diff --git a/pydantic_schemaorg/WearableSizeSystemEN13402.py b/pydantic_schemaorg/WearableSizeSystemEN13402.py index 7b072e07..19ead715 100644 --- a/pydantic_schemaorg/WearableSizeSystemEN13402.py +++ b/pydantic_schemaorg/WearableSizeSystemEN13402.py @@ -11,6 +11,5 @@ class WearableSizeSystemEN13402(WearableSizeSystemEnumeration): See: https://schema.org/WearableSizeSystemEN13402 Model depth: 6 """ - type_: str = Field("WearableSizeSystemEN13402", alias='@type') + type_: str = Field(default="WearableSizeSystemEN13402", alias='@type') - diff --git a/pydantic_schemaorg/WearableSizeSystemEnumeration.py b/pydantic_schemaorg/WearableSizeSystemEnumeration.py index a6cbce76..c9259f3c 100644 --- a/pydantic_schemaorg/WearableSizeSystemEnumeration.py +++ b/pydantic_schemaorg/WearableSizeSystemEnumeration.py @@ -11,6 +11,6 @@ class WearableSizeSystemEnumeration(SizeSystemEnumeration): See: https://schema.org/WearableSizeSystemEnumeration Model depth: 5 """ - type_: str = Field("WearableSizeSystemEnumeration", alias='@type') + type_: str = Field(default="WearableSizeSystemEnumeration", alias='@type') diff --git a/pydantic_schemaorg/WearableSizeSystemEurope.py b/pydantic_schemaorg/WearableSizeSystemEurope.py index 57810e7f..08d47dc9 100644 --- a/pydantic_schemaorg/WearableSizeSystemEurope.py +++ b/pydantic_schemaorg/WearableSizeSystemEurope.py @@ -11,6 +11,5 @@ class WearableSizeSystemEurope(WearableSizeSystemEnumeration): See: https://schema.org/WearableSizeSystemEurope Model depth: 6 """ - type_: str = Field("WearableSizeSystemEurope", alias='@type') + type_: str = Field(default="WearableSizeSystemEurope", alias='@type') - diff --git a/pydantic_schemaorg/WearableSizeSystemFR.py b/pydantic_schemaorg/WearableSizeSystemFR.py index cde7ba57..1c8d5ee5 100644 --- a/pydantic_schemaorg/WearableSizeSystemFR.py +++ b/pydantic_schemaorg/WearableSizeSystemFR.py @@ -11,6 +11,5 @@ class WearableSizeSystemFR(WearableSizeSystemEnumeration): See: https://schema.org/WearableSizeSystemFR Model depth: 6 """ - type_: str = Field("WearableSizeSystemFR", alias='@type') + type_: str = Field(default="WearableSizeSystemFR", alias='@type') - diff --git a/pydantic_schemaorg/WearableSizeSystemGS1.py b/pydantic_schemaorg/WearableSizeSystemGS1.py index adac873a..ee768937 100644 --- a/pydantic_schemaorg/WearableSizeSystemGS1.py +++ b/pydantic_schemaorg/WearableSizeSystemGS1.py @@ -11,6 +11,5 @@ class WearableSizeSystemGS1(WearableSizeSystemEnumeration): See: https://schema.org/WearableSizeSystemGS1 Model depth: 6 """ - type_: str = Field("WearableSizeSystemGS1", alias='@type') + type_: str = Field(default="WearableSizeSystemGS1", alias='@type') - diff --git a/pydantic_schemaorg/WearableSizeSystemIT.py b/pydantic_schemaorg/WearableSizeSystemIT.py index ffdc6724..e5ce24c8 100644 --- a/pydantic_schemaorg/WearableSizeSystemIT.py +++ b/pydantic_schemaorg/WearableSizeSystemIT.py @@ -11,6 +11,5 @@ class WearableSizeSystemIT(WearableSizeSystemEnumeration): See: https://schema.org/WearableSizeSystemIT Model depth: 6 """ - type_: str = Field("WearableSizeSystemIT", alias='@type') + type_: str = Field(default="WearableSizeSystemIT", alias='@type') - diff --git a/pydantic_schemaorg/WearableSizeSystemJP.py b/pydantic_schemaorg/WearableSizeSystemJP.py index 781ab98f..50a48764 100644 --- a/pydantic_schemaorg/WearableSizeSystemJP.py +++ b/pydantic_schemaorg/WearableSizeSystemJP.py @@ -11,6 +11,5 @@ class WearableSizeSystemJP(WearableSizeSystemEnumeration): See: https://schema.org/WearableSizeSystemJP Model depth: 6 """ - type_: str = Field("WearableSizeSystemJP", alias='@type') + type_: str = Field(default="WearableSizeSystemJP", alias='@type') - diff --git a/pydantic_schemaorg/WearableSizeSystemMX.py b/pydantic_schemaorg/WearableSizeSystemMX.py index 121b87d3..dea3524c 100644 --- a/pydantic_schemaorg/WearableSizeSystemMX.py +++ b/pydantic_schemaorg/WearableSizeSystemMX.py @@ -11,6 +11,5 @@ class WearableSizeSystemMX(WearableSizeSystemEnumeration): See: https://schema.org/WearableSizeSystemMX Model depth: 6 """ - type_: str = Field("WearableSizeSystemMX", alias='@type') + type_: str = Field(default="WearableSizeSystemMX", alias='@type') - diff --git a/pydantic_schemaorg/WearableSizeSystemUK.py b/pydantic_schemaorg/WearableSizeSystemUK.py index 256dff25..c023fa29 100644 --- a/pydantic_schemaorg/WearableSizeSystemUK.py +++ b/pydantic_schemaorg/WearableSizeSystemUK.py @@ -11,6 +11,5 @@ class WearableSizeSystemUK(WearableSizeSystemEnumeration): See: https://schema.org/WearableSizeSystemUK Model depth: 6 """ - type_: str = Field("WearableSizeSystemUK", alias='@type') + type_: str = Field(default="WearableSizeSystemUK", alias='@type') - diff --git a/pydantic_schemaorg/WearableSizeSystemUS.py b/pydantic_schemaorg/WearableSizeSystemUS.py index 2ddb38e5..ab5bfb4a 100644 --- a/pydantic_schemaorg/WearableSizeSystemUS.py +++ b/pydantic_schemaorg/WearableSizeSystemUS.py @@ -11,6 +11,5 @@ class WearableSizeSystemUS(WearableSizeSystemEnumeration): See: https://schema.org/WearableSizeSystemUS Model depth: 6 """ - type_: str = Field("WearableSizeSystemUS", alias='@type') + type_: str = Field(default="WearableSizeSystemUS", alias='@type') - diff --git a/pydantic_schemaorg/WebAPI.py b/pydantic_schemaorg/WebAPI.py index 3e44d665..be927c4f 100644 --- a/pydantic_schemaorg/WebAPI.py +++ b/pydantic_schemaorg/WebAPI.py @@ -15,14 +15,13 @@ class WebAPI(Service): See: https://schema.org/WebAPI Model depth: 4 """ - type_: str = Field("WebAPI", alias='@type') + type_: str = Field(default="WebAPI", alias='@type') 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.", ) - if TYPE_CHECKING: from pydantic_schemaorg.URL import URL from pydantic_schemaorg.CreativeWork import CreativeWork diff --git a/pydantic_schemaorg/WebApplication.py b/pydantic_schemaorg/WebApplication.py index 41c434d0..b78ee8e3 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("WebApplication", alias='@type') + type_: str = Field(default="WebApplication", alias='@type') browserRequirements: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="Specifies browser requirements in human-readable text. For example, 'requires HTML5" @@ -22,6 +22,5 @@ class WebApplication(SoftwareApplication): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text diff --git a/pydantic_schemaorg/WebContent.py b/pydantic_schemaorg/WebContent.py index 57de0c8e..e112e524 100644 --- a/pydantic_schemaorg/WebContent.py +++ b/pydantic_schemaorg/WebContent.py @@ -16,6 +16,5 @@ class WebContent(CreativeWork): See: https://schema.org/WebContent Model depth: 3 """ - type_: str = Field("WebContent", alias='@type') + type_: str = Field(default="WebContent", alias='@type') - diff --git a/pydantic_schemaorg/WebPage.py b/pydantic_schemaorg/WebPage.py index b3f6f4e7..67287bae 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("WebPage", alias='@type') + type_: str = Field(default="WebPage", alias='@type') 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.", @@ -82,8 +82,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 8cccd143..9b03d84b 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("WebPageElement", alias='@type') + type_: str = Field(default="WebPageElement", alias='@type') 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 ee471062..26e873b6 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("WebSite", alias='@type') + type_: str = Field(default="WebSite", alias='@type') issn: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field( default=None, description="The International Standard Serial Number (ISSN) that identifies this serial publication." @@ -24,6 +24,5 @@ class WebSite(CreativeWork): ) - if TYPE_CHECKING: from pydantic_schemaorg.Text import Text diff --git a/pydantic_schemaorg/Wednesday.py b/pydantic_schemaorg/Wednesday.py index ca6d3dfb..8c4d0db6 100644 --- a/pydantic_schemaorg/Wednesday.py +++ b/pydantic_schemaorg/Wednesday.py @@ -11,6 +11,5 @@ class Wednesday(DayOfWeek): See: https://schema.org/Wednesday Model depth: 5 """ - type_: str = Field("Wednesday", alias='@type') + type_: str = Field(default="Wednesday", alias='@type') - diff --git a/pydantic_schemaorg/WesternConventional.py b/pydantic_schemaorg/WesternConventional.py index 961ccf3e..17c2da1e 100644 --- a/pydantic_schemaorg/WesternConventional.py +++ b/pydantic_schemaorg/WesternConventional.py @@ -13,6 +13,5 @@ class WesternConventional(MedicineSystem): See: https://schema.org/WesternConventional Model depth: 6 """ - type_: str = Field("WesternConventional", alias='@type') + type_: str = Field(default="WesternConventional", alias='@type') - diff --git a/pydantic_schemaorg/Wholesale.py b/pydantic_schemaorg/Wholesale.py index 827e7736..14abde4e 100644 --- a/pydantic_schemaorg/Wholesale.py +++ b/pydantic_schemaorg/Wholesale.py @@ -11,6 +11,5 @@ class Wholesale(DrugCostCategory): See: https://schema.org/Wholesale Model depth: 6 """ - type_: str = Field("Wholesale", alias='@type') + type_: str = Field(default="Wholesale", alias='@type') - diff --git a/pydantic_schemaorg/WholesaleStore.py b/pydantic_schemaorg/WholesaleStore.py index f05aa826..4b20a6e5 100644 --- a/pydantic_schemaorg/WholesaleStore.py +++ b/pydantic_schemaorg/WholesaleStore.py @@ -11,6 +11,6 @@ class WholesaleStore(Store): See: https://schema.org/WholesaleStore Model depth: 5 """ - type_: str = Field("WholesaleStore", alias='@type') + type_: str = Field(default="WholesaleStore", alias='@type') diff --git a/pydantic_schemaorg/WinAction.py b/pydantic_schemaorg/WinAction.py index a4e927e8..942948c5 100644 --- a/pydantic_schemaorg/WinAction.py +++ b/pydantic_schemaorg/WinAction.py @@ -14,13 +14,12 @@ class WinAction(AchieveAction): See: https://schema.org/WinAction Model depth: 4 """ - type_: str = Field("WinAction", alias='@type') + type_: str = Field(default="WinAction", alias='@type') loser: Optional[Union[List[Union['Person', str]], 'Person', str]] = Field( default=None, description="A sub property of participant. The loser of the action.", ) - if TYPE_CHECKING: from pydantic_schemaorg.Person import Person diff --git a/pydantic_schemaorg/Winery.py b/pydantic_schemaorg/Winery.py index a3e66fca..390d055e 100644 --- a/pydantic_schemaorg/Winery.py +++ b/pydantic_schemaorg/Winery.py @@ -11,6 +11,5 @@ class Winery(FoodEstablishment): See: https://schema.org/Winery Model depth: 5 """ - type_: str = Field("Winery", alias='@type') + type_: str = Field(default="Winery", alias='@type') - diff --git a/pydantic_schemaorg/Withdrawn.py b/pydantic_schemaorg/Withdrawn.py index f7d865d1..b7ed7818 100644 --- a/pydantic_schemaorg/Withdrawn.py +++ b/pydantic_schemaorg/Withdrawn.py @@ -11,6 +11,5 @@ class Withdrawn(MedicalStudyStatus): See: https://schema.org/Withdrawn Model depth: 6 """ - type_: str = Field("Withdrawn", alias='@type') + type_: str = Field(default="Withdrawn", alias='@type') - diff --git a/pydantic_schemaorg/WorkBasedProgram.py b/pydantic_schemaorg/WorkBasedProgram.py index 185cea6a..9c0b3a67 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("WorkBasedProgram", alias='@type') + type_: str = Field(default="WorkBasedProgram", alias='@type') trainingSalary: Optional[Union[List[Union['MonetaryAmountDistribution', str]], 'MonetaryAmountDistribution', str]] = Field( default=None, description="The estimated salary earned while in the program.", @@ -33,7 +33,6 @@ class WorkBasedProgram(EducationalOccupationalProgram): ) - if TYPE_CHECKING: from pydantic_schemaorg.MonetaryAmountDistribution import MonetaryAmountDistribution from pydantic_schemaorg.Text import Text diff --git a/pydantic_schemaorg/WorkersUnion.py b/pydantic_schemaorg/WorkersUnion.py index 6a3070d9..0b3d4dc1 100644 --- a/pydantic_schemaorg/WorkersUnion.py +++ b/pydantic_schemaorg/WorkersUnion.py @@ -13,6 +13,6 @@ class WorkersUnion(Organization): See: https://schema.org/WorkersUnion Model depth: 3 """ - type_: str = Field("WorkersUnion", alias='@type') + type_: str = Field(default="WorkersUnion", alias='@type') diff --git a/pydantic_schemaorg/WriteAction.py b/pydantic_schemaorg/WriteAction.py index a2254194..c55b8714 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("WriteAction", alias='@type') + type_: str = Field(default="WriteAction", alias='@type') language: Optional[Union[List[Union['Language', str]], 'Language', str]] = Field( default=None, description="A sub property of instrument. The language used on this action.", @@ -27,7 +27,6 @@ class WriteAction(CreateAction): ) - if TYPE_CHECKING: from pydantic_schemaorg.Language import Language from pydantic_schemaorg.Text import Text diff --git a/pydantic_schemaorg/WritePermission.py b/pydantic_schemaorg/WritePermission.py index 4ddf7432..92f1f22d 100644 --- a/pydantic_schemaorg/WritePermission.py +++ b/pydantic_schemaorg/WritePermission.py @@ -11,6 +11,6 @@ class WritePermission(DigitalDocumentPermissionType): See: https://schema.org/WritePermission Model depth: 5 """ - type_: str = Field("WritePermission", alias='@type') + type_: str = Field(default="WritePermission", alias='@type') diff --git a/pydantic_schemaorg/XPathType.py b/pydantic_schemaorg/XPathType.py index 6b20ab0a..4f0a43a5 100644 --- a/pydantic_schemaorg/XPathType.py +++ b/pydantic_schemaorg/XPathType.py @@ -11,6 +11,5 @@ class XPathType(Text): See: https://schema.org/XPathType Model depth: 6 """ - type_: str = Field("XPathType", alias='@type') + type_: str = Field(default="XPathType", alias='@type') - diff --git a/pydantic_schemaorg/XRay.py b/pydantic_schemaorg/XRay.py index 875f1607..a60b919a 100644 --- a/pydantic_schemaorg/XRay.py +++ b/pydantic_schemaorg/XRay.py @@ -11,6 +11,6 @@ class XRay(MedicalImagingTechnique): See: https://schema.org/XRay Model depth: 6 """ - type_: str = Field("XRay", alias='@type') + type_: str = Field(default="XRay", alias='@type') diff --git a/pydantic_schemaorg/ZoneBoardingPolicy.py b/pydantic_schemaorg/ZoneBoardingPolicy.py index 8da2f956..f37a5ca0 100644 --- a/pydantic_schemaorg/ZoneBoardingPolicy.py +++ b/pydantic_schemaorg/ZoneBoardingPolicy.py @@ -11,6 +11,5 @@ class ZoneBoardingPolicy(BoardingPolicyType): See: https://schema.org/ZoneBoardingPolicy Model depth: 5 """ - type_: str = Field("ZoneBoardingPolicy", alias='@type') + type_: str = Field(default="ZoneBoardingPolicy", alias='@type') - diff --git a/pydantic_schemaorg/Zoo.py b/pydantic_schemaorg/Zoo.py index 7ead0a64..892a1101 100644 --- a/pydantic_schemaorg/Zoo.py +++ b/pydantic_schemaorg/Zoo.py @@ -11,6 +11,6 @@ class Zoo(CivicStructure): See: https://schema.org/Zoo Model depth: 4 """ - type_: str = Field("Zoo", alias='@type') + type_: str = Field(default="Zoo", alias='@type') diff --git a/pydantic_schemaorg/_3DModel.py b/pydantic_schemaorg/_3DModel.py index dc1903e6..2e292e59 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("3DModel", alias='@type') + type_: str = Field(default="3DModel", alias='@type') 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" @@ -29,6 +29,5 @@ class _3DModel(MediaObject): ) - if TYPE_CHECKING: from pydantic_schemaorg.Boolean import Boolean diff --git a/pydantic_schemaorg/__init__.py b/pydantic_schemaorg/__init__.py index 810adbf9..7f23cbc0 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', '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'] +__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', 'MedicalEnumeration', 'Specialty', '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 638aa289..42da14b9 100644 --- a/pydantic_schemaorg/__types__.py +++ b/pydantic_schemaorg/__types__.py @@ -20,8 +20,8 @@ 'ConsumeAction': ('ConsumeAction', 'pydantic_schemaorg.ConsumeAction', 'ConsumeAction'), 'ListenAction': ('ListenAction', 'pydantic_schemaorg.ListenAction', 'ListenAction'), 'TradeAction': ('TradeAction', 'pydantic_schemaorg.TradeAction', 'TradeAction'), -'Specialty': ('Specialty', 'pydantic_schemaorg.Specialty', 'Specialty'), 'MedicalEnumeration': ('MedicalEnumeration', 'pydantic_schemaorg.MedicalEnumeration', 'MedicalEnumeration'), +'Specialty': ('Specialty', 'pydantic_schemaorg.Specialty', 'Specialty'), 'MedicalSpecialty': ('MedicalSpecialty', 'pydantic_schemaorg.MedicalSpecialty', 'MedicalSpecialty'), 'Urologic': ('Urologic', 'pydantic_schemaorg.Urologic', 'Urologic'), 'CreativeWork': ('CreativeWork', 'pydantic_schemaorg.CreativeWork', 'CreativeWork'), diff --git a/src/templates/model.py.tpl b/src/templates/model.py.tpl index 9003c242..629b0f7e 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("{{ model.name }}", alias='@type') + type_: str = Field(default="{{ model.name }}", alias='@type') {% for field in model.fields -%} {{ field.valid_name }}: {{ field.type }} = Field( default=None, @@ -26,7 +26,6 @@ class {{ model.valid_name }}({{model.parents| sort(attribute='depth', reverse=Tr description="{{ field.description | replace('\\n','\n') | format_description }}", ) {% endfor %} - {% if model.pydantic_imports %} if TYPE_CHECKING: {%- for import_ in model.pydantic_imports %}