aito.schema.AitoSchema¶
-
class
aito.schema.
AitoSchema
(typ)¶ The base class for Aito schema component
- Parameters
typ (str) – the type of the schema component
Methods
create an AitoSchema object from a JSON deserialized object
from_json_string
(json_string, **kwargs)create an AitoSchema object from a JSON string
convert the AitoSchema object to a json serializable object (dict, in most case)
to_json_string
(**kwargs)the AitoSchema object as a JSON string
Attributes
iterable of the properties that will be used for comparison with another schema object of the same type
the type of the schema component