14 lines
407 B
Python
14 lines
407 B
Python
|
|
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.
|
||
|
|
licence: str #: Full license text or URL if the license is available online.
|