Skip to content

Electric Files Payload

Defined in: electrificationFile.schema.json
Type: object
Additional Properties Allowed: False

Property Type Required Format Title
binary_file_content_base_64 string ✅ Binary file content Base64
description string Description
file_name string ✅ File name
file_purpose enum ✅ File purpose
file_type enum ✅ File type

binary_file_content_base_64

The API user must convert the binary file content to base64 encoding.

  • is required
  • Type: string

description

  • is not required
  • Type: string

file_name

This file name will be associated with the uploaded file and will be shown wherever a list of the uploaded files for a reservation is returned.

  • is required
  • Type: string

Minimum Length: 2
Maximum Length: 64
Regex Pattern: ^[0-9a-zA-Z\-.\(\)_ ]+$

file_purpose

  • is required
  • Type: enum
Value
QUALITY_ASSURANCE

file_type

  • is required
  • Type: enum
Value
HEIC
JPEG
PDF
PNG