diff --git a/docs/json_schemas/fiveg_f1/v0/provider.json b/docs/json_schemas/fiveg_f1/v0/provider.json index c1a4ec3d..ba1f8513 100644 --- a/docs/json_schemas/fiveg_f1/v0/provider.json +++ b/docs/json_schemas/fiveg_f1/v0/provider.json @@ -38,6 +38,7 @@ "items": { "$ref": "#/$defs/PLMNConfig" }, + "minItems": 1, "title": "Plmns", "type": "array" } diff --git a/interfaces/fiveg_f1/v0/schema.py b/interfaces/fiveg_f1/v0/schema.py index d783c2e5..adf1f720 100644 --- a/interfaces/fiveg_f1/v0/schema.py +++ b/interfaces/fiveg_f1/v0/schema.py @@ -25,10 +25,10 @@ } """ -from pydantic import BaseModel, IPvAnyAddress, Field +from pydantic import BaseModel, IPvAnyAddress, Field, conlist from dataclasses import dataclass from interface_tester.schema_base import DataBagSchema -from typing import List, Optional, conlist +from typing import List, Optional @dataclass class PLMNConfig: