class CarParkSerializer(PbNestedSerializer): available = jsonschema.IntField() occupied = jsonschema.IntField() available_PRM = jsonschema.IntField() occupied_PRM = jsonschema.IntField() total_places = jsonschema.IntField()
class Custom(serpy.Serializer): bob = jsonschema.IntField()
class StandsSerializer(PbNestedSerializer): available_places = jsonschema.IntField() available_bikes = jsonschema.IntField() total_stands = jsonschema.IntField()