Group

pydantic model gafaelfawr.models.userinfo.Group

Information about a single group.

Parameters:

data (Any)

Show JSON schema
{
   "title": "Group",
   "description": "Information about a single group.",
   "type": "object",
   "properties": {
      "name": {
         "examples": [
            "g_special_users"
         ],
         "minLength": 1,
         "pattern": "^[a-zA-Z][a-zA-Z0-9._-]*$",
         "title": "Name of the group",
         "type": "string"
      },
      "id": {
         "examples": [
            123181
         ],
         "title": "Numeric GID of the group",
         "type": "integer"
      }
   },
   "required": [
      "name",
      "id"
   ]
}

Fields:
field id: int [Required]
field name: str [Required]
Constraints:
  • min_length = 1

  • pattern = ^[a-zA-Z][a-zA-Z0-9._-]*$