public static function resolveCurie($curie): string
    {
        $key = (string)$curie;
        if (isset(self::$curies[$key])) {
            return self::$classes[self::$curies[$key]];
        }

        throw new NoMessageForCurie(SchemaCurie::fromString($key));
    }