SpdxLicense¶
- pydantic model technote.metadata.spdx.SpdxLicense¶
A license item as contained in a
SpdxFile
.- Parameters:
data (
Any
)
Show JSON schema
{ "title": "SpdxLicense", "description": "A license item as contained in a `SpdxFile`.", "type": "object", "properties": { "name": { "description": "Common human-readable name of the license.", "title": "Name", "type": "string" }, "licenseId": { "description": "SPDX license identifier.", "title": "Licenseid", "type": "string" }, "seeAlso": { "description": "URLs to documentation about this license.", "items": { "format": "uri", "maxLength": 2083, "minLength": 1, "type": "string" }, "title": "Seealso", "type": "array" }, "isOsiApproved": { "description": "Flag indicating if the license is approved by the OSI (Open Software Initiative) ", "title": "Isosiapproved", "type": "boolean" } }, "required": [ "name", "licenseId", "isOsiApproved" ] }
- Fields:
- field is_osi_approved: bool [Required] (alias 'isOsiApproved')¶
Flag indicating if the license is approved by the OSI (Open Software Initiative)
- field license_id: str [Required] (alias 'licenseId')¶
SPDX license identifier.
- field name: str [Required]¶
Common human-readable name of the license.
- field see_also: list[HttpUrl] [Optional] (alias 'seeAlso')¶
URLs to documentation about this license.