2025-09-02 11:35:41 -04:00
|
|
|
from dataclasses import dataclass
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@dataclass
|
|
|
|
|
class DatasetLicense:
|
|
|
|
|
"""
|
|
|
|
|
Represents a dataset license.
|
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
name: str #: The name or title of the license.
|
|
|
|
|
identifier: str | None #: SPDX short identifier, or None if one does not exist.
|
|
|
|
|
description: str #: A description of the license.
|
2025-09-04 12:29:54 -04:00
|
|
|
license: str #: Full license text or URL if the license is available online.
|