Skip to content

Commit

Permalink
[#8] adding context field to aggregation level metadata model
Browse files Browse the repository at this point in the history
  • Loading branch information
pkdash committed Mar 27, 2024
1 parent d6779ae commit fb4eafe
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions hsextract/models/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -556,6 +556,12 @@ class DatasetMetadataDOC(CoreMetadataDOC, DatasetMetadata):

class BaseAggregationMetadata(BaseModel):
"""Base class for aggregation metadata - used for metadata view in UI."""

context: HttpUrl = Field(
alias='@context',
default='https://schema.org',
description="Specifies the vocabulary employed for understanding the structured data markup.",
)
type: str = Field(
alias="@type",
default="Dataset",
Expand Down

0 comments on commit fb4eafe

Please sign in to comment.