← HomeFleetPay / Schema

Driver

Structure preserved from the versioned API contract.

Technical descriptions are translated from the versioned contract. Original identifiers and JSON are preserved; data examples are omitted.

idintegerRequired
minimum1
namestringRequired
documentstring | nullRequired
Original JSON Definition (Portuguese Descriptions)
{
  "type": "object",
  "required": [
    "id",
    "name",
    "document",
    "fiscal_profile"
  ],
  "properties": {
    "id": {
      "type": "integer",
      "minimum": 1
    },
    "name": {
      "type": "string"
    },
    "document": {
      "type": [
        "string",
        "null"
      ]
    },
    "fiscal_profile": {
      "anyOf": [
        {
          "type": "object",
          "allOf": [
            {
              "$ref": "#/components/schemas/DriverFiscalProfile"
            }
          ]
        },
        {
          "type": "null"
        }
      ]
    }
  }
}