Skip to main content

AttributesLevelsResponse

Pydantic model for a response with the list of attributes and levels.

attributes_levels object[]required
  • Array [
  • attributeAttributerequired

    Name of the attribute

    levelsstring[]required

    List of levels for the attribute

  • ]
  • brand_attribute_combinations objectrequired
    anyOf
  • Array [
  • property name*any
  • ]
  • real_world_attributesReal World Attributesrequired
    reasonReasonrequired
    AttributesLevelsResponse
    {
    "attributes_levels": [
    {
    "attribute": "Battery Range per Charge",
    "levels": [
    "Less than 150 miles",
    "150 to 250 miles",
    "250 to 350 miles",
    "350 to 450 miles",
    "More than 450 miles"
    ]
    },
    {
    "attribute": "Vehicle Warranty",
    "levels": [
    "3 years or 36,000 miles",
    "4 years or 50,000 miles",
    "5 years or 60,000 miles",
    "6 years or 70,000 miles",
    "7 years or 100,000 miles"
    ]
    }
    ],
    "brand_attribute_combinations": [
    {
    "Availability of charging infrastructure": "Access to exclusive charging networks",
    "Brand": "Nissan Leaf",
    "Charging time": "Under 5 minutes (80% charge)",
    "Price": "29500.00 USD",
    "Range (miles)": "258 miles"
    },
    {
    "Availability of charging infrastructure": "Level 2 (240V) charging compatibility",
    "Brand": "Chevrolet Bolt",
    "Charging time": "2-4 hours to full charge",
    "Price": "30500.00 USD",
    "Range (miles)": "258 miles"
    }
    ]
    }