@Override
    public Type getType() {
        Map<Identifier, Type> type = new HashMap<>();
        for (Map.Entry<Identifier, Value> valueEntry : value.entrySet()) {
            type.put(valueEntry.getKey(), valueEntry.getValue().getType());
        }
        return Type.recordType(type);
    }
Gets the value in the record for the provided key.

@param key the key to retrieve a value for.
@return the value for the provided key, or null if the key is not present.
smithy-rules-engine/src/main/java/software/amazon/smithy/rulesengine/language/evaluation/value/RecordValue.java