diff --git a/dplib/models/schema/schema.py b/dplib/models/schema/schema.py index 5c18c25..547672d 100644 --- a/dplib/models/schema/schema.py +++ b/dplib/models/schema/schema.py @@ -6,6 +6,7 @@ from ... import settings, types from ...system import Model +from ..contributor import Contributor from ..field import IField from ..missingValues import IMissingValues from .foreignKey import ForeignKey @@ -21,6 +22,11 @@ class Schema(Model): ) """A profile URL""" + name: Optional[str] = None + """ + A simple name or identifier as for Data Package + """ + title: Optional[str] = None """ A string providing a title or one sentence description for this schema @@ -32,6 +38,31 @@ class Schema(Model): this also allows for simple plain text as plain text is itself valid markdown. """ + homepage: Optional[str] = None + """ + A URL for the home on the web that is related to this data package. + """ + + keywords: List[str] = [] + """ + The `keywords` property is a list of short keywords related to the schema. + """ + + examples: List[dict[str, str]] = [] + """ + The `examples` property contains links to example data resources. + """ + + version: Optional[str] = None + """ + The `version` property stores the version of the schema + """ + + contributors: List[Contributor] = [] + """ + The people or organizations who contributed to this Table Schema. + """ + fields: List[IField] = [] """ List of fields in the table schema