TechnoteStatus#

pydantic model technote.config.TechnoteStatus#

A model for the technote’s status.

Status is intended to describe whether a document is in planning, active writing, stable, or deprecated/supersceded stages of its lifecycle. It’s not intended for fine-grained status, such as describing a work ticket that’s in progress or in review.

Parameters:

data (Any) –

Show JSON schema
{
   "title": "TechnoteStatus",
   "description": "A model for the technote's status.\n\nStatus is intended to describe whether a document is in planning,\nactive writing, stable, or deprecated/supersceded stages of its lifecycle.\nIt's not intended for fine-grained status, such as describing a work ticket\nthat's in progress or in review.",
   "type": "object",
   "properties": {
      "state": {
         "allOf": [
            {
               "$ref": "#/$defs/TechnoteState"
            }
         ],
         "description": "The state of a document, from a controlled vocabulary."
      },
      "note": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "description": "An explanation of the state.",
         "title": "Note"
      },
      "supersceding_urls": {
         "description": "URLs to documents/webpages that superscede this technote.",
         "items": {
            "format": "uri",
            "maxLength": 2083,
            "minLength": 1,
            "type": "string"
         },
         "title": "Supersceding Urls",
         "type": "array"
      }
   },
   "$defs": {
      "TechnoteState": {
         "description": "Standardized states for a technote.\n\n.. mermaid::\n\n   flowchart LR\n     planning --> active\n     active --> stable\n     stable --> active\n     stable --> deprecated\n     active --> deprecated",
         "enum": [
            "planning",
            "active",
            "stable",
            "deprecated",
            "other"
         ],
         "title": "TechnoteState",
         "type": "string"
      }
   },
   "required": [
      "state"
   ]
}

Fields:
field note: str | None = None#

An explanation of the state.

field state: TechnoteState [Required]#

The state of a document, from a controlled vocabulary.

field supersceding_urls: list[HttpUrl] [Optional]#

URLs to documents/webpages that superscede this technote.