Metadata#

pydantic model safir.metadata.Metadata#

Metadata about a package.

Parameters:

data (Any) –

Show JSON schema
{
   "title": "Metadata",
   "description": "Metadata about a package.",
   "type": "object",
   "properties": {
      "name": {
         "title": "Application name",
         "example": "myapp",
         "type": "string"
      },
      "version": {
         "title": "Version",
         "example": "1.0.0",
         "type": "string"
      },
      "description": {
         "title": "Description",
         "example": "string",
         "type": "string"
      },
      "repository_url": {
         "title": "Repository URL",
         "example": "https://example.com/",
         "type": "string"
      },
      "documentation_url": {
         "title": "Documentation URL",
         "example": "https://example.com/",
         "type": "string"
      }
   },
   "required": [
      "name",
      "version"
   ]
}

Fields:
field description: Optional[str] = None#
field documentation_url: Optional[str] = None#
field name: str [Required]#
field repository_url: Optional[str] = None#
field version: str [Required]#