api/schema: added schema for service.

related to #417.
added schema for service collection.

related to #417.
api/schema: added type for app and service schema.