antikythera.io
¤
Classes¤
BaseSerializerV1
¤
BlueprintJsonSerializeV1
¤
Handles Input/Output for Blueprint JSON files (Read, Write, Validate).
Functions¤
from_file
classmethod
¤
load_schema
classmethod
¤
Load the JSON schema for Antikythera Blueprints.
validate
classmethod
¤
validate_file
classmethod
¤
validate_file(filepath: str) -> None
Validate a blueprint JSON file against the schema.
Parameters:
-
filepath(str) –Path to the JSON file.
Raises:
-
ValidationError–If the data does not match the schema.
-
FileNotFoundError–If the file does not exist.
-
JSONDecodeError–If the file is not valid JSON.