pystac.common_metadata#
- class pystac.common_metadata.CommonMetadata(object: Asset | Item)[source]
Object containing fields that are not included in core item schema but are still commonly used. All attributes are defined within the properties of this item and are optional
- Parameters:
properties – Dictionary of attributes that is the Item’s properties
- property constellation: str | None
Gets or set the name of the constellation associate with an object.
- property created: datetime | None
Get or set the metadata file’s creation date. All datetime attributes have setters that can take either a string or a datetime, but always stores the attribute as a string.
- property end_datetime: datetime | None
Get or set the item’s end_datetime.
Note
end_datetimeis an inclusive datetime.
- property license: str | None
Get or set the current license. License should be provided as a SPDX License identifier, or other. If object includes data with multiple different licenses, use other and add a link for each.
Note
The licenses various and proprietary are deprecated.