public function createSchemaDefinition($schemaString)
    {
        $schemaStorage = new SchemaStorage();

        $schemaStorage->addSchema($this->getSourceUri(), \json_decode($schemaString));
        $data = $schemaStorage->getSchema($this->getSourceUri());
        $data = $this->resolveRefSchemaRecursively($data, $schemaStorage);

        return new JsonSchemaDefinition($data);
    }