{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://github.com/Qery-Data/newcar/schema.json",
  "title": "Nybilpriser Norge — Brand-fil (komplett)",
  "description": "Auto-generert JSON Schema fra Zod-kilden (scripts/validate-variant.js). Roten er en brand-fil (web/static/data/<brand>.json) med tre topp-felter: _header (fil-metadata), _meta (brand-kontekst), modeller (liste av modell-grupper med varianter). Alle del-skjemaer er inlined under sine respektive paths — ingen $ref å resolve. Se SCHEMA.md for prose-dokumentasjon. Regenerer: node scripts/generate-json-schema.js",
  "version": "2.10",
  "generated_at": "2026-05-19",
  "type": "object",
  "properties": {
    "_header": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "const": "nbp_parsed"
        },
        "version": {
          "type": "integer",
          "exclusiveMinimum": 0
        },
        "generated_at": {
          "type": "string",
          "format": "date-time"
        },
        "prod_ready": {
          "type": "boolean"
        }
      },
      "required": [
        "type",
        "version",
        "generated_at",
        "prod_ready"
      ],
      "additionalProperties": false
    },
    "_meta": {
      "type": "object",
      "properties": {
        "merke": {
          "type": "string"
        },
        "merke_slug": {
          "type": "string",
          "minLength": 1
        },
        "oppdatert": {
          "type": "string",
          "format": "date"
        },
        "kilder": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "urls": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string"
              },
              "url": {
                "type": "string"
              },
              "beskrivelse": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "type",
              "url",
              "beskrivelse"
            ],
            "additionalProperties": false
          }
        },
        "importoer": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "modellaar": {
          "anyOf": [
            {
              "type": "integer",
              "exclusiveMinimum": 0
            },
            {
              "type": "null"
            }
          ]
        },
        "garanti": {
          "anyOf": [
            {
              "type": "object",
              "properties": {
                "bil": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "batteri": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "rust": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "lakk": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "veihjelp": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "additionalProperties": false
            },
            {
              "type": "null"
            }
          ]
        },
        "leveringssted": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "merke_land": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "merke",
        "merke_slug",
        "oppdatert",
        "kilder",
        "urls"
      ],
      "additionalProperties": false
    },
    "modeller": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "modell": {
            "type": "string"
          },
          "modellaar": {
            "anyOf": [
              {
                "type": "integer",
                "exclusiveMinimum": 0
              },
              {
                "type": "null"
              }
            ]
          },
          "produksjonsland": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "sikkerhet": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "ncap": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "stjerner": {
                            "anyOf": [
                              {
                                "type": "integer",
                                "minimum": 0,
                                "maximum": 5
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "test_aar": {
                            "anyOf": [
                              {
                                "type": "integer"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "protokoll": {
                            "anyOf": [
                              {
                                "type": "string",
                                "enum": [
                                  "2023",
                                  "2026"
                                ]
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "gyldig_til_aar": {
                            "anyOf": [
                              {
                                "type": "integer"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "url": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "ncap_id": {
                            "anyOf": [
                              {
                                "type": "integer",
                                "exclusiveMinimum": 0
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "voksenbeskyttelse_pct": {
                            "anyOf": [
                              {
                                "type": "number",
                                "minimum": 0,
                                "maximum": 100
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "barnebeskyttelse_pct": {
                            "anyOf": [
                              {
                                "type": "number",
                                "minimum": 0,
                                "maximum": 100
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "myke_trafikanter_pct": {
                            "anyOf": [
                              {
                                "type": "number",
                                "minimum": 0,
                                "maximum": 100
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sikkerhetssystemer_pct": {
                            "anyOf": [
                              {
                                "type": "number",
                                "minimum": 0,
                                "maximum": 100
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sikker_kjoring_pct": {
                            "anyOf": [
                              {
                                "type": "number",
                                "minimum": 0,
                                "maximum": 100
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "kollisjonsunngaaelse_pct": {
                            "anyOf": [
                              {
                                "type": "number",
                                "minimum": 0,
                                "maximum": 100
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "kollisjonsbeskyttelse_pct": {
                            "anyOf": [
                              {
                                "type": "number",
                                "minimum": 0,
                                "maximum": 100
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "etter_kollisjon_pct": {
                            "anyOf": [
                              {
                                "type": "number",
                                "minimum": 0,
                                "maximum": 100
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        },
                        "required": [
                          "stjerner",
                          "test_aar",
                          "protokoll",
                          "gyldig_til_aar",
                          "url",
                          "ncap_id",
                          "voksenbeskyttelse_pct",
                          "barnebeskyttelse_pct",
                          "myke_trafikanter_pct",
                          "sikkerhetssystemer_pct",
                          "sikker_kjoring_pct",
                          "kollisjonsunngaaelse_pct",
                          "kollisjonsbeskyttelse_pct",
                          "etter_kollisjon_pct"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "ncap"
                ],
                "additionalProperties": false
              },
              {
                "type": "null"
              }
            ]
          },
          "bilder": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "url": {
                  "type": "string"
                },
                "beskrivelse": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "fargekode": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "kilde": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "url",
                "beskrivelse",
                "fargekode",
                "kilde"
              ],
              "additionalProperties": false
            }
          },
          "urls": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string"
                },
                "url": {
                  "type": "string"
                },
                "beskrivelse": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "type",
                "url",
                "beskrivelse"
              ],
              "additionalProperties": false
            }
          },
          "varianter": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "variant": {
                  "type": "string",
                  "minLength": 1
                },
                "modellkode": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "motortype": {
                  "type": "string",
                  "enum": [
                    "Fullelektrisk",
                    "Hydrogen",
                    "Bensin",
                    "Diesel",
                    "Hybrid",
                    "Ladbar hybrid"
                  ]
                },
                "drivlinje": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "karosseri": {
                  "anyOf": [
                    {
                      "type": "string",
                      "enum": [
                        "SUV",
                        "Sedan",
                        "Stasjonsvogn",
                        "Kompakt",
                        "Flerbruksbil",
                        "Coupe",
                        "Cabriolet",
                        "Kombi",
                        "Pickup"
                      ]
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "seter": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "exclusiveMinimum": 0
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "ytelse": {
                  "type": "object",
                  "properties": {
                    "effekt_hk": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "effekt_kw": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "dreiemoment_nm": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "akselerasjon_0_100_sek": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "toppfart_kmh": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "effekt_hk",
                    "effekt_kw",
                    "dreiemoment_nm",
                    "akselerasjon_0_100_sek",
                    "toppfart_kmh"
                  ],
                  "additionalProperties": false
                },
                "elektrisk": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "batteri": {
                          "type": "object",
                          "properties": {
                            "brutto_kwh": {
                              "anyOf": [
                                {
                                  "type": "number"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "netto_kwh": {
                              "anyOf": [
                                {
                                  "type": "number"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "celletype": {
                              "anyOf": [
                                {
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            }
                          },
                          "required": [
                            "brutto_kwh",
                            "netto_kwh",
                            "celletype"
                          ],
                          "additionalProperties": false
                        },
                        "rekkevidde": {
                          "type": "object",
                          "properties": {
                            "wltp_km": {
                              "anyOf": [
                                {
                                  "type": "number"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "wltp_min_km": {
                              "anyOf": [
                                {
                                  "type": "number"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "wltp_bykjoring_km": {
                              "anyOf": [
                                {
                                  "type": "number"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            }
                          },
                          "required": [
                            "wltp_km",
                            "wltp_min_km",
                            "wltp_bykjoring_km"
                          ],
                          "additionalProperties": false
                        },
                        "forbruk_kwh_100km": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "forbruk_kwh_100km_min": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "lading": {
                          "type": "object",
                          "properties": {
                            "normallading_ac_kw": {
                              "anyOf": [
                                {
                                  "type": "number"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "hurtiglading_dc_kw": {
                              "anyOf": [
                                {
                                  "type": "number"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "ladetider_dc": {
                              "anyOf": [
                                {
                                  "minItems": 1,
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "fra_pct": {
                                        "type": "integer",
                                        "minimum": 0
                                      },
                                      "til_pct": {
                                        "type": "integer"
                                      },
                                      "min": {
                                        "type": "number"
                                      }
                                    },
                                    "required": [
                                      "fra_pct",
                                      "til_pct",
                                      "min"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            }
                          },
                          "required": [
                            "normallading_ac_kw",
                            "hurtiglading_dc_kw",
                            "ladetider_dc"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "required": [
                        "batteri",
                        "rekkevidde",
                        "forbruk_kwh_100km",
                        "forbruk_kwh_100km_min",
                        "lading"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "fossil": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "forbruk_l_100km": {
                          "anyOf": [
                            {
                              "type": "number",
                              "minimum": 0
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "co2_g_km": {
                          "anyOf": [
                            {
                              "type": "number",
                              "minimum": 0
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "nox_mg_km": {
                          "anyOf": [
                            {
                              "type": "number",
                              "minimum": 0
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "forbruk_l_100km",
                        "co2_g_km",
                        "nox_mg_km"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "dimensjoner": {
                  "type": "object",
                  "properties": {
                    "lengde_mm": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "bredde_mm": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "bredde_inkl_speil_mm": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "hoyde_mm": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "akselavstand_mm": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "bakkeklaring_mm": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "lengde_mm",
                    "bredde_mm",
                    "bredde_inkl_speil_mm",
                    "hoyde_mm",
                    "akselavstand_mm",
                    "bakkeklaring_mm"
                  ],
                  "additionalProperties": false
                },
                "vekt": {
                  "type": "object",
                  "properties": {
                    "egenvekt_kg": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "totalvekt_kg": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "nyttelast_kg": {
                      "anyOf": [
                        {
                          "type": "number",
                          "minimum": 0
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "tilhenger_med_brems_kg": {
                      "anyOf": [
                        {
                          "type": "number",
                          "minimum": 0
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "tilhenger_uten_brems_kg": {
                      "anyOf": [
                        {
                          "type": "number",
                          "minimum": 0
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "taklast_kg": {
                      "anyOf": [
                        {
                          "type": "number",
                          "minimum": 0
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "kuletrykk_kg": {
                      "anyOf": [
                        {
                          "type": "number",
                          "minimum": 0
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "egenvekt_kg",
                    "totalvekt_kg",
                    "nyttelast_kg",
                    "tilhenger_med_brems_kg",
                    "tilhenger_uten_brems_kg",
                    "taklast_kg",
                    "kuletrykk_kg"
                  ],
                  "additionalProperties": false
                },
                "bagasjerom": {
                  "type": "object",
                  "properties": {
                    "volum_liter": {
                      "anyOf": [
                        {
                          "type": "number",
                          "minimum": 0
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "volum_nedfelt_baksete_liter": {
                      "anyOf": [
                        {
                          "type": "number",
                          "minimum": 0
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "frunk_liter": {
                      "anyOf": [
                        {
                          "type": "number",
                          "minimum": 0
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "volum_liter",
                    "volum_nedfelt_baksete_liter",
                    "frunk_liter"
                  ],
                  "additionalProperties": false
                },
                "utstyr": {
                  "type": "object",
                  "properties": {
                    "varmepumpe": {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "tilgjengelighet": {
                              "type": "string",
                              "enum": [
                                "standard",
                                "opsjon",
                                "nei"
                              ]
                            },
                            "pris_inkl_mva_nok": {
                              "anyOf": [
                                {
                                  "type": "number",
                                  "minimum": 0
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "pris_eks_mva_nok": {
                              "anyOf": [
                                {
                                  "type": "number",
                                  "minimum": 0
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "beskrivelse": {
                              "anyOf": [
                                {
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            }
                          },
                          "required": [
                            "tilgjengelighet",
                            "pris_inkl_mva_nok",
                            "pris_eks_mva_nok",
                            "beskrivelse"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "batterikondisjonering": {
                      "anyOf": [
                        {
                          "type": "string",
                          "enum": [
                            "standard",
                            "opsjon",
                            "nei"
                          ]
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "v2l": {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "tilgjengelighet": {
                              "type": "string",
                              "enum": [
                                "standard",
                                "opsjon"
                              ]
                            },
                            "effekt_kw": {
                              "anyOf": [
                                {
                                  "type": "number",
                                  "exclusiveMinimum": 0
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "beskrivelse": {
                              "anyOf": [
                                {
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "pris_inkl_mva_nok": {
                              "anyOf": [
                                {
                                  "type": "number",
                                  "minimum": 0
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "pris_eks_mva_nok": {
                              "anyOf": [
                                {
                                  "type": "number",
                                  "minimum": 0
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            }
                          },
                          "required": [
                            "tilgjengelighet",
                            "effekt_kw",
                            "beskrivelse"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "hjul_standard": {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "dimensjon_tommer": {
                              "anyOf": [
                                {
                                  "type": "number",
                                  "exclusiveMinimum": 0
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "type": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "enum": [
                                    "staal",
                                    "alu",
                                    "karbon"
                                  ]
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "navn": {
                              "anyOf": [
                                {
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            }
                          },
                          "required": [
                            "dimensjon_tommer",
                            "type",
                            "navn"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "varmepumpe",
                    "batterikondisjonering",
                    "v2l",
                    "hjul_standard"
                  ],
                  "additionalProperties": false
                },
                "tilleggsutstyr": {
                  "type": "object",
                  "properties": {
                    "hengerfeste": {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "tilgjengelighet": {
                              "type": "string",
                              "enum": [
                                "opsjon",
                                "standard"
                              ]
                            },
                            "varianter": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "navn": {
                                    "type": "string"
                                  },
                                  "pris_inkl_mva_nok": {
                                    "anyOf": [
                                      {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "pris_eks_mva_nok": {
                                    "anyOf": [
                                      {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "beskrivelse": {
                                    "anyOf": [
                                      {
                                        "type": "string"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "delenummer": {
                                    "anyOf": [
                                      {
                                        "type": "string"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "merknad": {
                                    "anyOf": [
                                      {
                                        "type": "string"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "type": {
                                    "anyOf": [
                                      {
                                        "type": "string"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "tilhenger_med_brems_kg": {
                                    "anyOf": [
                                      {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "tilhenger_uten_brems_kg": {
                                    "anyOf": [
                                      {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "kuletrykk_kg": {
                                    "anyOf": [
                                      {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  }
                                },
                                "required": [
                                  "navn",
                                  "pris_inkl_mva_nok",
                                  "pris_eks_mva_nok"
                                ],
                                "additionalProperties": false
                              }
                            }
                          },
                          "required": [
                            "tilgjengelighet",
                            "varianter"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "takstativ": {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "tilgjengelighet": {
                              "type": "string",
                              "enum": [
                                "opsjon",
                                "standard"
                              ]
                            },
                            "varianter": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "navn": {
                                    "type": "string"
                                  },
                                  "pris_inkl_mva_nok": {
                                    "anyOf": [
                                      {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "pris_eks_mva_nok": {
                                    "anyOf": [
                                      {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "beskrivelse": {
                                    "anyOf": [
                                      {
                                        "type": "string"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "delenummer": {
                                    "anyOf": [
                                      {
                                        "type": "string"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "merknad": {
                                    "anyOf": [
                                      {
                                        "type": "string"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "type": {
                                    "anyOf": [
                                      {
                                        "type": "string"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "tilhenger_med_brems_kg": {
                                    "anyOf": [
                                      {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "tilhenger_uten_brems_kg": {
                                    "anyOf": [
                                      {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "kuletrykk_kg": {
                                    "anyOf": [
                                      {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  }
                                },
                                "required": [
                                  "navn",
                                  "pris_inkl_mva_nok",
                                  "pris_eks_mva_nok"
                                ],
                                "additionalProperties": false
                              }
                            }
                          },
                          "required": [
                            "tilgjengelighet",
                            "varianter"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "vinterhjul": {
                      "anyOf": [
                        {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "navn": {
                                "type": "string"
                              },
                              "dimensjon_tommer": {
                                "anyOf": [
                                  {
                                    "type": "number",
                                    "exclusiveMinimum": 0
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "type": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "enum": [
                                      "staal",
                                      "alu",
                                      "karbon"
                                    ]
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "tilgjengelighet": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "enum": [
                                      "standard",
                                      "opsjon"
                                    ]
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "pris_inkl_mva_nok": {
                                "anyOf": [
                                  {
                                    "type": "number",
                                    "minimum": 0
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "pris_eks_mva_nok": {
                                "anyOf": [
                                  {
                                    "type": "number",
                                    "minimum": 0
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "beskrivelse": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delenummer": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              }
                            },
                            "required": [
                              "navn",
                              "dimensjon_tommer",
                              "type",
                              "tilgjengelighet",
                              "pris_inkl_mva_nok",
                              "pris_eks_mva_nok"
                            ],
                            "additionalProperties": false
                          }
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sommerhjul": {
                      "anyOf": [
                        {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "navn": {
                                "type": "string"
                              },
                              "dimensjon_tommer": {
                                "anyOf": [
                                  {
                                    "type": "number",
                                    "exclusiveMinimum": 0
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "type": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "enum": [
                                      "staal",
                                      "alu",
                                      "karbon"
                                    ]
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "tilgjengelighet": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "enum": [
                                      "standard",
                                      "opsjon"
                                    ]
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "pris_inkl_mva_nok": {
                                "anyOf": [
                                  {
                                    "type": "number",
                                    "minimum": 0
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "pris_eks_mva_nok": {
                                "anyOf": [
                                  {
                                    "type": "number",
                                    "minimum": 0
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "beskrivelse": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delenummer": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              }
                            },
                            "required": [
                              "navn",
                              "dimensjon_tommer",
                              "type",
                              "tilgjengelighet",
                              "pris_inkl_mva_nok",
                              "pris_eks_mva_nok"
                            ],
                            "additionalProperties": false
                          }
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "andre": {
                      "anyOf": [
                        {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "navn": {
                                "type": "string"
                              },
                              "kategori": {
                                "type": "string",
                                "enum": [
                                  "lakk",
                                  "soltak",
                                  "lyd",
                                  "komfort",
                                  "foererassistanse",
                                  "teknologi",
                                  "haandtering",
                                  "lader",
                                  "lading",
                                  "sykkelfeste",
                                  "ytelse",
                                  "sikkerhet",
                                  "infotainment",
                                  "annet"
                                ]
                              },
                              "tilgjengelighet": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "enum": [
                                      "standard",
                                      "opsjon"
                                    ]
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "pris_inkl_mva_nok": {
                                "anyOf": [
                                  {
                                    "type": "number",
                                    "minimum": 0
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "pris_eks_mva_nok": {
                                "anyOf": [
                                  {
                                    "type": "number",
                                    "minimum": 0
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "beskrivelse": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              }
                            },
                            "required": [
                              "navn",
                              "kategori",
                              "tilgjengelighet",
                              "pris_inkl_mva_nok",
                              "pris_eks_mva_nok"
                            ],
                            "additionalProperties": false
                          }
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "hengerfeste",
                    "takstativ",
                    "vinterhjul",
                    "sommerhjul",
                    "andre"
                  ],
                  "additionalProperties": false
                },
                "pris": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "kundepris_inkl_mva_nok": {
                          "type": "number"
                        },
                        "kundepris_eks_mva_nok": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "avgifter": {
                          "type": "object",
                          "properties": {
                            "total_nok": {
                              "anyOf": [
                                {
                                  "type": "number",
                                  "minimum": 0
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "engangsavgift_nok": {
                              "anyOf": [
                                {
                                  "type": "number",
                                  "minimum": 0
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "vrakpant_nok": {
                              "anyOf": [
                                {
                                  "type": "number",
                                  "minimum": 0
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "vektavgift_nok": {
                              "anyOf": [
                                {
                                  "type": "number",
                                  "minimum": 0
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "mva_nok": {
                              "anyOf": [
                                {
                                  "type": "number",
                                  "minimum": 0
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "frakt_levering_nok": {
                              "anyOf": [
                                {
                                  "type": "number",
                                  "minimum": 0
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "total_levert_nok": {
                              "anyOf": [
                                {
                                  "type": "number",
                                  "minimum": 0
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            }
                          },
                          "required": [
                            "total_nok",
                            "engangsavgift_nok",
                            "vrakpant_nok",
                            "vektavgift_nok",
                            "mva_nok",
                            "frakt_levering_nok",
                            "total_levert_nok"
                          ],
                          "additionalProperties": false
                        },
                        "sjekket_dato": {
                          "type": "string",
                          "format": "date"
                        },
                        "historikk": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "dato": {
                                "type": "string",
                                "format": "date"
                              },
                              "kundepris_inkl_mva_nok": {
                                "anyOf": [
                                  {
                                    "type": "number",
                                    "exclusiveMinimum": 0
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              }
                            },
                            "required": [
                              "dato",
                              "kundepris_inkl_mva_nok"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "baas": {
                          "anyOf": [
                            {
                              "type": "object",
                              "properties": {
                                "chassis_pris_inkl_mva_nok": {
                                  "type": "number"
                                },
                                "abonnementer": {
                                  "minItems": 1,
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "batteri_kwh": {
                                        "type": "number"
                                      },
                                      "pris_per_mnd_inkl_mva_nok": {
                                        "type": "number"
                                      }
                                    },
                                    "required": [
                                      "batteri_kwh",
                                      "pris_per_mnd_inkl_mva_nok"
                                    ],
                                    "additionalProperties": false
                                  }
                                }
                              },
                              "required": [
                                "chassis_pris_inkl_mva_nok",
                                "abonnementer"
                              ],
                              "additionalProperties": false
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "kundepris_inkl_mva_nok",
                        "kundepris_eks_mva_nok",
                        "avgifter",
                        "sjekket_dato",
                        "historikk"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "kampanjer": {
                  "anyOf": [
                    {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "type": {
                            "type": "string",
                            "enum": [
                              "pris-rabatt",
                              "inkludert-utstyr",
                              "finansiering",
                              "annet"
                            ]
                          },
                          "beskrivelse": {
                            "type": "string"
                          },
                          "normal_pris_inkl_mva_nok": {
                            "anyOf": [
                              {
                                "type": "number",
                                "exclusiveMinimum": 0
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "normal_pris_eks_mva_nok": {
                            "anyOf": [
                              {
                                "type": "number",
                                "exclusiveMinimum": 0
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "verdi_inkl_mva_nok": {
                            "anyOf": [
                              {
                                "type": "number",
                                "exclusiveMinimum": 0
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "rente_pct": {
                            "anyOf": [
                              {
                                "type": "number",
                                "minimum": 0
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "periode_mnd": {
                            "anyOf": [
                              {
                                "type": "integer",
                                "exclusiveMinimum": 0
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "fra": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "date"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "til": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "date"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        },
                        "required": [
                          "type",
                          "beskrivelse",
                          "normal_pris_inkl_mva_nok",
                          "normal_pris_eks_mva_nok",
                          "verdi_inkl_mva_nok",
                          "rente_pct",
                          "periode_mnd",
                          "fra",
                          "til"
                        ],
                        "additionalProperties": false
                      }
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "pre_lansering": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "forventet_lansering": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "merknad": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "forventet_lansering",
                        "merknad"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "garanti": {
                  "type": "object",
                  "properties": {
                    "bil_aar": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "exclusiveMinimum": 0
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "bil_km": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "exclusiveMinimum": 0
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "bil_ubegrenset_km": {
                      "type": "boolean"
                    },
                    "bil_beskrivelse": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "batteri_aar": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "exclusiveMinimum": 0
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "batteri_km": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "exclusiveMinimum": 0
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "batteri_ubegrenset_km": {
                      "type": "boolean"
                    },
                    "batteri_soh_pct": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 100
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "batteri_beskrivelse": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "rust_aar": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "exclusiveMinimum": 0
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "rust_beskrivelse": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "lakk_aar": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "exclusiveMinimum": 0
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "lakk_km": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "exclusiveMinimum": 0
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "lakk_ubegrenset_km": {
                      "type": "boolean"
                    },
                    "lakk_beskrivelse": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "utvidet_pris_inkl_mva_nok": {
                      "anyOf": [
                        {
                          "type": "number",
                          "minimum": 0
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "utvidet_pris_eks_mva_nok": {
                      "anyOf": [
                        {
                          "type": "number",
                          "minimum": 0
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "bil_aar",
                    "bil_km",
                    "bil_ubegrenset_km",
                    "bil_beskrivelse",
                    "batteri_aar",
                    "batteri_km",
                    "batteri_ubegrenset_km",
                    "batteri_soh_pct",
                    "batteri_beskrivelse",
                    "rust_aar",
                    "rust_beskrivelse",
                    "lakk_aar",
                    "lakk_km",
                    "lakk_ubegrenset_km",
                    "lakk_beskrivelse",
                    "utvidet_pris_inkl_mva_nok",
                    "utvidet_pris_eks_mva_nok"
                  ],
                  "additionalProperties": false
                },
                "bilder": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "beskrivelse": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "fargekode": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "kilde": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [
                      "url",
                      "beskrivelse",
                      "fargekode",
                      "kilde"
                    ],
                    "additionalProperties": false
                  }
                },
                "urls": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string"
                      },
                      "url": {
                        "type": "string"
                      },
                      "beskrivelse": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [
                      "type",
                      "url",
                      "beskrivelse"
                    ],
                    "additionalProperties": false
                  }
                }
              },
              "required": [
                "variant",
                "modellkode",
                "motortype",
                "drivlinje",
                "karosseri",
                "seter",
                "ytelse",
                "elektrisk",
                "fossil",
                "dimensjoner",
                "vekt",
                "bagasjerom",
                "utstyr",
                "tilleggsutstyr",
                "pris",
                "kampanjer",
                "garanti",
                "bilder"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "modell",
          "varianter"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "_header",
    "_meta",
    "modeller"
  ],
  "additionalProperties": false
}
