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": {
         "title": "Name",
         "description": "Common human-readable name of the license.",
         "type": "string"
      },
      "licenseId": {
         "title": "Licenseid",
         "description": "SPDX license identifier.",
         "type": "string"
      },
      "seeAlso": {
         "title": "Seealso",
         "description": "URLs to documentation about this license.",
         "type": "array",
         "items": {
            "type": "string",
            "minLength": 1,
            "maxLength": 2083,
            "format": "uri"
         }
      },
      "isOsiApproved": {
         "title": "Isosiapproved",
         "description": "Flag indicating if the license is approved by the OSI (Open Software Initiative) ",
         "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.