def __init__(self, profile):
self._name = profile<EOL>self._registry = self._load_registry()<EOL>self._schema = self._load_schema(profile, self._registry)<EOL>self._validator = self._load_validator(self._schema, self._registry)<EOL>self._check_schema()<EOL>
https://github.com/frictionlessdata/datapackage-py#schema