LicenseTable#

pydantic model technote.sources.tomlsettings.LicenseTable#

A model for [technote.license] in technote.toml, which describes the content’s license.

Parameters:

data (Any) –

Show JSON schema
{
   "title": "LicenseTable",
   "description": "A model for ``[technote.license]`` in ``technote.toml``, which\ndescribes the content's license.",
   "type": "object",
   "properties": {
      "id": {
         "description": "The SPDX license ID. See https://spdx.org/licenses/.",
         "examples": [
            "CC-BY-SA-4.0"
         ],
         "title": "Id",
         "type": "string"
      }
   },
   "required": [
      "id"
   ]
}

Fields:
Validators:
field id: str [Required]#

The SPDX license ID. See https://spdx.org/licenses/.

Validated by:
validator validate_spdx_id  »  id#

Ensure that id is a SPDX license identifier. :rtype: str

Parameters:

v (str) –

model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}#

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.