{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rollee/json-schema/rollee-models-company-accounts-documents-schema.json",
  "title": "models.CompanyAccountsDocuments",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rollee-fleet-endpoints-api-openapi.yml#/components/schemas/models.CompanyAccountsDocuments",
  "type": "object",
  "properties": {
    "size": {
      "type": "integer"
    },
    "users_data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/handlers.AccountDataResponse-std_models_Document"
      }
    }
  },
  "$defs": {
    "handlers.AccountDataResponse-std_models_Document": {
      "type": "object",
      "properties": {
        "endpoint_data": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/std_models.Document"
          }
        },
        "user_account_id": {
          "type": "string"
        },
        "user_id": {
          "type": "string"
        }
      }
    },
    "models.Metadata": {
      "type": "object",
      "additionalProperties": {}
    },
    "std_models.Document": {
      "type": "object",
      "properties": {
        "data": {
          "$ref": "#/$defs/models.Metadata"
        },
        "document_date": {
          "type": "string"
        },
        "document_expire_date": {
          "type": "string"
        },
        "document_id": {
          "type": "string"
        },
        "document_name": {
          "type": "string"
        },
        "document_number": {
          "type": "string"
        },
        "document_type": {
          "type": "string"
        },
        "issued_date": {
          "type": "string"
        },
        "link": {
          "type": "string"
        },
        "retrieved_date": {
          "type": "string"
        }
      }
    }
  }
}