diff --git a/pydantic_schemaorg/SchemaOrgBase.py b/pydantic_schemaorg/SchemaOrgBase.py index c7333cf2..d97b592d 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(None,alias='@reverse') - id_ : Optional[Any] = Field(None,alias='@id') - context_ : Optional[Any] = Field(None,alias='@context') - graph_ : Optional[Any] = Field(None,alias='@graph') + 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') def dict(self, *args, **kwargs): defaults = {