args_me_model.Source

pydantic model args_me_model.Source

The source of a text or support relationship.

Show JSON schema
{
   "title": "Source",
   "description": "The source of a text or support relationship.",
   "type": "object",
   "properties": {
      "name": {
         "description": "Name of the source (e.g., domain or generation method)",
         "title": "Name",
         "type": "string"
      },
      "text": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "description": "Original text taken from the source",
         "title": "Text"
      },
      "url": {
         "anyOf": [
            {
               "format": "uri",
               "maxLength": 2083,
               "minLength": 1,
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "description": "URL from which the text or support relationship was taken",
         "title": "Url"
      },
      "annotations": {
         "additionalProperties": {
            "$ref": "#/$defs/JsonValue"
         },
         "default": {},
         "description": "Further data on the source",
         "title": "Annotations",
         "type": "object"
      }
   },
   "$defs": {
      "JsonValue": {}
   },
   "required": [
      "name"
   ]
}

Fields:
  • annotations (Dict[str, JsonValue])

  • name (str)

  • text (str | None)

  • url (pydantic.networks.HttpUrl | None)

field annotations: Dict[str, JsonValue] = {}

Further data on the source

field name: str [Required]

Name of the source (e.g., domain or generation method)

field text: str | None = None

Original text taken from the source

field url: HttpUrl | None = None

URL from which the text or support relationship was taken