public Optional<Symbol> getSchemaDefinition(String shortIdentifier) {
        List<Symbol> list = symbolDefinitions.get(SymbolType.SCHEMA);

        for (Symbol symbol : list) {
            if (symbol.getShortIdentifier().equals(shortIdentifier)) {
                return Optional.of(symbol);
            }
        }

        list = symbolDefinitions.get(SymbolType.DOCUMENT);
        for (Symbol symbol : list) {
            if (symbol.getShortIdentifier().equals(shortIdentifier)) {
                return Optional.of(symbol);
            }
        }

        return Optional.empty();
    }
Retrieves the symbol definition of the specified schema name.

@param shortIdentifier the short identifier of the symbol to retrieve
@return an Optional containing the symbol if found, or an empty Optional if not found
integration/schema-language-server/language-server/src/main/java/ai/vespa/schemals/index/SchemaIndex.java