The ontology lists types of object, the relationships between objects, and constraints on the ways that objects and relationships can be combined. In computer science ontology defines types, properties, and interrelationships of the entities.
Schema is the term in ontology that refers to the hierarchical description and vocabulary concerning a particular domain.